Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull small x86 fixes from Peter Anvin:
"A collection of very small fixes, mostly pure documentation."

* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86, doc: Document that bootloader ID 4 is used also by iPXE
x86, doc: Add a formal bootloader ID for kexec-tools
x86, 8042: Enable A20 using KBC to fix S3 resume on some MSI laptops

+11 -1
+2 -1
Documentation/x86/boot.txt
··· 373 373 1 Loadlin 374 374 2 bootsect-loader (0x20, all other values reserved) 375 375 3 Syslinux 376 - 4 Etherboot/gPXE 376 + 4 Etherboot/gPXE/iPXE 377 377 5 ELILO 378 378 7 GRUB 379 379 8 U-Boot ··· 381 381 A Gujin 382 382 B Qemu 383 383 C Arcturus Networks uCbootloader 384 + D kexec-tools 384 385 E Extended (see ext_loader_type) 385 386 F Special (0xFF = undefined) 386 387 10 Reserved
+9
drivers/input/serio/i8042-x86ia64io.h
··· 921 921 int retval; 922 922 923 923 #ifdef CONFIG_X86 924 + u8 a20_on = 0xdf; 924 925 /* Just return if pre-detection shows no i8042 controller exist */ 925 926 if (!x86_platform.i8042_detect()) 926 927 return -ENODEV; ··· 961 960 962 961 if (dmi_check_system(i8042_dmi_dritek_table)) 963 962 i8042_dritek = true; 963 + 964 + /* 965 + * A20 was already enabled during early kernel init. But some buggy 966 + * BIOSes (in MSI Laptops) require A20 to be enabled using 8042 to 967 + * resume from S3. So we do it here and hope that nothing breaks. 968 + */ 969 + i8042_command(&a20_on, 0x10d1); 970 + i8042_command(NULL, 0x00ff); /* Null command for SMM firmware */ 964 971 #endif /* CONFIG_X86 */ 965 972 966 973 return retval;