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

2024-08-23 Thread Doug Anderson
Hi Will, On Fri, Aug 23, 2024 at 3:46 AM Will Deacon wrote: > > Hi Doug, > > On Wed, Aug 21, 2024 at 02:53:57PM -0700, Douglas Anderson wrote: > > When testing hard lockup handling on my sc7180-trogdor-lazor device > > with pseudo-NMI enabled, with serial console enabled and with kgdb > > disable

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

2024-08-05 Thread Doug Anderson
Hi, On Mon, Aug 5, 2024 at 10:24 AM Will Deacon wrote: > > On Mon, Aug 05, 2024 at 10:13:11AM -0700, Doug Anderson wrote: > > On Mon, Aug 5, 2024 at 9:53 AM Will Deacon wrote: > > > On Tue, Jun 25, 2024 at 04:07:22PM -0700, Douglas Anderson wrote: > > > > @@ -

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

2024-08-05 Thread Doug Anderson
Hi, On Mon, Aug 5, 2024 at 10:26 AM Yu Zhao wrote: > > > > > + /* > > > > + * Start with a normal IPI and wait up to one second for other > > > > CPUs to > > > > + * stop. We do this first because it gives other processors a > > > > chance > > > > + * to exit critical section

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

2024-08-05 Thread Doug Anderson
Hi, On Mon, Aug 5, 2024 at 9:53 AM Will Deacon wrote: > > Hi Doug, > > On Tue, Jun 25, 2024 at 04:07:22PM -0700, Douglas Anderson wrote: > > @@ -1084,79 +1088,87 @@ static inline unsigned int > > num_other_online_cpus(void) > > > > void smp_send_stop(void) > > { > > + static unsigned long

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

2024-06-25 Thread Doug Anderson
Hi, On Mon, Jun 24, 2024 at 6:55 AM Will Deacon wrote: > > 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

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

2024-05-17 Thread Doug Anderson
Hi, On Thu, Dec 7, 2023 at 5:03 PM Douglas Anderson wrote: > > When testing hard lockup handling on my sc7180-trogdor-lazor device > with pseudo-NMI enabled, with serial console enabled and with kgdb > disabled, I found that the stack crawls printed to the serial console > ended up as a jumbled m

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

2024-05-17 Thread Doug Anderson
Hi, On Fri, Apr 12, 2024 at 6:55 AM Will Deacon wrote: > > Hi Doug, > > I'm doing some inbox Spring cleaning! No worries. I got your reply while I was on a bunch of business travel and finally cleared stuff out enough to take a look again. ;-) > On Thu, Dec 07, 2023 at 05:02:56PM -0800, Dougla

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

2024-03-04 Thread Doug Anderson
Hi, On Fri, Mar 1, 2024 at 8:06 AM Mark Rutland wrote: > > Hi Doug, > > On Tue, Feb 27, 2024 at 04:57:31PM -0800, Doug Anderson wrote: > > On Mon, Jan 8, 2024 at 4:54 PM Doug Anderson wrote: > > > On Thu, Dec 7, 2023 at 5:03 PM Douglas Anderson > > > wro

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

2024-02-29 Thread Doug Anderson
Hi, On Wed, Feb 28, 2024 at 5:11 AM Daniel Thompson wrote: > > > I'm still hoping to get some sort of feedback here. If people think > > this is a terrible idea then I'll shut up now and leave well enough > > alone, but it would be nice to actively decide and get the patch out > > of limbo. > > I

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

2024-02-27 Thread Doug Anderson
Hi, On Mon, Jan 8, 2024 at 4:54 PM Doug Anderson wrote: > > Hi, > > On Thu, Dec 7, 2023 at 5:03 PM Douglas Anderson wrote: > > > > When testing hard lockup handling on my sc7180-trogdor-lazor device > > with pseudo-NMI enabled, with serial console enabled and w

Re: [PATCH] proc: allow restricting /proc/pid/mem writes

2024-02-26 Thread Doug Anderson
Hi, On Mon, Feb 26, 2024 at 2:33 PM Adrian Ratiu wrote: > > > > [...] > > > +config SECURITY_PROC_MEM_RESTRICT_WRITES > > > > Instead of a build-time CONFIG, I'd prefer a boot-time config (or a > > sysctl, but that's be harder given the perms). That this is selectable > > by distro users, etc, an

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

2024-01-08 Thread Doug Anderson
Hi, On Thu, Dec 7, 2023 at 5:03 PM Douglas Anderson wrote: > > When testing hard lockup handling on my sc7180-trogdor-lazor device > with pseudo-NMI enabled, with serial console enabled and with kgdb > disabled, I found that the stack crawls printed to the serial console > ended up as a jumbled m

Re: [PATCH 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered

2023-11-06 Thread Doug Anderson
Hi, On Mon, Nov 6, 2023 at 1:49 PM Stephen Boyd wrote: > > Quoting Douglas Anderson (2023-11-03 16:34:27) > > On sc7180 when the watchdog timer fires your logs get filled with: > > watchdog0: pretimeout event > > watchdog0: pretimeout event > > watchdog0: pretimeout event > > ... > > wa