[PATCH 0/5] Microwatt updates

Segher Boessenkool segher at kernel.crashing.org
Sat Feb 1 03:13:43 AEDT 2025


Hi!

On Wed, Jan 29, 2025 at 09:49:49AM +1100, Paul Mackerras wrote:
> This patch series updates the kernel support for the Microwatt
> soft-core and its implementation on FPGA systems, particularly the
> Digilent Arty A7-100 FPGA development board.
> 
> Microwatt now supports almost all of the features of the SFFS (Scalar
> Fixed-poin and Floating-point Subset) compliancy subset of Power ISA
> version 3.1C, including prefixed instructions and the fixed-point hash
> (ROP mitigation) instructions.  It is also now SMP-capable, and a
> dual-core system will fit on the Arty A7-100 board.

Congratulations!

> Microwatt does not have broadcast TLB invalidations in SMP systems;

So it isn't *really* SMP.  Compare 603 vs. 604.  With enough software
(OS) trickery you can make some things work, but :-)  (There have been
many 603 multiprocessor systems as well, to draw the analogy further
than wanted :-) )

> the kernel already has code to deal with this.  One of the patches in
> this series provides a config option to allow platforms to select
> unconditionally the behaviour where cross-CPU TLB invalidations are
> handled using inter-processor interrupts.

Are there plans to broadcast the (SMP cache invalidation) messages?
Will uwatt support some real bus protocol, for example?

Again, congrats on this great milestone!  Does this floating point
support do square roots as well (aka "gpopt"; does it do "gfxopt" for
that matter, fsel?)  fsqrt is kinda tricky to get to work fully
correctly :-)


Segher


More information about the Linuxppc-dev mailing list