Do interrupt configuration as soon as is being mapped.
Submitted by: Wojciech Macek <wma@semihalf.com>
Obtained from: Semihalf
Differential D1811
Configure interrupt on ARM when mapped zbb on Feb 9 2015, 11:55 AM. Authored by Tags None Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions This is likely to cause bumps / races that aren't in the code. Thankfully, most of these aren't that large and are easy to manage.
Comment Actions I think this is completely wrong and the interrupt needs to be configured when it is activated, not when it is parsed/decoded. Consider for example a gpio pin interrupt... we wouldn't want to mess with the pin state while the fdt data is being parsed because that data could refer to a possible configuration which is never going to be activated, and the actual use of the pin in the configuration that is active could be something else (not even related to interrupts). Comment Actions From intrng: Each interrupt controller gets FDT(property) data in his decode fdt() routine. |