commit | a0e470c8b3bbe44bf6027cd08e178b9b873a0f7c | [log] [tgz] |
---|---|---|
author | Daniel Wang <[email protected]> | Fri Dec 01 19:20:57 2017 |
committer | ChromeOS Commit Bot <[email protected]> | Sun Dec 03 18:55:50 2017 |
tree | 686343a3e82ecf126b9c11cd60b5a3d39a701b66 | |
parent | d3377e5f4e8dc7f3215a162f06f966f349b5da33 [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/804015 Reviewed-by: Guenter Roeck <[email protected]> Commit-Queue: Ke Wu <[email protected]> Tested-by: Ke Wu <[email protected]>