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 6F2D8C433EF for ; Tue, 15 Feb 2022 02:10:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233423AbiBOCKT (ORCPT ); Mon, 14 Feb 2022 21:10:19 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:56702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232846AbiBOCKR (ORCPT ); Mon, 14 Feb 2022 21:10:17 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BB5E141444 for ; Mon, 14 Feb 2022 18:10:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644891009; x=1676427009; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=KarI2KGIBoMIjz9i6cuv3KYdqwF8kbc+NTQdpXJE3+M=; b=FsNlWmjhyOZDi489WZsUe3KBGfldmrfMgr77atLkI7gpSRsxl8D0a7FK 1UCkHJPwl98H/LYi6GO7zFUMWdYT4df42sws1JxyCEzJM+MJXk4IJSdXI 5+Kvxw+OINR2yyU74HAsZjuvv8wh64LtbxArJjzQNyn6n2amx7dvPU2EU jNE0/2qEftIV6GVq73yBav1p92fAvujwZ2Uyw49634VBdkuCQ7o7iw0rO IqO0K7uWASzshFfT7DAYJeWEDTypFC6hdbPv9D7vlClmjn06jqJxOQ+87 6gA09mnmwfZF5tsJNPikQe8DUeEeBvvCeFU5Zpx2dN4z4TrmaH614scKL w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="336657705" X-IronPort-AV: E=Sophos;i="5.88,369,1635231600"; d="scan'208";a="336657705" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 18:10:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,369,1635231600"; d="scan'208";a="680795973" Received: from allen-box.sh.intel.com (HELO [10.239.159.118]) ([10.239.159.118]) by fmsmga001.fm.intel.com with ESMTP; 14 Feb 2022 18:10:04 -0800 Message-ID: Date: Tue, 15 Feb 2022 10:08:46 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Cc: baolu.lu@linux.intel.com, 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 Content-Language: en-US To: Joerg Roedel References: <20220214015538.2828933-1-baolu.lu@linux.intel.com> <20220214015538.2828933-7-baolu.lu@linux.intel.com> From: Lu Baolu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/14/22 8:52 PM, Joerg Roedel wrote: > 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? > I would like this patch to go through the iommu tree. This series could not be compiled without this change. Best regards, baolu