All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leo Liang <ycliang@andestech.com>
To: Jamie Gibbons <jamie.gibbons@microchip.com>
Cc: <u-boot@lists.denx.de>, Conor Dooley <conor.dooley@microchip.com>,
	Valentina Fernandez Alanis
	<valentina.fernandezalanis@microchip.com>,
	"Tom Rini" <trini@konsulko.com>, Rick Chen <rick@andestech.com>,
	Yao Zi <ziyao@disroot.org>, Junhui Liu <junhui.liu@pigmoral.tech>
Subject: Re: [PATCH 1/2] riscv: create a custom CPU implementation for PolarFire SoC
Date: Thu, 4 Dec 2025 15:45:10 +0800	[thread overview]
Message-ID: <aTE8Bi9kmTqaUgpy@swlinux02> (raw)
In-Reply-To: <20251119123843.4171699-2-jamie.gibbons@microchip.com>

Hi Jamie,

On Wed, Nov 19, 2025 at 12:38:42PM +0000, Jamie Gibbons wrote:
> [EXTERNAL MAIL]
> 
> From: Conor Dooley <conor.dooley@microchip.com>
> 
> PolarFire SoC needs a custom implementation of top_of_ram(), so stop
> using the generic CPU & create a custom CPU instead.
> 
> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
> ---
>  arch/riscv/Kconfig                     |  1 +
>  arch/riscv/cpu/mpfs/Kconfig            | 16 +++++++++++
>  arch/riscv/cpu/mpfs/Makefile           |  6 ++++
>  arch/riscv/cpu/mpfs/cpu.c              | 22 +++++++++++++++
>  arch/riscv/cpu/mpfs/dram.c             | 38 ++++++++++++++++++++++++++
>  arch/riscv/include/asm/arch-mpfs/clk.h |  8 ++++++
>  board/microchip/mpfs_generic/Kconfig   |  4 +--
>  7 files changed, 93 insertions(+), 2 deletions(-)
>  create mode 100644 arch/riscv/cpu/mpfs/Kconfig
>  create mode 100644 arch/riscv/cpu/mpfs/Makefile
>  create mode 100644 arch/riscv/cpu/mpfs/cpu.c

The cpu.c file only contains "cleanup_before_linux" and seems identical
with the one provided in arch/riscv/cpu/generic/cpu.c.

Other than that, LGTM.

If you don't mind, I could fix this on my side that you don't need to
resend the patchset again.

Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>

  reply	other threads:[~2025-12-04  7:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-19 12:38 [PATCH 0/2] Add MPFS CPU Implementation Jamie Gibbons
2025-11-19 12:38 ` [PATCH 1/2] riscv: create a custom CPU implementation for PolarFire SoC Jamie Gibbons
2025-12-04  7:45   ` Leo Liang [this message]
2025-12-08 12:10     ` Jamie.Gibbons
2025-12-09  3:17       ` Leo Liang
2025-11-19 12:38 ` [PATCH 2/2] riscv: mpfs: move SoC level options to the CPU Kconfig Jamie Gibbons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aTE8Bi9kmTqaUgpy@swlinux02 \
    --to=ycliang@andestech.com \
    --cc=conor.dooley@microchip.com \
    --cc=jamie.gibbons@microchip.com \
    --cc=junhui.liu@pigmoral.tech \
    --cc=rick@andestech.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=valentina.fernandezalanis@microchip.com \
    --cc=ziyao@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.