Re: [PATCH RFC] powerpc/kernel: Don't check for dev->dma_mask in fsl_set_dma_mask

2018-10-20 Thread Scott Wood
On Sun, 2018-09-02 at 12:30 +0100, Darren Stevens wrote: > To enable use of dma to all ram on a corenet generic system, we add the > function fsl_pci_dma_set_mask, and link it into the ppc.md structure. > > But this function checks for the presence of dev->dma_mask and dma_ops > at entry, and

Re: [PATCH RFC] powerpc/kernel: Don't check for dev->dma_mask in fsl_set_dma_mask

2018-09-03 Thread Christophe LEROY
Hi, Your patch should be sent as part of the message text and not as an attached file. By sending as an attached file, patchwork doesn't handle it properly (all compilation tests fail) https://patchwork.ozlabs.org/patch/965082/ For reference, see

[PATCH RFC] powerpc/kernel: Don't check for dev->dma_mask in fsl_set_dma_mask

2018-09-02 Thread Darren Stevens
To enable use of dma to all ram on a corenet generic system, we add the function fsl_pci_dma_set_mask, and link it into the ppc.md structure. But this function checks for the presence of dev->dma_mask and dma_ops at entry, and fails if one or other are missing. Powerpc's dma_set_mask (which it