Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp415910ima; Thu, 31 Jan 2019 19:38:15 -0800 (PST) X-Google-Smtp-Source: AHgI3IZThm5h8k8HuKNGLtYV0tSrIvTvdeJWQuJEarG+oN6e2OeN55XDwtHdLR+sJg8BD8T4Fspd X-Received: by 2002:a63:ca02:: with SMTP id n2mr660859pgi.187.1548992295152; Thu, 31 Jan 2019 19:38:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548992295; cv=none; d=google.com; s=arc-20160816; b=Hn38MoNs+X+JblvYitdcrIQUZegl8l9Lhj1r7VwuWXxrkn/7jJFJ5pTTnW6ffRyjBO Tuyn/QuS3p0FSTUJSjFAqN759oPWI69VBF+qfUojpkbf3iQaTxN95t1RiQwrUxBv5zX/ TcyKUuDovYUtq99zu8GHJ+iwtSGlxbJSbILlhz97ECnWUMltLzO3t1wo06lJ9IfLw8dq KJxKX3+g/wIZAczCOIUCplueoFByEaqw0utUZ3JkcQBF7ef/9l+LZrVK8cSPSidKjnjW zfOQAUmIqaPXg6+mA6OvjqUdZLB6sac/KZMlOAGhKKNSwH0wV6EquYzxXq2f9SjD+ZVP p9tA== 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; bh=UVc92NMFr/xDYS2hdBjAM9f3fhGA/c8jab99tltwY9M=; b=ndAo+sQ6u0kxiWndtlIGLRrPEhdX1S1BxgEMgmM85QxKEaVlIe+tFM4/6EJJKMiLLB 8j0PFljfZkTKbxSZRRlja9Szwj/Lab7C9xGdY+RGZr4ipHUDudWZguMXjlySrx/l86mA okgk1v+l/9g8/8UoENC8kYeHRSUKQhMr1A3o7D+SlfX7zvd/oVWoYIO2GYOSXvVe3CU0 a0GxWTeNK3ANdk2hGDxjcx4Q/5MgxeplDCK9TUV+Xze8aYW092nQ2WUIpkDXr0CIB59v V/hjVXfd1jq1vFmfFGIBzmB3/gRuSp1NCO7e5MuewZ6F+8AAmsfpDio8cfZIAiTXKU+x P7aQ== ARC-Authentication-Results: i=1; mx.google.com; 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 i35si6307531plg.396.2019.01.31.19.37.59; Thu, 31 Jan 2019 19:38:15 -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; 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 S1728834AbfBADXm (ORCPT + 99 others); Thu, 31 Jan 2019 22:23:42 -0500 Received: from mail.windriver.com ([147.11.1.11]:54705 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725807AbfBADXl (ORCPT ); Thu, 31 Jan 2019 22:23:41 -0500 Received: from ALA-HCB.corp.ad.wrs.com ([147.11.189.41]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id x113NQGI018477 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 31 Jan 2019 19:23:27 -0800 (PST) Received: from ALA-MBD.corp.ad.wrs.com ([169.254.3.97]) by ALA-HCB.corp.ad.wrs.com ([147.11.189.41]) with mapi id 14.03.0435.000; Thu, 31 Jan 2019 19:23:09 -0800 From: "Li, Meng" To: Robin Murphy , Will Deacon CC: "mark.rutland@arm.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "suzuki.poulose@arm.com" Subject: RE: Could you please help to have a look a bug trace in pmu arm-cci.c Thread-Topic: Could you please help to have a look a bug trace in pmu arm-cci.c Thread-Index: AdS22Un8FBtNV5wWSu2itgnPZkA9GACMmHkAAAGvPQAAMlHO8A== Date: Fri, 1 Feb 2019 03:23:08 +0000 Message-ID: <529F9A9100AE8045A7A5B5A00A39FBB86209CC86@ALA-MBD.corp.ad.wrs.com> References: <529F9A9100AE8045A7A5B5A00A39FBB862099B8E@ALA-MBD.corp.ad.wrs.com> <20190130182128.GM18558@fuggles.cambridge.arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.224.163.151] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUm9iaW4gTXVycGh5IFtt YWlsdG86cm9iaW4ubXVycGh5QGFybS5jb21dDQo+IFNlbnQ6IFRodXJzZGF5LCBKYW51YXJ5IDMx LCAyMDE5IDM6MTAgQU0NCj4gVG86IFdpbGwgRGVhY29uOyBMaSwgTWVuZw0KPiBDYzogbWFyay5y dXRsYW5kQGFybS5jb207IGxpbnV4LWFybS1rZXJuZWxAbGlzdHMuaW5mcmFkZWFkLm9yZzsgbGlu dXgtDQo+IGtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc7IHN1enVraS5wb3Vsb3NlQGFybS5jb20NCj4g U3ViamVjdDogUmU6IENvdWxkIHlvdSBwbGVhc2UgaGVscCB0byBoYXZlIGEgbG9vayBhIGJ1ZyB0 cmFjZSBpbiBwbXUgYXJtLWNjaS5jDQo+IA0KPiBPbiAyMDE5LTAxLTMwIDY6MjEgcG0sIFdpbGwg RGVhY29uIHdyb3RlOg0KPiA+IFsrU3V6dWtpIGFuZCBSb2Jpbl0NCj4gPg0KPiA+IE9uIE1vbiwg SmF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