User Details
- User Since
- Dec 7 2017, 1:03 PM (416 w, 5 d)
Mon, Nov 17
Wed, Nov 12
Tue, Nov 11
Remove kasserts and move memset to central location
OK. I had that in because most (all?) calls to this function do a KASSERT(cmd != NULL) immediately afterwards. Should I delete those KASSERTs as well?
Address review feedback
You are correct. I had (mistakenly) convinced myself that pattern occurred in more places. I'll move as suggested and delete the occurrence in amdvi_inv_domain
Other functions call amdvi_get_cmd_tail() prior to calling the functions which would then format the command entry. Putting the memset() in amdvi_get_cmd_tail() would clear the command entry twice.
Sep 8 2025
Sep 3 2025
Sep 1 2025
This patch worked for me as well and doesn't seem to bother Windows guest, but they don't seem to need it like the Linux ones do.
Jul 26 2025
Jul 23 2025
Jul 12 2025
Jun 16 2025
Jun 15 2025
Address doc feedback
Jun 14 2025
Apr 30 2025
Jan 31 2025
Nov 6 2024
Nov 4 2024
Oct 13 2024
Oct 6 2024
Jun 26 2024
Jun 16 2024
Jun 10 2024
Jun 9 2024
Testing with an unmodified Linux nvme-cli fails without the noted change masking cmd. Fix that, and this LGTM. Thanks for all the integration!
Testing with an unmodified Linux nvme-cli looks good using this patch rebased on top of my device alias changes.
Jun 1 2024
May 30 2024
May 23 2024
Apr 25 2024
LGTM
This looks good and helps explain (with examples) a common NVMe stumbling block.
Apr 18 2024
Apr 17 2024
Handful of nits, but overall, LGTM!
Apr 10 2024
Apr 8 2024
amazeballs!
Mar 7 2024
Feb 28 2024
LGTM
Jan 29 2024
Jan 28 2024
Oct 30 2023
Not familiar with this driver, but the changes look OK to me.
Oct 16 2023
LGTM, but I'll give other folks a chance to peek
Oct 12 2023
Oct 11 2023
Updated per review comments
Oct 4 2023
Oct 2 2023
Aug 17 2023
Aug 15 2023
Aug 6 2023
When nda turns off reporting, how are pass-through commands treated? Will this change suppress errors from those commands as well?
If you are looking to add more flag values, I'd move this to after retries and change the type to uint32_t or uint16_t if you think more might be needed in the future.
I like @jhb 's table approach but would prefer the shorter string (i.e., RESERVATION REGISTER vs NVME_OPC_RESERVATION_REGISTER
