mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jianmin Lv <lvjianmin@loongson.cn>
To: lpieralisi@kernel.org, robin.murphy@arm.com, chenhuacai@loongson.cn
Cc: guohanjun@huawei.com, sudeep.holla@arm.com, rafael@kernel.org,
	lenb@kernel.org, robert.moore@intel.com,
	linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org,
	loongarch@lists.linux.dev
Subject: Re: [PATCH V3 0/2] DMA: update acpi_dma_get_range to return dma map regions
Date: Mon, 5 Sep 2022 10:55:54 +0800	[thread overview]
Message-ID: <7ef64254-ed0f-be33-71c1-3f78bdf31238@loongson.cn> (raw)
In-Reply-To: <20220830030139.29899-1-lvjianmin@loongson.cn>

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(-)
> 


      parent reply	other threads:[~2022-09-05  2:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30  3:01 Jianmin Lv
2022-08-30  3:01 ` [PATCH V3 1/2] ACPI / scan: Support multiple dma windows with different offsets Jianmin Lv
2022-09-05 12:20   ` Robin Murphy
2022-09-06 12:40     ` Jianmin Lv
2022-09-09  8:04       ` Lorenzo Pieralisi
2022-09-09  9:23         ` Jianmin Lv
2022-08-30  3:01 ` [PATCH V3 2/2] LoongArch: Remove ARCH_HAS_PHYS_TO_DMA Jianmin Lv
2022-09-05 14:42   ` Huacai Chen
2022-09-06 12:34     ` Jianmin Lv
2022-09-05  2:55 ` Jianmin Lv [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7ef64254-ed0f-be33-71c1-3f78bdf31238@loongson.cn \
    --to=lvjianmin@loongson.cn \
    --cc=chenhuacai@loongson.cn \
    --cc=guohanjun@huawei.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loongarch@lists.linux.dev \
    --cc=lpieralisi@kernel.org \
    --cc=rafael@kernel.org \
    --cc=robert.moore@intel.com \
    --cc=robin.murphy@arm.com \
    --cc=sudeep.holla@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®