Hi Eric,
>-Original Message-
>From: Eric Auger
>Subject: Re: [PATCH rfcv2 10/20] intel_iommu: Optimize context entry cache
>utilization
>
>Hi Zhenzhong,
>
>On 2/19/25 9:22 AM, Zhenzhong Duan wrote:
>> There are many call sites refere
Hi Zhenzhong,
On 2/19/25 9:22 AM, Zhenzhong Duan wrote:
> There are many call sites referencing context entry by calling
> vtd_as_to_context_entry() which will traverse the DMAR table.
didn't you mean vtd_dev_to_context_entry? instead
>
> In most cases we can use cached context entry in vtd_as->co
There are many call sites referencing context entry by calling
vtd_as_to_context_entry() which will traverse the DMAR table.
In most cases we can use cached context entry in vtd_as->context_cache_entry
except it's stale. Currently only global and domain context invalidation
stales it.
So introduc