Skip to content

GIC Changes

[email protected] linux-arm-kernel linux-omap lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v15 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4GIC: Disable unused interruptsarch/arm/common/gic.c+8 -40 replies
2/4GIC: Prevent gic from crossing NR_IRQSarch/arm/common/gic.c+2 -10 replies
3/4GIC: Add callback for mask_ackarch/arm/common/gic.c+10 -00 replies
4/4GIC: Dont disable INT in ack callbackarch/arm/common/gic.c+18 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] GIC Changes

From: Abhijeet Dharmapurikar <[email protected]>

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(-)