linux-stable/drivers/nvme/host
Keith Busch e255206af0 nvme-pci: fix page size checks
[ Upstream commit 841734234a ]

The size allocated out of the dma pool is at most NVME_CTRL_PAGE_SIZE,
which may be smaller than the PAGE_SIZE.

Fixes: c61b82c7b7 ("nvme-pci: fix PRP pool size")
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-04 11:26:23 +01:00
..
apple.c nvme-apple: stop casting function pointer signatures 2022-08-02 17:22:51 -06:00
auth.c nvme-auth: Diffie-Hellman key exchange support 2022-08-02 17:14:49 -06:00
constants.c nvme-pci: print the command name of aborted commands 2022-08-02 17:22:48 -06:00
core.c nvme-auth: don't override ctrl keys before validation 2022-12-31 13:26:44 +01:00
fabrics.c nvme-fabrics: Fix a typo in an error message 2022-08-10 16:21:31 +02:00
fabrics.h nvme: implement In-Band authentication 2022-08-02 17:14:49 -06:00
fault_inject.c block: remove the ->rq_disk field in struct request 2021-11-29 06:41:29 -07:00
fc.c nvme-fc: fix the fc_appid_store return value 2022-08-10 16:05:08 +02:00
fc.h
hwmon.c nvme-hwmon: kmalloc the NVME SMART log buffer 2022-10-29 10:08:34 +02:00
ioctl.c nvme: restrict management ioctls to admin 2022-11-26 09:27:52 +01:00
Kconfig nvme-auth: Diffie-Hellman key exchange support 2022-08-02 17:14:49 -06:00
Makefile nvme: don't always build constants.o 2022-08-02 17:22:48 -06:00
multipath.c nvme: fix SRCU protection of nvme_ns_head list 2022-12-08 11:30:21 +01:00
nvme.h nvme: ensure subsystem reset is single threaded 2022-11-26 09:27:52 +01:00
pci.c nvme-pci: fix page size checks 2023-01-04 11:26:23 +01:00
rdma.c nvme-rdma: split nvme_rdma_alloc_tagset 2022-08-02 17:22:48 -06:00
tcp.c nvme-tcp: fix regression that causes sporadic requests to time out 2022-09-06 06:40:44 +02:00
trace.c nvme: implement In-Band authentication 2022-08-02 17:14:49 -06:00
trace.h nvme: use command_id instead of req->tag in trace_nvme_complete_rq() 2022-08-02 17:22:46 -06:00
zns.c block: pass a gendisk to blk_queue_max_open_zones and blk_queue_max_active_zones 2022-07-06 06:46:26 -06:00