Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4790028imm; Fri, 18 May 2018 10:40:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpT6i+yzhu4QnERx5jd9Dysi//KGGn2xEXujQarCF8/lTOJeul9GjiMP9PQ72dss3VfmF/P X-Received: by 2002:a63:4d2:: with SMTP id 201-v6mr1599682pge.129.1526665255721; Fri, 18 May 2018 10:40:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526665255; cv=none; d=google.com; s=arc-20160816; b=kfcwQlZE1vqPpUxo/U17LFWKqCiuWEoea6A+ktAwmvCG7scea+a6g5iol+N+yTG8/S uPkiZ42EnyuMvc8hMr1WyoQEXEDRfuYUXHZ3bQ/S4D+gcDa8oRr/Pw6TQ9iLp1QxbJB0 nEPDIApzVO8zt4IC5uvF1lG3y0Dzg+1f3uXpi0Ileb49CyP6l5mhnfLxso3n5En5EZth ac8xeTVmUonErfAqh+cgbwkjCDdyltPf+SCAV070eWXzbuOzuE5uzm0pxpf+xQZsVfWb 3iueBOtRppH+mdpe5P4C1px20KBKwiUjvfUD7Ac9MeUPIcjA2f/iEK5FeXZ2IozprzT2 D8/g== 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=/XRrvg9pTJMERfYvuVw0bq6c9sa8I1cI2u6XzkgwIeI=; b=Ws/QniDOY10djHwQxd/W5X1Iwd1Grtj9E3iah44CBO+uViy769TEWax39JvgUEVXcC 7zvHnnYo3lbckukUg0uJGfoQ551KoGhbXmOefSYSnnXFMb0dXnLCaIVPJ0eRQBpPIHBs g0x8RgJxHRWDbxNrVRg+lrGWpwKYzNyom3t2OjOcAgjQ3bw0jQpm85S/c1nyhSY+KOCt GNEmTCa+OkGsg/J6eSc0UemZ1Q1UEv7nROB16jiFF3TXL10sl2vC1Ern827zxPuyGLju sxwO1eXYhzS+detZ4qyNmnu2HbOwOpstCrYWNHAxzTzEwpjy2KvBUF8MFsyjvegUybek Y+Gg== 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 y40-v6si7820102pla.470.2018.05.18.10.40.41; Fri, 18 May 2018 10:40:55 -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 S1752205AbeERRkX (ORCPT + 99 others); Fri, 18 May 2018 13:40:23 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:59537 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751750AbeERRkS (ORCPT ); Fri, 18 May 2018 13:40:18 -0400 Received: from null ([172.19.246.12]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MVZ1v-1ekuaR316V-00Z2V1; Fri, 18 May 2018 19:39:40 +0200 Date: Fri, 18 May 2018 19:39:38 +0200 (CEST) From: Stefan Wahren To: Marc Zyngier , Vince Weaver Cc: Peter Zijlstra , Florian Fainelli , Vladimir Murzin , Eric Anholt , Mark Rutland , Russell King , Will Deacon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Message-ID: <1113496355.72893.1526665178400@email.1und1.de> In-Reply-To: <278cb8b1-d567-2067-2dde-980596821c9c@arm.com> References: <20180518143913.26306-1-marc.zyngier@arm.com> <278cb8b1-d567-2067-2dde-980596821c9c@arm.com> Subject: Re: [PATCH v3 0/5] 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:zUcNcaqP/0pphpB49B4NYF3SjuV6vetTndGj6qhvc5xY1s7iVi+ kXrkORkfzVHKAJ/PeJvXvhWh2z8f5UD88rjm9Jw9ey97KlNaCb7yQWDxCOif2X2r3eG5FTQ C88lzdXjBSmIWagQqPkn4aNLujdRuQvWJuJWbnHmuGiObxQ6VbBqF3eo8yoliGGXiSgrORS asKSDXNHdK+jjGYi/Lvkg== X-UI-Out-Filterresults: notjunk:1;V01:K0:J3IOPoODnB8=:3aisz8GI2DrTwT/RUlXB2l cqMWNQySVW8gml7in4e4ny5PyAdUPznTb89wpviiR5wLZyYgDXw0ZfY13Q3nm7iNgeihRSRZD rv4znEtqGyD9kAJIbJemNAKH5R9hLlhuiWNpYXXglXgSt/9UDsGux4X8U2EYKHRf/z7RN+jF2 b1ZhmGsjA9wP/F8M2HdE3MrSN6bc1rFRqoKKk7LY2irdgkqjGdFnwJYxomxtYmB0mTc8TSLoU uNuzDA4l99WZ91F0s6E7SBPi2ByFtke0lc/oN29A8GLuD8yJCu44Z7UmP6XSzhxuSZeDoPs0m ZvGru+lF1Mcpi587sV3rp6VyplfzrgPuOiwANc5HmQctE7wT1bkQcXMNPpTB7e3TaoWFrBcej nC5JDIDv4UMba/MZJL2PXrtfRxJQ8GqSxBprEHD6tu9P4T0GMFJbbKur102hAJkPn5DAaukkz 5tuSOp6pJhUFMI3s3gAriER2RuJocU+oJtwzWsZ6q7XcbADDenUfnEIATdNtnqOvGuho1TOgp gGwYKnmkTILCXBhBQiRK6ulkbhOIO7Blnny92FE7toByX1QhmofMy5QMZU4ruvOlREo07urnc N5BhXaCm9q3MkWhpes6Mue9PJAX0fJkJUrSEM0y8X5NmZHc7SWRik0GUiTVH4L5njT5v2b2zU IaUdRiUEkqMyNMfurlIDHs5TobiQXBcXVdXBvsXLqP1L8txHyNdBKTRz+vkIo0p1NymOvXGCA lAT9z7wLxsf7DHUp Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Marc Zyngier hat am 18. Mai 2018 um 18:41 geschrieben: > > > [/me beats himself for not writing a subject line...] > > On 18/05/18 17:29, Vince Weaver wrote: > > On Fri, 18 May 2018, Marc Zyngier wrote: > > > >> There is also the case of people natively running 32bit kernels on > >> 64bit HW and trying to upstream unspeakable hacks, hoping that the > >> stars will align and that they'll win the lottery (see [1]). > > > > I've tested these patches on a Raspberry Pi 3B running a 32-bit upstream > > (4.17-rc5-git) kernel and they work. > > > > [ 0.472906] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available > > > > I only needed to add this to the devicetree > > > > arm-pmu { > > compatible = "arm,cortex-a53-pmu"; > > interrupt-parent = <&local_intc>; > > interrupts = <9 IRQ_TYPE_LEVEL_HIGH>; > > }; > > That's definitely the sensible thing to have on such hardware. Why isn't > it in the upstream DT already, irrespective of the state of the kernel > support? I remember that Vince point out the absence. He asked about how to implement it and i wasn't sure about it. At this time we hadn't IRQ polarity support. So we wanted to get this puzzle piece before. In march i put it on my TODO list, but then RPI 3 B+ support had higher prio to get into 4.18. In general we have the problem that most of the users take the downstream kernel and don't know about the differences. Luckily more distributions switch to the upstream kernel, which increases the feedback. > > > Tested-by: Vince Weaver Thanks again Stefan > > Thanks a lot for testing. > > M. > -- > Jazz is not dead. It just smells funny...