[Android General] Polex73:
bam_dmux_wakelock

bam_dmux_wakelock may be not normal on my LG G3 (D855) with LineageOS.

I found the following:

[31918.050640] PM: suspend exit 2017-12-14 09:14:53.223936915 UTC

[31918.064395] wlan: [2005:E :HDD] hdd_is_5g_supported: Hardware supports 5Ghz

[31918.501259] IRQ40 no longer affine to CPU2

[31918.618980] pm_power_get_event_property_wireless : POWER_SUPPLY_PROP_WIRELESS_ONLINE :0

[31918.619342] bq24296_monitor_batt_temp: thermal-engine set req.chg_current_ma = 1500, req.chg_current_te = 2000

[31918.621456] LGE charging scenario : state 0 -> 0(0-0), temp=25, volt=3962, BTM=0, charger=0, chg_cur = 295

[31918.622088] bq24296_monitor_batt_temp: otp_ibat_current=1500

[31918.628818] bq24296_reginfo: 0x40 0x1D 0x3C 0x30 0xD6 0x8A 0x03 0x4B 0x00 0x00

[31919.065755] IRQ40 no longer affine to CPU3

[31937.207283] ul_timeout: UL delayed ts=31933.213868595

[31938.210930] ul_timeout: UL delayed ts=31933.213868595

[31939.214208] ul_timeout: UL delayed ts=31933.213868595

[31941.220636] ul_timeout: UL delayed ts=31933.213868595

[31942.224046] ul_timeout: UL delayed ts=31933.213868595

[31943.227874] ul_timeout: UL delayed ts=31933.213868595

[31944.231087] ul_timeout: UL delayed ts=31933.213868595

[31944.413869] ------------[ cut here ]------------

[31944.414255] WARNING: at ../../../../../../kernel/lge/g3/net/sched/sch_generic.c:256 dev_watchdog+0x1ec/0x290()

[31944.414875] NETDEV WATCHDOG: rmnet0 (): transmit queue 0 timed out

[31944.415499] Backtrace:

[31944.415501]

[31944.416194] [<c010ac6c>] (dump_backtrace+0x0/0x11c) from [<c0cfbb68>] (dump_stack+0x18/0x1c)

[31944.416592] r7:d9686008

[31944.416923] r6:c1203f39

[31944.417633] r5:00000100

[31944.417967] r4:c0b2b440

[31944.417969]

[31944.418656] [<c0cfbb50>] (dump_stack+0x0/0x1c) from [<c01bd238>] (warn_slowpath_fmt+0x64/0x80)

[31944.419025] [<c01bd1d4>] (warn_slowpath_fmt+0x0/0x80) from [<c0b2b440>] (dev_watchdog+0x1ec/0x290)

[31944.419654] r3:df840800

[31944.419976] r2:c1203f71

[31944.419978]

[31944.420702] r6:c0100000

[31944.421030] r5:00000000

[31944.421637] r4:df840800

[31944.421639]

[31944.422330] [<c0b2b254>] (dev_watchdog+0x0/0x290) from [<c01cc1dc>] (run_timer_softirq+0x238/0x3c4)

[31944.422689] [<c01cbfa4>] (run_timer_softirq+0x0/0x3c4) from [<c01c4e9c>] (__do_softirq+0x15c/0x310)

[31944.423328] [<c01c4d40>] (__do_softirq+0x0/0x310) from [<c01c5374>] (irq_exit+0x54/0xa8)

[31944.424055] [<c01c5320>] (irq_exit+0x0/0xa8) from [<c0107498>] (handle_IRQ+0xb8/0xf0)

[31944.424406] r5:c0100000

[31944.424732] r4:c140d404

[31944.424734]

[31944.425408] [<c01073e0>] (handle_IRQ+0x0/0xf0) from [<c0100640>] (gic_handle_irq+0xa0/0x134)

[31944.426036] r9:c15848a4

[31944.426364] r8:00000013

[31944.426691] r7:00000013

[31944.427086] r6:fa003000

[31944.427418] r5:d9687d40

[31944.428027]

r4:c1418498

[31944.428029]

[31944.428696] [<c01005a0>] (gic_handle_irq+0x0/0x134) from [<c0106740>] (__irq_svc+0x40/0x74)

[31944.429031] Exception stack(0xd9687d40 to 0xd9687d88)

[31944.429655] 7d40: d1b62800 00000000 3d183d18 00010000 d1b62800 c38c4800 c0100000 d9686018

[31944.430004] 7d60: c38c49d0 dc70ac00 00000010 d9687d94 d9687d98 d9687d88 c0d08c00 c0d0a10c

[31944.430689] 7d80: 60000013 ffffffff

[31944.431064] [<c0d0a0d8>] (_raw_spin_unlock_irq+0x0/0x60) from [<c0d08c00>] (__schedule+0x2e4/0x6c4)

[31944.431800] [<c0d0891c>] (__schedule+0x0/0x6c4) from [<c0d09068>] (schedule+0x88/0x8c)

[31944.432160] [<c0d08fe0>] (schedule+0x0/0x8c) from [<c0d08420>] (schedule_hrtimeout_range_clock+0xe8/0x130)

[31944.432798] [<c0d08338>] (schedule_hrtimeout_range_clock+0x0/0x130) from [<c0d0847c>] (schedule_hrtimeout_range+0x14/0x18)

[31944.433422] r9:00000001

[31944.433822] r8:05f5e100

[31944.434153] r7:d7cdb6c0

[31944.434478] r6:00000000

[31944.434805] r5:db6aa680

[31944.435129]

r4:d9687f10

[31944.435131]

[31944.435814] [<c0d08468>] (schedule_hrtimeout_range+0x0/0x18) from [<c02d1908>] (sys_epoll_wait+0x16c/0x320)

[31944.436165] [<c02d179c>] (sys_epoll_wait+0x0/0x320) from [<c02d1b78>] (sys_epoll_pwait+0xbc/0x134)

[31944.436803] [<c02d1abc>] (sys_epoll_pwait+0x0/0x134) from [<c0106b80>] (ret_fast_syscall+0x0/0x30)

[31944.437493] r9:d9686000

[31944.437825] r8:c0106d04

[31944.438156] r7:0000015a

[31944.438487] r6:00000000

[31944.438815] r5:00000008

[31944.439137]

r4:00000000

[31944.439139]

[31944.439785] ---[ end trace da227214a8249242 ]---

[31944.440492] [rmnet0] rmnet_tx_timeout()

[31945.234109] ul_timeout: UL delayed ts=31933.213868595

[31946.237587] ul_timeout: UL delayed ts=31933.213868595

[31947.240830] ul_timeout: UL delayed ts=31933.213868595

[31948.244279] ul_timeout: UL delayed ts=31933.213868595

...

...

[34056.283747] ul_timeout: UL delayed ts=31933.213868595

[34056.413619] [rmnet0] rmnet_tx_timeout()

[34057.287022] ul_timeout: UL delayed ts=31933.213868595

[34058.290195] ul_timeout: UL delayed ts=31933.213868595

[34059.293688] ul_timeout: UL delayed ts=31933.213868595

[34060.297092] ul_timeout: UL delayed ts=31933.213868595

[34060.413600] [rmnet0] rmnet_tx_timeout()

Some kind of kernel error (TX request with no packets to send (0 queue) happening at: 31933.2138) brings series of kernel wakelock every seconds for at least minutes (may be hours).