Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp373250rdb; Fri, 17 Nov 2023 00:55:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJkwu5H7UQW7xR8Bh+CRWvDWkaHXr9FAR5ZEfyCO6+FYX4MOE4Ld9kfZD92Z1Woe0tAO5h X-Received: by 2002:a17:902:c401:b0:1cc:65b7:812b with SMTP id k1-20020a170902c40100b001cc65b7812bmr14733658plk.22.1700211302041; Fri, 17 Nov 2023 00:55:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700211302; cv=none; d=google.com; s=arc-20160816; b=f0Ht8B/TTVendNBiHkjGHprGtk3QTJhOBmzW2WmjS2JVMa0ANwVTKBmVDt56ZjWliK eaSkSn3//CQZElFAmIpxKVwjzAnMrev7qh6t5/WMU4COTlfSSk/ldNtEyUpWpDtuBBR1 La5wwYUf0UzsEBas92sXmmdHmfMixNeojltnRRwrYOTKO2RyvwxD7v1xjcBN3JcinDaa yv3aDHJf8J3LxHVs0JIPYnJjCgszzlpRDJ+k4D+8k2CNMj8GByD7Ny18QaU9wf23fTc7 rpyA4WdIj7xFECodMI+zAzRlSi+A89Um2h5FZgl6bSMtV+s8PoW/F5l3+wOEPC1nsF5Q CDrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=DvDuSF1H8xZtYo/FFdoMBT6Yb7qFROSx7X15RtrWD0o=; fh=LykMdQVtkoBVNV+jpCtwZROWsrFxRx+Rj4/8+Vsr4JE=; b=N3ERofTOz/W96DZAm81/qCDyxguT7Icvc6RTAI0oxscGkxotbmQ9SYE71HQ0xcEeYR k59TZiAMx1DvB5etlT54m2rXZkSLBKeePLQxzrp3cJalpJjdwhp9W1PC532wef2Z0byW 7JbrIDPGsB85FA5DPGWrM+Xhh8FM76N5vSDM9vPDeOgUH5nBCF4KUAXBMPKsZq782E4K IWONPxo9sM9PzuCQF337LF7vSIbNHcPeYhFENoPxCLMx97EyNsIUzXVow/Sf5OjxcM3I KYw451eQlI0i8HRapJgnqr3lxTk1hJXkY9/iH5xgbW2fLPHFPsv3/zg2Vu03MCKVpFmQ H+bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=E3anzLOX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id p1-20020a170902e74100b001c3e9b0bae1si1442766plf.443.2023.11.17.00.55.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 00:55:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=E3anzLOX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A8D1481C70AD; Fri, 17 Nov 2023 00:54:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345722AbjKQIyk (ORCPT + 99 others); Fri, 17 Nov 2023 03:54:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230316AbjKQIyi (ORCPT ); Fri, 17 Nov 2023 03:54:38 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D9B9D68; Fri, 17 Nov 2023 00:54:35 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-28398d6c9f3so404582a91.0; Fri, 17 Nov 2023 00:54:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700211275; x=1700816075; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=DvDuSF1H8xZtYo/FFdoMBT6Yb7qFROSx7X15RtrWD0o=; b=E3anzLOX3u4CzpZN6OfXwbcGTcX6Trrx3lstia2F6IXkzl24gnQe9mGmvROgdiKuB6 gSMMj22Ll0ybUoPrvXURmBkqQlDd6fEa8gYtmMGaMTD84AeYyBTUQYejfE52dFFwo8f/ IDsDbmebETHdNN1VbbaxtLHdvGKMkS954zV/i7pZLCsvy/5vZM6SWgOYYuS9bOYEgFds M/AV24fenEdK36xn8j8r/d1vks/vvbq2AmN6zJj2GlunoODh5sPAn0cys78jyNEN/0dl J0UFB736VvCYIdrXGJtUxCFykjjdr3j6W3gVU0rWW+r2lg66DC5kE9kU2VXIRH6Gh+UD 3tJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700211275; x=1700816075; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DvDuSF1H8xZtYo/FFdoMBT6Yb7qFROSx7X15RtrWD0o=; b=qS2TCdjmJm9JBnTLdTe9TIvKQcXk7NPKH9Md06BTzDrUb2X01VHBMMhY9C3DXFGWWK PQZumua9COxwt2sw5FIe3cTpe2g5lj2InDE0Xp3TlAYt3ZR8is4XNW52YfrHZsj/zQdq JZp546HQpOrr5Dpytr/DhyUxSH4Vzo08VNL5huzXZMbLcWDmeg52lBvF2BoyweRjRgcd uLNr7Rov3sR1RsvTdvO9n7ZkwYQT9SOgNTur2nzGUyhRhvZ/3GYBxfnvLIDhPRoI0TG0 rrwXtCQ1csjeKARb0u7gwdlkiesirLo0t280prDWve3Bj9RpmmYW7Jx0Bf6M7r/660ZQ p1zw== X-Gm-Message-State: AOJu0YxgPtLirMFaBdvejnbOxDGMtYwrCKD9wxjnjpAnMEjPmzbhXnIB TBIV4hbxjsdcs4mZ0sge3B6vT3x7ZizApV1akHU= X-Received: by 2002:a17:90b:4d89:b0:280:c0:9d3f with SMTP id oj9-20020a17090b4d8900b0028000c09d3fmr20935210pjb.34.1700211274979; Fri, 17 Nov 2023 00:54:34 -0800 (PST) MIME-Version: 1.0 References: <20231107202002.667900-1-aghulati@google.com> <20231107202002.667900-10-aghulati@google.com> In-Reply-To: <20231107202002.667900-10-aghulati@google.com> From: Lai Jiangshan Date: Fri, 17 Nov 2023 16:54:23 +0800 Message-ID: Subject: Re: [RFC PATCH 09/14] KVM: x86: Move shared KVM state into VAC To: Anish Ghulati Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Christopherson , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, hpa@zytor.com, Vitaly Kuznetsov , peterz@infradead.org, paulmck@kernel.org, Mark Rutland , Venkatesh Srinivas Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 17 Nov 2023 00:54:59 -0800 (PST) On Wed, Nov 8, 2023 at 4:21=E2=80=AFAM Anish Ghulati = wrote: > > From: Venkatesh Srinivas > > Move kcpu_kick_mask and vm_running_vcpu* from arch neutral KVM code into > VAC. Hello, Venkatesh, Anish IMO, the allocation code for cpu_kick_mask has to be moved too. Thanks Lai