Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15587 - [kernel26] uaccess_64.h wrong movq constraint

Attached to Project: Arch Linux
Opened by Jonathan Liu (net147) - Sunday, 19 July 2009, 23:28 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 01 August 2009, 07:58 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
arch/x86/include/asm/uaccess_64.h uses wrong asm operand constraint
("ir") for movq insn. Since movq sign-extends its immediate operand,
"er" constraint should be used instead.

This applies to 2.6.29 as well so I've attached a patch based on 2.6.29.
The patch also applies cleanly to 2.6.30.

Additional info:
* kernel26 2.6.30.1-1
* gcc 4.4.0-5
* http://marc.info/?l=linux-kernel&m=124801961215396&w=2

Steps to reproduce:
* http://bugs.archlinux.org/task/15498
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 01 August 2009, 07:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.6.30.4-1
Comment by Jonathan Liu (net147) - Monday, 20 July 2009, 15:00 GMT
Also applies to kernel26 2.6.30.2-1 from [testing].
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 31 July 2009, 03:37 GMT
Fixed in 2.6.30.4

H. Peter Anvin (1):
x86: Fix movq immediate operand constraints in uaccess.h
Uros Bizjak (1):
x86: Fix movq immediate operand constraints in uaccess_64.h

Thanks!
Comment by Jonathan Liu (net147) - Friday, 31 July 2009, 06:29 GMT

Loading...