Re: [Xen-devel] [RFC 12/16] gic-v2: Write HCR only on change

2018-11-29 Thread Julien Grall
On 28/11/2018 21:32, Andrii Anisov wrote: From: Andrii Anisov This saves one write to peripheral HCR register per hypervisor entry for most cases. Signed-off-by: Andrii Anisov --- xen/arch/arm/gic-v2.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[Xen-devel] [RFC 12/16] gic-v2: Write HCR only on change

2018-11-28 Thread Andrii Anisov
From: Andrii Anisov This saves one write to peripheral HCR register per hypervisor entry for most cases. Signed-off-by: Andrii Anisov --- xen/arch/arm/gic-v2.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c index