Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp536811imm; Thu, 31 May 2018 05:13:57 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJF8dXVwnCBChBN+kkZ0kqwL4MnoZjzzC26GbzbBNxBaoiDn7Enq57lSS4mezsatY7FignQ X-Received: by 2002:a62:d388:: with SMTP id z8-v6mr6673510pfk.8.1527768836979; Thu, 31 May 2018 05:13:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527768836; cv=none; d=google.com; s=arc-20160816; b=AIVck9KNSQzWTBkdZJUq88LBOuyr459fG8KrtFk1bl7fqVbCKsr30ae2aX8wBX85wc AGx8uqcSehdTLWoVbX4KAk69APOe/cKL62NlAhZxaKJ23t1ejLwThxqYKFfHc9Xf06bP uz3Tq+1sTRdH+UGjSyzmZPQIK5NlIR6+9LLEOeLMh4ciZizMlwBnUmYEE0Bw5Zkd6+Uz zSXH/IhiKEVh21u3xtw/jfTbjBwserzvObGRpkkFCnT7qKvt8DAsHbPX/D5rQcTLO4O9 yTNy5umS7IP0rWmtoUjAI1OmAcrkZIgGSp1bevBjswXhO10V7YNaj4upL3XjpXi9Ieak 4GHg== 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=o7jXcN5tNSYoFRVtUvc70loLWJ8/GPkdkgH/HVjS3CM=; b=VG4X2tnO0X+Q9kmmKwBIOSKB+ehZN9km9U/SUM/LM8aLSOekQV4c5mj1MB97YMdQU9 N7m8QnoKBXtSSoL51/kPrXm1zfHuA9xIi5KvH3ofNr7Bh8LGjUDKIawNHCCXISOxoksf nf9DGqlPAq1tKYUiHS67cAYNFFG9u8rRIs0/AdLqESreaEARTxacWy1b4zV/7xy4SWeo ZEyGYKI6vQMrWIfQmGG80QDjZKUlEb2CQmbdNw+sOupSm0mRQRQiIwEBqhayLH9zl1a7 qUuYNtT3/1AWG3Jk2+HNjqgmxMJTwdhG0HcHo5EKNpf4y9eG8ZujQ+bqMeiH64Este2Q O+0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mSW4/Njp; 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 n10-v6si28920478pgq.472.2018.05.31.05.13.42; Thu, 31 May 2018 05:13:56 -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=mSW4/Njp; 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 S1754771AbeEaMNP (ORCPT + 99 others); Thu, 31 May 2018 08:13:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:45698 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754637AbeEaMNN (ORCPT ); Thu, 31 May 2018 08:13:13 -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 789DA208A6; Thu, 31 May 2018 12:13:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527768793; bh=EpiVp83NZZrXTxlgk33jlIhwA5CkX3QjPQhSeXgJ6H4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mSW4/Njpe/7kr2mjBayToZSiTqcGtkKG4kp2fX6KzArnVTVr2VahP2AbDK8syXT+f JYVXNfp+HC69cRJDX7iHE8W1sVK18rODVg9OgGvC++8WYdK27QXICWCHmEv/NpqDFC AVQtWdYWCOzd8aQJ54PRWfexi1q/oE4T1di26LnI= Date: Thu, 31 May 2018 14:12:51 +0200 From: Greg Kroah-Hartman To: Timur Tabi Cc: Sebastian Gottschall , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Bjorn Andersson , Linus Walleij , Sasha Levin Subject: Re: [PATCH 4.16 269/272] pinctrl: msm: Use dynamic GPIO numbering Message-ID: <20180531121251.GA13561@kroah.com> References: <20180528100240.256525891@linuxfoundation.org> <20180528100302.722883806@linuxfoundation.org> <7c34ccef-2fa8-8b53-2677-29f6fbe71a04@dd-wrt.com> <20180531114553.GB11598@kroah.com> <510e5f2c-718a-de42-8274-9345d13e7797@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <510e5f2c-718a-de42-8274-9345d13e7797@codeaurora.org> 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 06:55:55AM -0500, Timur Tabi wrote: > On 5/31/18 6:53 AM, Sebastian Gottschall wrote: > > > > > i checked initially 4.9 with latest patches and 4.14 and reverted this > > line to get back to the old behaviour but a which view in the current > > 4.17?tree?shows > > that the same patch has been included in 4.17. it was introduced in the > > kernel?mainline?on?12.feb?2018 > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/pinctrl/qcom/pinctrl-msm.c?h=v4.17-rc7&id=a7aa75a2a7dba32594291a71c3704000a2fd7089 > > I believe that this patch should not be applied to *any* stable kernel. > > It completely breaks legacy GPIO numbering, and it does so intentionally. > That may be okay for future kernels, but IMHO it's wrong for older kernels. Why is it somehow ok for "future" kernels? You can't break the api in the future for no reason. So this needs to be the same everywhere. If it is broken in 4.17-rc, it needs to be reverted. thanks, greg k-h