Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp761793ybb; Thu, 28 Mar 2019 11:38:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxThQkPEBLBjTcAnajqeDXvC9RF52gt/+vsNnclqX/HTOgx7YdwbHHhPqbUvk+znKVsbUvc X-Received: by 2002:a62:1197:: with SMTP id 23mr42425842pfr.210.1553798319818; Thu, 28 Mar 2019 11:38:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553798319; cv=none; d=google.com; s=arc-20160816; b=ujKLTgzsW+MH+BHD99cSMdqD+ZotQzaYdNrVYiw/50n4s8xGDZilgCgvFSrjXM/cyK h/bgU3wD7vg9082GDkJ8LtlYjptanl8onBbSucICyuGI9agQ4K5fOICZ3cPwZId6hTdT Ao+H+S61/+7fr03ce2wp7oB12Oe8GCoWS10ZQoksmw2DlCpOurseyWhp6Gd77GgoKRd5 Knp5jgN34+hZjgyp0tG6KlCZyLcBAf2YOdDmU9YXp5aAk6/XTEMeUPLuN97xujGu0A4J Zrpd/UylF4jWYebHjASb5bZhP0J1j1ZhQAhNDJr74Qrt/w4GM0TCnHjB/0DA12JSXUpl 00xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=vylG/maNRT5Vk4kMiOPmKTyOvQgEO673l7CMQbi+Qos=; b=DYdnbXi7bHxuhtKDFCce4gjYPzFaQPLDpa1u5F/9/47j7VBLz0LNnLKwaUcPZFlGQb JvaFFgMqVjBttbXK01XF0kjL4U6ld0AGxe26MkiYIsWZ7alKP85wPi0bDxiUsIbC+GH0 FWMiBM8ozXaG4Cuc2Hj0TefZ9G5Q+gUvMSV1CKxpJdIbzjPdwpIjiV+bgeroUJLumSnu FWO18zMGu78WB1XRQIVd69YZS/bikMF8+HbbgdcQJp/WBASaqiHplYVcHY2jAXeWmqKy t4K3n7JBdcW4a3rQ3S6GSehpPpP3MyWBNn6ExJzafk9aEEYKLktw5Hgb+RazoogqjEdh vr0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=ZH0UsiIi; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i7si18702616plt.332.2019.03.28.11.38.23; Thu, 28 Mar 2019 11:38:39 -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=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=ZH0UsiIi; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726148AbfC1Sgb (ORCPT + 99 others); Thu, 28 Mar 2019 14:36:31 -0400 Received: from mail-eopbgr810117.outbound.protection.outlook.com ([40.107.81.117]:6468 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725852AbfC1Sgb (ORCPT ); Thu, 28 Mar 2019 14:36:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavesemi.onmicrosoft.com; s=selector1-wavecomp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vylG/maNRT5Vk4kMiOPmKTyOvQgEO673l7CMQbi+Qos=; b=ZH0UsiIi87+CrbV5gcbE8XA4rfj1iJ1T23o4YHNZvjRqgR50Us3v7WT4v/T0xUGRIbKSODgLyh5sOlquV4FhsE31VPZjsCJy/Vtml/ZXRooqNViQnhzJnc7vKrtOGbhEXT+69cegeRe8DLzzkedwFQ5W18Uirgo6Oqk/EHcfhVE= Received: from CY4PR2201MB1272.namprd22.prod.outlook.com (10.171.214.23) by CY4PR2201MB1398.namprd22.prod.outlook.com (10.171.210.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.17; Thu, 28 Mar 2019 18:36:27 +0000 Received: from CY4PR2201MB1272.namprd22.prod.outlook.com ([fe80::3814:18cc:d558:6039]) by CY4PR2201MB1272.namprd22.prod.outlook.com ([fe80::3814:18cc:d558:6039%11]) with mapi id 15.20.1730.019; Thu, 28 Mar 2019 18:36:27 +0000 From: Paul Burton To: Chong Qiao CC: Ralf Baechle , Paul Burton , James Hogan , Daniel Thompson , Douglas Anderson , Will Deacon , Christophe Leroy , "linux-mips@vger.kernel.org" , "linux-kernel@vger.kernel.org" , QiaoChong , "linux-mips@vger.kernel.org" Subject: Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms. Thread-Topic: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms. Thread-Index: AQHU5PH9J8Dd0gxRcUm1uZa7cgDoXaYhYGeA Date: Thu, 28 Mar 2019 18:36:27 +0000 Message-ID: References: <20190327230801.3650-1-qiaochong@loongson.cn> In-Reply-To: <20190327230801.3650-1-qiaochong@loongson.cn> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR11CA0089.namprd11.prod.outlook.com (2603:10b6:a03:f4::30) To CY4PR2201MB1272.namprd22.prod.outlook.com (2603:10b6:910:6e::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2601:647:4100:4687:76db:7cfe:65a3:6aea] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4ce52ca1-af10-44a8-0c34-08d6b3ac49ab x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:CY4PR2201MB1398; x-ms-traffictypediagnostic: CY4PR2201MB1398: x-microsoft-antispam-prvs: x-forefront-prvs: 0990C54589 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(376002)(136003)(346002)(366004)(39840400004)(199004)(189003)(33656002)(6246003)(11346002)(46003)(102836004)(4326008)(446003)(386003)(6506007)(186003)(256004)(105586002)(53936002)(106356001)(42882007)(4744005)(9686003)(81166006)(81156014)(316002)(76176011)(68736007)(97736004)(54906003)(8676002)(55016002)(44832011)(229853002)(7696005)(71190400001)(99286004)(71200400001)(52116002)(8936002)(14454004)(6116002)(478600001)(7736002)(5660300002)(52536014)(74316002)(25786009)(476003)(6436002)(2906002)(486006)(305945005)(6916009);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR2201MB1398;H:CY4PR2201MB1272.namprd22.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Cw3aYGirKt5coaijuR8O3+JWBumie1f9NsXYGp0VzfE5SdXcQU3lEcInzW3HGfVsDEidPyDAPZD0N0cuP2P91xaDfOzaWU6X+cU7vnX2OqUp190yrTQm9rDFtu+YC9CMT4a+pg/uATbAG/HajiXTiAV2FGb1cUFv2qopf6DvJ6nkaokW1cVNwWHHIKRyVTfLzo+9QtCSOBRpVLLZgPORUM9hk6YdPubIUuWtwdzA8TpJ6Z7imjNoucrjTLNL8pw5dYbbFaZnC/7pxlVjvtu8BHV7L4GRQHs6hSwFufOqbl8YWM0bHEvE0e2t+mGIMMJkSFz7SZ5IIxhQvJCB540BBpwKBgdTJ06h4rcQc8HCsh7vGqpI/0TaGd03Vk0BkegVujDygc8x2fxGlDKf2vPsyfbwP25JCNvGa7qLjZr8KnQ= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ce52ca1-af10-44a8-0c34-08d6b3ac49ab X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2019 18:36:27.5470 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR2201MB1398 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, 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. >=20 > Signed-off-by: Chong Qiao > Reviewed-by: Douglas Anderson > Acked-by: Daniel Thompson Applied to mips-fixes. Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paul.burton@mips.com to report it. ]