Page MenuHomeFreeBSD

GIC: add IRQ ranges
AcceptedPublic

Authored by br on Oct 27 2021, 10:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 12:04 PM
Unknown Object (File)
Sep 26 2024, 10:50 PM
Unknown Object (File)
Sep 26 2024, 12:01 PM
Unknown Object (File)
Sep 25 2024, 9:49 PM
Unknown Object (File)
Sep 23 2024, 3:05 AM
Unknown Object (File)
Sep 17 2024, 1:33 PM
Unknown Object (File)
Sep 8 2024, 3:13 AM
Unknown Object (File)
Jul 23 2024, 8:04 PM

Details

Reviewers
jrtc27
manu
mhorne
Group Reviewers
arm64
Summary

Based on GIC architecture version 3 and version 4 spec.
This is needed for PMU ACPI driver

Test Plan

Tested on N1SDP

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br requested review of this revision.Oct 27 2021, 10:42 AM
br added a child revision: D24423: arm/pmu: add ACPI attachment.

Restore MAX_RLEN change

mhorne added inline comments.
sys/arm64/arm64/gic_v3_reg.h
46–50 ↗(On Diff #97542)

Did you forget to add some changes to gic_v3.c? You can't just remove these definitions outright.

sys/arm64/arm64/gic_v3_reg.h
46–50 ↗(On Diff #97542)

I moved them to gic_common.h so they are in the same place.
gic_v3.c includes gic_common.h header as I remember.

I guess this is no longer required, but looks good regardless.

sys/arm64/arm64/gic_v3_reg.h
46–50 ↗(On Diff #97542)

Oh, duh. You are right.

This revision is now accepted and ready to land.Nov 22 2021, 8:07 PM
sys/arm/arm/gic_common.h
59–65 ↗(On Diff #97542)

The EPPI, ESPI, and LPI values should be in gic_v3_reg.h as they are GICv3/4 specific.

67–70 ↗(On Diff #97542)

Is this still useful? It should only be needed within a GIC driver so could be defined there when it's used.