Re: [PATCH] nouveau: fix OpenFirmware support

2015-10-11 Thread Laurent Vivier
Le 11/10/2015 01:49, Ilia Mirkin a écrit : > On Sat, Oct 10, 2015 at 7:45 PM, Laurent Vivier wrote: >> >> >> Le 10/10/2015 21:56, Ilia Mirkin a écrit : >>> On Sat, Oct 10, 2015 at 3:29 PM, Laurent Vivier wrote: Le 10/10/2015 20:41, Ilia Mirkin a écrit : > Hi Laurent, > >>

Re: [PATCH] nouveau: fix OpenFirmware support

2015-10-10 Thread Ilia Mirkin
On Sat, Oct 10, 2015 at 7:45 PM, Laurent Vivier wrote: > > > Le 10/10/2015 21:56, Ilia Mirkin a écrit : >> On Sat, Oct 10, 2015 at 3:29 PM, Laurent Vivier wrote: >>> >>> >>> Le 10/10/2015 20:41, Ilia Mirkin a écrit : Hi Laurent, On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier wrot

Re: [PATCH] nouveau: fix OpenFirmware support

2015-10-10 Thread Laurent Vivier
Le 10/10/2015 21:56, Ilia Mirkin a écrit : > On Sat, Oct 10, 2015 at 3:29 PM, Laurent Vivier wrote: >> >> >> Le 10/10/2015 20:41, Ilia Mirkin a écrit : >>> Hi Laurent, >>> >>> On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier wrote: On PowerMac G5 (and I think on all OpenFirmware platforms),

Re: [PATCH] nouveau: fix OpenFirmware support

2015-10-10 Thread Ilia Mirkin
On Sat, Oct 10, 2015 at 3:29 PM, Laurent Vivier wrote: > > > Le 10/10/2015 20:41, Ilia Mirkin a écrit : >> Hi Laurent, >> >> On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier wrote: >>> On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() >>> returns NULL. But in fact the Ope

Re: [PATCH] nouveau: fix OpenFirmware support

2015-10-10 Thread Laurent Vivier
Le 10/10/2015 20:41, Ilia Mirkin a écrit : > Hi Laurent, > > On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier wrote: >> On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() >> returns NULL. But in fact the OpenFirmware has given us the size >> we can store in image->size.

Re: [PATCH] nouveau: fix OpenFirmware support

2015-10-10 Thread Ilia Mirkin
Hi Laurent, On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier wrote: > On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() > returns NULL. But in fact the OpenFirmware has given us the size > we can store in image->size. > > This size is stored in bios->size by of_init() as

[PATCH] nouveau: fix OpenFirmware support

2015-10-10 Thread Laurent Vivier
On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() returns NULL. But in fact the OpenFirmware has given us the size we can store in image->size. This size is stored in bios->size by of_init() as there is no way to retrieve it otherwise. And as we know the size, copy all da