Skip to content

Add smc qtest testcase to support AST2700

Jamin Lin via qemu-arm qemu-devel 1 version Applied

Status from this message: Applied to aspeed-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest7 of 10 patches 2 repliesApplied

Changes in v3 from the cover letter

1. Introduce a new aspeed-smc-utils.c to place common testcases.
2. Fix hardcode attach flash model of spi controllers
3. Add reviewers suggestion and fix review issue.

7 of 10 patches are in this archive. The cover letter announces 10.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/10test/qtest/aspeed_smc-test: Move testcases to test_palmetto_bmc functiontests/qtest/aspeed_smc-test.c+12 -40 replies
2/10test/qtest/aspeed_smc-test: Introduce a new TestData to test different BMC SOCstests/qtest/aspeed_smc-test.c+299 -2470 replies
3/10test/qtest/aspeed_smc-test: Support to test all CE pinstests/qtest/aspeed_smc-test.c+40 -370 replies
5/10test/qtest/aspeed_smc-test: Support to test AST2500tests/qtest/aspeed_smc-test.c+40 -00 replies
7/10test/qtest/aspeed_smc-test: Support to test AST1030tests/qtest/aspeed_smc-test.c+42 -00 replies
8/10test/qtest/aspeed_smc-test: Support write page command with QPI modetests/qtest/aspeed_smc-test.c+74 -00 replies
10/10test/qtest/ast2700-smc-test: Support to test AST2700tests/qtest/ast2700-smc-test.c tests/qtest/meson.build+74 -11 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchCédric Le Goater
SeriesR-b R-b R-b
1/10R-b
2/10R-b
3/10R-b
5/10R-b
7/10R-b
8/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/10] Add smc qtest testcase to support AST2700

change from v1:
1. Fix write incorrect data into flash in user mode.
2. Refactor aspeed smc qtest testcases to support AST2600, AST2500 and
AST1030.
3. Add ast2700 smc qtest testcase to support AST2700.

change from v2:
1. Introduce a new aspeed-smc-utils.c to place common testcases.
2. Fix hardcode attach flash model of spi controllers
3. Add reviewers suggestion and fix review issue.

change from v3:
1. replace the TestData type name with AspeedSMCTestData
2. add an 'aspeed_smc' prefix in the name of aspeed smc test routine functions

Jamin Lin (10):
test/qtest/aspeed_smc-test: Move testcases to test_palmetto_bmc
function
test/qtest/aspeed_smc-test: Introduce a new TestData to test different
BMC SOCs
test/qtest/aspeed_smc-test: Support to test all CE pins test/qtest/aspeed_smc-test: Introducing a "page_addr" data field test/qtest/aspeed_smc-test: Support to test AST2500 test/qtest/aspeed_smc-test: Support to test AST2600 test/qtest/aspeed_smc-test: Support to test AST1030 test/qtest/aspeed_smc-test: Support write page command with QPI mode test/qtest: Introduce a new aspeed-smc-utils.c to place common
testcases
test/qtest/ast2700-smc-test: Support to test AST2700

 tests/qtest/aspeed-smc-utils.c | 686 +++++++++++++++++++++++++++++
 tests/qtest/aspeed-smc-utils.h |  95 ++++
 tests/qtest/aspeed_smc-test.c  | 775 ++++++++-------------------------
 tests/qtest/ast2700-smc-test.c |  71 +++
 tests/qtest/meson.build        |   5 +-
 5 files changed, 1034 insertions(+), 598 deletions(-)
 create mode 100644 tests/qtest/aspeed-smc-utils.c
 create mode 100644 tests/qtest/aspeed-smc-utils.h
 create mode 100644 tests/qtest/ast2700-smc-test.c
Signature · 1 line
2.34.1