From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93034C433F5 for ; Fri, 6 May 2022 14:53:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442312AbiEFO4q (ORCPT ); Fri, 6 May 2022 10:56:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442497AbiEFO4j (ORCPT ); Fri, 6 May 2022 10:56:39 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAA776B098 for ; Fri, 6 May 2022 07:52:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 89AD2B83666 for ; Fri, 6 May 2022 14:52:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0897C385A8; Fri, 6 May 2022 14:52:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651848773; bh=PAte/TbD+ZopDPC2fZXFq6Gm6BzyW3fPcZytc2NUz+c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=snMPIIFhggEyAO8fjgHMZmwIgLJhufwFA05SA1g9ebMYmljzA5IbHJd9J1iClgTDV 8z9uxSrjxrCaCl7vvlEqazjm9lwiDLFmNpZY+XM2HxFkVhzrb7XsdafnR8MVM0WvHV UmasghmXuJD0kkYdtTkNZXlmelg4tk5VH2hSr+XA= Date: Fri, 6 May 2022 16:52:49 +0200 From: Greg KH To: "Kun(llfl)" Cc: Jiangbo Wu , Xu Yu , Lu Baolu , Sanjay Kumar , stable@vger.kernel.org, Jon Derrick Subject: Re: [PATCH 06/19] iommu/vt-d: Fix clearing real DMA device's scalable-mode context entries Message-ID: References: <20220506120057.77320-1-llfl@linux.alibaba.com> <20220506120057.77320-6-llfl@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220506120057.77320-6-llfl@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Fri, May 06, 2022 at 08:00:44PM +0800, Kun(llfl) wrote: > From: Lu Baolu > > ANBZ: #1105 > > commit 474dd1c6506411752a9b2f2233eec11f1733a099 upstream. > > The commit 2b0140c69637e ("iommu/vt-d: Use pci_real_dma_dev() for mapping") > fixes an issue of "sub-device is removed where the context entry is cleared > for all aliases". But this commit didn't consider the PASID entry and PASID > table in VT-d scalable mode. This fix increases the coverage of scalable > mode. > > Suggested-by: Sanjay Kumar > Fixes: 8038bdb855331 ("iommu/vt-d: Only clear real DMA device's context entries") > Fixes: 2b0140c69637e ("iommu/vt-d: Use pci_real_dma_dev() for mapping") > Cc: stable@vger.kernel.org # v5.6+ Same here, what kernels is this to be applied to, and what is the "ANBZ" tag? thanks, greg k-h