public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/11] irqdomain: Refactor
@ 2013-06-14 21:07 Grant Likely
  2013-06-14 21:07 ` [PATCH v2 01/11] irqdomain: Relax failure path on setting up mappings Grant Likely
                   ` (10 more replies)
  0 siblings, 11 replies; 19+ messages in thread
From: Grant Likely @ 2013-06-14 21:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: Benjamin Herrenschmidt, Thomas Gleixner

I've done a bunch of refactoring work on the irq_domain infrastructure.
Some of these patches I've posted before, and some our brand new. The
goal of this is to greatly simplify how irq_domains work. With this
series, instead of there being multiple different types of irq domains,
each with different mapping rules, instead there is now only one time of
irq_domain that contains both kinds of map; the linear map for irqs
below a certain value, and the radix tree for large & sparse irq
controllers. As you can see from the following diffstat, the result is a
fair bit less code. It should make it easier to understand irqdomains
too.

This is the second posting of this series. I've added a couple more
patches and dropped an unrelated patch to the versatile irq driver.

irqdomain: Relax failure path on setting up mappings
irqdomain: Replace LEGACY mapping with LINEAR
irqdomain: Add a name field
irqdomain: merge linear and tree reverse mappings.
irqdomain: Eliminate revmap type
irqdomain: Clean up aftermath of irq_domain refactoring
irqdomain: Beef up debugfs output
irqdomain: Refactor irq_domain_associate_many()
irqdomain: remove irq_domain_generate_simple()
irqdomain: make irq_linear_revmap() a fast path again
irqdomain: Include hwirq number in /proc/interrupts

 arch/powerpc/platforms/cell/beat_interrupt.c |   2 +-
 arch/powerpc/platforms/powermac/smp.c        |   2 +-
 arch/x86/kernel/devicetree.c                 |   4 +-
 include/linux/irqdomain.h                    | 142 +++++++------
 kernel/irq/generic-chip.c                    |   6 +-
 kernel/irq/irqdomain.c                       | 571 ++++++++++++++++----------------------------------
 kernel/irq/proc.c                            |   2 +
 7 files changed, 261 insertions(+), 468 deletions(-)

I've pushed this series out to my git server at the following branch:

git://git.secretlab.ca/git/linux irqdomain/test

It depends on the tip tree's irq/for-arm branch and also Linus' mainline
(they need to be merged). The branch above includes both.

Cheers,
g.


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

end of thread, other threads:[~2013-06-18 12:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-14 21:07 [PATCH v2 00/11] irqdomain: Refactor Grant Likely
2013-06-14 21:07 ` [PATCH v2 01/11] irqdomain: Relax failure path on setting up mappings Grant Likely
2013-06-14 21:07 ` [PATCH v2 02/11] irqdomain: Replace LEGACY mapping with LINEAR Grant Likely
2013-06-14 21:07 ` [PATCH v2 03/11] irqdomain: Add a name field Grant Likely
2013-06-14 21:07 ` [PATCH v2 04/11] irqdomain: merge linear and tree reverse mappings Grant Likely
2013-06-14 21:08 ` [PATCH v2 05/11] irqdomain: Eliminate revmap type Grant Likely
2013-06-14 21:08 ` [PATCH v2 06/11] irqdomain: Clean up aftermath of irq_domain refactoring Grant Likely
2013-06-14 21:08 ` [PATCH v2 07/11] irqdomain: Beef up debugfs output Grant Likely
2013-06-14 21:08 ` [PATCH v2 08/11] irqdomain: Refactor irq_domain_associate_many() Grant Likely
2013-06-18  1:20   ` Michael Neuling
2013-06-18  1:25     ` Michael Neuling
2013-06-18  1:37       ` Stephen Rothwell
2013-06-18  9:05       ` Grant Likely
2013-06-18  9:46         ` Grant Likely
2013-06-18 11:04           ` Michael Neuling
2013-06-18 12:13             ` Grant Likely
2013-06-14 21:08 ` [PATCH v2 09/11] irqdomain: remove irq_domain_generate_simple() Grant Likely
2013-06-14 21:08 ` [PATCH v2 10/11] irqdomain: make irq_linear_revmap() a fast path again Grant Likely
2013-06-14 21:08 ` [PATCH v2 11/11] irqdomain: Include hwirq number in /proc/interrupts Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox