On Fri, Aug 06, 2021 at 12:31:05PM +0100, 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 10000.pci failed with error -22 > > Print a more helpful message in this case and try to continue probing > the device as we do if the kernel doesn't have the restricted DMA patches > applied or either CONFIG_OF_ADDRESS or CONFIG_HAS_DMA =n. > > Cc: Claire Chang <[email protected]> > Cc: Konrad Rzeszutek Wilk <[email protected]> > Cc: Robin Murphy <[email protected]> > Cc: Christoph Hellwig <[email protected]> > Cc: Rob Herring <[email protected]> > Signed-off-by: Will Deacon <[email protected]> > --- > drivers/of/address.c | 8 ++++---- > drivers/of/device.c | 2 +- > drivers/of/of_private.h | 8 +++----- > 3 files changed, 8 insertions(+), 10 deletions(-)
Sorry, didn't mean to send this patch a second time, it was still kicking around in my tree from yesterday and I accidentally picked it up when sending my TLBI series. Please ignore. Will _______________________________________________ kvmarm mailing list [email protected] https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
