]> xenbits.xensource.com Git - xen.git/commit
xen/arm: initialize vpl011 flag register
authorJeff Kubascik <jeff.kubascik@dornerworks.com>
Mon, 25 Nov 2019 20:58:00 +0000 (15:58 -0500)
committerJulien Grall <julien@xen.org>
Tue, 3 Dec 2019 11:35:33 +0000 (11:35 +0000)
commitb4637ed6cd5375f04ac51d6b900a9ccad6c6c03a
tree320f9384a78b05b76abea1e1d8e3b5653f478b45
parentcadd31c544287e545cc1e69984f188941380dc2d
xen/arm: initialize vpl011 flag register

The tx/rx fifo flags were not set when the vpl011 is initialized. This
is a problem for certain guests that are operating in polled mode, as a
guest will generally check the rx fifo empty flag to determine if there
is data before doing a read. The result is a continuous spam of the
message "vpl011: Unexpected IN ring buffer empty" before the first valid
character is received. This initializes the flag status register to the
default specified in the PL011 technical reference manual.

Signed-off-by: Jeff Kubascik <jeff.kubascik@dornerworks.com>
Acked-by: Julien Grall <julien@xen.org>
xen/arch/arm/vpl011.c