linux-stable/drivers/pinctrl
Mario Limonciello 3a35ea72c7 pinctrl: Don't allow PINCTRL_AMD to be a module
[ Upstream commit 41ef3c1a6b ]

It was observed that by allowing pinctrl_amd to be loaded
later in the boot process that interrupts sent to the GPIO
controller early in the boot are not serviced.  The kernel treats
these as a spurious IRQ and disables the IRQ.

This problem was exacerbated because it happened on a system with
an encrypted partition so the kernel object was not accesssible for
an extended period of time while waiting for a passphrase.

To avoid this situation from occurring, stop allowing pinctrl-amd
from being built as a module and instead require it to be built-in
or disabled.

Reported-by: madcatx@atlas.cz
Suggested-by: jwrdegoede@fedoraproject.org
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216230
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220713175950.964-1-mario.limonciello@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:40:26 +02:00
..
actions
aspeed pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux() 2022-07-22 10:21:50 +02:00
bcm pinctrl: bcm2835: implement hook for missing gpio-ranges 2022-06-09 10:30:25 +02:00
berlin pinctrl: berlin: fix error return code of berlin_pinctrl_build_state() 2022-03-15 02:18:57 +01:00
cirrus
freescale pinctrl: imx: Add the zero base flag for imx93 2022-07-22 10:21:54 +02:00
intel pinctrl: alderlake: Fix register offsets for ADL-N variant 2022-04-06 12:54:43 +03:00
mediatek pinctrl: mediatek: mt8195: enable driver on mtk platforms 2022-06-09 10:30:26 +02:00
meson pinctrl: meson: add pinctrl driver support for Meson-S4 Soc 2022-01-30 02:52:45 +01:00
mvebu pinctrl: armada-37xx: make irq_lock a raw spinlock to avoid invalid wait context 2022-07-29 17:28:07 +02:00
nomadik pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe 2022-03-15 02:22:50 +01:00
nuvoton Pin control bulk changes for the v5.18 kernel cycle 2022-03-28 11:52:53 -07:00
pxa
qcom pinctrl: qcom: sm6350: fix order of UFS & SDC pins 2022-04-18 01:38:24 +02:00
ralink pinctrl: ralink: Check for null return of devm_kcalloc 2022-07-29 17:27:59 +02:00
renesas pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources() 2022-06-09 10:30:29 +02:00
samsung pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config 2022-04-21 08:58:54 +02:00
spear
sprd
stm32 pinctrl: stm32: fix optional IRQ support to gpios 2022-07-29 17:27:55 +02:00
sunplus pinctrl: sunplus: Add check for kcalloc 2022-07-29 17:27:59 +02:00
sunxi pinctrl: sunxi: sunxi_pconf_set: use correct offset 2022-07-12 16:42:20 +02:00
tegra
ti
uniphier pinctrl: uniphier: Add USB device pinmux settings 2022-02-11 01:37:21 +01:00
visconti
vt8500
Kconfig pinctrl: Don't allow PINCTRL_AMD to be a module 2022-08-17 14:40:26 +02:00
Makefile pinctrl: nuvoton: Add driver for WPCM450 2022-03-15 01:16:20 +01:00
core.c
core.h
devicetree.c
devicetree.h
pinconf-generic.c pinctrl: pinconf-generic: Print arguments for bias-pull-* 2022-03-15 01:24:15 +01:00
pinconf.c
pinconf.h
pinctrl-amd.c
pinctrl-amd.h
pinctrl-apple-gpio.c pinctrl: apple: Use a raw spinlock for the regmap 2022-06-09 10:30:34 +02:00
pinctrl-artpec6.c
pinctrl-as3722.c
pinctrl-at91-pio4.c
pinctrl-at91.c
pinctrl-at91.h
pinctrl-axp209.c
pinctrl-bm1880.c
pinctrl-da850-pupd.c
pinctrl-da9062.c
pinctrl-digicolor.c
pinctrl-equilibrium.c
pinctrl-equilibrium.h
pinctrl-falcon.c
pinctrl-gemini.c
pinctrl-ingenic.c pinctrl: ingenic: Fix regmap on X series SoCs 2022-03-24 20:10:32 +01:00
pinctrl-k210.c pinctrl: k210: Fix bias-pull-up 2022-02-11 02:19:47 +01:00
pinctrl-keembay.c
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-lpc18xx.c
pinctrl-max77620.c
pinctrl-mcp23s08.c
pinctrl-mcp23s08.h
pinctrl-mcp23s08_i2c.c
pinctrl-mcp23s08_spi.c
pinctrl-microchip-sgpio.c Pin control bulk changes for the v5.18 kernel cycle 2022-03-28 11:52:53 -07:00
pinctrl-ocelot.c pinctrl: ocelot: Fix pincfg 2022-07-29 17:28:03 +02:00
pinctrl-oxnas.c
pinctrl-palmas.c
pinctrl-pic32.c
pinctrl-pic32.h
pinctrl-pistachio.c pinctrl: pistachio: fix use of irq_of_parse_and_map() 2022-04-24 16:24:09 +02:00
pinctrl-rk805.c
pinctrl-rockchip.c pinctrl/rockchip: support setting input-enable param 2022-06-09 10:30:57 +02:00
pinctrl-rockchip.h pinctrl/rockchip: support deferring other gpio params 2022-06-09 10:30:26 +02:00
pinctrl-single.c
pinctrl-st.c
pinctrl-starfive.c Pin control bulk changes for the v5.18 kernel cycle 2022-03-28 11:52:53 -07:00
pinctrl-stmfx.c
pinctrl-sx150x.c
pinctrl-tb10x.c
pinctrl-thunderbay.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c
pinctrl-zynq.c pinctrl: zynq: use module_platform_driver to simplify the code 2022-03-15 01:46:13 +01:00
pinctrl-zynqmp.c
pinmux.c
pinmux.h