Bug#826796: Request for a new: linux-image-powerpc64-4K

2021-10-11 Thread Mathieu Malaterre
On Thu, Oct 7, 2021 at 10:46 AM Mathieu Malaterre  wrote:
>
> On Thu, Apr 23, 2020 at 4:31 AM Ben Hutchings  wrote:
> >
> > On Tue, 2020-04-21 at 11:26 +0200, Mathieu Malaterre wrote:
> > > Dear Debian-kernel team,
> > >
> > > > Would it be possible to ship an alternate ppc64 kernel build without
> > > > the 64K page option ?
> > >
> > > Could someone please clarify if this is possible/acceptable ? The new
> > > ppc64 kernel would not be the default but could be installed on G5
> > > machine after installation.
> >
> > I'm sorry this is still unresolved.  I have a couple of questions:
> >
> > * How will people discover this and know that they should use it?  If
> > the installer is still being updated for ppc64, shouldn't we select
> > this kernel automatically when an Nvidia PCI device is detected?
>
> Adrian, do you believe d-i could do that ?
>
> > * Has anyone talked to the nouveau developers recently about either (a)
> > fixing support for larger pages or (b) fixing the dependencies for the
> > driver so it can't be built in an unsupported configuration?
>
> I think the issue is nicely summarized by Benjamin Herrenschmidt here:
> https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/258#note_352667
>
> > In any case, if nouveau is completely broken with 64K pages then we
> > should make sure nouveau is disabled in our default ppc64
> > configuration.
>
> True, but the only complaints I hear on debian-powerpc is from people on G5.

We've got at least one working nouveau/ppc64 configuration:

* https://lists.debian.org/debian-powerpc/2021/10/msg00068.html



Bug#826796: Request for a new: linux-image-powerpc64-4K

2021-10-07 Thread John Paul Adrian Glaubitz
On 10/7/21 10:46, Mathieu Malaterre wrote:
>> In any case, if nouveau is completely broken with 64K pages then we
>> should make sure nouveau is disabled in our default ppc64
>> configuration.
> 
> True, but the only complaints I hear on debian-powerpc is from people on G5.

I will change the kernel configuration to use 4K pages by default and create
a new kernel flavor with 64K pages. We have different kernel flavors for many
architectures.

But getting this right in a way where the Debian kernel maintainers accept my
patch is a bit tricky, so please give me some more time. As you know, there are
a lot of issues piling up and a lot of the tasks end up with me.

I will put this on my TODO list.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#826796: Request for a new: linux-image-powerpc64-4K

2021-10-07 Thread Mathieu Malaterre
On Thu, Apr 23, 2020 at 4:31 AM Ben Hutchings  wrote:
>
> On Tue, 2020-04-21 at 11:26 +0200, Mathieu Malaterre wrote:
> > Dear Debian-kernel team,
> >
> > > Would it be possible to ship an alternate ppc64 kernel build without
> > > the 64K page option ?
> >
> > Could someone please clarify if this is possible/acceptable ? The new
> > ppc64 kernel would not be the default but could be installed on G5
> > machine after installation.
>
> I'm sorry this is still unresolved.  I have a couple of questions:
>
> * How will people discover this and know that they should use it?  If
> the installer is still being updated for ppc64, shouldn't we select
> this kernel automatically when an Nvidia PCI device is detected?

Adrian, do you believe d-i could do that ?

> * Has anyone talked to the nouveau developers recently about either (a)
> fixing support for larger pages or (b) fixing the dependencies for the
> driver so it can't be built in an unsupported configuration?

I think the issue is nicely summarized by Benjamin Herrenschmidt here:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/258#note_352667

> In any case, if nouveau is completely broken with 64K pages then we
> should make sure nouveau is disabled in our default ppc64
> configuration.

True, but the only complaints I hear on debian-powerpc is from people on G5.

-M



Bug#826796: Request for a new: linux-image-powerpc64-4K

2020-06-05 Thread Lennart Sorensen
On Fri, Jun 05, 2020 at 03:08:55PM +0200, John Paul Adrian Glaubitz wrote:
> Is POWER5 still supported by the Linux kernel? I thought IBM removed a
> bunch of older machines but kept PowerPC 970 support.

4.17 dropped power4.  power5 and up are still supported just fine.

-- 
Len Sorensen



Bug#826796: Request for a new: linux-image-powerpc64-4K

2020-06-05 Thread Lennart Sorensen
On Fri, Jun 05, 2020 at 08:37:02AM +0200, John Paul Adrian Glaubitz wrote:
> I would like to switch the ppc64 kernel back to 4k pages. The majority
> of our users are people on G5 Macs anyway, so I don't see a point
> in using 64k pages.
> 
> Anyone with a large modern POWER machine is going to run the ppc64el
> port anyway.

Only power8 and newer can run ppc64el, so all power 5, 6 and 7 users
would still need to run be.  But there are probably a lot less than of
G5 users.  And most people with work loads that have a use for 64k pages
are probably on newer machines too.

-- 
Len Sorensen



Bug#826796: Request for a new: linux-image-powerpc64-4K

2020-06-05 Thread John Paul Adrian Glaubitz
On 6/5/20 3:03 PM, Lennart Sorensen wrote:
>> Anyone with a large modern POWER machine is going to run the ppc64el
>> port anyway.
> 
> Only power8 and newer can run ppc64el, so all power 5, 6 and 7 users
> would still need to run be.  But there are probably a lot less than of
> G5 users.  And most people with work loads that have a use for 64k pages
> are probably on newer machines too.
Is POWER5 still supported by the Linux kernel? I thought IBM removed a
bunch of older machines but kept PowerPC 970 support.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#826796: Request for a new: linux-image-powerpc64-4K

2020-06-05 Thread John Paul Adrian Glaubitz
Hi Ben!

> I'm sorry this is still unresolved.  I have a couple of questions:
> 
> * How will people discover this and know that they should use it?  If
> the installer is still being updated for ppc64, shouldn't we select
> this kernel automatically when an Nvidia PCI device is detected?
> 
> * Has anyone talked to the nouveau developers recently about either (a)
> fixing support for larger pages or (b) fixing the dependencies for the
> driver so it can't be built in an unsupported configuration?

>From what I have read in the upstream bug tracker discussion, fixing
this seems non-trivial as even the proprietary driver is using a hack
to address this problem [1].

> In any case, if nouveau is completely broken with 64K pages then we
> should make sure nouveau is disabled in our default ppc64
> configuration.

I would like to switch the ppc64 kernel back to 4k pages. The majority
of our users are people on G5 Macs anyway, so I don't see a point
in using 64k pages.

Anyone with a large modern POWER machine is going to run the ppc64el
port anyway.

Adrian

> [1] https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/258

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#826796: Request for a new: linux-image-powerpc64-4K

2020-04-23 Thread Gianluca Renzi
On Thu, Apr 23, 2020 at 4:33 AM Ben Hutchings  wrote:

> On Tue, 2020-04-21 at 11:26 +0200, Mathieu Malaterre wrote:
> > Dear Debian-kernel team,
> >
> > > Would it be possible to ship an alternate ppc64 kernel build without
> > > the 64K page option ?
> >
> > Could someone please clarify if this is possible/acceptable ? The new
> > ppc64 kernel would not be the default but could be installed on G5
> > machine after installation.
>
> I'm sorry this is still unresolved.  I have a couple of questions:
>
> * How will people discover this and know that they should use it?  If
> the installer is still being updated for ppc64, shouldn't we select
> this kernel automatically when an Nvidia PCI device is detected?
>
>
It could be an option during installation. It does not hurt anyone with
bigendian and nvidia cards.
Other PPC should be little endian and the installer should be act
differently in this case.



> * Has anyone talked to the nouveau developers recently about either (a)
> fixing support for larger pages or (b) fixing the dependencies for the
> driver so it can't be built in an unsupported configuration?
>
> In any case, if nouveau is completely broken with 64K pages then we
> should make sure nouveau is disabled in our default ppc64
> configuration.
>
>
You are right. I suppose there is some misunderstood or a techincal issue
to have nvidia drivers using 4K page size.
This problem is well known since 2015 at least. Every people involved in
the PPC side are knowing this from a long time, so I wondering if anybody
from NVIDIA developing side are questioning about this issue.
Or simply it is too hard or limiting decrease this to 4K page. Just my 2
cents.
Regards,
Gianluca Renzi
-- 
Ciao e buona giornata.

"GP! In mezzo al campo stai proprio schifoso!"
Coach M.Russo


Bug#826796: Request for a new: linux-image-powerpc64-4K

2020-04-22 Thread Ben Hutchings
On Tue, 2020-04-21 at 11:26 +0200, Mathieu Malaterre wrote:
> Dear Debian-kernel team,
> 
> > Would it be possible to ship an alternate ppc64 kernel build without
> > the 64K page option ?
> 
> Could someone please clarify if this is possible/acceptable ? The new
> ppc64 kernel would not be the default but could be installed on G5
> machine after installation.

I'm sorry this is still unresolved.  I have a couple of questions:

* How will people discover this and know that they should use it?  If
the installer is still being updated for ppc64, shouldn't we select
this kernel automatically when an Nvidia PCI device is detected?

* Has anyone talked to the nouveau developers recently about either (a)
fixing support for larger pages or (b) fixing the dependencies for the
driver so it can't be built in an unsupported configuration?

In any case, if nouveau is completely broken with 64K pages then we
should make sure nouveau is disabled in our default ppc64
configuration.

Ben.

-- 
Ben Hutchings
Time is nature's way of making sure that
everything doesn't happen at once.



signature.asc
Description: This is a digitally signed message part


Bug#826796: Request for a new: linux-image-powerpc64-4K

2020-04-21 Thread John Paul Adrian Glaubitz
Hi Mathieu!

On 4/21/20 11:26 AM, Mathieu Malaterre wrote:
> Dear Debian-kernel team,
> 
>> Would it be possible to ship an alternate ppc64 kernel build without
>> the 64K page option ?
> 
> Could someone please clarify if this is possible/acceptable ? The new
> ppc64 kernel would not be the default but could be installed on G5
> machine after installation.

Another kernel flavor for powerpc64 is surely possible. It should be
called -4k though as Debian does not allow uppercase letters in
package names.

On sh4, we also have two different flavors, see [1].

I suggest creating a branch in your Salsa home project with the necessary
changes and then open a pull request. It should be mostly copy and paste
work.

Adrian

> [1] 
> https://salsa.debian.org/kernel-team/linux/-/tree/master/debian%2Fconfig%2Fsh4

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#826796: Request for a new: linux-image-powerpc64-4K

2020-04-21 Thread Mathieu Malaterre
Dear Debian-kernel team,

> Would it be possible to ship an alternate ppc64 kernel build without
> the 64K page option ?

Could someone please clarify if this is possible/acceptable ? The new
ppc64 kernel would not be the default but could be installed on G5
machine after installation.

Thanks



Bug#826796: Request for a new: linux-image-powerpc64-4K

2016-06-09 Thread Mathieu Malaterre
Package: src:linux
Version: 4.6.1-1

Would it be possible to ship an alternate ppc64 kernel build without
the 64K page option ? This would allow us to provide a (non-default)
ppc64 kernel which would work with old G5 Mac with nvidia card.

Currently the situation is described in:

https://bugs.debian.org/767969

---

A team member of Nouveau is apparently working toward a fix:

https://bugs.freedesktop.org/show_bug.cgi?id=94757#c6

However I fear it may not be ready in time for stretch.

This is why I am asking for a -possibly temporary- alternative ppc64 kernel.

thanks