Age | Commit message (Collapse) | Author |
|
Signed-off-by: Petri Gynther <pgynther@google.com>
Change-Id: If612c5e8dcc16fe8364a39874c91342aaf5f45ca
|
|
- in_panic: in_reboot can't handle all of panic cases.
Like to trigger a NULL pointer dereference, it will
go 'efi_reboot(reboot_mode, NULL)' instead of
'do_kernel_restart(cmd)'.
- in_warm: a hook for user to request warm reset for
any other cold reboot cases, like adb reboot xxx.
Bug: 196236629
Bug: 196237493
Signed-off-by: Jone Chou <jonechou@google.com>
Change-Id: I453e57dd68f96aeb0594689de008412660762c38
|
|
- in_panic: in_reboot can't handle all of panic cases.
Like to trigger a NULL pointer dereference, it will
go 'efi_reboot(reboot_mode, NULL)' instead of
'do_kernel_restart(cmd)'.
Bug: 196236629
Signed-off-by: Jone Chou <jonechou@google.com>
Change-Id: I453e57dd68f96aeb0594689de008412660762c38
|
|
SBMerger: 379283923
Change-Id: I12a0fc68f182ec9f185b83fed6d7542fe8de04f3
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
If panic or emergency_restart
use warm reboot by swreset
else
use cold reboot by PS_HOLD
note: panic is also one of emergency_restart cases
Bug: 196236629
Signed-off-by: Jone Chou <jonechou@google.com>
Change-Id: I0b7cb5dac31e081d7f784d4da2af59c876612cfe
|
|
If panic or emergency_restart
use warm reboot by swreset
else
use cold reboot by PS_HOLD
note: panic is also one of emergency_restart cases
Bug: 196236629
Signed-off-by: Jone Chou <jonechou@google.com>
Change-Id: I0b7cb5dac31e081d7f784d4da2af59c876612cfe
|
|
as part of pmu_alive protection, we added some backward compatibility
code for situations where an older version of el3 firmware was in use,
which didn't support the priv_reg smc. we are well past that stage now
and devices should have updated el3 firmware. so let's remove the
backward compat which is dead code now.
Bug: 169128860
Signed-off-by: Okash Khawaja <okash@google.com>
Change-Id: I520746f86a98d74a5b3dab3281704b4811fb8768
|
|
Bug: 186619336
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: I78488b420fe3307211c2b89b4695976e85051d80
|
|
Changes:
* coding style fixes
* use dev_ functions in probe instead of current mix of dev_/pr_
* correctly handle errors on registering notifiers
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: I811654fae43ca8a911a53133753a66e534f9a75d
|
|
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: Iae43052229c92e47c6021ddf650c7cea8298477f
|
|
Bug: 181261704
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: Iada99f780169f9145c56be88decdc9c57c25f5d3
|
|
"Unknown reboot command:" messages could be misleading during debugg
Bug: 184597183
Signed-off-by: Jone Chou <jonechou@google.com>
Change-Id: I5173b587cad820b18cdd79d6ba383838cdbd027d
|
|
* partner/android-gs-pixel-mainline:
power: reset: fix directly write to pmu_alive
Signed-off-by: J. Avila <elavila@google.com>
Bug: 180202410
Change-Id: I377bbbdae668a9d61a7e82b3a8e7d4dc35307141
|
|
we shouldn't directly write to pmu_alive regs. commit <ec3b7dd30ad9>
("power: reset: exynos-reboot: support PS_HOLD cold reboot") added a
regmap_update_bits() which directly accesses pmu_alive.
this commit fixes that.
Bug: 180202410
Signed-off-by: Okash Khawaja <okash@google.com>
Change-Id: I8ae05753861cb31eb2f5d48a9ee5d820b31bc6f1
|
|
Signed-off-by: Petri Gynther <pgynther@google.com>
Change-Id: I6c9bdf9e7ad3a2120204bf70ec4e81fb02c7f596
|
|
determine rsbm_supported early to avoid bms i2c access
in restart flow.
warning message as below:
- [ 67.646691][ T1] No atomic I2C transfer handler for 'i2c-5'
Bug: 178541305
Bug: 178609337
Bug: 178741285
Signed-off-by: Jone Chou <jonechou@google.com>
Change-Id: I42e116130460e8db2c91a3dbc8a5f06ced369310
|
|
partner/android-gs-pixel-5.10-stabilization
* partner/android-gs-pixel-mainline:
power: reset: exynos-reboot: support PS_HOLD cold reboot
power: reset: exynos-reboot: persist reboot mode
Signed-off-by: J. Avila <elavila@google.com>
Change-Id: Iae9d725766d22ad58b84a0f792d291de14362e7a
|
|
IF in_panic or S2MPG10 EVT0(PMIC) or MAX77729f(IF-PMIC)
use warm reboot by swreset
else
use cold reboot by PS_HOLD
Bug: 166671802
Signed-off-by: Jone Chou <jonechou@google.com>
Change-Id: Ia003399426792221bcda52f98005d90b12ac448c
|
|
IF S2MPG10 EVT0(PMIC) or MAX77729f(IF-PMIC)
store reboot mode in dss section(dram)
else
store reboot mode in dss section(dram) for seamless upgrade
store reboot mode to GBMS_TAG_RSBM(bms_storage)
Bug: 166671802
Signed-off-by: Jone Chou <jonechou@google.com>
Change-Id: I92c7e8519b8f85885d26116605f922fca35b313b
|
|
Add module sources and build description here and refer from
internal module in gs-google/.
Bug: 173763747
Signed-off-by: Jone Chou <jonechou@google.com>
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I113f301f6128eef54cc7dbe267c5df37f5cd6eab
|
|
|