# 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 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xB40D2A6B WARNING: unmet direct dependencies detected for FSL_EMB_PERFMON Depends on [n]: E500 [=n] || PPC_83xx [=n] Selected by [y]: - PPC_FSL_BOOK3E [=y] # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/eeh.c:1752:12: warning: 'proc_eeh_show' defined but not used [-Wunused-function] static int proc_eeh_show(struct seq_file *m, void *v) ^ /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/drivers/block/DAC960.c:6429:12: warning: 'dac960_proc_show' defined but not used [-Wunused-function] static int dac960_proc_show(struct seq_file *m, void *v) ^ /kisskb/src/drivers/block/DAC960.c:6449:12: warning: 'dac960_initial_status_proc_show' defined but not used [-Wunused-function] static int dac960_initial_status_proc_show(struct seq_file *m, void *v) ^ /kisskb/src/drivers/block/DAC960.c:6456:12: warning: 'dac960_current_status_proc_show' defined but not used [-Wunused-function] static int dac960_current_status_proc_show(struct seq_file *m, void *v) ^ /kisskb/src/fs/f2fs/sysfs.c:519:12: warning: 'segment_info_seq_show' defined but not used [-Wunused-function] static int segment_info_seq_show(struct seq_file *seq, void *offset) ^ /kisskb/src/fs/f2fs/sysfs.c:546:12: warning: 'segment_bits_seq_show' defined but not used [-Wunused-function] static int segment_bits_seq_show(struct seq_file *seq, void *offset) ^ /kisskb/src/fs/f2fs/sysfs.c:570:12: warning: 'iostat_info_seq_show' defined but not used [-Wunused-function] static int iostat_info_seq_show(struct seq_file *seq, void *offset) ^ /kisskb/src/fs/jffs2/xattr.c: In function 'jffs2_build_xattr_subsystem': /kisskb/src/fs/jffs2/xattr.c:887:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/soc15.c: In function 'soc15_set_ip_blocks': /kisskb/src/drivers/gpu/drm/amd/amdgpu/soc15.c:532:3: warning: #warning "Enable CONFIG_DRM_AMD_DC for display support on SOC15." [-Wcpp] # warning "Enable CONFIG_DRM_AMD_DC for display support on SOC15." ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/soc15.c:551:3: warning: #warning "Enable CONFIG_DRM_AMD_DC for display support on SOC15." [-Wcpp] # warning "Enable CONFIG_DRM_AMD_DC for display support on SOC15." ^ Completed OK # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-5.3 # Build took: 0:03:30.202849