Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id D0335C433EF for ; Wed, 2 Feb 2022 17:56:35 +0000 (UTC) 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=Qeus/RVoJtml3TB9392yFHbZLtSboA8QufAcPDrAH9I=; b=JzhkMtuDrYnRcGDv/p+R0VR2Bi 4DP2TU3tu3SwLNlfhrIQorLlhUF7Lyfx4AxJE9meyHy1WMdwkQKE6jtqQEXofYj80jMb4i3Kw1N2c VmGCEd5xgFyE+EqK0m+SURX7n7tmXhuK7ouC6rnA1QimjG3a0rWE1NIGodg5OGJIkcMpg0k4uM3BB JayX4nuz2RPLdnxwvBTT/mRDju65gy6wIc6peWuvlgwBSC8VnuV10tBbwxKtM40D0T3TLuZ0kfKST ryk5XK33v0A8XjyavaP57idP5w4qV4wlvQCighEzenOId8VbW7Z338WNU7XAPMX+DsP4omL/DjfDz no5llQWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFJqd-00GRLm-09; Wed, 02 Feb 2022 17:55:15 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFJqZ-00GRKs-GB for linux-arm-kernel@lists.infradead.org; Wed, 02 Feb 2022 17:55:12 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 72D3E61835; Wed, 2 Feb 2022 17:55:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 58CDCC340EC; Wed, 2 Feb 2022 17:55:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643824510; bh=OWtyfUnipVt4CLigJ+Gy2c/ehK3f/GNPjG9KCmvXEhI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GLL+73RQl234bXcftpF1MR1ZetaoY4rtFHJ0uRrd/yleQlittx8l8I6uxQTYT1uHx U3mfNnN4X8vknP1k92vVlsvbblf0gPpnARGczGXLROfg3qHKk30sxkuu+ZTPj6/ogs aA1HacN8y4W5C9YuXR8HDNm2ynxDZ7e/l7N9K/IcslmB69WQMbRQFVzRCUyKg1vLLq +RzeCDmBOs+EOraP/Y64BhG0LbFdp/v6IhtB9H5Zqn9cTVP5R8uM5G9xzBhoGvneSK 4fiUxmNCwa/1JAcbaYuPEIwcBCzluRPoOOmQgXZSI+4GOEqV0oAOcm8Xx+iBINjWSb PamZdqHzICjXg== Date: Wed, 2 Feb 2022 17:55:05 +0000 From: Mark Brown To: Catalin Marinas Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , Luis Machado , John Baldwin , Arnd Bergmann , "Eric W. Biederman" , Szabolcs Nagy , Andrew Morton Subject: Re: [PATCH v2 4/5] arm64: mte: Dump the MTE tags in the core file Message-ID: References: <20220131165456.2160675-1-catalin.marinas@arm.com> <20220131165456.2160675-5-catalin.marinas@arm.com> MIME-Version: 1.0 In-Reply-To: <20220131165456.2160675-5-catalin.marinas@arm.com> X-Cookie: You must be present to win. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220202_095511_600767_C8BA2EB1 X-CRM114-Status: GOOD ( 14.32 ) 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="===============5128470600067123872==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5128470600067123872== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nuqrog8ugUX1lTCW" Content-Disposition: inline --nuqrog8ugUX1lTCW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jan 31, 2022 at 04:54:55PM +0000, Catalin Marinas wrote: > For each vma mapped with PROT_MTE (the VM_MTE flag set), generate a > PT_ARM_MEMTAG_MTE segment in the core file and dump the corresponding > tags. The in-file size for such segments is 128 bytes per page. > For pages in a VM_MTE vma which are not present in the user page tables > or don't have the PG_mte_tagged flag set (e.g. execute-only), just write > zeros in the core file. For what it's worth Reviewed-by: Mark Brown --nuqrog8ugUX1lTCW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmH6xXgACgkQJNaLcl1U h9CBEwf/fMAfbjE2tl0Mg+R0aX7tgYZkcYNXQ/6KxiI7bRQAh7NakV5tCjbtr4Q0 YiCHPU+SkM8plYkTuVOeB0JGXc/Ig7Y4udOHThxDwDK5DIXcRrS+qCC0TILDEiPK fACyODZexSxhvCkW10f9nW7i0BuMNVorxZHK8BIJcdY5omkmKfhRwypG9Ig5Nsdu dwQTZsPhflAFffw8RiKEeaBkTh5F3stMREdqSeCtIJ0HsS0OGKPbwrJA+sZI0YhF fyf1LE+KPgMrxOZRqCYPsjCC5eKVF922QhEz/zvdx7sUgh8NIk/Ig1cMVpIoLOZC rDi+hyeqFMsdoC05cPNZNT/ZBF+xVw== =MG/0 -----END PGP SIGNATURE----- --nuqrog8ugUX1lTCW-- --===============5128470600067123872== 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 --===============5128470600067123872==--