[PATCH v3 0/2] nvme: fix FDP configuration log parsing

From: liuxixin

Date: Wed May 27 2026 - 21:43:56 EST


Hi Christoph, Keith, Nitesh,

Thanks for the reviews on v2.

v3 splits the series as Christoph suggested:
1/2 - fdpcidx bounds check (>= instead of >), with Fixes tag
2/2 - validate descriptor sizes while walking the log

1/2 also applies Keith's suggestion to use >= while keeping n = NUMFDPC + 1.
Uses a 12-character Fixes commit id per Christoph's feedback, and includes
Nitesh's Reviewed-by tags on both patches.

## Test plan
- Build: make M=drivers/nvme -j12 (linux-next, verified)

- QEMU (fdp-lab, tested as one patch before this split): linux-next 7.1-rc4,
QEMU 8.2 nvme-subsys,fdp=on; fdpcidx=1 / NUMFDPC 0 - unfixed: invalid
descriptor list; fixed: FDP index:1 out of range:1. v3 splits commits only;
no functional change, no re-test.

Thanks,
liuxixin