Skip to content

test-case: add firmware load subtest for kmod test - #172

Merged
aiChaoSONG merged 1 commit into
thesofproject:masterfrom
aiChaoSONG:kmod_case
Apr 8, 2020
Merged

aiChaoSONG merged 1 commit into
thesofproject:masterfrom
aiChaoSONG:kmod_case

Conversation

@aiChaoSONG

@aiChaoSONG aiChaoSONG commented Apr 8, 2020 •

Copy link
Copy Markdown

As the kernel has made its log less verbose, the key
word 'firmware boot complete' we use is not in the
less verbose log now. So remove the check of this
keyword.

Instead, add verify-sof-firmware-load.sh subtest
to check if firmware is loaded successfully after
module insertion.

tested on mantis, glk, PASSED

@aiChaoSONG

Copy link
Copy Markdown
Author

check thesofproject/linux#1980 and Kai's email for more info.

@xiulipan xiulipan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point to grep with shared keyword, but need to avoid debug info.

Comment thread test-case/check-kmod-load-unload.sh Outdated
Bin-QA
Bin-QA previously approved these changes Apr 8, 2020

@Bin-QA Bin-QA left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aiChaoSONG
aiChaoSONG requested a review from kv2019i April 8, 2020 05:34
@aiChaoSONG

Copy link
Copy Markdown
Author

@xiulipan @Bin-QA We have searched failure logs, another solution is to remove the check of fw boot success status. Vote?

@Bin-QA

Bin-QA commented Apr 8, 2020

Copy link
Copy Markdown
Contributor

@aiChaoSONG I'm not sure the kmod reload logic, how about this part replace by sub-case: verify-sof-firmware-load.sh

@aiChaoSONG

Copy link
Copy Markdown
Author

@aiChaoSONG I'm not sure the kmod reload logic, how about this part replace by sub-case: verify-sof-firmware-load.sh

@Bin-QA Genius, the check I have done in the PR is also in verify-sof-firmware-load.sh, and this script also checked firmware info. this is a perfect solution.

As the kernel has made its log less verbose, the key
word 'firmware boot complete' we use is not in the
less verbose log now. So remove the check of this
keyword.

Instead, add verify-sof-firmware-load.sh subtest
to check if firmware is loaded successfully after
module insertion.

Signed-off-by: Amery Song <chao.song@intel.com>
@aiChaoSONG
aiChaoSONG requested a review from xiulipan April 8, 2020 06:36
@aiChaoSONG aiChaoSONG changed the title test-case: check firmware boot status with FW_READY IPC test-case: add firmware load subtest for kmod test Apr 8, 2020

@Bin-QA Bin-QA left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aiChaoSONG
aiChaoSONG merged commit 61b2340 into thesofproject:master Apr 8, 2020
Comment thread test-case/check-kmod-load-unload.sh
Comment thread test-case/check-kmod-load-unload.sh
Comment thread test-case/check-kmod-load-unload.sh
@aiChaoSONG
aiChaoSONG deleted the kmod_case branch April 10, 2020 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants