# git rev-parse -q --verify 516627be26024f9952005a3116cbdb9d6dc24428^{commit} 516627be26024f9952005a3116cbdb9d6dc24428 already have revision, skipping fetch # git checkout -q -f -B kisskb 516627be26024f9952005a3116cbdb9d6dc24428 # git clean -qxdf # < git log -1 # commit 516627be26024f9952005a3116cbdb9d6dc24428 # Author: Jordan Niethe # Date: Tue Sep 10 16:01:02 2019 +1000 # # powerpc/64s: Set reserved PCR bits # # Currently the reserved bits of the Processor Compatibility # Register (PCR) are cleared as per the Programming Note in Section # 1.3.3 of version 3.0B of the Power ISA. This causes all new # architecture features to be made available when running on newer # processors with new architecture features added to the PCR as bits # must be set to disable a given feature. # # For example to disable new features added as part of Version 2.07 of # the ISA the corresponding bit in the PCR needs to be set. # # As new processor features generally require explicit kernel support # they should be disabled until such support is implemented. Therefore # kernels should set all unknown/reserved bits in the PCR such that any # new architecture features which the kernel does not currently know # about get disabled. # # An update is planned to the ISA to clarify that the PCR is an # exception to the Programming Note on reserved bits in Section 1.3.3. # # Signed-off-by: Jordan Niethe # [alistair: Added some clarifications to the commit message] # Signed-off-by: Alistair Popple # Tested-by: Joel Stanley # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20190910060102.21597-1-alistair@popple.id.au # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 516627be26024f9952005a3116cbdb9d6dc24428 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc832x_mds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 83xx/mpc832x_mds_defconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc832x_mds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x52e9c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51e2a8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.3.0-rc2-g516627be2602 Created: Sat Sep 14 02:14:51 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2604991 Bytes = 2543.94 KiB = 2.48 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-g516627be2602 Created: Sat Sep 14 02:14:51 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2634745 Bytes = 2572.99 KiB = 2.51 MiB Load Address: 00600000 Entry Point: 00600294 Completed OK # rm -rf /kisskb/build/powerpc-next_83xx_mpc832x_mds_defconfig_powerpc-gcc5 # Build took: 0:00:46.452761