Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3795485rwa; Tue, 23 Aug 2022 10:12:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR7jNKCCWwcB463CUezVSYY3RwsTdS7kQ4bK6SFEMHMIQhmSPJ4PC6360VJvN4jMWqZrWtRZ X-Received: by 2002:a65:6e82:0:b0:41a:9b73:f0e6 with SMTP id bm2-20020a656e82000000b0041a9b73f0e6mr21764454pgb.371.1661274777830; Tue, 23 Aug 2022 10:12:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661274777; cv=none; d=google.com; s=arc-20160816; b=VVKXLQTbI1dqAKa1P/NDIyjdrplQNnhp7dfLyvcGv4uKMiaCghJxKtxwWTrVw58f3q FtrLc0dyy4EFp1R3MQq8ZwM3UOPhHaMxdeBpruGQX+LzAloa58SzE9G4P/MQeqGX3pc5 5JSZoBM+9YY2gTYZn8fUfYeFAKNDmRZ0qrDPPghGfSykJCl6BWQKTfY6RtyDQO2VYI8e Fzqz2X0Ct3yWmaVUQqr7g61MjVardb7T/t3mWW5KJU6gP+xnPrxMCInOiRUqkW6OtZFO oxnWTyQ/dO6JIPcUR/y6FLThekLag4fXbrDJ6wmmQNDHy2ZFNEgAo7mq45Fy4yiv0kQW jIFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Nvnq98lB4g9mmhxxz002ZY+K4zziV0RzoQe0lDnQFjA=; b=0se3tL8tpmzNnBijpr3USIn/9+2qM4cFfhoACGdoQk7Z1ZfLc6J5QEBKuzL15Y9zsn bVny1L98v+lcQ9VTjGiFRysML0aBlZ666DbwPQmJp4QE2DGEfpI7O5I5cHnV/esrMFUf 9bkUZ8osFDMQIjBMvafZs4uu+2sHBt5WY3ZdCsJm3ExhDJ7okA6jj+vXL8rAox2gD9S0 7lJb+ABxkL8+1GlZLsOoIGemb/nA7TfUMkas8+2qBzclBoBHX50M/h4HYxmdtEA6gAhH wcMaTlrfeUEXBFYAib08pc4bWpatgLxSsX/kXENxzhjlTm2cMxChDevGhJa69BdXPEr2 sxew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eDyy4F3T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i1-20020a170902c94100b0016d8b0dfd3fsi1897415pla.566.2022.08.23.10.12.46; Tue, 23 Aug 2022 10:12:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eDyy4F3T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343580AbiHWRDn (ORCPT + 99 others); Tue, 23 Aug 2022 13:03:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343780AbiHWRBi (ORCPT ); Tue, 23 Aug 2022 13:01:38 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22A394D4D4 for ; Tue, 23 Aug 2022 07:08:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661263728; x=1692799728; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4lie7gCXObgs3m8jIr59zMMngmZ8Lu+4cTjSxyVLY4Q=; b=eDyy4F3TCPpAIoPxiiRiphl8Or7CVkiPCJxXlvTSBkz1n6Ve7pNgyFhe tXI12tKAocPX+WkFmrwSej9KEDgnsXZ8dxaVAQ3V7aoT7uW3xiKVDKmwx 5RHTGKD/K7V+wGKW+C9ftYYrhUBqnIctP0VUJjXSMSnoo+y4l2VIDh//5 K0G6ULGOtHlD+1DtwVojNc2bkE0i2NnCA/TIeSHTPkJVFi25t27qv1iRn M83lux+ymElvoaLJSsSPubfOwgFMvwv9SYLXUJp4kqCkNhTv0Fq0Lh/6Y 49ZpnDrzT4YmuCJsgoF7Bl+zijmj0h7UK6jcCuFMBKFscRJ2fSXpRtszw g==; X-IronPort-AV: E=McAfee;i="6500,9779,10448"; a="319742037" X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="319742037" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 07:08:47 -0700 X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="735491062" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 07:08:45 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oQUaA-002T4V-1A; Tue, 23 Aug 2022 17:08:42 +0300 Date: Tue, 23 Aug 2022 17:08:42 +0300 From: Andy Shevchenko To: Jean-Philippe Brucker Cc: Joerg Roedel , virtualization@lists.linux-foundation.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Joerg Roedel , Will Deacon , Robin Murphy Subject: Re: [PATCH v1 1/1] iommu/virtio: Do not dereference fwnode in struct device Message-ID: References: <20220801165142.20898-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Tue, Aug 09, 2022 at 08:20:48AM +0100, Jean-Philippe Brucker wrote: > On Mon, Aug 01, 2022 at 07:51:42PM +0300, Andy Shevchenko wrote: > > In order to make the underneath API easier to change in the future, > > prevent users from dereferencing fwnode from struct device. > > Instead, use the specific device_match_fwnode() API for that. > Reviewed-by: Jean-Philippe Brucker Thanks! Can it be applied now? -- With Best Regards, Andy Shevchenko