public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/4] cache: sifive_ccache: Auxiliary device support
@ 2024-04-10 23:22 Samuel Holland
  2024-04-10 23:22 ` [PATCH 1/4] cache: sifive_ccache: Silence unused variable warning Samuel Holland
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Samuel Holland @ 2024-04-10 23:22 UTC (permalink / raw)
  To: Conor Dooley, linux-riscv; +Cc: Samuel Holland, Paul Walmsley, linux-kernel

As of commit c90847bcbfb6 ("cache: sifive_ccache: Partially convert to a
platform driver"), the cache subsystem binds a platform driver to the
Composable Cache's DT node. This prevents the perf subsystem from doing
the same for the new PMU driver[1]. To allow using both drivers at the
same time without conflicts or module linkage dependencies, attach the
PMU driver to the auxiliary device bus. While at it, prepare to use the
auxiliary device bus for the EDAC driver as well, which significantly
simplifies that driver. The actual EDAC driver conversion has to wait
another development cycle to avoid dependencies between git trees.

[1]: https://lore.kernel.org/linux-riscv/20240216000837.1868917-3-samuel.holland@sifive.com/


Samuel Holland (4):
  cache: sifive_ccache: Silence unused variable warning
  cache: sifive_ccache: Use of_iomap() helper
  cache: sifive_ccache: Export base address for child drivers
  cache: sifive_ccache: Add EDAC and PMU as auxiliary devices

 drivers/cache/Kconfig              |  1 +
 drivers/cache/sifive_ccache.c      | 94 +++++++++++++++++++++---------
 include/soc/sifive/sifive_ccache.h |  8 +++
 3 files changed, 74 insertions(+), 29 deletions(-)

-- 
2.44.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

end of thread, other threads:[~2024-04-24 21:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10 23:22 [PATCH 0/4] cache: sifive_ccache: Auxiliary device support Samuel Holland
2024-04-10 23:22 ` [PATCH 1/4] cache: sifive_ccache: Silence unused variable warning Samuel Holland
2024-04-10 23:22 ` [PATCH 2/4] cache: sifive_ccache: Use of_iomap() helper Samuel Holland
2024-04-10 23:22 ` [PATCH 3/4] cache: sifive_ccache: Export base address for child drivers Samuel Holland
2024-04-10 23:22 ` [PATCH 4/4] cache: sifive_ccache: Add EDAC and PMU as auxiliary devices Samuel Holland
2024-04-12 12:51 ` [PATCH 0/4] cache: sifive_ccache: Auxiliary device support Conor Dooley
2024-04-24 20:19 ` Alexandre Ghiti
2024-04-24 21:20   ` Conor Dooley

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