linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: ACPI
Date: Tue, 19 Nov 2013 19:15:57 +0100	[thread overview]
Message-ID: <201311191915.57516.arnd@arndb.de> (raw)
In-Reply-To: <F5C3F66D-C7C0-494A-8561-77E1DE0FA103@jonmasters.org>

On Monday 18 November 2013, Jon Masters wrote:
> Hi Folks,
> 
> Starting a new thread with a question. Suppose for a moment that ACPI is
> the way of the future and that there is, in fact, already a three year
> story behind this[0] that will come out in due course. What could be
> done to make things smoother /going forward/? Could we articulate a
> series of useful asks that would help with moving forward with ACPI? 

I think the most important thing to do here is to actually describe
and agree on the scope of ACPI support here.  I think in the discussion,
everyone had different scenarios in mind, and hopefully only some
of them apply here. You keep saying "servers", but that isn't actually
a feature of how the system is designed, rather than what is running
on them. Given these examples (or any others, you could come up with),
which ones do you actually see as relevant here:

1. An exterprise server (SPARC enterprise M9000, Power 795, Integrity
   Superdome) with the CPU core changed to run ARM instructions
2. An ATX whitebox server mainboard with one to four sockets and PC
   peripherals and plug-compatible ARM CPU chips.
3. A purpose-built server SoC based on standard components
4. A new server SoC based on an older proprietary embedded or mobile
   SoC design (think Exynos, OMAP, Snapdragon, ... based)
5. A server built from using a cheap devboard (BeagleBone, Cubieboard, ...
   style) with an unmodified SoC.
6. A virtual machine running on KVM or Xen.

Related to that question, what would be the expected way to do runtime
device power management? 

a) not at all
b) using ACPI D states and AML
c) using HW-specific clock/regulator/pmdomain/pinctrl/phy/...
   kernel drivers

Some combinations of the above are particularly scary, and until we
have ruled out a good number of them, we will keep arguing about the
wrong problems.

The other really helpful would be a list of things that actually
speak in favor of doing ACPI, from a system design perspective.
What is it that people want out of it?

> For example, it is clear that there needs to be more involvement in the
> standardization of ACPI (this is why we initiated the governance model
> change of ACPI several years ago that has taken this long to resolve
> with everyone involved in that) and we want to get more ARM kernel folks
> involved. But what else? Blank slate.
> What do we need to make ACPI a success here?

I think you are asking the wrong question here. I assume we all try to
make ARM Linux work best on servers and that people are willing to
work together on that. However, to a lot of us that would mean making
sure that ACPI does not get anywhere near us (for the right or for the
wrong reasons). A blank slate to me would imply that you consider the
possibility that ACPI is not the right answer at this point at all rather
than asking everybody is working on platform code to take your word
that it is.

Since you mention this has been going for three years, I can understand
what arguments originally led to such a decision, but my feeling is that
we have move on since then and that the original discussion will need to
be revisited (ideally in a more open way) based on what we learned in
the meantime by moving most ARM platforms over from board files to DT.

	Arnd

  reply	other threads:[~2013-11-19 18:15 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-18 18:42 ACPI Jon Masters
     [not found] ` < CACRpkdbNxxNK0GM28H_nDLu6EpbQ-EYAdEeTp5fnXW5mkEPkgw@mail.gmail.com>
     [not found]   ` < CACxGe6uHuWPh7d9NaVuPRBWq0Fh1BmDV190KEN4C4uaq4KjS8g@mail.gmail.com>
     [not found]     ` < CACRpkdaCXJzWXoesjD3Jqpm4XMHLQp3SsHcsDG3veUS+xarqHQ@mail.gmail.com>
     [not found]       ` < CACxGe6vUKzow7QpeX2mU7CiZQzY8aZ+p0jd8Vk0+dqz0B=D0Ew@mail.gmail.com>
     [not found] ` < CACRpkdY+6dzs8MpKKtW-3kzsLkZjsit9SeN20k_33TAtVf3NEA@mail.gmail.com>
     [not found]   ` < CACxGe6t_9hUXL_1PHRU=2DYOYfCqZykd7gYRCshZn0XsVoCdRw@mail.gmail.com>
     [not found]     ` < 20131126183344.GA16074@srcf.ucam.org>
2013-11-19 18:15 ` Arnd Bergmann [this message]
2013-11-21 20:03   ` ACPI Mark Brown
2013-11-22  0:29     ` ACPI Arnd Bergmann
2013-11-22  4:05       ` ACPI Jon Masters
2013-11-22 20:31         ` ACPI Arnd Bergmann
2013-11-22 20:59           ` ACPI Jon Masters
2013-11-22 21:37             ` ACPI Jon Masters
2013-11-23  9:11               ` ACPI Arnd Bergmann
2013-11-23 18:39                 ` ACPI Jason Gunthorpe
2013-11-23 23:03                   ` ACPI Matthew Garrett
2013-11-24  3:52                     ` ACPI Jon Masters
2013-11-24  3:56                       ` ACPI Matthew Garrett
2013-11-24 23:21                         ` ACPI Jon Masters
2013-11-24 23:40                           ` ACPI Matthew Garrett
2013-11-22 13:19       ` ACPI Mark Brown
2013-11-19 18:28 ` ACPI Måns Rullgård
2013-11-21 16:56 ` ACPI Matthew Garrett
2013-11-24 17:14 ` ACPI Linus Walleij
2013-11-25  0:42   ` ACPI Grant Likely
2013-11-25  1:28     ` ACPI Matthew Garrett
2013-11-25 11:07     ` ACPI Linus Walleij
2013-11-25 11:33       ` ACPI Grant Likely
2013-11-25 15:41         ` ACPI Matthew Garrett
2013-11-26 12:43           ` ACPI Linus Walleij
2013-11-26 12:55             ` ACPI Grant Likely
2013-11-26 13:43               ` ACPI Jürgen Beisert
2013-11-27 12:25                 ` ACPI Grant Likely
2013-11-28 13:16                   ` ACPI Linus Walleij
2013-11-26 18:33               ` ACPI Matthew Garrett
2013-11-26 23:11                 ` ACPI Matt Sealey
2013-11-26 23:32                   ` ACPI Matthew Garrett
2013-11-27 11:00                     ` ACPI Catalin Marinas
2013-11-27 22:12                       ` ACPI Nicolas Pitre
2013-11-27 20:21                     ` ACPI Matt Sealey
2013-11-28  6:21                       ` ACPI Jon Masters
2013-11-28 18:26                     ` ACPI Stefano Stabellini
2013-11-28 18:48                       ` ACPI Matthew Garrett
2013-11-28 18:51                         ` ACPI Stefano Stabellini
2013-11-27 14:16                   ` ACPI Grant Likely
2013-11-27 22:17                     ` ACPI Matt Sealey
2013-11-28 13:50                       ` ACPI Leif Lindholm
2013-11-28 15:43                       ` ACPI Grant Likely
2013-11-27 12:41                 ` ACPI Grant Likely
2013-11-26 14:45             ` ACPI Matthew Garrett

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=201311191915.57516.arnd@arndb.de \
    --to=arnd@arndb.de \
    --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).