[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7ef64254-ed0f-be33-71c1-3f78bdf31238@loongson.cn>
Date: Mon, 5 Sep 2022 10:55:54 +0800
From: Jianmin Lv <lvjianmin@...ngson.cn>
To: lpieralisi@...nel.org, robin.murphy@....com, chenhuacai@...ngson.cn
Cc: guohanjun@...wei.com, sudeep.holla@....com, rafael@...nel.org,
lenb@...nel.org, robert.moore@...el.com,
linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
loongarch@...ts.linux.dev
Subject: Re: [PATCH V3 0/2] DMA: update acpi_dma_get_range to return dma map
regions
Hi, all,
Is there anything else in this patch series that needs to be modified?
Thanks.
Jianmin.
On 2022/8/30 上午11:01, Jianmin Lv wrote:
> The patch series changed acpi_dma_get_range to return dma regions
> as of_dma_get_range, so that dev->dma_range_map can be initialized
> conveniently.
>
> And acpi_arch_dma_setup for ARM64 is changed wih removing dma_base
> and size from it's parameters.
>
> Remove ARCH_HAS_PHYS_TO_DMA for LoongArch and use generic
> phys_to_dma/dma_to_phys in include/linux/dma-direct.h.
>
> V1 -> V2
> - Removed dma_base and size from acpi_arch_dma_setup' parameters
> - Add patch to remove ARCH_HAS_PHYS_TO_DMA for LoongArch
>
> V2 -> V3
> - Add kerneldoc for acpi_dma_get_range changing
> - Remove redundant code in acpi_arch_dma_setup, and check map
>
>
> Jianmin Lv (2):
> ACPI / scan: Support multiple dma windows with different offsets
> LoongArch: Remove ARCH_HAS_PHYS_TO_DMA
>
> arch/loongarch/Kconfig | 1 -
> arch/loongarch/kernel/dma.c | 52 +++++++++++++++++-------------------------
> arch/loongarch/kernel/setup.c | 2 +-
> drivers/acpi/arm64/dma.c | 29 ++++++++++++++---------
> drivers/acpi/scan.c | 53 +++++++++++++++++++------------------------
> include/acpi/acpi_bus.h | 3 +--
> include/linux/acpi.h | 12 ++++++----
> 7 files changed, 71 insertions(+), 81 deletions(-)
>
Powered by blists - more mailing lists