<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
On 10/6/2023 03:20, Nirmoy Das wrote:<br>
<blockquote type="cite" cite="mid:b95d8be7-c546-1b1c-3975-a4ef6257a28d@intel.com">
<br>
On 10/6/2023 12:11 PM, Tvrtko Ursulin wrote:
<br>
<blockquote type="cite">
<br>
Hi,
<br>
<br>
<br>
Andi asked me to summarize what I think is unaddressed review
feedback so far in order to consolidate and enable hopefully
things to move forward. So I will try to re-iterate the comments
and questions below.
<br>
<br>
But also note that there is a bunch of new valid comments from
John against v7 which I will not repeat.
<br>
<br>
On 05/10/2023 20:35, Jonathan Cavitt wrote:
<br>
<blockquote type="cite">...
<br>
+enum intel_guc_tlb_invalidation_type {
<br>
+ INTEL_GUC_TLB_INVAL_FULL = 0x0,
<br>
+ INTEL_GUC_TLB_INVAL_GUC = 0x3,
<br>
</blockquote>
<br>
New question - are these names coming from the GuC iface? I find
it confusing that full does not include GuC but maybe it is just
me. So maybe full should be called GT or something? Although
then again it wouldn't be clear GT does not include the GuC..
bummer. GPU? Dunno. Minor confusion I guess so can keep as is.
<br>
</blockquote>
<br>
I agree this is bit confusing name. We are using
INTEL_GUC_TLB_INVAL_GUC to invalidate ggtt, how about
INTEL_GUC_TLB_INVAL_GGTT ?
<br>
<br>
</blockquote>
The GuC interface spec says:<br>
<blockquote>GUC_TLB_INV_TYPE_TLB_INV_FULL_INTRA_VF = 0x00<br>
Full TLB invalidation within a VF. Invalidates VF’s TLBs only if
that VF is active, will invalidate across all engines.<br>
<br>
GUC_TLB_INV_TYPE_TLB_INV_GUC = 0x03<br>
Guc TLB Invalidation.<br>
</blockquote>
<br>
So the 'GUC' type is not GGTT, it is the TLBs internal to GuC itself
is how I would read the above. Whereas 'FULL' is everything that is
per-VF, aka everything in the GT that is beyond the GuC level - i.e.
the engines, EUs and everything from there on.<br>
<br>
So I think the INVAL_GUC name is correct. But maybe INVAL_FULL
should be called INVAL_VF? Or INVAL_ENGINES if you don't like using
the VF term in a non-SRIOV capable driver?<br>
<br>
John.<br>
<br>
</body>
</html>