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 BB38BC433F5 for ; Mon, 7 Feb 2022 07:18:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242571AbiBGHRq (ORCPT ); Mon, 7 Feb 2022 02:17:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241383AbiBGHMM (ORCPT ); Mon, 7 Feb 2022 02:12:12 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3553AC043181 for ; Sun, 6 Feb 2022 23:12:12 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 72D1068BFE; Mon, 7 Feb 2022 08:12:09 +0100 (CET) Date: Mon, 7 Feb 2022 08:12:09 +0100 From: Christoph Hellwig To: Lu Baolu Cc: Joerg Roedel , Kevin Tian , Ashok Raj , Liu Yi L , Jacob Pan , Robin Murphy , Jason Gunthorpe , Christoph Hellwig , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 06/10] iommu/vt-d: Remove DEFER_DEVICE_DOMAIN_INFO Message-ID: <20220207071209.GF23941@lst.de> References: <20220207064142.1092846-1-baolu.lu@linux.intel.com> <20220207064142.1092846-7-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220207064142.1092846-7-baolu.lu@linux.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > struct device_domain_info *get_domain_info(struct device *dev) > { > + return dev_iommu_priv_get(dev); > } I'd remove this now pointles wrapper entirely.