-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(fdt): Support FDT setup for CPU caches with high number of sets
Change the type of `CacheEntry`'s `number_of_sets` field from `u16` to `u32`, to allow correctly parsing CPU cache information from sysfs and successfully setting up the FDT on hosts with CPU caches with a number of sets that is higher than `u16::MAX`. This also makes a couple of `u16`->`u32` conversions redundant, which we therefore remove. Signed-off-by: Christos Katsakioris <[email protected]> Signed-off-by: Filippos Tofalos <[email protected]>
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 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
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