Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1444294
| From | "Rafael J. Wysocki" <rjw@rjwysocki.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver |
| Date | 2016-07-15 15:10 +0200 |
| Message-ID | <rVb2q-7js-23@gated-at.bofh.it> (permalink) |
| References | <rUwBX-6kl-3@gated-at.bofh.it> <rV5T4-43Z-19@gated-at.bofh.it> <rVag2-6Nq-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Friday, July 15, 2016 02:15:27 PM Rafael J. Wysocki wrote:
> On Friday, July 15, 2016 03:32:35 PM Fu Wei wrote:
> > Hi Rafael,
> >
[cut]
> > >
> > >> + return 0;
> > >> + }
> > >> +
> > >> + if (!gtdt->platform_timer_count) {
> > >> + pr_info("No Platform Timer.\n");
> > >> + return 0;
> > >> + }
> > >> +
> > >> + acpi_gtdt_desc.platform_timer_start = (void *)gtdt +
> > >> + gtdt->platform_timer_offset;
> > >> + if (acpi_gtdt_desc.platform_timer_start <
> > >> + (void *)table + sizeof(struct acpi_table_gtdt)) {
> > >> + pr_err(FW_BUG "Platform Timer pointer error.\n");
> > >
> > > Why pr_err()?
> >
> > if (true), that means the GTDT table has bugs.
> >
>
> And that's not a very useful piece of information unless you're debugging the
> platform, is it?
FWIW, I'm not a big fan of printing "your firmware is buggy" type of messages
(especially at the "error" log level or higher) unless they can be clearly
connected to a specific type of functional failure.
So if you want to pring an error-level message, something like "I cannot do X
because of the firmware bug Y" would be better IMO.
Thanks,
Rafael
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver fu.wei@linaro.org - 2016-07-13 20:00 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver "Rafael J. Wysocki" <rafael@kernel.org> - 2016-07-13 22:40 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver "Rafael J. Wysocki" <rafael@kernel.org> - 2016-07-13 22:40 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver Fu Wei <fu.wei@linaro.org> - 2016-07-15 09:40 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver Guenter Roeck <linux@roeck-us.net> - 2016-07-13 23:10 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver "Rafael J. Wysocki" <rafael@kernel.org> - 2016-07-13 23:50 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver Fu Wei <fu.wei@linaro.org> - 2016-07-15 09:50 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-15 14:10 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver Fu Wei <fu.wei@linaro.org> - 2016-07-15 18:20 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver Fu Wei <fu.wei@linaro.org> - 2016-07-15 09:40 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-15 14:20 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-15 15:10 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver Fu Wei <fu.wei@linaro.org> - 2016-07-15 18:40 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-15 23:20 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver Fu Wei <fu.wei@linaro.org> - 2016-07-16 04:30 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-16 14:40 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver Fu Wei <fu.wei@linaro.org> - 2016-07-19 20:30 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-07-14 22:40 +0200
Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver Fu Wei <fu.wei@linaro.org> - 2016-07-15 09:50 +0200
csiph-web