From 2f098e43442266276d13adb6e214b2aa18c57b38 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 26 Aug 2022 17:53:26 +0800 Subject: [PATCH] arm64: remove x86_64 specific x2apic kernel features --- chapter10/kernel.xml | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index 157fb9f64..932ba3275 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -150,22 +150,11 @@ File systems ---> Pseudo filesystems ---> [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL] - Enable some additional features if you are building a 64-bit - system. If you are using menuconfig, enable them in the order of - CONFIG_PCI_MSI first, then - CONFIG_IRQ_REMAP, at last - CONFIG_X86_X2APIC because an option only - shows up after its dependencies are selected. + Disable a feature which is security compromised in this kernel + release: - Processor type and features ---> - [*] Support x2apic [CONFIG_X86_X2APIC] -Memory Management options ---> - [ ] Enable userfaultfd() system call [CONFIG_USERFAULTFD] -Device Drivers ---> - [*] PCI Support ---> [CONFIG_PCI] - [*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI] - [*] IOMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT] - [*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP] + Memory Management options ---> + [ ] Enable userfaultfd() system call [CONFIG_USERFAULTFD] @@ -242,18 +231,6 @@ Device Drivers ---> - - Support x2apic - - Support running the interrupt controller of 64-bit x86 - processors in x2APIC mode. x2APIC may be enabled by firmware on - 64-bit x86 systems, and a kernel without this option enabled will - panic on boot if x2APIC is enabled by firmware. This option has - has no effect, but also does no harm if x2APIC is disabled by the - firmware. - - - Enable userfaultfd() system call