linux/drivers/scsi
Mathias Krause bffda93a51 scsi: lpfc: Properly set WC for DPP mapping
Using set_memory_wc() to enable write-combining for the DPP portion of
the MMIO mapping is wrong as set_memory_*() is meant to operate on RAM
only, not MMIO mappings. In fact, as used currently triggers a BUG_ON()
with enabled CONFIG_DEBUG_VIRTUAL.

Simply map the DPP region separately and in addition to the already
existing mappings, avoiding any possible negative side effects for
these.

Fixes: 1351e69fc6 ("scsi: lpfc: Add push-to-adapter support to sli4")
Signed-off-by: Mathias Krause <minipli@grsecurity.net>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Reviewed-by: Mathias Krause <minipli@grsecurity.net>
Link: https://patch.msgid.link/20260212192327.141104-1-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2026-02-17 21:10:29 -05:00
..
aacraid scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
aic7xxx scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
aic94xx scsi: aic94xx: fix use-after-free in device removal path 2025-11-12 20:50:43 -05:00
arcmsr scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
arm scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
be2iscsi scsi: be2iscsi: Add WQ_PERCPU to alloc_workqueue() users 2025-11-12 21:28:26 -05:00
bfa scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
bnx2fc scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
bnx2i treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
csiostor scsi: csiostor: Fix dereference of null pointer rn 2026-02-03 22:33:32 -05:00
cxgbi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
device_handler scsi: scsi_dh_alua: WQ_PERCPU added to alloc_workqueue() users 2025-11-12 21:28:26 -05:00
elx scsi: efct: Use IRQF_ONESHOT and default primary handler 2026-02-03 22:02:08 -05:00
esas2r scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
fcoe scsi: fcoe: Add WQ_PERCPU to alloc_workqueue() users 2025-11-08 12:28:11 -05:00
fnic scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
hisi_sas scsi: hisi_sas: Use dev_parent_is_expander() helper 2025-08-18 22:08:30 -04:00
ibmvscsi scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
ibmvscsi_tgt scsi: target: ibmvscsi: Add WQ_PERCPU to alloc_workqueue() users 2025-11-12 21:28:26 -05:00
isci scsi: isci: Avoid -Wflex-array-member-not-at-end warning 2025-10-20 12:00:11 -04:00
libfc scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
libsas scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
lpfc scsi: lpfc: Properly set WC for DPP mapping 2026-02-17 21:10:29 -05:00
megaraid scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
mpi3mr scsi: mpi3mr: Make driver probing asynchronous 2026-02-03 22:19:56 -05:00
mpt3sas scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
mvsas scsi: mvsas: Fix use-after-free bugs in mvs_work_queue 2025-09-29 17:26:20 -04:00
pcmcia scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
pm8001 scsi: pm80xx: Add WQ_PERCPU to alloc_workqueue() users 2025-11-12 21:28:27 -05:00
qedf scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
qedi scsi: qedi: Add WQ_PERCPU to alloc_workqueue() users 2025-11-12 21:28:26 -05:00
qla2xxx Merge patch series "Add WQ_PERCPU to alloc_workqueue() users" 2026-01-23 22:24:03 -05:00
qla4xxx Merge patch series "Add WQ_PERCPU to alloc_workqueue() users" 2026-01-23 22:24:03 -05:00
smartpqi scsi: smartpqi: Fix memory leak in pqi_report_phys_luns() 2026-02-03 22:23:32 -05:00
snic scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
sym53c8xx_2 scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
.gitignore
3w-9xxx.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
3w-9xxx.h
3w-sas.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
3w-sas.h
3w-xxxx.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
3w-xxxx.h
53c700.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
53c700.h
53c700.scr
53c700_d.h_shipped
a100u2w.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
a100u2w.h
a2091.c
a2091.h
a3000.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
a3000.h
a4000t.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
advansys.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
aha152x.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
aha152x.h
aha1542.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
aha1542.h
aha1740.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
aha1740.h
am53c974.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
atari_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
atp870u.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
atp870u.h
BusLogic.c scsi: buslogic: Reduce stack usage 2026-02-03 22:31:13 -05:00
BusLogic.h scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
bvme6000_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
ch.c scsi: ch: Convert to SCSI bus methods 2026-01-11 21:31:58 -05:00
constants.c
dc395x.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
dc395x.h
dmx3191d.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
esp_scsi.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
esp_scsi.h scsi: esp: Fix variable typo 2025-01-02 13:42:35 -05:00
fdomain.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
fdomain.h
fdomain_isa.c
fdomain_pci.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
FlashPoint.c scsi: FlashPoint: Remove redundant assignment to pointer currTar_Info 2024-04-08 22:01:19 -04:00
g_NCR5380.c scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
gvp11.c
gvp11.h
hosts.c scsi: core: Revert "Fix a regression triggered by scsi_host_busy()" 2026-01-11 22:07:36 -05:00
hpsa.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
hpsa.h
hpsa_cmd.h
hptiop.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
hptiop.h
imm.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
imm.h
initio.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
initio.h
ipr.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
ipr.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ips.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
ips.h scsi: switch ->bios_param() to passing gendisk 2025-08-13 02:59:28 -04:00
iscsi_boot_sysfs.c
iscsi_tcp.c scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
iscsi_tcp.h scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
jazz_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
Kconfig Drivers: hv: Add CONFIG_HYPERV_VMBUS option 2025-10-01 00:00:42 +00:00
lasi700.c
libiscsi.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
libiscsi_tcp.c scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
mac53c94.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
mac53c94.h
mac_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
mac_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
Makefile scsi: cxlflash: Remove driver 2025-02-03 18:04:55 -05:00
megaraid.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
megaraid.h scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
mesh.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
mesh.h
mvme16x_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
mvme147.c
mvme147.h
mvumi.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
mvumi.h
myrb.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
myrb.h scsi: myrb: Simplify an alloc_ordered_workqueue() invocation 2024-08-22 21:28:56 -04:00
myrs.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
myrs.h scsi: myrs: Simplify an alloc_ordered_workqueue() invocation 2024-08-22 21:28:56 -04:00
ncr53c8xx.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
ncr53c8xx.h
NCR5380.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
NCR5380.h scsi: NCR5380: Clean up indentation 2024-08-12 22:05:50 -04:00
nsp32.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
nsp32.h
nsp32_debug.c
nsp32_io.h
pmcraid.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
pmcraid.h
ppa.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
ppa.h
ps3rom.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
qla1280.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
qla1280.h scsi: qla1280: Fix hw revision numbering for ISP1020/1040 2024-11-20 21:32:48 -05:00
qlogicfas.c
qlogicfas408.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
qlogicfas408.h scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
qlogicpti.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
qlogicpti.h
raid_class.c
script_asm.pl
scsi.c scsi: core: Support allocating a pseudo SCSI device 2025-11-12 17:02:31 -05:00
scsi_bsg.c
scsi_common.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_debug.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
scsi_debugfs.c scsi: core: Improve the code for showing commands in debugfs 2024-04-08 22:12:33 -04:00
scsi_debugfs.h
scsi_devinfo.c scsi: scsi_devinfo: Remove redundant 'found' 2025-06-24 21:17:22 -04:00
scsi_dh.c scsi: device_handler: Return error pointer in scsi_dh_attached_handler_name() 2025-12-08 22:04:38 -05:00
scsi_error.c Merge branch 6.18/scsi-fixes into 6.19/scsi-staging 2025-11-19 22:59:25 -05:00
scsi_ioctl.c block: remove the q argument from blk_rq_map_kern 2025-05-07 07:31:07 -06:00
scsi_lib.c scsi: core: Introduce an enumeration type for the SCSI_MLQUEUE constants 2025-12-16 22:20:26 -05:00
scsi_lib_dma.c
scsi_lib_test.c scsi: core: Add passthrough tests for success and no failure definitions 2025-01-21 12:16:17 -05:00
scsi_logging.c scsi: core: Do not declare scsi_cmnd pointers const 2025-10-21 21:11:35 -04:00
scsi_logging.h
scsi_netlink.c
scsi_pm.c scsi: pm: Drop unneeded call to pm_runtime_mark_last_busy() 2025-11-12 20:56:38 -05:00
scsi_priv.h scsi: core: Introduce an enumeration type for the SCSI_MLQUEUE constants 2025-12-16 22:20:26 -05:00
scsi_proc.c
scsi_proto_test.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_sas_internal.h
scsi_scan.c scsi: core: Support allocating a pseudo SCSI device 2025-11-12 17:02:31 -05:00
scsi_sysctl.c scsi: logging: Fix scsi_logging_level bounds 2025-03-03 22:11:48 -05:00
scsi_sysfs.c scsi: core: sysfs: Make use of bus callbacks 2026-01-11 21:31:58 -05:00
scsi_trace.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_transport_api.h
scsi_transport_fc.c scsi: scsi_transport_fc: Introduce encryption group in fc_rport attribute 2025-12-16 21:56:48 -05:00
scsi_transport_iscsi.c scsi: scsi_transport_iscsi: Replace use of system_unbound_wq with system_dfl_wq 2025-11-12 21:15:18 -05:00
scsi_transport_sas.c scsi: Fix sas_user_scan() to handle wildcard and multi-channel scans 2025-07-24 22:00:43 -04:00
scsi_transport_spi.c scsi: transport: sas: spi: Fix kernel-doc for exported functions 2025-01-10 15:15:20 -05:00
scsi_transport_srp.c scsi: scsi_transport_srp: Replace min/max nesting with clamp() 2025-04-03 10:54:31 -04:00
scsicam.c scsi: switch ->bios_param() to passing gendisk 2025-08-13 02:59:28 -04:00
sd.c scsi: sd: Do not split error messages 2026-01-16 23:15:16 -05:00
sd.h block: introduce disk_report_zone() 2025-11-05 08:07:21 -07:00
sd_dif.c block: introduce pi_tuple_size field in blk_integrity 2025-07-01 14:00:15 +02:00
sd_trace.h
sd_zbc.c block: introduce disk_report_zone() 2025-11-05 08:07:21 -07:00
sense_codes.h
ses.c scsi: ses: Convert to SCSI bus methods 2026-01-11 21:31:58 -05:00
sg.c scsi: sg: Do not sleep in atomic context 2025-11-19 22:46:36 -05:00
sgiwd93.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
sim710.c scsi: sim710: Fix resource leak by adding missing ioport_unmap() calls 2025-11-12 20:53:41 -05:00
sni_53c710.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
sr.c scsi: sr: Convert to SCSI bus methods 2026-01-11 21:31:58 -05:00
sr.h scsi: sr: Fix unintentional arithmetic wraparound 2024-05-15 10:05:24 -04:00
sr_ioctl.c minmax: scsi: fix mis-use of 'clamp()' in sr.c 2024-07-28 17:06:20 -07:00
sr_vendor.c
st.c scsi: st: Convert to SCSI bus methods 2026-01-11 21:31:58 -05:00
st.h scsi: st: Modify st.c to use the new scsi_error counters 2025-02-03 17:43:31 -05:00
st_options.h
stex.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
storvsc_drv.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
sun3_scsi.c scsi: sun3: Mark driver struct with __refdata to prevent section mismatch 2024-11-06 21:06:44 -05:00
sun3_scsi_vme.c
sun3x_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
sun_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
virtio_scsi.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
vmw_pvscsi.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
vmw_pvscsi.h
wd33c93.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
wd33c93.h scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
wd719x.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
wd719x.h
xen-scsifront.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
zalon.c scsi: zalon: Remove trailing space after \n newline 2024-09-12 20:25:43 -04:00
zorro7xx.c
zorro_esp.c