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]
Date:   Tue, 11 Sep 2018 11:46:23 +0200
From:   Marek Vasut <marex@...x.de>
To:     Philipp Zabel <p.zabel@...gutronix.de>,
        Dinh Nguyen <dinguyen@...nel.org>
Cc:     linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [RFC] reset: make reset controller driver initialize early

On 09/11/2018 10:31 AM, Philipp Zabel wrote:
> Hi Dinh,

Hi all,

> On Mon, 2018-09-10 at 14:59 -0500, Dinh Nguyen wrote:
>> Hi Philipp,
>>
>> I need to make the reset controller on the SoCFPGA platform initialize
>> early.
> 
> What does early mean in this context?

Means before timer, since timer needs to be un-reset by Linux before it
can be used.

>> I have one solution which is similar to what reset-sunxi is
>> doing, making the "altr,rst-mgr" initialize early in a separate
>> reset-socfpga.c but using the reset-simple operations.
> 
> That's what I would have gone for as well.
> 
>> I'm guessing SoCFPGA may not be the only platform that needs the reset
>> driver early, would it make sense to have a solution in reset-simple
>> that is capable of an early init?
> 
> I suppose you could share sunxi_reset_init if you pass it a struct
> reset_simple_devdata as an argument.
> 
> regards
> Philipp
> 


-- 
Best regards,
Marek Vasut

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ