Buildresult: powerpc-next/ppc44x_defconfig/powerpc-gcc5 built on Mar 2 2019, 22:01
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 2 2019, 22:01
Duration:
0:00:49.026968
Builder:
ka3
Revision:
powerpc/64s: Implement KUAP for Radix MMU (
dc8b1290efbbe974d9968106a03077823d0863d6)
Target:
powerpc-next/ppc44x_defconfig/powerpc-gcc5
Branch:
powerpc-next
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
ppc44x_defconfig
(
download
)
Log:
Download original
Possible warnings (6)
arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge'
Full Log
# git rev-parse -q --verify dc8b1290efbbe974d9968106a03077823d0863d6^{commit} dc8b1290efbbe974d9968106a03077823d0863d6 already have revision, skipping fetch # git checkout -q -f -B kisskb dc8b1290efbbe974d9968106a03077823d0863d6 # git clean -qxdf # < git log -1 # commit dc8b1290efbbe974d9968106a03077823d0863d6 # Author: Russell Currey <ruscur@russell.cc> # Date: Fri Mar 1 01:49:17 2019 +1100 # # powerpc/64s: Implement KUAP for Radix MMU # # Kernel Userspace Access Prevention utilises a feature of the Radix MMU # which disallows read and write access to userspace addresses. By # utilising this, the kernel is prevented from accessing user data from # outside of trusted paths that perform proper safety checks, such as # copy_{to/from}_user() and friends. # # Userspace access is disabled from early boot and is only enabled when # performing an operation like copy_{to/from}_user(). The register that # controls this (AMR) does not prevent userspace from accessing itself, # so there is no need to save and restore when entering and exiting # userspace. # # This feature has a slight performance impact which I roughly measured # to be 3% slower in the worst case (performing 1GB of 1 byte # read()/write() syscalls), and is gated behind the CONFIG_PPC_KUAP # option for performance-critical builds. # # This feature can be tested by using the lkdtm driver (CONFIG_LKDTM=y) # and performing the following: # # # (echo ACCESS_USERSPACE) > [debugfs]/provoke-crash/DIRECT # # If enabled, this should send SIGSEGV to the thread. # # mpe: # - Drop the unused paca flags. # - Zero the UAMOR to be safe. # - Save the AMR when we enter the kernel from the kernel and then # block user access again if it's not already blocked. # - Restore on the way back to the kernel. # - This means we handle nesting of interrupts properly, ie. we are # protected inside the page fault handler caused by a user access. # - Add paranoid checking of AMR in switch and syscall return. # - Add isync()'s around AMR writes as per the ISA. # - Support selectively disabling read or write, with no support for # nesting. # # Co-authored-by: Michael Ellerman <mpe@ellerman.id.au> # Signed-off-by: Russell Currey <ruscur@russell.cc> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # --- # # v5: # - On kernel entry check if the AMR is already blocking user access # and if so don't do the mtspr again (pointed out by Nick). # - Rework the constants to make the asm a bit cleaner and avoid any # hard coded shifts. # - Selectively disable read or write, we don't support nesting and # shouldn't need to (famous last words). # < /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 dc8b1290efbbe974d9968106a03077823d0863d6 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x54d9ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54d9ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54d9ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54d9ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54d9ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54d9ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54d9ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54d9ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54d9ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x53d2d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54d9ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54d9ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.0.0-rc2-gdc8b1290efbb Created: Sat Mar 2 22:02:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2710598 Bytes = 2647.07 KiB = 2.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.0.0-rc2-gdc8b1290efbb Created: Sat Mar 2 22:02:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2742005 Bytes = 2677.74 KiB = 2.61 MiB Load Address: 00600000 Entry Point: 0060152c Image Name: Linux-5.0.0-rc2-gdc8b1290efbb Created: Sat Mar 2 22:02:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2742002 Bytes = 2677.74 KiB = 2.61 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.0.0-rc2-gdc8b1290efbb Created: Sat Mar 2 22:02:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2741828 Bytes = 2677.57 KiB = 2.61 MiB Load Address: 00600000 Entry Point: 00601524 Image Name: Linux-5.0.0-rc2-gdc8b1290efbb Created: Sat Mar 2 22:02:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2741904 Bytes = 2677.64 KiB = 2.61 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.0.0-rc2-gdc8b1290efbb Created: Sat Mar 2 22:02:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2742027 Bytes = 2677.76 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601514 Image Name: Linux-5.0.0-rc2-gdc8b1290efbb Created: Sat Mar 2 22:02:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2741361 Bytes = 2677.11 KiB = 2.61 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.0.0-rc2-gdc8b1290efbb Created: Sat Mar 2 22:02:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2741940 Bytes = 2677.68 KiB = 2.61 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.0.0-rc2-gdc8b1290efbb Created: Sat Mar 2 22:02:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2741444 Bytes = 2677.19 KiB = 2.61 MiB Load Address: 00600000 Entry Point: 00601544 Image Name: Linux-5.0.0-rc2-gdc8b1290efbb Created: Sat Mar 2 22:02:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2741345 Bytes = 2677.09 KiB = 2.61 MiB Load Address: 00600000 Entry Point: 006001b8 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 # Build took: 0:00:49.026968
© Michael Ellerman 2006-2018.