[PATCH blktests 0/2] nvme: require kernel config NVME_HOST_AUTH

Shin'ichiro Kawasaki shinichiro.kawasaki at wdc.com
Tue Nov 14 21:52:18 PST 2023


Yi Zhang reported test cases for nvme authentication feature fail with
linux-block/for-next kernel [1]. I observed the failures with kernel v6.7-rc1.
Chris Leech pointed out that the test cases require kernel config option
NVME_HOST_AUTH. This series modifies the test cases to ensure the requirement.
The first patch introduces a new helper function. The second patch adds checks
for the requirement using the function.

[1] https://lore.kernel.org/linux-block/CAHj4cs8yZ4-BXqTK4W0UsPpmc2ctCD=_mYiwuAuvcmgS3+KJ8g@mail.gmail.com/

Shin'ichiro Kawasaki (2):
  common/rc: introduce _kver_gt_or_eq
  nvme/{041,042,043,044,045}: require kernel config NVME_HOST_AUTH

 common/rc      | 17 ++++++++++++-----
 tests/nvme/041 |  1 +
 tests/nvme/042 |  1 +
 tests/nvme/043 |  1 +
 tests/nvme/044 |  1 +
 tests/nvme/045 |  1 +
 6 files changed, 17 insertions(+), 5 deletions(-)

-- 
2.41.0




More information about the Linux-nvme mailing list