hw/cxl: bound Set Feature writes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 0 repliesNew
- v21 patch 1 replySuperseded
- v11 patch 1 replySuperseded
Changes in v3 from the cover letter
- split helper extraction from the bug fix
- add Fixes tags to the bug-fixing patch
- leave the qtest for a separate follow-up
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | hw/cxl: factor Set Feature write bounds helperhw/ | +28 | 0 replies | |
| 2/2 | hw/cxl: validate PPR and sparing Set Feature writeshw/ | +42 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] hw/cxl: bound Set Feature writes
Hi Jonathan,
Thanks for the review.
This v3 splits the helper extraction from the actual bug fix. Patch 1 is a refactor only: it folds the existing patrol scrub and ECS bounds checks into a helper, with no intended functional change.
Patch 2 uses that helper for the remaining Set Feature branches that still copy into fixed-size write-attribute buffers without bounds validation. That patch carries the Fixes tags.
I have left the qtest out of this backportable bugfix series for now. I can send it separately after addressing the x86-only and magic-value comments.
Changes since v2:
- split helper extraction from the bug fix
- add Fixes tags to the bug-fixing patch
- leave the qtest for a separate follow-up
Jia Jia (2):
hw/cxl: factor Set Feature write bounds helper hw/cxl: validate PPR and sparing Set Feature writes
hw/cxl/cxl-mailbox-utils.c | 94 ++++++++++++++++++++++++++++---------- 1 file changed, 70 insertions(+), 24 deletions(-)
Signature · 1 line
2.34.1