Danny Lin
f92e5fc8c7
techpack: rmnet_shs: Fix CFI violation in packet assignment
...
This fixes the following CFI violation when the rmnet_shs module is
loaded:
CFI failure (target: [<ffffff9cddd1e27c>] rmnet_shs_assign+0x0/0x9d0):
------------[ cut here ]------------
WARNING: CPU: 1 PID: 0 at rmnet_deliver_skb+0x224/0x24c
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G S W 4.14.186 #1
Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 MTP 18865 19863 14 15 (DT)
task: 0000000098c067f6 task.stack: 00000000289c42de
pc : rmnet_deliver_skb+0x224/0x24c
lr : rmnet_deliver_skb+0x224/0x24c
sp : ffffff801000bc10 pstate : 60400145
x29: ffffff801000bc10 x28: ffffff9cdc68e798
x27: ffffffe5ed28e090 x26: 0000000000000000
x25: 0000000000000000 x24: ffffffe585b41ca8
x23: 0000000000000001 x22: ffffff9cddd1e27c
x21: ffffffe5f40fd100 x20: ffffffe5dfb95000
x19: ffffffe4eff9d500 x18: 0000000000000002
x17: 000000000000009c x16: 000000000000009c
x15: 0000000000000068 x14: 0000000000000082
x13: ffffff9cdefaec08 x12: 0000000000000004
x11: 00000000ffffffff x10: ffffffe5f5200000
x9 : 99d99e2e2d2e1900 x8 : 99d99e2e2d2e1900
x7 : 0000000000000000 x6 : ffffffe5f5209fc2
x5 : 0000000000000000 x4 : 0000000000000000
x3 : 0000000000003a29 x2 : 0000000000000001
x1 : 0000000000000000 x0 : 0000000000000046
\x0aPC: 0xffffff9cdd12b3fc:
b3fc a9424ff4 a94157f6 a8c37bfd d65f03c0 91246100 aa1303e1 9431af1a a9424ff4
b41c a94157f6 a8c37bfd d65f03c0 900091e0 91188000 aa1603e1 aa1603e2 97d8aba3
b43c d4210000 17ffff9e aa1503e0 97d9478c 17ffffa5 aa1503e0 aa0803f6 97d94788
b45c aa1603e8 17ffffac d10103ff a9017bfd a90257f6 a9034ff4 910043fd aa0003f3
\x0aLR: 0xffffff9cdd12b3fc:
b3fc a9424ff4 a94157f6 a8c37bfd d65f03c0 91246100 aa1303e1 9431af1a a9424ff4
b41c a94157f6 a8c37bfd d65f03c0 900091e0 91188000 aa1603e1 aa1603e2 97d8aba3
b43c d4210000 17ffff9e aa1503e0 97d9478c 17ffffa5 aa1503e0 aa0803f6 97d94788
b45c aa1603e8 17ffffac d10103ff a9017bfd a90257f6 a9034ff4 910043fd aa0003f3
\x0aSP: 0xffffff801000bbd0:
bbd0 dd12b43c ffffff9c 60400145 00000000 1000bbb8 ffffff80 dd12b2b4 ffffff9c
bbf0 ffffffff 0000007f 2d2e1900 99d99e2e 1000bc10 ffffff80 dd12b43c ffffff9c
bc10 1000bc40 ffffff80 ddd18d48 ffffff9c 00000040 00000000 ddd18338 ffffff9c
bc30 eff9d500 ffffffe4 85b41c18 ffffffe5 1000bc50 ffffff80 ddd1a390 ffffff9c
Call trace:
rmnet_deliver_skb+0x224/0x24c
rmnet_perf_core_send_skb+0x138/0x140
rmnet_perf_opt_flush_single_flow_node+0x624/0x668
rmnet_perf_core_deaggregate+0x194/0x2c4
rmnet_rx_handler+0x17c/0x270
__netif_receive_skb_core+0x50c/0xba0
process_backlog+0x1e4/0x3d0
net_rx_action+0x134/0x4f4
__do_softirq+0x16c/0x344
irq_exit+0x16c/0x178
handle_IPI+0x220/0x2e0
gic_handle_irq.16379+0xa8/0x180
el1_irq+0xb0/0x124
lpm_cpuidle_enter+0x33c/0x358
cpuidle_enter_state+0x220/0x400
do_idle+0x430/0x5f0
cpu_startup_entry+0x74/0x78
__cpu_disable+0x0/0xf0
---[ end trace 6e7b287874dec53f ]---
Reported-by: Adam W. Willis <return.of.octobot@gmail.com >
Signed-off-by: Danny Lin <danny@kdrag0n.dev >
Signed-off-by: neobuddy89 <neobuddy89@gmail.com >
2026-01-04 11:55:34 +05:30
Danny Lin
fa18c1ce14
techpack: rmnet_perf: Fix CFI violation in packet deaggregation
...
This fixes the following CFI violation when the rmnet_perf module is
loaded:
CFI failure (target: [<ffffff9cddd181a4>] rmnet_perf_core_deaggregate+0x0/0x2c4):
------------[ cut here ]------------
WARNING: CPU: 1 PID: 0 at rmnet_rx_handler+0x240/0x270
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G S W 4.14.186 #1
Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 MTP 18865 19863 14 15 (DT)
task: 0000000098c067f6 task.stack: 00000000289c42de
pc : rmnet_rx_handler+0x240/0x270
lr : rmnet_rx_handler+0x240/0x270
sp : ffffff801000bd00 pstate : 60400145
x29: ffffff801000bd00 x28: ffffff9cdc68e798
x27: ffffffe5ed28e090 x26: 0000000000000000
x25: ffffff9cdc68e9cc x24: ffffffe42fd6b900
x23: ffffff9cde829f30 x22: ffffff9cddd181a4
x21: ffffffe5f40fd100 x20: ffffffe5dfb95000
x19: ffffffe42fd6b900 x18: 0000000000010000
x17: 0000000000000008 x16: 0000000000000000
x15: 0000000000000008 x14: ffffff9cde85d990
x13: 0000000005000000 x12: 00ff00ff00000000
x11: ffffffffffffffff x10: 0000000000000008
x9 : 99d99e2e2d2e1900 x8 : 99d99e2e2d2e1900
x7 : 0000000000000000 x6 : ffffffe5f52091f1
x5 : 0000000000000000 x4 : 0000000000000000
x3 : fffffffffffffffc x2 : 0000000000000000
x1 : 0000000000000008 x0 : 0000000000000051
\x0aPC: 0xffffff9cdd12b8bc:
b8bc f900051f aa1503e0 aa1403e1 940001f9 b4fffe60 aa0003f6 aa1403e1 94000015
b8dc eb1602bf 54ffff01 17ffffef 900091e0 91188000 aa1603e1 aa1603e2 97d8aa73
b8fc d4210000 17ffffcb aa1503e0 97d9465c 17ffffd2 aa1503e0 97d94659 17ffffdd
b91c aa1303e0 528001c1 aa1503e2 94303be3 d10183ff a9027bfd f9001bf7 a90457f6
\x0aLR: 0xffffff9cdd12b8bc:
b8bc f900051f aa1503e0 aa1403e1 940001f9 b4fffe60 aa0003f6 aa1403e1 94000015
b8dc eb1602bf 54ffff01 17ffffef 900091e0 91188000 aa1603e1 aa1603e2 97d8aa73
b8fc d4210000 17ffffcb aa1503e0 97d9465c 17ffffd2 aa1503e0 97d94659 17ffffdd
b91c aa1303e0 528001c1 aa1503e2 94303be3 d10183ff a9027bfd f9001bf7 a90457f6
\x0aSP: 0xffffff801000bcc0:
bcc0 dd12b8fc ffffff9c 60400145 00000000 1000bca8 ffffff80 dd12b828 ffffff9c
bce0 ffffffff 0000007f 2d2e1900 99d99e2e 1000bd00 ffffff80 dd12b8fc ffffff9c
bd00 1000bd60 ffffff80 ddd4eafc ffffff9c 2fd6b900 ffffffe4 de84eec0 ffffff9c
bd20 00000000 00000000 ed28e000 ffffffe5 00000000 00000001 00000000 00000000
Call trace:
rmnet_rx_handler+0x240/0x270
__netif_receive_skb_core+0x50c/0xba0
process_backlog+0x1e4/0x3d0
net_rx_action+0x134/0x4f4
__do_softirq+0x16c/0x344
irq_exit+0x16c/0x178
handle_IPI+0x220/0x2e0
gic_handle_irq.16379+0xa8/0x180
el1_irq+0xb0/0x124
lpm_cpuidle_enter+0x33c/0x358
cpuidle_enter_state+0x220/0x400
do_idle+0x430/0x5f0
cpu_startup_entry+0x74/0x78
__cpu_disable+0x0/0xf0
---[ end trace 6e7b287874dec53e ]---
Reported-by: Adam W. Willis <return.of.octobot@gmail.com >
Signed-off-by: Danny Lin <danny@kdrag0n.dev >
Signed-off-by: neobuddy89 <neobuddy89@gmail.com >
2026-01-04 11:55:34 +05:30
Georg Veichtlbauer
08df9cae10
treewide: Correct file modes
...
Change-Id: I6fa7ec94299c672e9a97445b5ed22791b7304d94
2023-11-28 17:21:38 +01:00
LuK1337
20066670a7
drivers: rmnet_perf: Fix strict-prototypes error
...
Change-Id: I3e67da3d767f8d1198bca1c81e561c1ad2fe7363
2023-10-29 21:53:18 +01:00
Danny Lin
3b2c7f5270
techpack: Integrate Qualcomm data-kernel package
...
This allows to build the rmnet_perf and rmnet_shs modules into the
kernel easily.
Signed-off-by: Danny Lin <danny@kdrag0n.dev >
Change-Id: I205ec5517e6b1af87f7c3ca8c31a86fd98d715da
2023-01-08 10:52:57 +02:00
Michael Bestas
6300d5da51
Add 'techpack/data/' from tag 'LA.UM.9.1.r1-12900-SMxxx0.QSSI13.0'
...
git-subtree-dir: techpack/data
git-subtree-mainline: 25b0999fe9
git-subtree-split: 1869a32cc9
Change-Id: Icfeac1c340db433beab63c045e035cdc0e27e7a1
2023-01-08 10:48:02 +02:00