]> code.ossystems Code Review - openembedded-core.git/commit
runtime selftest: limit kernel hw bp arches
authorHongzhi.Song <hongzhi.song@windriver.com>
Thu, 16 Aug 2018 07:38:48 +0000 (00:38 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Aug 2018 21:40:06 +0000 (22:40 +0100)
commit176e50fb177dc40e439700d5f3f838dd7eaaa427
tree9e76271d07285c7cf690c0d9432393915aba6db8
parent5ccf8150b4c65f2feac16cc2881188f14d9e5390
runtime selftest: limit kernel hw bp arches

1. So far, only qemux86[-64] support hw breakpoint, no matter whether or
not with kvm.

qemuppc: The oe-core configuration uses a PPC G4 system as the
default cpu but qemu doesn't simulate the hw breakpoint register for G4.

qemuarm: The arch more than v7 supports hw breakpoint, however arm use
v5 as default.

qemuarm64: We temporarily drop qemuarm64 for the moment. Normally it
will print debug info once, but endlessly when we trigger the break
point. Now it is hard to located the issue, but we will confirm it
later.

qemumips*: Kernel dosen't support hw bp for mips.

2. Syslog maybe not started, so we use dmesg to confirm.

3. Running 'ls' to trigger the hardware breakpoint test.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/ksample.py