openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Winiarska, Iwona" <iwona.winiarska@intel.com>
To: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>
Cc: "linux-aspeed@lists.ozlabs.org" <linux-aspeed@lists.ozlabs.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"Hansen, Dave" <dave.hansen@intel.com>,
	"Weiss, Zev" <zweiss@equinix.com>,
	"corbet@lwn.net" <corbet@lwn.net>,
	"openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>,
	"pierre-louis.bossart@linux.intel.com"
	<pierre-louis.bossart@linux.intel.com>,
	"linux@roeck-us.net" <linux@roeck-us.net>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"jdelvare@suse.com" <jdelvare@suse.com>,
	"arnd@arndb.de" <arnd@arndb.de>,
	"billy_tsai@aspeedtech.com" <billy_tsai@aspeedtech.com>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	"bp@alien8.de" <bp@alien8.de>,
	"Williams, Dan J" <dan.j.williams@intel.com>,
	"andriy.shevchenko@linux.intel.com"
	<andriy.shevchenko@linux.intel.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-hwmon@vger.kernel.org" <linux-hwmon@vger.kernel.org>,
	"Luck,  Tony" <tony.luck@intel.com>,
	"andrew@aj.id.au" <andrew@aj.id.au>,
	"rdunlap@infradead.org" <rdunlap@infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"olof@lixom.net" <olof@lixom.net>
Subject: Re: [PATCH v7 07/13] peci: Add sysfs interface for PECI bus
Date: Tue, 8 Feb 2022 14:48:45 +0000	[thread overview]
Message-ID: <4892938763614967ba8b0f428afc1bc734f8f0b5.camel@intel.com> (raw)
In-Reply-To: <YgJPFlr18AmWiTRY@kroah.com>

On Tue, 2022-02-08 at 12:08 +0100, Greg Kroah-Hartman wrote:
> On Wed, Feb 02, 2022 at 03:48:32PM +0100, Iwona Winiarska wrote:
> > PECI devices may not be discoverable at the time when PECI controller is
> > being added (e.g. BMC can boot up when the Host system is still in S5).
> > Since we currently don't have the capabilities to figure out the Host
> > system state inside the PECI subsystem itself, we have to rely on
> > userspace to do it for us.
> > 
> > In the future, PECI subsystem may be expanded with mechanisms that allow
> > us to avoid depending on userspace interaction (e.g. CPU presence could
> > be detected using GPIO, and the information on whether it's discoverable
> > could be obtained over IPMI).
> > Unfortunately, those methods may ultimately not be available (support
> > will vary from platform to platform), which means that we still need
> > platform independent method triggered by userspace.
> > 
> > Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
> > ---
> >  Documentation/ABI/testing/sysfs-bus-peci | 16 +++++
> >  drivers/peci/Makefile                    |  2 +-
> >  drivers/peci/core.c                      |  3 +-
> >  drivers/peci/device.c                    |  1 +
> >  drivers/peci/internal.h                  |  5 ++
> >  drivers/peci/sysfs.c                     | 82 ++++++++++++++++++++++++
> >  6 files changed, 107 insertions(+), 2 deletions(-)
> >  create mode 100644 Documentation/ABI/testing/sysfs-bus-peci
> >  create mode 100644 drivers/peci/sysfs.c
> > 
> > diff --git a/Documentation/ABI/testing/sysfs-bus-peci
> > b/Documentation/ABI/testing/sysfs-bus-peci
> > new file mode 100644
> > index 000000000000..56c2b2216bbd
> > --- /dev/null
> > +++ b/Documentation/ABI/testing/sysfs-bus-peci
> > @@ -0,0 +1,16 @@
> > +What:          /sys/bus/peci/rescan
> > +Date:          July 2021
> > +KernelVersion: 5.15
> 
> 5.15 was a long time ago :(
> 
> 
> Other than this nit, these all look semi-sane to me.  What tree are you
> wanting these to go through, mine?  If so, can you fix this up (both
> places in this file) and resend?

Thank you! Yes, it would be great if it can go through your tree.
I'll send v8 with fixes.

Thanks
-Iwona

> 
> thanks,
> 
> greg k-h


  parent reply	other threads:[~2022-02-08 14:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-02 14:48 [PATCH v7 00/13] Introduce PECI subsystem Iwona Winiarska
2022-02-02 14:48 ` [PATCH v7 01/13] dt-bindings: Add generic bindings for PECI Iwona Winiarska
2022-02-02 14:48 ` [PATCH v7 02/13] dt-bindings: Add bindings for peci-aspeed Iwona Winiarska
2022-02-04 22:08   ` Rob Herring
2022-02-02 14:48 ` [PATCH v7 03/13] ARM: dts: aspeed: Add PECI controller nodes Iwona Winiarska
2022-02-02 14:48 ` [PATCH v7 04/13] peci: Add core infrastructure Iwona Winiarska
2022-02-02 14:48 ` [PATCH v7 05/13] peci: Add peci-aspeed controller driver Iwona Winiarska
2022-02-02 14:48 ` [PATCH v7 06/13] peci: Add device detection Iwona Winiarska
2022-02-02 14:48 ` [PATCH v7 07/13] peci: Add sysfs interface for PECI bus Iwona Winiarska
2022-02-08 11:08   ` Greg Kroah-Hartman
2022-02-08 11:15     ` Joel Stanley
2022-02-08 11:28       ` Greg Kroah-Hartman
2022-02-08 14:48     ` Winiarska, Iwona [this message]
2022-02-02 14:48 ` [PATCH v7 08/13] peci: Add support for PECI device drivers Iwona Winiarska
2022-02-02 14:48 ` [PATCH v7 09/13] peci: Add peci-cpu driver Iwona Winiarska
2022-02-02 14:48 ` [PATCH v7 10/13] hwmon: peci: Add cputemp driver Iwona Winiarska
2022-02-02 14:48 ` [PATCH v7 11/13] hwmon: peci: Add dimmtemp driver Iwona Winiarska
2022-02-02 14:48 ` [PATCH v7 12/13] docs: hwmon: Document PECI drivers Iwona Winiarska
2022-02-02 14:48 ` [PATCH v7 13/13] docs: Add PECI documentation Iwona Winiarska

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4892938763614967ba8b0f428afc1bc734f8f0b5.camel@intel.com \
    --to=iwona.winiarska@intel.com \
    --cc=andrew@aj.id.au \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=arnd@arndb.de \
    --cc=billy_tsai@aspeedtech.com \
    --cc=bp@alien8.de \
    --cc=corbet@lwn.net \
    --cc=dan.j.williams@intel.com \
    --cc=dave.hansen@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jdelvare@suse.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-aspeed@lists.ozlabs.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=olof@lixom.net \
    --cc=openbmc@lists.ozlabs.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=rdunlap@infradead.org \
    --cc=robh+dt@kernel.org \
    --cc=tony.luck@intel.com \
    --cc=zweiss@equinix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).