linux-kernelorg-stable/drivers/firewire
Takashi Sakamoto 0342273e14 firewire: core: reallocate buffer for FCP address handlers when more than 4 are registered
The former commit has a limitation that only up to 4 FCP address
handlers could be processed per request. Although it suffices for most
use cases, it is technically a regression.

This commit lifts the restriction by reallocating the buffer from kernel
heap when more than 4 handlers are registered. The allocation is performed
within RCU read-side critical section, thus it uses GCP_ATOMIC flag. The
buffer size is rounded up to the next power of two to align with kmalloc
allocation units.

Link: https://lore.kernel.org/r/20250803122015.236493-5-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2025-08-03 21:20:15 +09:00
..
.kunitconfig
Kconfig PCI: Add CONFIG_MMU dependency 2025-04-23 15:40:30 -05:00
Makefile
core-card.c firewire: core: minor code refactoring to localize table of gap count 2025-06-17 09:56:42 +09:00
core-cdev.c firewire: core: use from_work() macro to expand parent structure of work_struct 2025-06-09 08:45:48 +09:00
core-device.c firewire: core: use from_work() macro to expand parent structure of work_struct 2025-06-09 08:45:48 +09:00
core-iso.c
core-topology.c firewire updates for v6.13 2024-11-25 17:12:54 -08:00
core-trace.c
core-transaction.c firewire: core: reallocate buffer for FCP address handlers when more than 4 are registered 2025-08-03 21:20:15 +09:00
core.h firewire: Correct some typos 2024-10-01 19:02:57 +09:00
device-attribute-test.c firewire: test: Fix potential null dereference in firewire kunit test 2025-01-13 10:31:27 +09:00
init_ohci1394_dma.c
net.c firewire: ohci: use workqueue to handle events of AT request/response contexts 2025-06-15 22:40:29 +09:00
nosy-user.h
nosy.c
nosy.h
ohci-serdes-test.c
ohci.c firewire: ohci: reduce the size of common context structure by extracting members into AT structure 2025-07-12 21:52:16 +09:00
ohci.h
packet-header-definitions.h
packet-serdes-test.c
phy-packet-definitions.h
sbp2.c scsi: Rename .device_configure() into .sdev_configure() 2024-12-04 15:34:28 -05:00
self-id-sequence-helper-test.c
uapi-test.c