Skip to content

Fix regression - make default return code an error - #131

Merged
lgirdwood merged 2 commits into
thesofproject:mainfrom
lyakh:cache
Feb 10, 2023
Merged

lgirdwood merged 2 commits into
thesofproject:mainfrom
lyakh:cache

Conversation

@lyakh

@lyakh lyakh commented Feb 9, 2023

Copy link
Copy Markdown
Contributor

A recent commit ec649f3 ("Convert all ELF addresses to cached for calculations") had a bug: it assumed a call to parse_uint32_hex_key() for an absent key would return an error by default, which isn't the case. To force it set the default return code to an error value.

lyakh added 2 commits February 9, 2023 14:49
A recent commit ec649f3 ("Convert all ELF addresses to cached
for calculations") had a bug: it assumed a call to
parse_uint32_hex_key() for an absent key would return an error by
default, which isn't the case. To force it set the default return
code to an error value.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Set cached and uncached address aliases for all Intel ADSP platforms,
supported by Zephyr.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
@lgirdwood

Copy link
Copy Markdown
Member

@kv2019i fyi.

@lyakh

lyakh commented Feb 9, 2023

Copy link
Copy Markdown
Contributor Author

This one passed testing too: thesofproject/sof#7062 (before the addition of the 2nd commit though)

@lyakh

lyakh commented Feb 10, 2023

Copy link
Copy Markdown
Contributor Author

thesofproject/sof#7062 relaunched and passed all tests with both commits too

@lgirdwood
lgirdwood merged commit 9b507ec into thesofproject:main Feb 10, 2023
@lyakh
lyakh deleted the cache branch February 10, 2023 15:48
@ranj063

ranj063 commented Feb 10, 2023

Copy link
Copy Markdown
Contributor

@lyakh this still fails with xtos builds.

@marc-hb

marc-hb commented Feb 10, 2023

Copy link
Copy Markdown
Contributor

@lyakh nice try but I think your test PR thesofproject/sof#7062 did not work because it updated the west manifest only, not the submodules. See comment in sof/west.yml.

We must decouple submodules and west but this will be somewhat disruptive for CIs and there's always some higher priority than breaking CI. Maybe after 2.5

@lyakh

lyakh commented Feb 13, 2023

Copy link
Copy Markdown
Contributor Author

@lyakh nice try but I think your test PR thesofproject/sof#7062 did not work because it updated the west manifest only, not the submodules. See comment in sof/west.yml.

We must decouple submodules and west but this will be somewhat disruptive for CIs and there's always some higher priority than breaking CI. Maybe after 2.5

@marc-hb yes, thanks, we figured it out last week, trying to fix it for all configurations...

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