# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 516627be26024f9952005a3116cbdb9d6dc24428 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_cm5200_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 52xx/cm5200_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_cm5200_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:194:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:613:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] INFO: Uncompressed kernel (size 0x50d138) 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 01:37:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2576921 Bytes = 2516.52 KiB = 2.46 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_52xx_cm5200_defconfig_powerpc-gcc4.6 # Build took: 0:00:40.102795