irq-sim updates for 4.15
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | irq/irq_sim: explicitly pull in slab.hkernel/ | +1 | 0 replies | |
| 2/3 | irq/irq_sim: implement irq_sim_baseirq()include/ kernel/ | +12 | 0 replies | |
| 3/3 | irq/irq_sim: implement irq_sim_irq2offset()include/ kernel/ | +16 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] irq-sim updates for 4.15
I initially submitted patch 2/3 as a standalone, but it turned out during some development for iio that some additional functionalities would be useful as well.
The first patch pulls in slab.h directly instead of relying on the include from irq.h.
The second exposes an interface for accessing the base of the allocated interrupt range.
The third implements a function that allows to map the allocated interrupt number to the array offset within the irq sim object. This will be later (4.16) used in iio, where for 4.15 we needed to keep the irq base value and to calculate the offset manually in the driver.
Bartosz Golaszewski (3):
irq/irq_sim: explicitly pull in slab.h
irq/irq_sim: implement irq_sim_baseirq()
irq/irq_sim: implement irq_sim_irq2offset()
include/linux/irq_sim.h | 2 ++ kernel/irq/irq_sim.c | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+)
Signature · 1 line
2.13.2