diff --git a/linux/riscv64.config-patch b/linux/riscv64.config-patch index 051088731..7461cb29d 100644 --- a/linux/riscv64.config-patch +++ b/linux/riscv64.config-patch @@ -1,5 +1,20 @@ ---- .config 2024-07-28 12:00:48.799050076 +0200 -+++ .config 2024-07-28 12:03:23.723817978 +0200 +--- .config 2024-10-06 10:27:07.816388409 +0200 ++++ .config 2024-10-06 10:30:22.774836527 +0200 +@@ -38,12 +38,12 @@ + CONFIG_HAVE_KERNEL_LZ4=y + CONFIG_HAVE_KERNEL_ZSTD=y + CONFIG_HAVE_KERNEL_UNCOMPRESSED=y +-# CONFIG_KERNEL_GZIP is not set ++CONFIG_KERNEL_GZIP=y + # CONFIG_KERNEL_BZIP2 is not set + # CONFIG_KERNEL_LZMA is not set + # CONFIG_KERNEL_LZO is not set + # CONFIG_KERNEL_LZ4 is not set +-CONFIG_KERNEL_ZSTD=y ++# CONFIG_KERNEL_ZSTD is not set + # CONFIG_KERNEL_UNCOMPRESSED is not set + CONFIG_DEFAULT_INIT="" + CONFIG_DEFAULT_HOSTNAME="archlinux" @@ -339,29 +339,37 @@ CONFIG_PGTABLE_LEVELS=5 CONFIG_LOCKDEP_SUPPORT=y @@ -56,7 +71,7 @@ CONFIG_RISCV_ISA_C=y CONFIG_RISCV_ISA_SVNAPOT=y CONFIG_RISCV_ISA_SVPBMT=y -@@ -484,14 +493,17 @@ +@@ -500,14 +509,17 @@ # CPU Idle # CONFIG_CPU_IDLE=y @@ -75,7 +90,7 @@ # end of RISC-V CPU Idle Drivers # end of CPU Idle -@@ -518,9 +530,10 @@ +@@ -534,9 +546,10 @@ # # CPU frequency scaling drivers # @@ -89,7 +104,7 @@ # end of CPU Frequency scaling # end of CPU Power Management -@@ -552,6 +565,7 @@ +@@ -569,6 +582,7 @@ CONFIG_ACPI_TAD=m CONFIG_ACPI_DOCK=y CONFIG_ACPI_PROCESSOR_IDLE=y @@ -97,7 +112,7 @@ CONFIG_ACPI_PROCESSOR=y CONFIG_ACPI_IPMI=m CONFIG_ACPI_THERMAL=y -@@ -1889,6 +1903,7 @@ +@@ -1924,6 +1938,7 @@ # # Device Drivers # @@ -105,7 +120,7 @@ CONFIG_HAVE_PCI=y CONFIG_GENERIC_PCI_IOMAP=y CONFIG_PCI=y -@@ -1917,6 +1932,7 @@ +@@ -1952,6 +1967,7 @@ CONFIG_PCI_PF_STUB=m CONFIG_PCI_ATS=y CONFIG_PCI_DOE=y @@ -113,21 +128,19 @@ CONFIG_PCI_IOV=y CONFIG_PCI_PRI=y CONFIG_PCI_PASID=y -@@ -1934,9 +1950,10 @@ +@@ -1970,8 +1986,9 @@ # PCI controller drivers # # CONFIG_PCI_FTPCI100 is not set -# CONFIG_PCI_HOST_GENERIC is not set --# CONFIG_PCIE_MICROCHIP_HOST is not set -# CONFIG_PCIE_XILINX is not set +CONFIG_PCI_HOST_COMMON=y +CONFIG_PCI_HOST_GENERIC=m -+CONFIG_PCIE_MICROCHIP_HOST=y +CONFIG_PCIE_XILINX=y # # Cadence-based PCIe controllers -@@ -1952,6 +1969,7 @@ +@@ -1987,6 +2004,7 @@ CONFIG_PCI_MESON=m CONFIG_PCIE_DW_PLAT=y CONFIG_PCIE_DW_PLAT_HOST=y @@ -135,7 +148,18 @@ # end of DesignWare-based PCIe controllers # -@@ -2058,6 +2076,8 @@ +@@ -1997,7 +2015,9 @@ + # + # PLDA-based PCIe controllers + # +-# CONFIG_PCIE_MICROCHIP_HOST is not set ++CONFIG_PCIE_PLDA_HOST=y ++CONFIG_PCIE_MICROCHIP_HOST=y ++CONFIG_PCIE_STARFIVE_HOST=m + # end of PLDA-based PCIe controllers + # end of PCI controller drivers + +@@ -2101,6 +2121,8 @@ # Bus devices # # CONFIG_MOXTET is not set @@ -144,15 +168,16 @@ CONFIG_MHI_BUS=m # CONFIG_MHI_BUS_DEBUG is not set CONFIG_MHI_BUS_PCI_GENERIC=m -@@ -2068,6 +2088,7 @@ +@@ -2111,6 +2133,8 @@ # Cache Drivers # # CONFIG_AX45MP_L2_CACHE is not set +CONFIG_SIFIVE_CCACHE=y ++CONFIG_STARFIVE_STARLINK_CACHE=y # end of Cache Drivers CONFIG_CONNECTOR=y -@@ -2117,6 +2138,8 @@ +@@ -2163,6 +2187,8 @@ CONFIG_EFI_COCO_SECRET=y # end of EFI (Extensible Firmware Interface) Support @@ -161,7 +186,7 @@ # # Qualcomm firmware drivers # -@@ -2223,6 +2246,7 @@ +@@ -2269,6 +2295,7 @@ # CONFIG_MTD_NAND_DENALI_PCI is not set # CONFIG_MTD_NAND_DENALI_DT is not set # CONFIG_MTD_NAND_CAFE is not set @@ -169,7 +194,7 @@ # CONFIG_MTD_NAND_MXIC is not set # CONFIG_MTD_NAND_GPIO is not set # CONFIG_MTD_NAND_PLATFORM is not set -@@ -2593,6 +2617,7 @@ +@@ -2641,6 +2668,7 @@ CONFIG_SATA_AHCI_PLATFORM=m CONFIG_AHCI_DWC=m # CONFIG_AHCI_CEVA is not set @@ -177,7 +202,7 @@ CONFIG_SATA_INIC162X=m CONFIG_SATA_ACARD_AHCI=m CONFIG_SATA_SIL24=m -@@ -2911,6 +2936,8 @@ +@@ -2960,6 +2988,8 @@ CONFIG_ET131X=m CONFIG_NET_VENDOR_ALACRITECH=y CONFIG_SLICOSS=m @@ -186,7 +211,7 @@ CONFIG_NET_VENDOR_ALTEON=y CONFIG_ACENIC=m # CONFIG_ACENIC_OMIT_TIGON_I is not set -@@ -3212,6 +3239,9 @@ +@@ -3263,6 +3293,9 @@ CONFIG_STMMAC_PLATFORM=m # CONFIG_DWMAC_DWC_QOS_ETH is not set CONFIG_DWMAC_GENERIC=m @@ -196,7 +221,7 @@ # CONFIG_DWMAC_INTEL_PLAT is not set CONFIG_STMMAC_PCI=m CONFIG_NET_VENDOR_SUN=y -@@ -3341,6 +3371,7 @@ +@@ -3393,6 +3426,7 @@ CONFIG_CAN_JANZ_ICAN3=m CONFIG_CAN_KVASER_PCIEFD=m CONFIG_CAN_SLCAN=m @@ -204,7 +229,7 @@ CONFIG_CAN_C_CAN=m CONFIG_CAN_C_CAN_PLATFORM=m CONFIG_CAN_C_CAN_PCI=m -@@ -3408,6 +3439,7 @@ +@@ -3460,6 +3494,7 @@ CONFIG_OF_MDIO=m CONFIG_ACPI_MDIO=m CONFIG_MDIO_DEVRES=m @@ -212,7 +237,7 @@ CONFIG_MDIO_BITBANG=m CONFIG_MDIO_BCM_UNIMAC=m CONFIG_MDIO_CAVIUM=m -@@ -3425,6 +3457,7 @@ +@@ -3477,6 +3512,7 @@ # # MDIO Multiplexers # @@ -220,7 +245,7 @@ # CONFIG_MDIO_BUS_MUX_GPIO is not set # CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set # CONFIG_MDIO_BUS_MUX_MMIOREG is not set -@@ -3942,8 +3975,10 @@ +@@ -3997,8 +4033,10 @@ CONFIG_KEYBOARD_OPENCORES=m CONFIG_KEYBOARD_PINEPHONE=m CONFIG_KEYBOARD_SAMSUNG=m @@ -231,7 +256,7 @@ CONFIG_KEYBOARD_IQS62X=m # CONFIG_KEYBOARD_OMAP4 is not set CONFIG_KEYBOARD_TM2_TOUCHKEY=m -@@ -4129,6 +4164,7 @@ +@@ -4184,6 +4222,7 @@ CONFIG_TOUCHSCREEN_SIS_I2C=m CONFIG_TOUCHSCREEN_ST1232=m CONFIG_TOUCHSCREEN_STMFTS=m @@ -239,7 +264,7 @@ CONFIG_TOUCHSCREEN_SUR40=m CONFIG_TOUCHSCREEN_SURFACE3_SPI=m CONFIG_TOUCHSCREEN_SX8654=m -@@ -4222,6 +4258,7 @@ +@@ -4278,6 +4317,7 @@ CONFIG_SERIO=m CONFIG_SERIO_SERPORT=m CONFIG_SERIO_PARKBD=m @@ -247,7 +272,7 @@ CONFIG_SERIO_PCIPS2=m CONFIG_SERIO_LIBPS2=m CONFIG_SERIO_RAW=m -@@ -4229,6 +4266,7 @@ +@@ -4285,6 +4325,7 @@ CONFIG_SERIO_PS2MULT=m CONFIG_SERIO_ARC_PS2=m # CONFIG_SERIO_APBPS2 is not set @@ -255,7 +280,7 @@ CONFIG_SERIO_GPIO_PS2=m CONFIG_USERIO=m CONFIG_GAMEPORT=m -@@ -4277,16 +4315,18 @@ +@@ -4333,16 +4374,18 @@ CONFIG_SERIAL_8250_RSA=y CONFIG_SERIAL_8250_DWLIB=y CONFIG_SERIAL_8250_DFL=m @@ -277,7 +302,7 @@ CONFIG_SERIAL_MAX3100=m CONFIG_SERIAL_MAX310X=m CONFIG_SERIAL_UARTLITE=m -@@ -4294,7 +4334,8 @@ +@@ -4350,7 +4393,8 @@ CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_JSM=m @@ -287,7 +312,7 @@ CONFIG_SERIAL_SCCNXP=m CONFIG_SERIAL_SC16IS7XX=m CONFIG_SERIAL_SC16IS7XX_I2C=m -@@ -4320,6 +4361,7 @@ +@@ -4376,6 +4420,7 @@ CONFIG_MOXA_INTELLIO=m CONFIG_MOXA_SMARTIO=m CONFIG_N_HDLC=m @@ -295,7 +320,7 @@ CONFIG_IPWIRELESS=m # CONFIG_N_GSM is not set CONFIG_NOZOMI=m -@@ -4347,8 +4389,10 @@ +@@ -4404,8 +4449,10 @@ CONFIG_HW_RANDOM_TIMERIOMEM=m CONFIG_HW_RANDOM_BA431=m CONFIG_HW_RANDOM_VIRTIO=m @@ -306,7 +331,7 @@ CONFIG_APPLICOM=m CONFIG_DEVMEM=y CONFIG_DEVPORT=y -@@ -4452,6 +4496,9 @@ +@@ -4510,6 +4557,9 @@ CONFIG_I2C_GPIO=m # CONFIG_I2C_GPIO_FAULT_INJECTOR is not set CONFIG_I2C_KEMPLD=m @@ -316,7 +341,7 @@ CONFIG_I2C_OCORES=m CONFIG_I2C_PCA_PLATFORM=m # CONFIG_I2C_RK3X is not set -@@ -4519,9 +4566,12 @@ +@@ -4578,9 +4628,12 @@ CONFIG_SPI_MICROCHIP_CORE_QSPI=m CONFIG_SPI_OC_TINY=m CONFIG_SPI_PCI1XXXX=m @@ -329,7 +354,7 @@ CONFIG_SPI_MXIC=m CONFIG_SPI_XCOMM=m CONFIG_SPI_XILINX=m -@@ -4576,7 +4626,9 @@ +@@ -4635,7 +4688,9 @@ # end of PTP clock support CONFIG_PINCTRL=y @@ -339,7 +364,7 @@ CONFIG_PINCONF=y CONFIG_GENERIC_PINCONF=y # CONFIG_DEBUG_PINCTRL is not set -@@ -4608,6 +4660,35 @@ +@@ -4667,6 +4722,35 @@ # # end of Renesas pinctrl drivers @@ -375,7 +400,7 @@ CONFIG_GPIOLIB=y CONFIG_GPIOLIB_FASTPATH_LIMIT=512 CONFIG_OF_GPIO=y -@@ -4616,7 +4697,7 @@ +@@ -4675,7 +4759,7 @@ # CONFIG_DEBUG_GPIO is not set CONFIG_GPIO_CDEV=y CONFIG_GPIO_CDEV_V1=y @@ -384,7 +409,7 @@ CONFIG_GPIO_REGMAP=m CONFIG_GPIO_SWNODE_UNDEFINED=y CONFIG_GPIO_MAX730X=m -@@ -4638,7 +4719,8 @@ +@@ -4697,7 +4781,8 @@ # CONFIG_GPIO_LOGICVC is not set CONFIG_GPIO_MB86S7X=m CONFIG_GPIO_MENZ127=m @@ -394,7 +419,7 @@ CONFIG_GPIO_SIOX=m # CONFIG_GPIO_SYSCON is not set # CONFIG_GPIO_WCD934X is not set -@@ -4767,15 +4849,15 @@ +@@ -4832,15 +4917,15 @@ CONFIG_POWER_RESET=y CONFIG_POWER_RESET_ATC260X=m @@ -413,8 +438,8 @@ +CONFIG_POWER_RESET_SYSCON_POWEROFF=y # CONFIG_SYSCON_REBOOT_MODE is not set # CONFIG_NVMEM_REBOOT_MODE is not set - CONFIG_POWER_SUPPLY=y -@@ -5071,6 +5153,7 @@ + CONFIG_POWER_SEQUENCING=m +@@ -5143,6 +5228,7 @@ CONFIG_SENSORS_SCH5627=m CONFIG_SENSORS_SCH5636=m CONFIG_SENSORS_STTS751=m @@ -422,7 +447,7 @@ CONFIG_SENSORS_ADC128D818=m CONFIG_SENSORS_ADS7828=m CONFIG_SENSORS_ADS7871=m -@@ -5128,10 +5211,13 @@ +@@ -5202,10 +5288,13 @@ CONFIG_THERMAL_GOV_BANG_BANG=y CONFIG_THERMAL_GOV_USER_SPACE=y CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y @@ -437,7 +462,7 @@ # CONFIG_DA9062_THERMAL is not set CONFIG_GENERIC_ADC_THERMAL=m CONFIG_WATCHDOG=y -@@ -5172,6 +5258,7 @@ +@@ -5246,6 +5335,7 @@ CONFIG_RAVE_SP_WATCHDOG=m CONFIG_CADENCE_WATCHDOG=m CONFIG_DW_WATCHDOG=m @@ -445,7 +470,7 @@ CONFIG_TWL4030_WATCHDOG=m CONFIG_MAX63XX_WATCHDOG=m CONFIG_RETU_WATCHDOG=m -@@ -5179,6 +5266,7 @@ +@@ -5253,6 +5343,7 @@ CONFIG_I6300ESB_WDT=m CONFIG_KEMPLD_WDT=m CONFIG_MEN_A21_WDT=m @@ -453,7 +478,7 @@ # # PCI-based Watchdog Cards -@@ -5220,6 +5308,7 @@ +@@ -5294,6 +5385,7 @@ # CONFIG_MFD_CORE=y # CONFIG_MFD_ACT8945A is not set @@ -461,7 +486,7 @@ CONFIG_MFD_AS3711=y CONFIG_MFD_SMPRO=m # CONFIG_MFD_AS3722 is not set -@@ -5307,6 +5396,7 @@ +@@ -5382,6 +5474,7 @@ CONFIG_MFD_SM501_GPIO=y CONFIG_MFD_SKY81452=m # CONFIG_MFD_STMPE is not set @@ -469,7 +494,7 @@ CONFIG_MFD_SYSCON=y CONFIG_MFD_LP3943=m CONFIG_MFD_LP8788=y -@@ -5395,7 +5485,7 @@ +@@ -5474,7 +5567,7 @@ CONFIG_REGULATOR_DA9052=m CONFIG_REGULATOR_DA9055=m CONFIG_REGULATOR_DA9062=m @@ -478,7 +503,7 @@ # CONFIG_REGULATOR_DA9121 is not set CONFIG_REGULATOR_DA9210=m CONFIG_REGULATOR_DA9211=m -@@ -5479,6 +5569,7 @@ +@@ -5558,6 +5651,7 @@ CONFIG_REGULATOR_RTQ2208=m CONFIG_REGULATOR_SKY81452=m CONFIG_REGULATOR_SLG51000=m @@ -486,7 +511,7 @@ CONFIG_REGULATOR_SY7636A=m # CONFIG_REGULATOR_SY8106A is not set # CONFIG_REGULATOR_SY8824X is not set -@@ -5539,6 +5630,7 @@ +@@ -5618,6 +5712,7 @@ CONFIG_IR_SERIAL_TRANSMITTER=y # CONFIG_IR_SPI is not set CONFIG_IR_STREAMZAP=m @@ -494,7 +519,7 @@ CONFIG_IR_TOY=m CONFIG_IR_TTUSBIR=m CONFIG_RC_ATI_REMOTE=m -@@ -5954,6 +6046,12 @@ +@@ -6040,6 +6135,12 @@ # # Sunxi media platform drivers # @@ -507,7 +532,7 @@ # # Texas Instruments drivers -@@ -5962,6 +6060,7 @@ +@@ -6048,6 +6149,7 @@ # # Verisilicon media platform drivers # @@ -515,7 +540,7 @@ # # VIA media platform drivers -@@ -6484,6 +6583,11 @@ +@@ -6577,6 +6679,11 @@ CONFIG_DRM_UDL=m CONFIG_DRM_AST=m CONFIG_DRM_MGAG200=m @@ -527,7 +552,7 @@ CONFIG_DRM_QXL=m CONFIG_DRM_VIRTIO_GPU=m CONFIG_DRM_VIRTIO_GPU_KMS=y -@@ -6634,6 +6738,11 @@ +@@ -6730,6 +6837,11 @@ # CONFIG_DRM_I2C_ADV7511 is not set # CONFIG_DRM_CDNS_DSI is not set # CONFIG_DRM_CDNS_MHDP8546 is not set @@ -539,7 +564,7 @@ # end of Display Interface Bridges # CONFIG_DRM_ETNAVIV is not set -@@ -6695,6 +6804,7 @@ +@@ -6791,6 +6903,7 @@ # CONFIG_FB_SMSCUFX is not set # CONFIG_FB_UDL is not set # CONFIG_FB_IBM_GXT4500 is not set @@ -547,7 +572,7 @@ # CONFIG_FB_VIRTUAL is not set # CONFIG_FB_METRONOME is not set # CONFIG_FB_MB862XX is not set -@@ -7048,12 +7158,24 @@ +@@ -7147,12 +7260,24 @@ CONFIG_SND_SOC_SOF_PCI=m CONFIG_SND_SOC_SOF_ACPI=m # CONFIG_SND_SOC_SOF_OF is not set @@ -572,7 +597,7 @@ CONFIG_SND_SOC_XILINX_I2S=m CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER=m CONFIG_SND_SOC_XILINX_SPDIF=m -@@ -7496,8 +7618,8 @@ +@@ -7603,8 +7728,8 @@ CONFIG_I2C_HID=m CONFIG_I2C_HID_ACPI=m CONFIG_I2C_HID_OF=m @@ -583,7 +608,7 @@ CONFIG_I2C_HID_CORE=m CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_SUPPORT=y -@@ -7609,6 +7731,7 @@ +@@ -7716,6 +7841,7 @@ CONFIG_USB_CDNS3_GADGET=y CONFIG_USB_CDNS3_HOST=y CONFIG_USB_CDNS3_PCI_WRAP=m @@ -591,7 +616,7 @@ CONFIG_USB_CDNSP_PCI=m CONFIG_USB_CDNSP_GADGET=y CONFIG_USB_CDNSP_HOST=y -@@ -7620,11 +7743,14 @@ +@@ -7727,11 +7853,14 @@ # # Platform Glue Layer # @@ -606,7 +631,7 @@ CONFIG_USB_DWC3=m CONFIG_USB_DWC3_ULPI=y # CONFIG_USB_DWC3_HOST is not set -@@ -7940,6 +8066,7 @@ +@@ -8047,6 +8176,7 @@ # MMC/SD/SDIO Host Controller Drivers # # CONFIG_MMC_DEBUG is not set @@ -614,7 +639,7 @@ CONFIG_MMC_SDHCI=m CONFIG_MMC_SDHCI_IO_ACCESSORS=y CONFIG_MMC_SDHCI_PCI=m -@@ -7948,8 +8075,8 @@ +@@ -8055,8 +8185,8 @@ CONFIG_MMC_SDHCI_PLTFM=m # CONFIG_MMC_SDHCI_OF_ARASAN is not set # CONFIG_MMC_SDHCI_OF_AT91 is not set @@ -625,7 +650,7 @@ CONFIG_MMC_SDHCI_F_SDH30=m # CONFIG_MMC_SDHCI_MILBEAUT is not set CONFIG_MMC_ALCOR=m -@@ -7958,12 +8085,21 @@ +@@ -8065,12 +8195,21 @@ CONFIG_MMC_SDRICOH_CS=m CONFIG_MMC_CB710=m CONFIG_MMC_VIA_SDMMC=m @@ -648,7 +673,7 @@ CONFIG_MMC_CQHCI=m CONFIG_MMC_HSQ=m CONFIG_MMC_TOSHIBA_PCI=m -@@ -8020,6 +8156,7 @@ +@@ -8126,6 +8265,7 @@ CONFIG_LEDS_LM3642=m # CONFIG_LEDS_LM3692X is not set CONFIG_LEDS_MT6323=m @@ -656,7 +681,7 @@ CONFIG_LEDS_PCA9532=m CONFIG_LEDS_PCA9532_GPIO=y CONFIG_LEDS_GPIO=m -@@ -8174,6 +8311,7 @@ +@@ -8282,6 +8422,7 @@ CONFIG_EDAC=y CONFIG_EDAC_LEGACY_SYSFS=y # CONFIG_EDAC_DEBUG is not set @@ -664,7 +689,7 @@ CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y -@@ -8306,6 +8444,9 @@ +@@ -8414,6 +8555,9 @@ # # on-CPU RTC drivers # @@ -674,7 +699,7 @@ # CONFIG_RTC_DRV_CADENCE is not set CONFIG_RTC_DRV_FTRTC010=m CONFIG_RTC_DRV_PCAP=m -@@ -8317,7 +8458,8 @@ +@@ -8425,7 +8569,8 @@ # HID Sensor RTC drivers # CONFIG_RTC_DRV_HID_SENSOR_TIME=m @@ -684,7 +709,7 @@ CONFIG_DMADEVICES=y # CONFIG_DMADEVICES_DEBUG is not set -@@ -8325,13 +8467,16 @@ +@@ -8433,13 +8578,16 @@ # DMA Devices # CONFIG_DMA_ENGINE=y @@ -703,7 +728,7 @@ CONFIG_PLX_DMA=m CONFIG_XILINX_DMA=m CONFIG_XILINX_XDMA=m -@@ -8507,6 +8652,10 @@ +@@ -8616,6 +8764,10 @@ # # StarFive media platform drivers # @@ -714,17 +739,17 @@ # CONFIG_STAGING_MEDIA_DEPRECATED is not set CONFIG_LTE_GDM724X=m # CONFIG_FB_TFT is not set -@@ -8520,7 +8669,8 @@ +@@ -8629,7 +8781,8 @@ CONFIG_FIELDBUS_DEV=m # CONFIG_HMS_ANYBUSS_BUS is not set # CONFIG_VME_BUS is not set -# CONFIG_GOLDFISH is not set +CONFIG_GOLDFISH=y +# CONFIG_GOLDFISH_PIPE is not set + CONFIG_CZNIC_PLATFORMS=y # CONFIG_SERIAL_MULTI_INSTANTIATE is not set CONFIG_HAVE_CLK=y - CONFIG_HAVE_CLK_PREPARE=y -@@ -8547,24 +8697,51 @@ +@@ -8657,24 +8810,55 @@ # CONFIG_COMMON_CLK_VC5 is not set # CONFIG_COMMON_CLK_VC7 is not set # CONFIG_COMMON_CLK_FIXED_MMIO is not set @@ -733,6 +758,9 @@ +CONFIG_CLK_SIFIVE=y +CONFIG_CLK_SIFIVE_PRCI=y +CONFIG_CLK_SOPHGO_CV1800=m ++CONFIG_CLK_SOPHGO_SG2042_PLL=m ++CONFIG_CLK_SOPHGO_SG2042_CLKGEN=m ++CONFIG_CLK_SOPHGO_SG2042_RPGATE=m +CONFIG_CLK_STARFIVE_JH71X0=y +CONFIG_CLK_STARFIVE_JH7100=y +CONFIG_CLK_STARFIVE_JH7100_AUDIO=m @@ -747,6 +775,7 @@ +CONFIG_SUN20I_D1_R_CCU=y +CONFIG_SUN6I_RTC_CCU=y +CONFIG_SUN8I_DE2_CCU=m ++CONFIG_CLK_THEAD_TH1520_AP=y CONFIG_XILINX_VCU=m # CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set CONFIG_HWSPINLOCK=y @@ -776,7 +805,7 @@ CONFIG_IOMMU_IOVA=m CONFIG_IOMMU_API=y CONFIG_IOMMUFD_DRIVER=y -@@ -8581,6 +8758,7 @@ +@@ -8691,6 +8875,7 @@ # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_OF_IOMMU=y CONFIG_IOMMUFD=m @@ -784,7 +813,7 @@ # # Remoteproc drivers -@@ -8647,6 +8825,7 @@ +@@ -8757,6 +8942,7 @@ # CONFIG_LITEX_SOC_CONTROLLER is not set # end of Enable LiteX SoC Builder specific drivers @@ -792,7 +821,7 @@ CONFIG_WPCM450_SOC=m # -@@ -8657,6 +8836,7 @@ +@@ -8767,6 +8953,7 @@ CONFIG_QCOM_QMI_HELPERS=m # end of Qualcomm SoC drivers @@ -800,7 +829,7 @@ CONFIG_SOC_TI=y # -@@ -8688,6 +8868,9 @@ +@@ -8798,6 +8985,9 @@ # Qualcomm PM Domains # # end of Qualcomm PM Domains @@ -810,7 +839,7 @@ # end of PM Domains CONFIG_PM_DEVFREQ=y -@@ -8704,6 +8887,7 @@ +@@ -8814,6 +9004,7 @@ # # DEVFREQ Drivers # @@ -818,7 +847,7 @@ CONFIG_PM_DEVFREQ_EVENT=y CONFIG_EXTCON=y -@@ -8725,6 +8909,7 @@ +@@ -8835,6 +9026,7 @@ CONFIG_EXTCON_USB_GPIO=m CONFIG_EXTCON_USBC_TUSB320=m CONFIG_MEMORY=y @@ -826,7 +855,7 @@ CONFIG_FPGA_DFL_EMIF=m CONFIG_IIO=m CONFIG_IIO_BUFFER=y -@@ -8877,6 +9062,7 @@ +@@ -8988,6 +9180,7 @@ CONFIG_PALMAS_GPADC=m CONFIG_RICHTEK_RTQ6056=m CONFIG_SD_ADC_MODULATOR=m @@ -834,8 +863,8 @@ CONFIG_TI_ADC081C=m CONFIG_TI_ADC0832=m CONFIG_TI_ADC084S021=m -@@ -9415,8 +9601,10 @@ - # CONFIG_PWM_FSL_FTM is not set +@@ -9531,8 +9724,10 @@ + CONFIG_PWM_GPIO=m CONFIG_PWM_IQS620A=m CONFIG_PWM_LP3943=m +CONFIG_PWM_MICROCHIP_CORE=m @@ -846,7 +875,7 @@ CONFIG_PWM_TWL=m CONFIG_PWM_TWL_LED=m # CONFIG_PWM_XILINX is not set -@@ -9434,6 +9622,7 @@ +@@ -9551,6 +9746,7 @@ CONFIG_RISCV_IMSIC=y CONFIG_RISCV_IMSIC_PCI=y CONFIG_SIFIVE_PLIC=y @@ -854,7 +883,7 @@ # end of IRQ chip support CONFIG_IPACK_BUS=m -@@ -9441,8 +9630,14 @@ +@@ -9558,8 +9754,14 @@ CONFIG_SERIAL_IPOCTAL=m CONFIG_RESET_CONTROLLER=y CONFIG_RESET_GPIO=m @@ -869,7 +898,7 @@ # # PHY Subsystem -@@ -9450,6 +9645,10 @@ +@@ -9567,6 +9769,10 @@ CONFIG_GENERIC_PHY=y CONFIG_GENERIC_PHY_MIPI_DPHY=y CONFIG_PHY_CAN_TRANSCEIVER=m @@ -880,17 +909,18 @@ # # PHY drivers for Broadcom platforms -@@ -9471,6 +9670,9 @@ +@@ -9588,6 +9794,10 @@ CONFIG_PHY_QCOM_USB_HS=m CONFIG_PHY_QCOM_USB_HSIC=m CONFIG_PHY_SAMSUNG_USB2=m +CONFIG_PHY_STARFIVE_JH7110_DPHY_RX=m ++CONFIG_PHY_STARFIVE_JH7110_DPHY_TX=m +CONFIG_PHY_STARFIVE_JH7110_PCIE=m +CONFIG_PHY_STARFIVE_JH7110_USB=m CONFIG_PHY_TUSB1210=m # end of PHY Subsystem -@@ -9487,6 +9689,7 @@ +@@ -9604,6 +9814,7 @@ CONFIG_RISCV_PMU=y CONFIG_RISCV_PMU_LEGACY=y CONFIG_RISCV_PMU_SBI=y @@ -898,7 +928,7 @@ CONFIG_DWC_PCIE_PMU=m CONFIG_CXL_PMU=m # end of Performance monitor support -@@ -9526,6 +9729,7 @@ +@@ -9650,6 +9861,7 @@ CONFIG_NVMEM_RAVE_SP_EEPROM=m CONFIG_NVMEM_RMEM=m @@ -906,7 +936,7 @@ # CONFIG_NVMEM_U_BOOT_ENV is not set # -@@ -10324,6 +10528,14 @@ +@@ -10448,6 +10660,14 @@ # end of Accelerated Cryptographic Algorithms for CPU (riscv) CONFIG_CRYPTO_HW=y @@ -921,7 +951,7 @@ CONFIG_CRYPTO_DEV_ATMEL_I2C=m CONFIG_CRYPTO_DEV_ATMEL_ECC=m CONFIG_CRYPTO_DEV_ATMEL_SHA204A=m -@@ -10345,6 +10557,7 @@ +@@ -10469,6 +10689,7 @@ # CONFIG_CRYPTO_DEV_CCREE is not set CONFIG_CRYPTO_DEV_AMLOGIC_GXL=m CONFIG_CRYPTO_DEV_AMLOGIC_GXL_DEBUG=y diff --git a/linux/riscv64.patch b/linux/riscv64.patch index 04a63a024..7738e65e9 100644 --- a/linux/riscv64.patch +++ b/linux/riscv64.patch @@ -1,5 +1,5 @@ diff --git PKGBUILD PKGBUILD -index 5da9e6f..64ad924 100644 +index 0c098de..bfc32ed 100644 --- PKGBUILD +++ PKGBUILD @@ -35,6 +35,8 @@ source=( @@ -11,21 +11,21 @@ index 5da9e6f..64ad924 100644 ) validpgpkeys=( ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds -@@ -46,12 +48,16 @@ sha256sums=('73d8520dd9cba5acfc5e7208e76b35d9740b8aae38210a9224e32ec4c0d29b70' +@@ -46,12 +48,16 @@ sha256sums=('ec9ef7a0b9cebb55940e1ef87a1f9e1004b10456a119dc386bb3e565b0d39c42' 'SKIP' - 'a4efb43085bdfff93b11f26dd276859d347752958717b99c9f4a97133b857515' + '86e2959cac748ff503f33e40d5994acc3eb5008b9ff9ca2a7e2d264c107a4b24' 'SKIP' -- 'db35dc40884ec866a32225b2f7916fa7ae24273e08f9e204cddb010816255e17') -+ 'db35dc40884ec866a32225b2f7916fa7ae24273e08f9e204cddb010816255e17' -+ 'bf04842b9ba1f434269bdf59e5482c8ef9e4dea75d16d07d24a8448e0bf9ed4c' +- '6be68246a4abf8c4a71b94f315076b482bf6e99447d4c67a24f8e8b4aadda0eb') ++ '6be68246a4abf8c4a71b94f315076b482bf6e99447d4c67a24f8e8b4aadda0eb' ++ 'a4c78d6605f57dd5a3a5c94f5eda2ba737e98de9639c69bd4bd9d79ee80b43f1' + '87637edacf2e3bdf68f389d06a242ab162404aef90d1e78306b6a04e09f62c0f') - b2sums=('ab1d2e79a1bb8a9b78ab5b1af93db7ef356cb5e14bba1121bbd3ae06b9589c8bfc32bab373acdd0ecf965ac132130e7eb34e70b35a9df1bd85b49dab97e2c02a' + b2sums=('5720e8dd0bed0247dcfe0bdbce17e36e67bff56811611ae1b04f048b77b6e60c2a48303db73c5a0d4a56c7125cdd695116c4dfd965bd7cb28aa932f427bb3e7d' 'SKIP' - '9c16132af733ba448db39467d0d20df7143e2f2c1acf01653afa898a3e10f5fa170db24bdede4e7083b72064a3dc4bc4e6d616d3ac7cdc0a6b25d5725ff633fc' + 'a34d50594e17ea6e9e89dc9fecfcc1417db823e5bbaa7038864b6d1edfdfb38424cdb4a97b70ec57b625b72c7f239b9c1cb2acfab00af8aca5bea566de662bc4' 'SKIP' -- '3f8f9bbde186b92bca111978c7df904446465b63e612fb2220d063758b0d11eab2f6907d41512170056cd35233021a2614302911a1ac796e5e1fbd42eaed3b8a') -+ '3f8f9bbde186b92bca111978c7df904446465b63e612fb2220d063758b0d11eab2f6907d41512170056cd35233021a2614302911a1ac796e5e1fbd42eaed3b8a' -+ '80daf50ef4a8f76209d435ce405b11f0b2e1e01b10007abdb6432f10a45577908c614c8016bba6adff48add3b0552c672e5334c3e2db34f6a8c3b2c27aa374b6' +- '632406cbbd14ac1db306bd2dacc21ecf0320cbf04f028c6d09290404af63e642a873295a6bc7db14c6e395c910d5c8f731efd39e52f3ac8de51596d434236c2b') ++ '632406cbbd14ac1db306bd2dacc21ecf0320cbf04f028c6d09290404af63e642a873295a6bc7db14c6e395c910d5c8f731efd39e52f3ac8de51596d434236c2b' ++ '71c50608f143d2c2d2afa878a7a06b9c441974dd7496cb24380bc128489eaf3f08cbdd60feed7c0526583e0327fb0bfb70d75347fa3e250a72aac73ce51987f8' + '6049506a3b300e6cf4eaf68ec326a862eea1cac7bc3c2f8223edd2087afe91400dbba6c4b59184bfb8701a514f14875b8f8cec079cdf10a7fa22b6da923c848d') export KBUILD_BUILD_HOST=archlinux @@ -53,13 +53,14 @@ index 5da9e6f..64ad924 100644 # remove build link rm "$modulesdir"/build } -@@ -141,19 +156,16 @@ _package-headers() { +@@ -141,20 +156,17 @@ _package-headers() { install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \ localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h install -Dt "$builddir/kernel" -m644 kernel/Makefile - install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile + install -Dt "$builddir/arch/riscv" -m644 arch/riscv/Makefile cp -t "$builddir" -a scripts + ln -srt "$builddir" "$builddir/scripts/gdb/vmlinux-gdb.py" - # required when STACK_VALIDATION is enabled - install -Dt "$builddir/tools/objtool" tools/objtool/objtool @@ -76,7 +77,7 @@ index 5da9e6f..64ad924 100644 install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h -@@ -175,7 +187,7 @@ _package-headers() { +@@ -176,7 +188,7 @@ _package-headers() { echo "Removing unneeded architectures..." local arch for arch in "$builddir"/arch/*/; do diff --git a/riscv.defconfig b/riscv.defconfig index 30310d7f7..f81049284 100644 --- a/riscv.defconfig +++ b/riscv.defconfig @@ -6,13 +6,16 @@ CONFIG_HW_RANDOM_JH7110=m CONFIG_MMC_DW_STARFIVE=m CONFIG_SND_SOC_STARFIVE=m CONFIG_SND_SOC_JH7110_TDM=m +CONFIG_SND_SOC_JH7110_PWMDAC=m CONFIG_USB_CDNS3_STARFIVE=m CONFIG_CRYPTO_DEV_JH7110=m CONFIG_SENSORS_SFCTEMP=m CONFIG_PHY_STARFIVE_JH7110_DPHY_RX=m +CONFIG_PHY_STARFIVE_JH7110_DPHY_TX=m CONFIG_PHY_STARFIVE_JH7110_PCIE=m CONFIG_PHY_STARFIVE_JH7110_USB=m -CONFIG_SND_SOC_JH7110_PWMDAC=m +CONFIG_PCIE_STARFIVE_HOST=m +CONFIG_STARFIVE_STARLINK_CACHE=y CONFIG_VIDEO_STARFIVE_CAMSS=m CONFIG_AMBA_PL08X=y CONFIG_CRYPTO_DEV_JH7110=m @@ -55,6 +58,9 @@ CONFIG_MMC_SDHCI_OF_DWCMSHC=m # Sophgo board support CONFIG_ARCH_SOPHGO=y CONFIG_CLK_SOPHGO_CV1800=m +CONFIG_CLK_SOPHGO_SG2042_PLL=m +CONFIG_CLK_SOPHGO_SG2042_CLKGEN=m +CONFIG_CLK_SOPHGO_SG2042_RPGATE=m # Canaan Kendryte support CONFIG_ARCH_CANAAN=y # QEMU support @@ -102,3 +108,6 @@ CONFIG_SERIAL_8250_DW=y CONFIG_ACPI_CPPC_CPUFREQ=m CONFIG_CPUFREQ_DT=m CONFIG_CPU_THERMAL=y +# Many uboot doesn't enable zstd support +CONFIG_KERNEL_ZSTD=n +CONFIG_KERNEL_GZIP=y