libata: whitelist all SAMSUNG MZ7KM* solid-state disks
authorJuha-Matti Tilli <juha-matti.tilli@iki.fi>
Sun, 2 Dec 2018 10:47:08 +0000 (12:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Dec 2018 13:15:20 +0000 (14:15 +0100)
commit2ed4392b0bb3e80bdf9d0bfeffc2651910951ff1
tree38e6e935d9129358174278799352c575d53307e2
parent62a866ed4c4860a2fbd3420f90660371324ae3e5
libata: whitelist all SAMSUNG MZ7KM* solid-state disks

[ Upstream commit fd6f32f78645db32b6b95a42e45da2ddd6de0e67 ]

These devices support read zero after trim (RZAT), as they advertise to
the OS. However, the OS doesn't believe the SSDs unless they are
explicitly whitelisted.

Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Juha-Matti Tilli <juha-matti.tilli@iki.fi>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/ata/libata-core.c