-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xive: Add helpers to encode and decode VP numbers
The VP numbers passed to the OS are encoded in a specific way as to permit the use of HW PIR as valid VPs and as to encode the order of the VP allocation as part of the VP number. The encoding allows for the block group mode split blocks of VPs to still appear contiguous to the OS. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
- Loading branch information
1 parent
640e3af
commit 1d23015
Showing
1 changed file
with
145 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters