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] [day] [month] [year] [list]
Message-ID: <20180531094101.GB2727@piout.net>
Date:   Thu, 31 May 2018 11:41:01 +0200
From:   Alexandre Belloni <alexandre.belloni@...tlin.com>
To:     Baolin Wang <baolin.wang@...aro.org>
Cc:     a.zummo@...ertech.it, broonie@...nel.org,
        linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: sprd: Add new RTC power down check method

On 31/05/2018 17:18:08+0800, Baolin Wang wrote:
> We should use the new method to check if RTC was powered down, which
> is more solid. Since we have introduced power control and power status
> registers, and we just check if the power status is the default value
> (0x96), if yes that means the RTC has been powered down. Meanwhile We
> can set the power control register to be one valid value to change
> the power status to indicate RTC device is valid now.
> 
> Signed-off-by: Baolin Wang <baolin.wang@...aro.org>
> ---
>  drivers/rtc/rtc-sc27xx.c |   47 +++++++++++++++++++++++-----------------------
>  1 file changed, 24 insertions(+), 23 deletions(-)
> 
Applied, thanks.

-- 
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ