# git rev-parse -q --verify adb68c38d8d49a3d60805479c558649bb2182473^{commit} adb68c38d8d49a3d60805479c558649bb2182473 already have revision, skipping fetch # git checkout -q -f -B kisskb adb68c38d8d49a3d60805479c558649bb2182473 # git clean -qxdf # < git log -1 # commit adb68c38d8d49a3d60805479c558649bb2182473 # Author: Vaibhav Jain # Date: Mon Mar 29 17:01:03 2021 +0530 # # powerpc/papr_scm: Mark nvdimm as unarmed if needed during probe # # In case an nvdimm is found to be unarmed during probe then set its # NDD_UNARMED flag before nvdimm_create(). This would enforce a # read-only access to the ndimm region. Presently even if an nvdimm is # unarmed its not marked as read-only on ppc64 guests. # # The patch updates papr_scm_nvdimm_init() to force query of nvdimm # health via __drc_pmem_query_health() and if nvdimm is found to be # unarmed then set the nvdimm flag ND_UNARMED for nvdimm_create(). # # Signed-off-by: Vaibhav Jain # Reviewed-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210329113103.476760-1-vaibhav@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 adb68c38d8d49a3d60805479c558649bb2182473 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4201:warning: override: reassigning to symbol PPC_E500MC .config:4202:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 22 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) | ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' 139 | if (IS_ERR_VALUE(fep->ring_mem_addr)) | ^~~~~~~~~~~~ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4cbf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf3c4c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7089771 Bytes = 6923.60 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7089186 Bytes = 6923.03 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7091111 Bytes = 6924.91 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7089801 Bytes = 6923.63 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7092764 Bytes = 6926.53 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7089206 Bytes = 6923.05 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7089909 Bytes = 6923.74 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7089917 Bytes = 6923.75 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7092560 Bytes = 6926.33 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7089105 Bytes = 6922.95 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7089776 Bytes = 6923.61 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7056537 Bytes = 6891.15 KiB = 6.73 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7091983 Bytes = 6925.76 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7092770 Bytes = 6926.53 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7089693 Bytes = 6923.53 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:53:37 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7089207 Bytes = 6923.05 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 # Build took: 0:03:12.186395