[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <170112126999.3795360.2028083328309296729.robh@kernel.org>
Date: Mon, 27 Nov 2023 15:41:12 -0600
From: Rob Herring <robh@...nel.org>
To: Robin Murphy <robin.murphy@....com>
Cc: linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
frowand.list@...il.com, james.quinlan@...adcom.com,
m.szyprowski@...sung.com, hch@....de, devicetree@...r.kernel.org,
lenb@...nel.org, robh+dt@...nel.org, rafael@...nel.org,
iommu@...ts.linux.dev
Subject: Re: [PATCH] dma-mapping: Don't store redundant offsets
On Fri, 24 Nov 2023 18:10:03 +0000, Robin Murphy wrote:
> A bus_dma_region necessarily stores both CPU and DMA base addresses for
> a range, so there's no need to also store the difference between them.
>
> Signed-off-by: Robin Murphy <robin.murphy@....com>
> ---
> drivers/acpi/scan.c | 1 -
> drivers/of/address.c | 1 -
> include/linux/dma-direct.h | 19 ++++++++++++-------
> kernel/dma/direct.c | 1 -
> 4 files changed, 12 insertions(+), 10 deletions(-)
>
Acked-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists