Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3027972ybc; Thu, 14 Nov 2019 02:54:49 -0800 (PST) X-Google-Smtp-Source: APXvYqx58OK96sY+RPB2o/mQhPMoVa+KpQNk9/667YH30OkxSd6RUbDGL/mFHGmZouH46jUAaDok X-Received: by 2002:a17:906:7344:: with SMTP id h4mr7758743ejl.30.1573728889374; Thu, 14 Nov 2019 02:54:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573728889; cv=none; d=google.com; s=arc-20160816; b=qsU6YuwE/FUUTfiDYJWV2XF1Wdr8btl1zEjZmxOAJfpIjbNkqhfpS0udhiSYQpDqVC 8WVi41mOGMbm1LW4Yvhrdn+pXZ1+LhubPWI7Nge9sVmzH6SFVNW0++JMkHau4zcZlDry QhAz+2SQZ+5GFXOAm9erT1oN+wMGMpAntcJzyUeiMLS4WQBayKgrK8rBeUzj42yuaxDA SdxcQHVHajYRZu4bjZ7CsRSjlAa5eii8qNhi7Wv+uAVcYEhaZ/SN8O+a21cmEe4M90SU 30NCjUKJI93udS+nIUff3bZvtVF1auZ4ELqKVKxg/Q2xitPU3PIRApH3EZf6TprQOTfB tKcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Em/ldcBTiCkH89iKxfabm8RKdGIliRRbSNYWY3rbkD4=; b=RuU6IoF67jUp2Fc4x3A5h+Q4cILW6EmVmKbaBjcsHyqzTA0mCFchFln8h6hlMFBTv6 434MJoz4b4H13fQnPIgHW3+NaKI+DSOIBFgdCo5/GRhohv0hLmSIeYWhPZONhNO0cKHK uPRmTwK7JaEEweJTW1Cw7VTPyCssqfnb17QSw6wXr3ywJKDbY+vntX01ODo5wS1NPRbY 9Azgycw+5U4aIyS6EOXgdOxTM0u7eYEkTT5tbCnKuIdk/hs5DXkikoxDq+Xv2dPLwRor dyuBCgSeqVjDz+SCxBqF0UhVgGStxERhXWweVftDPugbQc4c9gk/+3oqqv5wSJBzpsAh XBDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M8nTD+rJ; 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 y24si3356287edm.333.2019.11.14.02.54.24; Thu, 14 Nov 2019 02:54:49 -0800 (PST) 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=M8nTD+rJ; 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 S1726319AbfKNKvb (ORCPT + 99 others); Thu, 14 Nov 2019 05:51:31 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33647 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726057AbfKNKvb (ORCPT ); Thu, 14 Nov 2019 05:51:31 -0500 Received: by mail-wr1-f66.google.com with SMTP id w9so5931481wrr.0 for ; Thu, 14 Nov 2019 02:51:29 -0800 (PST) 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; bh=Em/ldcBTiCkH89iKxfabm8RKdGIliRRbSNYWY3rbkD4=; b=M8nTD+rJCM8aJ5Gr+BGRla3e74JOsongzpE3NPb9CW5En3sYtp6dkkCANBdmu4Jz2s 3OovYM867yc+76ka0oIsnRZejqkVigTGWm/uX95LvJ9x/pfP7Ix456YKay2EgrcHPD7A r9X7n5J9D009fVndtxJF4c+IIwCeUq2zUdrH+nIp1EvedN9F9mGioF+zdNxdEqdxrPUi Qqr1SAFoGmSsxqs7etJR+8ZT+CjFyyrD0+ZkN9nH26YDuPtCvrmPheCA+N9ZpnjeddS4 e8mkvd7L7Re3XqcJxui7bEIxMOhn+iMBKr0rJR+nBxluy05X8FHUEGA5gZbei/8UixgF 1mVw== 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; bh=Em/ldcBTiCkH89iKxfabm8RKdGIliRRbSNYWY3rbkD4=; b=arqR4kZ7Ty3IZPdvmNR+zZ8z61Myo0YYZXvaYKWMGXqJ+i9y/NRfs3sLekXVg+sCly rpP6uwdMOHCfQ7hNg4PC8Jn1k8RIdJLXUJXlAMF1zpQ0tgyX13bdSbe1wNAKFKJhY85j aPwdQbnv3/ZYw49AUOswL+p9DH9PF5h/E9ae9V8c8ctunow/E6pjMyzjCeKq18n/ovmv hqouBWoqAqViISE3HbyRvXGPud/UGsywDduuUYZy2WHCDuDiRCT7FSBTx5i9v9fl26X6 sM0Vt0ojHFKgpE7OpMp/gx2DYvHRY8tP5AG2av46X8diarvUWpoLAUuzCwFzbefSxOI2 ULrQ== X-Gm-Message-State: APjAAAVe36qCbsx+C+FxzwuSXTcdzAKitsL8famwoMCTnbgKa2cec8VD h7mBrpFy6wGjINIxjHIjQvdrFw== X-Received: by 2002:a5d:4608:: with SMTP id t8mr7789448wrq.91.1573728688622; Thu, 14 Nov 2019 02:51:28 -0800 (PST) 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 k14sm7236681wrw.46.2019.11.14.02.51.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2019 02:51:27 -0800 (PST) Date: Thu, 14 Nov 2019 10:51:25 +0000 From: Daniel Thompson To: Douglas Anderson Cc: Paul Burton , Jason Wessel , qiaochong@loongson.cn, kgdb-bugreport@lists.sourceforge.net, ralf@linux-mips.org, Sebastian Andrzej Siewior , James Hogan , Mike Rapoport , "Eric W. Biederman" , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Serge Semin , Andrew Morton Subject: Re: [PATCH 1/5] MIPS: kdb: Remove old workaround for backtracing on other CPUs Message-ID: <20191114105125.t3jma3ghwj2wtv6w@holly.lan> References: <20191109191644.191766-1-dianders@chromium.org> <20191109111623.1.I30a0cac4d9880040c8d41495bd9a567fe3e24989@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191109111623.1.I30a0cac4d9880040c8d41495bd9a567fe3e24989@changeid> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 09, 2019 at 11:16:40AM -0800, Douglas Anderson wrote: > As of commit 2277b492582d ("kdb: Fix stack crawling on 'running' CPUs > that aren't the master") we no longer need any special case for doing > stack dumps on CPUs that are not the kdb master. Let's remove. > > Signed-off-by: Douglas Anderson > --- > I have no way to test this personally, so hopefully someone who uses > kdb/kgdb on MIPS can. I took this as a hint to add mips support to kgdbtest ;-) Support is added and working well. Unfortunately lack of familiarity with mips means I have not yet figured out which mips defconfig gives us working SMP (and what the corresponding qemu invocation should be). I think that means I still can't (quite) exercise this code fully. The most appropriate test is bta on an SMP system, right? > Ideally this patch should be Acked by MIPS folks and then land through > the kdb/kgdb tree since the next patch in the series, ("kdb: > kdb_current_regs should be private") depends on it. An Acked-by from a MIPS maintainer would be very welcome. Perhaps with a bit of extra work on the above I might be able to provide a Tested-by:. I didn't see anything that particularly bothered me in the patches but given we're already at -rc7 I'm inclined to target this patchset for 5.6 rather than 5.5. Daniel.