commit | 8c29ef0fdecb75284311088ccb0f88c7abd7197f | [log] [tgz] |
---|---|---|
author | Daniel Wang <[email protected]> | Fri Dec 01 19:20:57 2017 |
committer | ChromeOS Commit Bot <[email protected]> | Tue Dec 12 01:49:58 2017 |
tree | 95d100cedb026a7d61a86c9f092b68fa457295a6 | |
parent | a9f6452a69781b2a3b1e8431b74a460ff07702a5 [diff] |
FROMLIST: x86/paravirt: Dont patch flush_tlb_single native_flush_tlb_single() is not just INLVPG anymore. With X86_FEATURE_INVPCID_SINGLE and KAISER enabled it flushes also the shadow mapping. But even with KAISER disabled flushing the particular ASID is the right thing to do. Remove the paravirt patching for it. Fixes: 1fde25dc8ef4 ("x86/mm/kaiser: Use PCID feature to make user and kernel switches faster") Signed-off-by: Thomas Gleixner <[email protected]> (am from https://patchwork.kernel.org/patch/10078031/) BUG=b:70026651 TEST=tryjob Change-Id: Ieb9f9c4a449038ef43eb220228f4160478cd554f Reviewed-on: https://chromium-review.googlesource.com/803863 Commit-Ready: Ke Wu <[email protected]> Tested-by: Ke Wu <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Hugh Dickins <[email protected]> (cherry picked from commit 3ff450a8697d3d52c38ade1f25b119d8ed24a448) Reviewed-on: https://chromium-review.googlesource.com/820719 Trybot-Ready: Xuewei Zhang <[email protected]> Commit-Queue: Xuewei Zhang <[email protected]> Tested-by: Xuewei Zhang <[email protected]>