Re: [PATCH] of: restricted dma: Don't fail device probe on rmem init failure

2021-08-06 Thread Rob Herring
On Thu, Aug 5, 2021 at 3:47 AM Will Deacon wrote: > > If CONFIG_DMA_RESTRICTED_POOL=n then probing a device with a reference > to a "restricted-dma-pool" will fail with a reasonably cryptic error: I'm left wondering why of_dma_set_restricted_buffer() is even enabled with

Re: [PATCH] of: restricted dma: Don't fail device probe on rmem init failure

2021-08-06 Thread Will Deacon
On Thu, Aug 05, 2021 at 11:26:15AM +0100, Robin Murphy wrote: > On 2021-08-05 10:47, Will Deacon wrote: > > If CONFIG_DMA_RESTRICTED_POOL=n then probing a device with a reference > > to a "restricted-dma-pool" will fail with a reasonably cryptic error: > > > >| pci-host-generic: probe of

Re: [PATCH] of: restricted dma: Don't fail device probe on rmem init failure

2021-08-05 Thread Robin Murphy
On 2021-08-05 10:47, Will Deacon wrote: If CONFIG_DMA_RESTRICTED_POOL=n then probing a device with a reference to a "restricted-dma-pool" will fail with a reasonably cryptic error: | pci-host-generic: probe of 1.pci failed with error -22 Print a more helpful message in this case and try

[PATCH] of: restricted dma: Don't fail device probe on rmem init failure

2021-08-05 Thread Will Deacon
If CONFIG_DMA_RESTRICTED_POOL=n then probing a device with a reference to a "restricted-dma-pool" will fail with a reasonably cryptic error: | pci-host-generic: probe of 1.pci failed with error -22 Print a more helpful message in this case and try to continue probing the device as we do if