Skip to content
Commit ce7184bd authored by Alex Shi's avatar Alex Shi Committed by Konrad Rzeszutek Wilk
Browse files

xen: fix logical error in tlb flushing



While TLB_FLUSH_ALL gets passed as 'end' argument to
flush_tlb_others(), the Xen code was made to check its 'start'
parameter. That may give a incorrect op.cmd to MMUEXT_INVLPG_MULTI
instead of MMUEXT_TLB_FLUSH_MULTI. Then it causes some page can not
be flushed from TLB.

This patch fixed this issue.

Reported-by: default avatarJan Beulich <jbeulich@suse.com>
Signed-off-by: default avatarAlex Shi <alex.shi@intel.com>
Acked-by: default avatarJan Beulich <jbeulich@suse.com>
Tested-by: default avatarYongjie Ren <yongjie.ren@intel.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 593d0a3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment