All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add MIPS P8700 compatibles for ACLINT MSWI and MTIMER
@ 2025-10-27 13:12 Benoît Monin
  2025-10-27 13:12 ` [PATCH v2 1/2] lib: utils/ipi: mswi: add MIPS P8700 compatible Benoît Monin
  2025-10-27 13:12 ` [PATCH v2 2/2] lib: utils/timer: mtimer: " Benoît Monin
  0 siblings, 2 replies; 7+ messages in thread
From: Benoît Monin @ 2025-10-27 13:12 UTC (permalink / raw)
  To: opensbi
  Cc: Thomas Petazzoni, Tawfik Bayouk, Vladimir Kondratiev,
	Benoît Monin

The ACLINT found in the MIPS P8700 is compliant with the now archived
RISC-V Advanced Core Local Interruptor Specification. There is one
ACLINT controller per cluster, as part of what MIPS calls the coherence
manager.

The MSWI does not require any changes in the code, so only a compatible
string is added.

For the MTIMER, there is no dedicated mtime register to act a reference
in a multi-cluster configuration, and there is no MTIMER without
associated HARTs. A quirk is added to select the reference MTIMER based
on a device tree property.

Signed-off-by: Benoît Monin <benoit.monin@bootlin.com>
---
Changes in v2:
- Select the reference MTIMER based on a DT property, not the first one
  found.
- Link to v1: https://lore.kernel.org/r/20251009-p8700-aclint-v1-0-18322c64f968@bootlin.com

---
Benoît Monin (2):
      lib: utils/ipi: mswi: add MIPS P8700 compatible
      lib: utils/timer: mtimer: add MIPS P8700 compatible

 lib/utils/ipi/fdt_ipi_mswi.c       |  1 +
 lib/utils/timer/fdt_timer_mtimer.c | 25 +++++++++++++++++++------
 2 files changed, 20 insertions(+), 6 deletions(-)
---
base-commit: ac16c6b604961525bb096c0513c6ad4dbf5a5695
change-id: 20251008-p8700-aclint-ef8868889745

Best regards,
-- 
Benoît Monin, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


-- 
opensbi mailing list
opensbi@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi

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

end of thread, other threads:[~2025-11-06 10:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-27 13:12 [PATCH v2 0/2] Add MIPS P8700 compatibles for ACLINT MSWI and MTIMER Benoît Monin
2025-10-27 13:12 ` [PATCH v2 1/2] lib: utils/ipi: mswi: add MIPS P8700 compatible Benoît Monin
2025-11-05 16:08   ` Anup Patel
2025-10-27 13:12 ` [PATCH v2 2/2] lib: utils/timer: mtimer: " Benoît Monin
2025-11-05 16:11   ` Anup Patel
2025-11-06  9:12     ` Benoît Monin
2025-11-06 10:25       ` Anup Patel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.