• Asai Thambi S P's avatar
    mtip32xx: fix handling of commands in various scenarios · c74b0f58
    Asai Thambi S P authored
    * If a ncq  command time out and a non-ncq command is active, skip restart port
    * Queue(pause) ncq commands during operations spanning more than one non-ncq commands - secure erase, download microcode
    * When a non-ncq command is active, allow incoming non-ncq commands to wait instead of failing back
    * Changed timeout for download microcode and smart commands
    * If the device in write protect mode, fail all writes (do not send to device)
    * Set maximum retries to 2
    Signed-off-by: default avatarAsai Thambi S P <asamymuthupa@micron.com>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    c74b0f58
mtip32xx.c 98.8 KB