Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4609815imd; Tue, 30 Oct 2018 04:57:20 -0700 (PDT) X-Google-Smtp-Source: AJdET5f2nvVd4Ryg6fFBHDEf/VWRIDnnGplibESq0ORF3Nilo57u4DxMj8XVk99Aoci7tzLV08wZ X-Received: by 2002:a63:6fc7:: with SMTP id k190-v6mr1505968pgc.360.1540900640099; Tue, 30 Oct 2018 04:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540900640; cv=none; d=google.com; s=arc-20160816; b=fDbBEnurJJILwRY20LJYka1bot7F1KmkaA/b3GmVULd+xBrfuFR9iYe6X8Wh0909DP 9U3mTd1lTc7Q53lKX7R1lxWimqc+WDeykm/i8shZh6mbez5UL5J6ZAQQDZpL4Ys+1zJs EftCca6fQYHpIm8Hgu732Y1Ljkv/PhddZm+yCA3MH5Zdz0b7cLzKgdhuaYXBaturgp3V jDWXhpjCLmDFm+HRkBxBWbp2eWyMS+/pXEfUxnBqdWtXhjYOwPR71jEVxfVsX1TMMkZT VvKa01XLfLn6h523WPDq/yAGEXS4gD1nojxJ9WTnAHqyGJAgnQnENm+4aBaOJQnDkCkP T+Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NDvJHuJEHcXrFbYGamseXrE+75OV340d/Bj4qXMmHmA=; b=agT5HDdtqaYzL3aU+xdr4nY5x0e4WwYfycKT40j/HXfEJaImLbAZ4+amCituuezXai sjHwkfBgs4IBZsdS5AVCLsyxd8bPiqOBkf1WAwWp3m3YwhKEoCYbrJ8VYk2Sunxy+5BI //6vMO1UUpQKTWoOsuRtuOvEQGo6pPcVgc7HAoY/Ah0ZOFBDXICW62JHPM4I3rpbIAae +Lm5WFIFF3kJJostRL7eN3VMcJqCuIoy69PvESfFNwP2BeDZ6MueQdb7aBJnVZi0NCb4 Y+EDXQdsU6/oE449Zq7LrQyGz67YgRIltGsLzKBfD69HUP0KetVm0UTaLnWXCiPs2NQS bxpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IvqKv2ph; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m26-v6si8087752pfe.80.2018.10.30.04.57.04; Tue, 30 Oct 2018 04:57:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IvqKv2ph; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727787AbeJ3Utp (ORCPT + 99 others); Tue, 30 Oct 2018 16:49:45 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41619 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727719AbeJ3Utp (ORCPT ); Tue, 30 Oct 2018 16:49:45 -0400 Received: by mail-wr1-f66.google.com with SMTP id x12-v6so12255268wrw.8 for ; Tue, 30 Oct 2018 04:56:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=NDvJHuJEHcXrFbYGamseXrE+75OV340d/Bj4qXMmHmA=; b=IvqKv2phANn9ENDJoFpYpJnTnIt78SMmotjGy22aZB6VLJnn8qGyYGCtEBpZshx13H +6N0OREHQV7oJVEU7Gg1vvsTl6DwEFCO/IXnxLSPzn4jlsuLJfhBoykqF2at2ijT7PWg LrBIAA+5tRvzbUFrtPwbsOQDgHUNcuJcP5HjU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=NDvJHuJEHcXrFbYGamseXrE+75OV340d/Bj4qXMmHmA=; b=B+RUA/uM+v+hs4MlWdBQsW+DTUG/cIggNc6YyJyAxF7DVt0AGQCQbhCcHOvMy2CGZR j7s0whSY+UCfPW9iBg/mUbIobu1pEELahdqYFKzZ1RDgEEdUaC5RnLQTGceKKD3A7bvh 4EW0EenxV8YJkV3Yniv5Md48wl/J1jv9LxCzKagATtmSU5uSMljcX3v0SFKQVJmkC1Sv +B6iRMwQ3YI4HTtwHTb/gewovoVJGuMJttr+y0jfRM+VDeA3Nygj1altfpiKtDYB1nMh EZJsejY5OZFNEGBBNWTKd74lDywWf0csbMlPsZnEQjZJ57inEGKbhUHocfbIWniGNzsc OvkA== X-Gm-Message-State: AGRZ1gIn7vX4XYQ3R/Dun6UWldHprmvamZ8rHDHIpHSS7EPirGWFFC0i b3D5NR+Fe8JZkmH/pZpi6VMx0A== X-Received: by 2002:a5d:558b:: with SMTP id i11-v6mr16965334wrv.38.1540900592403; Tue, 30 Oct 2018 04:56:32 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id 82-v6sm29949173wms.17.2018.10.30.04.56.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Oct 2018 04:56:31 -0700 (PDT) Date: Tue, 30 Oct 2018 11:56:28 +0000 From: Daniel Thompson To: Douglas Anderson Cc: Jason Wessel , tglx@linutronix.de, mingo@kernel.org, gregkh@linuxfoundation.org, linux-arm-msm@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, nm@ti.com, linux-mips@linux-mips.org, dalias@libc.org, catalin.marinas@arm.com, vigneshr@ti.com, linux-aspeed@lists.ozlabs.org, linux-sh@vger.kernel.org, peterz@infradead.org, will.deacon@arm.com, mhocko@suse.com, paulus@samba.org, hpa@zytor.com, sparclinux@vger.kernel.org, marex@denx.de, sfr@canb.auug.org.au, ysato@users.sourceforge.jp, linux-hexagon@vger.kernel.org, x86@kernel.org, linux@armlinux.org.uk, pombredanne@nexb.com, tony@atomide.com, mingo@redhat.com, joel@jms.id.au, linux-serial@vger.kernel.org, rolf.evers.fischer@aptiv.com, jhogan@kernel.org, asierra@xes-inc.com, linux-snps-arc@lists.infradead.org, dan.carpenter@oracle.com, ying.huang@intel.com, riel@surriel.com, frederic@kernel.org, jslaby@suse.com, paul.burton@mips.com, rppt@linux.vnet.ibm.com, bp@alien8.de, luto@kernel.org, andriy.shevchenko@linux.intel.com, linux-arm-kernel@lists.infradead.org, christophe.leroy@c-s.fr, andrew@aj.id.au, linux-kernel@vger.kernel.org, ralf@linux-mips.org, rkuo@codeaurora.org, Jisheng.Zhang@synaptics.com, vgupta@synopsys.com, benh@kernel.crashing.org, jk@ozlabs.org, mpe@ellerman.id.au, akpm@linux-foundation.org, linuxppc-dev@lists.ozlabs.org, davem@davemloft.net, kstewart@linuxfoundation.org Subject: Re: [PATCH 0/7] serial: Finish kgdb on qcom_geni; fix many lockdep splats w/ kgdb Message-ID: <20181030115628.eqtyqdugkpkxvyr2@holly.lan> References: <20181029180707.207546-1-dianders@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181029180707.207546-1-dianders@chromium.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 29, 2018 at 11:07:00AM -0700, Douglas Anderson wrote: > Looking back, this is pretty much two series squashed that could be > treated indepdently. The first is a serial series and the second is a > kgdb series. Indeed. I couldn't work out the link between the first 5 patches and the last 2 until I read this... Is anything in the 01->05 patch set even related to kgdb? From the stack traces it looks to me like the lock dep warning would trigger for any sysrq. I think separating into two threads for v2 would be sensible. Daniel. > > For all serial patches I'd expect them to go through the tty tree once > they've been reviewed. > > If folks are OK w/ the 'smp' patch it probably should go in some core > kernel tree. The kgdb patch won't work without it, though, so to land > that we'd need coordination between the folks landing that and the > folks landing the 'smp' patch. > > > Douglas Anderson (7): > serial: qcom_geni_serial: Finish supporting sysrq > serial: core: Allow processing sysrq at port unlock time > serial: qcom_geni_serial: Process sysrq at port unlock time > serial: core: Include console.h from serial_core.h > serial: 8250: Process sysrq at port unlock time > smp: Don't yell about IRQs disabled in kgdb_roundup_cpus() > kgdb: Remove irq flags and local_irq_enable/disable from roundup > > arch/arc/kernel/kgdb.c | 4 +-- > arch/arm/kernel/kgdb.c | 4 +-- > arch/arm64/kernel/kgdb.c | 4 +-- > arch/hexagon/kernel/kgdb.c | 11 ++---- > arch/mips/kernel/kgdb.c | 4 +-- > arch/powerpc/kernel/kgdb.c | 2 +- > arch/sh/kernel/kgdb.c | 4 +-- > arch/sparc/kernel/smp_64.c | 2 +- > arch/x86/kernel/kgdb.c | 9 ++--- > drivers/tty/serial/8250/8250_aspeed_vuart.c | 6 +++- > drivers/tty/serial/8250/8250_fsl.c | 6 +++- > drivers/tty/serial/8250/8250_omap.c | 6 +++- > drivers/tty/serial/8250/8250_port.c | 8 ++--- > drivers/tty/serial/qcom_geni_serial.c | 10 ++++-- > include/linux/kgdb.h | 9 ++--- > include/linux/serial_core.h | 38 ++++++++++++++++++++- > kernel/debug/debug_core.c | 2 +- > kernel/smp.c | 4 ++- > 18 files changed, 80 insertions(+), 53 deletions(-) > > -- > 2.19.1.568.g152ad8e336-goog >