Page MenuHomeFreeBSD

Fix gic_cpu_mask calculation
ClosedPublic

Authored by jchandra on Dec 11 2016, 7:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 19, 2:39 PM
Unknown Object (File)
Sat, Apr 18, 12:39 PM
Unknown Object (File)
Sat, Apr 18, 12:38 PM
Unknown Object (File)
Sat, Apr 18, 10:42 AM
Unknown Object (File)
Sun, Apr 12, 6:43 AM
Unknown Object (File)
Thu, Apr 9, 7:30 PM
Unknown Object (File)
Jan 22 2026, 4:37 PM
Unknown Object (File)
Dec 25 2025, 6:14 AM
Subscribers

Details

Reviewers
jchandra
andrew
freebsd-arm-list
Group Reviewers
arm64
Summary

r309616 changed the definition of GICD_ITARGETSR(n) right shift n
by 2, but the usage of the macro in gic_cpu_mask() was not updated
to reflect this. This causes the cpu mask to be computed incorrectly.

Fix this by updating gic_cpu_mask(). This fixes a hang seen when
booting on ARM64 with SMP enabled.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 6187

Event Timeline

jchandra retitled this revision from to Fix gic_cpu_mask calculation.
jchandra updated this object.
jchandra edited the test plan for this revision. (Show Details)
jchandra set the repository for this revision to rS FreeBSD src repository - subversion.
jchandra added a reviewer: jchandra.

checked in r309892

This revision is now accepted and ready to land.Dec 16 2016, 6:49 PM