# 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-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 516627be26024f9952005a3116cbdb9d6dc24428 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/scsi/cxlflash/main.c: In function 'send_afu_cmd': /kisskb/src/drivers/scsi/cxlflash/main.c:2347:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (rc) { ^ /kisskb/src/drivers/scsi/cxlflash/main.c:2357:2: note: here case -EAGAIN: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c: In function 'term_intr': /kisskb/src/drivers/scsi/cxlflash/main.c:754:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (index == PRIMARY_HWQ) ^ /kisskb/src/drivers/scsi/cxlflash/main.c:756:2: note: here case UNMAP_TWO: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:757:3: warning: this statement may fall through [-Wimplicit-fallthrough=] cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 2, hwq); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:758:2: note: here case UNMAP_ONE: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:759:3: warning: this statement may fall through [-Wimplicit-fallthrough=] cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 1, hwq); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:760:2: note: here case FREE_IRQ: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c: In function 'cxlflash_remove': /kisskb/src/drivers/scsi/cxlflash/main.c:975:3: warning: this statement may fall through [-Wimplicit-fallthrough=] cxlflash_release_chrdev(cfg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:976:2: note: here case INIT_STATE_SCSI: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:978:3: warning: this statement may fall through [-Wimplicit-fallthrough=] scsi_remove_host(cfg->host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:979:2: note: here case INIT_STATE_AFU: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:980:3: warning: this statement may fall through [-Wimplicit-fallthrough=] term_afu(cfg); ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:981:2: note: here case INIT_STATE_PCI: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:983:3: warning: this statement may fall through [-Wimplicit-fallthrough=] pci_disable_device(pdev); ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:984:2: note: here case INIT_STATE_NONE: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c: In function 'num_hwqs_store': /kisskb/src/drivers/scsi/cxlflash/main.c:3018:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (cfg->state == STATE_NORMAL) ^ /kisskb/src/drivers/scsi/cxlflash/main.c:3020:2: note: here default: ^~~~~~~ WARNING: vmlinux.o(.text+0x2fc8): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. Completed OK # rm -rf /kisskb/build/powerpc-next_powernv_defconfig_powerpc-gcc8 # Build took: 0:03:25.286220