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 86B56C433FE for ; Tue, 15 Nov 2022 12:09:52 +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=DyG7DpmDC9j0RRAonaf7eYm2rRlTD/6CYpHtfK+3eWw=; b=gVQKSxjgucl6aXJ5E230/J4thZ IfI+k5FhNBHlo7giQksaCWnRNfT79+tHdEUigemQ0bpWAgJyxRiWz6i5i4GCPNzSXrBY/bnoVGiCa LKbjCR1VpUsI8u3LXzvX2yBLZFnEd5n8MkoiGP7t6vMLMwhjB5ho7EyO+Lup/SzTFifjQ1D564zax dR9oYL/XXbjGLpr7wgiruJ4RJ2PNQFK8fs80uLdTFnkvgGsHUP0o1SDe6qUAE1cfp5bKaw5JilQyd 6EwNVcMHeW1leMzmtr5T1NvD7Np+DfZo+SvfWpoSPB7kUFC+noDSHrId6cGT/QHeWij5xL/1g250G 10jwixzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouukI-00Aqfm-Pn; Tue, 15 Nov 2022 12:08:54 +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 1ouukF-00AqdD-WD for linux-arm-kernel@lists.infradead.org; Tue, 15 Nov 2022 12:08:53 +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 7F7B1616FB; Tue, 15 Nov 2022 12:08:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB842C433C1; Tue, 15 Nov 2022 12:08:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668514131; bh=VWlp4fWKnb90YMpyxBCPrcw7o1qcdB7d4EZQOupmyNM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Hnip7KyJWWLP2AVReW0F3KvWrCY5g0pB2/gFdQst3wMEhc/XUlyB0VbMq7zXapYb5 CcBgDKFFfRDm47wmv1wguipUXJVKHvJ+ZDNDvDeXJjnodcokkzMERa9kustRjt4X9R 16yJvWBX4awB75e9PMUPyqjPRAbJ+wv5rgg9ndnmaFBNtbCM1W5Boj0iR1iSdFEGUd yRFs/ECtkrAEE+O53dGiK6nUspR7pERWhX4TXuv9UlMsHNNqkd8GQkrxKXulB0d7jd GxGX+klccwSAC9QBaP2IaZtLoXLa9qKI8YCqdTlKUsJsRQ4pjUHo5707ESEneJDhKH IcUuaLTA/bX4g== Date: Tue, 15 Nov 2022 12:08:44 +0000 From: Mark Brown To: Will Deacon Cc: Catalin Marinas , Shuah Khan , Shuah Khan , Szabolcs Nagy , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 2/4] arm64/signal: Include TPIDR2 in the signal context Message-ID: References: <20221031201736.894374-1-broonie@kernel.org> <20221031201736.894374-3-broonie@kernel.org> <20221114161005.GB31141@willie-the-truck> MIME-Version: 1.0 In-Reply-To: <20221114161005.GB31141@willie-the-truck> X-Cookie: Ego sum ens omnipotens. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221115_040852_125544_0058C31C X-CRM114-Status: GOOD ( 14.98 ) 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="===============3919591278096071770==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============3919591278096071770== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m1MWtQrWbxzWzo5W" Content-Disposition: inline --m1MWtQrWbxzWzo5W Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 14, 2022 at 04:10:06PM +0000, Will Deacon wrote: > On Mon, Oct 31, 2022 at 08:17:34PM +0000, Mark Brown wrote: > > + if (user->tpidr2) > > + goto invalid; > > + if (size != sizeof(*user->tpidr2)) > Why are you requiring an exact match here? Won't that hinder any future > extension of the structure? It will but since the structure is explicitly for a single sysreg that's intentional - the thinking was to just continue to model any more sysregs we want to report in the signal context in the same format with their own contexts. It felt like it fit better into how everything else in the signal context is extended. --m1MWtQrWbxzWzo5W Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmNzgUsACgkQJNaLcl1U h9DbIAgAguVKV0+7AXBPWynwW1TzKs8oP6i9iK6ooeKLGL4WZGlk8Xd3TcsJ+fs5 9cEHH+Z7ZR8Ev412vh3+BIe4v9ASdgiUjUucOyU0uJZVIR98yMRgyUH4iICNT5JF MA4uBzMH/DdCLvFTvoMQ2xJXzT+Pm3OLIlX7PnEo6RdNlyqnLCDB2ljc+uZIM/kB Yl6VskX1lwX+k3BrWswVQkLxW0GObA6JLLTAnLVrkIX8PmM1l8zDqWEpYxB9RsBQ q0vBLxAthu2SYUdYoSWcjdgJeLeSM1MS7ApeuViCqZNPP3rs5Ex9gkihE7mz+oHq aCRH18Ii43IPAzwCrReqaoP5bRZlXg== =6mHk -----END PGP SIGNATURE----- --m1MWtQrWbxzWzo5W-- --===============3919591278096071770== 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 --===============3919591278096071770==--