[PATCH V6 16/18] x86: Respect PAT bit when copying pte values between large and normal pages

2014-11-03 Thread Juergen Gross
The PAT bit in the ptes is not moved to the correct position when copying page protection attributes between entries of different sized pages. Translate the ptes according to their page size. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner ---

[PATCH V6 16/18] x86: Respect PAT bit when copying pte values between large and normal pages

2014-11-03 Thread Juergen Gross
The PAT bit in the ptes is not moved to the correct position when copying page protection attributes between entries of different sized pages. Translate the ptes according to their page size. Based-on-patch-by: Stefan Bader stefan.ba...@canonical.com Signed-off-by: Juergen Gross jgr...@suse.com