Skip to content

Commit

Permalink
cxl/region: fix x9 interleave typo
Browse files Browse the repository at this point in the history
CXL supports x3, x6 and x12 - not x9.

Fixes: 80d10a6 ("cxl/region: Add interleave geometry attributes")
Signed-off-by: Jim Harris <jim.harris@samsung.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Link: https://lore.kernel.org/r/169904271254.204936.8580772404462743630.stgit@ubuntu
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
  • Loading branch information
jimharris authored and djbw committed Jan 4, 2024
1 parent 861deac commit c7ad3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cxl/core/region.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ static ssize_t interleave_ways_store(struct device *dev,
return rc;

/*
* Even for x3, x9, and x12 interleaves the region interleave must be a
* Even for x3, x6, and x12 interleaves the region interleave must be a
* power of 2 multiple of the host bridge interleave.
*/
if (!is_power_of_2(val / cxld->interleave_ways) ||
Expand Down

0 comments on commit c7ad3dc

Please sign in to comment.