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: <83e59280261ad0769dd7e9f6135656c795836878.camel@pengutronix.de>
Date: Mon, 02 Jun 2025 11:31:22 +0200
From: Philipp Zabel <p.zabel@...gutronix.de>
To: Álvaro Fernández Rojas <noltari@...il.com>, 
 dgcbueu@...il.com, florian.fainelli@...adcom.com,
 william.zhang@...adcom.com,  kursad.oney@...adcom.com,
 jonas.gorski@...il.com,  bcm-kernel-feedback-list@...adcom.com,
 broonie@...nel.org,  linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] spi: bcm63xx: fix shared reset

On Do, 2025-05-29 at 15:09 +0200, Álvaro Fernández Rojas wrote:
> Some bmips SoCs (bcm6362, bcm63268) share the same SPI reset for both SPI and
> HSSPI controllers, so reset shouldn't be exclusive.
> 
> Álvaro Fernández Rojas (2):
>   spi: bcm63xx-spi: fix shared reset

Both drivers currently enable the SPI clock before triggering a reset.
Can the hardware cope with being reset before the clock is enabled?
That could happen for the second device to be bound [1], unless the SPI
clock is shared as well or already running for another reason.

[1] https://docs.kernel.org/driver-api/reset.html#triggering

regards
Philipp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ