Received: by 10.223.185.116 with SMTP id b49csp844376wrg; Tue, 20 Feb 2018 08:46:02 -0800 (PST) X-Google-Smtp-Source: AH8x227w9R9HKeWgNeIv/Gl22ewNSMyRQxpgjZJFDkrHRCX6LlWdJn2jm0ZBnaEmUt0VCZ7LIuW0 X-Received: by 2002:a17:902:7148:: with SMTP id u8-v6mr197376plm.91.1519145162689; Tue, 20 Feb 2018 08:46:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519145162; cv=none; d=google.com; s=arc-20160816; b=FZrnrVnrPQzvRyTOi/Ss8Fa3Dk2QNTkMJU+jAhhtKNnX6N/CAS6GLU+JIr+xtQRdEw AbC7HNyldXMOQ1oei2eZUlblqzfBGmIF8YWy0jI7sENO2ckrPh+pBPbMffF7BU/WCcoY 6ua4or69Z68+A/GzTHEVGqV+jOvYsWw9prQbk9Fqk419fqBqvOnUbQ0P2SBsysWq4DTJ hiIV7cmLJtUJQU5IU9T9eKVi4vLTZKPo1La8rH8sT63n9aIHkuaH0K7eoTmWZYM7o0xz k/6V6vcN03OD9ZdCXiVRZPMfpeIr6MMv3x0b5KA6OdMl7TXBiEAjP3WGcQoNsllcbt78 SKlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=GwPVcrk3Lddjp/pxZ2VI+F+D1TguhsDEdXVUq0uNBp4=; b=bSY2sDSvmi7TAMuhb3vMRSGcSWdesNJRC1B5eZSC/iI2z//aSjGaE4aJnO99cNIIIE ihidf5VMxYFaNHM88N5po0ALDmXfQiw87QO761qflYCPD5ew46v9w4jevsMO/3BD/3Oz 1BzXXSTAwq50oCRQAkmjG6X9JyGEC2f0LyuxD2m8HHMAYCmZNfxj8ta9RsCWS4m/BmDG 5snbk+b1bYRtaet/T8ByyKtOE3oZJbK6Rg/REndmmmOZJIEBDbmEIUA6qeZt6p7a2ioW 1Lmb0UksG0FjA6j1jVHZRhNd6beitD+BEbHzodUm3DvEVZzgbSbtlfvJtd1c4KnaCa1p w3PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Tjgyxrjq; dkim=pass header.i=@codeaurora.org header.s=default header.b=II8GANLQ; 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 r7si513318pfg.30.2018.02.20.08.45.47; Tue, 20 Feb 2018 08:46:02 -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=@codeaurora.org header.s=default header.b=Tjgyxrjq; dkim=pass header.i=@codeaurora.org header.s=default header.b=II8GANLQ; 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 S1752823AbeBTQpI (ORCPT + 99 others); Tue, 20 Feb 2018 11:45:08 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:35326 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752247AbeBTQpF (ORCPT ); Tue, 20 Feb 2018 11:45:05 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 57CFB60A37; Tue, 20 Feb 2018 16:45:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519145105; bh=aQjsA8Er/cfW+jV9HA1sNxuoeOawy/qqCmNWzqwxBNM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=TjgyxrjqF/J+F0D7bm9vNCNGFdJcqVX+TR4EZ/O7L+8x8zd7ADRYX7wyBfQ+7Y740 Nwz/m84buWgWeUDj+ulpozAnya04xSG1wR/FDPlWYKTSaqWRAj00gbTC7DKRFZe2iX VkmbNvUpznSjZ3s4mRlCKCcHn5Dph5RbOLEzR4Io= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.222.143.167] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: timur@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E2A9860712; Tue, 20 Feb 2018 16:45:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519145104; bh=aQjsA8Er/cfW+jV9HA1sNxuoeOawy/qqCmNWzqwxBNM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=II8GANLQywkka2g45fOzDAaTliL3EyWuBEgrniVOmnIZB5covldAAfqdfSxrFxAtw mc4a65SwMEro3broRqCrUwLSq3hFWnNHP/gOQNhxLPbs2oU4pI++Jtezox8QO/OZyL Yhz6avBFQFd3fdJwtzPpaBwv7CeLje2Q8Pc7jZCc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E2A9860712 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=timur@codeaurora.org Subject: Re: [PATCH v2 0/3] Support qcom pinctrl protected pins To: Stephen Boyd , Linus Walleij Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andy Shevchenko , Bjorn Andersson , linux-gpio@vger.kernel.org, Grant Likely , devicetree@vger.kernel.org References: <20180126011400.2191-1-sboyd@codeaurora.org> From: Timur Tabi Message-ID: <94a7bd07-8ad5-7ab1-20ab-a02fe2476efd@codeaurora.org> Date: Tue, 20 Feb 2018 10:45:03 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180126011400.2191-1-sboyd@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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). -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.