diff options
author | Grygorii Strashko <[email protected]> | 2017-10-03 12:00:49 -0500 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2017-10-08 02:32:59 +0200 |
commit | 845e405e5e6c9dc9ed10306a4b5bfeaefebc2e84 (patch) | |
tree | f61ce31eb68864d28a5c40142219b99b4d82afb7 /net/unix/sysctl_net_unix.c | |
parent | 83b31c2a5fdd4fb3a4ec84c59a962e816d0bc9de (diff) |
pinctrl: cherryview: fix issues caused by dynamic gpio irqs mapping
New GPIO IRQs are allocated and mapped dynamically by default when
GPIO IRQ infrastructure is used by cherryview-pinctrl driver.
This causes issues on some Intel platforms [1][2] with broken BIOS which
hardcodes Linux IRQ numbers in their ACPI tables.
On such platforms cherryview-pinctrl driver should allocate and map all
GPIO IRQs at probe time.
Side effect - "Cannot allocate irq_descs @ IRQ%d, assuming pre-allocated\n"
can be seen at boot log.
NOTE. It still may fail if boot sequence will changed and some interrupt
controller will be probed before cherryview-pinctrl which will shift Linux IRQ
numbering (expected with CONFIG_SPARCE_IRQ enabled).
[1] https://bugzilla.kernel.org/show_bug.cgi?id=194945
[2] https://lkml.org/lkml/2017/9/28/153
Cc: Andy Shevchenko <[email protected]>
Cc: Chris Gorman <[email protected]>
Cc: Mika Westerberg <[email protected]>
Cc: Heikki Krogerus <[email protected]>
Signed-off-by: Grygorii Strashko <[email protected]>
Reported-by: Chris Gorman <[email protected]>
Reported-by: Mika Westerberg <[email protected]>
Tested-by: Chris Gorman <[email protected]>
Acked-by: Mika Westerberg <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions