From: Paul Walmsley <paul.walmsley@sifive.com>
To: Palmer Dabbelt <palmerdabbelt@google.com>
Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] riscv: defconfigs: enable debugging options
Date: Fri, 22 Nov 2019 19:13:45 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.2.21.9999.1911221912390.490@viisi.sifive.com> (raw)
In-Reply-To: <mhng-a92b32ea-0365-407c-9569-1ebce2d3b37f@palmerdabbelt.mtv.corp.google.com>
On Fri, 22 Nov 2019, Palmer Dabbelt wrote:
> Does it make sense to turn on some CONFIG_*_SELFTEST entries as well? I know
> I've found RISC-V bugs with ATOMIC64_SELFTEST before, but they do take a while
> to run. I just turned on
>
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 420a0dbef386..90001c3746cd 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -100,4 +100,18 @@ CONFIG_9P_FS=y
> CONFIG_CRYPTO_USER_API_HASH=y
> CONFIG_CRYPTO_DEV_VIRTIO=y
> CONFIG_PRINTK_TIME=y
> +CONFIG_DEBUG_RT_MUTEXES=y
> +CONFIG_DEBUG_SPINLOCK=y
> +CONFIG_DEBUG_MUTEXES=y
> +CONFIG_DEBUG_RWSEMS=y
> +CONFIG_DEBUG_ATOMIC_SLEEP=y
> +CONFIG_DEBUG_LOCKING_API_SELFTESTS=y
> +CONFIG_LOCK_TORTURE_TEST=y
> +CONFIG_WW_MUTEX_SELFTEST=y
> +CONFIG_RCU_PERF_TEST=y
> +CONFIG_RCU_TORTURE_TEST=y
> # CONFIG_RCU_TRACE is not set
> +CONFIG_PERCPU_TEST=m
> +CONFIG_ATOMIC64_SELFTEST=y
> +CONFIG_TEST_LKM=m
> +CONFIG_TEST_USER_COPY=m
>
> as an experiment and OE looks like it's still functional, but it looks like the
> lock torture stuff keeps running and the RCU torture can't run at the same
> time.
Thanks - that's a good idea.
Will take a look to see what tests can be enabled that don't take too much
time (and don't conflict) and will put together another patch. If anyone
has any feedback or suggestions here, they would be welcome.
- Paul
prev parent reply other threads:[~2019-11-23 3:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-22 22:56 Paul Walmsley
2019-11-22 22:56 ` [PATCH 1/2] riscv: defconfigs: enable debugfs Paul Walmsley
2019-11-22 23:53 ` Palmer Dabbelt
2019-11-23 4:17 ` Anup Patel
2019-11-22 22:56 ` [PATCH 2/2] riscv: defconfigs: enable more debugging options Paul Walmsley
2019-11-22 23:53 ` Palmer Dabbelt
2019-11-23 4:25 ` Anup Patel
2019-11-23 0:34 ` [PATCH 0/2] riscv: defconfigs: enable " Palmer Dabbelt
2019-11-23 3:13 ` Paul Walmsley [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=alpine.DEB.2.21.9999.1911221912390.490@viisi.sifive.com \
--to=paul.walmsley@sifive.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmerdabbelt@google.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
all inboxes | Powered by JetHome®