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

QEMUv8: out of memory with make check SPMC_AT_EL=2 #6374

Open
jforissier opened this issue Oct 12, 2023 · 4 comments
Open

QEMUv8: out of memory with make check SPMC_AT_EL=2 #6374

jforissier opened this issue Oct 12, 2023 · 4 comments
Labels

Comments

@jforissier
Copy link
Contributor

$ make -j10 SPMC_AT_EL=2 check
[...]
##########################################!!! Timeout
TIMEOUT - test case too long or hung? (last test started: gp_10501)
$ tail -100 ../out/bin/serial0.log
[...]
* gp_10501 de-40-57
[...]
gp_10000.c:11985: AllocateSharedMemory(CONTEXT01, SHARE_MEM01, 0x2800, (0x00000001 | 0x00000002)) has an unexpected value: 0xffff000c, expected 0x0
[...]
Segmentation fault
@jenswi-linaro
Copy link
Contributor

This seems to be a problem not entirely controllable by OP-TEE. I suspect Hafnium or possibly its configuration. The problem is that some shared memory isn't freed properly. OP-TEE complains:

E/TC:0   thread_spmc_relinquish:1856 Failed to relinquish cookie 0x1

While Hafnium says:

VERBOSE: Tried to reclaim memory handle 0x1 that has not been relinquished by all borrowers(8001).

Prior to this it also says:

VERBOSE: Can't relinquish device memory (mode is 0x7c).
VERBOSE: Invalid transition for relinquish.

I'm not sure if that relates or not.

Copy link

This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.

@github-actions github-actions bot added the Stale label Nov 13, 2023
@jforissier jforissier added bug and removed Stale labels Nov 13, 2023
@odeprez
Copy link
Contributor

odeprez commented Jan 30, 2024

Hi, just curious, is this issue still reproducible?

@jforissier
Copy link
Contributor Author

Hi, just curious, is this issue still reproducible?

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants