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)
Thu, May 22, 8:30 AM
Unknown Object (File)
Apr 24 2025, 7:48 AM
Unknown Object (File)
Feb 17 2025, 3:13 PM
Unknown Object (File)
Jan 30 2025, 7:10 PM
Unknown Object (File)
Jan 29 2025, 3:02 PM
Unknown Object (File)
Oct 5 2024, 3:49 PM
Unknown Object (File)
Oct 3 2024, 2:45 AM
Unknown Object (File)
Oct 2 2024, 9:02 PM
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