Page MenuHomeFreeBSD

riscv vmm: consider hart_mask_base in the SBI IPI handler
ClosedPublic

Authored by br on Wed, Jan 29, 4:37 PM.
Tags
None
Referenced Files
F109868914: D48717.id150111.diff
Mon, Feb 10, 1:33 PM
F109852260: D48717.id150395.diff
Mon, Feb 10, 8:48 AM
F109847999: D48717.diff
Mon, Feb 10, 7:37 AM
F109835974: D48717.id.diff
Mon, Feb 10, 3:49 AM
Unknown Object (File)
Sat, Feb 8, 10:57 AM
Unknown Object (File)
Mon, Feb 3, 1:07 PM
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.Wed, Jan 29, 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.Mon, Feb 3, 11:53 AM
This revision was automatically updated to reflect the committed changes.