[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: |
Eric Auger |
Subject: |
Re: [RFC PATCH 12/16] hw/arm/smmuv3: Add VMID to tlb tagging |
Date: |
Thu, 16 Feb 2023 17:53:40 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 |
On 2/16/23 14:53, Mostafa Saleh wrote:
> Hi Eric,
>
> On Thu, Feb 16, 2023 at 11:17:34AM +0100, Eric Auger wrote:
>>> }
>>>
>>> - *key = smmu_get_iotlb_key(cfg->asid, new->entry.iova, tg, new->level);
>>> + *key = smmu_get_iotlb_key(cfg->asid, cfg->s2cfg.vmid, new->entry.iova,
>>> + tg, new->level);
>>> trace_smmu_iotlb_insert(cfg->asid, new->entry.iova, tg, new->level);
>> you may update the trace point as well
> I can add a stage argument here, however I don’t think it is necessary
> now as TLBs are either used for stage-1 or stage-2, not both.
no I meant adding the vmid value there
Eric
>
> Thanks,
> Mostafa
>
- Re: [RFC PATCH 10/16] hw/arm/smmuv3: Make TLB lookup work for stage-2, (continued)
[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