[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 12/16] hw/arm/smmuv3: Add VMID to tlb tagging
From: |
Mostafa Saleh |
Subject: |
Re: [RFC PATCH 12/16] hw/arm/smmuv3: Add VMID to tlb tagging |
Date: |
Thu, 16 Feb 2023 13:52:05 +0000 |
Hi Jean,
Thanks for taking the time to check the patches.
On Wed, Feb 15, 2023 at 07:47:18PM +0000, Jean-Philippe Brucker wrote:
> > diff --git a/hw/arm/smmu-common.c b/hw/arm/smmu-common.c
> > index 541c427684..028a60949a 100644
> > --- a/hw/arm/smmu-common.c
> > +++ b/hw/arm/smmu-common.c
> > @@ -56,10 +56,11 @@ static gboolean smmu_iotlb_key_equal(gconstpointer v1,
> > gconstpointer v2)
> > (k1->level == k2->level) && (k1->tg == k2->tg);
>
> I'm getting some aliasing in the TLB, because smmu_iotlb_key_equal() is
> missing the VMID comparison. With that fixed my handful of tests pass
>
Oh, I missed that, I will update it in v2.
Thanks,
Mostafa
- Re: [RFC PATCH 13/16] hw/arm/smmuv3: Add CMDs related to stage 2, (continued)
[RFC PATCH 10/16] hw/arm/smmuv3: Make TLB lookup work for stage-2, Mostafa Saleh, 2023/02/05
[RFC PATCH 14/16] hw/arm/smmuv3: Add stage-2 support in iova notifier, Mostafa Saleh, 2023/02/05
[RFC PATCH 11/16] hw/arm/smmuv3: Read VMID from STE, Mostafa Saleh, 2023/02/05
[RFC PATCH 12/16] hw/arm/smmuv3: Add VMID to tlb tagging, Mostafa Saleh, 2023/02/05
[RFC PATCH 15/16] hw/arm/smmuv3: Add fault configuration for stage-2, Mostafa Saleh, 2023/02/05
[RFC PATCH 16/16] hw/arm/smmuv3: Enable stage-2 support, Mostafa Saleh, 2023/02/05