linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] GIC Changes
@ 2010-01-29  7:06 adharmap at codeaurora.org
  2010-01-29  7:06 ` [PATCH v2 1/4] GIC: Disable unused interrupts adharmap at codeaurora.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: adharmap at codeaurora.org @ 2010-01-29  7:06 UTC (permalink / raw)
  To: linux-arm-kernel

From: Abhijeet Dharmapurikar <adharmap@quicinc.com>

Few fixes and improvements to arch/arm/common/gic.c file. 

Changes in v2

Russell indicated that there could be an on chip inteverter on some interrupt
lines and hence there is no way to enforce correct edge rising/falling or level
high/low configuration. The change to introduce set_type callback is dropped.

Also the change to configure SPI's and PPI's as level/edge  depending on the
flow_type argument passed in gic_dist_init is dropped. 

As per Catalin's suggestion all the interrupts reported by gic are
disabled. This way we initialize and disable all the unused interrupts.
The iterator,i in the gic_dist_init is still prevented from exceeding NR_IRQS.

As per Ben Dook's suggestion 'gic:...' is changed to 'GIC:...' in title.

Thanks for all your inputs. Please let me know if further changes are
required.

Abhijeet Dharmapurikar (4):
  GIC: Disable unused interrupts
  GIC: Prevent gic from crossing NR_IRQS
  GIC: Add callback for mask_ack
  GIC: Dont disable INT in ack callback

 arch/arm/common/gic.c |   56 +++++++++++++++++++++++++++++++++---------------
 1 files changed, 38 insertions(+), 18 deletions(-)

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

end of thread, other threads:[~2010-01-29  7:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-29  7:06 [PATCH v2 0/4] GIC Changes adharmap at codeaurora.org
2010-01-29  7:06 ` [PATCH v2 1/4] GIC: Disable unused interrupts adharmap at codeaurora.org
2010-01-29  7:06 ` [PATCH v2 2/4] GIC: Prevent gic from crossing NR_IRQS adharmap at codeaurora.org
2010-01-29  7:06 ` [PATCH v2 3/4] GIC: Add callback for mask_ack adharmap at codeaurora.org
2010-01-29  7:06 ` [PATCH v2 4/4] GIC: Dont disable INT in ack callback adharmap at codeaurora.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).