[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200213113812.GG69108@debian-boqun.qqnc3lrjykvubdpftowmye0fmh.lx.internal.cloudapp.net>
Date: Thu, 13 Feb 2020 19:38:12 +0800
From: Boqun Feng <boqun.feng@...il.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Michal Simek <michal.simek@...inx.com>,
linux-kernel@...r.kernel.org, monstr@...str.eu, git@...inx.com,
arnd@...db.de,
Stefan Asserhall load and store
<stefan.asserhall@...inx.com>, Will Deacon <will@...nel.org>,
paulmck@...nel.org, parri.andrea@...il.com
Subject: Re: [PATCH 7/7] microblaze: Do atomic operations by using exclusive
ops
(Forget to copy Andrea in the previous email)
Andrea, could you tell us more about how to use klitmus to generate test
modules from litmus test?
Regards,
Boqun
On Thu, Feb 13, 2020 at 07:34:32PM +0800, Boqun Feng wrote:
> On Thu, Feb 13, 2020 at 09:58:49AM +0100, Peter Zijlstra wrote:
> [...]
> >
> > > Also is there any testsuite I should run to verify all these atomics
> > > operations? That would really help but I haven't seen any tool (but also
> > > didn't try hard to find it out).
> >
> > Will, Paul; can't this LKMM thing generate kernel modules to run? And do
>
> The herd toolset does have something called klitmus:
>
> "an experimental tool, similar to litmus7 that runs kernel memory model
> tests as kernel modules."
>
> I think Andrea knows more about how to use it.
>
> > we have a 'nice' collection of litmus tests that cover atomic_t ?
> >
>
> There is a few in Paul's litmus repo:
>
> https://github.com/paulmckrcu/litmus/tree/master/manual/atomic
>
> Maybe a good start?
>
> Regards,
> Boqun
>
> > The one in atomic_t.txt should cover this one at least.
Powered by blists - more mailing lists