Documentation: irqdomain: Fix typo of "at least once"Signed-off-by: Eric Lin <dslin1010@gmail.com>Link: https://lore.kernel.org/r/20220811091516.2107908-1-dslin1010@gmail.comSigned-off-by: Jonath
Documentation: irqdomain: Fix typo of "at least once"Signed-off-by: Eric Lin <dslin1010@gmail.com>Link: https://lore.kernel.org/r/20220811091516.2107908-1-dslin1010@gmail.comSigned-off-by: Jonathan Corbet <corbet@lwn.net>
show more ...
irq: remove handle_domain_{irq,nmi}()Now that entry code handles IRQ entry (including setting the IRQ regs)before calling irqchip code, irqchip code can safely callgeneric_handle_domain_irq(), an
irq: remove handle_domain_{irq,nmi}()Now that entry code handles IRQ entry (including setting the IRQ regs)before calling irqchip code, irqchip code can safely callgeneric_handle_domain_irq(), and there's no functional reason for it tocall handle_domain_irq().Let's cement this split of responsibility and remove handle_domain_irq()entirely, updating irqchip drivers to call generic_handle_domain_irq().For consistency, handle_domain_nmi() is similarly removed and replacedwith a generic_handle_domain_nmi() function which also does not performany entry logic.Previously handle_domain_{irq,nmi}() had a WARN_ON() which would firewhen they were called in an inappropriate context. So that we canidentify similar issues going forward, similar WARN_ON_ONCE() logic isadded to the generic_handle_*() functions, and comments are updated forclarity and consistency.Signed-off-by: Mark Rutland <mark.rutland@arm.com>Reviewed-by: Marc Zyngier <maz@kernel.org>Cc: Thomas Gleixner <tglx@linutronix.de>
Documentation: Fix irq-domain.rst build warningCorrectly escape the * not to be used as emphasis. Also take thisopportunity to clarify the fate of the rest of the legacy APIs.Reported-by: Stephe
Documentation: Fix irq-domain.rst build warningCorrectly escape the * not to be used as emphasis. Also take thisopportunity to clarify the fate of the rest of the legacy APIs.Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>Signed-off-by: Marc Zyngier <maz@kernel.org>Link: https://lore.kernel.org/r/20210903085343.923036-1-maz@kernel.org
Documentation: Update irq_domain.rst with new lookup APIsCatch up with the recent irqdomain updates, and document{generic_,}handle_domain_irq(), irq_resolve_mapping() as wellas the deprecation of
Documentation: Update irq_domain.rst with new lookup APIsCatch up with the recent irqdomain updates, and document{generic_,}handle_domain_irq(), irq_resolve_mapping() as wellas the deprecation of some of the older APIs.Signed-off-by: Marc Zyngier <maz@kernel.org>
irqdomain: Kill irq_domain_add_legacy_isaThis helper doesn't have a user anymore, let's remove it.Signed-off-by: Marc Zyngier <maz@kernel.org>
irqdomain: Introduce irq_domain_create_simple() APILinus Walleij pointed out that ird_domain_add_simple() gainedadditional functionality and can't be anymore replaced witha simple conditional. In
irqdomain: Introduce irq_domain_create_simple() APILinus Walleij pointed out that ird_domain_add_simple() gainedadditional functionality and can't be anymore replaced witha simple conditional. In preparation to upgrade GPIO libraryto use fwnode, introduce irq_domain_create_simple() API which isfunctional equivalent to the existing irq_domain_add_simple(),but takes a pointer to the struct fwnode_handle as a parameter.While at it, amend documentation to mention irq_domain_create_*()functions where it makes sense.Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>Acked-by: Marc Zyngier <maz@kernel.org>Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
irqdomain: Introduce irq_domain_create_legacy() APIIntroduce irq_domain_create_legacy() API which is functional equivalentto the existing irq_domain_add_legacy(), but takes a pointer to the struct
irqdomain: Introduce irq_domain_create_legacy() APIIntroduce irq_domain_create_legacy() API which is functional equivalentto the existing irq_domain_add_legacy(), but takes a pointer to the structfwnode_handle as a parameter.This is useful for non OF systems.Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>Signed-off-by: Thomas Gleixner <tglx@linutronix.de>Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>Link: https://lore.kernel.org/r/20201030165919.86234-5-andriy.shevchenko@linux.intel.com
docs: add IRQ documentation at the core-api bookThere are 4 IRQ documentation files under Documentation/*.txt.Move them into a new directory (core-api/irq) and add a newindex file for it.While
docs: add IRQ documentation at the core-api bookThere are 4 IRQ documentation files under Documentation/*.txt.Move them into a new directory (core-api/irq) and add a newindex file for it.While here, use a title markup for the Debugging section of theirq-domain.rst file.Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>Link: https://lore.kernel.org/r/2da7485c3718e1442e6b4c2dd66857b776e8899b.1588345503.git.mchehab+huawei@kernel.orgSigned-off-by: Jonathan Corbet <corbet@lwn.net>