kgpe-d16 linux configs: remove Intel related stuff, enable AMD related IOMMU settings

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
Thierry Laurion 2023-11-08 12:45:17 -05:00
parent 72e8c39361
commit 6f276a391b
No known key found for this signature in database
GPG Key ID: E7B4A71658E36A93
3 changed files with 36 additions and 45 deletions

View File

@ -62,6 +62,7 @@ CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
CONFIG_IRQ_MSI_IOMMU=y
CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y
CONFIG_GENERIC_IRQ_RESERVATION_MODE=y CONFIG_GENERIC_IRQ_RESERVATION_MODE=y
CONFIG_IRQ_FORCED_THREADING=y CONFIG_IRQ_FORCED_THREADING=y
@ -248,7 +249,6 @@ CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ZONE_DMA32=y CONFIG_ZONE_DMA32=y
CONFIG_AUDIT_ARCH=y CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_HAVE_INTEL_TXT=y
CONFIG_X86_64_SMP=y CONFIG_X86_64_SMP=y
CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y CONFIG_FIX_EARLYCON_MEM=y
@ -431,6 +431,8 @@ CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
@ -442,7 +444,7 @@ CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
# #
# CPU frequency scaling drivers # CPU frequency scaling drivers
# #
CONFIG_X86_INTEL_PSTATE=y # CONFIG_X86_INTEL_PSTATE is not set
# CONFIG_X86_PCC_CPUFREQ is not set # CONFIG_X86_PCC_CPUFREQ is not set
# CONFIG_X86_ACPI_CPUFREQ is not set # CONFIG_X86_ACPI_CPUFREQ is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set # CONFIG_X86_SPEEDSTEP_CENTRINO is not set
@ -1006,9 +1008,9 @@ CONFIG_BLK_DEV_RAM_SIZE=65536
# CONFIG_SENSORS_LIS3_I2C is not set # CONFIG_SENSORS_LIS3_I2C is not set
# CONFIG_ALTERA_STAPL is not set # CONFIG_ALTERA_STAPL is not set
CONFIG_INTEL_MEI=m # CONFIG_INTEL_MEI is not set
CONFIG_INTEL_MEI_ME=m # CONFIG_INTEL_MEI_ME is not set
CONFIG_INTEL_MEI_TXE=m # CONFIG_INTEL_MEI_TXE is not set
# CONFIG_VMWARE_VMCI is not set # CONFIG_VMWARE_VMCI is not set
# CONFIG_GENWQE is not set # CONFIG_GENWQE is not set
# CONFIG_ECHO is not set # CONFIG_ECHO is not set
@ -1474,7 +1476,7 @@ CONFIG_DEVPORT=y
# CONFIG_HPET is not set # CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set # CONFIG_HANGCHECK_TIMER is not set
CONFIG_TCG_TPM=y CONFIG_TCG_TPM=y
CONFIG_HW_RANDOM_TPM=n # CONFIG_HW_RANDOM_TPM is not set
CONFIG_TCG_TIS_CORE=y CONFIG_TCG_TIS_CORE=y
CONFIG_TCG_TIS=y CONFIG_TCG_TIS=y
# CONFIG_TCG_TIS_I2C_ATMEL is not set # CONFIG_TCG_TIS_I2C_ATMEL is not set
@ -2329,7 +2331,6 @@ CONFIG_MAILBOX=y
CONFIG_PCC=y CONFIG_PCC=y
# CONFIG_ALTERA_MBOX is not set # CONFIG_ALTERA_MBOX is not set
CONFIG_IOMMU_IOVA=y CONFIG_IOMMU_IOVA=y
CONFIG_IOASID=y
CONFIG_IOMMU_API=y CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y CONFIG_IOMMU_SUPPORT=y
@ -2340,13 +2341,10 @@ CONFIG_IOMMU_SUPPORT=y
# CONFIG_IOMMU_DEBUGFS is not set # CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
# CONFIG_AMD_IOMMU is not set CONFIG_IOMMU_DMA=y
CONFIG_DMAR_TABLE=y CONFIG_AMD_IOMMU=y
CONFIG_INTEL_IOMMU=y CONFIG_AMD_IOMMU_V2=y
CONFIG_INTEL_IOMMU_SVM=y # CONFIG_INTEL_IOMMU is not set
CONFIG_INTEL_IOMMU_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_FLOPPY_WA=y
# CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
# CONFIG_IRQ_REMAP is not set # CONFIG_IRQ_REMAP is not set
# #
@ -2631,7 +2629,6 @@ CONFIG_IO_WQ=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_SECURITYFS=y CONFIG_SECURITYFS=y
CONFIG_PAGE_TABLE_ISOLATION=y CONFIG_PAGE_TABLE_ISOLATION=y
# CONFIG_INTEL_TXT is not set
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
CONFIG_HARDENED_USERCOPY=y CONFIG_HARDENED_USERCOPY=y
CONFIG_HARDENED_USERCOPY_FALLBACK=y CONFIG_HARDENED_USERCOPY_FALLBACK=y

View File

@ -62,6 +62,7 @@ CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
CONFIG_IRQ_MSI_IOMMU=y
CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y
CONFIG_GENERIC_IRQ_RESERVATION_MODE=y CONFIG_GENERIC_IRQ_RESERVATION_MODE=y
CONFIG_IRQ_FORCED_THREADING=y CONFIG_IRQ_FORCED_THREADING=y
@ -248,7 +249,6 @@ CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ZONE_DMA32=y CONFIG_ZONE_DMA32=y
CONFIG_AUDIT_ARCH=y CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_HAVE_INTEL_TXT=y
CONFIG_X86_64_SMP=y CONFIG_X86_64_SMP=y
CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y CONFIG_FIX_EARLYCON_MEM=y
@ -431,6 +431,8 @@ CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
@ -442,7 +444,7 @@ CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
# #
# CPU frequency scaling drivers # CPU frequency scaling drivers
# #
CONFIG_X86_INTEL_PSTATE=y # CONFIG_X86_INTEL_PSTATE is not set
# CONFIG_X86_PCC_CPUFREQ is not set # CONFIG_X86_PCC_CPUFREQ is not set
# CONFIG_X86_ACPI_CPUFREQ is not set # CONFIG_X86_ACPI_CPUFREQ is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set # CONFIG_X86_SPEEDSTEP_CENTRINO is not set
@ -1006,9 +1008,9 @@ CONFIG_BLK_DEV_RAM_SIZE=65536
# CONFIG_SENSORS_LIS3_I2C is not set # CONFIG_SENSORS_LIS3_I2C is not set
# CONFIG_ALTERA_STAPL is not set # CONFIG_ALTERA_STAPL is not set
CONFIG_INTEL_MEI=m # CONFIG_INTEL_MEI is not set
CONFIG_INTEL_MEI_ME=m # CONFIG_INTEL_MEI_ME is not set
CONFIG_INTEL_MEI_TXE=m # CONFIG_INTEL_MEI_TXE is not set
# CONFIG_VMWARE_VMCI is not set # CONFIG_VMWARE_VMCI is not set
# CONFIG_GENWQE is not set # CONFIG_GENWQE is not set
# CONFIG_ECHO is not set # CONFIG_ECHO is not set
@ -1474,7 +1476,7 @@ CONFIG_DEVPORT=y
# CONFIG_HPET is not set # CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set # CONFIG_HANGCHECK_TIMER is not set
CONFIG_TCG_TPM=y CONFIG_TCG_TPM=y
CONFIG_HW_RANDOM_TPM=n # CONFIG_HW_RANDOM_TPM is not set
CONFIG_TCG_TIS_CORE=y CONFIG_TCG_TIS_CORE=y
CONFIG_TCG_TIS=y CONFIG_TCG_TIS=y
# CONFIG_TCG_TIS_I2C_ATMEL is not set # CONFIG_TCG_TIS_I2C_ATMEL is not set
@ -2329,7 +2331,6 @@ CONFIG_MAILBOX=y
CONFIG_PCC=y CONFIG_PCC=y
# CONFIG_ALTERA_MBOX is not set # CONFIG_ALTERA_MBOX is not set
CONFIG_IOMMU_IOVA=y CONFIG_IOMMU_IOVA=y
CONFIG_IOASID=y
CONFIG_IOMMU_API=y CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y CONFIG_IOMMU_SUPPORT=y
@ -2340,13 +2341,10 @@ CONFIG_IOMMU_SUPPORT=y
# CONFIG_IOMMU_DEBUGFS is not set # CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
# CONFIG_AMD_IOMMU is not set CONFIG_IOMMU_DMA=y
CONFIG_DMAR_TABLE=y CONFIG_AMD_IOMMU=y
CONFIG_INTEL_IOMMU=y CONFIG_AMD_IOMMU_V2=y
CONFIG_INTEL_IOMMU_SVM=y # CONFIG_INTEL_IOMMU is not set
CONFIG_INTEL_IOMMU_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_FLOPPY_WA=y
# CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
# CONFIG_IRQ_REMAP is not set # CONFIG_IRQ_REMAP is not set
# #
@ -2631,7 +2629,6 @@ CONFIG_IO_WQ=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_SECURITYFS=y CONFIG_SECURITYFS=y
CONFIG_PAGE_TABLE_ISOLATION=y CONFIG_PAGE_TABLE_ISOLATION=y
# CONFIG_INTEL_TXT is not set
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
CONFIG_HARDENED_USERCOPY=y CONFIG_HARDENED_USERCOPY=y
CONFIG_HARDENED_USERCOPY_FALLBACK=y CONFIG_HARDENED_USERCOPY_FALLBACK=y

View File

@ -62,6 +62,7 @@ CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
CONFIG_IRQ_MSI_IOMMU=y
CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y
CONFIG_GENERIC_IRQ_RESERVATION_MODE=y CONFIG_GENERIC_IRQ_RESERVATION_MODE=y
CONFIG_IRQ_FORCED_THREADING=y CONFIG_IRQ_FORCED_THREADING=y
@ -248,7 +249,6 @@ CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ZONE_DMA32=y CONFIG_ZONE_DMA32=y
CONFIG_AUDIT_ARCH=y CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_HAVE_INTEL_TXT=y
CONFIG_X86_64_SMP=y CONFIG_X86_64_SMP=y
CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y CONFIG_FIX_EARLYCON_MEM=y
@ -431,6 +431,8 @@ CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
@ -442,7 +444,7 @@ CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
# #
# CPU frequency scaling drivers # CPU frequency scaling drivers
# #
CONFIG_X86_INTEL_PSTATE=y # CONFIG_X86_INTEL_PSTATE is not set
# CONFIG_X86_PCC_CPUFREQ is not set # CONFIG_X86_PCC_CPUFREQ is not set
# CONFIG_X86_ACPI_CPUFREQ is not set # CONFIG_X86_ACPI_CPUFREQ is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set # CONFIG_X86_SPEEDSTEP_CENTRINO is not set
@ -1006,9 +1008,9 @@ CONFIG_BLK_DEV_RAM_SIZE=65536
# CONFIG_SENSORS_LIS3_I2C is not set # CONFIG_SENSORS_LIS3_I2C is not set
# CONFIG_ALTERA_STAPL is not set # CONFIG_ALTERA_STAPL is not set
CONFIG_INTEL_MEI=m # CONFIG_INTEL_MEI is not set
CONFIG_INTEL_MEI_ME=m # CONFIG_INTEL_MEI_ME is not set
CONFIG_INTEL_MEI_TXE=m # CONFIG_INTEL_MEI_TXE is not set
# CONFIG_VMWARE_VMCI is not set # CONFIG_VMWARE_VMCI is not set
# CONFIG_GENWQE is not set # CONFIG_GENWQE is not set
# CONFIG_ECHO is not set # CONFIG_ECHO is not set
@ -1474,7 +1476,7 @@ CONFIG_DEVPORT=y
# CONFIG_HPET is not set # CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set # CONFIG_HANGCHECK_TIMER is not set
CONFIG_TCG_TPM=y CONFIG_TCG_TPM=y
CONFIG_HW_RANDOM_TPM=n # CONFIG_HW_RANDOM_TPM is not set
CONFIG_TCG_TIS_CORE=y CONFIG_TCG_TIS_CORE=y
CONFIG_TCG_TIS=y CONFIG_TCG_TIS=y
# CONFIG_TCG_TIS_I2C_ATMEL is not set # CONFIG_TCG_TIS_I2C_ATMEL is not set
@ -2577,7 +2579,6 @@ CONFIG_MAILBOX=y
CONFIG_PCC=y CONFIG_PCC=y
# CONFIG_ALTERA_MBOX is not set # CONFIG_ALTERA_MBOX is not set
CONFIG_IOMMU_IOVA=y CONFIG_IOMMU_IOVA=y
CONFIG_IOASID=y
CONFIG_IOMMU_API=y CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y CONFIG_IOMMU_SUPPORT=y
@ -2588,13 +2589,10 @@ CONFIG_IOMMU_SUPPORT=y
# CONFIG_IOMMU_DEBUGFS is not set # CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
# CONFIG_AMD_IOMMU is not set CONFIG_IOMMU_DMA=y
CONFIG_DMAR_TABLE=y CONFIG_AMD_IOMMU=y
CONFIG_INTEL_IOMMU=y CONFIG_AMD_IOMMU_V2=y
CONFIG_INTEL_IOMMU_SVM=y # CONFIG_INTEL_IOMMU is not set
CONFIG_INTEL_IOMMU_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_FLOPPY_WA=y
# CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
# CONFIG_IRQ_REMAP is not set # CONFIG_IRQ_REMAP is not set
# #
@ -2879,7 +2877,6 @@ CONFIG_IO_WQ=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_SECURITYFS=y CONFIG_SECURITYFS=y
CONFIG_PAGE_TABLE_ISOLATION=y CONFIG_PAGE_TABLE_ISOLATION=y
# CONFIG_INTEL_TXT is not set
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
CONFIG_HARDENED_USERCOPY=y CONFIG_HARDENED_USERCOPY=y
CONFIG_HARDENED_USERCOPY_FALLBACK=y CONFIG_HARDENED_USERCOPY_FALLBACK=y