[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC V3 1/4] Use Aff1 with mpidr This is an impro
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH RFC V3 1/4] Use Aff1 with mpidr This is an improved and KVM-aware alternative to |
Date: |
Mon, 8 Jun 2015 09:01:38 +0100 |
On 8 June 2015 at 08:50, Pavel Fedin <address@hidden> wrote:
>> I think it would be less confusing to store the entire MPIDR
>> here, and then mask it out if there are places that only
>> want the affinity bits.
>
> I thought about it when i developed this, but in my implementation
> affinity bits are assigned during CPU instantiation, while feature
> bits can be added later, during realize. I could tweak set_feature()
> to sync up MPIDR value but perhaps it isn't the best thing to do.
Can we not just assign the whole thing at realize?
> Additionally, currently we support only ARM_FEATURE_V7MP, which is
> 32-bit only. I believe this would be a more complex modification
> which would touch more of 32-bit code.
It's only 32-bit in the sense that all 64-bit systems (indeed, all v8
systems) have the feature and so the bit is effectively RES1.
You need to fix the 32-bit side anyway.
> So would it be acceptable to leave mpidr handling as it is?
I still think that having the whole mpidr in the struct will
be less confusing.
thanks
-- PMM
- [Qemu-devel] [PATCH RFC V3 0/4] Implement GIC-500 from GICv3 family for arm64, Shlomo Pongratz, 2015/06/04
- [Qemu-devel] [PATCH RFC V3 1/4] Use Aff1 with mpidr This is an improved and KVM-aware alternative to, Shlomo Pongratz, 2015/06/04
- Re: [Qemu-devel] [PATCH RFC V3 1/4] Use Aff1 with mpidr This is an improved and KVM-aware alternative to, Peter Maydell, 2015/06/04
- Re: [Qemu-devel] [PATCH RFC V3 1/4] Use Aff1 with mpidr This is an improved and KVM-aware alternative to, Pavel Fedin, 2015/06/08
- Re: [Qemu-devel] [PATCH RFC V3 1/4] Use Aff1 with mpidr This is an improved and KVM-aware alternative to,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH RFC V3 1/4] Use Aff1 with mpidr This is an improved and KVM-aware alternative to, Pavel Fedin, 2015/06/08
- Re: [Qemu-devel] [PATCH RFC V3 1/4] Use Aff1 with mpidr This is an improved and KVM-aware alternative to, Peter Maydell, 2015/06/08
- Re: [Qemu-devel] [PATCH RFC V3 1/4] Use Aff1 with mpidr This is an improved and KVM-aware alternative to, Igor Mammedov, 2015/06/08
- Re: [Qemu-devel] [PATCH RFC V3 1/4] Use Aff1 with mpidr This is an improved and KVM-aware alternative to, Igor Mammedov, 2015/06/08
[Qemu-devel] [PATCH RFC V3 3/4] GICv3 support, Shlomo Pongratz, 2015/06/04
[Qemu-devel] [PATCH RFC V3 4/4] Add virt-v3 machine that uses GIC-500, Shlomo Pongratz, 2015/06/04
[Qemu-devel] [PATCH RFC V3 2/4] Implment GIC-500, Shlomo Pongratz, 2015/06/04