FS#24463 - [kernel26] Important UEFI related kernel patches
Attached to Project:
Arch Linux
Opened by Anonymous Submitter - Friday, 27 May 2011, 06:48 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 24 July 2011, 22:43 GMT
Opened by Anonymous Submitter - Friday, 27 May 2011, 06:48 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 24 July 2011, 22:43 GMT
|
Details
Description:
Many newer UEFI systems like Dell Latitude laptops, Lenovo Thinkpads and the Sandy Bridge desktop motherboards all come with x86_64 UEFI firmware. However they fail to linux (even recent kernels) due to various bugs in the firmware as well as few bugs in the kernel. A series of patches is being added to 2.6.40/3.0/whatever kernel. I request that these patches be added to the kernel26 package in core. The patches are (to be applied in order) - x86, efi: Remove virtual-mode SetVirtualAddressMap call - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2b5e8ef35bc89eee944c0627edacbb1fea5a1b84 x86, efi: Consolidate EFI nx control - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9cd2b07c197e3ff594fc04f5fb3d86efbeab6ad8 x86, efi: Merge contiguous memory regions of the same type and attribute - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=202f9d0a41809e3424af5f61489b48b622824aed x86, efi: Pass a minimal map to SetVirtualAddressMap() - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7cb00b72876ea2451eb79d468da0e8fb9134aa8a x86, efi: Ensure that the entirity of a region is mapped - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=935a638241b0658b9749edd060f972575f9d4a78 x86, efi: Retain boot service code until after switching to virtual mode - http://git.kernel.org/?p=linux/kernel/git/tip/linux-2.6-tip.git;a=commit;h=916f676f8dc016103f983c7ec54c18ecdbb6e349 Additional info: * package version(s) * config and/or log files etc. https://bbs.archlinux.org/viewtopic.php?pid=939413#p939413 Steps to reproduce: |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Sunday, 24 July 2011, 22:43 GMT
Reason for closing: Fixed
Additional comments about closing: linux 3.0-1
Sunday, 24 July 2011, 22:43 GMT
Reason for closing: Fixed
Additional comments about closing: linux 3.0-1
[#1] http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git;a=summary
I don't feel comfortable backporting such a large number of commits (they might cause problems in current kernels). Check if those patches have been queued up for -stable already. If not, send an email to hpa, CC:Greg and CC:stable@kernel.org, and ask for inclusion.
[ hpa: adding this to urgent with a stable tag since it fixes currently-broken
hardware. However, I do not know what the dependencies are and so I do
not know which -stable versions this may be a candidate for. ]
Does this mean this will be added to -stable kernels automatically? I sent a email to greg@kroah.com directly but not to LKML as I am not subscribed to it and my email might be overshadowed by the large number of other (and rather important) mails.
I understand that this slows down supporting these (now broken) motherboards. I'd like to be sure that these are the proper patches also for .38 and .39.
[1] http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git;a=tree;f=queue-2.6.39
PS: Is it possible to implement https://patchwork.kernel.org/patch/865582/ in the kernel config manually for future packages (ie. CONFIG_RELOCATABLE=y). Relevant info at http://cateee.net/lkddb/web-lkddb/RELOCATABLE.html . Thanks in advance.