|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 4/6] xen/arm: set VPIDR based on the MIDR value of the underlying pCPU
Hi,Something is wrong with the threading of this series. Most of the patches are threaded below #1 rather than #0. On 01/03/18 23:26, Stefano Stabellini wrote: On big.LITTLE systems not all cores have the same MIDR. Instead of storing only one VPIDR per domain, initialize it to the value of the MIDR of the pCPU where the vCPU will run. This way, assuming that the vCPU has been created with the right pCPU affinity, the guest will be able to read the right VPIDR value, matching the one of the physical cpu. Signed-off-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> Reviewed-by: Julien Grall <julien.grall@xxxxxxx> Cheers, --- Changes in v3: - improve commit message - do not store vpidr in struct vcpu Changes in v2: - remove warning message - make vpidr per vcpu --- xen/arch/arm/domain.c | 8 ++++---- xen/arch/arm/vcpreg.c | 4 ++-- xen/include/asm-arm/domain.h | 3 --- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index 5e76809..545bbf6 100644 --- a/xen/arch/arm/domain.c +++ b/xen/arch/arm/domain.c @@ -172,6 +172,8 @@ static void ctxt_switch_from(struct vcpu *p)static void ctxt_switch_to(struct vcpu *n) -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |