From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FC2FC47088 for ; Wed, 26 May 2021 21:10:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D71AC613D7 for ; Wed, 26 May 2021 21:10:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D71AC613D7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XfUjVkQCEcJ+Sd6Xw2mc0AVFRbW2EoI94QI1wWlhcao=; b=k/nQndcBP/gcZD lvHYHnTvjDC8KjGkFFI/7k5fh/O7HZMtaRs83JLmbFj4HJZjTzi26C3koLNjVvXbzPOXDb7lmFVxK xNaa20+G/n2ZoS9u1mlrthbUAeOWXS1t2kdwFVzuLvR5ykci3Is53thcztNGKlBWIyXMjc1lf9oDP x5i56RPggcER1KCRpLQrqqkwUrA8IOdqjPk24zxbXjRD4vcrCdiZJ10IdqdCWoMGZG20zWvRcMUyv zM9cJczyOTSSjLtbOC54lKMfKeymU5sE89MK0629oIyJ4iZpXjPSmRQ+PLsazbDE3ewQ5oB+ujcuw LvB63762pV31dX1ldH5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lm0lY-0003Y9-FL; Wed, 26 May 2021 21:08:36 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lm0lT-0003Wb-Ne for linux-arm-kernel@lists.infradead.org; Wed, 26 May 2021 21:08:33 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 28A95613DC; Wed, 26 May 2021 21:08:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622063311; bh=yrwh9NXllmpDxPVwReEAqxWduz2WlsK3NdzPDYgF1Zw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IVJq4A7j+K473EM2UDPiQcGNkigN73j/9Sda29M5BtnSEJeINW1Pl89JEDbwurH/i Idi49H1rKQKCWGAxOBWTzxDN5x6SnfrgqaXiCdq2LcQKqCJRbj/ZaW1VraT7b35dzy aKRddeIhVFNccVo/SH3KXfAbBouXDYDN4F0G8H5n7tQ5kR/5CuINw9oeXyStYVm7ig xUCeoPyvkNpNVpM/UfmCtG7BEpCCQoot0G9zTUaNQNaiYnbGK4o8GeRFw/++hSSUET HV1rfxfEdctyRGm/s3/BrexjfD1Q5S6aHyhAYeB08JcuY2Gi4M6lTWAdFaWObwg0Pz pvwE24h7jpGcQ== Date: Wed, 26 May 2021 22:08:27 +0100 From: Will Deacon To: Jon Hunter Cc: Catalin Marinas , linux-arm-kernel@lists.infradead.org, Mark Rutland , Suzuki K Poulose , linux-tegra Subject: Re: [PATCH 2/2] arm64: Check if GMID_EL1.BS is the same on all CPUs Message-ID: <20210526210825.GA20442@willie-the-truck> References: <20210511182322.3830-1-catalin.marinas@arm.com> <20210511182322.3830-3-catalin.marinas@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210526_140831_831355_53D6AA0B X-CRM114-Status: GOOD ( 13.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, May 26, 2021 at 08:47:16PM +0100, Jon Hunter wrote: > On 11/05/2021 19:23, Catalin Marinas wrote: > > diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c > > index 4bea701117d4..cd9f2d51285b 100644 > > --- a/arch/arm64/kernel/cpuinfo.c > > +++ b/arch/arm64/kernel/cpuinfo.c > > @@ -359,6 +359,7 @@ static void __cpuinfo_store_cpu(struct cpuinfo_arm64 *info) > > info->reg_dczid = read_cpuid(DCZID_EL0); > > info->reg_midr = read_cpuid_id(); > > info->reg_revidr = read_cpuid(REVIDR_EL1); > > + info->reg_gmid = read_cpuid(GMID_EL1); > > > > info->reg_id_aa64dfr0 = read_cpuid(ID_AA64DFR0_EL1); > > info->reg_id_aa64dfr1 = read_cpuid(ID_AA64DFR1_EL1); > > > I am seeing the following undefined instruction crash on all our > ARM64 Tegra devices on today's -next and bisect is pointing to > this patch. Reverting this patch on top of -next does fix the > problem. Let me know if you have any thoughts. Catalin just posted a fixed version, so should be solved asap (I'll push a new branch shortly). Thanks! Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel