Re: [PATCH v4 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-06-24 Thread Lee Jones
On Sat, 22 Jun 2024, André Apitzsch wrote: > Hello Lee, > > Am Freitag, dem 21.06.2024 um 11:26 +0100 schrieb Lee Jones: > > On Sun, 16 Jun 2024, André Apitzsch via B4 Relay wrote: > > > > > From: André Apitzsch > > > > > > The SY7802 is a current-regulated charge pump which can regulate > > >

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

2024-06-24 Thread Michael Ellerman
On Fri, 14 Jun 2024 23:08:44 +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! > Oops: Exception in kernel mode, si

Re: [PATCH] arm64: smp: smp_send_stop() and crash_smp_send_stop() should try non-NMI first

2024-06-24 Thread Will Deacon
On Fri, May 17, 2024 at 01:01:51PM -0700, Doug Anderson wrote: > On Fri, Apr 12, 2024 at 6:55 AM Will Deacon wrote: > > On Thu, Dec 07, 2023 at 05:02:56PM -0800, Douglas Anderson wrote: > > > In order to do this we also need a slight change in the way we keep > > > track of which CPUs still need t

Re: [PATCH] arm64: smp: smp_send_stop() and crash_smp_send_stop() should try non-NMI first

2024-06-24 Thread Will Deacon
On Fri, May 17, 2024 at 01:01:58PM -0700, Doug Anderson wrote: > On Thu, Dec 7, 2023 at 5:03 PM Douglas Anderson wrote: > > local_irq_disable(); > > The above local_irq_disable() is not new for my patch but it seems > wonky for two reasons: > > 1. It feels like it should have been the fi

[PATCH v5 0/3] Add sy7802 flash led driver

2024-06-24 Thread André Apitzsch via B4 Relay
This series introduces a driver for the Silergy SY7802 charge pump used in the BQ Aquaris M5 and X5 smartphones. The implementation is based on information extracted from downstream as the datasheet provided by a distributor of the hardware didn't include any information about the i2c register des

[PATCH v5 3/3] arm64: dts: qcom: msm8939-longcheer-l9100: Add rear flash

2024-06-24 Thread André Apitzsch via B4 Relay
From: André Apitzsch The phone has a Silergy SY7802 flash LED controller. Signed-off-by: André Apitzsch --- .../boot/dts/qcom/msm8939-longcheer-l9100.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts b/arc

[PATCH v5 2/3] leds: sy7802: Add support for Silergy SY7802 flash LED controller

2024-06-24 Thread André Apitzsch via B4 Relay
From: André Apitzsch The SY7802 is a current-regulated charge pump which can regulate two current levels for Flash and Torch modes. It is a high-current synchronous boost converter with 2-channel high side current sources. Each channel is able to deliver 900mA current. Acked-by: Lee Jones Sign

[PATCH v5 1/3] dt-bindings: leds: Add Silergy SY7802 flash LED

2024-06-24 Thread André Apitzsch via B4 Relay
From: André Apitzsch Document Silergy SY7802 flash LED driver devicetree bindings. Reviewed-by: Rob Herring Signed-off-by: André Apitzsch --- .../devicetree/bindings/leds/silergy,sy7802.yaml | 100 + 1 file changed, 100 insertions(+) diff --git a/Documentation/devicetre

[PATCH v3] x86/traps: Enable UBSAN traps on x86

2024-06-24 Thread Gatlin Newhouse
Currently ARM architectures output which specific sanitizer caused the trap, via the encoded data in the trap instruction. Clang on x86 currently encodes the same data in ud1 instructions but the x86 handle_bug() and is_valid_bugaddr() functions currently only look at ud2s. Bring x86 to parity wit