[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 03/15] xen/arm: Introduce helpers to clear/flags flags in HCR_EL2



Hi Stefano,

On 08/14/2018 09:46 PM, Stefano Stabellini wrote:
On Mon, 16 Jul 2018, Julien Grall wrote:
A couple of places in the code will need to clear/set flags in HCR_EL2
for a given vCPU and then replicate into the hardware. Introduce
helpers and replace open-coded version.

Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>

The macros look good, but I grepped for them in your series and there
are no more callers. What places are you referring to that they will
need them?

I split some of my work in 2 part to reduce the size of the series. This will be used in another series where updating HCR for trapping TTBR/SCTLR* will be dynamic.

Although in general, this is an improvement compare to the current code as it makes clear what needs to be updated when modifying HCR.

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.