mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH linux-next] soc: Use generic_handle_domain_irq()
@ 2022-10-11  3:20 yexingchen116
  2022-10-11  4:24 ` Mukesh Ojha
  2022-10-11 13:10 ` Andrew Lunn
  0 siblings, 2 replies; 3+ messages in thread
From: yexingchen116 @ 2022-10-11  3:20 UTC (permalink / raw)
  To: gregory.clement
  Cc: andrew, sebastian.hesselbarth, linux-arm-kernel, linux-kernel,
	ye xingchen

From: ye xingchen <ye.xingchen@zte.com.cn>

Replace generic_handle_irq(irq_find_mapping()) with
generic_handle_domain_irq().

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
---
 drivers/soc/dove/pmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/dove/pmu.c b/drivers/soc/dove/pmu.c
index ffc5311c0ed8..308fe45231b4 100644
--- a/drivers/soc/dove/pmu.c
+++ b/drivers/soc/dove/pmu.c
@@ -243,7 +243,7 @@ static void pmu_irq_handler(struct irq_desc *desc)
 		stat &= ~(1 << hwirq);
 		done &= ~(1 << hwirq);
 
-		generic_handle_irq(irq_find_mapping(domain, hwirq));
+		generic_handle_domain_irq(domain, hwirq);
 	}
 
 	/*
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH linux-next] soc: Use generic_handle_domain_irq()
  2022-10-11  3:20 [PATCH linux-next] soc: Use generic_handle_domain_irq() yexingchen116
@ 2022-10-11  4:24 ` Mukesh Ojha
  2022-10-11 13:10 ` Andrew Lunn
  1 sibling, 0 replies; 3+ messages in thread
From: Mukesh Ojha @ 2022-10-11  4:24 UTC (permalink / raw)
  To: yexingchen116, gregory.clement
  Cc: andrew, sebastian.hesselbarth, linux-arm-kernel, linux-kernel,
	ye xingchen

Hi,

On 10/11/2022 8:50 AM, yexingchen116@gmail.com wrote:
> From: ye xingchen <ye.xingchen@zte.com.cn>
> 
> Replace generic_handle_irq(irq_find_mapping()) with
> generic_handle_domain_irq().
> 
> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
> ---
>   drivers/soc/dove/pmu.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/soc/dove/pmu.c b/drivers/soc/dove/pmu.c
> index ffc5311c0ed8..308fe45231b4 100644
> --- a/drivers/soc/dove/pmu.c
> +++ b/drivers/soc/dove/pmu.c
> @@ -243,7 +243,7 @@ static void pmu_irq_handler(struct irq_desc *desc)
>   		stat &= ~(1 << hwirq);
>   		done &= ~(1 << hwirq);
>   
> -		generic_handle_irq(irq_find_mapping(domain, hwirq));
> +		generic_handle_domain_irq(domain, hwirq);

Thanks.

Reviewed-By : Mukesh Ojha <quic_mojha@quicinc.com>

-Mukesh


>   	}
>   
>   	/*

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH linux-next] soc: Use generic_handle_domain_irq()
  2022-10-11  3:20 [PATCH linux-next] soc: Use generic_handle_domain_irq() yexingchen116
  2022-10-11  4:24 ` Mukesh Ojha
@ 2022-10-11 13:10 ` Andrew Lunn
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2022-10-11 13:10 UTC (permalink / raw)
  To: yexingchen116
  Cc: gregory.clement, sebastian.hesselbarth, linux-arm-kernel,
	linux-kernel, ye xingchen

On Tue, Oct 11, 2022 at 03:20:50AM +0000, yexingchen116@gmail.com wrote:
> From: ye xingchen <ye.xingchen@zte.com.cn>

Please make your subject line more specific. soc: dove: would be
better.

/linux/drivers/soc/dove$ git log --oneline .
ec8f24b7faaf treewide: Add SPDX license identifier - Makefile/Kconfig
dc37a2525271 soc: Convert to using %pOFn instead of device_node.name
b24413180f56 License cleanup: add SPDX GPL-2.0 license identifier to files with no license
f2591b993ec9 soc: dove: constify reset_control_ops structures
67098119abeb soc: dove: add legacy support to PMU driver
2376692416b7 soc: dove: Let genpd deal with disabling of unused PM domains
bd0b9ac405e1 genirq: Remove irq argument from irq flow handlers
b838c950b397 soc: dove: Prepare irq handler for irq argument removal
5230347ea70a soc: dove: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
44e259ac909f ARM: dove: create a proper PMU driver for power domains, PMU IRQs and resets

dove is an important keyword to get the right people to look at your
patch. Few people are interested in soc, they are interested in a
specific devices within soc.

> 
> Replace generic_handle_irq(irq_find_mapping()) with
> generic_handle_domain_irq().
> 
> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-11 13:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11  3:20 [PATCH linux-next] soc: Use generic_handle_domain_irq() yexingchen116
2022-10-11  4:24 ` Mukesh Ojha
2022-10-11 13:10 ` Andrew Lunn

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®