Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp905914lqo; Wed, 8 May 2024 21:02:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXvXaLz6B8NFB3wDHSbCmLBIr50f8W7UHaaU1S90s9heGt/lyPwq9cNKd+DM6525c+3bWgZ+avjI3JgKDw0smTHYq6tBWV3eYrHIOt+BA== X-Google-Smtp-Source: AGHT+IEhhxfEO7coVBGy5kOZCt4sG6H7HJIkFEwtW4z2z9YxHgGFtHCUrWCaItkGv7zzAiF8IKCR X-Received: by 2002:a17:90b:46d2:b0:2a2:97ce:24f5 with SMTP id 98e67ed59e1d1-2b6169ddc98mr4554479a91.35.1715227341994; Wed, 08 May 2024 21:02:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715227341; cv=pass; d=google.com; s=arc-20160816; b=q71+xYCnU64caOzP5peCxOSwwVYQPR7JzpHWkkJE4Mb2wieNfVchZKjqsz3OQMs55W aVWTSa5XKOlimLdnTb1qU0LWkPTM1VB7fhjtctrBA75EawPSH6NyLI9qH8dRVC40gXjC d31q5mPZ0Azghi24HiM6lZXTRaAgDBY6rxLna1Sd3Hho7hnmSXX/+1XjpJkBzkKFp0y4 EBY9IDck9PbU1jqSWtpdUmx6dwpBt9P604ReqGcWDdQRPB1vaTklRU3HEsAhfyu1h7eB c33NbUvMUrouSHLscjQV7VOUEOshH5QYN4LX3cFnMph8IM82imqpKFJ+TEBCDOwY2Hbq xDxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:in-reply-to:message-id:date; bh=48L2aqqLFVW7XU+gBbBWyvRk7z2MDQ5uEfpVBPdJmho=; fh=ptZz9pt3gAesf2U+D6Vpg4GDb5nWUgIfyoC52stKSkY=; b=CoVLbv0ugxP3gD4UeVM1/ldJbsQRqnyFQlc5dOm5e7dMaTE5BF6PBzERI2ex5C7SXv EoOcL5Y5vKCCUkPnkdWEZGwVVpSrwzlYYcOJ3FSWpus8ET0bvgB5RQ4w5Cm/zyzT4tNw F33s5a6/EwQf2am9rxnfk2PeUJ0xLz3/x0loLeFmOb2w/lonCech3u/GK1kRXb8GxDNU KgdOJY+iHRBwlKKIC28gwibGY+WxNf11He4u917FjkiJxpbdvOL6TWK7Lw+WjoVp4jw3 M9p/Wh7EHP87H55l1m7QPmcFzMIX7vnhKJ26r03sMm1ytdAFvOFHTTPwVL1q8ZFj2KpG +EGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=zte.com.cn dmarc=pass fromdomain=zte.com.cn); spf=pass (google.com: domain of linux-kernel+bounces-174113-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174113-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zte.com.cn Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c26936dsi6192595ad.570.2024.05.08.21.02.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 21:02:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174113-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=zte.com.cn dmarc=pass fromdomain=zte.com.cn); spf=pass (google.com: domain of linux-kernel+bounces-174113-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174113-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zte.com.cn 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7C6F128460E for ; Thu, 9 May 2024 04:02:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D5531482FF; Thu, 9 May 2024 04:02:12 +0000 (UTC) Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.40]) (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 CC817147C8B; Thu, 9 May 2024 04:02:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=63.216.63.40 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715227331; cv=none; b=hff6X4wqdOb6kKmodgtU1poqOfY6FfWVtEKKLWwvkz3sjlbRR63FbLuRXFvad/ImBOP1gzS71PMq23KswfpLY8AGNaKxXteAQjWTRxpuqc3PIBS8fR2X6pij1gt26Lt3hmFvmrYtjiT2ZyhZ4YhItqLJJi4+UHdcgrKWltKn8S0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715227331; c=relaxed/simple; bh=48L2aqqLFVW7XU+gBbBWyvRk7z2MDQ5uEfpVBPdJmho=; h=Date:Message-ID:In-Reply-To:References:Mime-Version:From:To:Cc: Subject:Content-Type; b=Xu/RmDIbTLmBMC/idmOPNlagHqOvo2YXu9Bj/yS5eWZtV/qNKC9svN1AnW2tAuTJirWPvQUM39l3KGx1D/DyAPmDrMWaljIxx8oOHaMdAOQCVV3+AN9WJ0gW14pEWWJqtXBJADsX2XA2vynColN+ALAHX6rCKJVgIZ0OF8pzoIk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zte.com.cn; spf=pass smtp.mailfrom=zte.com.cn; arc=none smtp.client-ip=63.216.63.40 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zte.com.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zte.com.cn Received: from mse-fl1.zte.com.cn (unknown [10.5.228.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxhk.zte.com.cn (FangMail) with ESMTPS id 4VZdcs4h0mz8XrSB; Thu, 9 May 2024 12:02:05 +0800 (CST) Received: from szxlzmapp05.zte.com.cn ([10.5.230.85]) by mse-fl1.zte.com.cn with SMTP id 4492OwvM072423; Thu, 9 May 2024 10:31:16 +0800 (+08) (envelope-from cheng.lin130@zte.com.cn) Received: from mapi (szxlzmapp03[null]) by mapi (Zmail) with MAPI id mid14; Thu, 9 May 2024 10:30:59 +0800 (CST) Date: Thu, 9 May 2024 10:30:59 +0800 (CST) X-Zmail-TransId: 2b05663c356305b-30337 X-Mailer: Zmail v1.0 Message-ID: <202405091030597804KUqLDPPj2FpTIBrZZ5Eo@zte.com.cn> In-Reply-To: References: 20240508184743778PSWkv_r8dMoye7WmZ7enP@zte.com.cn,ZjuhDH_i9QWL4vyz@google.com Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 From: To: Cc: , , , , , Subject: =?UTF-8?B?UmU6IFtQQVRDSF0gS1ZNOiBpbnRyb2R1Y2Ugdm0ncyBtYXhfaGFsdF9wb2xsX25zIHRvIGRlYnVnZnM=?= Content-Type: text/plain; charset="UTF-8" X-MAIL:mse-fl1.zte.com.cn 4492OwvM072423 X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 663C4ABD.007/4VZdcs4h0mz8XrSB > From: seanjc > > 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? If a vm's max_halt_poll_ns has been set using KVM_CAP_HALT_POLL, the module parameter kvm.halt_poll.ns will no longer indicate the maximum halt pooling interval for that vm. After introducing these two attributes into debugfs, it can be used to check whether the individual configuration of the vm is enabled and the working value. This patch provides a way to check and modify them through the debugfs.