On Sun, Apr 07, 2024 at 06:15:28PM +0900, Tokunori Ikegami wrote: > From: "min15.li" <min15.li@xxxxxxxxxxx> > > commit 31a5978243d24d77be4bacca56c78a0fbc43b00d upstream. > > In the function nvme_passthru_end(), only the value of the command > opcode is checked, without checking the command type (IO command or > Admin command). When we send a Dataset Management command (The opcode > of the Dataset Management command is the same as the Set Feature > command), kernel thinks it is a set feature command, then sets the > controller's keep alive interval, and calls nvme_keep_alive_work(). > > Signed-off-by: min15.li <min15.li@xxxxxxxxxxx> > Reviewed-by: Kanchan Joshi <joshi.k@xxxxxxxxxxx> > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx> > Fixes: b58da2d270db ("nvme: update keep alive interval when kato is modified") > Signed-off-by: Tokunori Ikegami <ikegami.t@xxxxxxxxx> > --- > drivers/nvme/host/core.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Both now queued up, thanks. greg k-h