]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
xen: fix logical error in tlb flushing
authorAlex Shi <alex.shi@intel.com>
Fri, 24 Aug 2012 08:55:13 +0000 (08:55 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 5 Sep 2012 14:50:21 +0000 (10:50 -0400)
commitce7184bdbd38d920fb515266fbbdc585ad2e5493
tree0f9f9fae086368925f6cf4f3053cb1ea92a5adca
parent593d0a3e9f813db910dc50574532914db21d09ff
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: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Alex Shi <alex.shi@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Yongjie Ren <yongjie.ren@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/mmu.c