* [DistroKit] [PATCH v2 02/13] MIPS: kernel: enable USB support
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 03/13] MIPS: kernel: enable CPU_IDLE support Oleksij Rempel
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
All currently supported ARM platforms provide USB support. Enable USB on
MIPS, to make it consistent with other platforms.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/kernelconfig | 168 +++++++++++++++++-
configs/platform-mips/kernelconfig-ar9331 | 168 +++++++++++++++++-
.../platform-mips/kernelconfig-ar9331.diff | 2 +-
configs/platform-mips/kernelconfig-malta.diff | 93 +---------
4 files changed, 339 insertions(+), 92 deletions(-)
diff --git a/configs/platform-mips/kernelconfig b/configs/platform-mips/kernelconfig
index aedda46..f922ef3 100644
--- a/configs/platform-mips/kernelconfig
+++ b/configs/platform-mips/kernelconfig
@@ -1198,6 +1198,7 @@ CONFIG_BLK_DEV=y
# end of Intel MIC & related support
# CONFIG_ECHO is not set
+# CONFIG_MISC_RTSX_USB is not set
# end of Misc devices
CONFIG_HAVE_IDE=y
@@ -1396,6 +1397,16 @@ CONFIG_SLHC=m
#
# Host-side USB support is needed for USB Network Adapter support
#
+CONFIG_USB_NET_DRIVERS=m
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_RTL8152 is not set
+# CONFIG_USB_LAN78XX is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_USB_HSO is not set
+# CONFIG_USB_IPHETH is not set
CONFIG_WLAN=y
# CONFIG_WIRELESS_WDS is not set
# CONFIG_WLAN_VENDOR_ADMTEK is not set
@@ -1537,7 +1548,10 @@ CONFIG_I2C_HELPER_AUTO=y
#
# External I2C/SMBus adapter drivers
#
+# CONFIG_I2C_DIOLAN_U2C is not set
+# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
#
# Other I2C/SMBus bus drivers
@@ -1627,6 +1641,11 @@ CONFIG_GPIO_ATH79=y
#
# end of MFD GPIO expanders
+#
+# USB GPIO expanders
+#
+# end of USB GPIO expanders
+
# CONFIG_GPIO_MOCKUP is not set
# CONFIG_W1 is not set
# CONFIG_POWER_AVS is not set
@@ -1659,6 +1678,11 @@ CONFIG_ATH79_WDT=y
# CONFIG_JZ4740_WDT is not set
# CONFIG_IMGPDC_WDT is not set
# CONFIG_MEN_A21_WDT is not set
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y
@@ -1677,6 +1701,7 @@ CONFIG_BCMA_POSSIBLE=y
# CONFIG_MFD_DA9062 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_DA9150 is not set
+# CONFIG_MFD_DLN2 is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_MFD_HI6421_PMIC is not set
# CONFIG_HTC_PASIC3 is not set
@@ -1690,6 +1715,7 @@ CONFIG_BCMA_POSSIBLE=y
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_MENF21BMC is not set
+# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_RETU is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_RT5033 is not set
@@ -1806,21 +1832,105 @@ CONFIG_BACKLIGHT_GENERIC=m
# CONFIG_SOUND is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
+CONFIG_USB_COMMON=m
# CONFIG_USB_LED_TRIG is not set
# CONFIG_USB_ULPI_BUS is not set
# CONFIG_USB_CONN_GPIO is not set
CONFIG_USB_ARCH_HAS_HCD=y
-# CONFIG_USB is not set
+CONFIG_USB=m
+# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEFAULT_PERSIST=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_OTG_WHITELIST is not set
+# CONFIG_USB_OTG_BLACKLIST_HUB is not set
+# CONFIG_USB_LEDS_TRIGGER_USBPORT is not set
+CONFIG_USB_AUTOSUSPEND_DELAY=2
+# CONFIG_USB_MON is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_XHCI_HCD is not set
+# CONFIG_USB_EHCI_HCD is not set
+# CONFIG_USB_OXU210HP_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+# CONFIG_USB_FOTG210_HCD is not set
+# CONFIG_USB_OHCI_HCD is not set
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HCD_TEST_MODE is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
+#
+
+#
+# also be needed; see USB_STORAGE Help for more info
+#
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USBIP_CORE is not set
+# CONFIG_USB_CDNS3 is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_DWC3 is not set
+# CONFIG_USB_DWC2 is not set
+# CONFIG_USB_ISP1760 is not set
#
# USB port drivers
#
+# CONFIG_USB_SERIAL is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_EHSET_TEST_FIXTURE is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_YUREX is not set
+# CONFIG_USB_EZUSB_FX2 is not set
+# CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_HSIC_USB3503 is not set
+# CONFIG_USB_HSIC_USB4604 is not set
+# CONFIG_USB_LINK_LAYER_TEST is not set
#
# USB Physical Layer drivers
#
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_USB_GPIO_VBUS is not set
+# CONFIG_USB_ISP1301 is not set
# end of USB Physical Layer drivers
# CONFIG_USB_GADGET is not set
@@ -1922,6 +2032,7 @@ CONFIG_VIRTIO_MENU=y
CONFIG_STAGING=y
# CONFIG_COMEDI is not set
# CONFIG_RTLLIB is not set
+# CONFIG_R8712U is not set
#
# Speakup console speech
@@ -1936,6 +2047,7 @@ CONFIG_STAGING=y
# end of Android
# CONFIG_STAGING_BOARD is not set
+# CONFIG_LTE_GDM724X is not set
# CONFIG_GS_FPGABOOT is not set
# CONFIG_UNISYSSPAR is not set
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
@@ -1947,6 +2059,7 @@ CONFIG_STAGING=y
# CONFIG_XIL_AXIS_FIFO is not set
# CONFIG_FIELDBUS_DEV is not set
+# CONFIG_USB_WUSB_CBAF is not set
# CONFIG_UWB is not set
# CONFIG_STAGING_EXFAT_FS is not set
# CONFIG_MIPS_PLATFORM_DEVICES is not set
@@ -2247,7 +2360,57 @@ CONFIG_SUNRPC_BACKCHANNEL=y
# CONFIG_CIFS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
-# CONFIG_NLS is not set
+CONFIG_NLS=m
+CONFIG_NLS_DEFAULT="iso8859-1"
+# CONFIG_NLS_CODEPAGE_437 is not set
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+# CONFIG_NLS_ASCII is not set
+# CONFIG_NLS_ISO8859_1 is not set
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_MAC_ROMAN is not set
+# CONFIG_NLS_MAC_CELTIC is not set
+# CONFIG_NLS_MAC_CENTEURO is not set
+# CONFIG_NLS_MAC_CROATIAN is not set
+# CONFIG_NLS_MAC_CYRILLIC is not set
+# CONFIG_NLS_MAC_GAELIC is not set
+# CONFIG_NLS_MAC_GREEK is not set
+# CONFIG_NLS_MAC_ICELAND is not set
+# CONFIG_NLS_MAC_INUIT is not set
+# CONFIG_NLS_MAC_ROMANIAN is not set
+# CONFIG_NLS_MAC_TURKISH is not set
+# CONFIG_NLS_UTF8 is not set
# CONFIG_UNICODE is not set
CONFIG_IO_WQ=y
# end of File systems
@@ -2483,6 +2646,7 @@ CONFIG_XZ_DEC=y
# CONFIG_XZ_DEC_ARMTHUMB is not set
# CONFIG_XZ_DEC_SPARC is not set
# CONFIG_XZ_DEC_TEST is not set
+CONFIG_GENERIC_ALLOCATOR=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT_MAP=y
diff --git a/configs/platform-mips/kernelconfig-ar9331 b/configs/platform-mips/kernelconfig-ar9331
index 430c758..76e18b3 100644
--- a/configs/platform-mips/kernelconfig-ar9331
+++ b/configs/platform-mips/kernelconfig-ar9331
@@ -1133,6 +1133,7 @@ CONFIG_OF_RESERVED_MEM=y
# end of Intel MIC & related support
# CONFIG_ECHO is not set
+# CONFIG_MISC_RTSX_USB is not set
# end of Misc devices
CONFIG_HAVE_IDE=y
@@ -1325,6 +1326,16 @@ CONFIG_SLHC=m
#
# Host-side USB support is needed for USB Network Adapter support
#
+CONFIG_USB_NET_DRIVERS=m
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_RTL8152 is not set
+# CONFIG_USB_LAN78XX is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_USB_HSO is not set
+# CONFIG_USB_IPHETH is not set
CONFIG_WLAN=y
# CONFIG_WIRELESS_WDS is not set
# CONFIG_WLAN_VENDOR_ADMTEK is not set
@@ -1464,7 +1475,10 @@ CONFIG_I2C_HELPER_AUTO=y
#
# External I2C/SMBus adapter drivers
#
+# CONFIG_I2C_DIOLAN_U2C is not set
+# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
#
# Other I2C/SMBus bus drivers
@@ -1554,6 +1568,11 @@ CONFIG_GPIO_ATH79=y
#
# end of MFD GPIO expanders
+#
+# USB GPIO expanders
+#
+# end of USB GPIO expanders
+
# CONFIG_GPIO_MOCKUP is not set
# CONFIG_W1 is not set
# CONFIG_POWER_AVS is not set
@@ -1586,6 +1605,11 @@ CONFIG_ATH79_WDT=y
# CONFIG_JZ4740_WDT is not set
# CONFIG_IMGPDC_WDT is not set
# CONFIG_MEN_A21_WDT is not set
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y
@@ -1604,6 +1628,7 @@ CONFIG_BCMA_POSSIBLE=y
# CONFIG_MFD_DA9062 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_DA9150 is not set
+# CONFIG_MFD_DLN2 is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_MFD_HI6421_PMIC is not set
# CONFIG_HTC_PASIC3 is not set
@@ -1617,6 +1642,7 @@ CONFIG_BCMA_POSSIBLE=y
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_MENF21BMC is not set
+# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_RETU is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_RT5033 is not set
@@ -1733,21 +1759,105 @@ CONFIG_BACKLIGHT_GENERIC=m
# CONFIG_SOUND is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
+CONFIG_USB_COMMON=m
# CONFIG_USB_LED_TRIG is not set
# CONFIG_USB_ULPI_BUS is not set
# CONFIG_USB_CONN_GPIO is not set
CONFIG_USB_ARCH_HAS_HCD=y
-# CONFIG_USB is not set
+CONFIG_USB=m
+# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEFAULT_PERSIST=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_OTG_WHITELIST is not set
+# CONFIG_USB_OTG_BLACKLIST_HUB is not set
+# CONFIG_USB_LEDS_TRIGGER_USBPORT is not set
+CONFIG_USB_AUTOSUSPEND_DELAY=2
+# CONFIG_USB_MON is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_XHCI_HCD is not set
+# CONFIG_USB_EHCI_HCD is not set
+# CONFIG_USB_OXU210HP_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+# CONFIG_USB_FOTG210_HCD is not set
+# CONFIG_USB_OHCI_HCD is not set
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HCD_TEST_MODE is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
+#
+
+#
+# also be needed; see USB_STORAGE Help for more info
+#
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USBIP_CORE is not set
+# CONFIG_USB_CDNS3 is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_DWC3 is not set
+# CONFIG_USB_DWC2 is not set
+# CONFIG_USB_ISP1760 is not set
#
# USB port drivers
#
+# CONFIG_USB_SERIAL is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_EHSET_TEST_FIXTURE is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_YUREX is not set
+# CONFIG_USB_EZUSB_FX2 is not set
+# CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_HSIC_USB3503 is not set
+# CONFIG_USB_HSIC_USB4604 is not set
+# CONFIG_USB_LINK_LAYER_TEST is not set
#
# USB Physical Layer drivers
#
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_USB_GPIO_VBUS is not set
+# CONFIG_USB_ISP1301 is not set
# end of USB Physical Layer drivers
# CONFIG_USB_GADGET is not set
@@ -1849,6 +1959,7 @@ CONFIG_VIRTIO_MENU=y
CONFIG_STAGING=y
# CONFIG_COMEDI is not set
# CONFIG_RTLLIB is not set
+# CONFIG_R8712U is not set
#
# Speakup console speech
@@ -1863,6 +1974,7 @@ CONFIG_STAGING=y
# end of Android
# CONFIG_STAGING_BOARD is not set
+# CONFIG_LTE_GDM724X is not set
# CONFIG_GS_FPGABOOT is not set
# CONFIG_UNISYSSPAR is not set
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
@@ -1874,6 +1986,7 @@ CONFIG_STAGING=y
# CONFIG_XIL_AXIS_FIFO is not set
# CONFIG_FIELDBUS_DEV is not set
+# CONFIG_USB_WUSB_CBAF is not set
# CONFIG_UWB is not set
# CONFIG_MIPS_PLATFORM_DEVICES is not set
# CONFIG_GOLDFISH is not set
@@ -2131,7 +2244,57 @@ CONFIG_SUNRPC_BACKCHANNEL=y
# CONFIG_CIFS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
-# CONFIG_NLS is not set
+CONFIG_NLS=m
+CONFIG_NLS_DEFAULT="iso8859-1"
+# CONFIG_NLS_CODEPAGE_437 is not set
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+# CONFIG_NLS_ASCII is not set
+# CONFIG_NLS_ISO8859_1 is not set
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_MAC_ROMAN is not set
+# CONFIG_NLS_MAC_CELTIC is not set
+# CONFIG_NLS_MAC_CENTEURO is not set
+# CONFIG_NLS_MAC_CROATIAN is not set
+# CONFIG_NLS_MAC_CYRILLIC is not set
+# CONFIG_NLS_MAC_GAELIC is not set
+# CONFIG_NLS_MAC_GREEK is not set
+# CONFIG_NLS_MAC_ICELAND is not set
+# CONFIG_NLS_MAC_INUIT is not set
+# CONFIG_NLS_MAC_ROMANIAN is not set
+# CONFIG_NLS_MAC_TURKISH is not set
+# CONFIG_NLS_UTF8 is not set
# CONFIG_UNICODE is not set
CONFIG_IO_WQ=y
# end of File systems
@@ -2367,6 +2530,7 @@ CONFIG_XZ_DEC=y
# CONFIG_XZ_DEC_ARMTHUMB is not set
# CONFIG_XZ_DEC_SPARC is not set
# CONFIG_XZ_DEC_TEST is not set
+CONFIG_GENERIC_ALLOCATOR=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT_MAP=y
diff --git a/configs/platform-mips/kernelconfig-ar9331.diff b/configs/platform-mips/kernelconfig-ar9331.diff
index dd2796e..95da93e 100644
--- a/configs/platform-mips/kernelconfig-ar9331.diff
+++ b/configs/platform-mips/kernelconfig-ar9331.diff
@@ -1,4 +1,4 @@
-d908166a621030e28df720f64371a5ca
+f6829added23b5c0af4b078a07387227
# CONFIG_ACORN_PARTITION is undefined
# CONFIG_ADFS_FS is undefined
# CONFIG_AFFS_FS is undefined
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index ddd05f9..ebd7372 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -1,4 +1,4 @@
-d908166a621030e28df720f64371a5ca
+f6829added23b5c0af4b078a07387227
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_ACENIC is not set
@@ -423,7 +423,6 @@ CONFIG_FUSE_FS=m
# CONFIG_FUSION is not set
CONFIG_GACT_PROB=y
CONFIG_GARP=m
-CONFIG_GENERIC_ALLOCATOR=y
CONFIG_GENERIC_IRQ_IPI=y
CONFIG_GENERIC_ISA_DMA=y
# CONFIG_GENERIC_PHY is not set
@@ -568,7 +567,6 @@ CONFIG_HW_RANDOM=m
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_CBUS_GPIO is undefined
# CONFIG_I2C_DESIGNWARE_PCI is not set
-# CONFIG_I2C_DIOLAN_U2C is not set
# CONFIG_I2C_EG20T is not set
# CONFIG_I2C_GPIO is undefined
# CONFIG_I2C_HID is not set
@@ -577,11 +575,9 @@ CONFIG_HW_RANDOM=m
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_NVIDIA_GPU is not set
# CONFIG_I2C_PIIX4 is not set
-# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
-# CONFIG_I2C_TINY_USB is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I40E is not set
@@ -831,6 +827,7 @@ CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
# CONFIG_LPC_ICH is not set
# CONFIG_LPC_SCH is not set
CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity"
+# CONFIG_LTE_GDM724X is undefined
CONFIG_LXT_PHY=m
CONFIG_MAC80211=m
# CONFIG_MAC80211_DEBUGFS is not set
@@ -866,10 +863,8 @@ CONFIG_MD_RAID456=m
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_MEN_A21_WDT is undefined
-# CONFIG_MFD_DLN2 is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_RDC321X is not set
-# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_VX855 is not set
CONFIG_MII=y
# CONFIG_MINIX_FS is undefined
@@ -900,7 +895,6 @@ CONFIG_MIPS_PLATFORM_DEVICES=y
# CONFIG_MISC_ALCOR_PCI is not set
# CONFIG_MISC_FILESYSTEMS is not set
# CONFIG_MISC_RTSX_PCI is not set
-# CONFIG_MISC_RTSX_USB is not set
# CONFIG_MISDN is undefined
# CONFIG_MLX4_EN is not set
# CONFIG_MLX5_CORE is not set
@@ -1178,7 +1172,6 @@ CONFIG_NF_TPROXY_IPV4=m
CONFIG_NF_TPROXY_IPV6=m
# CONFIG_NIU is not set
# CONFIG_NL80211_TESTMODE is not set
-CONFIG_NLS=m
CONFIG_NLS_ASCII=m
CONFIG_NLS_CODEPAGE_1250=m
CONFIG_NLS_CODEPAGE_1251=m
@@ -1202,7 +1195,6 @@ CONFIG_NLS_CODEPAGE_932=m
CONFIG_NLS_CODEPAGE_936=m
CONFIG_NLS_CODEPAGE_949=m
CONFIG_NLS_CODEPAGE_950=m
-CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_ISO8859_13=m
CONFIG_NLS_ISO8859_14=m
CONFIG_NLS_ISO8859_15=m
@@ -1217,17 +1209,6 @@ CONFIG_NLS_ISO8859_8=m
CONFIG_NLS_ISO8859_9=m
CONFIG_NLS_KOI8_R=m
CONFIG_NLS_KOI8_U=m
-# CONFIG_NLS_MAC_CELTIC is not set
-# CONFIG_NLS_MAC_CENTEURO is not set
-# CONFIG_NLS_MAC_CROATIAN is not set
-# CONFIG_NLS_MAC_CYRILLIC is not set
-# CONFIG_NLS_MAC_GAELIC is not set
-# CONFIG_NLS_MAC_GREEK is not set
-# CONFIG_NLS_MAC_ICELAND is not set
-# CONFIG_NLS_MAC_INUIT is not set
-# CONFIG_NLS_MAC_ROMAN is not set
-# CONFIG_NLS_MAC_ROMANIAN is not set
-# CONFIG_NLS_MAC_TURKISH is not set
CONFIG_NLS_UTF8=m
# CONFIG_NOZOMI is not set
CONFIG_NO_HZ=y
@@ -1385,6 +1366,7 @@ CONFIG_QUEUED_RWLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
# CONFIG_R6040 is not set
# CONFIG_R8169 is not set
+# CONFIG_R8712U is undefined
CONFIG_RAID6_PQ=m
CONFIG_RAID6_PQ_BENCHMARK=y
CONFIG_RAID_ATTRS=m
@@ -1772,85 +1754,22 @@ CONFIG_UIO_CIF=m
# CONFIG_UNINLINE_SPIN_UNLOCK is undefined
# CONFIG_UNISYSSPAR is undefined
# CONFIG_UNIXWARE_DISKLABEL is undefined
-CONFIG_USB=m
-# CONFIG_USBIP_CORE is not set
-# CONFIG_USB_ACM is not set
-# CONFIG_USB_ADUTUX is not set
-# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
-# CONFIG_USB_APPLEDISPLAY is not set
-CONFIG_USB_AUTOSUSPEND_DELAY=2
-# CONFIG_USB_C67X00_HCD is not set
-# CONFIG_USB_CATC is not set
-# CONFIG_USB_CDNS3 is not set
+# CONFIG_USBPCWATCHDOG is undefined
# CONFIG_USB_CHAOSKEY is not set
-CONFIG_USB_COMMON=m
# CONFIG_USB_CONN_GPIO is undefined
-# CONFIG_USB_CYPRESS_CY7C63 is not set
-# CONFIG_USB_CYTHERM is not set
-CONFIG_USB_DEFAULT_PERSIST=y
-# CONFIG_USB_DWC2 is not set
-# CONFIG_USB_DWC3 is not set
-# CONFIG_USB_DYNAMIC_MINORS is not set
-# CONFIG_USB_EHCI_HCD is not set
-# CONFIG_USB_EHSET_TEST_FIXTURE is not set
-# CONFIG_USB_EMI26 is not set
-# CONFIG_USB_EMI62 is not set
-# CONFIG_USB_EZUSB_FX2 is not set
-# CONFIG_USB_FOTG210_HCD is not set
-# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_GPIO_VBUS is undefined
-# CONFIG_USB_HCD_TEST_MODE is not set
CONFIG_USB_HID=m
# CONFIG_USB_HIDDEV is not set
-# CONFIG_USB_HSIC_USB3503 is not set
-# CONFIG_USB_HSIC_USB4604 is not set
-# CONFIG_USB_HSO is not set
-# CONFIG_USB_HUB_USB251XB is not set
-# CONFIG_USB_IDMOUSE is not set
-# CONFIG_USB_IOWARRIOR is not set
-# CONFIG_USB_IPHETH is not set
-# CONFIG_USB_ISIGHTFW is not set
-# CONFIG_USB_ISP116X_HCD is not set
-# CONFIG_USB_ISP1301 is not set
-# CONFIG_USB_ISP1760 is not set
-# CONFIG_USB_KAWETH is not set
# CONFIG_USB_KBD is not set
-# CONFIG_USB_LAN78XX is not set
-# CONFIG_USB_LCD is not set
-# CONFIG_USB_LD is not set
+# CONFIG_USB_LEDS_TRIGGER_USBPORT is undefined
# CONFIG_USB_LED_TRIG is undefined
-# CONFIG_USB_LEGOTOWER is not set
-# CONFIG_USB_LINK_LAYER_TEST is not set
-# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
-# CONFIG_USB_MON is not set
# CONFIG_USB_MOUSE is not set
-# CONFIG_USB_MUSB_HDRC is not set
-CONFIG_USB_NET_DRIVERS=m
# CONFIG_USB_NET_RNDIS_WLAN is not set
-# CONFIG_USB_OHCI_HCD is not set
-# CONFIG_USB_OTG is not set
-# CONFIG_USB_OTG_BLACKLIST_HUB is not set
-# CONFIG_USB_OTG_WHITELIST is not set
-# CONFIG_USB_OXU210HP_HCD is not set
CONFIG_USB_PCI=y
-# CONFIG_USB_PEGASUS is not set
-# CONFIG_USB_PRINTER is not set
-# CONFIG_USB_R8A66597_HCD is not set
-# CONFIG_USB_RTL8150 is not set
-# CONFIG_USB_RTL8152 is not set
-# CONFIG_USB_SERIAL is not set
-# CONFIG_USB_SEVSEG is not set
-# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_STORAGE is not set
-# CONFIG_USB_TEST is not set
-# CONFIG_USB_TMC is not set
-# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_UHCI_HCD is not set
-# CONFIG_USB_USBNET is not set
-# CONFIG_USB_WDM is not set
-# CONFIG_USB_XHCI_HCD is not set
-# CONFIG_USB_YUREX is not set
+# CONFIG_USB_WUSB_CBAF is undefined
# CONFIG_USB_ZD1201 is not set
# CONFIG_USERIO is not set
CONFIG_USER_NS=y
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread
* [DistroKit] [PATCH v2 03/13] MIPS: kernel: enable CPU_IDLE support
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 02/13] MIPS: kernel: enable USB support Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 04/13] MIPS: kernel: enable EXT4 and VFAT FS support Oleksij Rempel
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
Power management is tricky can be a source of different issues. It
should be tested and fixed as early as possible.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/kernelconfig | 11 ++++++++++-
configs/platform-mips/kernelconfig-ar9331 | 11 ++++++++++-
configs/platform-mips/kernelconfig-ar9331.diff | 2 +-
configs/platform-mips/kernelconfig-malta | 11 ++++++++++-
configs/platform-mips/kernelconfig-malta.diff | 2 +-
5 files changed, 32 insertions(+), 5 deletions(-)
diff --git a/configs/platform-mips/kernelconfig b/configs/platform-mips/kernelconfig
index f922ef3..c2cf700 100644
--- a/configs/platform-mips/kernelconfig
+++ b/configs/platform-mips/kernelconfig
@@ -365,6 +365,7 @@ CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
+CONFIG_CPU_PM=y
# end of Power management options
#
@@ -374,7 +375,15 @@ CONFIG_PM_CLK=y
#
# CPU Idle
#
-# CONFIG_CPU_IDLE is not set
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_IDLE_GOV_MENU=y
+CONFIG_CPU_IDLE_GOV_TEO=y
+
+#
+# MIPS CPU Idle Drivers
+#
+# end of MIPS CPU Idle Drivers
# end of CPU Idle
# end of CPU Power Management
diff --git a/configs/platform-mips/kernelconfig-ar9331 b/configs/platform-mips/kernelconfig-ar9331
index 76e18b3..f5373b1 100644
--- a/configs/platform-mips/kernelconfig-ar9331
+++ b/configs/platform-mips/kernelconfig-ar9331
@@ -363,6 +363,7 @@ CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
+CONFIG_CPU_PM=y
# end of Power management options
#
@@ -372,7 +373,15 @@ CONFIG_PM_CLK=y
#
# CPU Idle
#
-# CONFIG_CPU_IDLE is not set
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_IDLE_GOV_MENU=y
+CONFIG_CPU_IDLE_GOV_TEO=y
+
+#
+# MIPS CPU Idle Drivers
+#
+# end of MIPS CPU Idle Drivers
# end of CPU Idle
# end of CPU Power Management
diff --git a/configs/platform-mips/kernelconfig-ar9331.diff b/configs/platform-mips/kernelconfig-ar9331.diff
index 95da93e..12699f4 100644
--- a/configs/platform-mips/kernelconfig-ar9331.diff
+++ b/configs/platform-mips/kernelconfig-ar9331.diff
@@ -1,4 +1,4 @@
-f6829added23b5c0af4b078a07387227
+186bba2123bf4a0842542353353f1b17
# CONFIG_ACORN_PARTITION is undefined
# CONFIG_ADFS_FS is undefined
# CONFIG_AFFS_FS is undefined
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index ff308c0..7752144 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -427,6 +427,7 @@ CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
+CONFIG_CPU_PM=y
# end of Power management options
CONFIG_MIPS_EXTERNAL_TIMER=y
@@ -438,7 +439,15 @@ CONFIG_MIPS_EXTERNAL_TIMER=y
#
# CPU Idle
#
-# CONFIG_CPU_IDLE is not set
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_IDLE_GOV_MENU=y
+CONFIG_CPU_IDLE_GOV_TEO=y
+
+#
+# MIPS CPU Idle Drivers
+#
+# end of MIPS CPU Idle Drivers
# end of CPU Idle
# end of CPU Power Management
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index ebd7372..ea2ba25 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -1,4 +1,4 @@
-f6829added23b5c0af4b078a07387227
+186bba2123bf4a0842542353353f1b17
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_ACENIC is not set
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread
* [DistroKit] [PATCH v2 04/13] MIPS: kernel: enable EXT4 and VFAT FS support
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 02/13] MIPS: kernel: enable USB support Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 03/13] MIPS: kernel: enable CPU_IDLE support Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 05/13] MIPS: kernel: malta: disable dummy driver Oleksij Rempel
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
Sync EXT4 and VFAT support with ARM platforms
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/kernelconfig | 18 ++-
configs/platform-mips/kernelconfig-ar9331 | 120 +++++++++++++++++-
.../platform-mips/kernelconfig-ar9331.diff | 91 ++-----------
configs/platform-mips/kernelconfig-malta | 6 +-
configs/platform-mips/kernelconfig-malta.diff | 16 +--
5 files changed, 146 insertions(+), 105 deletions(-)
diff --git a/configs/platform-mips/kernelconfig b/configs/platform-mips/kernelconfig
index c2cf700..6bf2da8 100644
--- a/configs/platform-mips/kernelconfig
+++ b/configs/platform-mips/kernelconfig
@@ -2248,9 +2248,17 @@ CONFIG_GENERIC_PHY=y
# File systems
#
# CONFIG_VALIDATE_FS_PARSER is not set
+CONFIG_FS_IOMAP=y
# CONFIG_EXT2_FS is not set
# CONFIG_EXT3_FS is not set
-# CONFIG_EXT4_FS is not set
+CONFIG_EXT4_FS=y
+CONFIG_EXT4_USE_FOR_EXT2=y
+# CONFIG_EXT4_FS_POSIX_ACL is not set
+# CONFIG_EXT4_FS_SECURITY is not set
+# CONFIG_EXT4_DEBUG is not set
+CONFIG_JBD2=y
+# CONFIG_JBD2_DEBUG is not set
+CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
@@ -2294,8 +2302,12 @@ CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
#
# DOS/FAT/NT Filesystems
#
+CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
-# CONFIG_VFAT_FS is not set
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+# CONFIG_FAT_DEFAULT_UTF8 is not set
# CONFIG_NTFS_FS is not set
# end of DOS/FAT/NT Filesystems
@@ -2369,7 +2381,7 @@ CONFIG_SUNRPC_BACKCHANNEL=y
# CONFIG_CIFS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
-CONFIG_NLS=m
+CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
diff --git a/configs/platform-mips/kernelconfig-ar9331 b/configs/platform-mips/kernelconfig-ar9331
index f5373b1..46327e0 100644
--- a/configs/platform-mips/kernelconfig-ar9331
+++ b/configs/platform-mips/kernelconfig-ar9331
@@ -39,6 +39,7 @@ CONFIG_KERNEL_XZ=y
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
+# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
@@ -122,6 +123,7 @@ CONFIG_GENERIC_SCHED_CLOCK=y
CONFIG_CGROUPS=y
# CONFIG_MEMCG is not set
+# CONFIG_BLK_CGROUP is not set
# CONFIG_CGROUP_SCHED is not set
# CONFIG_CGROUP_PIDS is not set
# CONFIG_CGROUP_RDMA is not set
@@ -473,7 +475,35 @@ CONFIG_MODULE_UNLOAD=y
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_TRIM_UNUSED_KSYMS is not set
CONFIG_MODULES_TREE_LOOKUP=y
-# CONFIG_BLOCK is not set
+CONFIG_BLOCK=y
+CONFIG_BLK_SCSI_REQUEST=y
+CONFIG_BLK_DEV_BSG=y
+# CONFIG_BLK_DEV_BSGLIB is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+# CONFIG_BLK_DEV_ZONED is not set
+# CONFIG_BLK_CMDLINE_PARSER is not set
+# CONFIG_BLK_WBT is not set
+CONFIG_BLK_DEBUG_FS=y
+# CONFIG_BLK_SED_OPAL is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_EFI_PARTITION=y
+# end of Partition Types
+
+CONFIG_BLK_PM=y
+
+#
+# IO Schedulers
+#
+CONFIG_MQ_IOSCHED_DEADLINE=y
+CONFIG_MQ_IOSCHED_KYBER=y
+# CONFIG_IOSCHED_BFQ is not set
+# end of IO Schedulers
+
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
@@ -1003,6 +1033,14 @@ CONFIG_MTD_OF_PARTS=y
#
# User Modules And Translation Layers
#
+# CONFIG_MTD_BLOCK is not set
+# CONFIG_MTD_BLOCK_RO is not set
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_PARTITIONED_MASTER is not set
@@ -1056,6 +1094,7 @@ CONFIG_MTD_PHYSMAP_OF=y
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
#
# Disk-On-Chip Device Drivers
@@ -1087,10 +1126,20 @@ CONFIG_OF_MDIO=y
CONFIG_OF_RESERVED_MEM=y
# CONFIG_OF_OVERLAY is not set
# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_NULL_BLK is not set
+# CONFIG_BLK_DEV_LOOP is not set
+# CONFIG_BLK_DEV_DRBD is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+# CONFIG_BLK_DEV_RBD is not set
#
# NVME Support
#
+# CONFIG_NVME_FC is not set
# end of NVME Support
#
@@ -1146,13 +1195,19 @@ CONFIG_OF_RESERVED_MEM=y
# end of Misc devices
CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
#
# SCSI device support
#
CONFIG_SCSI_MOD=y
+# CONFIG_RAID_ATTRS is not set
+# CONFIG_SCSI is not set
# end of SCSI device support
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+# CONFIG_TARGET_CORE is not set
CONFIG_NETDEVICES=y
CONFIG_NET_CORE=y
# CONFIG_BONDING is not set
@@ -1372,6 +1427,7 @@ CONFIG_WLAN=y
# CONFIG_NET_FAILOVER is not set
CONFIG_ISDN=y
# CONFIG_MISDN is not set
+# CONFIG_NVM is not set
#
# Input device support
@@ -1446,6 +1502,7 @@ CONFIG_SERIAL_MCTRL_GPIO=y
# CONFIG_TTY_PRINTK is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
+# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_XILLYBUS is not set
# end of Character devices
@@ -1997,6 +2054,7 @@ CONFIG_STAGING=y
# CONFIG_FIELDBUS_DEV is not set
# CONFIG_USB_WUSB_CBAF is not set
# CONFIG_UWB is not set
+# CONFIG_STAGING_EXFAT_FS is not set
# CONFIG_MIPS_PLATFORM_DEVICES is not set
# CONFIG_GOLDFISH is not set
CONFIG_CLKDEV_LOOKUP=y
@@ -2174,6 +2232,24 @@ CONFIG_GENERIC_PHY=y
# File systems
#
# CONFIG_VALIDATE_FS_PARSER is not set
+CONFIG_FS_IOMAP=y
+# CONFIG_EXT2_FS is not set
+# CONFIG_EXT3_FS is not set
+CONFIG_EXT4_FS=y
+CONFIG_EXT4_USE_FOR_EXT2=y
+# CONFIG_EXT4_FS_POSIX_ACL is not set
+# CONFIG_EXT4_FS_SECURITY is not set
+# CONFIG_EXT4_DEBUG is not set
+CONFIG_JBD2=y
+# CONFIG_JBD2_DEBUG is not set
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+# CONFIG_BTRFS_FS is not set
+# CONFIG_NILFS2_FS is not set
+# CONFIG_F2FS_FS is not set
CONFIG_EXPORTFS=y
# CONFIG_EXPORTFS_BLOCK_OPS is not set
CONFIG_FILE_LOCKING=y
@@ -2200,6 +2276,25 @@ CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
# CONFIG_FSCACHE is not set
# end of Caches
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+# end of CD-ROM/DVD Filesystems
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+# CONFIG_MSDOS_FS is not set
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+# CONFIG_FAT_DEFAULT_UTF8 is not set
+# CONFIG_NTFS_FS is not set
+# end of DOS/FAT/NT Filesystems
+
#
# Pseudo filesystems
#
@@ -2219,11 +2314,28 @@ CONFIG_MEMFD_CREATE=y
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ORANGEFS_FS is not set
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
# CONFIG_ECRYPT_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
+# CONFIG_SQUASHFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+# CONFIG_EROFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
# CONFIG_NFS_V2 is not set
@@ -2253,7 +2365,7 @@ CONFIG_SUNRPC_BACKCHANNEL=y
# CONFIG_CIFS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
-CONFIG_NLS=m
+CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
@@ -2565,6 +2677,7 @@ CONFIG_GENERIC_GETTIMEOFDAY=y
CONFIG_FONT_SUPPORT=y
CONFIG_FONT_8x16=y
CONFIG_FONT_AUTOSELECT=y
+CONFIG_SBITMAP=y
# CONFIG_STRING_SELFTEST is not set
# end of Library routines
@@ -2720,6 +2833,7 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=21
# end of RCU Debugging
# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_LATENCYTOP is not set
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
@@ -2751,6 +2865,7 @@ CONFIG_DYNAMIC_FTRACE=y
# CONFIG_TRACER_SNAPSHOT is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
CONFIG_FTRACE_MCOUNT_RECORD=y
# CONFIG_TRACE_EVENT_INJECT is not set
# CONFIG_TRACEPOINT_BENCHMARK is not set
@@ -2814,6 +2929,7 @@ CONFIG_RUNTIME_TESTING_MENU=y
# CONFIG_TEST_SYSCTL is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_TEST_STATIC_KEYS is not set
+# CONFIG_TEST_KMOD is not set
# CONFIG_TEST_MEMCAT_P is not set
# CONFIG_TEST_STACKINIT is not set
# CONFIG_TEST_MEMINIT is not set
diff --git a/configs/platform-mips/kernelconfig-ar9331.diff b/configs/platform-mips/kernelconfig-ar9331.diff
index 12699f4..c104fd1 100644
--- a/configs/platform-mips/kernelconfig-ar9331.diff
+++ b/configs/platform-mips/kernelconfig-ar9331.diff
@@ -1,101 +1,28 @@
-186bba2123bf4a0842542353353f1b17
+63a00cb404ed6b0459f4c1a5dc4aa384
# CONFIG_ACORN_PARTITION is undefined
-# CONFIG_ADFS_FS is undefined
-# CONFIG_AFFS_FS is undefined
# CONFIG_AIX_PARTITION is undefined
# CONFIG_AMIGA_PARTITION is undefined
-# CONFIG_ATA is undefined
# CONFIG_ATARI_PARTITION is undefined
-# CONFIG_ATA_OVER_ETH is undefined
-# CONFIG_BEFS_FS is undefined
-# CONFIG_BFS_FS is undefined
-# CONFIG_BLK_CGROUP is undefined
-# CONFIG_BLK_CMDLINE_PARSER is undefined
-# CONFIG_BLK_DEBUG_FS is undefined
-# CONFIG_BLK_DEV is undefined
-# CONFIG_BLK_DEV_BSG is undefined
-# CONFIG_BLK_DEV_BSGLIB is undefined
-# CONFIG_BLK_DEV_DRBD is undefined
-# CONFIG_BLK_DEV_INTEGRITY is undefined
-# CONFIG_BLK_DEV_IO_TRACE is undefined
-# CONFIG_BLK_DEV_LOOP is undefined
-# CONFIG_BLK_DEV_NBD is undefined
-# CONFIG_BLK_DEV_NULL_BLK is undefined
-# CONFIG_BLK_DEV_RAM is undefined
-# CONFIG_BLK_DEV_RBD is undefined
-# CONFIG_BLK_DEV_ZONED is undefined
-# CONFIG_BLK_PM is undefined
-# CONFIG_BLK_SED_OPAL is undefined
-# CONFIG_BLK_WBT is undefined
-# CONFIG_BLOCK is not set
+CONFIG_BLK_DEBUG_FS=y
+CONFIG_BLK_DEV_BSG=y
+CONFIG_BLK_SCSI_REQUEST=y
# CONFIG_BSD_DISKLABEL is undefined
-# CONFIG_BTRFS_FS is undefined
-# CONFIG_CDROM_PKTCDVD is undefined
# CONFIG_CMDLINE_PARTITION is undefined
-# CONFIG_DEBUG_BLOCK_EXT_DEVT is undefined
-# CONFIG_EFI_PARTITION is undefined
-# CONFIG_EFS_FS is undefined
-# CONFIG_EROFS_FS is undefined
-# CONFIG_EXT2_FS is undefined
-# CONFIG_EXT3_FS is undefined
-# CONFIG_EXT4_FS is undefined
-# CONFIG_F2FS_FS is undefined
-# CONFIG_FTL is undefined
-# CONFIG_GFS2_FS is undefined
-# CONFIG_HFSPLUS_FS is undefined
-# CONFIG_HFS_FS is undefined
-# CONFIG_HPFS_FS is undefined
-# CONFIG_IDE is undefined
-# CONFIG_INFTL is undefined
-# CONFIG_IOSCHED_BFQ is undefined
-# CONFIG_ISO9660_FS is undefined
-# CONFIG_JFS_FS is undefined
# CONFIG_KARMA_PARTITION is undefined
# CONFIG_LDM_PARTITION is undefined
CONFIG_LOCALVERSION="-ar9331"
# CONFIG_MAC_PARTITION is undefined
-# CONFIG_MD is undefined
-# CONFIG_MINIX_FS is undefined
# CONFIG_MINIX_SUBPARTITION is undefined
-# CONFIG_MQ_IOSCHED_DEADLINE is undefined
-# CONFIG_MQ_IOSCHED_KYBER is undefined
-# CONFIG_MSDOS_FS is undefined
-# CONFIG_MSDOS_PARTITION is undefined
+CONFIG_MQ_IOSCHED_DEADLINE=y
+CONFIG_MQ_IOSCHED_KYBER=y
# CONFIG_MTD_BLKDEVS is undefined
-# CONFIG_MTD_BLOCK2MTD is undefined
-# CONFIG_MTD_BLOCK is undefined
-# CONFIG_NFTL is undefined
-# CONFIG_NILFS2_FS is undefined
-# CONFIG_NTFS_FS is undefined
-# CONFIG_NVM is undefined
-# CONFIG_NVME_FC is undefined
-# CONFIG_OMFS_FS is undefined
+# CONFIG_MTD_BLOCK is not set
+# CONFIG_MTD_BLOCK_RO is not set
# CONFIG_OSF_PARTITION is undefined
-# CONFIG_PARTITION_ADVANCED is undefined
-# CONFIG_QNX4FS_FS is undefined
-# CONFIG_QNX6FS_FS is undefined
-# CONFIG_RAID_ATTRS is undefined
-# CONFIG_RAW_DRIVER is undefined
-# CONFIG_REISERFS_FS is undefined
-# CONFIG_RFD_FTL is undefined
-# CONFIG_SBITMAP is undefined
-# CONFIG_SCSI is undefined
+# CONFIG_PARTITION_ADVANCED is not set
# CONFIG_SGI_PARTITION is undefined
-# CONFIG_SM_FTL is undefined
# CONFIG_SOLARIS_X86_PARTITION is undefined
-# CONFIG_SQUASHFS is undefined
-# CONFIG_SSFDC is undefined
-# CONFIG_STAGING_EXFAT_FS is undefined
# CONFIG_SUN_PARTITION is undefined
-# CONFIG_SWAP is undefined
# CONFIG_SYSV68_PARTITION is undefined
-# CONFIG_SYSV_FS is undefined
-# CONFIG_TARGET_CORE is undefined
-# CONFIG_TEST_KMOD is undefined
-# CONFIG_UDF_FS is undefined
-# CONFIG_UFS_FS is undefined
# CONFIG_ULTRIX_PARTITION is undefined
# CONFIG_UNIXWARE_DISKLABEL is undefined
-# CONFIG_VFAT_FS is undefined
-# CONFIG_VXFS_FS is undefined
-# CONFIG_XFS_FS is undefined
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index 7752144..b2194e2 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -3075,9 +3075,9 @@ CONFIG_FUSE_FS=m
#
# DOS/FAT/NT Filesystems
#
-CONFIG_FAT_FS=m
+CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=m
-CONFIG_VFAT_FS=m
+CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_FAT_DEFAULT_UTF8 is not set
@@ -3124,7 +3124,7 @@ CONFIG_SUNRPC=y
# CONFIG_CIFS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
-CONFIG_NLS=m
+CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_737=m
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index ea2ba25..4993e57 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -1,4 +1,4 @@
-186bba2123bf4a0842542353353f1b17
+63a00cb404ed6b0459f4c1a5dc4aa384
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_ACENIC is not set
@@ -355,15 +355,6 @@ CONFIG_ENABLE_MUST_CHECK=y
CONFIG_EQUALIZER=m
# CONFIG_EROFS_FS is undefined
# CONFIG_ET131X is not set
-# CONFIG_EXT4_DEBUG is not set
-CONFIG_EXT4_FS=y
-# CONFIG_EXT4_FS_POSIX_ACL is not set
-# CONFIG_EXT4_FS_SECURITY is not set
-CONFIG_EXT4_USE_FOR_EXT2=y
-CONFIG_FAT_DEFAULT_CODEPAGE=437
-CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
-# CONFIG_FAT_DEFAULT_UTF8 is not set
-CONFIG_FAT_FS=m
CONFIG_FB=y
# CONFIG_FB_3DFX is not set
# CONFIG_FB_ARK is not set
@@ -416,8 +407,6 @@ CONFIG_FB_NOTIFY=y
# CONFIG_FIRMWARE_EDID is not set
CONFIG_FIXED_PHY=m
# CONFIG_FORCEDETH is not set
-CONFIG_FS_IOMAP=y
-CONFIG_FS_MBCACHE=y
CONFIG_FS_POSIX_ACL=y
CONFIG_FUSE_FS=m
# CONFIG_FUSION is not set
@@ -717,8 +706,6 @@ CONFIG_ISCSI_TCP=m
# CONFIG_IWLWIFI is not set
# CONFIG_IXGB is not set
# CONFIG_IXGBE is not set
-CONFIG_JBD2=y
-# CONFIG_JBD2_DEBUG is not set
# CONFIG_JFFS2_FS is undefined
# CONFIG_JME is not set
# CONFIG_JZ4740_WDT is undefined
@@ -1775,7 +1762,6 @@ CONFIG_USB_PCI=y
CONFIG_USER_NS=y
# CONFIG_UWB is undefined
CONFIG_VETH=m
-CONFIG_VFAT_FS=m
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
# CONFIG_VIRTIO_FS is not set
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread
* [DistroKit] [PATCH v2 05/13] MIPS: kernel: malta: disable dummy driver
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
` (2 preceding siblings ...)
2020-04-24 7:08 ` [DistroKit] [PATCH v2 04/13] MIPS: kernel: enable EXT4 and VFAT FS support Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 06/13] MIPS: kernel: malta: disable devmem support Oleksij Rempel
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
This driver is not used. Disable it.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/kernelconfig-malta | 2 +-
configs/platform-mips/kernelconfig-malta.diff | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index b2194e2..96ac796 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -1694,7 +1694,7 @@ CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_NET_CORE=y
CONFIG_BONDING=m
-CONFIG_DUMMY=m
+# CONFIG_DUMMY is not set
CONFIG_WIREGUARD=y
# CONFIG_WIREGUARD_DEBUG is not set
CONFIG_EQUALIZER=m
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index 4993e57..4c16990 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -339,7 +339,6 @@ CONFIG_DM_SNAPSHOT=m
CONFIG_DM_ZERO=m
CONFIG_DNOTIFY=y
# CONFIG_DNS_RESOLVER is not set
-CONFIG_DUMMY=m
# CONFIG_DW_WATCHDOG is undefined
# CONFIG_E1000 is not set
# CONFIG_E1000E is not set
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread
* [DistroKit] [PATCH v2 06/13] MIPS: kernel: malta: disable devmem support
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
` (3 preceding siblings ...)
2020-04-24 7:08 ` [DistroKit] [PATCH v2 05/13] MIPS: kernel: malta: disable dummy driver Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 07/13] MIPS: kernel: malta: enable PREEMPT support Oleksij Rempel
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
It is not possible to enable strict devmem on this platform
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/kernelconfig-malta | 2 +-
configs/platform-mips/kernelconfig-malta.diff | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index 96ac796..f0bc35c 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -2172,7 +2172,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_TRACE_SINK is not set
# CONFIG_NULL_TTY is not set
CONFIG_LDISC_AUTOLOAD=y
-CONFIG_DEVMEM=y
+# CONFIG_DEVMEM is not set
# CONFIG_DEVKMEM is not set
#
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index 4c16990..a7096da 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -305,7 +305,6 @@ CONFIG_DAVICOM_PHY=m
# CONFIG_DEFAULT_CUBIC is undefined
# CONFIG_DEFAULT_RENO is undefined
# CONFIG_DEFAULT_SFQ is not set
-CONFIG_DEVMEM=y
CONFIG_DEVPORT=y
# CONFIG_DEVTMPFS_MOUNT is not set
CONFIG_DEV_APPLETALK=m
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread
* [DistroKit] [PATCH v2 07/13] MIPS: kernel: malta: enable PREEMPT support
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
` (4 preceding siblings ...)
2020-04-24 7:08 ` [DistroKit] [PATCH v2 06/13] MIPS: kernel: malta: disable devmem support Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 08/13] MIPS: kernel: malta: disable unused functions CPU_ISOLATION and CONNECTOR Oleksij Rempel
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
The typical embedded use-cases are more sensitive to latency than
throughput. Thus a fully preemptible kernel is preferred.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/kernelconfig | 2 +-
configs/platform-mips/kernelconfig-ar9331 | 2 +-
configs/platform-mips/kernelconfig-malta | 16 +++++++++-------
configs/platform-mips/kernelconfig-malta.diff | 14 --------------
4 files changed, 11 insertions(+), 23 deletions(-)
diff --git a/configs/platform-mips/kernelconfig b/configs/platform-mips/kernelconfig
index 6bf2da8..65d6a18 100644
--- a/configs/platform-mips/kernelconfig
+++ b/configs/platform-mips/kernelconfig
@@ -2802,7 +2802,7 @@ CONFIG_WQ_WATCHDOG=y
# end of Scheduler Debugging
# CONFIG_DEBUG_TIMEKEEPING is not set
-CONFIG_DEBUG_PREEMPT=y
+# CONFIG_DEBUG_PREEMPT is not set
#
# Lock Debugging (spinlocks, mutexes, etc...)
diff --git a/configs/platform-mips/kernelconfig-ar9331 b/configs/platform-mips/kernelconfig-ar9331
index 46327e0..910226c 100644
--- a/configs/platform-mips/kernelconfig-ar9331
+++ b/configs/platform-mips/kernelconfig-ar9331
@@ -2786,7 +2786,7 @@ CONFIG_WQ_WATCHDOG=y
# end of Scheduler Debugging
# CONFIG_DEBUG_TIMEKEEPING is not set
-CONFIG_DEBUG_PREEMPT=y
+# CONFIG_DEBUG_PREEMPT is not set
#
# Lock Debugging (spinlocks, mutexes, etc...)
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index f0bc35c..28ea08e 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -76,9 +76,11 @@ CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
# end of Timers subsystem
-CONFIG_PREEMPT_NONE=y
+# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
-# CONFIG_PREEMPT is not set
+CONFIG_PREEMPT=y
+CONFIG_PREEMPT_COUNT=y
+CONFIG_PREEMPTION=y
#
# CPU/Task time and stats accounting
@@ -96,9 +98,11 @@ CONFIG_CPU_ISOLATION=y
# RCU Subsystem
#
CONFIG_TREE_RCU=y
+CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_EXPERT is not set
CONFIG_SRCU=y
CONFIG_TREE_SRCU=y
+CONFIG_TASKS_RCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
# end of RCU Subsystem
@@ -571,11 +575,7 @@ CONFIG_MQ_IOSCHED_KYBER=y
# end of IO Schedulers
CONFIG_ASN1=y
-CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
-CONFIG_INLINE_READ_UNLOCK=y
-CONFIG_INLINE_READ_UNLOCK_IRQ=y
-CONFIG_INLINE_WRITE_UNLOCK=y
-CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
+CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
@@ -3599,6 +3599,7 @@ CONFIG_SCHED_DEBUG=y
# end of Scheduler Debugging
# CONFIG_DEBUG_TIMEKEEPING is not set
+# CONFIG_DEBUG_PREEMPT is not set
#
# Lock Debugging (spinlocks, mutexes, etc...)
@@ -3670,6 +3671,7 @@ CONFIG_DYNAMIC_FTRACE=y
# CONFIG_STACK_TRACER is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_IRQSOFF_TRACER is not set
+# CONFIG_PREEMPT_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_HWLAT_TRACER is not set
# CONFIG_FTRACE_SYSCALLS is not set
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index a7096da..858f897 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -301,7 +301,6 @@ CONFIG_DAVICOM_PHY=m
# CONFIG_DEBUG_GPIO is undefined
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_DEBUG_PINCTRL is undefined
-# CONFIG_DEBUG_PREEMPT is undefined
# CONFIG_DEFAULT_CUBIC is undefined
# CONFIG_DEFAULT_RENO is undefined
# CONFIG_DEFAULT_SFQ is not set
@@ -596,11 +595,6 @@ CONFIG_INET_TCP_DIAG=y
CONFIG_INET_TUNNEL=y
# CONFIG_INET_UDP_DIAG is not set
CONFIG_INET_XFRM_TUNNEL=m
-CONFIG_INLINE_READ_UNLOCK=y
-CONFIG_INLINE_READ_UNLOCK_IRQ=y
-CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
-CONFIG_INLINE_WRITE_UNLOCK=y
-CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
CONFIG_INPUT=y
# CONFIG_INPUT_EVBUG is not set
# CONFIG_INPUT_EVDEV is not set
@@ -1330,12 +1324,6 @@ CONFIG_POWER_RESET_SYSCON=y
# CONFIG_PPP_MPPE is undefined
# CONFIG_PPP_MULTILINK is undefined
# CONFIG_PPP_SYNC_TTY is undefined
-# CONFIG_PREEMPT is not set
-# CONFIG_PREEMPTION is undefined
-# CONFIG_PREEMPT_COUNT is undefined
-CONFIG_PREEMPT_NONE=y
-# CONFIG_PREEMPT_RCU is undefined
-# CONFIG_PREEMPT_TRACER is undefined
CONFIG_PRISM54=m
CONFIG_PROC_KCORE=y
CONFIG_PROC_PAGE_MONITOR=y
@@ -1687,7 +1675,6 @@ CONFIG_SYS_SUPPORTS_SMARTMIPS=y
CONFIG_SYS_SUPPORTS_SMP=y
CONFIG_SYS_SUPPORTS_VPE_LOADER=y
# CONFIG_SYS_SUPPORTS_ZBOOT_UART_PROM is undefined
-# CONFIG_TASKS_RCU is undefined
CONFIG_TC35815=m
# CONFIG_TCP_CONG_ADVANCED is not set
# CONFIG_TCP_CONG_BBR is undefined
@@ -1736,7 +1723,6 @@ CONFIG_UIO_CIF=m
# CONFIG_UIO_PRUSS is not set
# CONFIG_UIO_SERCOS3 is not set
# CONFIG_ULTRIX_PARTITION is undefined
-# CONFIG_UNINLINE_SPIN_UNLOCK is undefined
# CONFIG_UNISYSSPAR is undefined
# CONFIG_UNIXWARE_DISKLABEL is undefined
# CONFIG_USBPCWATCHDOG is undefined
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread
* [DistroKit] [PATCH v2 08/13] MIPS: kernel: malta: disable unused functions CPU_ISOLATION and CONNECTOR
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
` (5 preceding siblings ...)
2020-04-24 7:08 ` [DistroKit] [PATCH v2 07/13] MIPS: kernel: malta: enable PREEMPT support Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 09/13] MIPS: kernel: malta: disable unused name spaces Oleksij Rempel
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/kernelconfig-malta | 5 ++---
configs/platform-mips/kernelconfig-malta.diff | 4 +---
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index 28ea08e..99365da 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -92,7 +92,7 @@ CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_PSI is not set
# end of CPU/Task time and stats accounting
-CONFIG_CPU_ISOLATION=y
+# CONFIG_CPU_ISOLATION is not set
#
# RCU Subsystem
@@ -1261,7 +1261,7 @@ CONFIG_REGMAP_MMIO=y
# CONFIG_SIMPLE_PM_BUS is not set
# end of Bus devices
-CONFIG_CONNECTOR=m
+# CONFIG_CONNECTOR is not set
# CONFIG_GNSS is not set
CONFIG_MTD=y
# CONFIG_MTD_TESTS is not set
@@ -2441,7 +2441,6 @@ CONFIG_FB_CIRRUS=y
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
-# CONFIG_FB_UVESA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index 858f897..696f607 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -193,12 +193,11 @@ CONFIG_CLZ_TAB=y
# CONFIG_CNIC is not set
# CONFIG_COMEDI is undefined
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is undefined
-CONFIG_CONNECTOR=m
CONFIG_COREDUMP=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
# CONFIG_CPUSETS is not set
# CONFIG_CPU_HAS_SMARTMIPS is not set
-CONFIG_CPU_ISOLATION=y
+# CONFIG_CPU_ISOLATION is not set
# CONFIG_CPU_LITTLE_ENDIAN is not set
# CONFIG_CPU_MICROMIPS is not set
# CONFIG_CPU_MIPS32_3_5_FEATURES is not set
@@ -392,7 +391,6 @@ CONFIG_FB_NOTIFY=y
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_UDL is not set
-# CONFIG_FB_UVESA is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread
* [DistroKit] [PATCH v2 09/13] MIPS: kernel: malta: disable unused name spaces.
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
` (6 preceding siblings ...)
2020-04-24 7:08 ` [DistroKit] [PATCH v2 08/13] MIPS: kernel: malta: disable unused functions CPU_ISOLATION and CONNECTOR Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 10/13] MIPS: kernel: malta: disable SYSTEM_TRUSTED_KEYRING and WiFI support Oleksij Rempel
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/kernelconfig-malta | 6 +++---
configs/platform-mips/kernelconfig-malta.diff | 3 ---
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index 99365da..b556cd6 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -135,9 +135,9 @@ CONFIG_CGROUP_BPF=y
CONFIG_SOCK_CGROUP_DATA=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
-CONFIG_IPC_NS=y
-CONFIG_USER_NS=y
-CONFIG_PID_NS=y
+# CONFIG_IPC_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
CONFIG_NET_NS=y
# CONFIG_CHECKPOINT_RESTORE is not set
# CONFIG_SCHED_AUTOGROUP is not set
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index 696f607..2ab6681 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -623,7 +623,6 @@ CONFIG_IP6_NF_MATCH_OPTS=m
CONFIG_IP6_NF_MATCH_RT=m
CONFIG_IP6_NF_RAW=m
CONFIG_IP6_NF_TARGET_HL=m
-CONFIG_IPC_NS=y
CONFIG_IPDDP=m
CONFIG_IPDDP_ENCAP=y
# CONFIG_IPV6_MULTIPLE_TABLES is not set
@@ -1291,7 +1290,6 @@ CONFIG_PHYLIB=m
# CONFIG_PHY_ATH79_USB is undefined
# CONFIG_PHY_CADENCE_SIERRA is undefined
# CONFIG_PHY_MAPPHONE_MDM6600 is undefined
-CONFIG_PID_NS=y
# CONFIG_PINCONF is undefined
# CONFIG_PINCTRL is not set
# CONFIG_PINCTRL_AMD is undefined
@@ -1741,7 +1739,6 @@ CONFIG_USB_PCI=y
# CONFIG_USB_WUSB_CBAF is undefined
# CONFIG_USB_ZD1201 is not set
# CONFIG_USERIO is not set
-CONFIG_USER_NS=y
# CONFIG_UWB is undefined
CONFIG_VETH=m
CONFIG_VGA_ARB=y
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread
* [DistroKit] [PATCH v2 10/13] MIPS: kernel: malta: disable SYSTEM_TRUSTED_KEYRING and WiFI support
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
` (7 preceding siblings ...)
2020-04-24 7:08 ` [DistroKit] [PATCH v2 09/13] MIPS: kernel: malta: disable unused name spaces Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 11/13] MIPS: malta: fix qemu run script Oleksij Rempel
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
It is an QEMU system. This options are currently not needed
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/kernelconfig-malta | 102 ++----------------
configs/platform-mips/kernelconfig-malta.diff | 97 +----------------
2 files changed, 7 insertions(+), 192 deletions(-)
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index b556cd6..1fcda79 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -205,7 +205,6 @@ CONFIG_SLAB_FREELIST_RANDOM=y
# CONFIG_SLAB_FREELIST_HARDENED is not set
# CONFIG_SHUFFLE_PAGE_ALLOCATOR is not set
CONFIG_SLUB_CPU_PARTIAL=y
-CONFIG_SYSTEM_DATA_VERIFICATION=y
# CONFIG_PROFILING is not set
CONFIG_TRACEPOINTS=y
# end of General setup
@@ -1128,30 +1127,16 @@ CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_WEXT_SPY=y
CONFIG_WEXT_PRIV=y
-CONFIG_CFG80211=m
-# CONFIG_NL80211_TESTMODE is not set
-# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
-# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
-CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
-CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
-CONFIG_CFG80211_DEFAULT_PS=y
-# CONFIG_CFG80211_DEBUGFS is not set
-CONFIG_CFG80211_CRDA_SUPPORT=y
-# CONFIG_CFG80211_WEXT is not set
+# CONFIG_CFG80211 is not set
CONFIG_LIB80211=m
CONFIG_LIB80211_CRYPT_WEP=m
CONFIG_LIB80211_CRYPT_CCMP=m
CONFIG_LIB80211_CRYPT_TKIP=m
# CONFIG_LIB80211_DEBUG is not set
-CONFIG_MAC80211=m
-CONFIG_MAC80211_HAS_RC=y
-CONFIG_MAC80211_RC_MINSTREL=y
-CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
-CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
-CONFIG_MAC80211_MESH=y
-# CONFIG_MAC80211_DEBUGFS is not set
-# CONFIG_MAC80211_MESSAGE_TRACING is not set
-# CONFIG_MAC80211_DEBUG_MENU is not set
+
+#
+# CFG80211 needs to be enabled for MAC80211
+#
CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
# CONFIG_WIMAX is not set
CONFIG_RFKILL=m
@@ -1962,99 +1947,29 @@ CONFIG_USB_NET_DRIVERS=m
CONFIG_WLAN=y
# CONFIG_WIRELESS_WDS is not set
CONFIG_WLAN_VENDOR_ADMTEK=y
-# CONFIG_ADM8211 is not set
CONFIG_WLAN_VENDOR_ATH=y
# CONFIG_ATH_DEBUG is not set
-# CONFIG_ATH5K is not set
# CONFIG_ATH5K_PCI is not set
-# CONFIG_ATH9K is not set
-# CONFIG_ATH9K_HTC is not set
-# CONFIG_CARL9170 is not set
-# CONFIG_ATH6KL is not set
-# CONFIG_AR5523 is not set
-# CONFIG_WIL6210 is not set
-# CONFIG_ATH10K is not set
-# CONFIG_WCN36XX is not set
CONFIG_WLAN_VENDOR_ATMEL=y
-CONFIG_ATMEL=m
-CONFIG_PCI_ATMEL=m
-# CONFIG_AT76C50X_USB is not set
CONFIG_WLAN_VENDOR_BROADCOM=y
-# CONFIG_B43 is not set
-# CONFIG_B43LEGACY is not set
-# CONFIG_BRCMSMAC is not set
-# CONFIG_BRCMFMAC is not set
CONFIG_WLAN_VENDOR_CISCO=y
-# CONFIG_AIRO is not set
CONFIG_WLAN_VENDOR_INTEL=y
-CONFIG_IPW2100=m
-CONFIG_IPW2100_MONITOR=y
-# CONFIG_IPW2100_DEBUG is not set
-# CONFIG_IPW2200 is not set
-CONFIG_LIBIPW=m
-# CONFIG_LIBIPW_DEBUG is not set
-# CONFIG_IWL4965 is not set
-# CONFIG_IWL3945 is not set
-# CONFIG_IWLWIFI is not set
CONFIG_WLAN_VENDOR_INTERSIL=y
CONFIG_HOSTAP=m
CONFIG_HOSTAP_FIRMWARE=y
CONFIG_HOSTAP_FIRMWARE_NVRAM=y
CONFIG_HOSTAP_PLX=m
CONFIG_HOSTAP_PCI=m
-# CONFIG_HERMES is not set
-# CONFIG_P54_COMMON is not set
CONFIG_PRISM54=m
CONFIG_WLAN_VENDOR_MARVELL=y
-CONFIG_LIBERTAS=m
-# CONFIG_LIBERTAS_USB is not set
-# CONFIG_LIBERTAS_DEBUG is not set
-# CONFIG_LIBERTAS_MESH is not set
-# CONFIG_LIBERTAS_THINFIRM is not set
-# CONFIG_MWIFIEX is not set
-# CONFIG_MWL8K is not set
CONFIG_WLAN_VENDOR_MEDIATEK=y
-# CONFIG_MT7601U is not set
-# CONFIG_MT76x0U is not set
-# CONFIG_MT76x0E is not set
-# CONFIG_MT76x2E is not set
-# CONFIG_MT76x2U is not set
-# CONFIG_MT7603E is not set
-# CONFIG_MT7615E is not set
CONFIG_WLAN_VENDOR_RALINK=y
-# CONFIG_RT2X00 is not set
CONFIG_WLAN_VENDOR_REALTEK=y
-# CONFIG_RTL8180 is not set
-# CONFIG_RTL8187 is not set
-CONFIG_RTL_CARDS=m
-# CONFIG_RTL8192CE is not set
-# CONFIG_RTL8192SE is not set
-# CONFIG_RTL8192DE is not set
-# CONFIG_RTL8723AE is not set
-# CONFIG_RTL8723BE is not set
-# CONFIG_RTL8188EE is not set
-# CONFIG_RTL8192EE is not set
-# CONFIG_RTL8821AE is not set
-# CONFIG_RTL8192CU is not set
-# CONFIG_RTL8XXXU is not set
-# CONFIG_RTW88 is not set
CONFIG_WLAN_VENDOR_RSI=y
-# CONFIG_RSI_91X is not set
CONFIG_WLAN_VENDOR_ST=y
-# CONFIG_CW1200 is not set
CONFIG_WLAN_VENDOR_TI=y
-# CONFIG_WL1251 is not set
-# CONFIG_WL12XX is not set
-# CONFIG_WL18XX is not set
-# CONFIG_WLCORE is not set
CONFIG_WLAN_VENDOR_ZYDAS=y
-# CONFIG_USB_ZD1201 is not set
-# CONFIG_ZD1211RW is not set
CONFIG_WLAN_VENDOR_QUANTENNA=y
-# CONFIG_QTNFMAC_PCIE is not set
-# CONFIG_MAC80211_HWSIM is not set
-# CONFIG_USB_NET_RNDIS_WLAN is not set
-# CONFIG_VIRT_WIFI is not set
#
# Enable WiMAX (Networking options) to see the WiMAX drivers
@@ -3404,16 +3319,11 @@ CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
CONFIG_X509_CERTIFICATE_PARSER=y
# CONFIG_PKCS8_PRIVATE_KEY_PARSER is not set
CONFIG_PKCS7_MESSAGE_PARSER=y
-# CONFIG_PKCS7_TEST_KEY is not set
-# CONFIG_SIGNED_PE_FILE_VERIFICATION is not set
#
# Certificates for signature checking
#
-CONFIG_SYSTEM_TRUSTED_KEYRING=y
-CONFIG_SYSTEM_TRUSTED_KEYS=""
-# CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set
-# CONFIG_SECONDARY_TRUSTED_KEYRING is not set
+# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
# CONFIG_SYSTEM_BLACKLIST_KEYRING is not set
# end of Certificates for signature checking
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index 2ab6681..663a162 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -5,7 +5,6 @@
# CONFIG_ACORN_PARTITION is undefined
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_ADFS_FS is undefined
-# CONFIG_ADM8211 is not set
# CONFIG_AFFS_FS is undefined
# CONFIG_AG71XX is undefined
# CONFIG_AHCI_CEVA is not set
@@ -16,13 +15,11 @@ CONFIG_AIC7XXX_DEBUG_MASK=0
CONFIG_AIC7XXX_REG_PRETTY_PRINT=y
CONFIG_AIC7XXX_RESET_DELAY_MS=15000
CONFIG_AIO=y
-# CONFIG_AIRO is not set
# CONFIG_AIX_PARTITION is undefined
# CONFIG_ALX is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_AMIGA_PARTITION is undefined
# CONFIG_APPLICOM is not set
-# CONFIG_AR5523 is not set
CONFIG_ARCH_HAS_DMA_COHERENCE_H=y
# CONFIG_ARCH_HAS_RESET_CONTROLLER is undefined
CONFIG_ARCH_HAS_SYNC_DMA_FOR_CPU=y
@@ -42,7 +39,6 @@ CONFIG_ASYNC_PQ=m
CONFIG_ASYNC_RAID6_RECOV=m
# CONFIG_ASYNC_RAID6_TEST is not set
CONFIG_ASYNC_XOR=m
-# CONFIG_AT76C50X_USB is not set
# CONFIG_AT803X_PHY is undefined
CONFIG_ATA=y
CONFIG_ATALK=m
@@ -52,25 +48,17 @@ CONFIG_ATA_BMDMA=y
CONFIG_ATA_PIIX=y
CONFIG_ATA_SFF=y
CONFIG_ATA_VERBOSE_ERROR=y
-# CONFIG_ATH10K is not set
-# CONFIG_ATH5K is not set
# CONFIG_ATH5K_PCI is not set
-# CONFIG_ATH6KL is not set
# CONFIG_ATH79 is not set
# CONFIG_ATH79_WDT is undefined
-# CONFIG_ATH9K is not set
-# CONFIG_ATH9K_HTC is not set
# CONFIG_ATH_DEBUG is not set
# CONFIG_ATL1 is not set
# CONFIG_ATL1C is not set
# CONFIG_ATL1E is not set
# CONFIG_ATL2 is not set
-CONFIG_ATMEL=m
# CONFIG_AUTOFS4_FS is not set
CONFIG_AX88796=m
# CONFIG_AX88796_93CX6 is not set
-# CONFIG_B43 is not set
-# CONFIG_B43LEGACY is not set
# CONFIG_B53 is undefined
# CONFIG_BACKLIGHT_ADP8860 is undefined
# CONFIG_BACKLIGHT_ADP8870 is undefined
@@ -128,8 +116,6 @@ CONFIG_BOARD_SCACHE=y
CONFIG_BONDING=m
CONFIG_BOOT_ELF32=y
CONFIG_BOUNCE=y
-# CONFIG_BRCMFMAC is not set
-# CONFIG_BRCMSMAC is not set
CONFIG_BRIDGE=m
CONFIG_BRIDGE_EBT_802_3=m
CONFIG_BRIDGE_EBT_AMONG=m
@@ -159,21 +145,11 @@ CONFIG_BROADCOM_PHY=m
# CONFIG_BSD_DISKLABEL is undefined
CONFIG_BUILTIN_DTB=y
# CONFIG_CADENCE_WATCHDOG is undefined
-# CONFIG_CARL9170 is not set
# CONFIG_CASSINI is not set
# CONFIG_CB710_CORE is not set
# CONFIG_CC_DISABLE_WARN_MAYBE_UNINITIALIZED is undefined
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
-CONFIG_CFG80211=m
-# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
-CONFIG_CFG80211_CRDA_SUPPORT=y
-# CONFIG_CFG80211_DEBUGFS is not set
-CONFIG_CFG80211_DEFAULT_PS=y
-# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
-CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
-CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
-# CONFIG_CFG80211_WEXT is not set
# CONFIG_CHELSIO_T1 is not set
CONFIG_CHELSIO_T3=m
# CONFIG_CHELSIO_T4 is not set
@@ -295,7 +271,6 @@ CONFIG_CRYPTO_TWOFISH_COMMON=m
CONFIG_CRYPTO_WP512=m
CONFIG_CRYPTO_XCBC=m
# CONFIG_CUSE is not set
-# CONFIG_CW1200 is not set
CONFIG_DAVICOM_PHY=m
# CONFIG_DEBUG_GPIO is undefined
# CONFIG_DEBUG_PER_CPU_MAPS is not set
@@ -450,7 +425,6 @@ CONFIG_GENERIC_ISA_DMA=y
CONFIG_HAVE_PCI=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
# CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN is undefined
-# CONFIG_HERMES is not set
# CONFIG_HFSPLUS_FS is undefined
# CONFIG_HFS_FS is undefined
CONFIG_HID=m
@@ -635,10 +609,6 @@ CONFIG_IPV6_SIT=y
# CONFIG_IPV6_SIT_6RD is not set
# CONFIG_IPV6_SUBTREES is undefined
CONFIG_IPV6_TUNNEL=m
-CONFIG_IPW2100=m
-# CONFIG_IPW2100_DEBUG is not set
-CONFIG_IPW2100_MONITOR=y
-# CONFIG_IPW2200 is not set
# CONFIG_IP_MROUTE_MULTIPLE_TABLES is not set
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARPTABLES=m
@@ -690,9 +660,6 @@ CONFIG_ISA_DMA_API=y
# CONFIG_ISCSI_BOOT_SYSFS is not set
CONFIG_ISCSI_TCP=m
# CONFIG_ISDN is not set
-# CONFIG_IWL3945 is not set
-# CONFIG_IWL4965 is not set
-# CONFIG_IWLWIFI is not set
# CONFIG_IXGB is not set
# CONFIG_IXGBE is not set
# CONFIG_JFFS2_FS is undefined
@@ -787,14 +754,7 @@ CONFIG_LIB80211_CRYPT_TKIP=m
CONFIG_LIB80211_CRYPT_WEP=m
# CONFIG_LIB80211_DEBUG is not set
CONFIG_LIBCRC32C=m
-CONFIG_LIBERTAS=m
-# CONFIG_LIBERTAS_DEBUG is not set
-# CONFIG_LIBERTAS_MESH is not set
-# CONFIG_LIBERTAS_THINFIRM is not set
-# CONFIG_LIBERTAS_USB is not set
# CONFIG_LIBFC is not set
-CONFIG_LIBIPW=m
-# CONFIG_LIBIPW_DEBUG is not set
CONFIG_LLC=m
CONFIG_LOCALVERSION="-malta"
# CONFIG_LOGO is not set
@@ -805,16 +765,6 @@ CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity"
# CONFIG_LTE_GDM724X is undefined
CONFIG_LXT_PHY=m
-CONFIG_MAC80211=m
-# CONFIG_MAC80211_DEBUGFS is not set
-# CONFIG_MAC80211_DEBUG_MENU is not set
-CONFIG_MAC80211_HAS_RC=y
-# CONFIG_MAC80211_HWSIM is not set
-CONFIG_MAC80211_MESH=y
-# CONFIG_MAC80211_MESSAGE_TRACING is not set
-CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
-CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
-CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MACVLAN=m
# CONFIG_MACVTAP is not set
# CONFIG_MAC_PARTITION is undefined
@@ -900,13 +850,6 @@ CONFIG_MQ_IOSCHED_DEADLINE=y
CONFIG_MQ_IOSCHED_KYBER=y
# CONFIG_MSCC_OCELOT_SWITCH is undefined
CONFIG_MSDOS_FS=m
-# CONFIG_MT7601U is not set
-# CONFIG_MT7603E is not set
-# CONFIG_MT7615E is not set
-# CONFIG_MT76x0E is not set
-# CONFIG_MT76x0U is not set
-# CONFIG_MT76x2E is not set
-# CONFIG_MT76x2U is not set
# CONFIG_MTD_CFI_ADV_OPTIONS is not set
# CONFIG_MTD_CFI_BE_BYTE_SWAP is undefined
# CONFIG_MTD_CFI_GEOMETRY is undefined
@@ -940,8 +883,6 @@ CONFIG_MTD_UBI_BEB_LIMIT=20
# CONFIG_MTD_UBI_FASTMAP is not set
CONFIG_MTD_UBI_GLUEBI=m
CONFIG_MTD_UBI_WL_THRESHOLD=4096
-# CONFIG_MWIFIEX is not set
-# CONFIG_MWL8K is not set
# CONFIG_MYRI10GE is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
@@ -1147,7 +1088,6 @@ CONFIG_NF_SOCKET_IPV6=m
CONFIG_NF_TPROXY_IPV4=m
CONFIG_NF_TPROXY_IPV6=m
# CONFIG_NIU is not set
-# CONFIG_NL80211_TESTMODE is not set
CONFIG_NLS_ASCII=m
CONFIG_NLS_CODEPAGE_1250=m
CONFIG_NLS_CODEPAGE_1251=m
@@ -1206,7 +1146,6 @@ CONFIG_OF_MDIO=m
# CONFIG_OVERLAY_FS_METACOPY is undefined
# CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is undefined
# CONFIG_OVERLAY_FS_REDIRECT_DIR is undefined
-# CONFIG_P54_COMMON is not set
CONFIG_PAGE_SIZE_16KB=y
# CONFIG_PAGE_SIZE_4KB is not set
# CONFIG_PANIC_ON_OOPS is not set
@@ -1265,7 +1204,6 @@ CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIE_CADENCE_PLAT_HOST is not set
# CONFIG_PCIE_PTM is not set
# CONFIG_PCIE_XILINX is not set
-CONFIG_PCI_ATMEL=m
# CONFIG_PCI_DEBUG is not set
CONFIG_PCI_DOMAINS=y
# CONFIG_PCI_ENDPOINT is not set
@@ -1301,7 +1239,6 @@ CONFIG_PHYLIB=m
# CONFIG_PINCTRL_STMFX is undefined
# CONFIG_PINMUX is undefined
CONFIG_PKCS7_MESSAGE_PARSER=y
-# CONFIG_PKCS7_TEST_KEY is not set
# CONFIG_PKCS8_PRIVATE_KEY_PARSER is not set
# CONFIG_PNFS_FILE_LAYOUT is undefined
# CONFIG_PNFS_FLEXFILE_LAYOUT is undefined
@@ -1330,7 +1267,6 @@ CONFIG_PROC_PAGE_MONITOR=y
# CONFIG_QNX4FS_FS is undefined
# CONFIG_QNX6FS_FS is undefined
CONFIG_QSEMI_PHY=m
-# CONFIG_QTNFMAC_PCIE is not set
CONFIG_QUEUED_RWLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
# CONFIG_R6040 is not set
@@ -1404,8 +1340,6 @@ CONFIG_RFS_ACCEL=y
# CONFIG_RMI4_CORE is not set
# CONFIG_ROMFS_FS is undefined
CONFIG_RPS=y
-# CONFIG_RSI_91X is not set
-# CONFIG_RT2X00 is not set
CONFIG_RTC_CLASS=y
# CONFIG_RTC_DEBUG is not set
# CONFIG_RTC_DRV_ABB5ZES3 is not set
@@ -1473,21 +1407,7 @@ CONFIG_RTC_MC146818_LIB=y
CONFIG_RTC_NVMEM=y
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
-# CONFIG_RTL8180 is not set
-# CONFIG_RTL8187 is not set
-# CONFIG_RTL8188EE is not set
-# CONFIG_RTL8192CE is not set
-# CONFIG_RTL8192CU is not set
-# CONFIG_RTL8192DE is not set
-# CONFIG_RTL8192EE is not set
-# CONFIG_RTL8192SE is not set
-# CONFIG_RTL8723AE is not set
-# CONFIG_RTL8723BE is not set
-# CONFIG_RTL8821AE is not set
-# CONFIG_RTL8XXXU is not set
# CONFIG_RTLLIB is undefined
-CONFIG_RTL_CARDS=m
-# CONFIG_RTW88 is not set
# CONFIG_S2IO is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_AHCI is not set
@@ -1577,7 +1497,6 @@ CONFIG_SCTP_COOKIE_HMAC_MD5=y
CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1 is not set
-# CONFIG_SECONDARY_TRUSTED_KEYRING is not set
# CONFIG_SENSORS_LIS3_I2C is not set
CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
CONFIG_SERIAL_8250_EXAR=y
@@ -1609,7 +1528,6 @@ CONFIG_SGETMASK_SYSCALL=y
# CONFIG_SGI_PARTITION is undefined
CONFIG_SGL_ALLOC=y
CONFIG_SG_POOL=y
-# CONFIG_SIGNED_PE_FILE_VERIFICATION is not set
# CONFIG_SIS190 is not set
# CONFIG_SIS900 is not set
CONFIG_SKB_EXTENSIONS=y
@@ -1642,10 +1560,7 @@ CONFIG_SWAP_IO_SPACE=y
CONFIG_SYNC_R4K=y
# CONFIG_SYSCON_REBOOT_MODE is not set
CONFIG_SYSFS_SYSCALL=y
-CONFIG_SYSTEM_DATA_VERIFICATION=y
-# CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set
-CONFIG_SYSTEM_TRUSTED_KEYRING=y
-CONFIG_SYSTEM_TRUSTED_KEYS=""
+# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
# CONFIG_SYSV68_PARTITION is undefined
# CONFIG_SYSV_FS is undefined
CONFIG_SYS_HAS_CPU_MIPS32_R1=y
@@ -1732,12 +1647,10 @@ CONFIG_USB_HID=m
# CONFIG_USB_LED_TRIG is undefined
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_MOUSE is not set
-# CONFIG_USB_NET_RNDIS_WLAN is not set
CONFIG_USB_PCI=y
# CONFIG_USB_STORAGE is not set
# CONFIG_USB_UHCI_HCD is not set
# CONFIG_USB_WUSB_CBAF is undefined
-# CONFIG_USB_ZD1201 is not set
# CONFIG_USERIO is not set
# CONFIG_UWB is undefined
CONFIG_VETH=m
@@ -1746,7 +1659,6 @@ CONFIG_VGA_ARB_MAX_GPUS=16
# CONFIG_VIRTIO_FS is not set
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRT_CPU_ACCOUNTING_GEN is undefined
-# CONFIG_VIRT_WIFI is not set
CONFIG_VITESSE_PHY=m
CONFIG_VLAN_8021Q=m
CONFIG_VLAN_8021Q_GVRP=y
@@ -1761,16 +1673,11 @@ CONFIG_VM_EVENT_COUNTERS=y
# CONFIG_WATCHDOG_NOWAYOUT is undefined
# CONFIG_WATCHDOG_OPEN_TIMEOUT is undefined
# CONFIG_WATCHDOG_SYSFS is undefined
-# CONFIG_WCN36XX is not set
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PRIV=y
CONFIG_WEXT_PROC=y
CONFIG_WEXT_SPY=y
-# CONFIG_WIL6210 is not set
CONFIG_WIRELESS_EXT=y
-# CONFIG_WL1251 is not set
-# CONFIG_WL12XX is not set
-# CONFIG_WL18XX is not set
CONFIG_WLAN_VENDOR_ADMTEK=y
CONFIG_WLAN_VENDOR_ATH=y
CONFIG_WLAN_VENDOR_ATMEL=y
@@ -1787,7 +1694,6 @@ CONFIG_WLAN_VENDOR_RSI=y
CONFIG_WLAN_VENDOR_ST=y
CONFIG_WLAN_VENDOR_TI=y
CONFIG_WLAN_VENDOR_ZYDAS=y
-# CONFIG_WLCORE is not set
# CONFIG_WQ_WATCHDOG is not set
CONFIG_X509_CERTIFICATE_PARSER=y
CONFIG_XFRM=y
@@ -1811,7 +1717,6 @@ CONFIG_XPS=y
# CONFIG_XZ_DEC_TEST is undefined
# CONFIG_XZ_DEC_X86 is undefined
# CONFIG_YELLOWFIN is not set
-# CONFIG_ZD1211RW is not set
# CONFIG_ZIIRAVE_WATCHDOG is undefined
CONFIG_ZLIB_DEFLATE=m
CONFIG_ZLIB_INFLATE=m
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread
* [DistroKit] [PATCH v2 11/13] MIPS: malta: fix qemu run script
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
` (8 preceding siblings ...)
2020-04-24 7:08 ` [DistroKit] [PATCH v2 10/13] MIPS: kernel: malta: disable SYSTEM_TRUSTED_KEYRING and WiFI support Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 12/13] MIPS: enable GLIBCXX_ASSERTION Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 13/13] MIPS: enable HARDEN_STACKCLASH Oleksij Rempel
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
We have separate kernel images for different HW.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/run | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/platform-mips/run b/configs/platform-mips/run
index 2d3b855..c42b5f5 100755
--- a/configs/platform-mips/run
+++ b/configs/platform-mips/run
@@ -23,7 +23,7 @@ else
PTXDIST_PLATFORMDIR="."
fi
-if [ ! -e "${PTXDIST_PLATFORMDIR}/images/linuximage" ]; then
+if [ ! -e "${PTXDIST_PLATFORMDIR}/images/vmlinuz-malta" ]; then
echo "error: run 'ptxdist go' first"
exit 1
fi
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread
* [DistroKit] [PATCH v2 12/13] MIPS: enable GLIBCXX_ASSERTION
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
` (9 preceding siblings ...)
2020-04-24 7:08 ` [DistroKit] [PATCH v2 11/13] MIPS: malta: fix qemu run script Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 13/13] MIPS: enable HARDEN_STACKCLASH Oleksij Rempel
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
Tis enables extra error checking in the form of precondition assertions,
such as bounds checking in strings and null pointer checks when
dereferencing smart pointers.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/platformconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/platform-mips/platformconfig b/configs/platform-mips/platformconfig
index 51f9a15..47c9cd2 100644
--- a/configs/platform-mips/platformconfig
+++ b/configs/platform-mips/platformconfig
@@ -82,7 +82,7 @@ PTXCONF_TARGET_HARDEN_FORTIFY=y
PTXCONF_TARGET_HARDEN_RELRO=y
PTXCONF_TARGET_HARDEN_BINDNOW=y
PTXCONF_TARGET_HARDEN_PIE=y
-# PTXCONF_TARGET_HARDEN_GLIBCXX_ASSERTIONS is not set
+PTXCONF_TARGET_HARDEN_GLIBCXX_ASSERTIONS=y
#
# extra toolchain options
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread
* [DistroKit] [PATCH v2 13/13] MIPS: enable HARDEN_STACKCLASH
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
` (10 preceding siblings ...)
2020-04-24 7:08 ` [DistroKit] [PATCH v2 12/13] MIPS: enable GLIBCXX_ASSERTION Oleksij Rempel
@ 2020-04-24 7:08 ` Oleksij Rempel
11 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2020-04-24 7:08 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
Generate code to prevent stack clash style attacks. When this option is
enabled, the compiler will only allocate one page of stack space at a
time and each page is accessed immediately after allocation. Thus, it
prevents allocations from jumping over any stack guard page provided by
the operating system.
Most targets do not fully support stack clash protection. However, on
those targets -fstack-clash-protection will protect dynamic stack
allocations. -fstack-clash-protection may also provide limited
protection for static stack allocations if the target supports
-fstack-check=specific.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/platformconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/platform-mips/platformconfig b/configs/platform-mips/platformconfig
index 47c9cd2..5f1202b 100644
--- a/configs/platform-mips/platformconfig
+++ b/configs/platform-mips/platformconfig
@@ -77,7 +77,7 @@ PTXCONF_COMPILER_PREFIX_BOOTLOADER="${PTXCONF_COMPILER_PREFIX}"
# PTXCONF_TARGET_HARDEN_STACK is not set
# PTXCONF_TARGET_HARDEN_STACK_STRONG is not set
PTXCONF_TARGET_HARDEN_STACK_ALL=y
-# PTXCONF_TARGET_HARDEN_STACKCLASH is not set
+PTXCONF_TARGET_HARDEN_STACKCLASH=y
PTXCONF_TARGET_HARDEN_FORTIFY=y
PTXCONF_TARGET_HARDEN_RELRO=y
PTXCONF_TARGET_HARDEN_BINDNOW=y
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 13+ messages in thread