xen/arm: Restrict access to most HVM_PARAM's
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 5 Sep 2018 13:38:42 +0000 (14:38 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 21 Feb 2020 12:38:23 +0000 (12:38 +0000)
commitb4d752e2ba0675875a26ca6aa559cb62c0f44cd7
tree38bb832f99353c1f28d8c3c57d33a8410262078a
parent838e08d07af1e2185d4e139985ea6ca798c0da38
xen/arm: Restrict access to most HVM_PARAM's

ARM currently has no restrictions on toolstack and guest access to the entire
HVM_PARAM block.  As the monitor feature isn't under security support, this
doesn't need an XSA.

The CALLBACK_IRQ and {STORE,CONSOLE}_{PFN,EVTCHN} details are only exposed
read-only to the guest, while MONITOR_RING_PFN is restricted to only toolstack
access.  No other parameters are used.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Julien Grall <julien@xen.org>
xen/arch/arm/hvm.c