Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1049630lqs; Fri, 14 Jun 2024 13:12:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXDwZiSTNlgzHQu1N5kEYR70MBg1n8h9HT+2COiwEsrW5Vl4u0LgdhQNE+I+9e79/xKZ4UZOLvO9hVWHiHbJ+chyOJ8KiTLMTZuqTbe9Q== X-Google-Smtp-Source: AGHT+IEjdTrbZvCzSTYokBFFfdPbyKHL5Pzx1vslZA9MqoO3P1QTi6/NgtmIQeWO1xqQ/YhG8Msu X-Received: by 2002:a05:620a:1aa3:b0:795:5ec7:2443 with SMTP id af79cd13be357-798d258e3c1mr434070685a.55.1718395977719; Fri, 14 Jun 2024 13:12:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718395977; cv=pass; d=google.com; s=arc-20160816; b=oE2nqwW5BNL2J0h9mNbmCYZSUMErw+PuTne14JEhC3VwH/e9nCEAJHWTpocdW9y3d4 0tj8Rnp8kHYQ5tGvCZkHdPTaITjLzbe52jM2Gyun1BcX3OJJEXxmh81Xq7gggywlQFLG s84MGv413Wups71LK2h7wNCGBCrodiyKuawTt9hn85K6L/0gLMtF548l3fEsHHMZtakK EV466hIfk4k3L2IuSb37x7FV523e7e0A8Kt9sOgyCKCQu5LZ9q7Tss3xXtOOVSL+TOgh ajgoMo6yr1dOZhRb4l+HDS/qurV07lJeeDCS+1/NxfK3v7OxELqgAdYfiLW+oCeqI7lc Lbtw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=JlzAV0tmpVS9NuQqVdxMb9B5p//nrTOGvG6Ai4IvREs=; fh=l/YQOCzCWsuW3nUpdIpWyU2x/iLd7jOKshHL4tTqesk=; b=oZladETzpaPFNzAQKvnxaUvMBkmwNBL6cAku//9l69kIqC4hszIqYn4QZiFkf99COV ZdmfOo8tZs+hN3+X/ITCr0ogmTLMjzD87S9qKJLo3132ZKfzPl9sJ18BfZCV8XlTCJP0 V1SWNK6npqRXQs7zmUraEMTR2sycvMRR31Wv/o1y/47ahCPybtQaf5irdfwXWaNaYvhP DP+mzRDNleKYeUcAgngQCOLmxEwapZHM39dSY6pDK2s/i9qRX1FyXNNvCTtPtuffNp8w w98DNUWjZixAcdfqz3aQjpMpZLQL0mCDdOxEVdubMvtmGrFXBJe7RuG6IPghW2OZCiBk SgJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=syFJwenP; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-215470-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215470-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-798ab9031ecsi159760585a.280.2024.06.14.13.12.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 13:12:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215470-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=syFJwenP; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-215470-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215470-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6DCBA1C213FE for ; Fri, 14 Jun 2024 20:12:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42DD61AB8E6; Fri, 14 Jun 2024 20:12:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="syFJwenP" Received: from out-182.mta0.migadu.com (out-182.mta0.migadu.com [91.218.175.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D54A91A2549 for ; Fri, 14 Jun 2024 20:12:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718395963; cv=none; b=ozkxQzaSWId/Gph0lE21xpZUThCeNlDS9Xfed6YUop5dWrvCIejErDazQTIwBwXzkTWfTSPeom0/6qGvzrzUquCFQgLwgtTTsAhT/3DpuqJBoHF1gadP3rUQW4HQlKR0f5GHVHLqwF9RdvjmzIbazz3lOKY4MOMa8ErbYXmfqXs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718395963; c=relaxed/simple; bh=oZjsCzFCbJSD90TB64x6dRc25o9iotk3a8IHULwKXow=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LWblRWmxY6WTbQbpThic+E56YBjwuG67DLXdSmlLQH5eXg0yZvepplkks17YlBprda3YGRvxJljm3x4vy5iUF8AY2/5nhRXLmMHJ+L5P/FVXnU6TloTk00ZYepe+yGwCZR/l06GphYPUxcLofuUj7rAAhixTPZRdPsXDfqaqG/c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=syFJwenP; arc=none smtp.client-ip=91.218.175.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: kvm@vger.kernel.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1718395959; h=from:from: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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JlzAV0tmpVS9NuQqVdxMb9B5p//nrTOGvG6Ai4IvREs=; b=syFJwenPeeak7hSSMKMLwZL81m+ePkBBHaS88KUSdJ3IhWHgAvtbK4RaSAd5ksvuUokrBu JCaO8vOXIjvQAZux9Bv5r2803jHdojWysiGeEFXCu/St5gty1Fhv2gF++eqRrM9e/Ou7hK rxahccN/Lz37K1s2xv2ayoNXr5bTd+I= X-Envelope-To: coltonlewis@google.com X-Envelope-To: oliver.upton@linux.dev X-Envelope-To: yuzenghui@huawei.com X-Envelope-To: linux-doc@vger.kernel.org X-Envelope-To: catalin.marinas@arm.com X-Envelope-To: corbet@lwn.net X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: suzuki.poulose@arm.com X-Envelope-To: linux-arm-kernel@lists.infradead.org X-Envelope-To: james.morse@arm.com X-Envelope-To: maz@kernel.org X-Envelope-To: will@kernel.org X-Envelope-To: kvmarm@lists.linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: kvm@vger.kernel.org, Colton Lewis Cc: Oliver Upton , Zenghui Yu , linux-doc@vger.kernel.org, Catalin Marinas , Jonathan Corbet , linux-kernel@vger.kernel.org, Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, James Morse , Marc Zyngier , Will Deacon , kvmarm@lists.linux.dev Subject: Re: [PATCH v6] KVM: arm64: Add early_param to control WFx trapping Date: Fri, 14 Jun 2024 20:12:27 +0000 Message-ID: <171839594069.633615.6902666817551787618.b4-ty@linux.dev> In-Reply-To: <20240523174056.1565133-1-coltonlewis@google.com> References: <20240523174056.1565133-1-coltonlewis@google.com> 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-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On Thu, 23 May 2024 17:40:55 +0000, Colton Lewis wrote: > Add an early_params to control WFI and WFE trapping. This is to > control the degree guests can wait for interrupts on their own without > being trapped by KVM. Options for each param are trap and notrap. trap > enables the trap. notrap disables the trap. Note that when enabled, > traps are allowed but not guaranteed by the CPU architecture. Absent > an explicitly set policy, default to current behavior: disabling the > trap if only a single task is running and enabling otherwise. > > [...] Applied to kvmarm/next, thanks! [1/1] KVM: arm64: Add early_param to control WFx trapping https://git.kernel.org/kvmarm/kvmarm/c/0b5afe05377d -- Best, Oliver