Skip to content

Commit 1f43899

Browse files
author
Claudio Imbrenda
committed
KVM: s390: move PGSTE softbits
Move the softbits in the PGSTEs to the other usable area. This leaves the 16-bit block of usable bits free, which will be used in the next patch for something else. Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com> Link: https://lore.kernel.org/r/20250123144627.312456-15-imbrenda@linux.ibm.com Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Message-ID: <20250123144627.312456-15-imbrenda@linux.ibm.com>
1 parent c27e002 commit 1f43899

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/s390/include/asm/pgtable.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,9 @@ void setup_protection_map(void);
420420
#define PGSTE_HC_BIT 0x0020000000000000UL
421421
#define PGSTE_GR_BIT 0x0004000000000000UL
422422
#define PGSTE_GC_BIT 0x0002000000000000UL
423-
#define PGSTE_UC_BIT 0x0000800000000000UL /* user dirty (migration) */
424-
#define PGSTE_IN_BIT 0x0000400000000000UL /* IPTE notify bit */
425-
#define PGSTE_VSIE_BIT 0x0000200000000000UL /* ref'd in a shadow table */
423+
#define PGSTE_UC_BIT 0x0000000000008000UL /* user dirty (migration) */
424+
#define PGSTE_IN_BIT 0x0000000000004000UL /* IPTE notify bit */
425+
#define PGSTE_VSIE_BIT 0x0000000000002000UL /* ref'd in a shadow table */
426426

427427
/* Guest Page State used for virtualization */
428428
#define _PGSTE_GPS_ZERO 0x0000000080000000UL

0 commit comments

Comments
 (0)