# 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-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 adb68c38d8d49a3d60805479c558649bb2182473 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc834x_itx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 83xx/mpc834x_itx_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc834x_itx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc834x_itx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc834x_itx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x71b34c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x71b34c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x70ad3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:14:29 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3192640 Bytes = 3117.81 KiB = 3.04 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:14:29 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3221257 Bytes = 3145.76 KiB = 3.07 MiB Load Address: 00800000 Entry Point: 00800294 Image Name: Linux-5.12.0-rc3-gadb68c38d8d4 Created: Wed Apr 28 02:14:29 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3220669 Bytes = 3145.18 KiB = 3.07 MiB Load Address: 00800000 Entry Point: 00800294 Completed OK # rm -rf /kisskb/build/powerpc-next_83xx_mpc834x_itx_defconfig_powerpc-gcc5 # Build took: 0:01:01.038482