]> xenbits.xensource.com Git - xen.git/commit
drivers/pl011: Use combination of UARTRIS and UARTMSC instead of UARTMIS
authorShanker Donthineni <shankerd@codeaurora.org>
Thu, 9 Jun 2016 17:33:20 +0000 (12:33 -0500)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 20 Jun 2016 09:55:35 +0000 (10:55 +0100)
commit9fa7fc275c4022d57910bf2838a0150d2e66e17c
tree03656116aeee61cc5c5cb6d3e562cf9a1eb5501f
parent2048e17ca9dfe0c05881368d7a1fd9e83e37ba9b
drivers/pl011: Use combination of UARTRIS and UARTMSC instead of UARTMIS

The Masked interrupt status register (UARTMIS) is not described in ARM
SBSA 2.x document. Anding of two registers UARTMSC and UARTRIS values
gives the same information as register UARTMIS.

UARTRIS, UARTMSC and UARTMIS definitions are found in PrimeCell UART
PL011 (Revision: r1p4).
 - 3.3.10 Interrupt mask set/clear register, UARTIMSC
 - 3.3.11 Raw interrupt status register, UARTRIS
 - 3.3.12 Masked interrupt status register, UARTMIS

This change is necessary for driver to be SBSA compliant v2.x without
affecting the current driver functionality.

Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
xen/drivers/char/pl011.c