qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] hw/arm/virt: Handle HVF in finalize_gic_version()
@ 2022-12-20 23:04 Alexander Graf
  2022-12-20 23:04 ` [PATCH 1/2] hw/arm/virt: Consolidate GIC finalize logic Alexander Graf
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexander Graf @ 2022-12-20 23:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, qemu-arm, Zenghui Yu

The finalize_gic_version() function tries to determine which GIC version
the current accelerator / host combination supports. During the initial
HVF porting efforts, I didn't realize that I also had to touch this
function. Then Zenghui brought up this function as reply to my HVF GICv3
enablement patch - and boy it is a mess.

This patch set cleans up all of the GIC finalization so that we can
easily plug HVF in and also hopefully will have a better time extending
it in the future. As second step, it explicitly adds HVF support and
fails loudly for any unsupported accelerators.

Alex

Alexander Graf (2):
  hw/arm/virt: Consolidate GIC finalize logic
  hw/arm/virt: Make accels in GIC finalize logic explicit

 hw/arm/virt.c         | 199 ++++++++++++++++++++++--------------------
 include/hw/arm/virt.h |  12 +--
 2 files changed, 110 insertions(+), 101 deletions(-)

-- 
2.37.1 (Apple Git-137.1)



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

end of thread, other threads:[~2022-12-21  9:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-20 23:04 [PATCH 0/2] hw/arm/virt: Handle HVF in finalize_gic_version() Alexander Graf
2022-12-20 23:04 ` [PATCH 1/2] hw/arm/virt: Consolidate GIC finalize logic Alexander Graf
2022-12-21  3:35   ` Zenghui Yu via
2022-12-21  9:28     ` Alexander Graf
2022-12-20 23:04 ` [PATCH 2/2] hw/arm/virt: Make accels in GIC finalize logic explicit Alexander Graf
2022-12-21  3:28 ` [PATCH 0/2] hw/arm/virt: Handle HVF in finalize_gic_version() Zenghui Yu via

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).