Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3590590imm; Thu, 17 May 2018 11:09:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpvhC2zZJim3L9VH7bOrVVhzKwRxiYgT4G/WVepMZ+RDqwOZwHNVhUrMkfbW3Kc4mxj4isx X-Received: by 2002:a63:7e18:: with SMTP id z24-v6mr4755762pgc.276.1526580551819; Thu, 17 May 2018 11:09:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526580551; cv=none; d=google.com; s=arc-20160816; b=iLUj3FNKorH0LzsdTIPbfrsgJS+KMpM51wgbsAXu2bqD6FObAkWpXpI0xzNolw4Dqy LnDZ2XuWSww33P+FO+mStb6Lk1A8IX5ATRks50IM+fP0NYEHqBy0w6Vg65KvqzdEQS3f SUDmf/Z1Jip0s+DzmLkGpezvARDbkrrApVBT2HZWHLoy0SdbP4tNLdOTR31dnvKkpDMf qsTO8Ujvxrc6EU0jTDUZQWT07VbtX3XsG7ga+H+hpWmBE0rMm9RfsIH16lrzhKh3+BVb cUQJzwnG/xuYPFG8D72IEXi1ofEyqXDi61J6C/gFgdZ9k8GKy+9AnuMXOcq4gxeKj+4j CYQQ== 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:arc-authentication-results; bh=2yjuvTcU4PVNwzIaVwbmZjOuP+cfJ2PZXnoadam/adc=; b=ouJB4rJVNAotSiDyIgQYJPhJhdhknRlhqd95SqRLppWAJF9Vp8UohjGftyBORkDySu Di+78MSc6vvAkOCnXe6JCYetk6hwzSS6/NYk/oNoK5svTClSWpAwAJGtAtUWIHKjcxnX tv9X0QrM618kdy7WSJr0sxPRaCEKu1QgHwVRgdin8ujAa9niGUM+IhvTpZkcu3JLJh/K hZ2DssZpFkBLr0S0blu00FJWpkVhqiEb98o7bJPb1ftf7H/eNqvMPx0/bFzyzuW4Ki8Z MlB8Ty8qLm+5FHwdq/lLZs/vla3t3CXvzdCtC1KzWh5Q1/Leo1wAGFIR59uIRGa65jWh tl/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=tispjJpO; 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 a3-v6si7044pgc.300.2018.05.17.11.08.56; Thu, 17 May 2018 11:09:11 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=tispjJpO; 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 S1752301AbeEQSIL (ORCPT + 99 others); Thu, 17 May 2018 14:08:11 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35562 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752020AbeEQSIJ (ORCPT ); Thu, 17 May 2018 14:08:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2yjuvTcU4PVNwzIaVwbmZjOuP+cfJ2PZXnoadam/adc=; b=tispjJpOwupNmfbk0h8M23TC5 9F1by6z5fLzNhWocYFxg92X/rJU8z6wh3HyrX+MswAoduOLDLNcvBSphkUiUubXr0+p5artRdESq9 y5LOEODJFJqks9K8vavJOInFj2UcvdMe0pSrGlXhK/5ITWeHr/+hbl8OCFbB+Sy0cQ7bUtqKscT4T J72AAeEa4GyAokhLyOrAqkdsBFGT8Irdjb6XIE4IYYnFWSmDBEgzK6JZxu3lcnlFm/RaiNdljXkYH 4De5tj69fNIzhChi+cRpZeo/jVnLvZeV90BKIouPaXXGydOFrrskcwDuuyzjDxIFgxQhfh6h4JFOq 2XtkLyOIg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJNJp-0003wJ-4l; Thu, 17 May 2018 18:08:01 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 081992029F86C; Thu, 17 May 2018 20:07:59 +0200 (CEST) Date: Thu, 17 May 2018 20:07:59 +0200 From: Peter Zijlstra To: Stefan Wahren Cc: Ingo Molnar , Arnaldo Carvalho de Melo , Florian Fainelli , linux-rpi-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, Vince Weaver , linux-kernel@vger.kernel.org, Eric Anholt , linux-arm-kernel@lists.infradead.org, Mark Rutland Subject: Re: [PATCH] arm: bcm2835: Add the PMU to the devicetree. Message-ID: <20180517180758.GK12198@hirez.programming.kicks-ass.net> References: <20180517131727.29263-1-eric@anholt.net> <1412187220.62585.1526572780332@email.1und1.de> <307323036.63872.1526576126537@email.1und1.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <307323036.63872.1526576126537@email.1und1.de> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 17, 2018 at 06:55:26PM +0200, Stefan Wahren wrote: > > Vince Weaver hat am 17. Mai 2018 um 18:34 geschrieben: > > On Thu, 17 May 2018, Stefan Wahren wrote: > > > > Eric Anholt hat am 17. Mai 2018 um 15:17 geschrieben: > > > > The a53 and a7 counters seem to match up, so we advertise a7 so that > > > > arm32 can probe. > > > > so how closely did you look at the a53/a7 differences? I see some major > > differences, especially with the CPU_CYCLES event (0xff vs 0x11). > > > > The proper fix here might be to add a cortex-a53 PMU entry to the armv7 > > code rather than trying to treat it as a cortex-a7. > > we like to use the PMU of BCM2837 SoC (4x A53 cores) under arm32 and arm64. > > What is the right way (tm) to the define the DT compatibles? > Does the arm32 PMU driver need patching for proper A53 support? I'm completely clueless on all of this; Mark might have ideas.