From: Mark Rutland <mark.rutland@arm.com>
To: Jon Masters <jcm@redhat.com>
Cc: Aleksey Makarov <aleksey.makarov@linaro.org>,
Russell King <linux@arm.linux.org.uk>,
"Rafael J . Wysocki" <rjw@rjwysocki.net>,
Len Brown <lenb@kernel.org>,
linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Graeme Gregory <graeme.gregory@linaro.org>,
"Zheng, Lv" <lv.zheng@intel.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will.deacon@arm.com>,
leif.lindholm@linaro.org
Subject: Re: [PATCH 3/3] ACPI: ARM64: support for ACPI_TABLE_UPGRADE
Date: Mon, 23 May 2016 17:49:10 +0100 [thread overview]
Message-ID: <20160523164909.GF4976@leverpostej> (raw)
In-Reply-To: <f0bf43ef-0be5-484c-5066-ab1929105b82@redhat.com>
On Tue, May 17, 2016 at 12:44:02PM -0400, Jon Masters wrote:
> Hi Mark,
>
> On 05/17/2016 08:46 AM, Mark Rutland wrote:
> > On Tue, May 17, 2016 at 03:06:03PM +0300, Aleksey Makarov wrote:
> >> From: Jon Masters <jcm@redhat.com>
> >>
> >> This patch adds support for ACPI_TABLE_UPGRADE for ARM64
> >
> > This feels like a tool to paper over problems rather than solve them.
>
> Generally, it's an arrow in the quiver used to triage problems, and then
> solve them by getting firmware updates made.
Ok. The feature is _hideously_ misnamed for that purpose, however.
> > If vendors are shipping horrendously broken tables today, clearly no
> > software has ever really supported them. So why add workarounds?
>
> That's not (always) the case. These patches help with:
>
> 1). During development of a platform, it is much easier to debug
> problems with tables if you can test replacement ones without having to
> respin the firmware. In the server world, you usually don't have the
> firmware source code, so to get it respun could be days-weeks even if
> you are working with the authors closely. We have practically used this
> feature on a number of platforms already and it will continue.
I was under the impression that that was already possible with GRUB
today (though I see below this may not be the case).
> 2). They empower (advanced) users and developers to work around problems
> that they find on platforms. Sure, we want firmware to always be fixed
> and working well, but it is better if folks have the tools.
>
> > Why is this necessary? Is there a particular case for this, or is this
> > just for parity with x86?
>
> The use cases are as above. It's also required for parity with x86
> functionality on servers.
Parity for case 1 above, or is this used in other scenarios on x86
today?
> > IMO it would be better to put pressure on vendors to fix their FW and
> > provide sensible OS-agnostic update mechanisms.
>
> It's easier to put pressure on them after we know what the problems are.
> I agree that alternative update mechanisms are also good. We also have
> the ability (but it is not implemented on ARM) in GRUB2 to override ACPI
> tables, BUT it's kinda atrophied on all arches and requires that you
> rebuild GRUB with an additional module.
This feels like something that could/should be rectified.
> The reality is that by incorporating this feature we are able to
> provide the same capability that already exists on x86 systems for
> ACPI table triage.
To be clear, I do not disagree that this feature can be useful for that
case. I am just concerned that this is easily abused, and the
description implies a more general set of use cases than we would like.
Thanks,
Mark.
WARNING: multiple messages have this Message-ID (diff)
From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ACPI: ARM64: support for ACPI_TABLE_UPGRADE
Date: Mon, 23 May 2016 17:49:10 +0100 [thread overview]
Message-ID: <20160523164909.GF4976@leverpostej> (raw)
In-Reply-To: <f0bf43ef-0be5-484c-5066-ab1929105b82@redhat.com>
On Tue, May 17, 2016 at 12:44:02PM -0400, Jon Masters wrote:
> Hi Mark,
>
> On 05/17/2016 08:46 AM, Mark Rutland wrote:
> > On Tue, May 17, 2016 at 03:06:03PM +0300, Aleksey Makarov wrote:
> >> From: Jon Masters <jcm@redhat.com>
> >>
> >> This patch adds support for ACPI_TABLE_UPGRADE for ARM64
> >
> > This feels like a tool to paper over problems rather than solve them.
>
> Generally, it's an arrow in the quiver used to triage problems, and then
> solve them by getting firmware updates made.
Ok. The feature is _hideously_ misnamed for that purpose, however.
> > If vendors are shipping horrendously broken tables today, clearly no
> > software has ever really supported them. So why add workarounds?
>
> That's not (always) the case. These patches help with:
>
> 1). During development of a platform, it is much easier to debug
> problems with tables if you can test replacement ones without having to
> respin the firmware. In the server world, you usually don't have the
> firmware source code, so to get it respun could be days-weeks even if
> you are working with the authors closely. We have practically used this
> feature on a number of platforms already and it will continue.
I was under the impression that that was already possible with GRUB
today (though I see below this may not be the case).
> 2). They empower (advanced) users and developers to work around problems
> that they find on platforms. Sure, we want firmware to always be fixed
> and working well, but it is better if folks have the tools.
>
> > Why is this necessary? Is there a particular case for this, or is this
> > just for parity with x86?
>
> The use cases are as above. It's also required for parity with x86
> functionality on servers.
Parity for case 1 above, or is this used in other scenarios on x86
today?
> > IMO it would be better to put pressure on vendors to fix their FW and
> > provide sensible OS-agnostic update mechanisms.
>
> It's easier to put pressure on them after we know what the problems are.
> I agree that alternative update mechanisms are also good. We also have
> the ability (but it is not implemented on ARM) in GRUB2 to override ACPI
> tables, BUT it's kinda atrophied on all arches and requires that you
> rebuild GRUB with an additional module.
This feels like something that could/should be rectified.
> The reality is that by incorporating this feature we are able to
> provide the same capability that already exists on x86 systems for
> ACPI table triage.
To be clear, I do not disagree that this feature can be useful for that
case. I am just concerned that this is easily abused, and the
description implies a more general set of use cases than we would like.
Thanks,
Mark.
next prev parent reply other threads:[~2016-05-23 16:49 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-17 12:06 [PATCH 0/3] ACPI: ARM64: support for ACPI_TABLE_UPGRADE Aleksey Makarov
2016-05-17 12:06 ` Aleksey Makarov
2016-05-17 12:06 ` [PATCH 1/3] ACPI: table upgrade: use cacheable map for tables Aleksey Makarov
2016-05-17 12:06 ` Aleksey Makarov
2016-05-18 3:06 ` Zheng, Lv
2016-05-18 3:06 ` Zheng, Lv
2016-05-17 12:06 ` [PATCH 2/3] ACPI: table upgrade: move early_initrd_acpi_init() to header file Aleksey Makarov
2016-05-17 12:06 ` Aleksey Makarov
2016-05-18 1:08 ` Zheng, Lv
2016-05-18 1:08 ` Zheng, Lv
2016-05-17 12:06 ` [PATCH 3/3] ACPI: ARM64: support for ACPI_TABLE_UPGRADE Aleksey Makarov
2016-05-17 12:06 ` Aleksey Makarov
2016-05-17 12:46 ` Mark Rutland
2016-05-17 12:46 ` Mark Rutland
2016-05-17 16:44 ` Jon Masters
2016-05-17 16:44 ` Jon Masters
2016-05-17 16:48 ` Jon Masters
2016-05-17 16:48 ` Jon Masters
2016-05-23 17:56 ` Lorenzo Pieralisi
2016-05-23 17:56 ` Lorenzo Pieralisi
2016-05-23 18:29 ` Jon Masters
2016-05-23 18:29 ` Jon Masters
2016-05-23 16:49 ` Mark Rutland [this message]
2016-05-23 16:49 ` Mark Rutland
2016-05-18 15:11 ` Aleksey Makarov
2016-05-18 15:11 ` Aleksey Makarov
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=20160523164909.GF4976@leverpostej \
--to=mark.rutland@arm.com \
--cc=aleksey.makarov@linaro.org \
--cc=catalin.marinas@arm.com \
--cc=graeme.gregory@linaro.org \
--cc=jcm@redhat.com \
--cc=leif.lindholm@linaro.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=lv.zheng@intel.com \
--cc=rjw@rjwysocki.net \
--cc=will.deacon@arm.com \
/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.