mtip32xx: Correctly handle security locked condition
authorSam Bradshaw <sbradshaw@micron.com>
Thu, 3 Oct 2013 17:18:05 +0000 (10:18 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Jan 2014 04:20:44 +0000 (20:20 -0800)
If power is removed during a secure erase, the drive will end up in a
security locked condition.  This patch causes the driver to identify,
log, and flag the security lock state.  IOs are prevented from
submission to the drive until the locked state is addressed with a
secure erase.

Bumped version number to reflect this capability.

Signed-off-by: Sam Bradshaw <sbradshaw@micron.com>
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c
drivers/block/mtip32xx/mtip32xx.h

Simple merge
Simple merge