]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: reverse IO direction for VUC command code F7
authorAshok Vairavan <ashok.vairavan@oracle.com>
Mon, 13 Mar 2017 18:34:55 +0000 (11:34 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:35 +0000 (13:41 -0700)
commit9b1e6d340cf627701ab000189457a798c4af6fd1
treedee06607171578ec7791e5495d7c3ef4b7565bf5
parent9f53dfde7af14df40608f755dfd9b1d7749e4e43
NVMe: reverse IO direction for VUC command code F7

Orabug: 25258071

Samsung uses D2H command with Vendor Uniq Command (VUC) code F7
(the 0th bit of which is 1) for retrieving memory dump. In UEK4,
Bit 0 of the D2H command code has to be 0. Because of this voilation,
the nvmecli is unable to do crash and memory dumps in UEK4.

As the Samsung firmware can only understand VUC command code F7,
the IO direction is reversed for this vendor command code to
retrieve memory and crash dump.

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-By: Martin K. Petersen <martin.petersen@oracle.com>
include/linux/nvme.h