All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xie Xun <xiexun162534@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: Xie Xun <xiexun162534@gmail.com>,
	Bob Eshleman <bobbyeshleman@gmail.com>,
	Alistair Francis <alistair.francis@wdc.com>,
	Connor Davis <connojdavis@gmail.com>
Subject: [RFC PATCH 6/6] xen/riscv: Print "xen start" in start_xen using early_printk.
Date: Tue, 31 May 2022 14:57:12 +0800	[thread overview]
Message-ID: <d73f0646ed183750842cdb49b46abbafab2232c1.1653977696.git.xiexun162534@gmail.com> (raw)
In-Reply-To: <cover.1653977696.git.xiexun162534@gmail.com>

Signed-off-by: Xie Xun <xiexun162534@gmail.com>
---
 xen/arch/riscv/setup.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xen/arch/riscv/setup.c b/xen/arch/riscv/setup.c
index 79beb25ff3..ae25e4d516 100644
--- a/xen/arch/riscv/setup.c
+++ b/xen/arch/riscv/setup.c
@@ -22,6 +22,7 @@
 
 #include <xen/lib.h>
 #include <xen/init.h>
+#include <asm/early_printk.h>
 #include <asm/atomic.h>
 #include <public/version.h>
 
@@ -54,6 +55,7 @@ void arch_get_xen_caps(xen_capabilities_info_t *info)
  */
 void __init start_xen(paddr_t fdt_paddr, paddr_t boot_phys_offset)
 {
+    early_printk("xen start\n");
 }
 /*
  * Local variables:
-- 
2.30.2



      parent reply	other threads:[~2022-05-31  7:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-31  6:57 [RFC PATCH 0/6] xen/riscv: Add necessary files for RISC-V Xen build Xie Xun
2022-05-31  6:57 ` [RFC PATCH 1/6] xen/riscv: Add necessary headers and definitions to build xen Xie Xun
2022-05-31  8:17   ` Jan Beulich
2022-05-31  8:24   ` Julien Grall
2022-05-31  6:57 ` [RFC PATCH 2/6] xen/riscv: Add early page table setup code Xie Xun
2022-05-31  6:57 ` [RFC PATCH 3/6] xen/riscv: Add head.S Xie Xun
2022-05-31  6:57 ` [RFC PATCH 4/6] xen/riscv: Add sbi.c, sbi.h Xie Xun
2022-05-31  7:54   ` Jan Beulich
2022-05-31  8:59     ` Xie Xun
2022-05-31  9:07       ` Jan Beulich
2022-05-31  6:57 ` [RFC PATCH 5/6] xen/riscv: Add early_printk Xie Xun
2022-06-01  3:59   ` Alistair Francis
2022-06-01  6:37     ` Jan Beulich
2022-05-31  6:57 ` Xie Xun [this message]

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=d73f0646ed183750842cdb49b46abbafab2232c1.1653977696.git.xiexun162534@gmail.com \
    --to=xiexun162534@gmail.com \
    --cc=alistair.francis@wdc.com \
    --cc=bobbyeshleman@gmail.com \
    --cc=connojdavis@gmail.com \
    --cc=xen-devel@lists.xenproject.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.