Page MenuHomeFreeBSD

Fix intr_machdep.c for armv8
ClosedPublic

Authored by wma_semihalf.com on Jul 9 2015, 5:33 AM.
Tags
None
Referenced Files
F135922436: D3029.id6801.diff
Fri, Nov 14, 4:48 AM
F135922433: D3029.id6916.diff
Fri, Nov 14, 4:48 AM
F135922426: D3029.id.diff
Fri, Nov 14, 4:48 AM
Unknown Object (File)
Fri, Nov 14, 2:10 AM
Unknown Object (File)
Mon, Oct 27, 12:25 AM
Unknown Object (File)
Sat, Oct 25, 4:37 AM
Unknown Object (File)
Oct 8 2025, 1:59 AM
Unknown Object (File)
Sep 23 2025, 8:50 PM
Subscribers

Details

Summary

On armv8 IPIs are mapped to 0-15. Incrementing the number by 16 is wrong, because it sets a reserved bit in the IPI register. This patch removes all "+16" to comply with specs.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wma_semihalf.com retitled this revision from to Fix intr_machdep.c for armv8.
wma_semihalf.com updated this object.
wma_semihalf.com edited the test plan for this revision. (Show Details)
wma_semihalf.com added reviewers: andrew, emaste, zbb.
wma_semihalf.com set the repository for this revision to rS FreeBSD src repository - subversion.
sys/arm64/arm64/intr_machdep.c
450 ↗(On Diff #6801)

Why has this been added? I's unrelated to the rest of the patch.

sys/arm64/arm64/intr_machdep.c
450 ↗(On Diff #6801)

It's just a cleanup here. We'll need this function in the near future, so I added it into this patch and use inside arm_unmask_ipi, just not to touch this file again.

sys/arm64/arm64/intr_machdep.c
450 ↗(On Diff #6801)

Can you move this part of the change to that review then? I need to think about D3034 a little, but have no problems with the rest of this change.

This revision was automatically updated to reflect the committed changes.