AMD General Thanks to catch this .
RB : Shaoyun.liu <[email protected]> Regards Shaoyun.liu -----Original Message----- From: Alex Deucher <[email protected]> Sent: Tuesday, August 4, 2026 10:12 AM To: Deucher, Alexander <[email protected]> Cc: [email protected]; Liu, Shaoyun <[email protected]> Subject: Re: [PATCH] drm/amdgpu/gmc12.1: fix MMHUB0 check in pasid tlb flush Gentle ping? On Fri, Jul 31, 2026 at 10:05 AM Alex Deucher <[email protected]> wrote: > > Ping? > > On Tue, Jul 28, 2026 at 11:48 AM Alex Deucher <[email protected]> > wrote: > > > > Check for mmhub0 rather than mmhub1. Looks like a copy paste typo. > > > > Fixes: d0c989a0aad3 ("drm/amd/amdgpu : Use the MES INV_TLBS API for > > tlb invalidation on gfx12_1") > > Cc: Shaoyun Liu <[email protected]> > > Signed-off-by: Alex Deucher <[email protected]> > > --- > > drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c > > b/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c > > index 855cd29cbffaa..54a5e64f53b3b 100644 > > --- a/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c > > +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c > > @@ -396,7 +396,7 @@ static void gmc_v12_1_flush_gpu_tlb_pasid(struct > > amdgpu_device *adev, > > > > if (all_hub) { > > /* invalidate mm_hub */ > > - if (test_bit(AMDGPU_MMHUB1(0), adev->vmhubs_mask)) { > > + if (test_bit(AMDGPU_MMHUB0(0), > > + adev->vmhubs_mask)) { > > input.hub_id = AMDGPU_MMHUB0(0); > > > > adev->mes.funcs->invalidate_tlbs_pasid(&adev->mes, &input); > > } > > -- > > 2.55.0 > >
