aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2019-02-19 10:52:24 +0300
committerThomas Gleixner <[email protected]>2019-02-28 12:25:05 +0100
commit6f913de3231e1d70a871135b38219da7810df218 (patch)
tree168cbbfce6d40d4912a3ae86689b036d1914c7a8 /scripts/gdb/linux/config.py
parentf9d230e893e864f13ce5ded9a49990fd024bfed5 (diff)
x86/boot/compressed/64: Do not read legacy ROM on EFI system
EFI systems do not necessarily provide a legacy ROM. If the ROM is missing the memory is not mapped at all. Trying to dereference values in the legacy ROM area leads to a crash on Macbook Pro. Only look for values in the legacy ROM area for non-EFI system. Fixes: 3548e131ec6a ("x86/boot/compressed/64: Find a place for 32-bit trampoline") Reported-by: Pitam Mitra <[email protected]> Signed-off-by: Kirill A. Shutemov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Bockjoo Kim <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202351
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions