Hello! > I think encoding should be CPU type specific i.e. not defined by what > GIC can support and once we add CPU type with 8 cores, it would provide > it's own version of mpidr_read since it would be defined by spec > how to encode aff0.
I have redone this thing from scratch: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg04495.html My implementation does exactly this. It simply introduces CPU-specific MPIDR value which CPUs can set as they wish. Also this is used by KVM because KVM has its own ideas about how CPUs are clustered. I posted that without RFC, because i think it's ready for application, but my message seems to have been lost. Looks like i forgot Cc to the maintainer. My current vGICv3 work-in-progress is based on this. If Shlomo does not respond until friday, i think i'll post a new vGICv3 series based on master. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia