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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2c39f935-9fd1-fb96-d6db-c9dd92e2d833@linaro.org>
Date:   Wed, 11 Oct 2017 11:49:16 +0200
From:   Daniel Lezcano <daniel.lezcano@...aro.org>
To:     Leo Yan <leo.yan@...aro.org>,
        "Rafael J. Wysocki" <rjw@...ysocki.net>, linux-pm@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] ARM: cpuidle: Refactor rollback operations if init
 fails

On 10/10/2017 07:47, Leo Yan wrote:
> If init fails, we need execute two levels rollback operations: the first
> level is for the failed CPU rollback operations, the second level is to
> iterate all succeeded CPUs to cancel their registration; currently the
> code uses one function to finish these two levels rollback operations.
> 
> This commit is to refactor rollback operations, so it adds a new
> function arm_idle_init_cpu() to encapsulate one specified CPU driver
> registration and rollback the first level operations; and use function
> arm_idle_init() to iterate all CPUs and finish the second level's
> rollback operations.
> 
> Suggested-by: Daniel Lezcano <daniel.lezcano@...aro.org>
> Signed-off-by: Leo Yan <leo.yan@...aro.org>
> ---

Acked-by: Daniel Lezcano <daniel.lezcano@...aro.org>


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ