[PATCH] coresight: acpi: add support for amba dma-330 controller

Vijayenthiran Subramaniam posted 1 patch 3 years, 6 months ago
drivers/acpi/acpi_amba.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] coresight: acpi: add support for amba dma-330 controller
Posted by Vijayenthiran Subramaniam 3 years, 6 months ago
Add ACPI ID for ARM DMA-330 controller to AMBA id list to allow the
probing of the device.

Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
---
 drivers/acpi/acpi_amba.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/acpi/acpi_amba.c b/drivers/acpi/acpi_amba.c
index ab8a4e0191b1..5574a0a97655 100644
--- a/drivers/acpi/acpi_amba.c
+++ b/drivers/acpi/acpi_amba.c
@@ -21,6 +21,7 @@
 
 static const struct acpi_device_id amba_id_list[] = {
 	{"ARMH0061", 0}, /* PL061 GPIO Device */
+	{"ARMH0330", 0}, /* ARM AMBA DMA Controller DMA-330 */
 	{"ARMHC500", 0}, /* ARM CoreSight ETM4x */
 	{"ARMHC501", 0}, /* ARM CoreSight ETR */
 	{"ARMHC502", 0}, /* ARM CoreSight STM */
-- 
2.17.1
Re: [PATCH] coresight: acpi: add support for amba dma-330 controller
Posted by Suzuki K Poulose 3 years, 6 months ago
Hi

nit: on subject. This has no relation to CoreSight. This
could be :

acpi: amba: Add support for xyz.


Suzuki
Re: [PATCH] coresight: acpi: add support for amba dma-330 controller
Posted by Vijayenthiran Subramanian 3 years, 6 months ago
Hi Suzuki,

On Fri, Sep 16, 2022 at 11:46 AM Suzuki K Poulose
<suzuki.poulose@arm.com> wrote:
>
> Hi
>
> nit: on subject. This has no relation to CoreSight. This
> could be :
>
> acpi: amba: Add support for xyz.

Ack. Will send a v2.

>
>
> Suzuki
Re: [PATCH] coresight: acpi: add support for amba dma-330 controller
Posted by Sudeep Holla 3 years, 6 months ago
On Fri, Sep 16, 2022 at 04:49:12PM +0530, Vijayenthiran Subramaniam wrote:
> Add ACPI ID for ARM DMA-330 controller to AMBA id list to allow the
> probing of the device.
>

$subject pattern is simply wrong and I see this is just copied from the
previous commit which makes no sense here. You can see other commits
and their patterns too.

Use prefix something like:
ACPI / amba:
or
ACPI: amba:

Also "Add .." in the $subject sounds like you are adding the support for
the controller here which is not the case.

Enable support for Arm Primecell PL330 dma controller
Or
Add Arm Primecell PL330 dma controller to the supported list

-- 
Regards,
Sudeep
Re: [PATCH] coresight: acpi: add support for amba dma-330 controller
Posted by Vijayenthiran Subramanian 3 years, 6 months ago
Hi Sudeep,

On Fri, Sep 16, 2022 at 1:06 PM Sudeep Holla <sudeep.holla@arm.com> wrote:
>
> On Fri, Sep 16, 2022 at 04:49:12PM +0530, Vijayenthiran Subramaniam wrote:
> > Add ACPI ID for ARM DMA-330 controller to AMBA id list to allow the
> > probing of the device.
> >
>
> $subject pattern is simply wrong and I see this is just copied from the
> previous commit which makes no sense here. You can see other commits
> and their patterns too.
>
> Use prefix something like:
> ACPI / amba:
> or
> ACPI: amba:
>
> Also "Add .." in the $subject sounds like you are adding the support for
> the controller here which is not the case.
>
> Enable support for Arm Primecell PL330 dma controller
> Or
> Add Arm Primecell PL330 dma controller to the supported list

Ack.

I have posted v2 with the subject:
[PATCH v2] ACPI: amba: Add Arm DMA-330 controller to the supported list.

>
> --
> Regards,
> Sudeep