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

mpk: reenable support #3

Closed
wants to merge 3 commits into from
Closed

mpk: reenable support #3

wants to merge 3 commits into from

Conversation

abrown
Copy link
Owner

@abrown abrown commented Nov 1, 2023

We discovered that certain CPUs claim that MPK is available but then
fail when running MPK instructions; MPK support was temporarily disabled
in bytecodealliance#7446; this change re-enables it.

GitHub CI runners are showing some strange behavior: on certain runners
(unknown which ones), the CPUID bits claim that MPK is supported, but
running any MPK code (e.g., `RDPKRU`) causes a `SIGILL` crash. This
change disables MPK until bytecodealliance#7445 is resolved.
We discovered that certain CPUs claim that MPK is available but then
fail when running MPK instructions; MPK support was temporarily disabled
in bytecodealliance#7446; this change re-enables it.

Closes bytecodealliance#7445.
We only need to check the `wasmtime-runtime` crate and we may need to
run this many times to find a runner that replicates the issue.
@abrown abrown closed this Nov 9, 2023
@abrown abrown deleted the pku-reenable branch November 9, 2023 18:46
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.

1 participant