Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pinctrl-v4.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl

Pull pin control fix from Linus Walleij:
"A single pin control fix for Intel machines, affecting a bunch of
Chromebooks. Nothing else collected up amazingly"

* tag 'pinctrl-v4.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems

+16
+16
drivers/pinctrl/intel/pinctrl-cherryview.c
··· 1620 1620 clear_bit(i, chip->irq.valid_mask); 1621 1621 } 1622 1622 1623 + /* 1624 + * The same set of machines in chv_no_valid_mask[] have incorrectly 1625 + * configured GPIOs that generate spurious interrupts so we use 1626 + * this same list to apply another quirk for them. 1627 + * 1628 + * See also https://bugzilla.kernel.org/show_bug.cgi?id=197953. 1629 + */ 1630 + if (!need_valid_mask) { 1631 + /* 1632 + * Mask all interrupts the community is able to generate 1633 + * but leave the ones that can only generate GPEs unmasked. 1634 + */ 1635 + chv_writel(GENMASK(31, pctrl->community->nirqs), 1636 + pctrl->regs + CHV_INTMASK); 1637 + } 1638 + 1623 1639 /* Clear all interrupts */ 1624 1640 chv_writel(0xffff, pctrl->regs + CHV_INTSTAT); 1625 1641