Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toml: modularise TOML configuration #8490

Merged
merged 1 commit into from
Dec 21, 2023
Merged

Conversation

lyakh
Copy link
Collaborator

@lyakh lyakh commented Nov 17, 2023

Split TOML configuration files into platform and module parts. Use the C preprocessor to merge them back together.

@lyakh
Copy link
Collaborator Author

lyakh commented Nov 17, 2023

works together with zephyrproject-rtos/zephyr#65411

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

Looks good and keeps module data local.
@singalsu fyi.

@@ -0,0 +1,25 @@
// # Aria module config
Copy link
Member

Choose a reason for hiding this comment

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

heh, looks like GH is letting us know toml has a comment style.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// # Aria module config
// Aria module config

Don't give the impression that two "levels" of comments are possible. The C pre-processor either leaves comments in the source or it deletes them; it's not capable (or at least not trivial) to pass comments to the generated .toml file.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ping?

Copy link
Member

Choose a reason for hiding this comment

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

this and the double brackets, looks like this is invalid

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this and the double brackets, looks like this is invalid

@cujomalainey the comment is just removed by the preprocessor. Double brackets are valid, they're used in our present sources

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ping?

@marc-hb sure, we can remove hashes there, no strong opinion here

Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't give the impression that two "levels" of comments are possible. The C pre-processor either leaves comments in the source or it deletes them; it's not capable (or at least not trivial) to pass comments to the generated .toml file.

I found a workaround:

Demo in https://github.com/marc-hb/sof/commits/toml-REM/

3, 0, 0, 0, 260, 3591000, 64, 85, 0, 0, 0,
4, 0, 0, 0, 260, 4477000, 96, 128, 0, 0, 0,
5, 0, 0, 0, 260, 7195000, 192, 192, 0, 0, 0]
index = __COUNTER__
Copy link
Member

Choose a reason for hiding this comment

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

nice :)

Comment on lines 58 to 82
[fw_desc.header]
name = "ADSPFW"
load_offset = "0x30000"

[[module.entry]]
name = "BRNGUP"
uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4"
affinity_mask = "0x1"
instance_count = "1"
domain_types = "0"
load_type = "0"
module_type = "0"
auto_start = "0"
index = __COUNTER__

[[module.entry]]
name = "BASEFW"
uuid = "383B9BE2-3518-4DB0-8891-B1470A8914F8"
affinity_mask = "3"
instance_count = "1"
domain_types = "0"
load_type = "0"
module_type = "0"
auto_start = "0"
index = __COUNTER__
Copy link
Member

Choose a reason for hiding this comment

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

basefw should probably be a generic separate file ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, I think so too. Any suggestion where to put it?

Comment on lines 3 to 52
[adsp]
name = "tgl"
image_size = IMAGE_SIZE
alias_mask = "0xE0000000"

[[adsp.mem_zone]]
type = "ROM"
base = "0x9F180000"
size = "0x00002000"
[[adsp.mem_zone]]
type = "IMR"
base = "0xB0000000"
size = "0x1000000"
[[adsp.mem_zone]]
type = "HP-SRAM"
base = "0xBE000000"
size = "0x800000"
[[adsp.mem_zone]]
type = "LP-SRAM"
base = "0xBE800000"
size = "0x40"

[[adsp.mem_alias]]
type = "uncached"
base = "0x9E000000"
[[adsp.mem_alias]]
type = "cached"
base = "0xBE000000"

[cse]
partition_name = "ADSP"
[[cse.entry]]
name = "ADSP.man"
offset = "0x5c"
length = "0x464"
[[cse.entry]]
name = "cavs0015.met"
offset = "0x4c0"
length = "0x70"
[[cse.entry]]
name = "cavs0015"
offset = "0x540"
length = "0x0" // # calculated by rimage

[css]

[signed_pkg]
name = "ADSP"
[[signed_pkg.module]]
name = "cavs0015.met"
Copy link
Member

Choose a reason for hiding this comment

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

This manifest part is Intel signing specific so could be vendor/intel/manifest ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

under rimage or in sof root? We need to come up with good locations for these parts, yes

Copy link
Member

@lgirdwood lgirdwood Nov 24, 2023

Choose a reason for hiding this comment

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

e.g. rimage/configs/vendor/intel/

@@ -1939,6 +1939,9 @@ static int parse_module(const toml_table_t *toml, struct parse_ctx *pctx,
if (ret < 0)
return err_key_parse("auto_start", NULL);

parse_uint32_key(mod_entry, &ctx_entry, "index", 1, &ret);
Copy link
Member

Choose a reason for hiding this comment

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

separate patch ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

nno, I think it fails without this - it says unhandled key in toml. Maybe I can add it before TOML changes - the error is ignored anyway, maybe that would work, but in principle they're closely related

Copy link
Member

Choose a reason for hiding this comment

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

ok, best to inline comment this in rimage then.

Copy link
Collaborator

@marc-hb marc-hb Dec 12, 2023

Choose a reason for hiding this comment

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

@lyakh can you explain the issue this solves?

Does this imply a "Flag Day" where all .toml files have to become pre-processed?

How come rimage notices the pre-processing at all? It should never know.

EDIT: I see it seems related to the __COUNTER__

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@marc-hb yes, it is related to the __COUNTER__ and that one is related to

[module]
count = N

@btian1
Copy link
Contributor

btian1 commented Nov 22, 2023

Thank you, Guennadi, this is part of our OKR for modules, you did for all of us , @andrula-song @singalsu

@lyakh lyakh marked this pull request as ready for review November 22, 2023 13:05
@RanderWang
Copy link
Collaborator

LGTM

@lgirdwood
Copy link
Member

Thank you, Guennadi, this is part of our OKR for modules, you did for all of us , @andrula-song @singalsu

Ack - this turned out to be faster than expected :)

@marc-hb
Copy link
Collaborator

marc-hb commented Nov 29, 2023

This can't work because xtensa-build-zephyr.py is still pointing at the .toml file:

https://sof-ci.01.org/sofpr/PR8490/build15027/build/tgl_zph_error.txt

/srv/home/jenkins/workspace/sof_generic_build/sof/tools/rimage/config/tgl-cavs.toml:
	error: unable to open file for reading. No such file or directory (errno = 2)

I think @lyakh once told me he does not use xtensa-build-zephyr.py but a personal/"secret" build configuration instead.

The internal Zephyr CI has yet other ways to invoke rimage. I once had to implement zephyrproject-rtos/zephyr@d98a7c2f8ddb for that.

Ack - this turned out to be faster than expected :)

The too many ways the .toml files can be passed unfortunately make this a complicated problem to solve. Discussion just started in zephyrproject-rtos/zephyr#65411

@marc-hb

This comment was marked as off-topic.

@keqiaozhang
Copy link
Collaborator

could this be related to the recent switch to the new build service?

This fault is not related to the new build service, this PR test was run with the old CI flow.
The root cause is that TGL-IPC4 firmware failed to build and there's no available FW binary for TGL/APL platforms, so all tests have timed out. This is a known issue of old CI and we don't have a better solution for it.

But new build service can handle this scarious well. Let's trigger the CI test again with the new CI flow.

@keqiaozhang
Copy link
Collaborator

SOFCI TEST

@keqiaozhang
Copy link
Collaborator

@marc-hb , the new process is that if the build fails, on-device testing will not be conducted.
image

@lgirdwood lgirdwood added this to the v2.9 milestone Dec 4, 2023
marc-hb added a commit to marc-hb/sof that referenced this pull request Dec 11, 2023
Rename:
- tgl-cavs.toml   to tgl.toml
- tgl-h-cavs.toml to tgl-h.toml

Remove the IPC3/IPC4 switch added by commit 6f71808
("xtensa-build-zephyr.py: add ipc4 build support for tgl")

This brings back consistency which is required for the .toml
split (thesofproject#8490)

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
marc-hb added a commit to marc-hb/sof that referenced this pull request Dec 11, 2023
Let west/sign.py find the appropriate .toml file.

This prepares for .toml modularization thesofproject#8490

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb marc-hb marked this pull request as draft December 12, 2023 06:41
@btian1
Copy link
Contributor

btian1 commented Dec 12, 2023

@lyakh , do you plan to merge this in 2023? with:zephyrproject-rtos/zephyr@85f9710
I hope this can be merged ASAP.

@lyakh
Copy link
Collaborator Author

lyakh commented Dec 20, 2023

A few comments inline we should double-check before merge, but the code itself looks ready to go.

This shouldn't be merged before sof/west.yml includes zephyrproject-rtos/zephyr#66420

@marc-hb @lgirdwood #8654

@lyakh lyakh force-pushed the toml-wip branch 5 times, most recently from 228ff07 to 3ed732b Compare December 20, 2023 15:09
Split TOML configuration files into platform and module parts. Use
the C preprocessor to merge them back together.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
@kv2019i
Copy link
Collaborator

kv2019i commented Dec 21, 2023

Looks ready to go, need a clean run of the mandatory CIs.

@lgirdwood
Copy link
Member

@lrudyX @wszypelt not expecting a runtime test failure here as this is build system PR. Good to merge ?

@wszypelt
Copy link

@lgirdwood good to merge

@lgirdwood lgirdwood merged commit cf9a444 into thesofproject:main Dec 21, 2023
43 of 46 checks passed
@lyakh lyakh deleted the toml-wip branch December 21, 2023 13:17
@marc-hb
Copy link
Collaborator

marc-hb commented Dec 26, 2023

For a change, suspend/resume test
https://sof-ci.01.org/sofpr/PR8490/build1371/devicetest/index.html?model=TGLU_RVP_NOCODEC-ipc4&testcase=check-suspend-resume-with-playback
did not just TIMEOUT but actually caught a DSP panic.

Does not seem related but happened in this PR so archiving the dump here.

2023-12-20 18:40:14 UTC Sub-Test: N Run the command: rtcwake -m mem -s 5
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Dec 20 18:40:20 2023
2023-12-20 18:40:21 UTC Sub-Test: N sleep for 5
2023-12-20 18:40:26 UTC Sub-Test: N Check for the kernel log status
declare -- cmd="journalctl_cmd --since=@1703097606"
journalctl_cmd is a function
journalctl_cmd () 
{ 
    sudo journalctl -k -q --no-pager --utc --output=short-monotonic --no-hostname "$@"
}
2023-12-20 18:40:26 UTC [ERROR] Caught kernel log error
===========================>>
[ 5680.880868] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump start ]------------
[ 5680.880889] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP panic!
[ 5680.880891] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state: SOF_FW_BOOT_COMPLETE (7)
[ 5680.880913] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x00000005: module: ROM, state: FW_ENTERED, running
[ 5680.881111] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: FW is built with XCC toolchain
[ 5680.881113] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: DSP Firmware Oops
[ 5680.881115] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: Exception Cause: LoadStorePIFDataErrorCause, Synchronous PIF data error during LoadStore access
[ 5680.881117] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: EXCCAUSE 0x0000000d EXCVADDR 0x00000010 PS       0x00060120 SAR     0x00000019
[ 5680.881119] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: EPC1     0xbe04bfde EPC2     0x00000000 EPC3     0x00000000 EPC4    0x00000000
[ 5680.881120] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: EPC5     0x00000000 EPC6     0x00000000 EPC7     0x00000000 DEPC    0x00000000
[ 5680.881122] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: EPS2     0x00000000 EPS3     0x00000000 EPS4     0x00000000 EPS5    0x00000000
[ 5680.881124] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: EPS6     0x00000000 EPS7     0x00000000 INTENABL 0x00000000 INTERRU 0x00000000
[ 5680.881125] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: stack dump from 0x00000000
[ 5680.881127] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: AR registers:
[ 5680.881128] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x0: be03f555 be0b0e80 be0bf240 be0bf304
[ 5680.881130] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x10: 00000000 be0bf2e4 00000000 be04bfd8
[ 5680.881132] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x20: be056369 00000000 00000000 00000000
[ 5680.881134] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x30: be056369 00000000 00000000 00000000
[ 5680.881135] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump end ]------------
[ 5681.379844] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc timed out for 0x13000004|0x1
[ 5681.379866] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ IPC dump start ]------------
[ 5681.379906] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda irq intsts 0x00000000 intlctl 0xc0000000 rirb 00
[ 5681.379912] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: dsp irq ppsts 0x00000000 adspis 0x00000000
[ 5681.379958] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Host IPC initiator: 0x93000004|0x1|0x0, target: 0x0|0x0|0x80000000, ctl: 0x3
[ 5681.379965] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ IPC dump end ]------------
[ 5681.379970] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump start ]------------
[ 5681.379974] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: IPC timeout
[ 5681.379979] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state: SOF_FW_CRASHED (8)
[ 5681.380007] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x00000005: module: ROM, state: FW_ENTERED, running
[ 5681.380219] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: FW is built with XCC toolchain
[ 5681.380225] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: DSP Firmware Oops
[ 5681.380230] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: Exception Cause: LoadStorePIFDataErrorCause, Synchronous PIF data error during LoadStore access
[ 5681.380235] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: EXCCAUSE 0x0000000d EXCVADDR 0x00000010 PS       0x00060120 SAR     0x00000019
[ 5681.380241] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: EPC1     0xbe04bfde EPC2     0x00000000 EPC3     0x00000000 EPC4    0x00000000
[ 5681.380247] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: EPC5     0x00000000 EPC6     0x00000000 EPC7     0x00000000 DEPC    0x00000000
[ 5681.380252] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: EPS2     0x00000000 EPS3     0x00000000 EPS4     0x00000000 EPS5    0x00000000
[ 5681.380257] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: EPS6     0x00000000 EPS7     0x00000000 INTENABL 0x00000000 INTERRU 0x00000000
[ 5681.380262] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: stack dump from 0x00000000
[ 5681.380267] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: AR registers:
[ 5681.380272] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x0: be03f555 be0b0e80 be0bf240 be0bf304
[ 5681.380278] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x10: 00000000 be0bf2e4 00000000 be04bfd8
[ 5681.380283] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x20: be056369 00000000 00000000 00000000
[ 5681.380289] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x30: be056369 00000000 00000000 00000000
[ 5681.380294] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump end ]------------
[ 5681.380336] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to set final state 4 for all pipelines
[ 5681.380344] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at soc_component_trigger on 0000:00:1f.3: -110
[ 5681.380353] kernel:  Port0 Aux Playback: ASoC: trigger FE cmd: 1 failed: -110
[ 5681.884153] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x13000002|0x1 failed: -19
[ 5681.884161] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to set final state 2 for all pipelines
[ 5681.884248] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x46010002|0x10003 failed: -19
[ 5681.884252] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to unbind modules mixin.21.1:0 -> mixout.16.1:0
[ 5681.884261] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x12020000|0x0 failed: -19
[ 5681.884265] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to free pipeline widget pipeline.21
[ 5681.884282] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x46020002|0x1000003 failed: -19
[ 5681.884286] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to unbind modules mixin.16.1:0 -> mixout.2.1:1
[ 5681.884294] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x12030000|0x0 failed: -19
[ 5681.884298] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to free pipeline widget pipeline.16
[ 5681.884326] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x12010000|0x0 failed: -19
[ 5681.884330] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to free pipeline widget pipeline.2
[ 5681.884333] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to free connected widgets
[ 5681.884340] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_free on 0000:00:1f.3: -19
<<===========================

/sys/power/suspend_stats/fail:0
/sys/power/suspend_stats/failed_freeze:0
/sys/power/suspend_stats/failed_prepare:0
/sys/power/suspend_stats/failed_resume:0
/sys/power/suspend_stats/failed_resume_early:0
/sys/power/suspend_stats/failed_resume_noirq:0
/sys/power/suspend_stats/failed_suspend:0
/sys/power/suspend_stats/failed_suspend_late:0
/sys/power/suspend_stats/failed_suspend_noirq:0
/sys/power/suspend_stats/last_failed_dev:
/sys/power/suspend_stats/last_failed_errno:0
/sys/power/suspend_stats/last_failed_step:
/sys/power/suspend_stats/last_hw_sleep:0
/sys/power/suspend_stats/max_hw_sleep:523986009990
/sys/power/suspend_stats/success:9
/sys/power/suspend_stats/total_hw_sleep:0

name		active_count	event_count	wakeup_count	expire_count	active_since	total_time	max_time	last_change	prevent_suspend_time
--- /home/ubuntu/sof-test/logs/check-suspend-resume-with-audio/2023-12-20-18:39:12-4283/initial_wakeup_sources.txt	2023-12-20 18:40:13.910484931 +0000
+++ /sys/kernel/debug/wakeup_sources	2023-12-20 17:05:30.013000000 +0000
@@ -7,7 +7,7 @@
 0000:00:14.0	0		0		0		0		0		0		0		0		0
 0000:00:0d.0	0		0		0		0		0		0		0		0		0
 alarmtimer.0.auto	0		0		0		0		0		0		0		0		0
-rtc_cmos    	9		16		0		0		0		1		0		5632664		0
+rtc_cmos    	10		18		0		0		0		1		0		5645360		0
 serio0      	0		0		0		0		0		0		0		0		0
 PNP0C0A:02  	0		0		0		0		0		0		0		0		0
 PNP0C0A:01  	0		0		0		0		0		0		0		0		0

2023-12-20 18:40:26 UTC Sub-Test: [REMOTE_ERROR] Caught error in kernel log
2023-12-20 18:40:26 UTC Sub-Test: N Starting func_exit_handler(1)
2023-12-20 18:40:26 UTC Sub-Test: [REMOTE_ERROR] Starting func_exit_handler(), exit status=1, FUNCNAME stack:
2023-12-20 18:40:26 UTC Sub-Test: [REMOTE_ERROR]  die()  @  /home/ubuntu/sof-test/case-lib/lib.sh
2023-12-20 18:40:26 UTC Sub-Test: [REMOTE_ERROR]  dump_and_die()  @  /home/ubuntu/sof-test/test-case/check-suspend-resume.sh:128
2023-12-20 18:40:26 UTC Sub-Test: [REMOTE_ERROR]  sleep_once()  @  /home/ubuntu/sof-test/test-case/check-suspend-resume.sh:183
2023-12-20 18:40:26 UTC Sub-Test: [REMOTE_ERROR]  main()  @  /home/ubuntu/sof-test/test-case/check-suspend-resume.sh:158
2023-12-20 18:40:26 UTC Sub-Test: [REMOTE_ERROR]  main()  @  /home/ubuntu/sof-test/test-case/check-suspend-resume.sh:199
2023-12-20 18:40:29 UTC Sub-Test: N pkill -TERM -f mtrace-reader.py
2023-12-20 18:40:29 UTC Sub-Test: N Test Result: FAIL!
2023-12-20 18:40:29 UTC [REMOTE_ERROR] suspend resume failed
2023-12-20 18:40:29 UTC N Starting func_exit_handler(1)
2023-12-20 18:40:29 UTC [REMOTE_ERROR] Starting func_exit_handler(), exit status=1, FUNCNAME stack:
2023-12-20 18:40:29 UTC [REMOTE_ERROR]  die()  @  /home/ubuntu/sof-test/test-case/../case-lib/lib.sh
2023-12-20 18:40:29 UTC [REMOTE_ERROR]  main()  @  /home/ubuntu/sof-test/test-case/check-suspend-resume-with-audio.sh:120
2023-12-20 18:40:32 UTC N pkill -TERM -f mtrace-reader.py
2023-12-20 18:40:32 UTC N nlines=227 /home/ubuntu/sof-test/logs/check-suspend-resume-with-audio/2023-12-20-18:39:12-4283/mtrace.txt
2023-12-20 18:40:35 UTC N ktime=5660 sof-test PID=44342: ending
2023-12-20 18:40:35 UTC N Test Result: FAIL!

@marc-hb marc-hb added the suspend-resume Issues observed when doing system suspend and resume label Dec 26, 2023
abonislawski pushed a commit that referenced this pull request Jan 11, 2024
Rename:
- tgl-cavs.toml   to tgl.toml
- tgl-h-cavs.toml to tgl-h.toml

Remove the IPC3/IPC4 switch added by commit 6f71808
("xtensa-build-zephyr.py: add ipc4 build support for tgl")

This brings back consistency which is required for the .toml
split (#8490)

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
abonislawski pushed a commit that referenced this pull request Jan 11, 2024
Let west/sign.py find the appropriate .toml file.

This prepares for .toml modularization #8490

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
marc-hb added a commit to marc-hb/sof that referenced this pull request Feb 12, 2024
Rename:
- tgl-cavs.toml   to tgl.toml
- tgl-h-cavs.toml to tgl-h.toml

Remove the IPC3/IPC4 switch added by commit 6f71808
("xtensa-build-zephyr.py: add ipc4 build support for tgl")

This brings back consistency which is required for the .toml
split (thesofproject#8490)

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
(cherry picked from commit ded019b)
marc-hb added a commit to marc-hb/sof that referenced this pull request Feb 12, 2024
Let west/sign.py find the appropriate .toml file.

This prepares for .toml modularization thesofproject#8490

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
(cherry picked from commit d661aad)
kv2019i pushed a commit that referenced this pull request Feb 13, 2024
Rename:
- tgl-cavs.toml   to tgl.toml
- tgl-h-cavs.toml to tgl-h.toml

Remove the IPC3/IPC4 switch added by commit 6f71808
("xtensa-build-zephyr.py: add ipc4 build support for tgl")

This brings back consistency which is required for the .toml
split (#8490)

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
(cherry picked from commit ded019b)
kv2019i pushed a commit that referenced this pull request Feb 13, 2024
Let west/sign.py find the appropriate .toml file.

This prepares for .toml modularization #8490

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
(cherry picked from commit d661aad)
fredoh9 pushed a commit to fredoh9/sof that referenced this pull request Feb 14, 2024
Rename:
- tgl-cavs.toml   to tgl.toml
- tgl-h-cavs.toml to tgl-h.toml

Remove the IPC3/IPC4 switch added by commit 6f71808
("xtensa-build-zephyr.py: add ipc4 build support for tgl")

This brings back consistency which is required for the .toml
split (thesofproject#8490)

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
(cherry picked from commit ded019b)
fredoh9 pushed a commit to fredoh9/sof that referenced this pull request Feb 14, 2024
Let west/sign.py find the appropriate .toml file.

This prepares for .toml modularization thesofproject#8490

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
(cherry picked from commit d661aad)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suspend-resume Issues observed when doing system suspend and resume
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants