Skip to content

x86: fix pte corruption when setting large regions #14011

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

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

andrewboie
Copy link
Contributor

We need a copy of the flags field for every PTE we are
updating, we can't just keep OR-ing in the address
field.

Fixes issues seen when setting flags for memory regions
larger than a page.

Signed-off-by: Andrew Boie [email protected]

We need a copy of the flags field for ever PTE we are
updating, we can't just keep OR-ing in the address
field.

Fixes issues seen when setting flags for memory regions
larger than a page.

Signed-off-by: Andrew Boie <[email protected]>
@andrewboie andrewboie requested review from ceolin, andyross, dcpleung, nashif and a user March 2, 2019 19:42
@andrewboie andrewboie added bug The issue is a bug, or the PR is fixing a bug Hotfix Fix for issues blocking development, i.e. CI issues, tests failing in CI, etc. labels Mar 2, 2019
@andrewboie andrewboie added this to the v1.14.0 milestone Mar 2, 2019
@codecov-io
Copy link

Codecov Report

Merging #14011 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #14011   +/-   ##
=======================================
  Coverage   52.27%   52.27%           
=======================================
  Files         307      307           
  Lines       45467    45467           
  Branches    10525    10525           
=======================================
  Hits        23768    23768           
  Misses      16901    16901           
  Partials     4798     4798

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 630af8a...a820ff3. Read the comment docs.

@nashif nashif merged commit 1459bed into zephyrproject-rtos:master Mar 4, 2019
@andrewboie andrewboie deleted the x86-flags-update branch April 10, 2019 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Memory Protection bug The issue is a bug, or the PR is fixing a bug Hotfix Fix for issues blocking development, i.e. CI issues, tests failing in CI, etc. priority: high High impact/importance bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants