cat /sys/kernel/debug/pmc_atom/sleep_state S0IR Residency: 0us S0I1 Residency: 0us S0I2 Residency: 0us S0I3 Residency: 0us S0 Residency: 31470280640us
I assume this is the same platform as 199309, and normally we do not track android bug here. Please use upstream kernel and check this can be reproduced.
Android x86 project,running on Linux mainline kernel,custom kernel remix os、Phoenix os、Android x86
(In reply to Chen Yu from comment #1) > I assume this is the same platform as 199309, and normally we do not track > android bug here. Please use upstream kernel and check this can be > reproduced. do you know Android x86 open source project,running on Linux mainline、stable、longterm kernel
(In reply to Chen Yu from comment #1) > I assume this is the same platform as 199309, and normally we do not track > android bug here. Please use upstream kernel and check this can be > reproduced. same problem,https://bugzilla.kernel.org/show_bug.cgi?id=196861 https://bugzilla.kernel.org/show_bug.cgi?id=196915
(In reply to Chen Yu from comment #1) > I assume this is the same platform as 199309, and normally we do not track > android bug here. Please use upstream kernel and check this can be > reproduced. ok,you don't approve of it is vanilla kernel,closed this bug,will not fix.
Hi, I've been working on fixing S0ix support for most Bay and Cherry Trail devices recently. I've a Windows only (non dual boot) version of the ONDA V891w myself (BIOS version ONDA.W89EBBN08) and with my v4.18-footrail branch, which contains a number of SOix related fixes S0ix works fine on this device for me: https://github.com/jwrdegoede/linux-sunxi/tree/v4.18-footrail The following patches on top of 4.18.x are relevant for this: 1) A fix for the i2c controller connected to the PMIC no longer working after suspend/resume: https://github.com/jwrdegoede/linux-sunxi/commit/49ae76ac49f104fd06a96b7e41c5c02991a33684 2) A set of fixes to make sure the PMC clocks are disabled during boot https://github.com/jwrdegoede/linux-sunxi/commit/21727f53891a3b7162474680a3ad7725a1b19308 https://github.com/jwrdegoede/linux-sunxi/commit/1c0f485edb8bdc0def5ba4aebe394bf11e207d16 https://github.com/jwrdegoede/linux-sunxi/commit/a2290d4ab214753162f3d89d4e72921ca22f46ad It would be good if you can test 4.18 with these patches added and report if this fixes things for you. Regards, Hans
(In reply to Hans de Goede from comment #6) > Hi, > > I've been working on fixing S0ix support for most Bay and Cherry Trail > devices recently. I've a Windows only (non dual boot) version of the ONDA > V891w myself (BIOS version ONDA.W89EBBN08) and with my v4.18-footrail > branch, which contains a number of SOix related fixes S0ix works fine on > this device for me: > > https://github.com/jwrdegoede/linux-sunxi/tree/v4.18-footrail > > The following patches on top of 4.18.x are relevant for this: > > 1) A fix for the i2c controller connected to the PMIC > no longer working after suspend/resume: > > https://github.com/jwrdegoede/linux-sunxi/commit/ > 49ae76ac49f104fd06a96b7e41c5c02991a33684 > > 2) A set of fixes to make sure the PMC clocks are disabled during boot > > https://github.com/jwrdegoede/linux-sunxi/commit/ > 21727f53891a3b7162474680a3ad7725a1b19308 > https://github.com/jwrdegoede/linux-sunxi/commit/ > 1c0f485edb8bdc0def5ba4aebe394bf11e207d16 > https://github.com/jwrdegoede/linux-sunxi/commit/ > a2290d4ab214753162f3d89d4e72921ca22f46ad > > It would be good if you can test 4.18 with these patches added and report if > this fixes things for you. > > Regards, > > Hans I know you have Insyde bios Dual os z3735f tablet,insyde setup utility,default os selection,Windows or Android. please you select Android,save&exit,then boot grub,boot your linux os,test suspend s0i3, select windows boot your linux os test suspend s0i3.
Created attachment 278381 [details] 0001-Revert-PM-QoS-Fix-device-resume-latency-framework.patch git am it on 4.15.18 or 4.16.18 kernel
Created attachment 278383 [details] 0002-Revert-cpuidle-ladder-Add-per-CPU-PM-QoS-resume-late.patch git am it on 4.15.18 or 4.16.18
Created attachment 278385 [details] 0003-change-dev_pm_qos_read_value-0.patch git am it on 4.9.125 or 4.14.68 or 4.15.18 or 4.16.18
Created attachment 278387 [details] (4.18)0000-Revert-PM-QoS-Fix-device-resume-latency-framework.patch 4.18 kernel Revert "ACPI / LPSS: Avoid PM quirks on suspend and resume from hibernation" Revert "PM / QoS: Fix device resume latency framework" change dev_pm_qos_read_value = 0 also can reach s0i3.
(In reply to Chen Yu from comment #1) > I assume this is the same platform as 199309, and normally we do not track > android bug here. Please use upstream kernel and check this can be > reproduced. https://github.com/youling257/android-4.9/commits/4.15-rc1 https://github.com/youling257/android-4.9/commits/4.16-rc7 https://github.com/youling257/android-4.9/commits/4.17-rc1 https://github.com/youling257/android-4.9/commits/4.18-rc1 https://github.com/youling257/android-4.9/commits/4.19-rc1 https://github.com/youling257/android-4.9/commits/experimental/android-mainline-4.15-tracking https://github.com/youling257/android-4.9/commits/experimental/android-mainline-4.16-tracking https://github.com/youling257/android-4.9/commits/experimental/android-mainline-4.17-tracking https://github.com/youling257/android-4.9/commits/experimental/android-mainline-4.18-tracking https://github.com/youling257/android-4.9/commits/experimental/android-mainline-4.19-tracking https://android.googlesource.com/kernel/common/+/experimental-android-4.15 https://android.googlesource.com/kernel/common/+/experimental-android-4.16 https://android.googlesource.com/kernel/common/+/experimental-android-4.17 https://android.googlesource.com/kernel/common/+/experimental-android-4.18 https://android.googlesource.com/kernel/common/+/android-mainline-tracking
(In reply to Hans de Goede from comment #6) > Hi, > > I've been working on fixing S0ix support for most Bay and Cherry Trail > devices recently. I've a Windows only (non dual boot) version of the ONDA > V891w myself (BIOS version ONDA.W89EBBN08) and with my v4.18-footrail > branch, which contains a number of SOix related fixes S0ix works fine on > this device for me: > > https://github.com/jwrdegoede/linux-sunxi/tree/v4.18-footrail > > The following patches on top of 4.18.x are relevant for this: > > 1) A fix for the i2c controller connected to the PMIC > no longer working after suspend/resume: > > https://github.com/jwrdegoede/linux-sunxi/commit/ > 49ae76ac49f104fd06a96b7e41c5c02991a33684 > > 2) A set of fixes to make sure the PMC clocks are disabled during boot > > https://github.com/jwrdegoede/linux-sunxi/commit/ > 21727f53891a3b7162474680a3ad7725a1b19308 > https://github.com/jwrdegoede/linux-sunxi/commit/ > 1c0f485edb8bdc0def5ba4aebe394bf11e207d16 > https://github.com/jwrdegoede/linux-sunxi/commit/ > a2290d4ab214753162f3d89d4e72921ca22f46ad > > It would be good if you can test 4.18 with these patches added and report if > this fixes things for you. > > Regards, > > Hans s0i3 not improve my v891w battery life, Intel Atom suspend: add debug check for S0ix blockers [ 2581.288881] pmc_atom: pmc_atom: cpu 3: SEC is in D0 prior to freeze [ 2581.288890] pmc_atom: pmc_atom: cpu 2: SEC is in D0 prior to freeze [ 2581.288902] pmc_atom: pmc_atom: cpu 0: SEC is in D0 prior to freeze [ 2581.288908] pmc_atom: pmc_atom: cpu 3: OTG_SS_PHY is in D0 prior to freeze [ 2581.288914] pmc_atom: pmc_atom: cpu 2: OTG_SS_PHY is in D0 prior to freeze [ 2581.288919] pmc_atom: pmc_atom: cpu 0: OTG_SS_PHY is in D0 prior to freeze [ 2581.288940] pmc_atom: pmc_atom: cpu 1: SEC is in D0 prior to freeze [ 2581.288949] pmc_atom: pmc_atom: cpu 1: OTG_SS_PHY is in D0 prior to freeze