Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp592753lqo; Wed, 8 May 2024 08:58:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVXvNTzSJ1+3fUqFe3IgXq1Y870c6kn7FV/iQtHABDQO4O9H7KDeT/WxQ/lcXb2c0fSHgvg7cKH5HmQCoqiojlnhL+INZJoo2JYjuMY6Q== X-Google-Smtp-Source: AGHT+IGdT0VaXrFjEI2novJdpSBBMcXQFWJU7bdIQYL11dXEToFWa+Pg6UjTreTgmXqWwyyE8ZZ9 X-Received: by 2002:aa7:d9d5:0:b0:572:a852:c756 with SMTP id 4fb4d7f45d1cf-573327f15e6mr46246a12.12.1715183897105; Wed, 08 May 2024 08:58:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715183897; cv=pass; d=google.com; s=arc-20160816; b=Eh6V8oyPoYGI8C2mZhaaRS8dact24CQkjm69SGPhaBjA+Zr9a91Xp94KHGGp8cQysH +ePwwgYtFS+YWHpknxw6DSnDC9EwUf2QBd4IbtRt5LnGaHBv2F+kBNsqIgnySnGJUUYb 7c3cchFvVTR+b4/QRpkZpBsep4U+tk8BYG7KLU/BxUsm5smyTAyxey/sBoz7ZXDrN8px 6Rwwm1PYJmNyYG+LwORDJNBiF0JZHYDYou1w/Di9ILAMBw9GC9l7hpecr1V+KmRByhQ/ f0SrosTVY9vU1XbP5gENqX3yxPuTj59PKQsOvSpQqvk8frOO6PsTq2pS1cKfD/HIQfi7 GxLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=7zrXfdhQVZa7DTzCijd3YUUNo+sqV2sNEtTK3+8ITdI=; fh=0JE55wZUeX6dbart2EBwlL7TxSoTrAXn+o84f+DLSBI=; b=VRCAZ4jsZbeYrAK5sbag+fQHahL8rqJQPu9HpY7GI8fqCaHeg0NRpuHFRENftkA8ip tSOyzMMWpf2iTr84fL/ZMxap+9Yf/xUIQ0/a6yJ2Kd6bkZTaJmsPOJFXRmUcLk52XyCi 8SrmKMVbz016XlTlbnhw+Wn2uLAnlDcqxo0GgX4SUFC0uI8+l4++fyf6lLJcOvDxeTcm FDNwVhdiLrm0mMNJs6inv7oYuZgYgO/YREUjrrr5UCZDBgZv8sgTw+61pnOMwMuu5GWV TMfqpvAszQAz6X4k3/0cXUS/SI1mnNuP0hm/ptO+wAL7wWM6ypWklZeJjJBYr8kD0yem 5GoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=KYinLjPK; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-173518-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173518-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g22-20020aa7c596000000b005729d8d8843si7132758edq.254.2024.05.08.08.58.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 08:58:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173518-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=KYinLjPK; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-173518-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173518-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id D0E3D1F23C20 for ; Wed, 8 May 2024 15:58:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91D05128829; Wed, 8 May 2024 15:58:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="KYinLjPK" Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.201]) (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 83FEB86651 for ; Wed, 8 May 2024 15:58:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715183887; cv=none; b=HOfLurM8OskVvJMUpU9AAigNApTbCMA+wEoyC7ykc/PLpbv4cum1ERLtqYUX9rkx3RzfsA51/qDSa39nFxoXcmXoK/kkBvmLI3ZguHlTEKi5HzX/qk9lvBMojyYtovHQRikNvW3iH1YG7BEivOeJKN7qHGDwPOt7MHj8R4PzRjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715183887; c=relaxed/simple; bh=6izLnspEoWi407XJFRyj0TMHQcyQNDsYCuNvg2YZsww=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=j/0fZrj+TjuQ6Lu6RKl87HX8IBWlmmtRdDM74WqY6oXulMOs6VqRbLFLNh3D8os7+FOYY81JJo8GTcycqqGMWn3xdLih9PJje/A9hF6ZJenD4AyyZa+jvWGInJ0lLx4MaSrukakRXObVvtn6R72V3vlCNQ1WSfQH7oRr5n8/KeM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=KYinLjPK; arc=none smtp.client-ip=209.85.214.201 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=flex--seanjc.bounces.google.com Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-1ed057cc183so55435315ad.2 for ; Wed, 08 May 2024 08:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715183886; x=1715788686; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=7zrXfdhQVZa7DTzCijd3YUUNo+sqV2sNEtTK3+8ITdI=; b=KYinLjPKz33Jnl/g38R8VtxyHX+w2AuldeA4HVAd9D1IHqp8CBHpPa2SHs0x1x5rz4 KJPeIstO7LoZxJ7c3oHQCr/TzYIwfgPNDZVxyCfAhXiV0+6T019r3MKrDigUykbRtSn+ Re3ZcfQl7jDqmgZq0WRfr32GivGbmjYaTEDQuUQYnjKsi58ZVQgJQAGFucd6U9jXofa7 5JR+w9mojXc1lHIwKE2nCPbNmQtDLylyMu7cmG9lmUr9MuoPsKiqzF+6hJRso78Kr1g/ mA8bzn7M2R0Tvest6H4gbP37BmqWlwwnfjvmS2ziYWq8Uje7t7IGe559SkFpOyu1FfHf XWxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715183886; x=1715788686; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7zrXfdhQVZa7DTzCijd3YUUNo+sqV2sNEtTK3+8ITdI=; b=Tg73hI6+wrJ7V5cpDqnDXpoDhc1mfgvWLBLHHLRcVgOuepJyVrn6BFgs+2IMZcpvG1 14D8pypNm5NZg4sbUXmkmXA2C+wJO3/iHY3q1SIlCCDTCjctIwDiFzYl3dgUPBCzQ3tq FNgjSz/UEscXT4Y7T1KR0uVsKuKzqX5xMHo9eWI4M/xoYhWW5bzDRlth8mXkckre7lXa HaOkwgDYm8rq9/5nI0Gp3WN1FS6psrPlyxsTMxcN1kyBt1Nw4zp1/Q6BTvEaSW7Xbs+0 tumqxEm0GEsUtaNAzbnaXrtUfYk/KHVMUAm/xK/D0YVYynuYqcnX4S0wyb39/i3nlYWM gn7g== X-Forwarded-Encrypted: i=1; AJvYcCVtjShqiWYMPPUoepFBSz8avUrQuUaDXA4n8hEbnEgLOTtNg+rhQR6pqEa5fn9G4mtFkFjGsRPZ99gNgRoKLIzV6EtM0j6HDcErX8zU X-Gm-Message-State: AOJu0Yycpqx1JtPkyTxGHIZq+hwdUr7JA4x96LWWwlT5RSoBjdSK49ap zwb64TvC99ylhPCzWgQqtDO8zmekKY8sOy7dqSNeGr3UfFqMaCaF53c63npMwwhdF1yH7s+k6XQ X0Q== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:902:fa4d:b0:1eb:829:b6da with SMTP id d9443c01a7336-1eeb0197748mr505235ad.4.1715183885782; Wed, 08 May 2024 08:58:05 -0700 (PDT) Date: Wed, 8 May 2024 08:58:04 -0700 In-Reply-To: <20240508184743778PSWkv_r8dMoye7WmZ7enP@zte.com.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240508184743778PSWkv_r8dMoye7WmZ7enP@zte.com.cn> Message-ID: Subject: Re: [PATCH] KVM: introduce vm's max_halt_poll_ns to debugfs From: Sean Christopherson To: cheng.lin130@zte.com.cn Cc: pbonzini@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, jiang.yong5@zte.com.cn, wang.liang82@zte.com.cn, jiang.xuexin@zte.com.cn Content-Type: text/plain; charset="us-ascii" On Wed, May 08, 2024, cheng.lin130@zte.com.cn wrote: > From: Cheng Lin > > Introduce vm's max_halt_poll_ns and override_halt_poll_ns to > debugfs. Provide a way to check and modify them. Why?