Re: Onboard SD card doesn't work anymore after the 'mmc-v5.4-2' updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 17, 2019 at 01:16:00PM +1100, Benjamin Herrenschmidt wrote:
> On Tue, 2019-10-15 at 15:44 +0200, Ulf Hansson wrote:
> > > Hmm, so it looks like PowerPC doesn't mark devices that are dma
> > > coherent with a property that describes them as such.
> > > 
> > > I think this opens a wider question - what should
> > > of_dma_is_coherent()
> > > return for PowerPC?  It seems right now that it returns false for
> > > devices that are DMA coherent, which seems to me to be a recipe for
> > > future mistakes.
> > 
> > Perhaps implement the arch_setup_dma_ops() for PPC, that set
> > "dev->dma_coherent = true" could work?
> 
> Only for coherent ops :)

For those of us who have never touched the PowerPC code before, any
suggestion where you would like to see that?  No file in arch/powerpc/mm
stands out as a place for DMA stuff (and dma-noncoherent.c is certainly
not correct.)

Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up



[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux