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 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 E0F9DC0015E for ; Fri, 11 Aug 2023 07:12:38 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xXm14CH4bxGUgbeDYCbpHEQBELDfcj1VuigpRT+dQXg=; b=z4rziXT/L+mn/0 GFHUWA+ugIHxnJy/QuvhrRVk4Y1svOLXNVb4hi+f2cZ+BHrVNSHx26cjPUPuilXLoSUhtArIjT6bj FkKCy9s2J60EzEQOaazbiFjx0iYYcprKO488rcU/aI70PZ3ioLZHm1whwqfHE383osLUtFZ4lr8/u ATe7MJN0C4Wh/wga5GjB+YCzEQs1v5D3iS2u55cJk8Fn9pBdNFraFNemIa0kSuwEhoUkBzePZrgiR rNM9WkcFb6TbdgupTFOSq2D42zTexklHIYsePq1CQe0ISDSyI5t1evPDFeCCNR2ALNx4c5Z9neVVF 1/6znDdJqgMxbfSJDOSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qUMJW-009iKD-0K; Fri, 11 Aug 2023 07:12:02 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qUMJQ-009iJE-0Q for linux-arm-kernel@lists.infradead.org; Fri, 11 Aug 2023 07:12:00 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5012164EC6; Fri, 11 Aug 2023 07:11:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A40DAC433C8; Fri, 11 Aug 2023 07:11:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691737914; bh=QZbFB6l1YFeUDqkUf/y2vB0yrzTK8LqinSMNFWJploU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=V3e/74IxexsNDtlMxk1k7ATf4mAJ4G90wPoUp+7+Wt3kCJ4B/vRXidbpBXWi7R2AB TRMlozudBHeHG5az3oExnUKPTJuwHhLHycr47HazS4FqNl1wDMYJF89CLgk3AqLLTB RxeU7MyKjQ8jKsmye1PXm924KUCmmECfMttrGnRdjH/AWNtzJ1uGHj4RP71+fHyqv3 IFn7/5Vd9e2I2kZbFRLQr1sYYtfkmb6+1Gqv3jZlV7pyWElaA6GFF/Vl7DEl/QClke ZqqE3ylw+c1gz2uz7VmUV+bwoAS5IALEHzgtynD+TBM+8k9aUmD/o6+N9OmhXrbtQf 5HPRDdncI7/ag== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qUMJM-00444f-9N; Fri, 11 Aug 2023 08:11:52 +0100 Date: Fri, 11 Aug 2023 08:11:51 +0100 Message-ID: <86350qgiiw.wl-maz@kernel.org> From: Marc Zyngier To: Vincent Donnefort Cc: Kalesh Singh , oliver.upton@linux.dev, kvmarm@lists.linux.dev, qperret@google.com, smostafa@google.com, linux-arm-kernel@lists.infradead.org, kernel-team@android.com, will@kernel.org Subject: Re: [PATCH] KVM: arm64: Do not size-order align pkvm_alloc_private_va_range() In-Reply-To: References: <20230810133432.680392-1-vdonnefort@google.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: vdonnefort@google.com, kaleshsingh@google.com, oliver.upton@linux.dev, kvmarm@lists.linux.dev, qperret@google.com, smostafa@google.com, linux-arm-kernel@lists.infradead.org, kernel-team@android.com, will@kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230811_001156_217828_163C047F X-CRM114-Status: GOOD ( 17.84 ) 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 10 Aug 2023 18:09:51 +0100, Vincent Donnefort wrote: > > On Thu, Aug 10, 2023 at 09:42:54AM -0700, Kalesh Singh wrote: > > And I assume we want the same thing for the conventional nVHE mode: > > remove the alignment from hyp_alloc_private_va_range() into a > > hyp_create_stack(). > > Ah yes, good catch, even though it'll be less of a problem for non-protected > nVHE, it'd probably be a good thing of aligning both. Might do that in a > separated patch though. I'd very much like to keep the two in sync. If anything, it is far easier to debug on standard nVHE than with protected mode, so anything that brings the two close to each other gets my vote. Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel