Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp191758pxf; Wed, 10 Mar 2021 04:10:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/0XK27tXD/oGitt8+QhD2YbUeyJwnYvqLmDm5HTW0Sy4ORoIZr15ulvRsqzolSpKReI0j X-Received: by 2002:a17:907:d09:: with SMTP id gn9mr3176986ejc.538.1615378201354; Wed, 10 Mar 2021 04:10:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615378201; cv=none; d=google.com; s=arc-20160816; b=vD8E+9kjVUqjMksuu5RpRIE+hxIyhqm4OctsXqzrMsuODpGnnJ5G4x795mD4vp48h6 yrfpdBw/25NEQsz/HjXdKPke/t4MfJVR/Aq68NLX4Szb8u8vq5LoJCcTNtnUhDt2GUWF 9B4BLcnZ47siozl4aG2HlL/ujpYq5oEtRrHKRsNAvY4Xsly+GVO1jYWs5WZwmGAVaPf1 nrBnSMQjDzkwhdK/AED35kNZ/E/pw/Xb5jBggq7kvqYO2+jGMLD4iFIbR/iiWD4lqM+f iGX/hA/SMDv5kjHKaWHNEqTrYEWHBC2NR0v2OdZMIwZMFwMddxn7px5v0XskWWZnkpM7 F2hw== 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 :ironport-sdr:ironport-sdr; bh=+kQrGxEgAaLMq/hnkctTJgnZpB4Tt8Pa9RyBD5/t3vA=; b=sOWM4OWl0U01P/NlG+YTbmM4Qkax6X6E6btRhgmAVNhdyLF/H3zDdBbbcE5d191l7O cVuaGU01IFzmcORJW9Ua89Ty+yF1C5h1c7J9W2bfjDue6gpKI0771iruFjYWQLK1HUNR OnG8QIMhv2XSgUfFOsJyBR4ZvZN1Jm0TOGBUKt0t4tZqUvBkmH1whj9JD2kroJBuOi8y gR28v6CBN+iZkozF5cvNeRLk7c5ul0h5zPgCyN3ToFo3QtzBpEHc+UQ5nDdLqS74ZGba hGMMkfhVZMWs8A2NApyJHom/Cs8Y3N21jBv3bjAMuYJcI+hkglptQ9rmX+PvWBqvfgtA QLOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bk20si11394956ejb.203.2021.03.10.04.09.30; Wed, 10 Mar 2021 04:10:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232902AbhCJMFz (ORCPT + 99 others); Wed, 10 Mar 2021 07:05:55 -0500 Received: from mga18.intel.com ([134.134.136.126]:40617 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232985AbhCJMFm (ORCPT ); Wed, 10 Mar 2021 07:05:42 -0500 IronPort-SDR: NfAu9YXbYMo2Liwmm5JwHzDe2qUe5QAXJZQe6gSL0mRtcwPFFgf7uBkVO9wc/hbvlOwgzfL26N EqblV5RX7RvA== X-IronPort-AV: E=McAfee;i="6000,8403,9917"; a="176048325" X-IronPort-AV: E=Sophos;i="5.81,237,1610438400"; d="scan'208";a="176048325" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2021 04:05:41 -0800 IronPort-SDR: Sv/7lmh+oYy9YXTuK6T+oVj4wy6XqXQAevOODZkBBEmybeHO/Z++EkCMx6axv6mSN+Q/VHyQoW uW9diC3DExfw== X-IronPort-AV: E=Sophos;i="5.81,237,1610438400"; d="scan'208";a="409058518" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2021 04:05:37 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lJxao-00BJhJ-9S; Wed, 10 Mar 2021 14:05:34 +0200 Date: Wed, 10 Mar 2021 14:05:34 +0200 From: Andy Shevchenko To: Lee Jones Cc: Wolfram Sang , Jean Delvare , Tan Jui Nee , Jim Quinlan , Jonathan Yong , Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pci@vger.kernel.org, Jean Delvare , Peter Tyser , hdegoede@redhat.com, henning.schild@siemens.com Subject: Re: [PATCH v1 5/7] mfd: lpc_ich: Switch to generic pci_p2sb_bar() Message-ID: References: <20210308122020.57071-1-andriy.shevchenko@linux.intel.com> <20210308122020.57071-6-andriy.shevchenko@linux.intel.com> <20210310103539.GF701493@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210310103539.GF701493@dell> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 10, 2021 at 10:35:39AM +0000, Lee Jones wrote: > On Mon, 08 Mar 2021, Andy Shevchenko wrote: > > > Instead of open coding pci_p2sb_bar() functionality we are going to > > use generic library for that. There one more user of it is coming. > > > > Besides cleaning up it fixes a potential issue if, by some reason, > > SPI bar is 64-bit. > > Probably worth cleaning up the English in both these sections. > > Instead of open coding pci_p2sb_bar() functionality we are going to > use generic library. There is one more user en route. > > This is more than just a clean-up. It also fixes a potential issue > seen when SPI bar is 64-bit. Thanks! > Also worth briefly describing what that issue is I think. Current code works if and only if the PCI BAR of the hidden device is inside 4G address space. In case firmware decides to go above 4G, we will get a wrong address. Does it sound good enough? > > Signed-off-by: Andy Shevchenko > > --- > > drivers/mfd/Kconfig | 1 + > > drivers/mfd/lpc_ich.c | 20 ++++++-------------- > > 2 files changed, 7 insertions(+), 14 deletions(-) > > Code looks fine: > > For my own reference (apply this as-is to your sign-off block): > > Acked-for-MFD-by: Lee Jones Thanks for reviewing this series, can you have a look at the earlier sent [1] and [2]? First one has a regression fix. [1]: https://lore.kernel.org/lkml/20210302135620.89958-1-andriy.shevchenko@linux.intel.com/T/#u [2]: https://lore.kernel.org/lkml/20210301144222.31290-1-andriy.shevchenko@linux.intel.com/T/#u -- With Best Regards, Andy Shevchenko