Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp12493pxv; Wed, 21 Jul 2021 14:05:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0IjSFlPY23NQhgkyOliiJdZh4dvN1bRFrK6ScHQlupirzsvud5jz0TQ/o7Ko3r1hjfvvi X-Received: by 2002:a17:906:859a:: with SMTP id v26mr40434330ejx.336.1626901534990; Wed, 21 Jul 2021 14:05:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626901534; cv=none; d=google.com; s=arc-20160816; b=IYFvIehMAtuCPt6268dwVvvYq/yKFUx1LCZADJNO+3GrNLPyvXWI4bZIBZoHmZyAMU Ztl8hovvVR8fXEoJKpvpjQR55btniRrq3qnaV3+FBIXkx95dLQbHbdOPv6Wl9kw54FL3 qMtzeDM1drPTouZ6yDkQqfK35M4xmunBBmj5Ag8/kFslQkFPvJHHbjMB6q2eGLasugDR mkaBfLh8OGHWbjjw5wVmHq6WaLvRNNO4GQQBfOJdeXD6tZbYjYOI8ugwzidoToSUy7rF gZnCkTm28l2umJfqIUhzITVnhluex7wnrONeZUJkq3YRt4HfPkVCfIIbQtjBtRsDO18Q Elng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vrMphr3tpItn2w3bBK1L8WnMR/wafltXE6Any2pLriw=; b=ChShHR0lHyIFsz9frMtig0k3AviZPaWGG3sJKCBMyN0l+SnFL08pcRMtaQTGpkopfl UhFE+S3cI5FHSONmhemoGh66bjjWKJq5lz/hpjXMfBqUmpEEHNR4Ft1BlrfYJgzaZIoz l4KTGdojAq7fd4CXfQGC+Uz18FQ//4g1HgOQ5P+pXavvtyDh4RM4PLCHJ/cqComtD1jx +ZK0/QcpLMEGllYfbfLTKwCh3sIFawEBLji9zU7oGwHoB5PGUJbzfg+bE0m6OVyCaaoq HW/si45rCKN0HGkaRQvRiDq/xfWtNZWp34qHPjusjv+/0SFk+P4MocDIxP9GAaqp/UFT hy3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rtdiKAHw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ec21si29875156edb.398.2021.07.21.14.05.12; Wed, 21 Jul 2021 14:05:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rtdiKAHw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231140AbhGURQM (ORCPT + 99 others); Wed, 21 Jul 2021 13:16:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229948AbhGURQM (ORCPT ); Wed, 21 Jul 2021 13:16:12 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43D7CC061757 for ; Wed, 21 Jul 2021 10:56:48 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id c17so4460112ejk.13 for ; Wed, 21 Jul 2021 10:56:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=vrMphr3tpItn2w3bBK1L8WnMR/wafltXE6Any2pLriw=; b=rtdiKAHwaRqh8X+FKuOHGfbcpYhyq06wimQpNcQgPkZTz6/eAvUT1D1HBNHj5YoaLE X+vmixOJr4r15Dzo1zBi6hI0mIbdzMsUdGxXCqFMnKc5ROVW3dXItOh2of/2WPOU8+Yk 6V2CFYdkbmpsPZis/khwXfYZdxSav5Eai2B/Qj1bjP3yeYHdYbkjQXkMCXkWzO3pm9JG LVxyY1yhCYvmuCdyV/944q6XZ0Dbz/mXKkDAqlCUF+JXdM6e/0elAqQoszltebGx1Rbq 6siHkU46e8dFc3XhRcnMXXQl+lv0FrdkasnCdiQWlL0cSBohyrZ5lqB197OkMaJYMuzB dNNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=vrMphr3tpItn2w3bBK1L8WnMR/wafltXE6Any2pLriw=; b=dZ6znT2VF+r7RopA9jFTVofGfpKMCvOOJ7VWiJ0inw7K9BlOamdaQaXhztobNHPUoo qsyFgxjI4HEMpDGmTx0MyV+t37e/zdc4iWyn98Dh8toHrhURsP11C2WZFE9QXWXiA8qP 2VCfoaIJXGeB85gcJliCL80TTgPytwl13AwugpiPcpeMAb6P8XNto+359IKTnSWtx3bh SzttIftW74Emq1YHkuJYnV5Y+F+MHVZjNw6/v+qJWP8cPh3JBl8+5daaUF+fjvAPXVas KYksyIOJA7mqH8KX9OZqivoJpd+5SvPtyfWQQ5b18w4v1OqBiatD5ayuUL1jpPjnVMPi MVPw== X-Gm-Message-State: AOAM533hmIIXYLb8/Dl/8uRvi+op8+StRLPXRs68uT0YXJHVd229PfGi HvJL3Jhx6zwfNMIUzzxTINjYDA== X-Received: by 2002:a17:906:4ad9:: with SMTP id u25mr39222251ejt.174.1626890206835; Wed, 21 Jul 2021 10:56:46 -0700 (PDT) Received: from myrica (adsl-84-226-111-173.adslplus.ch. [84.226.111.173]) by smtp.gmail.com with ESMTPSA id p5sm6130708ejl.73.2021.07.21.10.56.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 10:56:46 -0700 (PDT) Date: Wed, 21 Jul 2021 19:56:25 +0200 From: Jean-Philippe Brucker To: maz@kernel.org Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pbonzini@redhat.com, corbet@lwn.net, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, catalin.marinas@arm.com, will@kernel.org, lorenzo.pieralisi@arm.com, salil.mehta@huawei.com, shameerali.kolothum.thodi@huawei.com, jonathan.cameron@huawei.com, tabba@google.com, oupton@google.com Subject: Re: [RFC PATCH 0/5] KVM: arm64: Pass PSCI to userspace Message-ID: References: <20210608154805.216869-1-jean-philippe@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210608154805.216869-1-jean-philippe@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 08, 2021 at 05:48:01PM +0200, Jean-Philippe Brucker wrote: > Allow userspace to request handling PSCI calls from guests. Our goal is > to enable a vCPU hot-add solution for Arm where the VMM presents > possible resources to the guest at boot, and controls which vCPUs can be > brought up by allowing or denying PSCI CPU_ON calls. Since it looks like vCPU hot-add will be implemented differently, I don't intend to resend this series at the moment. But some of it could be useful for other projects and to avoid the helpful review effort going to waste, I fixed it up and will leave it on branch https://jpbrucker.net/git/linux/log/?h=kvm/psci-to-userspace It now only uses KVM_CAP_EXIT_HYPERCALL introduced in v5.14. Thanks, Jean