Re: [PATCH] powerpc/pseries: Whitelist dtl slub object for copying to userspace

2024-06-18 Thread Michael Ellerman
Kees Cook writes: > On Fri, Jun 14, 2024 at 11:08:44PM +0530, Anjali K wrote: >> Reading the dispatch trace log from /sys/kernel/debug/powerpc/dtl/cpu-* >> results in a BUG() when the config CONFIG_HARDENED_USERCOPY is enabled as >> shown below. >> >> kernel BUG at mm/usercopy.c:102! >> O

Re: [PATCH v4 0/3] Hardening perf subsystem

2024-06-18 Thread Peter Zijlstra
On Mon, Jun 17, 2024 at 10:28:20AM -0700, Kees Cook wrote: > But, using type attributes we have much more flexibility. Hence, the > proposed "wraps" attribute: > https://github.com/llvm/llvm-project/pull/86618 So I still think that's going about things backwards. unsigned explicitly wraps. signe

Re: [PATCH v4 0/3] Hardening perf subsystem

2024-06-18 Thread Peter Zijlstra
On Mon, Jun 17, 2024 at 10:19:15AM -0700, Kees Cook wrote: > On Fri, Jun 14, 2024 at 12:17:08PM +0200, Peter Zijlstra wrote: > > On Wed, Jun 12, 2024 at 04:23:31PM -0700, Kees Cook wrote: > > > On Thu, Jun 13, 2024 at 12:08:21AM +0200, Peter Zijlstra wrote: > > > > On Wed, Jun 12, 2024 at 12:01:19P

Re: [PATCH] remove AND operation in choose_random_kstack_offset()

2024-06-18 Thread Mark Rutland
Hi Arnd, On Mon, Jun 17, 2024 at 10:33:08PM +0200, Arnd Bergmann wrote: > On Mon, Jun 17, 2024, at 20:22, Kees Cook wrote: > > On Mon, Jun 17, 2024 at 04:52:15PM +0100, Mark Rutland wrote: > >> On Mon, Jun 17, 2024 at 01:37:21PM +, Yuntao Liu wrote: > >> > Since the offset would be bitwise AND

Re: [PATCH] remove AND operation in choose_random_kstack_offset()

2024-06-18 Thread Arnd Bergmann
On Tue, Jun 18, 2024, at 12:45, Mark Rutland wrote: > On Mon, Jun 17, 2024 at 10:33:08PM +0200, Arnd Bergmann wrote: >> On Mon, Jun 17, 2024, at 20:22, Kees Cook wrote: >> > On Mon, Jun 17, 2024 at 04:52:15PM +0100, Mark Rutland wrote: > Sorry, to be clear, I'm happy for this to change, so long as

Re: [PATCH] remove AND operation in choose_random_kstack_offset()

2024-06-18 Thread Mark Rutland
On Tue, Jun 18, 2024 at 01:14:58PM +0200, Arnd Bergmann wrote: > On Tue, Jun 18, 2024, at 12:45, Mark Rutland wrote: > > On Mon, Jun 17, 2024 at 10:33:08PM +0200, Arnd Bergmann wrote: > >> On Mon, Jun 17, 2024, at 20:22, Kees Cook wrote: > >> > On Mon, Jun 17, 2024 at 04:52:15PM +0100, Mark Rutland

Re: [PATCH v5 2/4] interconnect: qcom: sc7280: enable QoS configuration

2024-06-18 Thread Konrad Dybcio
On 6/7/24 19:39, Odelu Kukatla wrote: Enable QoS configuration for master ports with predefined values for priority and urgency forawrding. Signed-off-by: Odelu Kukatla --- msm-5.4 also has a qhm_gic node with QoS offset 0x9000, is that of any importance, or can we forget it exists? LGTM

Re: [PATCH v5 4/4] arm64: dts: qcom: sc7280: Add clocks for QOS configuration

2024-06-18 Thread Konrad Dybcio
On 6/7/24 19:39, Odelu Kukatla wrote: Add clocks which need to be enbaled for configuring QoS on sc7280. Signed-off-by: Odelu Kukatla --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH v4 1/4] interconnect: qcom: icc-rpmh: Add QoS configuration support

2024-06-18 Thread Konrad Dybcio
On 5/28/24 16:52, Odelu Kukatla wrote: Hi Konrad, On 5/8/2024 8:07 AM, Mike Tipton wrote: On Sat, Apr 13, 2024 at 09:31:47PM +0200, Konrad Dybcio wrote: On 3.04.2024 10:45 AM, Odelu Kukatla wrote: On 3/27/2024 2:26 AM, Konrad Dybcio wrote: On 25.03.2024 7:16 PM, Odelu Kukatla wrote: It

Re: [PATCH v5 1/4] interconnect: qcom: icc-rpmh: Add QoS configuration support

2024-06-18 Thread Konrad Dybcio
On 6/7/24 19:39, Odelu Kukatla wrote: Add QoS support for QNOC device for configuring priority, priority forward disable and urgency forwarding. QoS is required to prioritize the traffic originating from different interconnect masters at NoC (Network On Chip). Signed-off-by: Odelu Kukatla --

mips gcc plugin issues

2024-06-18 Thread Jeff Johnson
I'm trying to do an allmodconfig build for ARCH=mips using: https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/13.2.0/x86_64-gcc-13.2.0-nolibc-mips-linux.tar.gz This build dies quickly with: CC scripts/mod/empty.o cc1: error: cannot load plugin ./scripts/gcc-plugins/rando