Re: [PATCH v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Ilia Mirkin
On Wed, Oct 14, 2015 at 11:20 AM, Laurent Vivier wrote: > > > Le 14/10/2015 16:52, Ilia Mirkin a écrit : >> On Wed, Oct 14, 2015 at 10:20 AM, Olaf Hering wrote: >>> On Sun, Oct 11, Laurent Vivier wrote: >>> On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp()

Re: [PATCH v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Ilia Mirkin
On Wed, Oct 14, 2015 at 11:20 AM, Olaf Hering wrote: > On Wed, Oct 14, Ilia Mirkin wrote: > >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=25d295882a1adfcdaaad85369289677b87c7c8f0 > > Thanks. > Almost perfect, lacks a stable tag. Code shifted around a lot, I

Re: [PATCH v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Laurent Vivier
Le 14/10/2015 16:52, Ilia Mirkin a écrit : > On Wed, Oct 14, 2015 at 10:20 AM, Olaf Hering wrote: >> On Sun, Oct 11, 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 >>>

Re: [PATCH v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Olaf Hering
On Wed, Oct 14, Ilia Mirkin wrote: > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=25d295882a1adfcdaaad85369289677b87c7c8f0 Thanks. Almost perfect, lacks a stable tag. Olaf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Ilia Mirkin
On Wed, Oct 14, 2015 at 10:20 AM, Olaf Hering wrote: > On Sun, Oct 11, 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. > >> CC:

Re: [PATCH v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Olaf Hering
On Sun, Oct 11, 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. > CC: imir...@alum.mit.edu > Signed-off-by: Laurent Vivier Tested-by: Olaf

Re: [PATCH v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Ilia Mirkin
On Wed, Oct 14, 2015 at 11:20 AM, Laurent Vivier wrote: > > > Le 14/10/2015 16:52, Ilia Mirkin a écrit : >> On Wed, Oct 14, 2015 at 10:20 AM, Olaf Hering wrote: >>> On Sun, Oct 11, Laurent Vivier wrote: >>> On PowerMac G5 (and I think on all OpenFirmware

Re: [PATCH v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Olaf Hering
On Wed, Oct 14, Ilia Mirkin wrote: > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=25d295882a1adfcdaaad85369289677b87c7c8f0 Thanks. Almost perfect, lacks a stable tag. Olaf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Ilia Mirkin
On Wed, Oct 14, 2015 at 11:20 AM, Olaf Hering wrote: > On Wed, Oct 14, Ilia Mirkin wrote: > >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=25d295882a1adfcdaaad85369289677b87c7c8f0 > > Thanks. > Almost perfect, lacks a stable tag. Code shifted around

Re: [PATCH v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Ilia Mirkin
On Wed, Oct 14, 2015 at 10:20 AM, Olaf Hering wrote: > On Sun, Oct 11, 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 v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Laurent Vivier
Le 14/10/2015 16:52, Ilia Mirkin a écrit : > On Wed, Oct 14, 2015 at 10:20 AM, Olaf Hering wrote: >> On Sun, Oct 11, Laurent Vivier wrote: >> >>> On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() >>> returns NULL. But in fact the OpenFirmware has given

Re: [PATCH v2] nouveau: fix OpenFirmware support

2015-10-14 Thread Olaf Hering
On Sun, Oct 11, 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. > CC: imir...@alum.mit.edu > Signed-off-by: Laurent Vivier

[PATCH v2] nouveau: fix OpenFirmware support

2015-10-11 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. The NV34 has a small image and an invalid checksum, we manage this by changing the size of the header we try to fetch (reduce

[PATCH v2] nouveau: fix OpenFirmware support

2015-10-11 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. The NV34 has a small image and an invalid checksum, we manage this by changing the size of the header we try to fetch (reduce