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: <dbdb9141-a345-4a17-becb-29e69a494e59@app.fastmail.com>
Date: Fri, 27 Sep 2024 11:56:20 +0000
From: "Arnd Bergmann" <arnd@...db.de>
To: "Saravana Kannan" <saravanak@...gle.com>, "Marek Vasut" <marex@...x.de>
Cc: linux-arm-kernel@...ts.infradead.org, kernel@...electronics.com,
 "AngeloGioacchino Del Regno" <angelogioacchino.delregno@...labora.com>,
 "Fabio Estevam" <festevam@...il.com>,
 "Jeff Johnson" <quic_jjohnson@...cinc.com>,
 "Neil Armstrong" <neil.armstrong@...aro.org>,
 "Pengutronix Kernel Team" <kernel@...gutronix.de>,
 "Sascha Hauer" <s.hauer@...gutronix.de>, "Shawn Guo" <shawnguo@...nel.org>,
 imx@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/2] soc: imx8m: Probe the SoC driver as platform driver

On Thu, Sep 26, 2024, at 23:39, Saravana Kannan wrote:
>
> Also, you might want to check that your list of probed devices doesn't
> change without any async probing or this patch vs with async probing
> and this patch. Quick way to get list of successfully probed devices
> is:
> # find /sys/devices -name driver
>
> Arnd,
>
> Why is soc_device_match() doing a bus_for_each_dev(&soc_bus_type,...)?
> Are the real use cases where more than one soc device can be
> registered with soc_device_register()?

Anything can register a soc_device, and I think there is a case
where both the actual SoC and a firmware driver each register
one, see drivers/firmware/smccc/soc_id.c and 
drivers/firmware/imx/imx-scu-soc.c.

Not sure how common this is, but this was something that people
asked for when we created the interface.

      Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ