[01.org Android-IA] [Patches] EFI Mixed Mode for Mainlining

Christopher Price cprice at mmv.mobi
Wed Oct 7 09:25:48 PDT 2015


Enclosed (at the bottom) you will find 19 patches that restore EFI Mixed
Mode to the latest Android-IA release. We are still running through a BFD
linker bug in KernelFlinger that is preventing activation - but it has
tested well with GMIN64 and does not appear to block the kernel. Testing
and review appreciated.

We'd like it committed upstream because it would be very difficult without
trunk access to maintain these patches going forward. While we'd like to
take credit, Mark Gross and Intel UK really did an excellent job reviving
this work - we've been incubating and testing for the past few months.

This will allow Android-IA to run on the millions of BayTrail-T production
tablets that depend on EFI Mixed Mode. Without these patches, Android-IA
cannot run on virtually any Bay Trail tablet today, except for maybe IRDA,
which isn't available in many countries currently.

These patches should no longer be necessary once Kernel 3.15 is integrated,
at which point Mixed Mode will hit mainline... or at least, should hit
mainline.

Build tested on GMIN64 kernel running standard 5.1.1 r16 byt-build.sh - You
will need to modify the Kconfig to enable EFI_Mixed - or say yes when
Kconfig prompts.

Zip File (Save a headache - don't email patch files raw):
http://console.com.co/wp-content/uploads/mixed-mode.zip

Series addition (add to bottom):

# Restoring EFI Mixed Mode for the 40 million 32-bit UEFI BayTrail tablets
out there
0001-x86-boot-Cleanup-header.S-by-removing-some-ifdefs.patch
0002-x86-tools-Consolidate-ifdef-code.patch
0003-x86-mm-pageattr-Always-dump-the-right-page-table-in-.patch
0004-x86-efi-Delete-dead-code-when-checking-for-non-nativ.patch
0005-efi-Add-separate-32-bit-64-bit-definitions.patch
0006-x86-efi-Build-our-own-EFI-services-pointer-table.patch
0007-x86-efi-Add-early-thunk-code-to-go-from-64-bit-to-32.patch
0008-x86-efi-Split-the-boot-stub-into-32-64-code-paths.patch
0009-x86-efi-Firmware-agnostic-handover-entry-points.patch
0010-x86-efi-Add-mixed-runtime-services-support.patch
0011-x86-efi-Wire-up-CONFIG_EFI_MIXED.patch
0012-x86-boot-Don-t-overwrite-cr4-when-enabling-PAE.patch
0013-x86-efi-Re-disable-interrupts-after-calling-firmware.patch
0014-x86-tools-Fix-up-compiler-warnings.patch
0015-x86-boot-Fix-non-EFI-build.patch
0016-x86-efi-Preserve-segment-registers-in-mixed-mode.patch
0017-x86-efi-Restore-attr-argument-to-query_variable_info.patch
0018-fix-up-git-to-quilt-series-conversion.patch
0019-x86-efi-Avoid-triple-faults-during-EFI-mixed-mode-ca.patch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.01.org/pipermail/android-ia/attachments/20151007/e6597a70/attachment.html>


More information about the Android-IA mailing list