From: Zoltan HERPAI Date: Tue, 9 Apr 2024 12:06:49 +0000 (+0200) Subject: sifiveu: update or refresh patches and config for 6.6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2298c92e02ea00b3cef80edb9a719bb15322fb3b;p=openwrt%2Fstaging%2Fwigyori.git sifiveu: update or refresh patches and config for 6.6 Refresh patches to apply properly, and add new config options. Signed-off-by: Zoltan HERPAI --- diff --git a/target/linux/sifiveu/config-6.6 b/target/linux/sifiveu/config-6.6 index 98283f4e0d..9a8cf8e48c 100644 --- a/target/linux/sifiveu/config-6.6 +++ b/target/linux/sifiveu/config-6.6 @@ -1,4 +1,5 @@ CONFIG_64BIT=y +# CONFIG_ACPI is not set CONFIG_ARCH_CLOCKSOURCE_INIT=y CONFIG_ARCH_DMA_ADDR_T_64BIT=y CONFIG_ARCH_MMAP_RND_BITS=18 @@ -8,6 +9,7 @@ CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=17 CONFIG_ARCH_OPTIONAL_KERNEL_RWX=y CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT=y CONFIG_ARCH_RV64I=y +# CONFIG_ARCH_THEAD is not set CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_STACKWALK=y @@ -16,6 +18,7 @@ CONFIG_ASN1=y CONFIG_ASSOCIATIVE_ARRAY=y CONFIG_ATA=y CONFIG_ATA_VERBOSE_ERROR=y +# CONFIG_AX45MP_L2_CACHE is not set CONFIG_BLK_DEV_SD=y CONFIG_BLK_MQ_PCI=y CONFIG_CAVIUM_PTP=y @@ -93,6 +96,7 @@ CONFIG_EFI_STUB=y # CONFIG_EFI_TEST is not set # CONFIG_EFI_ZBOOT is not set CONFIG_ELF_CORE=y +# CONFIG_ERRATA_ANDES is not set CONFIG_ERRATA_SIFIVE=y CONFIG_ERRATA_SIFIVE_CIP_1200=y CONFIG_ERRATA_SIFIVE_CIP_453=y @@ -168,8 +172,10 @@ CONFIG_I2C_OCORES=y CONFIG_INITRAMFS_SOURCE="" CONFIG_INPUT=y # CONFIG_IOMMU_DEBUGFS is not set +# CONFIG_IOMMUFD is not set CONFIG_IOMMU_SUPPORT=y CONFIG_IO_URING=y +CONFIG_IRQ_STACKS=y CONFIG_IRQCHIP=y CONFIG_IRQ_DOMAIN=y CONFIG_IRQ_DOMAIN_HIERARCHY=y @@ -304,7 +310,13 @@ CONFIG_RISCV_ALTERNATIVE=y CONFIG_RISCV_DMA_NONCOHERENT=y CONFIG_RISCV_INTC=y CONFIG_RISCV_ISA_C=y +CONFIG_RISCV_ISA_FALLBACK=y +CONFIG_RISCV_ISA_SVNAPOT=y CONFIG_RISCV_ISA_SVPBMT=y +CONFIG_RISCV_ISA_V=y +CONFIG_RISCV_ISA_V_DEFAULT_ENABLE=y +CONFIG_RISCV_ISA_ZBB=y +CONFIG_RISCV_ISA_ZICBOZ=y CONFIG_RISCV_ISA_ZICBOM=y CONFIG_RISCV_SBI=y CONFIG_RISCV_SBI_V01=y @@ -352,6 +364,7 @@ CONFIG_SWPHY=y CONFIG_SYSCTL_EXCEPTION_TRACE=y # CONFIG_SYSFB_SIMPLEFB is not set CONFIG_THREAD_INFO_IN_TASK=y +CONFIG_THREAD_SIZE_ORDER=2 CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TIMER_OF=y CONFIG_TIMER_PROBE=y diff --git a/target/linux/sifiveu/patches-6.6/0005-riscv-sifive-unleashed-define-opp-table-cpufreq.patch b/target/linux/sifiveu/patches-6.6/0005-riscv-sifive-unleashed-define-opp-table-cpufreq.patch index c4242c6f07..f9ec6c4f82 100644 --- a/target/linux/sifiveu/patches-6.6/0005-riscv-sifive-unleashed-define-opp-table-cpufreq.patch +++ b/target/linux/sifiveu/patches-6.6/0005-riscv-sifive-unleashed-define-opp-table-cpufreq.patch @@ -14,9 +14,9 @@ Signed-off-by: David Abdurachmanov --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig -@@ -711,6 +711,14 @@ config PORTABLE - select OF +@@ -896,6 +896,14 @@ config PORTABLE select MMU + select OF +menu "CPU Power Management" +