mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* arm psci_probe() bug
@ 2023-08-03  8:04 Alexander Shiyan
  2023-08-03  8:30 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Shiyan @ 2023-08-03  8:04 UTC (permalink / raw)
  To: Barebox List, Ahmad Fatoum, Sascha Hauer

Hello.

I found a bug in psci processing.
Currently the kernel writes the following on boot:
psci: probing for conduit method from DT.
psci: invalid "method" property:
...

In the psci_probe() function we do the following:
ret = of_property_read_string(dev->of_node, "method", &method);
and use this (method) variable as an argument for of_psci_fixup().
I suspect we are free this variable at of_property_write_string ->
of_set_property > of_delete_property.

Can you confirm my thought and correct it in the right direction?

Thanks!



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-03  8:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-03  8:04 arm psci_probe() bug Alexander Shiyan
2023-08-03  8:30 ` Sascha Hauer
2023-08-03  8:54   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox