Re: [PATCH v2 0/2] Don't fail device probing due to of_dma_set_restricted_buffer()

From: Rob Herring
Date: Mon Aug 16 2021 - 15:40:23 EST


On Mon, Aug 16, 2021 at 8:26 AM Will Deacon <will@xxxxxxxxxx> wrote:
>
> Hi all,
>
> This is v2 of the patch I previously posted here:
>
> https://lore.kernel.org/r/20210805094736.902-1-will@xxxxxxxxxx
>
> Changes since v1 are:
>
> * Move of_dma_set_restricted_buffer() into of/device.c (Rob)
> * Use IS_ENABLED() instead of 'static inline' stub (Rob)
>
> This applies on Konrad's devel/for-linus-5.15 branch in swiotlb.git
>
> Cheers,
>
> Will
>
> Cc: Claire Chang <tientzu@xxxxxxxxxxxx>
> Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> Cc: Christoph Hellwig <hch@xxxxxx>
> Cc: Rob Herring <robh+dt@xxxxxxxxxx>
> Cc: Robin Murphy <robin.murphy@xxxxxxx>
>
> --->8
>
> Will Deacon (2):
> of: Move of_dma_set_restricted_buffer() into device.c
> of: restricted dma: Don't fail device probe on rmem init failure
>
> drivers/of/address.c | 33 ---------------------------------
> drivers/of/device.c | 39 ++++++++++++++++++++++++++++++++++++++-
> drivers/of/of_private.h | 7 -------
> 3 files changed, 38 insertions(+), 41 deletions(-)

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>