Linux KVM/arm64 development list
 help / color / mirror / Atom feed
* KVM userspace GICv2 IRQ controller on platform with GICv3
@ 2021-10-04 10:07 Lukas Jünger
  2021-10-04 10:24 ` Marc Zyngier
  0 siblings, 1 reply; 9+ messages in thread
From: Lukas Jünger @ 2021-10-04 10:07 UTC (permalink / raw)
  To: kvmarm; +Cc: maz, will, catalin.marinas


[-- Attachment #1.1: Type: text/plain, Size: 676 bytes --]

Hello,

I am trying to run an emulator that uses KVM on arm64 to execute code. 
The emulator contains a userspace model of a GICv2 IRQ controller. The 
platform that I am running on (n1sdp) has a GICv3. When I boot Linux in 
the emulator I run into gic_check_cpu_features()  in 
drivers/irqchip/irq-gic.c, which taints the kernel as the host uses 
system registers to communicate with the host GICv3. I saw that 
ICC_SRE_ELx can be used to force MMIO, but setting this from inside the 
VM did not work and using KVM_SET_ONE_REG failed with error.

Is there a way to use a userspace GICv2 model with KVM on a GICv3 host 
without tainting?

Thanks,

Lukas



[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5964 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

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

end of thread, other threads:[~2021-10-05 12:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-04 10:07 KVM userspace GICv2 IRQ controller on platform with GICv3 Lukas Jünger
2021-10-04 10:24 ` Marc Zyngier
2021-10-04 10:30   ` Lukas Jünger
2021-10-04 11:02     ` Marc Zyngier
2021-10-04 11:27       ` Lukas Jünger
2021-10-04 13:11         ` Marc Zyngier
2021-10-04 14:15           ` Lukas Jünger
2021-10-04 15:48             ` Marc Zyngier
2021-10-05 12:06               ` Lukas Jünger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox