Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp763823pxv; Thu, 22 Jul 2021 11:34:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVn/K4vLrnY7SZVCCTi1m2mK20HC2ZG+132LMk0byqnVajG22bcz7YFrNjvyhwrxa/7/XX X-Received: by 2002:aa7:ca1a:: with SMTP id y26mr1087754eds.231.1626978866680; Thu, 22 Jul 2021 11:34:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626978866; cv=none; d=google.com; s=arc-20160816; b=F8NKaLi2DCLK4Yp12mQ9EZSj2JzVuKmGaVHHJ7R1zh9Ha2lRAglNkx8dHvrdDI4SFn H3wA6/RMqTArmVQ53nSri0B1hxrsWhp3o5DmliCNSuHlaDUdOJyUv22u3kh3iBN76++8 BDY8uWYbKpSxf4pjfMAH5h3o5OWzPKzpTjpi/w+knw5CYs5eM4YO/g5x6K0HF6RYvc/j qj+mgn4gAefKkhKTWaMQk2Mqfrjnjj3NN3dsV00vIZ4Fj8IJBvb2NWGXKx2AE013x13j uDORZkh6CdcQmPQrRHj/HYcPQP0N/SQ4nK0P6mMFtOFjtr3a4C5D+aoZZRIgvEyFnTE4 mtRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=vDI5ykoNmX1tM/kwt5xCSjGJ2pYf3nOAamhogZSI7ss=; b=b34IAtpBRBr5LbQrB5ZqoB1uH+YlPvWJ8AyEIPhGLq/Ge2+KjuYHaRO7Nibytac55F 8BmB2z9lkdxgiKhZzwaoHqTydBxJyu2pDcyR+iS7zLu7KGJt0WWHjP3rgaDSsQvPjR23 Kx60PJvq3gdtqCD8Tp1+M8+TpC/gugF8fvpeZMfnx6yaXvC13Z/21alkHIFpGoo1Py6t qwKriFyEhO9OADcqa8Wy9nF0Bk71FRbX8O7rhGn4Z5Z47O7xG11OsxG44s4rh+mu//dr eMIceDFSEWtrZ5p+csNc5kZ/CDFXbPonj/klAv2mCTBt+3uiNjKXqLWrF3yqU8wopWuz ZGxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k28rRwb1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi5si6482268ejb.664.2021.07.22.11.34.02; Thu, 22 Jul 2021 11:34:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k28rRwb1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229639AbhGVRvq (ORCPT + 99 others); Thu, 22 Jul 2021 13:51:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:44822 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbhGVRvn (ORCPT ); Thu, 22 Jul 2021 13:51:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 80E3260E52; Thu, 22 Jul 2021 18:32:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626978738; bh=f+Xzx+cvZKHTFGwpY7JIGLwaDfSnqspVO2fRIGR6ADs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k28rRwb1XMOGOxr2Ec0NgAjsWGSLEn11EmQFvkgSx44zB0G/C4uyp0NND5A00ANRO deStNiGfjAuiytL7cd+KP3KnCWBpYllLa2M8VCQ79Z30g/QoQRsTfY9kKJ7oi57qZl HY6g512+f+ZQX13HXPRqY2GQcqOviXlDIyZZnqUPw4VxZfeJgOPTofnEhqtgWz+ITa 1jPtv/CHb6SwYxGhDxIRZfG8GsSGwm2OVLDLcY7pe/cYVONuW+7t1cegJT5GG9cTY1 jgayPaK1HdFIZNOVsnTJqxXxMWeSn9mNitR5goV17AdZbQc/0g9NdvUweAc7Psn2Nr yAt0/oCxCijKQ== Date: Thu, 22 Jul 2021 19:32:10 +0100 From: Mark Brown To: Valentin Schneider Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rt-users@vger.kernel.org, x86@kernel.org, Catalin Marinas , Will Deacon , Thomas Gleixner , Steven Rostedt , Daniel Bristot de Oliveira , "Peter Zijlstra (Intel)" , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Dave Martin , Ard Biesheuvel Subject: Re: [PATCH 3/3] arm64/fpsimd: Fix FPSIMD context handling vs PREEMPT_RT Message-ID: <20210722183210.GF5258@sirena.org.uk> References: <20210722175157.1367122-1-valentin.schneider@arm.com> <20210722175157.1367122-4-valentin.schneider@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CXFpZVxO6m2Ol4tQ" Content-Disposition: inline In-Reply-To: <20210722175157.1367122-4-valentin.schneider@arm.com> X-Cookie: Who's scruffy-looking? User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --CXFpZVxO6m2Ol4tQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jul 22, 2021 at 06:51:57PM +0100, Valentin Schneider wrote: > Running v5.13-rt1 on my arm64 Juno board triggers: Acked-by: Mark Brown > [ 11.337654] WARNING: CPU: 4 PID: 1 at arch/arm64/kernel/fpsimd.c:296 task_fpsimd_load (arch/arm64/kernel/fpsimd.c:296 (discriminator 1)) > [ 11.337692] Modules linked in: > [ 11.337705] CPU: 4 PID: 1 Comm: init Not tainted 5.13.0-rt1 #52 > [ 11.337719] Hardware name: ARM Juno development board (r0) (DT) > [ 11.337727] pstate: 40000005 (nZcv daif -PAN -UAO -TCO BTYPE=--) > [ 11.337740] pc : task_fpsimd_load (arch/arm64/kernel/fpsimd.c:296 (discriminator 1)) > [ 11.337755] lr : task_fpsimd_load (arch/arm64/kernel/fpsimd.c:296 (discriminator 3)) > [ 11.337769] sp : ffff800012f4bdd0 > [ 11.337775] x29: ffff800012f4bdd0 x28: ffff000800160000 x27: 0000000000000000 > [ 11.337797] x26: 0000000000000000 x25: 0000000000000000 x24: ffff0008001606f0 > [ 11.337816] x23: ffff000800160000 x22: ffff000800160700 x21: ffff000800160000 For readability it's probably better to not include the entire register contents here - the backtrace ends up about as large as the actual changelog, a good chunk of which is just the register contents. --CXFpZVxO6m2Ol4tQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmD5uakACgkQJNaLcl1U h9AXFQf/S9Uk8BsNr9Z+kVJ+rAhXbHiD71pa+gIempnKTu7eP6bY1H/w3nBPzQ+d 0W8+2R7vkpdnt4/QuAkmRk83w/h5lngAnQoxS+C9lb7kgcAy2WImWtzYZ2H3oqKD Ww21EOX1mWTrlacFXk0a3syu7J9cVsQrr2UPD206ao0NPuL4r4nHu8uflbnMRl5c LzAR7Tli81wysBGSo6vhl1IIDSJNdoWkUhpLMZ9MpGeWrGNTvgoguHiSf5zsND2y 7jSRCgbmwMWRjmFlqlYK4Q0tcE/4TSVl6xDrQ/JNUgi44h+4oJ3UZFB3zs0hKGNo upjxPB5ojkXQrZmDdnhgsQAIUvRneQ== =46wG -----END PGP SIGNATURE----- --CXFpZVxO6m2Ol4tQ--