Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5973736pxb; Mon, 14 Feb 2022 12:05:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxA4IdurtSaQmiHZ1qZy7utQ7A8YFV/yPx15s0JtCZ92JyZGtvo68r2zbhBU34qHdG98dXR X-Received: by 2002:a65:424d:: with SMTP id d13mr602293pgq.82.1644869104381; Mon, 14 Feb 2022 12:05:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644869104; cv=none; d=google.com; s=arc-20160816; b=GO6iZEwtM1juqUAs+P9bNciNLQdW7XgbPp2xF/7QkmguuPDzIyeF42nHHBbqBv/707 ys+QWYFtPl3q4ZO8yIWCy7qL4gxwnptT9NTCxiwZSWLI0B4ndTx2kpwU+wDrvG+gnK6G bTlkYioJXcHlcsF+qR8htg48MCrzT2geHN9W2gQDZkmn0okg8HDgvehuR1lcWGGuNP0p FwEIAKHagw5N0e99sS5jslV3lDWTbU2NtQT/o7pa5c1FssplS6Tbxy4QEaav2UFs4+51 0AW0uTg9pWNfY5FAj035gIL9+ch/PAuz+W18+bAO2mqhX+du5aYBHqMi6Jln8ylcfNAi cHnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=3A+8H36W3dgqungl36CKhsiHxR8ke9za7wwEjIx1D2A=; b=J9XHkYl69ZNVLlUE8gmYeBxF9+TY18PsUQA4bz6ZNoLdADxwYDNtHYar92MmY/AuiR 6mTgU96sKD4rgziLjYiUj41kRJ+cR1RfFK20OMGF2puOqoP/Y+al4Vzc73MzDCsZwGta LoZgL56Kdga7OiCFcleepRI+X78/ywTd4Dej1lbpjors5eW8G79L7zcuKossidseNeOY sZTlQCdMpPmjDsGCaXIjfjJFfJY49S+qfCqxwUn2nNHrfQtI2KlMWDMvei71Vaop6nEA ATNg6efIRLibovtEWs0yBwY97VEAL9dOCaTl3sxfhKPcVPZ7CTbFyK17JgLTNgJwYxQo Q8YA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id nr18si11860720pjb.164.2022.02.14.12.05.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 12:05:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 505C61133CC; Mon, 14 Feb 2022 11:43:49 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233578AbiBNMwt (ORCPT + 99 others); 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> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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?