kernel_samsung_a53x/drivers/nvme/host
Keith Busch 70fb3cd00d nvme: introduce helper function to get ctrl state
[ Upstream commit 5c687c287c46fadb14644091823298875a5216aa ]

The controller state is typically written by another CPU, so reading it
should ensure no optimizations are taken. This is a repeated pattern in
the driver, so start with adding a convenience function that returns the
controller state with READ_ONCE().

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:12:15 +01:00
..
core.c nvme-core: check for too small lba shift 2024-11-18 12:12:12 +01:00
fabrics.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fabrics.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fault_inject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lightnvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
multipath.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nvme.h nvme: introduce helper function to get ctrl state 2024-11-18 12:12:15 +01:00
pci.c nvme-pci: add BOGUS_NID for Intel 0a54 device 2024-11-08 11:26:19 +01:00
rdma.c nvme-rdma: do not try to stop unallocated queues 2024-11-08 11:26:19 +01:00
tcp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.h Revert "nvme: use command_id instead of req->tag in trace_nvme_complete_rq()" 2024-11-18 12:12:11 +01:00
zns.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00