From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 C5E431DE2A6 for ; Wed, 29 Jan 2025 14:08:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738159731; cv=none; b=OGVpDVTlGTD3459wjNg+G/NoMw0AILUlCvbYxVno+epL0mYziOODsPlBHiZo1yH4Fn9LBD1FG40UF170152towJwgS9MPSFclTjJlUzQk+Fcn6DaKK0dVzfT94oZabr0Camhr0106E6AmI9R8akJpe6FaG02mzmIHGrlm0/7GBE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738159731; c=relaxed/simple; bh=gT2PZen3KYaZzX/+EwPdZUZa3eaq/QOFJ2UlB6rCuFI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YfTyeBembEyGa1AgdB2Z2NJPaGA/aBvMurmfzIT33VdELNGH0sRuGITaA1ntTRUKqssaS81oZp78jq7VdyKifoMyZBBzxCt/GAwIfvYsZi1dY57yp2UphS3Pg6GXWx/BXSTGxh8R7x2EGNRPmjbPO87IVHha6nogOGJcU6w/e0s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=ufvbQKY8; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ufvbQKY8" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-438d9c391fcso90795e9.0 for ; Wed, 29 Jan 2025 06:08:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1738159728; x=1738764528; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=mwnygbMsmdCq2LJyfsumivo8IAZG4XDnKYNgemYLbF4=; b=ufvbQKY8agSMJDmTFkQCqm3KJdcuo0rQbsNCWlLqSvdVWUmMB6BoRa6SwIO9NCFvPW kjZfSXVyR1K4JQcaeATr/sKxIk3DmhgjdEQlXeuxcYwcsPmg4iGib4CXWSFjR8hGYu88 jqaFkywuOJ9hBt5NlLS9OvpSkJ2D1bCXvrg3asTBdGHxa7ZlK/IloD364SndfD70ibIa GTOli9kOEM5nNW7Z9cAcWQFuT3l7FYMjbnhWgQNGMUaSqCypgFvg2qtrK1/PvygIf9aO QncZLHayobE7lvnrN6yywoZFMAq2i47WkFSPohpoFQPB9NqsNsUL89ThJ2h5YT9kYnb3 yHJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738159728; x=1738764528; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mwnygbMsmdCq2LJyfsumivo8IAZG4XDnKYNgemYLbF4=; b=rnZ7vlQ8ZpinYUJ61RIeyARDTEGX+ovLrfi30PtEJI4BdjWhgAgKfI5nI2unvbvss7 r1rTeOCwgpTufWn4L8VAy0cB/jvLTQ8ZjxNKxCUNuGx8w2gzOjxB3i7VyE9cVs6JIjXR 3JXffcDW6VjaL9l+1D8/J/QX2AyzlCHCQIKGVDLycsMjxpWy6qSKQc+K7FUsAMQZwP/4 yHttTkDHSho6w3UIk2KfkIzbDNLbfDnuLE8dmUwmDjJfvAgB8oKY3Ezls6Sqs+JxNCw+ pr+XUmmQ2FHhi+ET0faXucrzLa4rijLEbgyH3LzQTE5Rs8rKlEV2llHWo4P6oTsi6kpU 9skw== X-Forwarded-Encrypted: i=1; AJvYcCVCZoLXr4iAfrUT4nFUruygnDezwxZBioBh+ZUHuZ/qgFnRHgtIJoAMgfL03OtxvMp91tUV4YssLjrttWk=@vger.kernel.org X-Gm-Message-State: AOJu0YyRbsJ/XTGcDk6CnfIMj2LkVPtObY0nTT/DGIXH20xwKtPOUIGK dYiZIADGGxLnQ5LP1pGcwOwcC1w1yIssBHBcJRxahGX/O16b1Mj5rOX5LrDePurxL7FqYfxEucp MUw== X-Gm-Gg: ASbGncudkCjl8d3nli1SxfAWHpSaRxxgO/rpzL8/xJ8eJ58BCgGRYrqQf+RUyWvDNM4 5OSLuZwz+z/JpYk88s7usN3YfQU8MThKJV0jZmqapMT/obHjYixu5tJxGRU567115niLfMpQhxq IjFuyH4yc5jdTPI7CqwgtsjNzzibbw5G5t8X2DnjoaP3k4+xtpoiW5Up+sySIVR3Q+6wCYzjSEQ /ZOyWlVv/8IK/nBqQs4Hzt8VdYpAsJOg7szVuHBkJKQoCVK2ekPwbwoysc4ciwukbzZxkIqXDIm rOeBDkE9v3NPHe6vThH+qtmwSPlQez5MNm1FAKD1wPmeA1Eheso= X-Google-Smtp-Source: AGHT+IEBmc8wE9vCyM9jLK6IJcRV2lIxnHwIYu6bH9hjFBBeHTH+WuqVZsZJrlcZA0Sb+Jn5z82GDQ== X-Received: by 2002:a05:600c:3585:b0:434:9d0b:bd7c with SMTP id 5b1f17b1804b1-438dcbf4e2fmr913185e9.3.1738159727917; Wed, 29 Jan 2025 06:08:47 -0800 (PST) Received: from google.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438dcc6de2dsm24352725e9.26.2025.01.29.06.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2025 06:08:47 -0800 (PST) Date: Wed, 29 Jan 2025 14:08:43 +0000 From: Mostafa Saleh To: Jason Gunthorpe Cc: "Tian, Kevin" , "iommu@lists.linux.dev" , "kvmarm@lists.linux.dev" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "catalin.marinas@arm.com" , "will@kernel.org" , "maz@kernel.org" , "oliver.upton@linux.dev" , "joey.gouly@arm.com" , "suzuki.poulose@arm.com" , "yuzenghui@huawei.com" , "robdclark@gmail.com" , "joro@8bytes.org" , "robin.murphy@arm.com" , "jean-philippe@linaro.org" , "nicolinc@nvidia.com" , "vdonnefort@google.com" , "qperret@google.com" , "tabba@google.com" , "danielmentz@google.com" , "tzukui@google.com" Subject: Re: [RFC PATCH v2 00/58] KVM: Arm SMMUv3 driver for pKVM Message-ID: References: <20241212180423.1578358-1-smostafa@google.com> <20241212194119.GA4679@ziepe.ca> <20250102201614.GA26854@ziepe.ca> <20250129135053.GB2120662@ziepe.ca> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250129135053.GB2120662@ziepe.ca> On Wed, Jan 29, 2025 at 09:50:53AM -0400, Jason Gunthorpe wrote: > On Wed, Jan 29, 2025 at 12:21:01PM +0000, Mostafa Saleh wrote: > > levels) and can’t be separated from the kernel as that defeats the > > point of KVM, that means that all hypercalls have to be stable ABI, > > same for the shared data, shared structs, types... > > Sorry, just trying to understand this sentance, today pkvm has no > stable ABI right? That is the whole point of building it into the > kernel? Yes. > > Things like the CC world are creating stable ABIs for their pkvm like > environments because they are not built into the kernel? And thus they > take the pain of that? Yes, my point is, we can't just separate pKVM as Kevin was mentioning as they has no ABI and it is tightly coupled with the kernel. Thanks, Mostafa > > Jason