summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2017-11-25 00:33:27 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-28 15:35:51 +0100
commitd3a96c94163b7c577f4505168d0041ce9ee32a96 (patch)
tree729481afc034180abb8e4686971359baf77f9479 /firmware
parentd8dcbdd08c653d9a6754b3c775f13cb987fa91ec (diff)
downloadlinux-d3a96c94163b7c577f4505168d0041ce9ee32a96.tar.bz2
serial: pl011: Use cached copy of IMSC register
Commit 075167ed71b7 ("drivers: PL011: replace UART_MIS reading with _RIS & _IMSC") amended this driver's interrupt handler to read the Raw Interrupt Status (RIS) and Interrupt Mask Set/Clear (IMSC) registers instead of the Masked Interrupt Status (MIS) register. The change was made to attain compatibility with SBSA UARTs which lack the MIS register. However the IMSC register is cached by the driver. Using the cached copy saves one register read per interrupt. I've tested this change successfully on a BCM2837 (Raspberry Pi CM3). Cc: Mathias Duckeck <m.duckeck@kunbus.de> Cc: Phil Elwell <phil@raspberrypi.org> Cc: Stefan Wahren <stefan.wahren@i2se.com> Cc: Andre Przywara <andre.przywara@arm.com> Cc: Mark Langsdorf <mlangsdo@redhat.com> Cc: Naresh Bhat <nbhat@cavium.com> Cc: Russell King <linux@armlinux.org.uk> Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions