All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Tony Luck <tony.luck@intel.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Borislav Petkov <bp@alien8.de>,
	qiuxu.zhuo@intel.com, aris@redhat.com, mchehab@s-opensource.com,
	"open list:EDAC-CORE" <linux-edac@vger.kernel.org>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>
Subject: [4/5] EDAC, dsm_edac: Wrap ACPI DSM methods for address translation
Date: Tue, 9 Oct 2018 17:29:39 +0200	[thread overview]
Message-ID: <CAJZ5v0i_t_BZO_-sW+TkamSjv6j=ftLd7unfG1-fwqLrOm+yUg@mail.gmail.com> (raw)

On Tue, Oct 9, 2018 at 5:26 PM Luck, Tony <tony.luck@intel.com> wrote:
>
> On Tue, Oct 09, 2018 at 12:28:54PM +0200, Rafael J. Wysocki wrote:
> > Well, it looks reasonable, one question though (below).
> >
> > > diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
> > > index dd1eea90f67f..327c93b51cb7 100644
> > > --- a/drivers/acpi/Kconfig
> > > +++ b/drivers/acpi/Kconfig
> > > @@ -498,6 +498,16 @@ config ACPI_EXTLOG
> > >       driver adds support for that functionality with corresponding
> > >       tracepoint which carries that information to userspace.
> > >
> > > +config ACPI_ADXL
> > > +   bool "Physical address to DIMM address translation"
> > > +   def_bool n
> > > +   help
> > > +     Enable interface that calls into BIOS using a DSM (device
> > > +     specific method) to convert system physical addresses
> > > +     to DIMM (socket, channel, rank, dimm, etc.).
> > > +     Only available on some servers.
> > > +     Used by newer EDAC drivers.
> > > +
> >
> > I wonder if the extra config option is really needed.  I guess it is useful
> > for the "tinification" people, but then can it simply depend on something
> > else we already have?
> >
> > Distros will set it to "Y" anyway.
>
> I was planning on having the EDAC driver(s) that need this do a
>
>         select ACPI_ADXL
>
> That way the tinification people are happy, and distros that include
> EDAC will set it without any other changes.
>
> > > +#define ACPI_ADXL_PATH                     "\\_SB.ADXL"
> >
> > It would be good to add a comment to say where the ADXL object is
> > defined.
>
> Can you expand on what you want here? My naive ACPI knowledge
> thought that "\\_SB.ADXL" was a "pathname" saying that the ADXL
> device is part of the "SB" (is that System Board?).
>
> Are you asking which platforms include this?

No, I'm asking about where the contents of that object are documented.
Presumably, the patch is based on some documentation, so it would be
good to give a pointer to it here, if available.

> Qiuxu has tested this. So I can re-post to linux-acpi for any
> other comments from the community.
>
> Procedure question. If you like this, can you "Ack" it and let
> Boris take it through his tree.

No, I can't ACK it at this time yet, sorry.

> The changes to the Skylake EDAC driver are dependent on this, so we need
> to have the commits apply in the right order.

No problem with that when the patch is ready.

Thanks,
Rafael

             reply	other threads:[~2018-10-09 15:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-09 15:29 Rafael J. Wysocki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-10-09 18:33 [4/5] EDAC, dsm_edac: Wrap ACPI DSM methods for address translation Luck, Tony
2018-10-09 18:29 Luck, Tony
2018-10-09 16:17 Borislav Petkov
2018-10-09 15:25 Rafael J. Wysocki
2018-10-09 15:22 Luck, Tony
2018-10-09 15:14 Borislav Petkov
2018-10-09 11:43 Qiuxu Zhuo
2018-10-09 10:28 Rafael J. Wysocki
2018-10-08 16:57 Luck, Tony
2018-10-06 20:44 Borislav Petkov
2018-10-05 22:25 Luck, Tony
2018-10-04  9:31 Borislav Petkov
2018-10-03 17:58 Luck, Tony
2018-09-26 18:22 Luck, Tony
2018-09-26 17:33 Borislav Petkov
2018-09-24 20:16 Luck, Tony

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='CAJZ5v0i_t_BZO_-sW+TkamSjv6j=ftLd7unfG1-fwqLrOm+yUg@mail.gmail.com' \
    --to=rafael@kernel.org \
    --cc=aris@redhat.com \
    --cc=bp@alien8.de \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-edac@vger.kernel.org \
    --cc=mchehab@s-opensource.com \
    --cc=qiuxu.zhuo@intel.com \
    --cc=rjw@rjwysocki.net \
    --cc=tony.luck@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.