linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Jones <pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: josh-iaAMLnmF4UmaiuxdJuQwMA@public.gmane.org
Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Matt Fleming
	<matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH] Don't print an error on unsupported BGRT version.
Date: Wed, 22 Jul 2015 18:13:58 -0400	[thread overview]
Message-ID: <20150722221358.GA2103@redhat.com> (raw)
In-Reply-To: <20150722182648.GC26620@cloud>

On Wed, Jul 22, 2015 at 11:26:48AM -0700, josh-iaAMLnmF4UmaiuxdJuQwMA@public.gmane.org wrote:
> On Wed, Jul 22, 2015 at 01:13:27PM -0400, Peter Jones wrote:
> > BGRT can legitimately be a different version from what we support, and
> > that's a problem with the driver not supporting something, not an error
> > that needs to be surfaced to the user.
> > 
> > Signed-off-by: Peter Jones <pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> 
> As mentioned in my previous mail, please consider adding support for
> version 0 instead, which would fix this issue in a better way.
> 
> If that's not possible, then sure, this patch is fine.  But ideally this
> warning should tend to lead to a patch to the bgrt driver adding support
> for the new version (or in this case the old version), rather than just
> silencing the warning.

Well, the inherent problem with version 0 is that it /isn't/
standardized - though on the machine in front of me (a retail Lenovo X1
Carbon), eyeballing it, it looks exactly the same.  I don't know how
we'd verify that none of the fields mean anything different.  My
suspicion is that some spec from before it was part of ACPI exists, or
maybe some earlier proposal to ACPI had version=0, but I have no access
to ACPI proposals from before they became part of UEFI.  The fact that
some retail machines seem to have version=0 makes me think it
/might/ be safe, but I can't really tell.  For all I know windows has
special-cased it in vendor supplied drivers that check the oem_id.

I've got something now that makes sense on one machine, and I need to
check out a few more machines, and then I'll send something along.

-- 
        Peter

      reply	other threads:[~2015-07-22 22:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 16:40 [PATCH] Don't print an error on unsupported BGRT version Peter Jones
     [not found] ` <1437583253-29600-1-git-send-email-pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-07-22 16:53   ` Josh Triplett
2015-07-22 17:09     ` Peter Jones
     [not found]       ` <20150722170906.GA17419-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-07-22 18:23         ` josh-iaAMLnmF4UmaiuxdJuQwMA
2015-07-22 17:09     ` Peter Jones
2015-07-22 17:13     ` Peter Jones
     [not found]       ` <1437585207-32516-1-git-send-email-pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-07-22 18:26         ` josh-iaAMLnmF4UmaiuxdJuQwMA
2015-07-22 22:13           ` Peter Jones [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=20150722221358.GA2103@redhat.com \
    --to=pjones-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=josh-iaAMLnmF4UmaiuxdJuQwMA@public.gmane.org \
    --cc=linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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).