Skip to content
Commit e8f11db9 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Tejun Heo
Browse files

libata: check for trusted computing in IDENTIFY DEVICE data



ATA-8 and later mirrors the TRUSTED COMPUTING SUPPORTED bit in word 48 of
the IDENTIFY DEVICE data.  Check this before issuing a READ LOG PAGE
command to avoid issues with buggy devices.  The only downside is that
we can't support Security Send / Receive for a device with an older
revision due to the conflicting use of this field in earlier
specifications.

tj: The reason we need this is because some devices which don't
    support READ LOG PAGE lock up after getting issued that command.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Tested-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 35f0b6a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment