LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] soc: fsl: guts: cleanups and serial_number support
@ 2022-02-09 16:32 Michael Walle
  2022-02-09 16:32 ` [PATCH v2 1/7] soc: fsl: guts: machine variable might be unset Michael Walle
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Michael Walle @ 2022-02-09 16:32 UTC (permalink / raw)
  To: linuxppc-dev, linux-arm-kernel, linux-kernel
  Cc: Ulf Hansson, Arnd Bergmann, Li Yang, Michael Walle, Sudeep Holla,
	Dan Carpenter

This series converts the guts driver from a platform driver to just an
core_initcall. The driver itself cannot (or rather should never) be
unloaded because others depends on detecting the current SoC revision
to apply chip errata. Other SoC drivers do it the same way. Overall I
got rid of all the global static variables.

The last patch finally adds unique id support to the guts driver. But
because the binding [1] for the security fuse processor is still pending,
it is marked as RFC.

[1] https://lore.kernel.org/linux-devicetree/20220127163728.3650648-2-michael@walle.cc/

changes since v1:
 - call kfree() in error case, thanks Dan
 - add missing of_node_put(np), thanks Dan

Michael Walle (7):
  soc: fsl: guts: machine variable might be unset
  soc: fsl: guts: remove module_exit() and fsl_guts_remove()
  soc: fsl: guts: embed fsl_guts_get_svr() in probe()
  soc: fsl: guts: allocate soc_dev_attr on the heap
  soc: fsl: guts: use of_root instead of own reference
  soc: fsl: guts: drop platform driver
  soc: fsl: guts: add serial_number support

 drivers/soc/fsl/guts.c | 219 ++++++++++++++++++++++-------------------
 1 file changed, 118 insertions(+), 101 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2022-02-21 10:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-09 16:32 [PATCH v2 0/7] soc: fsl: guts: cleanups and serial_number support Michael Walle
2022-02-09 16:32 ` [PATCH v2 1/7] soc: fsl: guts: machine variable might be unset Michael Walle
2022-02-09 16:32 ` [PATCH v2 2/7] soc: fsl: guts: remove module_exit() and fsl_guts_remove() Michael Walle
2022-02-09 16:32 ` [PATCH v2 3/7] soc: fsl: guts: embed fsl_guts_get_svr() in probe() Michael Walle
2022-02-09 16:32 ` [PATCH v2 4/7] soc: fsl: guts: allocate soc_dev_attr on the heap Michael Walle
2022-02-09 16:32 ` [PATCH v2 5/7] soc: fsl: guts: use of_root instead of own reference Michael Walle
2022-02-09 16:32 ` [PATCH v2 6/7] soc: fsl: guts: drop platform driver Michael Walle
2022-02-09 16:32 ` [PATCH v2 7/7] soc: fsl: guts: add serial_number support Michael Walle
2022-02-10 16:20 ` [PATCH v2 0/7] soc: fsl: guts: cleanups and " Arnd Bergmann
2022-02-21 10:41 ` Michael Walle

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