Page MenuHomeFreeBSD

powerpc/openpic: Increase the maximum number of IRQs allowed
Needs ReviewPublic

Authored by jhibbits on Thu, Apr 16, 3:24 AM.
Tags
None
Referenced Files
F152956394: D56422.id175613.diff
Sat, Apr 18, 7:50 AM
F152945882: D56422.diff
Sat, Apr 18, 6:12 AM
Unknown Object (File)
Fri, Apr 17, 7:09 PM
Unknown Object (File)
Fri, Apr 17, 3:10 AM
Subscribers

Details

Reviewers
adrian
Group Reviewers
PowerPC
Summary

The Freescale MPIC supports up to 2048 IRQs, but since we only build an
array of 168 interrupts in intr_machdep, clamp the max at 512. The most
any Freescale PowerPC chip actually supports is 452 on the T4240, so 512
is sufficient.

As part of this, increase the vector mask to the full openpic vector
mask, and use this limit as the terminator for the dispatch loop,
instead of a hard-coded 255.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72248
Build 69131: arc lint + arc unit