summaryrefslogtreecommitdiff
path: root/drivers/thermal/max77620_thermal.c
diff options
context:
space:
mode:
authorJanosch Frank <frankja@linux.vnet.ibm.com>2017-03-02 15:23:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-18 19:14:34 +0800
commit9d89c20f3b8f82ddb1d7ef63748ad74691549e80 (patch)
treef20e87391c5a60fd9dc91e6d17197618c8f1e2cb /drivers/thermal/max77620_thermal.c
parentce8ab5f168f654101ecba3f4443b12d4afdee841 (diff)
KVM: s390: Fix guest migration for huge guests resulting in panic
commit 2e4d88009f57057df7672fa69a32b5224af54d37 upstream. While we can technically not run huge page guests right now, we can setup a guest with huge pages. Trying to migrate it will trigger a VM_BUG_ON and, if the kernel is not configured to panic on a BUG, it will happily try to work on non-existing page table entries. With this patch, we always return "dirty" if we encounter a large page when migrating. This at least fixes the immediate problem until we have proper handling for both kind of pages. Fixes: 15f36eb ("KVM: s390: Add proper dirty bitmap support to S390 kvm.") Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thermal/max77620_thermal.c')
0 files changed, 0 insertions, 0 deletions