All of lore.kernel.org
 help / color / mirror / Atom feed
From: Al Stone <al.stone@linaro.org>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: linux-acpi@vger.kernel.org, linaro-acpi@lists.linaro.org,
	patches@linaro.org, linaro-kernel@lists.linaro.org,
	Olof Johansson <olof@lixom.net>
Subject: Re: [PATCH v2 0/6] Hardware Reduced Mode cleanup for ACPI
Date: Fri, 22 Nov 2013 16:33:38 -0700	[thread overview]
Message-ID: <528FE9D2.4050806@linaro.org> (raw)
In-Reply-To: <1706311.28Hh6vagbz@vostro.rjw.lan>

On 11/22/2013 04:18 PM, Rafael J. Wysocki wrote:
> On Thursday, November 21, 2013 05:41:49 PM al.stone@linaro.org wrote:
>> From: Al Stone <al.stone@linaro.org>
>>
>> This series of patches starts with Hanjun's patch to create a kernel
>> config item for CONFIG_ACPI_REDUCED_HARDWARE [0].  Building on that, I
>> then reviewed all of the code that touched any of several fields in the
>> FADT that the OSPM is supposed to ignore when ACPI is in Hardware Reduced
>> mode [1].  Any time there was a use of one of the fields to be ignored,
>> I evaluated whether or not the code was implementing Hardware Reduced
>> mode correctly.  Similarly, for each the flags in the FADT flags field
>> that are to be ignored in Hardware Reduced mode, the kernel code was again
>> scanned for proper usage.  The remainder of the patches are to fix all of
>> the situations I could find where the kernel would not behave correctly
>> in this ACPI mode.
>>
>> These seem to work just fine on the RTSM model for ARMv7, both with and
>> without ACPI enabled, and with and without ACPI_REDUCED_HARDWARE enabled;
>> similarly for the FVP model for ARMv8.  The patches for ACPI on ARM
>> hardware will be coming later but they presume that reduced HW mode is
>> functioning correctly.  In the meantime, there's no way I can think of
>> to test all possible scenarios so feedback would be greatly appreciated.
>>
>>
>> [0] List at https://wiki.linaro.org/LEG/Engineering/Kernel/ACPI/AcpiReducedHw#Section_5:_ACPI_Software_Programming_Model
>> [1] Please see the ACPI Specification v5.0 for details on Hardware Reduced
>>      mode.
>>
>>
>> Changes for v2:
>>     -- Remove patch that was outside of reduced HW mode changes
>>     -- Simplify CONFIG_ACPI_REDUCED_HARDWARE in Kconfig
>>     -- Simplify use of CONFIG_ACPI_REDUCED_HARDWARE in #ifdefs
>>     -- Ensure changelogs are present
>>     -- Combine and simplify previous patches 8 & 10
>>
>>
>> Al Stone (6):
>>    ACPI: introduce CONFIG_ACPI_REDUCED_HARDWARE to enable this ACPI mode
>>    ACPI: bus master reload not supported in reduced HW mode
>>    ACPI: HW reduced mode does not allow use of the FADT sci_interrupt
>>      field
>>    ACPI: ARM: exclude DMI calls
>>    ACPI: do not reserve memory regions for some FADT entries in HW
>>      reduced mode
>>    ACPI: in HW reduced mode, using FADT PM information is not allowed.
>
> As Olof noted in another thread, all ACPI patches related to ARM should be
> CCed to linux-arm-kernel.
>
> Can you please do that in the future?
>
> Rafael
>

Of course.

-- 
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Linaro Enterprise Group
al.stone@linaro.org
-----------------------------------

      reply	other threads:[~2013-11-22 23:33 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-22  0:41 [PATCH v2 0/6] Hardware Reduced Mode cleanup for ACPI al.stone
     [not found] ` < 528F9C65.7010302@linaro.org>
     [not found]   ` < CAOesGMgFBRjO++JSP0ddKKQ2RfG8V4fb97Hd+Oqwixi_Tt7Qwg@mail.gmail.com>
2013-11-22  0:41 ` [PATCH v2 1/6] ACPI: introduce CONFIG_ACPI_REDUCED_HARDWARE to enable this ACPI mode al.stone
2013-11-22  0:41 ` [PATCH v2 2/6] ACPI: bus master reload not supported in reduced HW mode al.stone
2013-11-22  3:06   ` Hanjun Guo
2013-11-27 22:35     ` Al Stone
2013-11-22  0:41 ` [PATCH v2 3/6] ACPI: HW reduced mode does not allow use of the FADT sci_interrupt field al.stone
2013-11-22  0:41 ` [PATCH v2 4/6] ACPI: ARM: exclude DMI calls al.stone
2013-11-22 13:25   ` Rob Herring
2013-11-22 18:03     ` Al Stone
2013-11-22 18:53       ` Olof Johansson
2013-11-22 23:15         ` Rafael J. Wysocki
2013-11-23  0:05           ` Al Stone
2013-11-23 16:38             ` Matthew Garrett
2013-11-25  5:10               ` Zheng, Lv
2013-11-25 15:30                 ` Matthew Garrett
2013-11-25 17:43                   ` Al Stone
2013-11-25 17:45                     ` Matthew Garrett
2013-11-25 18:01                       ` Al Stone
2013-12-04  1:30                         ` Al Stone
2013-12-04  1:34                           ` Matthew Garrett
2013-12-10 12:45               ` Grant Likely
2013-11-22  0:41 ` [PATCH v2 5/6] ACPI: do not reserve memory regions for some FADT entries in HW reduced mode al.stone
2013-11-22  0:41 ` [PATCH v2 6/6] ACPI: in HW reduced mode, using FADT PM information is not allowed al.stone
2013-11-22 23:18 ` [PATCH v2 0/6] Hardware Reduced Mode cleanup for ACPI Rafael J. Wysocki
2013-11-22 23:33   ` Al Stone [this message]

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=528FE9D2.4050806@linaro.org \
    --to=al.stone@linaro.org \
    --cc=linaro-acpi@lists.linaro.org \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=patches@linaro.org \
    --cc=rjw@rjwysocki.net \
    /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.