[Xperia Z5 Android Development] zacharias.maladroit:
The following is all on stock (out of the box), unrooted kernel + ROM

(from adb shell)

What are all those warnings, cluttering messages ... ?

Seriously Sony, You can do better than that ! :silly:

----------------------------

what is wrong with the other half of this octa-core CPU ?

dmesg | grep -i error
<3>[ 5.226418] bcl_handle_hotplug: Error -1 onlining core 4
<3>[ 5.226714] bcl_handle_hotplug: Error -1 onlining core 5
<6>[ 6.471743] subsys-pil-tz fe200000.qcom,lpass: Subsystem error monitoring/handling services are up
<6>[ 6.720171] CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0xffffffc0bb348c10
<3>[ 7.359383] bcl_handle_hotplug: Error -1 onlining core 4
<3>[ 7.359854] bcl_handle_hotplug: Error -1 onlining core 5
<6>[ 9.994728] pil-q6v5-mss fc880000.qcom,mss: Subsystem error monitoring/handling services are up
<3>[ 12.646433] bcl_handle_hotplug: Error -1 onlining core 4
<3>[ 12.646764] bcl_handle_hotplug: Error -1 onlining core 5
<3>[ 51.139961] bcl_handle_hotplug: Error -1 onlining core 4
<3>[ 51.140351] bcl_handle_hotplug: Error -1 onlining core 5
<3>[ 56.007422] bcl_handle_hotplug: Error -1 onlining core 4
<3>[ 59.416963] bcl_handle_hotplug: Error -1 onlining core 4
<3>[ 59.417713] bcl_handle_hotplug: Error -1 onlining core 6
<3>[ 59.418682] bcl_handle_hotplug: Error -1 onlining core 7
<3>[ 59.938214] bcl_handle_hotplug: Error -1 onlining core 4
<3>[ 59.938477] bcl_handle_hotplug: Error -1 onlining core 6
<3>[ 59.939182] bcl_handle_hotplug: Error -1 onlining core 7

<3>[ 113.634913] bcl_handle_hotplug: Error -1 onlining core 5
<4>[ 113.635003] _cpu_up: attempt to bring up CPU 6 failed
<3>[ 113.635077] bcl_handle_hotplug: Error -1 onlining core 6
<4>[ 113.635167] _cpu_up: attempt to bring up CPU 7 failed
<3>[ 113.635239] bcl_handle_hotplug: Error -1 onlining core 7
<4>[ 114.126510] _cpu_up: attempt to bring up CPU 5 failed
<3>[ 114.127990] bcl_handle_hotplug: Error -1 onlining core 5
<4>[ 114.128127] _cpu_up: attempt to bring up CPU 6 failed
<3>[ 114.128235] bcl_handle_hotplug: Error -1 onlining core 6
<4>[ 114.128328] _cpu_up: attempt to bring up CPU 7 failed
<3>[ 114.128833] bcl_handle_hotplug: Error -1 onlining core 7
<4>[ 114.130425] _cpu_up: attempt to bring up CPU 5 failed
<3>[ 114.130555] bcl_handle_hotplug: Error -1 onlining core 5
<4>[ 114.130651] _cpu_up: attempt to bring up CPU 6 failed
<3>[ 114.130736] bcl_handle_hotplug: Error -1 onlining core 6
<4>[ 114.130825] _cpu_up: attempt to bring up CPU 7 failed
<3>[ 114.131253] bcl_handle_hotplug: Error -1 onlining core 7
<4>[ 118.627004] _cpu_up: attempt to bring up CPU 5 failed
<3>[ 118.627547] bcl_handle_hotplug: Error -1 onlining core 5
<4>[ 118.629118] _cpu_up: attempt to bring up CPU 6 failed
<3>[ 118.630696] bcl_handle_hotplug: Error -1 onlining core 6
<4>[ 118.632506] _cpu_up: attempt to bring up CPU 7 failed
<3>[ 118.635036] bcl_handle_hotplug: Error -1 onlining core 7
<4>[ 120.434214] _cpu_up: attempt to bring up CPU 5 failed
<3>[ 120.435633] bcl_handle_hotplug: Error -1 onlining core 5
<4>[ 120.438024] _cpu_up: attempt to bring up CPU 6 failed
<3>[ 120.439507] bcl_handle_hotplug: Error -1 onlining core 6
<4>[ 120.441429] _cpu_up: attempt to bring up CPU 7 failed
<3>[ 120.442626] bcl_handle_hotplug: Error -1 onlining core 7
<4>[ 120.727274] _cpu_up: attempt to bring up CPU 5 failed
<3>[ 120.729267] bcl_handle_hotplug: Error -1 onlining core 5
<4>[ 120.730679] _cpu_up: attempt to bring up CPU 6 failed
<3>[ 120.732006] bcl_handle_hotplug: Error -1 onlining core 6
<4>[ 120.733579] _cpu_up: attempt to bring up CPU 7 failed
<3>[ 120.736131] bcl_handle_hotplug: Error -1 onlining core 7
<4>[ 121.427916] _cpu_up: attempt to bring up CPU 5 failed
<3>[ 121.428139] bcl_handle_hotplug: Error -1 onlining core 5
<4>[ 121.429569] _cpu_up: attempt to bring up CPU 6 failed
<3>[ 121.429693] bcl_handle_hotplug: Error -1 onlining core 6
<4>[ 121.429801] _cpu_up: attempt to bring up CPU 7 failed
<3>[ 121.429894] bcl_handle_hotplug: Error -1 onlining core 7
<4>[ 122.427181] _cpu_up: attempt to bring up CPU 5 failed
<3>[ 122.427633] bcl_handle_hotplug: Error -1 onlining core 5
<4>[ 122.428097] _cpu_up: attempt to bring up CPU 6 failed
<3>[ 122.429589] bcl_handle_hotplug: Error -1 onlining core 6
<4>[ 122.430073] _cpu_up: attempt to bring up CPU 7 failed
<3>[ 122.431584] bcl_handle_hotplug: Error -1 onlining core 7
<4>[ 130.270372] _cpu_up: attempt to bring up CPU 5 failed
<3>[ 130.270447] bcl_handle_hotplug: Error -1 onlining core 5
<4>[ 130.270528] _cpu_up: attempt to bring up CPU 7 failed
<3>[ 130.270596] bcl_handle_hotplug: Error -1 onlining core 7

[upstream, RFC, old] http://marc.info/?l=linux-arm-kernel&m=129245682806207&w=2

----------------------------

And the following looks like some usb gadget or usb f_fs related issue:

http://www.serverphorums.com/read.php?12,1379459

[FIX] ? https://lkml.org/lkml/2014/2/27/38 [PATCH] usb: gadget: return the right length in ffs_epfile_io()

<3>[16729.608668] ffs_epfile_io(): Error: returning -512 value
<3>[16729.882382] ffs_epfile_io(): Error: returning -512 value
<3>[16732.738660] ffs_epfile_io(): Error: returning -512 value
<3>[16732.969768] ffs_epfile_io(): Error: returning -512 value
<3>[16737.264389] ffs_epfile_io(): Error: returning -512 value
<3>[16737.600648] ffs_epfile_io(): Error: returning -512 value
<3>[16738.981945] ffs_epfile_io(): Error: returning -512 value
<3>[16740.424212] ffs_epfile_io(): Error: returning -512 value
<3>[16740.777312] ffs_epfile_io(): Error: returning -512 value
<3>[16741.298607] ffs_epfile_io(): Error: returning -512 value
<3>[16741.582891] ffs_epfile_io(): Error: returning -512 value
<3>[16741.929018] ffs_epfile_io(): Error: returning -512 value

----------------------------

<4>[ 5.102064] IRQ32 no longer affine to CPU5
<4>[ 5.102067] IRQ33 no longer affine to CPU5
<4>[ 5.102071] IRQ34 no longer affine to CPU5
<4>[ 5.102073] IRQ35 no longer affine to CPU5
<4>[ 5.102076] IRQ36 no longer affine to CPU5
<4>[ 5.102079] IRQ37 no longer affine to CPU5
<4>[ 5.102082] IRQ38 no longer affine to CPU5
<4>[ 5.102084] IRQ39 no longer affine to CPU5
<4>[ 5.102087] IRQ41 no longer affine to CPU5
<4>[ 5.102090] IRQ42 no longer affine to CPU5

http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/303395.html

[upstream, RFC] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-September/368189.html

----------------------------

The following could point at issues in image processing (Camera)

https://android.googlesource.com/kernel/msm/+/ce7b14b30bded11fc66b80f926d5bb8be626715d^!/ (mm-camera: Implement scratch buffer support)

<3>[ 171.146938] msm_isp_get_buf: No Buffer session_id: 1 stream_id: 2
<3>[ 171.180304] msm_isp_get_buf: No Buffer session_id: 1 stream_id: 2

----------------------------

The following hints at some issues with Bluetooth headphones. Call or sound output related issues could happen (?)

Anyone had issues with stability at the end of calling ? ( https://talk.sonymobile.com/t5/Kernel/Phone-reboots-as-soon-as-call-ends/td-p/1022774 )

what phone model is this ?

<3>[ 6.683139] msm-pcm-routing qcom,msm-pcm-routing.41: ASoC: Failed to add route VOICE2_STUB_DL -> Voice2 Stub -> INTERNAL_BT_SCO_RX_Voice Mixer
<3>[ 6.840240] msm-dai-q6-dev qcom,msm-dai-q6-sb-2-rx.191: ASoC: Failed to add route SLIMBUS_2_RX -> direct -> Slimbus2 Playback
<3>[ 6.840269] msm-dai-q6-dev qcom,msm-dai-q6-sb-2-tx.192: ASoC: Failed to add route Slimbus2 Capture -> direct -> SLIMBUS_2_TX

Luckily we don't have

Unbalanced enable for IRQ

----------------------------

The following could lead to some sluggishness and/or instability:

CMA (memory fragmentation ?, exhaustion ?) issues, could in some part be related to zram & zsmalloc

( https://lkml.org/lkml/2014/11/3/559 )

<4>[ 7.398189] alloc_contig_range test_pages_isolated(c7818, c781d) failed
<4>[ 7.398626] alloc_contig_range test_pages_isolated(c7820, c7825) failed
<4>[ 7.399363] alloc_contig_range test_pages_isolated(c7828, c782d) failed

----------------------------

<4>[ 74.405171] HTB: quantum of class 10001 is big. Consider r2q change.
<4>[ 74.417974] HTB: quantum of class 10010 is big. Consider r2q change.

http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm

----------------------------

texfat: fail_safe is enabled

https://en.wikipedia.org/wiki/Transaction-Safe_FAT_File_System

<6>[ 5.829983] zram0: detected capacity change from 0 to 536870912

uh - nice ?!

----------------------------

Lol :(

<4>[16728.136727] _cpu_up: attempt to bring up CPU 5 failed
<4>[16728.136922] _cpu_up: attempt to bring up CPU 7 failed
<3>[16729.674537] PM: Some devices failed to suspend
<4>[16743.410363] _cpu_up: attempt to bring up CPU 4 failed
<4>[16743.410617] _cpu_up: attempt to bring up CPU 5 failed
<4>[16743.410868] _cpu_up: attempt to bring up CPU 6 failed

----------------------------

<4>[ 13.266151] ------------[ cut here ]------------
<4>[ 13.266167] WARNING: at /home/hudsonslave/root/workspace/offbuild_kitakami2-2.0.2_android_matrix/HUDSON_PRODUCT/sumire/HUDSON_VARIANT/user/label/CM_OFFBLD/kernel/include/linux/of.h:555 somc_chg_set_step_charge_params+0x108/0x11c()
<6>[ 13.266173] Modules linked in: texfat(PO) wlan(O) mhl_sii8620_8061_drv(O) ecryptfs(O) kscl(O) qdrbg_module(O) qcrypto_module(O)
<6>[ 13.266195] CPU: 0 PID: 275 Comm: kworker/0:2 Tainted: P W O 3.10.49-perf-g75e6207 #1
<6>[ 13.266205] Workqueue: events power_supply_changed_work
<6>[ 13.266209] Call trace:
<6>[ 13.266217] [<ffffffc0002069f8>] dump_backtrace+0x0/0x270
<6>[ 13.266222] [<ffffffc000206c78>] show_stack+0x10/0x1c
<6>[ 13.266230] [<ffffffc000cb2468>] dump_stack+0x1c/0x28
<6>[ 13.266238] [<ffffffc00021cc78>] warn_slowpath_common+0x74/0x9c
<6>[ 13.266243] [<ffffffc00021ce9c>] warn_slowpath_null+0x14/0x20
<6>[ 13.266249] [<ffffffc0008c8b4c>] somc_chg_set_step_charge_params+0x104/0x11c
<6>[ 13.266256] [<ffffffc0008cf994>] smbchg_external_power_changed+0x204/0x49c
<6>[ 13.266261] [<ffffffc0008b4480>] __power_supply_changed_work+0x3c/0x50
<6>[ 13.266270] [<ffffffc0005fac68>] class_for_each_device+0x80/0xa8
<6>[ 13.266275] [<ffffffc0008b4178>] power_supply_changed_work+0x84/0xdc
<6>[ 13.266282] [<ffffffc00023843c>] process_one_work+0x260/0x3c4
<6>[ 13.266287] [<ffffffc000239458>] worker_thread+0x1f8/0x348
<6>[ 13.266295] [<ffffffc00023e95c>] kthread+0xac/0xb8
<4>[ 13.266299] ---[ end trace 8fab15b750bb072b ]---

if it's similar to https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.19 ( bq2415x_charger: Fix Atomic Sleep Bug ) it's an Atomic Sleep Bug in the

charger handling (qpnp-smbcharger_extension* , qpnp-smbcharger ) ;

kernel/include/linux/of.h is responsible for "Definitions for talking to the Open Firmware PROM"

----------------------------