# git rev-parse -q --verify 17adceb5b3e37c894ee5f36814b4e1a3fb603e0d^{commit} 17adceb5b3e37c894ee5f36814b4e1a3fb603e0d already have revision, skipping fetch # git checkout -q -f -B kisskb 17adceb5b3e37c894ee5f36814b4e1a3fb603e0d # git clean -qxdf # < git log -1 # commit 17adceb5b3e37c894ee5f36814b4e1a3fb603e0d # Author: Christophe Lombard # Date: Tue Aug 14 14:45:15 2018 +0200 # # ocxl: Fix access to the AFU Descriptor Data # # The AFU Information DVSEC capability is a means to extract common, # general information about all of the AFUs associated with a Function # independent of the specific functionality that each AFU provides. # Write in the AFU Index field allows to access to the descriptor data # for each AFU. # # With the current code, we are not able to access to these specific data # when the index >= 1 because we are writing to the wrong location. # All requests to the data of each AFU are pointing to those of the AFU 0, # which could have impacts when using a card with more than one AFU per # function. # # This patch fixes the access to the AFU Descriptor Data indexed by the # AFU Info Index field. # # Fixes: 5ef3166e8a32 ("ocxl: Driver code for 'generic' opencapi devices") # Cc: stable # 4.16 # Signed-off-by: Christophe Lombard # # Acked-by: Frederic Barrat # Acked-by: Andrew Donnellan # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 17adceb5b3e37c894ee5f36814b4e1a3fb603e0d # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x537c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x537c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x537c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x537c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x537c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x537c44) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0x537c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x537c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x537c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x537c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x537c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x52752c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.18.0-rc3-g17adceb Created: Wed Aug 22 00:27:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2648409 Bytes = 2586.34 kB = 2.53 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc3-g17adceb Created: Wed Aug 22 00:27:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2674406 Bytes = 2611.72 kB = 2.55 MB Load Address: 00600000 Entry Point: 006010f8 Image Name: Linux-4.18.0-rc3-g17adceb Created: Wed Aug 22 00:27:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2674477 Bytes = 2611.79 kB = 2.55 MB Load Address: 00600000 Entry Point: 006000a8 Image Name: Linux-4.18.0-rc3-g17adceb Created: Wed Aug 22 00:27:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2674428 Bytes = 2611.75 kB = 2.55 MB Load Address: 00600000 Entry Point: 00601104 Image Name: Linux-4.18.0-rc3-g17adceb Created: Wed Aug 22 00:27:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2674296 Bytes = 2611.62 kB = 2.55 MB Load Address: 00600000 Entry Point: 0060018c Image Name: Linux-4.18.0-rc3-g17adceb Created: Wed Aug 22 00:27:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2674436 Bytes = 2611.75 kB = 2.55 MB Load Address: 00600000 Entry Point: 00601110 Image Name: Linux-4.18.0-rc3-g17adceb Created: Wed Aug 22 00:27:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2674519 Bytes = 2611.83 kB = 2.55 MB Load Address: 00600000 Entry Point: 006010fc Image Name: Linux-4.18.0-rc3-g17adceb Created: Wed Aug 22 00:27:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2674542 Bytes = 2611.86 kB = 2.55 MB Load Address: 00600000 Entry Point: 006010ec Image Name: Linux-4.18.0-rc3-g17adceb Created: Wed Aug 22 00:27:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2674477 Bytes = 2611.79 kB = 2.55 MB Load Address: 00600000 Entry Point: 00601104 Image Name: Linux-4.18.0-rc3-g17adceb Created: Wed Aug 22 00:27:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2674260 Bytes = 2611.58 kB = 2.55 MB Load Address: 00600000 Entry Point: 0060110c Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-5.3 # Build took: 0:00:48.704123