Bart Van Assche
3fa7e77f60
RDMA/srp: Make struct scsi_cmnd and struct srp_request adjacent
...
[ Upstream commit ad215aaea4f9d637f441566cdbbc610e9849e1fa ]
Define .init_cmd_priv and .exit_cmd_priv callback functions in struct
scsi_host_template. Set .cmd_size such that the SCSI core allocates
per-command private data. Use scsi_cmd_priv() to access that private
data. Remove the req_ring pointer from struct srp_rdma_ch since it is no
longer necessary. Convert srp_alloc_req_data() and srp_free_req_data()
into functions that initialize one instance of the SRP-private command
data. This is a micro-optimization since this patch removes several
pointer dereferences from the hot path.
Note: due to commit e73a5e8e8003 ("scsi: core: Only return started
requests from scsi_host_find_tag()"), it is no longer necessary to protect
the completion path against duplicate responses.
Link: https://lore.kernel.org/r/20210524041211.9480-6-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Stable-dep-of: e193b7955dfa ("RDMA/srp: Do not call scsi_done() from srp_abort()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-08 11:24:51 +01:00
Gabriel2392
5ea09e31c9
gpu: exynos: Allow 2093MHz memory frequency
2024-10-17 12:53:13 -03:00
Gabriel2392
f35c27aba8
s5e8825: Tuning
2024-10-17 12:50:20 -03:00
Felix Fietkau
555d8a35de
wifi: mt76: replace skb_put with skb_put_zero
...
[ Upstream commit 7f819a2f4fbc510e088b49c79addcf1734503578 ]
Avoid potentially reusing uninitialized data
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-04 20:09:30 -03:00
Gabriel
fedefb31d3
zram: Switch back to lz4
2024-10-04 20:09:30 -03:00
Gabriel2392
9e6b7e114f
gpu/exynos: Make 'gpu_mm_min_clock' readonly too
2024-10-04 20:09:29 -03:00
Gabriel2392
23eb121cf8
zram: Use lz4fast as default
2024-10-04 20:09:29 -03:00
Gabriel2392
0e1e7afdf9
crypto/zram: Add lz4fast algorithm
...
> Up to 3 times faster than default lz4
> Uses LZ4_compress_fast level 32
2024-10-04 20:09:29 -03:00
Gabriel2392
f2e3b984f5
gpu/exynos: Create sysfs 'gpu_unlock' to control such feature
2024-10-04 20:09:29 -03:00
Daniel Micay
27a7d44ba5
drivers: usb: add toggle for disabling newly added USB devices
...
Based on the public grsecurity patches.
Signed-off-by: anupritaisno1 <www.anuprita804@gmail.com>
2024-10-04 20:09:29 -03:00
Gabriel2392
9b8f55709b
gpu: exynos: imprison userspace requests for changing min/max frequencies
...
> RIP OneUI desires
2024-10-04 20:09:13 -03:00
Gabriel2392
f90e6ebad0
Backport mt76 driver from linux-6.1.y
2024-06-15 16:29:21 -03:00
Gabriel2392
d04378f078
Backport mac80211 patches from linux-6.1.y
2024-06-15 16:29:20 -03:00
Gabriel2392
c58c7488b1
Add rtl8821au drivers
...
From https://github.com/morrownr/8821au-20210708 with fixes from https://github.com/aircrack-ng/rtl8812au and some other fixes for clang / 5.10 android kernel.
2024-06-15 16:29:05 -03:00
Gabriel2392
5e81baf4b1
Kperfmon: add xyunbound version
2024-06-15 16:28:49 -03:00
Gabriel2392
9721b7ac13
treewide: Fix build errors with clang18
2024-06-15 16:28:49 -03:00
Gabriel2392
34dfdeb497
block: set zram default compressor to lz4
2024-06-15 16:28:49 -03:00
Gabriel2392
f90e79c77b
drivers: add stub kperfmon
2024-06-15 16:28:49 -03:00
Gabriel2392
fdef7b54c3
exynos_gpu: Don't allow userspace to control freqs
2024-06-15 16:28:49 -03:00
Gabriel2392
2de2633674
gpu: exynos: don't read dvfs table from dtb
...
-> Hardcode in kernel module
-> Unlock all frequencies up to 1.2GHz
Signed-off-by: Gabriel2392 <gabriel824m@gmail.com>
2024-06-15 16:28:49 -03:00
Gabriel2392
a839ab2b13
drivers: itmon: Fix error
2024-06-15 16:28:49 -03:00
Gabriel2392
0e12bd998e
drivers: fmp: remove failing command
2024-06-15 16:28:48 -03:00
roynatech2544
0e2c60f465
drivers/nfc_logger: Fix implicit int
2024-06-15 16:28:48 -03:00
roynatech2544
0db070a424
Fix clang 16 errors treewide
...
- misleading indentation
- strict prototypes [1]
[1]
int foo(void) {...}
instead of
int foo() {...}
drivers: usb: Fix misleading indentation
2024-06-15 16:28:48 -03:00
roynatech2544
c8fe547dae
soc/samsung: Fix strict prototypes
2024-06-15 16:28:48 -03:00
Josip Kelecic
78e27f23b6
drivers: tui: fix out of tree build
2024-06-15 16:21:18 -03:00
Gabriel2392
2efbd45726
configs: Disable Mali debugging
2024-06-15 16:21:18 -03:00
Gabriel2392
b31296d247
configs/drivers: Disable all sec_debug related stuff
2024-06-15 16:21:18 -03:00
Gabriel2392
5b70558bfb
configs: Enable r38 Mali driver
2024-06-15 16:21:18 -03:00
Gabriel2392
9418752122
treewide: fix build errors
2024-06-15 16:21:17 -03:00
erfanoabdi
dc32d2987c
drivers: Nuke kperfmon
2024-06-15 16:21:16 -03:00
Mohammad Afaneh
90c03d0f0b
Nuke build warnings
2024-06-15 16:20:55 -03:00
Gabriel2392
eb023919eb
Import A536BXXSAEXE1
2024-06-15 16:07:28 -03:00
Gabriel2392
7ed7ee9edf
Import A536BXXU9EXDC
2024-06-15 16:02:09 -03:00