lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANdKZ0f=StCCe9T96ZbGcoTAF2io1xx68=nEzVpudJCr8of-KA@mail.gmail.com>
Date:   Mon, 11 Jan 2021 15:49:16 +0800
From:   Pi-Hsun Shih <pihsun@...omium.org>
To:     unlisted-recipients:; (no To-header on input)
Cc:     Nicolas Boichat <drinkcat@...omium.org>,
        Benson Leung <bleung@...omium.org>,
        Enric Balletbo i Serra <enric.balletbo@...labora.com>,
        Guenter Roeck <groeck@...omium.org>,
        open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 2/2] platform/chrome: cros_ec_sysfs: Add cold-ap-off to
 sysfs reboot.

gentle ping on these two patches for EC_REBOOT_COLD_AP_OFF.


On Mon, Dec 21, 2020 at 12:12 PM Pi-Hsun Shih <pihsun@...omium.org> wrote:
>
> Add cold-ap-off to ChromeOS EC sysfs reboot file option, corresponds to
> the EC_REBOOT_COLD_AP_OFF flag, that will reset EC and keep AP off.
>
> Signed-off-by: Pi-Hsun Shih <pihsun@...omium.org>
> ---
>  drivers/platform/chrome/cros_ec_sysfs.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/platform/chrome/cros_ec_sysfs.c b/drivers/platform/chrome/cros_ec_sysfs.c
> index f521a5c65091..8210fb10e839 100644
> --- a/drivers/platform/chrome/cros_ec_sysfs.c
> +++ b/drivers/platform/chrome/cros_ec_sysfs.c
> @@ -28,7 +28,7 @@ static ssize_t reboot_show(struct device *dev,
>         int count = 0;
>
>         count += scnprintf(buf + count, PAGE_SIZE - count,
> -                          "ro|rw|cancel|cold|disable-jump|hibernate");
> +                          "ro|rw|cancel|cold|disable-jump|hibernate|cold-ap-off");
>         count += scnprintf(buf + count, PAGE_SIZE - count,
>                            " [at-shutdown]\n");
>         return count;
> @@ -46,6 +46,7 @@ static ssize_t reboot_store(struct device *dev,
>                 {"cancel",       EC_REBOOT_CANCEL, 0},
>                 {"ro",           EC_REBOOT_JUMP_RO, 0},
>                 {"rw",           EC_REBOOT_JUMP_RW, 0},
> +               {"cold-ap-off",  EC_REBOOT_COLD_AP_OFF, 0},
>                 {"cold",         EC_REBOOT_COLD, 0},
>                 {"disable-jump", EC_REBOOT_DISABLE_JUMP, 0},
>                 {"hibernate",    EC_REBOOT_HIBERNATE, 0},
> --
> 2.29.2.684.gfbc64c5ab5-goog
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ