Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp511702imm; Thu, 31 May 2018 04:47:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIon5aihZTbmy3frOW8moP5s+BJUdzkPRtSTd3t0Ep++XUcDlrbWLOVjt4n1wr+E80G5ui5 X-Received: by 2002:a17:902:4203:: with SMTP id g3-v6mr6800211pld.315.1527767225852; Thu, 31 May 2018 04:47:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527767225; cv=none; d=google.com; s=arc-20160816; b=Kx3ofijEhSxS2gZ5B6vyPrHVmoHddZPNUJ//0RNqBI9JxNB57NUIzg8LHh2wnicPY0 g3zVs7JGhIQFtm3b38o9Cx42HdU57kZDsHsoP5/eYXtI1w9xlQVCDM9IIOOV/YiTMLxR pxMcy7lmAY8KeNHgdzK95/yal317cUiU61wBHZexw8jJB+/g/HB8XBJ9E4GH984PT0Ko FK7K6t5Mh3YyCJB2dCjsTQfDxS2FpLUmOvQuJK1dq/MP/IEMf/DBgsmpmQrlonCF025x znTlmN4UjvELejxdfUxYZXHh7IAvstsQO8JlgdUD5GujF/VC6NVwBO5+tju495GCpaV3 WDmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=YdWuHoKtRpnCk5F9JZo4gBAgGat4PNZX8eNkdP5K/VE=; b=UV+kg0+yTiEeNEmxGJFnVsoSYz+M35M0qgJZLV4DgMX6u4uFh4poJnMXHbNUpMDFX5 ZdfsqWADCK7vvH/ml4VWKHa76HBejmlTZsJ4wZTO07zZJRu7CSa/3GQLesEkhHnFQNRS uxJ2j3x5yuvqcuPDuukebsJYuOrWy61iWLMcjnhbe2YVfcZm9qcDbOFEb6Ouuw2XU4EL MhhY6lCRr/QtDWcaacenIlWd4d+muDEISMo80JpOsZf2ftIb1QdjGFlsQdY7h5R9pNeR gzCD4YNPs47ySjXwrUyjQmohfQV1XsYatXDYHbso9T0MKxRtRlTCJ/Pf+b40pmsWZReq s7uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=abg1eUMN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v26-v6si11820247pgc.416.2018.05.31.04.46.51; Thu, 31 May 2018 04:47:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=abg1eUMN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754753AbeEaLqS (ORCPT + 99 others); Thu, 31 May 2018 07:46:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:39684 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754522AbeEaLqQ (ORCPT ); Thu, 31 May 2018 07:46:16 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5B32D208AE; Thu, 31 May 2018 11:46:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527767175; bh=Fu1eQHhIABmBu7WDL7QYaZP0X759TAGLnSLbUUtwoQQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=abg1eUMNbqnbHC3JHmbCHJZ9NYMU7BMLN8wrNABFU6PSOKJ+FbJYcsl32HFSknLuS sfvqXZe69wRC97Cqx65sqILf5PcXz+59qO6mp5ycA9hZh7QUntJfWtLyYuTMvrnlfu oPvxSRzJAr2JjczNfLtGN8dWmZ2SB8f4afYr1mZk= Date: Thu, 31 May 2018 13:45:54 +0200 From: Greg Kroah-Hartman To: Sebastian Gottschall Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Timur Tabi , Bjorn Andersson , Linus Walleij , Sasha Levin Subject: Re: [PATCH 4.16 269/272] pinctrl: msm: Use dynamic GPIO numbering Message-ID: <20180531114553.GB11598@kroah.com> References: <20180528100240.256525891@linuxfoundation.org> <20180528100302.722883806@linuxfoundation.org> <7c34ccef-2fa8-8b53-2677-29f6fbe71a04@dd-wrt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7c34ccef-2fa8-8b53-2677-29f6fbe71a04@dd-wrt.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 31, 2018 at 01:21:56PM +0200, Sebastian Gottschall wrote: > Am 28.05.2018 um 12:05 schrieb Greg Kroah-Hartman: > > 4.16-stable review patch. If anyone has any objections, please let me know. > > > > ------------------ > > > > From: Bjorn Andersson > > > > [ Upstream commit a7aa75a2a7dba32594291a71c3704000a2fd7089 ] > > > > The base of the TLMM gpiochip should not be statically defined as 0, fix > > this to not artificially restrict the existence of multiple pinctrl-msm > > devices. > > > > Fixes: f365be092572 ("pinctrl: Add Qualcomm TLMM driver") > > Reported-by: Timur Tabi > > Signed-off-by: Bjorn Andersson > > Signed-off-by: Linus Walleij > > Signed-off-by: Sasha Levin > > Signed-off-by: Greg Kroah-Hartman > > --- > > drivers/pinctrl/qcom/pinctrl-msm.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > --- a/drivers/pinctrl/qcom/pinctrl-msm.c > > +++ b/drivers/pinctrl/qcom/pinctrl-msm.c > > @@ -818,7 +818,7 @@ static int msm_gpio_init(struct msm_pinc > > return -EINVAL; > > chip = &pctrl->chip; > > - chip->base = 0; > > + chip->base = -1; > > chip->ngpio = ngpio; > > chip->label = dev_name(pctrl->dev); > > chip->parent = pctrl->dev; > > this patch creates a regression for me. on ipq8064 the systems gpios now > start somewhere in the sky > > new layout > > lrwxrwxrwx??? 1 root???? root???????????? 0 Jan? 1 00:00 gpiochip373 -> ../../devices/platform/soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0/gpio/gpiochip373 > lrwxrwxrwx??? 1 root???? root???????????? 0 Jan? 1 00:00 gpiochip408 -> ../../devices/platform/soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0/gpio/gpiochip408 > lrwxrwxrwx??? 1 root???? root???????????? 0 Jan? 1 00:00 gpiochip443 -> > ../../devices/platform/soc/800000.pinmux/gpio/gpiochip443 > > > before the patch > > lrwxrwxrwx??? 1 root???? root???????????? 0 Jan? 1? 1970 gpiochip0 -> > ../../devices/platform/soc/800000.pinmux/gpio/gpiochip0 > lrwxrwxrwx??? 1 root???? root???????????? 0 May 31 13:13 gpiochip442 -> ../../devices/platform/soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0/gpio/gpiochip442 > lrwxrwxrwx??? 1 root???? root???????????? 0 May 31 13:13 gpiochip477 -> ../../devices/platform/soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0/gpio/gpiochip477 > > > this broke my userspace gpio handling. i can override this, but still it > doesnt look correct since there is a hole at the beginng likelly reserved by > unused arm gpios So does this mean that 4.17-rc is also broken for you? If so, this needs to be reverted there as well. Bjorn, any ideas? thanks, greg k-h