Page MenuHomeFreeBSD

gic_v3: consolidate per-cpu redistributor information
ClosedPublic

Authored by jchandra on Apr 8 2019, 2:14 AM.
Tags
None
Referenced Files
F132995716: D19842.id57924.diff
Tue, Oct 21, 10:14 PM
F132993176: D19842.id55930.diff
Tue, Oct 21, 9:45 PM
F132991519: D19842.id.diff
Tue, Oct 21, 9:25 PM
F132991460: D19842.id58020.diff
Tue, Oct 21, 9:24 PM
F132991198: D19842.id58060.diff
Tue, Oct 21, 9:21 PM
Unknown Object (File)
Tue, Oct 21, 9:48 AM
Unknown Object (File)
Sun, Oct 19, 7:55 AM
Unknown Object (File)
Sat, Oct 18, 11:27 AM

Details

Summary

Update 'struct gic_redists' to consolidate all per-cpu redistributor information into a new 'struct redist_pcpu'. Provide a new interface (GICV3_IVAR_REDIST) for the GIC driver which retrieves the above per-cpu data.

This per-cpu redistributor struct will be later used to improve GIC ITS setup.

While there, remove some unused fields in gic_v3_var.h interface.
No functional changes.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 23564

Event Timeline

sys/arm64/arm64/gic_v3.c
393–395

If you plan on MFCing this you should keep GICV3_IVAR_REDIST_VADDR to preserve KBI. It can be removed in a later commit that doesn't get an MFC.

sys/arm64/arm64/gic_v3_var.h
96

I would make GICV3_IVAR_REDIST 1002 with a comment that 1001 was GICV3_IVAR_REDIST_VADDR as it's a change in KBI.

jchandra edited the summary of this revision. (Show Details)

fixes for addressing andrew's not on KABI.

This revision is now accepted and ready to land.May 29 2019, 8:50 AM
This revision was automatically updated to reflect the committed changes.