All of lore.kernel.org
 help / color / mirror / Atom feed
* Proposal about reorganize struct irq_data and struct irq_desc
@ 2015-01-19 14:19 Jiang Liu
  2015-01-20  9:31 ` Thomas Gleixner
  0 siblings, 1 reply; 3+ messages in thread
From: Jiang Liu @ 2015-01-19 14:19 UTC (permalink / raw)
  To: Thomas Gleixner, Marc Zyngier, Linux Kernel Mailing List

Hi Thomas and Marc,
	During working on the generic MSI support, I have some proposal
about reorganizing struct irq_data and struct irq_desc. The proposed
changes are:
1) Add a pointer "struct irq_desc *" to struct irq_data, so we could
   quickly get struct irq_desc from struct irq_data.
2) Move "node" from struct irq_data into struct irq_desc, NUMA info
   should be per-irq instead of per-chip.
3) Move "affinity" from struct irq_data into struct irq_desc, NUMA info
   should be per-irq instead of per-chip.
4) Move "msi_desc" from struct irq_data into struct irq_desc. (Not sure
   whether we should do this. Theoretically we should use
   irq_data->handler_data to store msi_desc.)

With above change applied, struct irq_data only hosts per-chip data, and
struct irq_desc hosts per-irq data. What's your thoughts?
Regards,
Gerry

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

end of thread, other threads:[~2015-01-20 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 14:19 Proposal about reorganize struct irq_data and struct irq_desc Jiang Liu
2015-01-20  9:31 ` Thomas Gleixner
2015-01-20 10:02   ` Jiang Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.