Re: [Regression 5.7-rc1] Random hangs on 32-bit PowerPC (PowerBook6, 7)

2020-05-18 Thread Rui Salvaterra
On Mon, 18 May 2020 at 18:15, Christophe Leroy wrote: > > Yeah I discovered recently that the way swap is implemented on powerpc > expects RW and other important bits not be one of the 3 least > significant bits (see __pte_to_swp_entry() ) I see, you get the swap entry by shifting the PTE right

Re: [Regression 5.7-rc1] Random hangs on 32-bit PowerPC (PowerBook6, 7)

2020-05-18 Thread Rui Salvaterra
Hi again, Christophe, On Mon, 18 May 2020 at 15:03, Christophe Leroy wrote: > > Can you try reverting 697ece78f8f749aeea40f2711389901f0974017a ? It may > have broken swap. Yeah, that was a good call. :) Linux 5.7-rc1 with the revert on top survives the beating. I'll be happy to test a

debian-powe...@lists.debian.org

2020-05-18 Thread Rui Salvaterra
Hi, everyone, I strongly suspect something went wrong between Linux 5.6 and 5.7-rc1. This is an iBook G4 laptop with 1.5 GiB of RAM running the Debian powerpc port. I haven't bisected yet, since it's going to take quite a bit of time, so I'm sending this mostly as a heads-up (and to see if

[Regression 5.7-rc1] Random hangs on 32-bit PowerPC (PowerBook6,7)

2020-05-18 Thread Rui Salvaterra
[Resending since I messed up the subject, sorry] Hi, everyone, Something went wrong between Linux 5.6 and 5.7-rc1. This is an iBook G4 laptop with 1.5 GiB of RAM running the Debian powerpc port. I haven't bisected yet, since it's going to take quite a bit of time, so I'm sending this mostly as a

Re: powerpc/mm: Only define MAX_PHYSMEM_BITS in SPARSEMEM configurations

2019-03-25 Thread Rui Salvaterra
Hi, Ben > Presumably you have CONFIG_PPC_BOOK3S_64 enabled and CONFIG_SPARSEMEM > disabled? > Was this configuration actually usable? I just noticed these build warnings too. FWIW, I've been using CONFIG_FLATMEM on my Power Mac G5 for about three years, so I guess the answer is "yes" (for this

Re: use generic DMA mapping code in powerpc V4

2018-12-11 Thread Rui Salvaterra
On Mon, 10 Dec 2018 at 20:49, Benjamin Herrenschmidt wrote: > [snip] > > AGP is a gigantic nightmare :-) It's not just cache coherency issues > (some implementations are coherent, some aren't, Apple's is ... weird). > > Apple has all sort of bugs, and Darwin source code only sheds light on >

Re: use generic DMA mapping code in powerpc V4

2018-12-10 Thread Rui Salvaterra
On Mon, 10 Dec 2018 at 19:33, Christoph Hellwig wrote: > > On Mon, Dec 10, 2018 at 05:04:46PM +0000, Rui Salvaterra wrote: > > Hi, Christoph and Ben, > > > > It just came to my mind (and this is most likely a stupid question, > > but still)… Is there any possi

Re: use generic DMA mapping code in powerpc V4

2018-12-10 Thread Rui Salvaterra
On Sat, 8 Dec 2018 at 17:17, Christoph Hellwig wrote: > > On Sun, Dec 02, 2018 at 05:11:02PM +1100, Benjamin Herrenschmidt wrote: > > Talking of which ... Christoph, not sure if we can do something about > > this at the DMA API level or keep hacks but some adapters such as the > > nVidia GPUs

Re: use generic DMA mapping code in powerpc V4

2018-11-30 Thread Rui Salvaterra
Hi, Christoph, Your powerpc-dma.5 branch seems to be working fine on my G5, so Tested-by: Rui Salvaterra Thanks again! Rui

Re: use generic DMA mapping code in powerpc V4

2018-11-30 Thread Rui Salvaterra
he quick response! I applied it on top of your powerpc-dma.4 branch and retested. I'm not seeing nouveau complaining anymore (I'm not using X11 or any DE, though). In any case and FWIW, this series is Tested-by: Rui Salvaterra Thanks, Rui