[openwrt/openwrt] armsr: armv8: enable KVM host

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 19 06:12:38 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/88e7fe874124c7c6daf99b7716205cd91fbe6bc3

commit 88e7fe874124c7c6daf99b7716205cd91fbe6bc3
Author: Mathew McBride <matt at traverse.com.au>
AuthorDate: Tue Jun 20 01:23:17 2023 +0000

    armsr: armv8: enable KVM host
    
    x86/64 enables support for KVM so I can't see a reason why
    not on armsr/armv8 as well.
    
    Arm CPU errata workaround items related to virtualization
    are also enabled by this change.
    
    Signed-off-by: Mathew McBride <matt at traverse.com.au>
    (23.05/5.15 version of commit e505873e65f72b5e89c136dbb61d992a2219b6eb)
---
 target/linux/armsr/armv8/config-5.15 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/target/linux/armsr/armv8/config-5.15 b/target/linux/armsr/armv8/config-5.15
index a6ec43e3f1..61641e1d3f 100644
--- a/target/linux/armsr/armv8/config-5.15
+++ b/target/linux/armsr/armv8/config-5.15
@@ -1,4 +1,5 @@
 CONFIG_64BIT=y
+CONFIG_AMPERE_ERRATUM_AC03_CPU_38=y
 CONFIG_ARCH_HISI=y
 CONFIG_ARCH_INTEL_SOCFPGA=y
 CONFIG_ARCH_LAYERSCAPE=y
@@ -38,6 +39,7 @@ CONFIG_ARM64_ERRATUM_2051678=y
 CONFIG_ARM64_ERRATUM_2054223=y
 CONFIG_ARM64_ERRATUM_2067961=y
 CONFIG_ARM64_ERRATUM_2077057=y
+CONFIG_ARM64_ERRATUM_2441007=y
 CONFIG_ARM64_ERRATUM_2441009=y
 CONFIG_ARM64_ERRATUM_2457168=y
 CONFIG_ARM64_ERRATUM_2658417=y
@@ -46,6 +48,7 @@ CONFIG_ARM64_ERRATUM_824069=y
 CONFIG_ARM64_ERRATUM_826319=y
 CONFIG_ARM64_ERRATUM_827319=y
 CONFIG_ARM64_ERRATUM_832075=y
+CONFIG_ARM64_ERRATUM_834220=y
 CONFIG_ARM64_ERRATUM_843419=y
 CONFIG_ARM64_ERRATUM_845719=y
 CONFIG_ARM64_HW_AFDBM=y
@@ -260,6 +263,7 @@ CONFIG_IOMMU_SUPPORT=y
 # CONFIG_K3_DMA is not set
 CONFIG_KCMP=y
 # CONFIG_KEYBOARD_SUN4I_LRADC is not set
+CONFIG_KVM=y
 CONFIG_LCD_CLASS_DEVICE=m
 # CONFIG_LCD_PLATFORM is not set
 # CONFIG_MAILBOX_TEST is not set
@@ -306,6 +310,7 @@ CONFIG_NO_HZ=y
 CONFIG_NO_HZ_COMMON=y
 CONFIG_NO_HZ_IDLE=y
 CONFIG_NR_CPUS=64
+# CONFIG_NVHE_EL2_DEBUG is not set
 CONFIG_NVIDIA_CARMEL_CNP_ERRATUM=y
 # CONFIG_NVMEM_IMX_IIM is not set
 CONFIG_NVMEM_IMX_OCOTP=y
@@ -518,6 +523,7 @@ CONFIG_VIDEOMODE_HELPERS=y
 # CONFIG_VIDEO_SUN6I_CSI is not set
 CONFIG_VIRTIO_DMA_SHARED_BUFFER=y
 # CONFIG_VIRTIO_IOMMU is not set
+CONFIG_VIRTUALIZATION=y
 CONFIG_VMAP_STACK=y
 CONFIG_WDAT_WDT=y
 # CONFIG_XILINX_AMS is not set




More information about the lede-commits mailing list