Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp221617pxf; Wed, 10 Mar 2021 05:01:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8KzKgcClNO029TQHiUQTA6wL9v7oYQpNjgMqeDKurkmmcPd4Jv9WklOtvQUsrYw9vmFol X-Received: by 2002:a17:906:1a4b:: with SMTP id j11mr3540532ejf.55.1615381266937; Wed, 10 Mar 2021 05:01:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615381266; cv=none; d=google.com; s=arc-20160816; b=KqS1jdnPkyYkIPB9mCkbatpu+62wp6kh/XAKFr8yeLqI72Tr9qTp4L28oJHlSMU96a GaLMgvd4ZsCC/IeDCnZN7b1VMVl7e6VdC4L2uQj8DXFZ1OQVq1T2wczfsjrV7OsyHW4/ wLruUpebaFuiXx8whvSc7vOq/mmJUJMXFYBLAgPj/lPQJaEjuJFomTEJextUqNKM7XWc d1GQgYMXUjPl0YM6pQjGF6kIceR5gOERn64hSc2pDz+9kpEoa4EOLNQuPcYBE3Wq1gee UmHWoCsMizeRSmFMO8MZkYcRCg8qBGesKeS7gsY+vjbZ/N73svSnjthmlpDVN7y/I5Cl RvzA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cTMvOE1aY9tYXdGR+TBQv9AHcsTzbR2H/zyw8rY1gFg=; b=p5Px2w5aFoXkZc6DZmmMTbWAz/PCeBEvwXqy47uWLAbApOolAMniORtvFk9Xhgt0sI jlWKf+WLFhQB05riRkj4i9hw+nYvB5Usgyjj7kMHP+IiGgWaNwyZBgpfy2huvDCQrKjB /S6AMftjBk/ORfCOleMfxDeKtbCrl9muT7uPmKCbJ8VwNlfB9iWvGgwKvIOxbwj+6hIl M/5KoJDIahLCwKi0iC3c/swfjkRXuV4ZsauI2QOD+X0nWoMVx+huwmyz28QeCw0z1ZqJ KUMzfo2tg5LLC/UaDrEDKKhg1SjErjKRUf9ejvz/gIhwlY6bF3+fNrBNxRr32uCEjlm9 q1dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=voDChAeP; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t5si7291596ejj.303.2021.03.10.05.00.44; Wed, 10 Mar 2021 05:01:06 -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; dkim=pass header.i=@linaro.org header.s=google header.b=voDChAeP; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232059AbhCJM5l (ORCPT + 99 others); Wed, 10 Mar 2021 07:57:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233112AbhCJM5a (ORCPT ); Wed, 10 Mar 2021 07:57:30 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFA22C061761 for ; Wed, 10 Mar 2021 04:57:29 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id f12so23216466wrx.8 for ; Wed, 10 Mar 2021 04:57:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=cTMvOE1aY9tYXdGR+TBQv9AHcsTzbR2H/zyw8rY1gFg=; b=voDChAePN3lGcrI+g15hdroCEK19w9WwMjBdiBbBV4/seg/y5UOOG69R6m8xrqITQl rCLhxWlbdBRREwbtvKGAqfhSVA1jSkWufntZUX87g3R+qI1yBCITczkoDxwLFH1zp/nL YAiCniEegwIQD/4zs/JCuIwO5JjV3w5IUifu6xT/tmRbmoMUPPxYZrn/GfkOY2vJiohH anofs2ni8L7kkhd8IYYYoCtg2CwgH24OUYtZZ5lwjwFmLydKlKiWLtwJ3aMkKCvc/NnH UHr3awiKzo/YSG6ZOn0kh64cs3RaZwulewChFglI7winAthP4vJG61RbR+rdP4xODIwQ 4bXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=cTMvOE1aY9tYXdGR+TBQv9AHcsTzbR2H/zyw8rY1gFg=; b=IuNbjkaLO8jy/mehlpkwghj4q48QOsqHOsghgbXtdhoD9n2xLqV9tKVZkkHZuVC7i6 MCAstYuOsOzniv1pmCaUl8WPHwX1GAVaUg9TXs44ZQ8dTJi2UUJutFQKPfCeVkV9GY3J q90XdSjaOG1OpEQFa4pOMO9AvIHQNpPoTLWt5HLTd/mgr9Ro3cZUeMhKa/DQl4kUut+r CvIxGSAoRa4LCcut37ii2LeGJnB4+tJuqeAjaTVe3oEF4l0sYCpJQRhrhSrU+LgT7Yd3 4jM0oSID3L5d6Jfezx8g0yo+rVUIcgkbE73AyMBGfA/3cSeEj5tUnJFna9UzAibokG2F XbTw== X-Gm-Message-State: AOAM532URYJHP2qzYyIm5Dr9YvLjSclDoaBo9MJT2ObkFSd1JH3MusAT XUov2VwvVotaiF5mYXwhUPJFCQ== X-Received: by 2002:a5d:4341:: with SMTP id u1mr3503760wrr.88.1615381048726; Wed, 10 Mar 2021 04:57:28 -0800 (PST) Received: from dell ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id l8sm30063213wrx.83.2021.03.10.04.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 04:57:28 -0800 (PST) Date: Wed, 10 Mar 2021 12:57:26 +0000 From: Lee Jones To: Andy Shevchenko 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: <20210310125726.GO701493@dell> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 10 Mar 2021, Andy Shevchenko wrote: > 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? Yes, that explains it, thanks. > > > 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. Yes, thanks for the nudge. These were not in my TODO list. > [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 > -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog