]> xenbits.xensource.com Git - xen.git/commit
ns16550: use poll mode if INTERRUPT_LINE is 0xff
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Tue, 7 Jun 2022 12:07:34 +0000 (14:07 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jun 2022 12:07:34 +0000 (14:07 +0200)
commitf1be0b62a03b90a40a03e21f965e4cbb89809bb1
tree8efe0e008ac2924b12e4c3e0de07194109516f0c
parent1bc669a568a9f4bdab9e9ddb95823ba370dc0baf
ns16550: use poll mode if INTERRUPT_LINE is 0xff

Intel LPSS has INTERRUPT_LINE set to 0xff by default, that is declared
by the PCI Local Bus Specification Revision 3.0 (from 2004) as
"unknown"/"no connection". Fallback to poll mode in this case.
The 0xff handling is x86-specific, the surrounding code is guarded with
CONFIG_X86 anyway.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
master commit: 6a2ea1a2370a0c8a0210accac0ae62e68c185134
master date: 2022-05-20 12:19:45 +0200
xen/drivers/char/ns16550.c