diff options
author | Christoph Hellwig <hch@lst.de> | 2017-08-29 14:42:06 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-08-29 17:33:24 +0200 |
commit | e8f11db956aa09c1618051a7aaf367d6810d8d8c (patch) | |
tree | b4d766f6031e5a231cee41d0f33225ce45a7a009 /drivers/ata/libata.h | |
parent | libata: quirk read log on no-name M.2 SSD (diff) | |
download | linux-e8f11db956aa09c1618051a7aaf367d6810d8d8c.tar.xz linux-e8f11db956aa09c1618051a7aaf367d6810d8d8c.zip |
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: Christoph Hellwig <hch@lst.de>
Tested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata.h')
0 files changed, 0 insertions, 0 deletions