From: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
Cc: "nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
<nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
Ben Skeggs <bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] bios: fix OF loading
Date: Fri, 2 Oct 2015 09:39:57 +0200 [thread overview]
Message-ID: <560E34CD.4010806@redhat.com> (raw)
In-Reply-To: <CAKb7Uvjskt7TR+_7ff9tM2z6hTe8aiNyMZHGRNQFNKvgKhPKkQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Hi,
On 02-10-15 09:38, Ilia Mirkin wrote:
> On Fri, Oct 2, 2015 at 3:35 AM, Hans de Goede <hdegoede@redhat.com> wrote:
>> Hi,
>>
>> On 02-10-15 09:26, Ilia Mirkin wrote:
>>>
>>> On Fri, Oct 2, 2015 at 3:18 AM, Hans de Goede <hdegoede@redhat.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> On 02-10-15 05:41, Ilia Mirkin wrote:
>>>>
>>>> <nothing>
>>>>
>>>> As someone who has recently started following nouveau I must say that
>>>> it would greatly help me (and likely others) if patches likes this would
>>>> come with a somewhat more descriptive commit message.
>>>
>>>
>>> Duly noted. I normally try to say a bit, but have gotten lazy of late.
>>> Ben's pretty terse too :) How about something like
>>>
>>> """
>>> Currently OF bios load fails for a few reasons:
>>> - checksum failure
>>> - bios size too small
>>> - no PCIR header
>>> - bios length not a multiple of 4
>>>
>>> In this change, we resolve all of the above by ignoring any checksum
>>> failures, and faking the PCIR data when loading from OF.
>>> """
>>
>>
>> Much better, I must say that now that you spell it out that the
>> ignoring of the checksum sort of worries me, but I guess the
>> checksum is part of the missing PCIR header ?
>
> Nope, the two things are unrelated. The PCIR section is normally
> embedded in the vbios and tells you how long the vbios is, and allows
> you to have multiple elements appended at the end (which nouveau has
> recently acquired some support for). The checksum failures just
> happen,
> "pretty sure that the OF-sourced vbioses just don't have a
> checksum byte at all."
You may want to add something along those lines to the commit message
too...
Regards,
Hans
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
next prev parent reply other threads:[~2015-10-02 7:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 3:41 [PATCH] bios: fix OF loading Ilia Mirkin
[not found] ` <1443757281-20834-1-git-send-email-imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
2015-10-02 7:18 ` Hans de Goede
[not found] ` <560E2FDE.6080808-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-02 7:26 ` Ilia Mirkin
[not found] ` <CAKb7Uvisw2kHN=Nsi797W5QfsvqAOib0Y_3Q6O=HXdMAm1rNew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-02 7:35 ` Hans de Goede
[not found] ` <560E33BB.8030706-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-02 7:38 ` Ilia Mirkin
[not found] ` <CAKb7Uvjskt7TR+_7ff9tM2z6hTe8aiNyMZHGRNQFNKvgKhPKkQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-02 7:39 ` Hans de Goede [this message]
[not found] ` <560E34CD.4010806-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-02 18:26 ` Ilia Mirkin
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=560E34CD.4010806@redhat.com \
--to=hdegoede-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@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 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.