Skip to content

Commit bf0e022

Browse files
committed
Merge tag 'powerpc-7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fixes from Madhavan Srinivasan: - Fix KASAN sanitization flag for core_$(BITS).o - Fixes for handling offset values in pseries htmdump - Fix interrupt mask in cpm1_gpiochip_add16() - ps3/pasemi fixes to drop redundant result assignment - Fixes in papr-hvpipe code path - powerpc/perf: Update check for PERF_SAMPLE_DATA_SRC marked events Thanks to Aboorva Devarajan, Athira Rajeev, Christophe Leroy (CS GROUP), Geert Uytterhoeven, Haren Myneni, Krzysztof Kozlowski, Mukesh Kumar Chaurasiya (IBM), Nathan Chancellor, Ritesh Harjani (IBM), Shivani Nittor, Sourabh Jain, Thomas Zimmermann, and Venkat Rao Bagalkote. * tag 'powerpc-7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (21 commits) powerpc/pasemi: Drop redundant res assignment powerpc/ps3: Drop redundant result assignment powerpc/vdso: Drop -DCC_USING_PATCHABLE_FUNCTION_ENTRY from 32-bit flags with clang arch/powerpc: Drop CONFIG_FIRMWARE_EDID from defconfig files powerpc/perf: Update check for PERF_SAMPLE_DATA_SRC marked events powerpc/8xx: Fix interrupt mask in cpm1_gpiochip_add16() powerpc/vmx: avoid KASAN instrumentation in enter_vmx_ops() for kexec powerpc/kdump: fix KASAN sanitization flag for core_$(BITS).o pseries/papr-hvpipe: Fix style and checkpatch issues in enable_hvpipe_IRQ() pseries/papr-hvpipe: Refactor and simplify hvpipe_rtas_recv_msg() pseries/papr-hvpipe: Kill task_struct pointer from struct hvpipe_source_info pseries/papr-hvpipe: Simplify spin unlock usage in papr_hvpipe_handle_release() pseries/papr-hvpipe: Fix the usage of copy_to_user() pseries/papr-hvpipe: Fix & simplify error handling in papr_hvpipe_init() pseries/papr-hvpipe: Fix null ptr deref in papr_hvpipe_dev_create_handle() pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace pseries/papr-hvpipe: Fix race with interrupt handler powerpc/pseries/htmdump: Add memory configuration dump support to htmdump module powerpc/pseries/htmdump: Fix the offset value used in htm status dump powerpc/pseries/htmdump: Fix the offset value used in processor configuration dump ...
2 parents 7039050 + f583bd5 commit bf0e022

18 files changed

Lines changed: 235 additions & 121 deletions

arch/powerpc/configs/amigaone_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ CONFIG_SERIAL_8250_CONSOLE=y
7676
# CONFIG_HW_RANDOM is not set
7777
# CONFIG_HWMON is not set
7878
CONFIG_FB=y
79-
CONFIG_FIRMWARE_EDID=y
8079
CONFIG_FB_TILEBLITTING=y
8180
CONFIG_FB_RADEON=y
8281
CONFIG_FB_3DFX=y

arch/powerpc/configs/chrp32_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ CONFIG_SERIAL_8250_CONSOLE=y
7676
CONFIG_NVRAM=y
7777
# CONFIG_HWMON is not set
7878
CONFIG_FB=y
79-
CONFIG_FIRMWARE_EDID=y
8079
CONFIG_FB_OF=y
8180
CONFIG_FB_MATROX=y
8281
CONFIG_FB_MATROX_MILLENIUM=y

arch/powerpc/configs/g5_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ CONFIG_I2C_CHARDEV=y
121121
CONFIG_AGP=m
122122
CONFIG_AGP_UNINORTH=m
123123
CONFIG_FB=y
124-
CONFIG_FIRMWARE_EDID=y
125124
CONFIG_FB_TILEBLITTING=y
126125
CONFIG_FB_OF=y
127126
CONFIG_FB_NVIDIA=y

arch/powerpc/configs/pasemi_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ CONFIG_SENSORS_LM85=y
9898
CONFIG_SENSORS_LM90=y
9999
CONFIG_DRM=y
100100
CONFIG_DRM_RADEON=y
101-
CONFIG_FIRMWARE_EDID=y
102101
CONFIG_FB_TILEBLITTING=y
103102
CONFIG_FB_VGA16=y
104103
CONFIG_FB_NVIDIA=y

arch/powerpc/configs/powernv_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ CONFIG_I2C_CHARDEV=y
196196
# CONFIG_PTP_1588_CLOCK is not set
197197
CONFIG_DRM=y
198198
CONFIG_DRM_AST=y
199-
CONFIG_FIRMWARE_EDID=y
200199
CONFIG_FB_OF=y
201200
CONFIG_FB_MATROX=m
202201
CONFIG_FB_MATROX_MILLENIUM=y

arch/powerpc/configs/ppc64_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ CONFIG_I2C_CHARDEV=y
249249
CONFIG_I2C_AMD8111=y
250250
CONFIG_I2C_PASEMI=y
251251
CONFIG_FB=y
252-
CONFIG_FIRMWARE_EDID=y
253252
CONFIG_FB_OF=y
254253
CONFIG_FB_MATROX=y
255254
CONFIG_FB_MATROX_MILLENIUM=y

arch/powerpc/configs/ppc64e_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ CONFIG_SERIAL_8250_CONSOLE=y
118118
CONFIG_I2C_CHARDEV=y
119119
CONFIG_I2C_AMD8111=y
120120
CONFIG_FB=y
121-
CONFIG_FIRMWARE_EDID=y
122121
CONFIG_FB_OF=y
123122
CONFIG_FB_MATROX=y
124123
CONFIG_FB_MATROX_MILLENIUM=y

arch/powerpc/configs/skiroot_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ CONFIG_SENSORS_IBMPOWERNV=m
214214
CONFIG_DRM=m
215215
CONFIG_DRM_AST=m
216216
CONFIG_FB=y
217-
CONFIG_FIRMWARE_EDID=y
218217
# CONFIG_VGA_CONSOLE is not set
219218
CONFIG_FRAMEBUFFER_CONSOLE=y
220219
CONFIG_LOGO=y

arch/powerpc/kernel/vdso/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ CC32FLAGSREMOVE += -fno-stack-clash-protection
6262
# 32-bit one. clang validates the values passed to these arguments during
6363
# parsing, even when -fno-stack-protector is passed afterwards.
6464
CC32FLAGSREMOVE += -mstack-protector-guard%
65+
# ftrace is disabled for the vdso but arch/powerpc/Makefile adds this define to
66+
# KBUILD_CPPFLAGS, which enables use of the 'patchable_function_entry'
67+
# attribute in the 'inline' define via 'notrace'. This attribute is not
68+
# supported for the powerpcle target, resulting in many instances of
69+
# -Wunknown-attributes.
70+
CC32FLAGSREMOVE += -DCC_USING_PATCHABLE_FUNCTION_ENTRY
6571
endif
6672
LD32FLAGS := -Wl,-soname=linux-vdso32.so.1
6773
AS32FLAGS := -D__VDSO32__

arch/powerpc/kexec/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ GCOV_PROFILE_core_$(BITS).o := n
1616
KCOV_INSTRUMENT_core_$(BITS).o := n
1717
UBSAN_SANITIZE_core_$(BITS).o := n
1818
KASAN_SANITIZE_core.o := n
19-
KASAN_SANITIZE_core_$(BITS) := n
19+
KASAN_SANITIZE_core_$(BITS).o := n

0 commit comments

Comments
 (0)