Commit Graph

53 Commits

Author SHA1 Message Date
Ben Hutchings 693aafefbb [armel/marvell] Disable HW_RANDOM as no HWRNG drivers are usable here
We were building the omap-rng driver, because the same block is used
on some recent Marvell chips and HW_RANDOM_OMAP is enabled by default
if ARCH_MVEBU is enabled.

We were also building virtio-rng, but there isn't (so far as I know)
any publicly available emulation of the ARMv5 Marvell chips.

As we're about to include HWRNG drivers to the installer, disable the
whole subsystem for armel/marvell to avoid adding useless drivers.
2019-04-20 23:35:33 +01:00
Ben Hutchings 8af1902135 debian/config: Clean up using kconfigeditor2 2019-03-10 23:17:30 +00:00
Romain Perier 6b175bc9fd Enable STRICT_MODULE_RWX
With this option set, module text and rodata memory areas will be made
read-only. Moreover, non-text memory will be made non-executable. This
provides protection against certain security exploits. Currently, this
option is implicitly enabled in Kconfig for most configurations where it
is possible to enable it. This commit enables the option by default
explictly for all supported targets (except marvell to keep it small)
2019-03-05 21:10:12 +01:00
Romain Perier 693bbd783d [armel, armhf] Enable CRASH_DUMP
When set, this generates crash dump after being started by kexec. Useful
for debugging purpose on ARM. As this is already enabled for other arch,
enable it for ARM, as well (except marvell to keep it small).
2019-03-05 21:00:28 +01:00
Ben Hutchings 9954895622 Enable lots of new(ish) kconfig options
* 9p: Enable NET_9P_XEN as module
* ACPI: Enable ACPI_TAD as module
* amd-xgbe: Enable AMD_XGBE_DCB
* ath9k: Enable ATH9K_CHANNEL_CONTEXT
* block: Enable BLK_DEV_ZONED (except armel/marvell)
* bluetooth: Enable BT_HCIUART_RTL; BT_HCIUART_NOKIA, BT_MTKUART as modules
* bnxt: Enable BNXT_DCB
* ethernet: Enable HINIC, ICE, LAN743X, LIQUIDIO_VF as modules
* can: Enable CAN_VXCAN, CAN_MCBA_USB, CAN_UCAN as modules
* dm: Enable DM_UNSTRIPED, DM_WRITECACHE, DM_ZONED as modules
* gnss: Enable GNSS, GNSS_SIRF_SERIAL, GNSS_UBX_SERIAL as modules
* IB: Enable CGROUP_RDMA (except armel/marvell)
* ieee802154: Enable IEEE802154_HWSIM as module
* inet: Enable INET_RAW_DIAG as module
* input: Enable INPUT_AXP20X_PEK as module
* IPMI: Enable IPMI_SSIF as module
* joystick: Enable JOYSTICK_PXRC as module
* mlx5: Enable MLX5_FPGA, MLX5_CORE_IPOIB; MLXFW as module
* net: Enable BPF_STREAM_PARSER, XDP_SOCKETS (except armel/marvell);
  NET_FAILOVER, SMC, SMC_DIAG, VSOCKMON as modules
* net/phy: Enable LED_TRIGGER_PHY; CORTINA_PHY, DP83822_PHY, DP83TC811_PHY,
  MARVELL_10G_PHY, MICROCHIP_T1_PHY, RENESAS_PHY, ROCKCHIP_PHY as modules
* net/sched: Enable NET_SCH_CBS, NET_SCH_ETF, NET_SCH_SKBPRIO, NET_EMATCH_IPT
  as modules
* PCMCIA: Enable SCR24X as module
* [x86] rmi4: Re-enable RMI4_CORE, RMI4_SMB as modules (Closes: #875621);
  RMI4_F03, RMI4_F11, RMI4_F12, RMI4_F30, RMI4_F34, RMI4_F54, RMI4_F55
* xfrm: Enable XFRM_INTERFACE as module
* PCI: Enable PCI_PF_STUB as module
* random: Enable RANDOM_TRUST_CPU. This can be reverted using the kernel
  parameter: random.trust_cpu=off
* SCSI: Enable QEDF, QEDI as modules
* serial: Enable SERIAL_8250_EXAR as module
* tpm: Enable TCG_TIS_SPI, TCG_VTPM_PROXY as modules
* usbtouchscreen: Enable TOUCHSCREEN_USB_EASYTOUCH
* wireless: Enable MT76x0U, MT76x2E, MT76x2U, QTNFMAC_PEARL_PCIE as modules
* zram: Enable ZRAM_WRITEBACK, ZRAM_MEMORY_TRACKING
2019-02-10 23:16:32 +00:00
Uwe Kleine-König 85da926d38 Revert "wip" which was pushed by mistake
This reverts commit 331fdb5fb8.
2018-10-16 20:18:50 +02:00
Uwe Kleine-König 331fdb5fb8 wip 2018-10-16 08:44:27 +02:00
Ben Hutchings b9378ce266 debian/config: Clean up with the help of kconfigeditor2
Various kconfig symbols have been renamed, removed, split or combined.
Update these files accordingly.
2018-08-27 18:34:45 +01:00
Ben Hutchings 7f113f9112 Release linux (4.17.3-1).
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAls6toYACgkQ57/I7JWG
 EQnUyQ/9GCNcKyhvUX+JW534f1vCai0GujvXCgEBWyDuj0AXcgthJT27cs7kXUYH
 tCfL9xTikeUIgNR+JTWFnZSHIUKaQ8RJPdR4l1KyqdDxqrEx9BqdXRW0dzS4OtTQ
 jgnVLkEfCtllgXkEh6L+ZKZ3NRFKc6OcYFrWa+Q+ovk1mY23P5y5YyPuaV4j+cKI
 8M1pMYCxTGpy9+SncKEnWHD9hq1AsySe19Q/yd5WzhDMu6kLg61S+n/iiVZJA8lK
 qHmMEhtEbiQN+/79C3dgH8nDV5yceqPZxon2GmPrUXrLTM0cX2J3VZpNFOH4SCr8
 AZa1nzzD8UXNDHVVb91QpwMGQrmjAwuLQtJPOCrOnuS71ba+q2w5ylYgjbbs7AMn
 SJpakcYBKBYoMI7fk+qKRVneBIhPDEBWe6yf//XL7N+Nfsf02bkb5k81NPTF65dE
 RESMNI/wXjhFkCWjqxZQiJqvG2mvyTGFs4iEk7NWjFfyqRz4bFNP+SbMHfGwVI1u
 xnlK2e31h25kWuFuQjq6eVXg+jyWjagM1/aa4lI1H4j2Rk9iXVU/52wVZGatmUj0
 1zbqYL2noJpD46/Q4jtbatZu9TI+ynjr+mbmZYys8BfFMNKPjL2TavW7RNWARk/p
 VmgvS7qS5JmJz22LBGRU1S5aKbDhXmyt8IcJS9LCUwEU0yL+u4U=
 =n9qI
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.17.3-1'

Release linux (4.17.3-1).
2018-07-03 00:45:29 +01:00
Ben Hutchings b20d268c2a Update config for 4.18 using kconfigeditor2
- Various config symbols were removed, renamed or split
- HOTPLUG_PCI_SHPC is now boolean, so set it to built-in
- The stack protector config symbols were changed to two booleans
  with different names
2018-07-02 17:51:27 +01:00
Ben Hutchings 6fcfc170b9 dm: Enable DM_INTEGRITY as module (except on armel) (Closes: #896649) 2018-07-01 03:49:54 +01:00
Ben Hutchings 81d6f91e25 Clean up kconfig for 4.17
- Various ancient SCSI drivers were removed
- BT_HCIBTUART and INFINIBAND_CXGB3_DEBUG were removed
- OMAP_DM_TIMER is now an automatic symbol
- Marvell NAND driver was rewritten, so we enable MTD_NAND_MARVELL
  instead of MTD_NAND_PXA3xx
- Various netfilter symbols are now boolean instead of tristate
2018-04-20 01:39:47 +01:00
Ben Hutchings a529c97bc1 block: Enable BLK_SED_OPAL (except on armel) 2018-04-19 00:11:59 +01:00
Roger Shimizu d192eb7555 [armel] Change size limit of armel kernel image back to 2097080
Reduce armel image size by:
- Set CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
- Change MTD, MTD_CMDLINE_PARTS, RTC_DRV_MV, and SPI_ORION from
  built-in to module.
- Disable VT, ZSWAP, RD_BZIP2, and RD_LZMA.

So qnap support is back.

Thanks to Leigh Brown <leigh@solinno.co.uk> for his idea to disable VT.

(cherry picked from commit a4fdfa09ce)
2018-04-07 21:51:24 +09:00
Bastian Blank 3fa67126b5 Switch to SLUB as kernel allocator 2018-01-23 19:25:23 +01:00
Ben Hutchings e6885f415f Enable CGROUP_BPF (except for armel) (Closes: #872560) 2018-01-23 17:15:28 +00:00
Ben Hutchings 6c445bffa2 Clean up configuration using kconfigeditor2
Enable one replacement symbol and drop those that are really gone.
2017-12-30 16:20:49 +00:00
Ben Hutchings b979dd72a4 [armel] Change configuration to reduce image size (fixes FTBFS)
- Change CONNECTOR from built-in to module, and disable PROC_EVENTS
- Disable INTEGRITY and dependent options
- video: Disable USB_APPLEDISPLAY, BACKLIGHT_CLASS_DEVICE

This still only gets us down to 99.26% of maximum size, so further
changes will be needed soon.
2017-11-23 01:00:43 +00:00
Ben Hutchings 3ca820dff7 Update kconfig for 4.14
- [alpha] fbdev: Re-enable FRAMEBUFFER_CONSOLE as built-in
- [armel] fbdev: Explicitly disable FRAMEBUFFER_CONSOLE, as it can no longer
  be a module
- [arm64] Re-enable MMC_QCOM_DML
- Change RC_CORE back to being a module
- power/supply: Enable BATTERY_BQ27XXX and BATTERY_BQ27XXX_HDQ as modules,
  replacing W1_SLAVE_BQ27000

Clean up with kconfigeditor2 and delete obsolete symbols.
2017-10-04 02:02:35 +01:00
Ben Hutchings 9fec004526 [armel] rtc: Disable RTC_NVMEM
and explicitly enable it for every other configuration.
2017-09-29 20:34:41 +02:00
Roger Shimizu c55043a43e [armel] Change MTD and RTC related to modules (fixes FTBFS)
Change MTD_OF_PARTS, MTD_BLOCK, and MTD_PHYSMAP_OF from built-in
to modules.

And, also change all RTC related except RTC_DRV_MV, which includes
RTC_DRV_DS1307, RTC_DRV_RS5C372, RTC_DRV_PCF8563, RTC_DRV_M41T80,
and RTC_DRV_S35390A, to modules. Because most marvell boards use
RTC_DRV_MV.
2017-08-26 11:55:48 +09:00
Roger Shimizu d0704122dd [armel] Disable CONFIG_STRICT_KERNEL_RWX
This will save about 3MB on linux Image (before compression).
u-boot loader on some armel devices has limitation that:
 - kernel image size <= 2MB (already described in
debian/config/armel/defines)
 - kernel size after decompression <= 7MB
2017-08-22 01:01:21 +09:00
Roger Shimizu d7f8738db2 [armel] Change NAND related stuff to modules
Change MTD_CFI, MTD_JEDECPROBE, MTD_CFI_INTELEXT, MTD_CFI_AMDSTD,
and MTD_NAND MTD_NAND_ORION from built-in to modules (fixes FTBFS)
2017-07-31 23:34:47 +09:00
Ben Hutchings 3c6e75c193 [armel/marvell] Make more things modular (fixes FTBFS)
This still gets us to:

    Image size 2086338/2097080, using 99.49%.  Under 1% space in experimental.  Continuing.

which is uncomfortably close.
2017-05-03 22:46:38 +01:00
Ben Hutchings a4e087d3b1 Release linux (4.9.25-1).
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAlkI0/kACgkQ57/I7JWG
 EQkutQ/9EsYdnQXf4HaC1YTqQW0Nu5+swZzyosOcdtMfJrj+PWXQMgmY4WWav8I/
 DipRGhfXXMnqlBg1vOR5cEdqPznRm/cwcuPqZpw7H0fA7LvyCibg/7yERJYv7i1U
 BIy8s29NCpVVRhDhY9Nl5t0WLGQT4Rg9JW6iKNRDq2y91etahSxzOBxB2B3k04Ys
 9vFPpuKq5QAskCBGEucinYYKTy7/ciIXsaSij2m/G7/ly/Qaqt0pIgjqi4QhuJs3
 yWidIm1aBvE4MHXH8WQkg1aF20vfdGXz3CZNT6BWFn/6hNesS+tEQpF/nYLBqnfS
 2GghqeWO1+xzxlXWNZU/SD0JhkB6gAeZ+4MP7eYz8BAtpUz7H/zZfZNsOBWb6YJY
 Pc8AjqG6mBd/1B2O8yXUda/j/xazEtg0c7uxQjyOEqh2nPeHn9FVLuJsSP74wxdx
 zjGmOjJzKUmhBGxLdJZAFL5N7YbLR+qNQfV2UGz4+zVIJge9R7HwWwR9+Um8AHq0
 qrnjRf6iAla1phYlgHnPx4r6A9kactDuFsNMfUN8nsUrV+KX15k+dt02CpFSWw0B
 lXGPf2MNXTEp+CsuAVBAWFP55JCOwD6yYoLfEfErXvchc7qqIKHgmIrLSyexro7O
 F1+HBfu6t1M4tRz0xNu8sGL4uzsjockMW8RL1HFgboUluMgTFPQ=
 =k/sj
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.9.25-1'

Drop the added patches, which are already in 4.11.

CONFIG_NFP_NETVF is replaced by CONFIG_NFP in 4.11.
2017-05-02 19:57:00 +01:00
Ben Hutchings 38ea360ed4 crypto: Change CRYPTO_SHA256 from module to built-in, as required by IMA 2017-05-02 16:21:36 +01:00
Ben Hutchings 97c9515edc leds: Enable LEDS_GPIO as module for all configurations with GPIOs (Closes: #860569) 2017-05-02 05:19:00 +01:00
Ben Hutchings f3c3de0f60 integrity: Enable IMA and related kconfig symbols (except on armel/marvell)
Closes: #788290

Based on advice from Matthew Garrett.
2017-04-27 18:37:09 +01:00
Ben Hutchings f6ab826219 PCI: Enable PCIE_PTM (except on armel/marvell) 2017-04-25 22:20:09 +01:00
Ben Hutchings 0905519af4 Clean up kconfig using kconfigeditor2
Rename or delete options that changed in 4.11.
2017-04-20 19:45:06 +01:00
Ben Hutchings 8c94f719fa Release linux (4.9.10-1).
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAlinNOsACgkQ57/I7JWG
 EQntWg//RuNSbOQeyML971UnFUtZjY3yAUYqhPJdpJimjY3WHjmZlJQrLlSz9IYQ
 48Pkt/64P0+iAr9zJ+3uJv1fOagKePd5RaS/iChJdvq0fCGZstFlti5NwXEQtGSv
 Yzp0LStZr+pEPZo+8Bo+TVSP25FNXdZBvhUXE2sbxaV8+W9Vx+qFkfrWEiW7hpFv
 nCQJic7kmzllS4Aol9e/jj2MqcdWIhviufAImNnfrbpK61Ud6Gznw9gTODw9+OIT
 ny6F/k7O6MFPuHp3aAxVC5TCowh16PcC+VqJF9MTnnvHQmD3jYqdeA8zKLnW/tJk
 Dl9A6whZ3n4fFRlGjgxjmTP/CgAIeQVqgTgYCApuQQTVG3svIkznoXJLraj5UE90
 rzeB30x3ikUWcVggN7xfSkW3e6/v+XSbRfu73sFA81mWyWoddT/NYhw+Y18ym4UJ
 Vk8iuAakpjdVj73FSyYOcNGRzOEp2SAV72EsJEMw1/IlIkmRkMmJkkg4T/HYj11P
 jK/TjZtSsVbje4zx9/U6g8Rj4Wi40EHZu6kuh2jUhCk91zsAr+7EC45gZC+uohxL
 jxKxv2R5p9AR7uN6JzQR4OuOL1bTCrt02MrWdsiPlUi0RBKlJ7O5sGMMsHrVMinn
 4zFNeYq2U3Fyaejb32x3DOKtgCjoMRQ5iHyrjgljhzxJcf3fWKk=
 =rRkU
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.9.10-1'

Drop changes to aufs.
2017-02-22 20:57:36 +00:00
Ben Hutchings df90250caf [armel/marvell] hwmon: Enable SENSORS_G762 as module (Closes: #854662) 2017-02-17 02:14:35 +00:00
Ben Hutchings 6da646ca30 [armel] Adjust configuration to reduce image size (fixes FTBFS) 2017-02-02 03:44:43 +00:00
Ben Hutchings 3479225d03 Clean up kconfig using kconfigeditor2
Rename or delete options that changed in 4.10.
2017-01-24 21:03:51 +00:00
Ben Hutchings f08186c06a mm: Enable PAGE_POISONING (Closes: #849450), PAGE_POISONING_NO_SANITY
...except on armel/marvell
2017-01-05 03:01:05 +00:00
Ben Hutchings 3131927f49 Enable USERFAULTFD (except on armel/marvell) 2017-01-05 01:45:08 +00:00
Ben Hutchings 5bdfbe981b PCI: Enable PCIE_DPC (except for armel/versatile) 2017-01-04 15:08:00 +00:00
Ben Hutchings 7aa0b02a27 Clean up kconfig with the aid of kconfigeditor2
Re-enable various options disabled by name changes in 4.7.

Delete options completely removed in 4.7.
2016-07-20 04:13:49 +01:00
Ben Hutchings 50f9dba92e sched: Enable SCHEDSTATS (Closes: #796674) 2016-07-20 03:55:56 +01:00
Ben Hutchings 38ec618a21 fanotify: Enable FANOTIFY_ACCESS_PERMISSIONS (Closes: #690737)
Various free and proprietary AV products use this feature and users
apparently want it.  But punting access checks to userland seems like
an easy way to deadlock the system, and there will be nothing we can
do about that.  So warn and taint the kernel if this feature is
actually used.
2016-07-13 01:53:59 +01:00
Martin Michlmayr 5e5fb4096b [armel, armhf] Use new Marvell CESA driver
Upstream is moving to the new Marvell CESA driver, so let's do the
same in Debian.
2016-04-22 12:40:34 -07:00
Ben Hutchings 16744a30b6 Update config for renaming/removal/replacement/merging/splitting of various symbols 2016-04-20 17:50:18 +01:00
Ben Hutchings 68c5c5997c Merge remote-tracking branch 'alioth/sid'
Merge open changelog entry for 4.4.6-2 into our open changelog entry.

Refresh the new patches.
2016-04-13 20:52:01 +01:00
Ben Hutchings c955e35c32 modules: Enable MODULE_SIG and MODULE_SIG_SHA256
...but not MODULE_SIG_ALL as signatures will be packaged separately
2016-04-03 13:12:23 +01:00
Roger Shimizu cea35dbc2d [armel/marvell] Change MTD_CFI_AMDSTD from module to built-in
Because orion5x-based Buffalo Linkstation devices still need it
(Closes: #818598)
2016-03-24 08:21:40 +09:00
Ben Hutchings c07a4d3987 Refresh config symbols for 4.5-rc4
Delete obsolete config symbols; rename/replace some as appropriate.
2016-02-15 17:50:19 +00:00
Ben Hutchings aea9926d19 vfs,nvdimm: Really enable FS_DAX 2016-02-10 01:51:38 +00:00
Ben Hutchings abaed981d7 Enable many new config symbols
* bnx2x: Enable BNX2X_VXLAN
* cgroups: Enable CGROUP_PIDS
* crypto: Enable CRYPTO_CHACHA20, CRYPTO_POLY1305, CRYPTO_CHACHA20POLY1305,
  CRYPTO_USER_API_AEAD as modules
* [x86] crypto: Enable CRYPTO_DEV_QAT_DH895xCC as module
* [amd64] crypto: Enable CRYPTO_CHACHA20_X86_64, CRYPTO_DES3_EDE_X86_64,
  CRYPTO_POLY1305_X86_64 as modules
* [x86] dmaengine: Enable INTEL_IDMA64 as module
* debug: Enable SCHED_STACK_END_CHECK
* dm-cache: Enable DM_CACHE_SMQ as module
* ethernet: Enable BNXT, QED, QEDE as modules
* hci_uart: Enable BT_HCIUART_QCA
* HID: Enable HID_CORSAIR, HID_GEMBIRD as modules
* [x86] hwmon: Enable SENSORS_I5500 as module
* [x86] IB: Enable INFINIBAND_USNIC as module
* iio/light: Enable ACPI_ALS as module
* [x86] input: Enable SURFACE_PRO3_BUTTON as module
* [x86] iommu: Enable INTEL_IOMMU_SVM
* ipvs: Enable IP_VS_OVF as module
* media: Enable DVB_NETUP_UNIDVB, USB_GSPCA_TOUPTEK,_VIDEO_DT3155 as modules
* [x86] mfd: Enable MFD_INTEL_LPSS_ACPI, MFD_INTEL_LPSS_PCI as modules
* [amd64] mic: Enable INTEL_MIC_X100_DMA, MIC_COSM, SCIF, SCIF_BUS as modules
* [powerpc*/*64*] misc: Enable GENWQE as module
* net: Enable LWTUNNEL, NET_L3_MASTER_DEV; and MPLS_IPTUNNEL, NET_VRF
  as modules
* [amd64] net: Enable FUJITSU_ES as module
* netfilter: Really enable NF_TABLES_NETDEV, NFT_REDIR_IPV4, NFT_REDIR_IPV6
  as modules
* net/phy: Enable AQUANTIA_PHY, DP83848_PHY, MICROCHIP_PHY, TERANETICS_PHY
  as modules
* net/sched: Really enable NET_CLS_FLOWER as module
* net/usb: Enable USB_LAN78XX, USB_NET_CH9200 as modules
* nfsd: Enable NFSD_PNFS
* [x86] pinctrl: Enable PINCTRL_BROXTON, PINCTRL_SUNRISEPOINT
* [x86] rfkill: Enable DELL_RBTN as module
* serial: Enable SERIAL_OF_PLATFORM as module
* sound/firewire: Enable SND_FIREWIRE_DIGI00X, SND_FIREWIRE_TASCAM as modules
* [x86] thermal: Enable INTEL_PCH_THERMAL, INTEL_SOC_DTS_THERMAL as modules
* [x86] Enable INTEL_PMC_IPC as module
2016-02-10 01:21:56 +00:00
Ben Hutchings fac721e301 [armel] Fold config-reduced into config.marvell 2016-02-07 18:14:32 +00:00
Ben Hutchings 8ff6a7a38a [armel/marvell] mtd: Change JFFS2_FS, MTD_SPI_NOR, and M25P80 from built-in to modules 2016-02-07 18:14:32 +00:00