All of lore.kernel.org
 help / color / mirror / Atom feed
From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: acpi: add a Kconfig option to prefer ACPI boot over DT
Date: Thu, 14 Apr 2016 17:46:54 +0100	[thread overview]
Message-ID: <20160414164653.GE15182@e104818-lin.cambridge.arm.com> (raw)
In-Reply-To: <570E7FFE.6050007@hpe.com>

On Wed, Apr 13, 2016 at 10:21:02AM -0700, Roy Franz wrote:
> On 04/13/2016 06:59 AM, Catalin Marinas wrote:
> >On Tue, Apr 12, 2016 at 12:41:23PM -0700, Roy Franz (HPE) wrote:
> >>While this is a 'distro preference', I think it is somewhat ugly for
> >>this to be configured on the commandline.   We (HPE) don't support DT,
> >>and I don't think that is likely to change. While we control the
> >>firmware for our main internal platform, and don't provide a DT there,
> >>we also do development and testing on other platforms where the
> >>firmware may provide a DT, but we never want to use it.  This requires
> >>developers/users to specify "acpi=force" on the command-line to boot
> >>in a supported manner.
> >
> >You wrongly assume that everyone wants ACPI by generalising "we" (HPE)
> >to "developers/users".
> 
> This is not what I am assuming or thinking.  I think that a large enough set
> of arm64 developers and users care primarily/only about ACPI,
> and would benefit from not having to have an "acpi=xx" on the command-line
> forevermore.

That's to the detriment of those wanting to use DT on such platforms and
would have to pass "acpi=off" (because I don't believe in different
kernel images/configurations for different platforms).

You may argue that no-one wants to use DT if the firmware also provides
ACPI. As we currently stand, there are two main camps on ARM:

1. The DT one, unlikely to ever bother with ACPI for their platforms
   (e.g. mobile). This camp never cares about DT vs ACPI preference
   because their firmware would never provide the latter

2. The ACPI early adopters. Of these, there are two sub-categories:
   a) those who care about mainline Linux and provide a DT (in addition
      to ACPI) with their firmware as the more mature solution
   b) those who only run distro kernels with tons of patches and think
      that ACPI on ARM is ready, the last thing to solve being the boot
      priority

As maintainer, I only care about (1) and (2.a). When ACPI on ARM will be
mature enough and more feature-rich than DT (e.g. RAS features), we can
revisit the ACPI vs DT boot priority, potentially making a switch
without any additional config options. Who knows, maybe at that point no
firmware will provide both DT and ACPI and we won't need to do anything
in the kernel.

But in the meantime, from a _mainline_ perspective, DT is considered the
recommended/better supported option and the boot preference should only
be overridden by users explicitly via command line arguments.

-- 
Catalin

      reply	other threads:[~2016-04-14 16:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-11 11:19 [PATCH] arm64: acpi: add a Kconfig option to prefer ACPI boot over DT Ard Biesheuvel
2016-04-11 12:01 ` Graeme Gregory
2016-04-11 23:53   ` Roy Franz
2016-04-12 13:07 ` Catalin Marinas
2016-04-12 13:19   ` Ard Biesheuvel
2016-04-12 13:35     ` Catalin Marinas
2016-04-12 19:41       ` Roy Franz (HPE)
2016-04-13 13:59         ` Catalin Marinas
2016-04-13 17:21           ` Roy Franz
2016-04-14 16:46             ` Catalin Marinas [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=20160414164653.GE15182@e104818-lin.cambridge.arm.com \
    --to=catalin.marinas@arm.com \
    --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 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.