Page MenuHomeFreeBSD

riscv vmm: consider hart_mask_base in the SBI IPI handler
ClosedPublic

Authored by br on Jan 29 2025, 4:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 3, 7:52 PM
Unknown Object (File)
Feb 18 2025, 5:13 PM
Unknown Object (File)
Feb 17 2025, 2:34 AM
Unknown Object (File)
Feb 14 2025, 7:29 AM
Unknown Object (File)
Feb 14 2025, 7:11 AM
Unknown Object (File)
Feb 13 2025, 6:17 AM
Unknown Object (File)
Feb 12 2025, 3:53 AM
Unknown Object (File)
Feb 11 2025, 2:17 AM
Subscribers

Details

Summary

From the spec

Any SBI function, requiring a hart mask, must take the following two arguments:

unsigned long hart_mask is a scalar bit-vector containing hartids
unsigned long hart_mask_base is the starting hartid from which the bit-vector must be computed.

hart_mask_base can be set to -1 to indicate that hart_mask shall be ignored and all available harts must be considered.

PS: I'll fix the TODO below, I just don't remember why did I put it there. Probably it is not needed anymore

Test Plan

Tested on Linux

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

br requested review of this revision.Jan 29 2025, 4:37 PM
br edited the summary of this revision. (Show Details)
This revision was not accepted when it landed; it landed in state Needs Review.Feb 3 2025, 11:53 AM
This revision was automatically updated to reflect the committed changes.