Re: [PATCH] Don't print an error on unsupported BGRT version.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 22, 2015 at 11:26:48AM -0700, josh@xxxxxxxxxxxxxxxx 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@xxxxxxxxxx>
> 
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux