s390/tlb: make cleared_pXs flags consistent with generic code
authorAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 10 Dec 2020 11:32:51 +0000 (12:32 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 19 Jan 2021 11:29:25 +0000 (12:29 +0100)
commitf95b2c45d5f785f069d186b11b798f9c1d37dcda
treefde2e45074199fcf15a3d5faa087326b621ead45
parent19c329f6808995b142b3966301f217c831e7cf31
s390/tlb: make cleared_pXs flags consistent with generic code

On s390 cleared_pXs flags in struct mmu_gather are set by
corresponding pXd_free_tlb functions. Such approach is
inconsistent with how the generic code interprets these
flags, e.g pte_free_tlb() frees a PTE table - or a PMD
level entity, and so on.

This update does not bring any functional change, since
s390 does not use the flags at the moment.

Fixes: 9de7d833e3708 ("s390/tlb: Convert to generic mmu_gather")
Link: https://lore.kernel.org/lkml/fbb00ac0-9104-8d25-f225-7b3d1b17a01f@huawei.com/
Reported-by: Zhenyu Ye <yezhenyu2@huawei.com>
Suggested-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/tlb.h