public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Mina Chou via ltp <ltp@lists.linux.it>
To: Petr Vorel <pvorel@suse.cz>
Cc: tim609@andestech.com, cynthia@andestech.com, az70021@gmail.com,
	ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] hugemmap15: Support RISC-V to do __cache_flush.
Date: Thu, 9 May 2024 16:34:38 +0800	[thread overview]
Message-ID: <ZjyKnmdVd1Nj7_kR@swlinux02> (raw)
In-Reply-To: <20240509080649.GB234264@pevik>

On Thu, May 09, 2024 at 10:06:49AM +0200, Petr Vorel wrote:
> [EXTERNAL MAIL]
> 
> Hi Hui,
> 
> > AndesCore CPU test fails due to an illegal instruction at the first
> > jumpfunc(), caused by executing incorrect instructions after
> > self-modifying code.
> 
> > On RISC-V CPUs, a FENCE.i synchronizes instruction and data streams,
> > ensuring that subsequent instruction fetch on a RISC-V hart will see
> > any previous data stores already visible to the same RISC-V hart.
> 
> > Thus, cacheflush() in the test should also use __clear_cache for RISC-V.
> > In SMP systems, it invokes the kernel syscall riscv_flush_icache to inform
> > each hart to flush their local i-caches.
> 
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
> 
> BTW what "#79" in the git message subject means?
> 
> Kind regards,
> Petr
Hi Petr,

Sorry, that was my mistake. I'll remove it and send another one.

Thanks,
Mina

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

      reply	other threads:[~2024-05-09  8:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-09  5:25 [LTP] [PATCH] hugemmap15: Support RISC-V to do __cache_flush. (#79) Hui Min Mina Chou via ltp
2024-05-09  8:06 ` Petr Vorel
2024-05-09  8:34   ` Mina Chou via ltp [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=ZjyKnmdVd1Nj7_kR@swlinux02 \
    --to=ltp@lists.linux.it \
    --cc=az70021@gmail.com \
    --cc=cynthia@andestech.com \
    --cc=minachou@andestech.com \
    --cc=pvorel@suse.cz \
    --cc=tim609@andestech.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox