lkml.org 
[lkml]   [2022]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v5] ata: pata_of_platform: Use platform_get_irq_optional() to get the interrupt
From
On 1/6/22 03:17, Lad Prabhakar wrote:
> platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static
> allocation of IRQ resources in DT core code, this causes an issue
> when using hierarchical interrupt domains using "interrupts" property
> in the node as this bypasses the hierarchical setup and messes up the
> irq chaining.
>
> In preparation for removal of static setup of IRQ resource from DT core
> code use platform_get_irq_optional().
>
> Note the code does not set the IRQ flags as this is handled automatically
> for DT.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> ---
> Hi All,
>
> This patch is part of series [1]. I'll re-visit merging of pata_of_platform
> into pata_platform at later point. As my primary focus is removal of static
> setup of IRQ resource from DT core code.
>
> [1] https://patchwork.ozlabs.org/project/linux-ide/list/?series=278349
>
> v4->v5
> * Set end member of IRQ resource
> * Clear irq_res un-conditionally.
>
> Cheers,
> Prabhakar

Applied to for-5.17. Thanks !


--
Damien Le Moal
Western Digital Research

\
 
 \ /
  Last update: 2022-01-11 00:58    [W:0.044 / U:1.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site