]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mm: fix huge pte soft dirty copying
authorJanosch Frank <frankja@linux.ibm.com>
Tue, 7 Jul 2020 13:38:54 +0000 (15:38 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 9 Jul 2020 13:18:23 +0000 (15:18 +0200)
commit793b52beff300a9f883c741f6fa13bb9969672f7
tree05e8d983a5c4bc907d238160dadfa9300761aa41
parent7952384771d28acf3a2e59e7e19595e6dca1c650
s390/mm: fix huge pte soft dirty copying

If the pmd is soft dirty we must mark the pte as soft dirty (and not dirty).
This fixes some cases for guest migration with huge page backings.

Cc: <stable@vger.kernel.org> # 4.8
Fixes: 3451574946bb ("s390/mm: clean up pte/pmd encoding")
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/mm/hugetlbpage.c