Christoph Hellwig e8f11db956 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>
2017-08-29 08:33:24 -07:00
..
2017-07-05 17:09:27 -07:00
2017-07-07 13:55:45 -07:00
2017-07-09 18:48:37 -07:00
2017-07-09 18:48:37 -07:00
2017-07-06 11:45:08 -07:00
2017-07-06 12:10:33 -07:00
2017-07-03 19:51:42 +02:00
2017-07-09 18:48:37 -07:00