From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz2-f12.google.com (mail-pz2-f12.google.com [74.125.228.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE63B46D0A0 for ; Thu, 10 Sep 2026 12:05:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789041929; cv=none; b=Pm9yDNbqqq94v2nttXYqlq9cwgcV+fBE/bBZAnfg+iJGw5M+zBbu0Kg/zhRkgj6H12uRPzdo+baoopBTAdXG8CHGAmGL+UmRePTOMXu9AysqHtPztD7C5PbNHgEWA6aZwYn2YJbTCXBan3Z7vtpJmNwQLU4hRvPo+fNOrkz1tyo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789041929; c=relaxed/simple; bh=DthyWf2+A2G2Y75caLR9paCIYHUzGrDRbammkA/3Uc4=; h=From:To:Cc:Subject:In-Reply-To:Date:Message-ID:References; b=ESOxAQwMGEpMqRsA/8rknNn30AH3FEPRQZ2qOpbTIRyQkgMBC+Fj0e0uRO0g4RlPjbxq3wY3+4g2CDJuVpH1xAaZ6lCx7BmSa5pH17EUYlWZaxbB0eWNrc9uYonYwhX3RilSe4dD+qJVZOR0iguB0M8s34668hHjR4oGLePIRZ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dqlW96hB; arc=none smtp.client-ip=74.125.228.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dqlW96hB" Received: by mail-pz2-f12.google.com with SMTP id 41be03b00d2f7-cc4ae61629fso591827a12.2 for ; Thu, 10 Sep 2026 05:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789041927; x=1789646727; darn=lists.linux.dev; h=references:message-id:date:in-reply-to:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to:content-type; bh=j5p0fnZhfsutRgdRJoA23rs+n3VC6+9xK2KvWtfvI90=; b=dqlW96hBwIpSrzeKtgkLK9MYVY2KEQi2m4sTXdqNOqpYHLxZU/RcvcbPlVeadnSYgS F385cH2XEo+bi5FRW1do3J+hMgRwz0aldbtS7KrAzND+CReBJ1OyetarDrT1hVmFSpGa /9Ew130EUAYTDa+YSz1lm15FxKC0QjvkPTfTL/i4UpByJQuMoWpnKGiLm6duUQsEPCS4 xMBHuiHl0bwS5IpClrp3GIWNNhXPeMubL2vLWqTPVPVUb+WPrRcK0dC5y9vq8YMstlw8 UWI7N33NP9XTpfN/GYw72zRkOkK5rpvhNXH9RNFn1jjbNs0KBx23kzZ2Ru04YW/zW6Ft 23bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789041927; x=1789646727; h=references:message-id:date:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=j5p0fnZhfsutRgdRJoA23rs+n3VC6+9xK2KvWtfvI90=; b=Xr5PPW/vqjxez7jRrg1ePe6GYJWOk/nZx2ldTFVjZ5vNRxwCNvRuQ1klZs7cpgil2E 9N7EPHxaSxJkcm4B6wnkD3Z55141vl7qydx6FuLdBKKQgDxim8vIGfGvadjxmaV5CONG qjXqIvdICO9hYQ40yF84wyfUJaHEZWfFwfJ9ex1um9d9DRdmBew8ga8o97FJcQnfYRaP 9/q8HZq+U110PMNtftTExobp1smzLTXOYogxAKamlUaVRgJkVgm4FTJnpr/V03x2CF5F paTnx1pQ9vxQAOg2DGPXwbvVJCNiUi2JfeVnWAA4SGNeKfWXV1pw7BYoFHBJgN71AL4q AvVQ== X-Forwarded-Encrypted: i=1; AKwUvBz0y6DN23FshPbQYz+8pXFHDUWfmR8toOnOpYcCw2Uulo4/KhpuoW61uwE5Q8DyUzFMCJcyJ+lGC0I=@lists.linux.dev X-Gm-Message-State: AFuF++m49QLY1J/ik99arxC/zfydaQYQ8XGBuWXvLmpvlTl3uCt2+POM goSCdXSSVW45g+E+mOEulPpua/L/8DDMIbVOCbfhBRP27YetbWcJBLGC X-Gm-Gg: AYBFou1ZvkkNL75dHJSZCny012prZK4kxpg4NCi6kLxPnSytBBv5NxAIaL95ZnTFcie 5GJtBBv3Gczs2vncsiSc0HdC/oZVn5esb7gMRU2USnMgEELEUJ5ck7Q4SEolQeAfY484mcxJljX jEdYBV1KEwdU8JjKI+E5k7NvVS0MkbpLlpoZ3nIIPdkmYPJcPv+uaeOJ7y/YZ5R6UZAStg+rwo9 WExIu/66ZJ2/5e24owVACe/MYAWJ/OMEwnKS1+NaomN1IOv8LhS+VHgVs+hYFACZGYqNobSnFrY SxKuU9H986GKxjbZ2cn5XRjdcRpXmpjPvfJNgbaf454zHfcfcgTLBSHBb4XpSyiAdrqTS1X3KmY cLCL7X9ViJ+1+1JPiukGUiAUoqSj9mOspW5HMpAA2dZOMjh7ViotQ+Qd4+g/GQGKaeKfOv8mf+S jOERxeB7zdopBIkhvD7N9EpB4Fl5c/U0bC6uFdp90CYzxssGkYMYKGp1iEJcltnC0oOjpuyhcoz BhA1ke0Do3TCPcxQ1wpQKhYQeDkAAEi/RRxlp+z7IrRbqWpD9c5J+8= X-Received: by 2002:a17:90a:ec8b:b0:399:1b64:e0d7 with SMTP id 98e67ed59e1d1-39d70bb1bd0mr11567376a91.19.1789041926812; Thu, 10 Sep 2026 05:05:26 -0700 (PDT) Received: from pve-server ([49.205.216.49]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3339b608409sm59190560eec.21.2026.09.10.05.05.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2026 05:05:25 -0700 (PDT) From: Ritesh Harjani (IBM) To: Sean Christopherson , Marc Zyngier , Oliver Upton , Sean Christopherson , Paolo Bonzini , Tianrui Zhao , Bibo Mao , Huacai Chen , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda Cc: Fuad Tabba , Joey Gouly , Steffen Eiden , Suzuki K Poulose , Zenghui Yu , Atish Patra , Alexandre Ghiti , David Hildenbrand , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, loongarch@lists.linux.dev, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Itaru Kitayama , Nicholas Piggin Subject: Re: [PATCH v2 20/20] KVM: selftests: Add arch hook to force page tables to be naturally aligned In-Reply-To: <20260902164123.2546762-21-seanjc@google.com> Date: Thu, 10 Sep 2026 17:27:18 +0530 Message-ID: References: <20260902164123.2546762-1-seanjc@google.com> <20260902164123.2546762-21-seanjc@google.com> Precedence: bulk X-Mailing-List: loongarch@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: Sean Christopherson writes: > Add an arch hook to communicate to the core physical page allocator that > page table allocations need to be naturally aligned. The hook will be used > for upcoming PowerPC support, which has MMU tables that are larger than the > guest base page size and need to be naturally aligned. > Thanks Sean, for these patches. I have addressed your review comments on v3 of PPC KVM selftests support and ported those on top of this series. I am still in the process of running the entire series on a real HW (and some todos/minor changes to be done). Will soon post v4 of PPC KVM selftests on top of this change series. > Bury the hook in the physical page allocator to avoid having to plumb a > rarely used param into the main APIs. > > Cc: Ritesh Harjani (IBM) As for this change. LGTM. Feel free to add: Reviewed-by: Ritesh Harjani (IBM)