All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] xen/arm: vgic: Support 32-bit access for 64-bit register
@ 2015-08-04 11:59 Julien Grall
  2015-08-04 11:59 ` [RFC 1/2] xen/arm: vgic: Introduce helpers to read/write/clear/set vGIC register Julien Grall
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Julien Grall @ 2015-08-04 11:59 UTC (permalink / raw)
  To: xen-devel
  Cc: ian.campbell, vijay.kilari, manish.jaggi, Julien Grall,
	stefano.stabellini, Vijaya.Kumar

Hi all,

This series aims to fix the 32-bit access on 64-bit register. Some guest
OS such as FreeBSD and Linux (only in the ITS) use those access and will
crash when starting on Xen.

The first patch introduces generic helpers to read/write/clear/set a register.
While the second is the main purpose of this series.

I'd like to go a bit further in the clean up, hence the RFC. But I wanted them
out in order to help Vijay supporting any access quickly for his ITS series.

TODO:
    - use the new helpers in vGICv2
    - support signed extension generically
    - see what assembly is generated on 32-bit with the uint64_t cast.
    It may be possible to optimize it a bit by avoid uint64_t. Although I'm
    not sure if it's worth it.

Sincerely yours,

Julien Grall (2):
  xen/arm: vgic: Introduce helpers to read/write/clear/set vGIC register
    ...
  xen/arm: vgic-v3: Support 32-bit access for 64-bit registers

 xen/arch/arm/vgic-v3.c     | 126 +++++++++++++++++++++++++++++----------------
 xen/include/asm-arm/vgic.h | 104 +++++++++++++++++++++++++++++++++++++
 2 files changed, 187 insertions(+), 43 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-07 13:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-04 11:59 [RFC 0/2] xen/arm: vgic: Support 32-bit access for 64-bit register Julien Grall
2015-08-04 11:59 ` [RFC 1/2] xen/arm: vgic: Introduce helpers to read/write/clear/set vGIC register Julien Grall
2015-08-04 11:59 ` [RFC 2/2] xen/arm: vgic-v3: Support 32-bit access for 64-bit registers Julien Grall
2015-08-06 16:27   ` Vijay Kilari
2015-09-07 13:30 ` [RFC 0/2] xen/arm: vgic: Support 32-bit access for 64-bit register Julien Grall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.