Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp33615img; Wed, 27 Mar 2019 16:16:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJKz1iwH059dtZ/Lwj+q+h34v5NHAy//AYSBgZG0HFNup92iTCOiwfnL97+mmbGMQJfT3U X-Received: by 2002:a17:902:584:: with SMTP id f4mr40493857plf.330.1553728602883; Wed, 27 Mar 2019 16:16:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553728602; cv=none; d=google.com; s=arc-20160816; b=McdF1FeBLsasv+ImwTCv0kQ85A3d+poKY2XfQC5i/6BVtxTB4yVgVTMLfWSaPQbR8f GVXVu5nb5zAlKOQQ4bQVnCuZxIX2o/36/xiVo8vYA1z5ozZDsxlVLKd4ncEUyVOjtQ0I 4hwJmeTBPJ4wPfbvMS/mUrjb35Y3yZtXbI1tSLGNMMlr7V6+dMGR3VbmsA0O5kxAh9Yj BjDpKl7c551flEAYr2zItUpNF74l3ANq9gLDoZ3wQZ7RKouNXKrZ3/flEmQo/hRE+AHm wSFVo0+LGnnL0s+zIqaT9du/6xuoeN5D64lOhgDqymQtrzdJBihEh7PGe9HyBJm/m8NK Pq9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sbXO/VWyJiCmltAKiBOIF6+4WZxY/EdHeUCq/+V/gkU=; b=yxfuHohE/z0AieZ0PAT4FEdSdwNXV0IBHGOU60eDcmz7x/t6YZg8II2jo859Yu1oWK 2jlQ34gkjOt5nMmP50eGv89RZTjhYam9a6YPorQ5rYpuid6m4unKjU6ijJvIKEFIXNv9 M4LmEScvM90rSDJdJpQumFiRxD9OZMHwrRkeq6QO60ZnAcCEuuOtKGMqhE/T9i2F00Di w5HX0IoFP2vdVkR5m1n8HS21PN09pE1r2h5i7FVszEW+Brp6fySFqZlq5DwHiCM9uhpA zrfVu5KfqvE4W9NRXw8fZbtX/bGPM1UPIWldjDSiosLPuOKfD2LLBaCd2e3KME6mEIOL d4FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ODxVbkR6; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u18si9888494pgk.469.2019.03.27.16.16.27; Wed, 27 Mar 2019 16:16:42 -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=@chromium.org header.s=google header.b=ODxVbkR6; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728308AbfC0XPk (ORCPT + 99 others); Wed, 27 Mar 2019 19:15:40 -0400 Received: from mail-vs1-f65.google.com ([209.85.217.65]:36886 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725601AbfC0XPj (ORCPT ); Wed, 27 Mar 2019 19:15:39 -0400 Received: by mail-vs1-f65.google.com with SMTP id w13so11015312vsc.4 for ; Wed, 27 Mar 2019 16:15:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sbXO/VWyJiCmltAKiBOIF6+4WZxY/EdHeUCq/+V/gkU=; b=ODxVbkR6cVb59Srw7EmkVqTJ3SDl2tx485kKU493XWp55lV+lw5+LNag/5755s106R rqtbccvR3wEnv0m6Ub8/cMUpkHV6696pQBYMRd3+CobEb6YFpciVhR01VdBck7x855Ii js0hxSLwvcnCHW33h7m6+dFY8BVUUycLFxv2g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sbXO/VWyJiCmltAKiBOIF6+4WZxY/EdHeUCq/+V/gkU=; b=h8Uz7s5xjtLCX09SqZkSzy4LNU6QjJJwwP12rO39lF7XmHdUCsMB5+JGkckOl/j9nE Ctx6uAzMU/J5hArvCKysW45Wrcs/mFtClXLLOWa6Yvzvnjlgs8Z5MMk5HjLjsv3zCZrJ cur2c0KvSGQajTCTHLuB6tWiN11ZNkAe5iRgsNe5dYtODmoDxuCSNL9VkMDQLRHGx7j6 PbOLqRkg232tTlHn/F/kXs5/NBLMPvPUbkGmUjYrngtMXjC/xyywbYlE8EuA4U78mohl 8spkyoxqDnCyCSuSKTZ2zY9VvAgObG1zhbEIv4yTkClI3lhAWXHh4sXfC+kI5b1cdcJO CnUA== X-Gm-Message-State: APjAAAUe5ee6x/gG30Z2yO+4KxzEBxTD2MJEIzMNx/Ort6g83Fi2qvmH 9R8UlyZzMZ3KteUhkBbuSApAoXx6D68= X-Received: by 2002:a67:2f4a:: with SMTP id v71mr6426254vsv.225.1553728538597; Wed, 27 Mar 2019 16:15:38 -0700 (PDT) Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com. [209.85.217.51]) by smtp.gmail.com with ESMTPSA id c202sm5768219vke.44.2019.03.27.16.15.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2019 16:15:37 -0700 (PDT) Received: by mail-vs1-f51.google.com with SMTP id j184so11011688vsd.11 for ; Wed, 27 Mar 2019 16:15:37 -0700 (PDT) X-Received: by 2002:a67:bc01:: with SMTP id t1mr24650125vsn.149.1553728537476; Wed, 27 Mar 2019 16:15:37 -0700 (PDT) MIME-Version: 1.0 References: <20190327230801.3650-1-qiaochong@loongson.cn> In-Reply-To: <20190327230801.3650-1-qiaochong@loongson.cn> From: Doug Anderson Date: Wed, 27 Mar 2019 16:15:23 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms. To: Chong Qiao Cc: Ralf Baechle , Paul Burton , James Hogan , Daniel Thompson , Will Deacon , Christophe Leroy , linux-mips@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Mar 27, 2019 at 4:08 PM Chong Qiao wrote: > > KGDB_call_nmi_hook is called by other cpu through smp call. > MIPS smp call is processed in ipi irq handler and regs is saved in > handle_int. > So kgdb_call_nmi_hook get regs by get_irq_regs and regs will be passed > to kgdb_cpu_enter. > > Signed-off-by: Chong Qiao Since you didn't really change any content, you could have just carried my previous review. In any case I'll add my tag again: Reviewed-by: Douglas Anderson I'd also note that it's nice if you version your patches and include version history. If you need help you might consider using patman to help you send upstream patches. See: http://git.denx.de/?p=u-boot.git;a=blob;f=tools/patman/README ...never mind that it lives in the U-Boot tree--it's great for kernel work too. Thanks for contributing to the kernel! :-) -Doug