All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 91319] New: Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
@ 2015-07-13  0:34 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-07-13  0:34 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 2151 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

            Bug ID: 91319
           Summary: Nouveau driver cannot extract FCODE ROM / DCB Block
                    from OpenFirmware Device tree
           Product: xorg
           Version: unspecified
          Hardware: PowerPC
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
          Reporter: psaisanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org

Created attachment 117079
  --> https://bugs.freedesktop.org/attachment.cgi?id=117079&action=edit
kernel dmesg log & NVDA,BMP FCODE ROM

Hi,

When running a Powermac 11.2, (G5 Quad - powerpc64) with a Quadro FX4500
(NV47), previous kernels had no issue extracting the FCODE ROM / DCB block via
the OpenFirmware device tree.
Last vanilla kernel that i have compiled that seemed to work fine was kernel
3.18.16.
Normally, it will find the "BIT SIGNATURE" via OpenFirmware method.

However, when compiling a newer vanilla kernel 4.1.2, nouveau seems to have an
issue reading the FCODE ROM / DCB block / from the OpenFirmware device tree.
Also, interestingly, this time around it attempts to use the PROM method and
attempts to find the "BIT SIGNATURE" via this method.
Apparently it found a signature, but looks like garbage and seems like it cant
extract the DCB BLOCK.

As instructed, i have attached a dmesg.log along with a dump of the NVDA,BMP
image out of the following folder:
/sys/firmware/devicetree/base/pci@0,f0000000/NVDA,Parent@0/.

Not sure if this is correct, but i have passed the following nouveau module
options as i understood:

options nouveau config="NvMSI=0,debug=debug,VBIOS=trace"

I have placed the kernel dmesg log along with the NVDA,BMP dump in the attached
nouveau_powerpc64_pmac11.2.tar.xz archive.

Please let me know if there is any more info required.

Thanks for your help!

Best Regards,
Peter

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3595 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2015-07-13  0:41   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-07-13  9:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-07-13  0:41 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 456 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #117079|text/plain                  |application/octet-stream
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1111 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2015-07-13  0:41   ` [Bug 91319] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-07-13  9:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-07-13 14:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-07-13  9:28 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 769 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

Peter Saisanas <psaisanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |psaisanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

--- Comment #1 from Peter Saisanas <psaisanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 117085
  --> https://bugs.freedesktop.org/attachment.cgi?id=117085&action=edit
dmesg log with "nouveau.debug=debug,VBIOS=trace"

booting kernel 4.1.2 with "nouveau.debug=debug,VBIOS=trace" appended on kernel
command line.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2306 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2015-07-13  0:41   ` [Bug 91319] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-07-13  9:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-07-13 14:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-07-21  1:13   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-07-13 14:56 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 420 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
Aha, looks like the issue is that your VBIOS in OF does not have a PCIR
section, and the nouveau VBIOS parser has come to expect that. Going to have to
read more code to work out a proper solution to that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1222 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2015-07-13 14:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-07-21  1:13   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-07-21  1:14   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-07-21  1:13 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 657 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #3 from Peter Saisanas <psaisanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Hi,
I have managed to extract the actual Open Firmware nVidia Quadro FX4500 PCI
expansion ROM which i have attached.

The actual ROM itself seems to have a PCIR header located @ offset 0x20.

Could it be that nouveau is actually trying to read the PCIR header directly
off the XROM (which is how i assume it would be done in x86) and not via the OF
device tree for ppc arch in the newer versions of nouveau by any chance?

Regards,
Peter

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1462 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (3 preceding siblings ...)
  2015-07-21  1:13   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-07-21  1:14   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-07-21  1:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-07-21  1:14 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 347 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #4 from Peter Saisanas <psaisanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 117271
  --> https://bugs.freedesktop.org/attachment.cgi?id=117271&action=edit
OF Powermac Quadro FX4500 ROM

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1299 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (4 preceding siblings ...)
  2015-07-21  1:14   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-07-21  1:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-10-02  7:44   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-07-21  1:20 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 541 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #5 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
Actually that's not from OF, it's from the PROM. And while it has a PCIR
header, it doesn't contain the various other tables we expect. However the one
in OF (i.e. the NVDA,BMP thing) does. But it's missing the PCIR header so the
nouveau vbios reader logic throws it out, and falls back on the PROM one,
which, in turn, fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1343 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (5 preceding siblings ...)
  2015-07-21  1:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-10-02  7:44   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-10-05  0:26   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-10-02  7:44 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 420 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
You can try this patch, in Ben's tree which is ~4.3-rcN :

http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=5b5cc342d3154120f9bb5ca7839ab556e728c786

This worked for me, but could use more testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1334 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (6 preceding siblings ...)
  2015-10-02  7:44   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-10-05  0:26   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-10-05  0:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-10-05  0:26 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 370 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #7 from Peter Saisanas <psaisanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 118662
  --> https://bugs.freedesktop.org/attachment.cgi?id=118662&action=edit
4.3-rc4 dmesg with "nouveau.debug=debug,VBIOS=trace"

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1398 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (7 preceding siblings ...)
  2015-10-05  0:26   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-10-05  0:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-10-05  0:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-10-05  0:29 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 450 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #8 from Peter Saisanas <psaisanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Hi,
I assume the patch is within 4.3-rc4?

If so, it still doesn't seem to extract the VBIOS via the OpenFirmware.

I have compiled and booted the 4.3-rc4 kernel and booted with
"nouveau.debug=debug,VBIOS=trace" which is attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1261 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (8 preceding siblings ...)
  2015-10-05  0:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-10-05  0:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-10-05  0:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-10-05  0:34 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 755 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #9 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
(In reply to Peter Saisanas from comment #8)
> Hi,
> I assume the patch is within 4.3-rc4?
> 
> If so, it still doesn't seem to extract the VBIOS via the OpenFirmware.
> 
> I have compiled and booted the 4.3-rc4 kernel and booted with
> "nouveau.debug=debug,VBIOS=trace" which is attached.

Odd.

[   10.214404] nouveau 0000:0a:00.0: bios: trying OpenFirmware...
[   10.214499] nouveau 0000:0a:00.0: bios: image 0 invalid

With my patch it's pretty much rigged to always accept the OF vbios. Are you
sure you were able to apply it properly?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1655 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (9 preceding siblings ...)
  2015-10-05  0:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-10-05  0:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-10-05  3:06   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-10-05  0:36 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1067 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #10 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
(In reply to Ilia Mirkin from comment #9)
> (In reply to Peter Saisanas from comment #8)
> > Hi,
> > I assume the patch is within 4.3-rc4?
> > 
> > If so, it still doesn't seem to extract the VBIOS via the OpenFirmware.
> > 
> > I have compiled and booted the 4.3-rc4 kernel and booted with
> > "nouveau.debug=debug,VBIOS=trace" which is attached.
> 
> Odd.
> 
> [   10.214404] nouveau 0000:0a:00.0: bios: trying OpenFirmware...
> [   10.214499] nouveau 0000:0a:00.0: bios: image 0 invalid
> 
> With my patch it's pretty much rigged to always accept the OF vbios. Are you
> sure you were able to apply it properly?

In fact, after my patch,

            nvkm_debug(subdev, "image %d invalid\n", idx);

is in a section that should never get hit by the OF logic (since it will
specify no_pcir=true, which in turn skips the whole image validation thing).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2065 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (10 preceding siblings ...)
  2015-10-05  0:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-10-05  3:06   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-10-05  5:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-10-05  3:06 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 456 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #11 from Peter Saisanas <psaisanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
No i didn't apply the patch, i assumed that it was already in vanilla 4.3-rc4.

Sorry, my misunderstanding.

I have tried to patch vanilla 4.3-rc4 but the patch will not apply cleanly.

Ill try to patch it manually when i get a chance.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1258 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (11 preceding siblings ...)
  2015-10-05  3:06   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-10-05  5:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-10-06 10:10   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-10-05  5:56 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 553 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #12 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
(In reply to Peter Saisanas from comment #11)
> No i didn't apply the patch, i assumed that it was already in vanilla
> 4.3-rc4.
> 
> Sorry, my misunderstanding.
> 
> I have tried to patch vanilla 4.3-rc4 but the patch will not apply cleanly.
> 
> Ill try to patch it manually when i get a chance.

Try it from the drivers/gpu directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1448 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (12 preceding siblings ...)
  2015-10-05  5:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-10-06 10:10   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-10-07 14:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-10-06 10:10 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 579 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #13 from Peter Saisanas <psaisanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
I can confirm that the patch works with my config which is great news.

However, the patch does not apply cleanly to vanilla 4.3-rc4, it seems to
reject parts of the patch to shadowof.c.

After manually changing shadowof.c, i.e. the parts of the patch that was
rejected, compiled and hooray, it works!

Awesome, thanks imirkin!

Do you require any more info?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1381 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (13 preceding siblings ...)
  2015-10-06 10:10   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-10-07 14:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2015-10-22  6:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-10-07 14:47 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 350 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #14 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
(In reply to Peter Saisanas from comment #13)
> Do you require any more info?

Nope. Will leave this open until the fix hits mainline.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1224 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (14 preceding siblings ...)
  2015-10-07 14:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-10-22  6:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-12-01  4:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-12-01 13:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-10-22  6:15 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 559 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #15 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
This patch is in 4.3-rc6.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2065 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (15 preceding siblings ...)
  2015-10-22  6:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2017-12-01  4:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-12-01 13:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-12-01  4:28 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 665 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

reeskm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reeskm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

--- Comment #16 from reeskm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org ---
I'm having this exact same problem on kernel 4.9.49 on ppc 32-bit.
I see that this was previously fixed. Should this be re-opened or should I file
a new bug report?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2023 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 91319] Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree
       [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (16 preceding siblings ...)
  2017-12-01  4:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2017-12-01 13:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-12-01 13:21 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 577 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=91319

--- Comment #17 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
(In reply to reeskm from comment #16)
> I'm having this exact same problem on kernel 4.9.49 on ppc 32-bit.
> I see that this was previously fixed. Should this be re-opened or should I
> file a new bug report?

When in doubt, file a new bug report. When not in doubt, file a new bug report.
Reports are trivial to merge but impossible to tease apart.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1525 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2017-12-01 13:21 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-13  0:34 [Bug 91319] New: Nouveau driver cannot extract FCODE ROM / DCB Block from OpenFirmware Device tree bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-91319-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2015-07-13  0:41   ` [Bug 91319] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-07-13  9:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-07-13 14:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-07-21  1:13   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-07-21  1:14   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-07-21  1:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-02  7:44   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-05  0:26   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-05  0:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-05  0:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-05  0:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-05  3:06   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-05  5:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-06 10:10   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-07 14:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-22  6:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2017-12-01  4:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2017-12-01 13:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

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.