Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3515015imm; Thu, 17 May 2018 09:57:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoTrAPGKYTXz+ahBaaKlwDgzgqclvHsj8SEu/c2nzbGjkUqXlWObRMAXLzZKa1G5jlOGImv X-Received: by 2002:a17:902:b589:: with SMTP id a9-v6mr5741281pls.161.1526576221615; Thu, 17 May 2018 09:57:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526576221; cv=none; d=google.com; s=arc-20160816; b=aPXXsTyKea/9adcac/mbjQ8Ec9MB7wQXU74UvqqLbBZIqdkpMRGypPE0Xq+iMSlglv M4OxV0SXj7vzQK5sLrEhR+s+FFWkl3WaObZkUx7+qP1jnLS+6TMTVmOavjUyLbsNq0Wn puIiC3lIStiOEd4Mo2JTia/VFsmhP8NJ0yX/iMVYE6ChxzDVh6JZ8qebNH4oQJFv2Rr8 0yBWmgO8sWaPb6ktBZrpf09Mo7EI+a0WIh9BeV+BeqtvUjNXj4MR9s/f2HadTgNvS3rb wkubrNDTli5CM/G/3Tw6CWv50b5SjjFoE3x6M9b3xm8BkpwD172ma13z2mG3y9TUO2TF 09zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:arc-authentication-results; bh=bAdzScgubPKRjy+Cpx8r6rIDdMB/9qyoLhgVIaF4mio=; b=oYv4pMnfbnNA7IFS6jhefIOBo5+mPdUkMw3GlnjawJAqkAjbHeNc6D74HGdAUgBVCE tkzNn+l/DnSCFFaXbBI9JNu/qz/oNEwF4Ld+sbpo/3P0W1BgoGi1VM9PWWpAUp9b+Lhc jIuTogRSLr2ac4tXJWbGiFhCO6UL5YeW605xr+F0BS+AG7bvnQd/8RBrfiopkVUM4dRe Pv2doM03buxLf4Nfj8tjLQYXwB8ggRIa3WtpeWnWg95bpReXs4d4GqbiN//fMCIZ8t+D nqzaJZjJAec/PlSnY1nsCjRx3F0FRRHvbMGKbk9NtudQ/dxrI5aT4QEru/SP9mArJg00 jihw== 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 91-v6si5533895plh.488.2018.05.17.09.56.47; Thu, 17 May 2018 09:57:01 -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; 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 S1752221AbeEQQ4U (ORCPT + 99 others); Thu, 17 May 2018 12:56:20 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:50263 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751280AbeEQQ4T (ORCPT ); Thu, 17 May 2018 12:56:19 -0400 Received: from null ([172.19.246.6]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MBo5j-1f9hHr0Xdn-00An8x; Thu, 17 May 2018 18:55:28 +0200 Date: Thu, 17 May 2018 18:55:26 +0200 (CEST) From: Stefan Wahren To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo Cc: 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 Message-ID: <307323036.63872.1526576126537@email.1und1.de> In-Reply-To: References: <20180517131727.29263-1-eric@anholt.net> <1412187220.62585.1526572780332@email.1und1.de> Subject: Re: [PATCH] arm: bcm2835: Add the PMU to the devicetree. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev28 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K1:aGq2ulLPCFSp+GvrXkPzBsbXJ7n0pv/6eQRZGsMnzKSNsg6jkq1 3QA9DnOX5L9zcyQBjI3aKgZ6rBtDMByaHGooHAlJB3kU2ZQ6aN2EjqqSuHpBbXunRbpR7qw 7BqkLPGTNg7sN4eCHw6Y6telFzU2IsNTznisHXdtnwQ2pXC3xUx/I2bjD8Q2nlmPQsoQmS/ L/Gv9cxsI0wRWJC41DbCA== X-UI-Out-Filterresults: notjunk:1;V01:K0:u52ML8cg6HQ=:rzSnraGWxNafmB9xzU5Ske 4pCyd5Y/AGx2uFQBEmTa+iR2Xu+7ZGlUVQHRRASwlnR+7MM9zyMtfWopC7fUfMGKmyp5vWKGm Odj2o/jHmaRTx6hcePDbsdNQjlMJ3Vwo3QGqZK1QCWguJVjK7NO2cg6YJdZU/gHC0cr34lHIc LX2jdBINyQSDq12siPHMUCkGAGkv0xUv1hBOSSohXeDipkyKD8NRk7dtpaAxAOXR/dRZz0h5F hE4uSe8XaXcDXnQqaqJAHIEpo2MtlRCnw2SfkooNDczU57AnbxT8G6Ie6+aypI9gVGkl3YXxe /cefUKGQoiNvBVaTBBisajF4WrQJfk9pzn537YGTtTrQ1/0tvQRcUiVEASjPyxNzSMK0NWDsM oxSKk7IkdCz9I60NWgF3TKz/m4zJ5oc9GAldFAmUgR18rn81qPtiKjVzE2o0SsNtKxXpdKmFa yD9d5tUDnGnAiT1l0H/ojhQYC/FZ7JgJz/uHxxCPKaPMvswev5tq++2hnbBrc5YP02M97Y982 Uq75SDqR9X3MhwsBmBGR6ff9w6eeDhHg+WtXu9b6tDEoh1WdXnT9ejANXvFRLidIbHikCqXk6 z4L22urNscaFxrrNOTUxmJnmvuRCIOLB1vDOQ4T8bFsiU85NBf5v9b5Nua824xMncZwxSYEzP hh3ptNWH57KclqQ1dfJwJBEsoROsuTKq3TBB8aWW9SWNhJ724ghILrTgBSIX8TzjdjVndMqAW DDonC6FyRWU86+qc Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, [added Peter, Ingo and Arnaldo] > 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? Stefan > > Vince