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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23AD1C3DA49 for ; Thu, 25 Jul 2024 18:11:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 81A206B0088; Thu, 25 Jul 2024 14:11:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7CA7D6B0089; Thu, 25 Jul 2024 14:11:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 691F86B008C; Thu, 25 Jul 2024 14:11:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 4BA0B6B0088 for ; Thu, 25 Jul 2024 14:11:54 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id D48CB1A12D5 for ; Thu, 25 Jul 2024 18:11:53 +0000 (UTC) X-FDA: 82379068506.21.F282111 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf03.hostedemail.com (Postfix) with ESMTP id A86262001D for ; Thu, 25 Jul 2024 18:11:51 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=i8MLbVSU; spf=pass (imf03.hostedemail.com: domain of broonie@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=broonie@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721931063; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=PUU7QAiDnHbtwVMPh8Dr+aqit00BknrpaGXSPSA5uwE=; b=D+aiWuvYcuytcD9LG3FgtEDEiJLrsB+d5WEp+UbVlvse/NyJbQSv21wnpaVd5ol5kOAH6N PzX0rjBJb0eWY8dnwnjaYxyvF+6NHTqbNfyTqJwSrSncF0gJekgiBZow0Z/elcZI3iwbr1 Q472CW4rf3BJgwnC+j07htRQPXqjSh0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721931063; a=rsa-sha256; cv=none; b=VYv4ze+dV0t+xP8lU22EX9hzqu/8wP2nQ2NCxb94khwVI2/Psapa7/eRkZ8rohBR5KCNGq fl3DJOBIOqmlSM2GOOlj33eH0V0xakwPPJoNSOJP887oB32exEF49TD5kAQxGY0Hdo4IH5 /K5UCb7QLY39zs26jbSDq5Tb+vc2UWE= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=i8MLbVSU; spf=pass (imf03.hostedemail.com: domain of broonie@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=broonie@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 6E88D61333; Thu, 25 Jul 2024 18:11:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9308C116B1; Thu, 25 Jul 2024 18:11:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721931110; bh=qMPNAiU4QG51WPd2++7tk9Ir3s3Q0Q2T/8v0cyCK9EM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i8MLbVSUZNyx2oKUzGxGulXalYXs/A3uuRF0gXaAp/dV3ROUF08DFt2kY/IMp5Xcm vlXuoNeyAMEqYxrVUEI1dQlobQI79RrraPupjRZYMkILK/7R65RxA8Oko9h7UBRf1I Njg0GtY8b1A4UiJ6N1oPGBmghESZCD4ochXvxojhpHw4NrPw5RTJoqGGUv1WMWuO2v GmLBdZVjEf2L9xTtJi59xk15gvfikBTs1nGQwnW3F7760FeZ6Ow9iI/7TOkF2iLETQ BfgrrX0qUOsSl2IKa5ozSDfzDbrGZSGqna2afVmNcVJYv1zNPS480l0tCDd/lH0Fxc GHxSJJD0mx8jg== Date: Thu, 25 Jul 2024 19:11:41 +0100 From: Mark Brown To: Dave Martin Cc: Amit Daniel Kachhap , Joey Gouly , linux-arm-kernel@lists.infradead.org, akpm@linux-foundation.org, aneesh.kumar@kernel.org, aneesh.kumar@linux.ibm.com, bp@alien8.de, catalin.marinas@arm.com, christophe.leroy@csgroup.eu, dave.hansen@linux.intel.com, hpa@zytor.com, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, maz@kernel.org, mingo@redhat.com, mpe@ellerman.id.au, naveen.n.rao@linux.ibm.com, npiggin@gmail.com, oliver.upton@linux.dev, shuah@kernel.org, szabolcs.nagy@arm.com, tglx@linutronix.de, will@kernel.org, x86@kernel.org, kvmarm@lists.linux.dev Subject: Re: [PATCH v4 18/29] arm64: add POE signal support Message-ID: References: <20240503130147.1154804-1-joey.gouly@arm.com> <20240503130147.1154804-19-joey.gouly@arm.com> <229bd367-466e-4bf9-9627-24d2d0821ff4@arm.com> <7789da64-34e2-49db-b203-84b80e5831d5@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zuHkNnSXmHBvO0dc" Content-Disposition: inline In-Reply-To: X-Cookie: Zeus gave Leda the bird. X-Rspamd-Queue-Id: A86262001D X-Stat-Signature: 9kiwippasw4oe6czqxjbgmbtabym68ug X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1721931111-480750 X-HE-Meta: U2FsdGVkX1/jYMgRquMX6Yg5LBybOOg7it5ewr0u00gep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1cAxoC3/W5HNpVpKrnDwVNzkztHPdNOZhQ4OPNK88wLJLosMpx0s8BNjpEJI21chiFaV83ddeL7Lbx28bncka/GDbKf19JufBdF/NMXTlL5ZT3ILLOgNITsNLXxgWgYUL4/KvxNKG7/IH0NcvqT7OQ4Ww== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: --zuHkNnSXmHBvO0dc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jul 25, 2024 at 04:58:27PM +0100, Dave Martin wrote: > I'll post a draft patch separately, since I think the update could > benefit from separate discussion, but my back-of-the-envelope > calculation suggests that (before this patch) we are down to 0x90 > bytes of free space (i.e., over 96% full). > I wonder whether it is time to start pushing back on adding a new > _foo_context for every individual register, though? > Maybe we could add some kind of _misc_context for miscellaneous 64-bit > regs. That'd have to be a variably sized structure with pairs of sysreg ID/value items in it I think which would be a bit of a pain to implement but doable. The per-record header is 64 bits, we'd get maximal saving by allocating a byte for the IDs. It would be very unfortunate timing to start gating things on such a change though (I'm particularly worried about GCS here, at this point the kernel changes are blocking the entire ecosystem). --zuHkNnSXmHBvO0dc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmailV0ACgkQJNaLcl1U h9CJNAf/T4L+WiIsdTTGLKLrGIifWcIZMFDKVEGwW4FdSIpGyr1zBwSxsMMMpYMn Y2vOp2+u+NUD72aKzhi9w2oDqf/zxrRMRtTac9G5p5yxDJ8A5TnZmLeUCeRDfeaD KbGzJ+pmP6VAhz6dx1LVHo2/BlPFEBYic7aByH/VtQK5orNc9Ss1pjPj9M1kcMtS ZpQDRVd9H8sTthXnA2au8VRVeCZIvHB7c6CHXWu8+gv4DVW9fcWaVmq7sKvrt3vA KH+DHAft/yAobtjLtcPlj5ImoCIbRjmIa4qy3NsHji/xAHl4695sncCMJB7yi0fU 5WfF3lyw+U6HxGVPCH7jlQcjPB7XOw== =PpFd -----END PGP SIGNATURE----- --zuHkNnSXmHBvO0dc--