Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code

2021-02-27 Thread Maciej W. Rozycki
On Mon, 22 Feb 2021, Maciej W. Rozycki wrote: > > > I haven't booted Linux on my Malta for a while now, but it turns out to > > > work just fine, and your patch set does not regress it booting multi-user > > > NFS-rooted over FDDI. > > > > > > I note however that the system does not reboot

Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code

2021-02-22 Thread Maciej W. Rozycki
On Mon, 22 Feb 2021, Christoph Hellwig wrote: > > I haven't booted Linux on my Malta for a while now, but it turns out to > > work just fine, and your patch set does not regress it booting multi-user > > NFS-rooted over FDDI. > > > > I note however that the system does not reboot properly: >

Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code

2021-02-22 Thread Christoph Hellwig
On Sun, Feb 21, 2021 at 04:32:38AM +0100, Maciej W. Rozycki wrote: > I haven't booted Linux on my Malta for a while now, but it turns out to > work just fine, and your patch set does not regress it booting multi-user > NFS-rooted over FDDI. > > I note however that the system does not reboot

Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code

2021-02-20 Thread Maciej W. Rozycki
On Mon, 15 Feb 2021, Maciej W. Rozycki wrote: > I hope to have the adapter properly fixed soon and I'll look at the Malta > side now, possibly using the old server whose DEFPA has worked flawlessly > for some 20 years now. I have planned to use the interface to supply NFS > root, which I

Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code

2021-02-15 Thread Maciej W. Rozycki
On Tue, 9 Feb 2021, Maciej W. Rozycki wrote: > > > Do you need to have this verified anyhow? I only have a non-coherent > > > 5Kc > > > Malta though. > > > > If you get a chance to test this logic, that would be great. > > I'll try to give it a hit in the next few days then. Installed in

Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code

2021-02-09 Thread Thomas Bogendoerfer
On Mon, Feb 08, 2021 at 03:50:23PM +0100, Christoph Hellwig wrote: > Lift the dma_default_coherent variable from the mips architecture code > to the driver core. This allows an architecture to sdefault all device > to be DMA coherent at run time, even if the kernel is build with support > for DMA

Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code

2021-02-09 Thread Maciej W. Rozycki
On Mon, 8 Feb 2021, Christoph Hellwig wrote: > > Do you need to have this verified anyhow? I only have a non-coherent 5Kc > > Malta though. > > If you get a chance to test this logic, that would be great. I'll try to give it a hit in the next few days then. Installed in my Malta I have a

Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code

2021-02-08 Thread Christoph Hellwig
On Mon, Feb 08, 2021 at 04:57:33PM +0100, Maciej W. Rozycki wrote: > > diff --git a/arch/mips/mti-malta/malta-setup.c > > b/arch/mips/mti-malta/malta-setup.c > > index e98cc977a735b2..f8c9663e7faa10 100644 > > --- a/arch/mips/mti-malta/malta-setup.c > > +++ b/arch/mips/mti-malta/malta-setup.c > >

Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code

2021-02-08 Thread Maciej W. Rozycki
On Mon, 8 Feb 2021, Christoph Hellwig wrote: > diff --git a/arch/mips/mti-malta/malta-setup.c > b/arch/mips/mti-malta/malta-setup.c > index e98cc977a735b2..f8c9663e7faa10 100644 > --- a/arch/mips/mti-malta/malta-setup.c > +++ b/arch/mips/mti-malta/malta-setup.c > @@ -143,7 +143,7 @@ static void

Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code

2021-02-08 Thread Greg Kroah-Hartman
On Mon, Feb 08, 2021 at 03:50:23PM +0100, Christoph Hellwig wrote: > Lift the dma_default_coherent variable from the mips architecture code > to the driver core. This allows an architecture to sdefault all device > to be DMA coherent at run time, even if the kernel is build with support > for DMA

[PATCH 5/6] driver core: lift dma_default_coherent into common code

2021-02-08 Thread Christoph Hellwig
Lift the dma_default_coherent variable from the mips architecture code to the driver core. This allows an architecture to sdefault all device to be DMA coherent at run time, even if the kernel is build with support for DMA noncoherent device. By allowing device_initialize to ѕet the