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=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 8A1CDC63797 for ; Thu, 22 Jul 2021 18:32:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6DC8660E54 for ; Thu, 22 Jul 2021 18:32:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229914AbhGVRvr (ORCPT ); Thu, 22 Jul 2021 13:51:47 -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-- 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=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,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 7E54DC63797 for ; Thu, 22 Jul 2021 18:34:01 +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 4371760720 for ; Thu, 22 Jul 2021 18:34:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4371760720 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RLHKTPA31LFvatNq7gXf26pDTpEoAp9+xbN3j82a+zM=; b=Wh7qPmBmTjob0MCkBryP9sTHJd 2/7bSuHkvGHfqUGfYmxljAbXtb7MCY38rt3fFzzUnRKcbJA/mGZTdoyT1MHLQKqH8qrL4ADoQkZYE SfmOXn/RW7hMAfkoGCNFNpO30lOn4yAAqwgw245/7N/IGh1D9E7eJHHm2ZFxiWWusGDq/1oztjxy9 nwY1VQ57/0iXr57cJ4A1+hZK1owoIg7AG81rst/FY5ib4dB/paoYVUiJgUh60S0bG4ogp05qpp3QX XW/hY08BH2VhjxiWj6lb8TujkFfreg6e6+Oiv48YiOONsQSI0mIIPNH4nLVkwV7R8TIV6OovFKoYH SyFyGimg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6dUc-002QIO-Sv; Thu, 22 Jul 2021 18:32:23 +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 1m6dUY-002QHY-EV for linux-arm-kernel@lists.infradead.org; Thu, 22 Jul 2021 18:32:19 +0000 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 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) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210722_113218_530414_CF88D0BF X-CRM114-Status: GOOD ( 11.45 ) 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: multipart/mixed; boundary="===============6810987573794484415==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6810987573794484415== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CXFpZVxO6m2Ol4tQ" Content-Disposition: inline --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-- --===============6810987573794484415== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6810987573794484415==--