From: Greg Kroah-Hartman Date: Wed, 27 Dec 2017 15:44:03 +0000 (+0100) Subject: drop 4.4 pinctrl patch X-Git-Tag: v4.9.73~4 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=031739a68ead0949d5d1e7b57656dd044c5f0a33;p=thirdparty%2Fkernel%2Fstable-queue.git drop 4.4 pinctrl patch --- diff --git a/queue-4.4/pinctrl-cherryview-mask-all-interrupts-on-intel_strago-based-systems.patch b/queue-4.4/pinctrl-cherryview-mask-all-interrupts-on-intel_strago-based-systems.patch deleted file mode 100644 index e301afdcea6..00000000000 --- a/queue-4.4/pinctrl-cherryview-mask-all-interrupts-on-intel_strago-based-systems.patch +++ /dev/null @@ -1,52 +0,0 @@ -From d2b3c353595a855794f8b9df5b5bdbe8deb0c413 Mon Sep 17 00:00:00 2001 -From: Mika Westerberg -Date: Mon, 4 Dec 2017 12:11:02 +0300 -Subject: pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems - -From: Mika Westerberg - -commit d2b3c353595a855794f8b9df5b5bdbe8deb0c413 upstream. - -Guenter Roeck reported an interrupt storm on a prototype system which is -based on Cyan Chromebook. The root cause turned out to be a incorrectly -configured pin that triggers spurious interrupts. This will be fixed in -coreboot but currently we need to prevent the interrupt storm from -happening by masking all interrupts (but not GPEs) on those systems. - -Link: https://bugzilla.kernel.org/show_bug.cgi?id=197953 -Fixes: bcb48cca23ec ("pinctrl: cherryview: Do not mask all interrupts in probe") -Reported-and-tested-by: Guenter Roeck -Reported-by: Dmitry Torokhov -Signed-off-by: Mika Westerberg -Signed-off-by: Linus Walleij -Signed-off-by: Greg Kroah-Hartman - ---- - drivers/pinctrl/intel/pinctrl-cherryview.c | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - ---- a/drivers/pinctrl/intel/pinctrl-cherryview.c -+++ b/drivers/pinctrl/intel/pinctrl-cherryview.c -@@ -1466,6 +1466,22 @@ static int chv_gpio_probe(struct chv_pin - offset += range->npins; - } - -+ /* -+ * The same set of machines in chv_no_valid_mask[] have incorrectly -+ * configured GPIOs that generate spurious interrupts so we use -+ * this same list to apply another quirk for them. -+ * -+ * See also https://bugzilla.kernel.org/show_bug.cgi?id=197953. -+ */ -+ if (!need_valid_mask) { -+ /* -+ * Mask all interrupts the community is able to generate -+ * but leave the ones that can only generate GPEs unmasked. -+ */ -+ chv_writel(GENMASK(31, pctrl->community->nirqs), -+ pctrl->regs + CHV_INTMASK); -+ } -+ - /* Clear all interrupts */ - chv_writel(0xffff, pctrl->regs + CHV_INTSTAT); - diff --git a/queue-4.4/series b/queue-4.4/series index 4b0cc3c17da..a0fa3ac492e 100644 --- a/queue-4.4/series +++ b/queue-4.4/series @@ -8,7 +8,6 @@ alsa-usb-audio-fix-the-missing-ctl-name-suffix-at-parsing-su.patch pci-pm-force-devices-to-d0-in-pci_pm_thaw_noirq.patch parisc-hide-diva-built-in-serial-aux-and-graphics-card.patch spi-xilinx-detect-stall-with-unknown-commands.patch -pinctrl-cherryview-mask-all-interrupts-on-intel_strago-based-systems.patch kvm-x86-fix-load-rflags-w-o-the-fixed-bit.patch kvm-x86-fix-rsm-when-pcid-is-non-zero.patch powerpc-perf-dereference-bhrb-entries-safely.patch