linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hanjun.guo@linaro.org (Hanjun Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [Linaro-acpi] [RFC] ACPI on arm64 TODO List
Date: Thu, 15 Jan 2015 12:07:45 +0800	[thread overview]
Message-ID: <54B73D11.2020905@linaro.org> (raw)
In-Reply-To: <54B5B7B9.6090101@redhat.com>

On 2015?01?14? 08:26, Al Stone wrote:
> On 01/13/2015 10:22 AM, Grant Likely wrote:
>> On Mon, Jan 12, 2015 at 7:40 PM, Arnd Bergmann <arnd@arndb.de> wrote:
>>> On Monday 12 January 2015 12:00:31 Grant Likely wrote:
>>>> On Mon, Jan 12, 2015 at 10:21 AM, Arnd Bergmann <arnd@arndb.de> wrote:
>>>>> On Saturday 10 January 2015 14:44:02 Grant Likely wrote:
>>>>>> On Wed, Dec 17, 2014 at 10:26 PM, Grant Likely <grant.likely@linaro.org> wrote:
>>>>> This seems like a great fit for AML indeed, but I wonder what exactly
>>>>> we want to hotplug here, since everything I can think of wouldn't need
>>>>> AML support for the specific use case of SBSA compliant servers:
>>>>
>>>> [...]
>>>>
>>>> I've trimmed the specific examples here because I think that misses
>>>> the point. The point is that regardless of interface (either ACPI or
>>>> DT) there are always going to be cases where the data needs to change
>>>> at runtime. Not all platforms will need to change the CPU data, but
>>>> some will (say for a machine that detects a failed CPU and removes
>>>> it). Some PCI add-in boards will carry along with them additional data
>>>> that needs to be inserted into the ACPI namespace or DT. Some
>>>> platforms will have system level component (ie. non-PCI) that may not
>>>> always be accessible.
>>>
>>> Just to be sure I get this right: do you mean runtime or boot-time
>>> (re-)configuration for those?
>>
>> Both are important.
>>
>>>> ACPI has an interface baked in already for tying data changes to
>>>> events. DT currently needs platform specific support (which we can
>>>> improve on). I'm not even trying to argue for ACPI over DT in this
>>>> section, but I included it this document because it is one of the
>>>> reasons often given for choosing ACPI and I felt it required a more
>>>> nuanced discussion.
>>>
>>> I can definitely see the need for an architected interface for
>>> dynamic reconfiguration in cases like this, and I think the ACPI
>>> model actually does this better than the IBM Power hypervisor
>>> model, I just didn't see the need on servers as opposed to something
>>> like a laptop docking station to give a more obvious example I know
>>> from x86.
>
> I know of at least one server product (non-ARM) that uses the
> hot-plugging of CPUs and memory as a key feature, using the
> ACPI OSPM model.  Essentially, the customer buys a system with
> a number of slots and pays for filling one or more of them up
> front.  As the need for capacity increases, CPUs and/or RAM gets
> enabled; i.e., you have spare capacity that you buy as you need
> it.  If you use up all the CPUs and RAM you have, you buy more
> cards, fill the additional slots, and turn on what you need.  This
> is very akin to the virtual machine model, but done with real hardware
> instead.

There is another important user case for RAS, systems running critical
missions such as bank billing system, system like that need high
reliability that the machine can't be stopped.

So when error happened on hardware including CPU/memory DIMM on such
machines, we need to replace them at run-time.

>
> Whether or not this product is still being sold, I do not know.  I
> have not worked for that company for eight years, and they were just
> coming out as I left.  Regardless, this sort of hot-plug does make
> sense in the server world, and has been used in shipping products.

I think it still will be, Linux developers put lots of effort to
enable memory hotplug and computer node hotplug in the kernel [1], and
the code already merged into mainline.

[1]:
http://events.linuxfoundation.org/sites/events/files/lcjp13_chen.pdf

Thanks
Hanjun

  reply	other threads:[~2015-01-15  4:07 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-16  2:18 [RFC] ACPI on arm64 TODO List Al Stone
2014-12-16 11:27 ` Arnd Bergmann
2014-12-16 15:27   ` Catalin Marinas
2014-12-17  0:03     ` Al Stone
2014-12-17  9:25       ` Catalin Marinas
2014-12-18  4:57         ` Jon Masters
2014-12-18  9:55           ` Catalin Marinas
2014-12-17 13:43       ` [Linaro-acpi] " Charles Garcia-Tobin
2014-12-16 15:48   ` Mark Rutland
2014-12-17  0:37     ` Al Stone
2014-12-17  9:08       ` G Gregory
2014-12-17 16:02       ` Mark Rutland
2014-12-17 16:52         ` Hurwitz, Sherry
2014-12-17 18:14       ` Lorenzo Pieralisi
2014-12-18  5:04       ` Jon Masters
2014-12-18 14:36         ` Jon Masters
2014-12-16 22:55   ` Al Stone
2014-12-17 17:31     ` Catalin Marinas
2014-12-17 22:26   ` Grant Likely
2015-01-10 14:44     ` Grant Likely
2015-01-12 10:21       ` Arnd Bergmann
2015-01-12 12:00         ` Grant Likely
2015-01-12 19:40           ` [Linaro-acpi] " Arnd Bergmann
2015-01-13 17:22             ` Grant Likely
2015-01-14  0:26               ` Al Stone
2015-01-15  4:07                 ` Hanjun Guo [this message]
2015-01-15 17:15                   ` Arnd Bergmann
2015-01-15 17:19                 ` Arnd Bergmann
2015-01-12 14:23       ` Pavel Machek
2015-01-12 14:41         ` Grant Likely
2015-01-12 19:39           ` Pavel Machek
2015-01-12 19:55             ` Arnd Bergmann
2015-01-13 14:12             ` Grant Likely
2015-01-14  1:21             ` Al Stone
2015-01-15 17:45               ` [Linaro-acpi] " Linda Knippers
2015-01-13 17:02         ` Grant Likely
2015-01-05 20:52 ` Pavel Machek
2015-01-06 11:53   ` Catalin Marinas

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=54B73D11.2020905@linaro.org \
    --to=hanjun.guo@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).