public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <m.chehab@samsung.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Tomasz Nowicki <tomasz.nowicki@linaro.org>,
	Len Brown <lenb@kernel.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	linaro-acpi <linaro-acpi@lists.linaro.org>,
	Tony <tony.luck@intel.com>, Borislav Petkov <bp@alien8.de>,
	Borislav Petkov <bp@suse.de>,
	linux-edac@vger.kernel.org, x86@kernel.org
Subject: Re: RFC: APEI hardware reduced profile
Date: Wed, 26 Mar 2014 12:10:47 -0300	[thread overview]
Message-ID: <20140326121047.65176d7e@samsung.com> (raw)
In-Reply-To: <6220935.TPfvPdvLIs@vostro.rjw.lan>

Em Wed, 26 Mar 2014 15:55:07 +0100
"Rafael J. Wysocki" <rjw@rjwysocki.net> escreveu:

> On Wednesday, March 26, 2014 01:08:10 PM Tomasz Nowicki wrote:
> > Hi,
> 
> Hi,
> 
> This is a question for Tony, Boris and Mauro (CCed now).
> 
> > Currently APEI depends on x86 architecture. It is because of many x86 
> > specific features like "IA-32 Architecture Corrected Machine Check
> > " error source or NMI hardware error notification. However, many other 
> > features like "PCI Express Device AER Structure" or GHES via external 
> > interrupt can be still used perfectly by other architectures. So my idea 
> > is to move x86 dependency away form Kconfig to APEI areas where it 
> > really applies to.
> > 
> > I have started refactoring ghes.c driver in that direction. And here 
> > comes my confusion, how should we treat x86 related parts, as fixed 
> > profile? (which means we could use ACPI_REDUCED_HARDWARE or 
> > CONFIG_ACPI_REDUCED_HARDWARE_ONLY define). I would like to ask for your 
> > opinion.

That's a good question, and probably depends on how are you mapping the
ACPI changes. For example, are you moving acpi out of /arch?

As I answered to a similar questioning, IMHO, the better would be to 
have the hardware error report mechanisms on /drivers/ras, and have 
there some Kconfig items that would depend on X86 to enable certain
drivers.

Also, I don't like to have something like ACPI_REDUCED_foo. IMHO, the
better would be to do the reverse: to have Kconfig symbols enabling the
extra X86-specific functionality, and have them mapped into separate
files/drivers, with proper KConfig names, like ACPI_X86 or ACPI_X86_NMI.

Yet, it would be better if you could be a little more specific about
what are your plans and what are the common/not-common features that
you're mapping.

Regards,
Mauro

  reply	other threads:[~2014-03-26 15:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-26 12:08 RFC: APEI hardware reduced profile Tomasz Nowicki
2014-03-26 14:55 ` Rafael J. Wysocki
2014-03-26 15:10   ` Mauro Carvalho Chehab [this message]
2014-03-26 20:36     ` Borislav Petkov
2014-03-27  9:17       ` Tomasz Nowicki
2014-03-27  9:05     ` Tomasz Nowicki

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=20140326121047.65176d7e@samsung.com \
    --to=m.chehab@samsung.com \
    --cc=bp@alien8.de \
    --cc=bp@suse.de \
    --cc=lenb@kernel.org \
    --cc=linaro-acpi@lists.linaro.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=tomasz.nowicki@linaro.org \
    --cc=tony.luck@intel.com \
    --cc=x86@kernel.org \
    /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