Page MenuHomeFreeBSD

INTRNG - rework FDT like interrupt mapping according to D6632
ClosedPublic

Authored by skra on May 29 2016, 4:23 PM.

Details

Summary

Utilize D6632 for interrupts described by FDT.

Test Plan

It was tested on pandaboard, rpi2, and tegra.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

skra retitled this revision from to INTRNG - rework FDT like interrupt mapping according to D6632.May 29 2016, 4:23 PM
skra updated this object.
skra edited the test plan for this revision. (Show Details)
skra set the repository for this revision to rS FreeBSD src repository.
skra added projects: ARM, MIPS.
skra added subscribers: ARM, MIPS.
skra updated this revision to Diff 17077.
emaste added a subscriber: emaste.Jun 3 2016, 8:35 PM
skra updated this revision to Diff 17308.Jun 4 2016, 5:47 PM

Update for ARM64 and MIPS.

andrew added inline comments.Jun 4 2016, 6:38 PM
sys/arm64/arm64/gic_v3.c
61–62 ↗(On Diff #17308)

What needs these? Where possible we are trying to have this file not know too much about the bus it attaches to.

skra added inline comments.Jun 4 2016, 8:31 PM
sys/arm64/arm64/gic_v3.c
61–62 ↗(On Diff #17308)

Definition of struct intr_map_data_fdt is moved to ofw_bus_subr.h in this change. The first header - ofw_bus.h - is not needed, I'm not sure how it sneaked in. Do you want me to ifdef it by FDT?

This revision was automatically updated to reflect the committed changes.