qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* SMMU Stage 2 translation in QEMU
@ 2021-09-09 20:17 shashi.mallela
  2021-09-10  9:25 ` Peter Maydell
  0 siblings, 1 reply; 8+ messages in thread
From: shashi.mallela @ 2021-09-09 20:17 UTC (permalink / raw)
  To: QEMU Developers

Hi All,

I am trying to understand the approach required for an emulated SMMU to
convert IPAs(from each qemu guest) to PAs(respective host addresses)
using stage 2 tables.

The questions i have are:-

1) Since SMMU stage 2 tables are expected to be created and managed by
a hypervisor,if there is no kvm support,who is responsible to create
the stage 2 tables in host memory? is it even a valid use case to
consider smmu stage 2 support with no hypervisor present?

2) with SMMU emulated by qemu:-
a) who is responsible for hosting and programming the stage 2 table
base address registers? 
b) what are the APIs available in qemu to access the stage 2 tables?
(will address_space_ API variants apply here?)

3) if each qemu instance (for a guest) emulates an SMMU,will there be a
need to protect concurrent access of stage 2 table(in host) by each of
the SMMUs?

Thanks
Shashi



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

end of thread, other threads:[~2021-09-15 10:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-09 20:17 SMMU Stage 2 translation in QEMU shashi.mallela
2021-09-10  9:25 ` Peter Maydell
2021-09-10 12:39   ` shashi.mallela
2021-09-10 12:54     ` Peter Maydell
2021-09-10 13:32       ` shashi.mallela
2021-09-13  8:19         ` Eric Auger
2021-09-14 15:57           ` shashi.mallela
2021-09-15 10:23             ` Eric Auger

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).