Received: by 10.223.185.116 with SMTP id b49csp925158wrg; Fri, 23 Feb 2018 08:55:51 -0800 (PST) X-Google-Smtp-Source: AH8x227osPcvpLe0YjgteF0m570xCz84rp/n6/wSE28yj2puwRmWMSM+GIiNEbbDJjnzN+877S+Y X-Received: by 10.99.123.12 with SMTP id w12mr1850744pgc.405.1519404951394; Fri, 23 Feb 2018 08:55:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519404951; cv=none; d=google.com; s=arc-20160816; b=JUBfbtUwOO2Pk8GwAnrNyuzjaiMbT2+ruK00dHLj9M1EkuTlKVQlSsuEpmHqm7WgOa 1Xt20spo0mPZGhJ4pLSp/q70l7CvWJZG4qgkPdD1glkXy1vD8JzO7ZjQLJBalsyIo2Yy hSIo+MY5wJxLP2WvQksadtYzlcKcF8Lk06AZ5A3E/kvnc/oxMoT3qxEcUePzE9oqpMmC hzhvtJuRfgs3S7F6m6rCzp91b6NFZKj3JkL+RTvIbmTZ3dFRgX55UzObrxs21CFVzTMf aOsrfwyaiHw/PXXPdoJDin1OpJdR3RnMke1YrA6nRZB455F1Y6ytTgVQIo5ZdoCYSNfr ohJw== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=6G3DrgnoDZ9//j+bwUVsVN99SSAbWMoR3Wt2euNxfOk=; b=hx7BRgtrSuc0F5Xmt8lduzZA2P3WuXYVm7AxONaIU7Q48e8s6TiNhOjAxwPPWGow+q +O8Gr34/ZQfzMrLyaTLtXA+rLVb9Q/fgER6Hp+yBRBbxmpMqpSpOUt2ycOH9VBZlOGYc DB+HzHfnwux9qTOX27d/bA2Z18/BY27EaRX8t4ya8QTzyIUNNr9Og66nv+XMLBe76Sbv lXMCla/LRvGXt7EWbsYLS5VKNwQ9X1Q6m6uQHexeatdQT1uOhZS11Bgx+H/2AI9YDmUl AAgXy7eH6Vk77BJLjpUUqWIJxZFBwvagkryC+MWDc2ifoaszUfEboHNvxhC2PCs2YzL5 TzYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZJlZBgqC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si2047066plw.164.2018.02.23.08.55.36; Fri, 23 Feb 2018 08:55:51 -0800 (PST) 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=@linaro.org header.s=google header.b=ZJlZBgqC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751666AbeBWQzA (ORCPT + 99 others); Fri, 23 Feb 2018 11:55:00 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:45242 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447AbeBWQy6 (ORCPT ); Fri, 23 Feb 2018 11:54:58 -0500 Received: by mail-pf0-f194.google.com with SMTP id j24so3739096pff.12 for ; Fri, 23 Feb 2018 08:54:58 -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:in-reply-to:user-agent; bh=6G3DrgnoDZ9//j+bwUVsVN99SSAbWMoR3Wt2euNxfOk=; b=ZJlZBgqCxUZ9/gChp3y70Xj55zIXvJTokjAA7ayO8WC9/ubw6F9OWKr6/FhbFJNO3S lRAKCRruaTXR8cTLLe8jFM8WHN/Y35Bs7XbN6yjJti/IN1McX0muNSedKQuNefzcmkNx n6mkjiD1j550i8Xo2RYiw61+XcWtEj0ATXkN8= 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:in-reply-to:user-agent; bh=6G3DrgnoDZ9//j+bwUVsVN99SSAbWMoR3Wt2euNxfOk=; b=TZzBsyr7c9d5BKMQarIdNGm4Klq0Ou5AcVGGAT4RJo7TZeSs2pr7wFDml3HU28aMCH 0c7G1qRYombbXTyiAj4GGVfKn6DHy8/HqxcrABRDStx09ISLuDhECBY4b0y2iwLovADF 6ZopGBmZFh7KJFTorLdC8/OWz/c+zdoUQSaItVm4gLK6ywnYzuoD+QCuuiXfwvD1rqD/ WAoFjcr1NgWB3jbuyTZDaKQruD9tqg5LgrtfHNCzbDQWT9eFiJhkN2YncyhIDWk0cqfB ArzImY2jP5ozI7bMlKbKshke5cOJFiI4ikr5zbvbLj+ZsrymB/VbloFhgz8ed2isovzL SVog== X-Gm-Message-State: APf1xPCZipKHXgZuDfEtISEDwc0g3FQtgwojVS9//Q12y2khO0pvoSqJ 6D2h0Nw7l1xzKU1xP20lDNWvqg== X-Received: by 10.99.115.73 with SMTP id d9mr1995502pgn.354.1519404898050; Fri, 23 Feb 2018 08:54:58 -0800 (PST) Received: from bjorns-mbp-2.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id v8sm6691294pfa.32.2018.02.23.08.54.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 08:54:57 -0800 (PST) Date: Fri, 23 Feb 2018 08:54:55 -0800 From: Bjorn Andersson To: Linus Walleij Cc: Timur Tabi , Stephen Boyd , "linux-kernel@vger.kernel.org" , linux-arm-msm@vger.kernel.org, Linux ARM , Andy Shevchenko , "open list:GPIO SUBSYSTEM" , Grant Likely , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH v2 0/3] Support qcom pinctrl protected pins Message-ID: <20180223165455.GN93895@bjorns-mbp-2.lan> References: <20180126011400.2191-1-sboyd@codeaurora.org> <94a7bd07-8ad5-7ab1-20ab-a02fe2476efd@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 23 Feb 06:22 PST 2018, Linus Walleij wrote: > On Tue, Feb 20, 2018 at 5:45 PM, Timur Tabi wrote: > > On 01/25/2018 07:13 PM, Stephen Boyd wrote: > >> > >> This patchset proposes a solution to describing the valid > >> pins for a pin controller in a semi-generic way so that qcom > >> platforms can expose the pins that are really available. > >> > >> Typically, this has been done by having drivers and firmware > >> descriptions only use pins they know they have access to, and that > >> still works now because we no longer read the pin direction at > >> boot. But there are still some userspace drivers and debugfs facilities > >> that don't know what pins are available and attempt to read everything > >> they can. On qcom platforms, this may lead to a system hang, which isn't > >> very nice behavior, even if root is the only user that can trigger it. > > > > Any progress on this patch set? Stephen no longer works for Qualcomm, so I > > don't know what the next step is, and I really want this feature in 4.17 > > (we've missed so many merge windows already). > > I depend on Bjorn as maintainer of the pin control driver to ACK > the solution he likes. > I haven't found the time to review the reuse of the irq valid mask or the effort needed to replace this, other than that I think the series looks good. Regards, Bjorn