[{"id":1765097,"web_url":"http://patchwork.ozlabs.org/comment/1765097/","msgid":"<1504850878.6124.18.camel@aj.id.au>","list_archive_url":null,"date":"2017-09-08T06:07:58","subject":"Re: [PATCH linux dev-4.10 v8 0/2] Add user space accessibility for\n\tucd9000 stats","submitter":{"id":68332,"url":"http://patchwork.ozlabs.org/api/people/68332/","name":"Andrew Jeffery","email":"andrew@aj.id.au"},"content":"On Thu, 2017-09-07 at 13:37 -0500, Christopher Bostic wrote:\n> This set provides means to allow user space to access various properties of the\n> ucd9000 type chips.\n> \n> patch 0001 Adds gpio_chip interface for user to access various GPIO pin states\n> via the /sys/class/gpio interface.\n> \n> Patch 0002 adds a debugfs for mfr_status information so user space can gain\n> visibility of gpi type faults. Note that there are limitations on type of devices\n> that debugfs supports.  Presently only ucd90160 is supported.  Any assumptions made\n> as to formatting of data is commented inline in the code.  Any expansion to other\n> ucd9000 types will need to take this into consideration.\n> \n> Note also that no pinmux support is provided at this point.  The ucd9000 devs do\n> have mux capability so this should be added.\n> \n> v6 patch 0001 which covers the addition of a 'clear logged faults' sysfs file is\n> now gone.   There are a few open questions in terms of requirements.\n> Specifically, why clear when no one reads the faults out?  This was pointed out\n> by Guenter Roeck.  Consequently v6 patch 0002 is now v7/v8 patch 0001,  v6 patch\n> 0003 is v7/v8 patch 0002.\n> \n> Christopher Bostic (2):\n>   hwmon: (ucd9000) Add gpio chip interface\n>   hwmon: (ucd9000) Add debugfs to list mfr_status info\n\nSeries applied to dev-4.10.\n\nThanks,\n\nAndrew\n\n> \n>  drivers/hwmon/pmbus/ucd9000.c | 369 +++++++++++++++++++++++++++++++++++++++++-\n>  1 file changed, 368 insertions(+), 1 deletion(-)\n>","headers":{"Return-Path":"<openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","openbmc@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","openbmc@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xpRhN1BJ4z9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 16:08:20 +1000 (AEST)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xpRhM71MlzDrZN\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 16:08:19 +1000 (AEST)","from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n\t[66.111.4.25])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xpRhD4FxBzDrW9\n\tfor <openbmc@lists.ozlabs.org>; Fri,  8 Sep 2017 16:08:12 +1000 (AEST)","from compute4.internal (compute4.nyi.internal [10.202.2.44])\n\tby mailout.nyi.internal (Postfix) with ESMTP id 2A75820C11;\n\tFri,  8 Sep 2017 02:08:10 -0400 (EDT)","from frontend2 ([10.202.2.161])\n\tby compute4.internal (MEProxy); Fri, 08 Sep 2017 02:08:10 -0400","from keelia (bh02i525f01.au.ibm.com [202.81.18.30])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id 0404D24081;\n\tFri,  8 Sep 2017 02:08:06 -0400 (EDT)"],"Authentication-Results":["ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=aj.id.au header.i=@aj.id.au header.b=\"VSDosWqR\";\n\tdkim=pass (2048-bit key;\n\tunprotected) header.d=messagingengine.com\n\theader.i=@messagingengine.com header.b=\"EgdNRKKQ\"; \n\tdkim-atps=neutral","lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=aj.id.au header.i=@aj.id.au header.b=\"VSDosWqR\";\n\tdkim=pass (2048-bit key;\n\tunprotected) header.d=messagingengine.com\n\theader.i=@messagingengine.com header.b=\"EgdNRKKQ\"; \n\tdkim-atps=neutral","ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=aj.id.au\n\t(client-ip=66.111.4.25; helo=out1-smtp.messagingengine.com;\n\tenvelope-from=andrew@aj.id.au; receiver=<UNKNOWN>)","lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=aj.id.au header.i=@aj.id.au header.b=\"VSDosWqR\";\n\tdkim=pass (2048-bit key;\n\tunprotected) header.d=messagingengine.com\n\theader.i=@messagingengine.com\n\theader.b=\"EgdNRKKQ\"; dkim-atps=neutral"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=cc\n\t:content-type:date:from:in-reply-to:message-id:mime-version\n\t:references:subject:to:x-me-sender:x-me-sender:x-sasl-enc\n\t:x-sasl-enc; s=fm1; bh=6nwhroh7fbDJIHqqnRI24RpAHKy++mZuhyBwKoYd8\n\tIo=; b=VSDosWqR1FudG1G42JAy5CKFy78IUdCqbt+HZiSDnj+UYFFSZ5j+GS1QM\n\tboFH98njmrJrjDrM6B/nB+zKJrAruHAqOJRJ/khSULIVaQ6sX+8uiYx8aJXK4YoL\n\t2vmAq3CNMBIq0IXdkoNSZV+4z+TBWmhfPc0hQ+Wa2wMmwDv0wJZKzBqwt0fpQYoM\n\t9W1mUKIcEfNFs42pESk4dq71DE7N4poSvcea1ETrQhuyoE+886Kz+LnScZLJzpj3\n\t4eHyZM6jm1BxBAnNSx/ymBXJavvSroZDp1DLPf9BkMizEajFotnaaaA97VvOQ5HT\n\tvAmrsJnNg42k8nnRcTU7j8O9giM4g==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:content-type:date:from:in-reply-to\n\t:message-id:mime-version:references:subject:to:x-me-sender\n\t:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=6nwhroh7fbDJIHqqnR\n\tI24RpAHKy++mZuhyBwKoYd8Io=; b=EgdNRKKQJokHaWLCYcD1ws1BkBQdNVReBQ\n\tUhEA9gydzLbuhrDcrTWC7cIORlbYbYoMzFclGghLvr0ywA9sG8sl8w/1uPWsVfMv\n\tYRKkKYv3mUfv/yB/IYR0w1kKI73anzVNJ0x+hLYKOJ3Nmx044fPqc8Q40JxbQSF2\n\tIbq967+2vzJZkhRH9+Xm1pXl4XwWssMQBhYS2zVMfk1wjCR8tBU8iuhn94l94cPB\n\tifa42HGTka96BoxaUwI0OvEf1TksnKjFm4GOxK6oMpNqN2P8tHE0lma4P7VjoaMu\n\txXED48mVfoIB6M/HbmO05lWWAaezjr+fX9aNGJtapdohakgNEvkA=="],"X-ME-Sender":"<xms:yjOyWS5u4f_3lIc8lDlODweH3CHsfhztV65Gf3sYF2NGt3Wo9b995g>","X-Sasl-enc":"gOE2EWnVQGkggW4ekgLVaRvKBN6VM4So3Y3TauQM0PJH 1504850888","Message-ID":"<1504850878.6124.18.camel@aj.id.au>","Subject":"Re: [PATCH linux dev-4.10 v8 0/2] Add user space accessibility for\n\tucd9000 stats","From":"Andrew Jeffery <andrew@aj.id.au>","To":"Christopher Bostic <cbostic@linux.vnet.ibm.com>, joel@jms.id.au","Date":"Fri, 08 Sep 2017 16:07:58 +1000","In-Reply-To":"<20170907183801.36535-1-cbostic@linux.vnet.ibm.com>","References":"<20170907183801.36535-1-cbostic@linux.vnet.ibm.com>","Content-Type":"multipart/signed; micalg=\"pgp-sha512\";\n\tprotocol=\"application/pgp-signature\";\n\tboundary=\"=-5qGeY+GRpWGjLi0eMQm6\"","X-Mailer":"Evolution 3.22.6-1ubuntu1 ","Mime-Version":"1.0","X-BeenThere":"openbmc@lists.ozlabs.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"Development list for OpenBMC <openbmc.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/openbmc>,\n\t<mailto:openbmc-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/openbmc/>","List-Post":"<mailto:openbmc@lists.ozlabs.org>","List-Help":"<mailto:openbmc-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/openbmc>,\n\t<mailto:openbmc-request@lists.ozlabs.org?subject=subscribe>","Cc":"openbmc@lists.ozlabs.org","Errors-To":"openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org","Sender":"\"openbmc\"\n\t<openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>"}}]