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 C8115C433F5 for ; Mon, 14 Feb 2022 12:52:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353547AbiBNMwt (ORCPT ); Mon, 14 Feb 2022 07:52:49 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:45086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243650AbiBNMwk (ORCPT ); Mon, 14 Feb 2022 07:52:40 -0500 Received: from theia.8bytes.org (8bytes.org [81.169.241.247]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B422F9FF2 for ; Mon, 14 Feb 2022 04:52:32 -0800 (PST) Received: by theia.8bytes.org (Postfix, from userid 1000) id D371C36D; Mon, 14 Feb 2022 13:52:29 +0100 (CET) Date: Mon, 14 Feb 2022 13:52:28 +0100 From: Joerg Roedel To: Lu Baolu Cc: Jason Gunthorpe , Christoph Hellwig , Ben Skeggs , Kevin Tian , Ashok Raj , Will Deacon , Robin Murphy , Alex Williamson , Eric Auger , Liu Yi L , Jacob jun Pan , David Airlie , Daniel Vetter , Thierry Reding , Jonathan Hunter , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH v3 06/10] drm/nouveau/device: Get right pgsize_bitmap of iommu_domain Message-ID: References: <20220214015538.2828933-1-baolu.lu@linux.intel.com> <20220214015538.2828933-7-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220214015538.2828933-7-baolu.lu@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 14, 2022 at 09:55:34AM +0800, Lu Baolu wrote: > The supported page sizes of an iommu_domain are saved in the pgsize_bitmap > field. Retrieve the value from the right place. > > Signed-off-by: Lu Baolu > Reviewed-by: Robin Murphy > Link: https://lore.kernel.org/r/20211218074546.1772553-1-baolu.lu@linux.intel.com > Reviewed-by: Christoph Hellwig > Reviewed-by: Jason Gunthorpe Acked-by: Joerg Roedel I guess this is picked up by the DRM maintainers?