Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4719731imm; Fri, 18 May 2018 09:31:09 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoaXp1pyOGOJ0MPgSqdkX89Gp7fVlNDH6C22chggrjCmvdxL3ttoHqMeS+KuxlQvhjMtp27 X-Received: by 2002:a62:5754:: with SMTP id l81-v6mr10138659pfb.56.1526661069635; Fri, 18 May 2018 09:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526661069; cv=none; d=google.com; s=arc-20160816; b=Ze56Ii0duiJg6IN14ggOODsP90ibsukCpD48iqcitVPCUCfGQ34CpOFuad4DrqOk9B 1JY83PM+qQ7AY69nfZ9wNfQ7OZHyGx4eFMtQRQ9P6rGcY3c1re9SFF9slIvS671rOUXa e0Oum3TTFac5KFu9If9r2m/PWPC/Ts2bJnCjDmReSb6wRXiwl5a91m56avbBTgKc8eGG KLJGLOxd3Kw4wZddYDP6d5sLLd7/fDIMLNVG9q7gJQMzu4ooPoQ2Oj7OAZ5lLiQ5A59z KvjedWV5eEWN+ZIUoQuO5UhF7ZzB0ZbCAivLINtgm9LUKdlZieWBtTWF3QvuqRrV1a5t 0W6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:date:from:dkim-signature :arc-authentication-results; bh=J9sfmh4C/gze26pPTVCLsW5VE5U61DiayRBrdTdfaX8=; b=xWuov7iHLuomvyULeZrOoLpftSLGARbCOPGMrXGaf9FMhMgwGOauWV9pOfcGwgDIoU iofqKACMvxsXxn4iO4kTIhSHpA/Vj77QKHT2m+cUchN15M0iUxnn7l0f6//VNkCTmcMB ErPZ1HUe3gzbevg+tedNyxM/RB6BVhZa3y26E+MrLqQ7FvX8ryluYVu9/M1C5PvpM11q AHMi223B3qeRpn0KRVGcjR8tjTLyR6HHpyVanbJmCIoyYxIxuiIWDxdQW3Ibz+SZMEtT EnplrOlHWn4PCsjrUZpO0n4/qS2+E9E9FL7hwPmvyFqSxNyQOGajr6y1QVCh8W8X4n8P h4eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=DmiOg0so; 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 e203-v6si7737840pfh.86.2018.05.18.09.30.54; Fri, 18 May 2018 09:31:09 -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=@maine.edu header.s=google header.b=DmiOg0so; 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 S1751488AbeERQ3n (ORCPT + 99 others); Fri, 18 May 2018 12:29:43 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:35098 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbeERQ3l (ORCPT ); Fri, 18 May 2018 12:29:41 -0400 Received: by mail-qt0-f194.google.com with SMTP id f5-v6so11020415qth.2 for ; Fri, 18 May 2018 09:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maine.edu; s=google; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=J9sfmh4C/gze26pPTVCLsW5VE5U61DiayRBrdTdfaX8=; b=DmiOg0soyJq65RwibV2/CClT0Sjk6u019j3wfDzJ2llLP1Acdw977R/oSw/K1Tzcqx FZD/KmxrBf+8nDZJ3TLNAnkokNVYp6bY3k+lKq4lL1+nJLX1HHwGMxecUpWYFNw/+8DT Pj5Ox6wFG1fSgQZIGIBxbc4743z3s10I1AKbw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=J9sfmh4C/gze26pPTVCLsW5VE5U61DiayRBrdTdfaX8=; b=rK2PEjZijbkmlE7K6WU7+nbBZ/ovdLiK4qY90ghUamH4ZrNO9Zr3A3QU+QYk/1Ff/B ukSeanrHERFhdVElPS1wJDFTb3NFYJGwGVcc/3HqY9ttEyI7eeT9AkF7DM6ROtljVm9+ Q/vP/5cSFi3xnUK/4ULWwvTqDauFiN3u/+orPSkgh2SrVf804C+/K7R25OzfXdZ6M4FX ZJfyWyl0cUhMiwv1HKUdfkqynpouv9OWKRB0WA81EJ8M/nBHffH7EoLjwGAKE3wt0ymw gHDa24QOmwIEAEtuBkIYsEA0qMw18KOid0szA+f78l+yx9DpJPzJ4JxXYRVclXqdt1ph CbrQ== X-Gm-Message-State: ALKqPwcwp2RTC4byrGTVROQtnANeQXNtRl3KMATaRlvcyx5DGHn2JN5x brpsCfFrQYsYVJGj//2pFwAcWA== X-Received: by 2002:ac8:1105:: with SMTP id c5-v6mr9783688qtj.307.1526660981026; Fri, 18 May 2018 09:29:41 -0700 (PDT) Received: from macbook-air (weaver.eece.maine.edu. [130.111.218.23]) by smtp.gmail.com with ESMTPSA id u42-v6sm5684313qtb.54.2018.05.18.09.29.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 09:29:40 -0700 (PDT) From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Fri, 18 May 2018 12:29:36 -0400 (EDT) X-X-Sender: vince@macbook-air To: Marc Zyngier cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Will Deacon , Mark Rutland , Russell King , Vladimir Murzin , Vince Weaver , Peter Zijlstra , Stefan Wahren , Eric Anholt , Florian Fainelli Subject: Re: [PATCH v3 0/5] In-Reply-To: <20180518143913.26306-1-marc.zyngier@arm.com> Message-ID: References: <20180518143913.26306-1-marc.zyngier@arm.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; }; Tested-by: Vince Weaver Vince