aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-07-21 08:00:11 +0000
committerChristoph Hellwig <[email protected]>2021-07-21 15:24:10 +0000
commitaaeb7bb061be545251606f4d9c82d710ca2a7c8e (patch)
treee3e619dfd62fac8b1a7c8b6220c81af5c7067c59 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentnvme: fix nvme_setup_command metadata trace event (diff)
downloadkernel-aaeb7bb061be545251606f4d9c82d710ca2a7c8e.tar.gz
kernel-aaeb7bb061be545251606f4d9c82d710ca2a7c8e.zip
nvme: set the PRACT bit when using Write Zeroes with T10 PI
When using Write Zeroes on a namespace that has protection information enabled they behavior without the PRACT bit counter-intuitive and will generally lead to validation failures when reading the written blocks. Fix this by always setting the PRACT bit that generates matching PI data on the fly. Fixes: 6e02318eaea5 ("nvme: add support for the Write Zeroes command") Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions