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 <>

(am from


Change-Id: Ieb9f9c4a449038ef43eb220228f4160478cd554f
Commit-Ready: Ke Wu <>
Tested-by: Ke Wu <>
Reviewed-by: Guenter Roeck <>
Reviewed-by: Hugh Dickins <>
(cherry picked from commit 3ff450a8697d3d52c38ade1f25b119d8ed24a448)
Trybot-Ready: Xuewei Zhang <>
Commit-Queue: Xuewei Zhang <>
Tested-by: Xuewei Zhang <>
1 file changed