Patched module brcmfmac alone works OK - wifi has stable link with AP (no bce.ko loaded - so no internal keyboard/touchpad works) - OS is stable.
Bce.ko insmod alone - keyboard and touchpad works ok (no wifi as brcmfmac is not loaded) - OS is stable.
When brcmfmac is loaded and later bce.ko is loaded (with insmod) after several seconds OS freezes (the same in oposite direction - bce is loaded first, and then brcmfmac is loaded)
Dmesg main problems area watchdog: BUG: soft lockup - CPU#11 stuck for 22s! :
`
[ 377.948036] BUG: workqueue lockup - pool cpus=8 node=0 flags=0x0 nice=0 stuck for 51s!
Kernel 5.2.11-1-default #1 SMP OS: OpenSUSE Tumbleweed
Patched module brcmfmac alone works OK - wifi has stable link with AP (no bce.ko loaded - so no internal keyboard/touchpad works) - OS is stable. Bce.ko insmod alone - keyboard and touchpad works ok (no wifi as brcmfmac is not loaded) - OS is stable.
When brcmfmac is loaded and later bce.ko is loaded (with insmod) after several seconds OS freezes (the same in oposite direction - bce is loaded first, and then brcmfmac is loaded)
Dmesg main problems area watchdog: BUG: soft lockup - CPU#11 stuck for 22s! :
` [ 377.948036] BUG: workqueue lockup - pool cpus=8 node=0 flags=0x0 nice=0 stuck for 51s!
...
[ 645.866897] CPU: 3 PID: 3639 Comm: pulseaudio Tainted: G OEL 5.2.11-1-default #1 openSUSE Tumbleweed (unreleased) [ 645.866898] Hardware name: Apple Inc. MacBookPro15,1/Mac-, BIOS 220.270.99.0.0 (iBridge: 16.16.6571.0.0,0) 07/11/2019 [ 645.866902] RIP: 0010:smp_call_function_many+0x208/0x270 [ 645.866904] Code: e8 3d 4a 78 00 3b 05 bb 28 23 01 89 c7 0f 83 7d fe ff ff 48 63 c7 48 8b 0b 48 03 0c c5 c0 aa f7 a4 8b 41 18 a8 01 74 0a f3 90 <8b> 51 18 83 e2 01 75 f6 eb c9 48 c7 c2 80 61 16 a5 4c 89 fe 89 df [ 645.866906] RSP: 0018:ffffae5002ef7c08 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13 [ 645.866908] RAX: 0000000000000003 RBX: ffff9ed3ae8ee640 RCX: ffff9ed3aea344e0 [ 645.866909] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000008 [ 645.866911] RBP: ffffffffa3e7eaf0 R08: ffff9ed3ae8ee648 R09: 0000000000000000 [ 645.866912] R10: 0000000000000007 R11: 0000000000000008 R12: 0000000000000000 [ 645.866913] R13: ffff9ed3ae8ee648 R14: 0000000000000001 R15: 0000000000000200 [ 645.866914] FS: 00007f09259ac840(0000) GS:ffff9ed3ae8c0000(0000) knlGS:0000000000000000 [ 645.866916] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 645.866917] CR2: 00007f0921654b03 CR3: 0000000438154006 CR4: 00000000003606e0 [ 645.866918] Call Trace: [ 645.866922] ? load_new_mm_cr3+0xe0/0xe0 [ 645.866923] on_each_cpu+0x28/0x80 [ 645.866926] purge_vmap_area_lazy+0x65/0x130 [ 645.866928] _vm_unmap_aliases+0xf1/0x130 [ 645.866930] change_page_attr_set_clr+0xaa/0x1c0 [ 645.866933] set_memory_ro+0x26/0x30 [ 645.866935] bpf_int_jit_compile+0x255/0x30d [ 645.866938] bpf_prog_select_runtime+0xcd/0x150 [ 645.866940] bpf_prepare_filter+0x42b/0x4b0 [ 645.866942] sk_attach_filter+0x14/0x50 [ 645.866944] ? _copy_from_user+0x37/0x60 [ 645.866947] sock_setsockopt+0x6c5/0xcc0 [ 645.866949] ? aa_sk_perm+0x3e/0x160 [ 645.866950] sys_setsockopt+0xbc/0xd0 [ 645.866952] __x64_sys_setsockopt+0x21/0x30 [ 645.866954] do_syscall_64+0x6e/0x1e0 [ 645.866956] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 645.866958] RIP: 0033:0x7f092621bcea [ 645.866960] Code: ff ff ff c3 48 8b 15 ad e1 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb bb 0f 1f 80 00 00 00 00 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 7e e1 0b 00 f7 d8 64 89 01 48 [ 645.866963] RSP: 002b:00007ffcd8f5a578 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 645.866965] RAX: ffffffffffffffda RBX: 00007ffcd8f5a5e0 RCX: 00007f092621bcea [ 645.866967] RDX: 000000000000001a RSI: 0000000000000001 RDI: 000000000000000e [ 645.866969] RBP: 0000000000000006 R08: 0000000000000010 R09: 00000000ffffffff [ 645.866970] R10: 00007ffcd8f5a5d0 R11: 0000000000000246 R12: 0000000000000008 [ 645.866971] R13: 00007ffcd8f5a5b0 R14: 00007ffcd8f5a618 R15: 00007ffcd8f5a610 [ 645.867005] watchdog: BUG: soft lockup - CPU#11 stuck for 22s! [chromium:3642] `
mac15_lspci.txt mac15_dmidecode.txt bce_insmod_after_brcmfmac_is_loaded_crash.txt