Skip to content

QEMU 2.6.0 in SDK does not implement IA hardware tasks and MMU properly #3827

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

Closed
zephyrbot opened this issue Jul 15, 2017 · 2 comments
Closed
Assignees
Labels
area: Toolchains Toolchains bug The issue is a bug, or the PR is fixing a bug

Comments

@zephyrbot
Copy link
Collaborator

zephyrbot commented Jul 15, 2017

Reported by Andrew Boie:

To implement x86 stack protection, I need the CPU to do an IA hardware task switch to a special exception IA task that has a known good stack when a double fault exception occurs.

QEMU 2.6.0 (the version in our SDK) does not implement this properly and either aborts to the command line or issues a spurious page fault exception instead. If I disable the MMU the task switching works fine.

I have found that QEMU 2.9.0 that comes with Fedora, does not have this problem.

I'm requesting we either update the QEMU for x86 in the SDK, or backport whatever patches fixed the issue with task switching and the MMU.

Enabling stack protection on x86 is blocked until this is fixed.

(Imported from Jira ZEP-2394)

@zephyrbot
Copy link
Collaborator Author

by Andrew Boie:

PEBCAK

@zephyrbot
Copy link
Collaborator Author

zephyrbot commented Jul 15, 2017

Blocks GH-3626

@zephyrbot zephyrbot added area: Toolchains Toolchains bug The issue is a bug, or the PR is fixing a bug labels Sep 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Toolchains Toolchains bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

2 participants