Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5004942pxj; Tue, 25 May 2021 23:58:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqDOlFqKQ/cxEOL8bg3IrJYoavQB4wyzSiSxmNZMM2vEpmIAL31n6kh6sze48UQxzpREgo X-Received: by 2002:a05:6402:c8:: with SMTP id i8mr17231664edu.380.1622012313956; Tue, 25 May 2021 23:58:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622012313; cv=none; d=google.com; s=arc-20160816; b=wUHm5ieoR3qpOupvlvhwF2oC4WcailXhBMD/DIJGY7KOUlMoFCjROgKBIWNHhlwpI0 v1UjBDhnwBnXXWFRiMxBlxylW3OeR7SbA4gJAxROBjnVtZu8mC/jpqedYUMOFgR9dVcf IKidVvTVZZFtbHiNDGWuH2bpKjgj3pDt0j+Y0mHNrK62wAMDAvMeqbTC0ITWuPSiMv47 C7Mnrf5UysbT4lQWIA0gI7kMQ61OUAKXeVdONlJFzUXF2azNKL/zxULGTP2yIBiDMQ1N PZIUnpzQckN9kMMbueIeuVFY1QNsA+/0qYIPATTau2CMJssdUCc5kqzRdw4g33t0afFP 8yZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=fRNt3yDJdpwTK9bRPuQ1aGtN7MrbvWxWH2kT5DYkn8M=; b=K9gqGPrCRCIc663gKESk4ctKdIud8JYn8emyWrRLFx5qwiMYR/R8pbj3MT6QNpmT8i 0MrYkvkmzMAQ9W+HORobh0PBdzgj90IdQvh8ul++yDPFg0YRPqhAe7QJuzEvaKFHPDO7 nz9IUO6RnzV0WVEi7u8NcprANIkk3bXtl14UZCKNtTfsYzRFeN2znJiMPrwcofzcBNx0 aR1+AJ+CwotmkDx3Q4ZU4/9Ac65Gw+rP6+mjIDjh8lhVTxxAIjTrQHVbXovwdRtRDX9j Rh+rm0zPko0N7Hv8mrzDz85hNuOg/O4Aucv4LPZldGdunbplBT8sccyDTg9vhB8Tp88S rWhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=bwbkdTgW; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id au10si17642813ejc.163.2021.05.25.23.58.09; Tue, 25 May 2021 23:58:33 -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=@google.com header.s=20161025 header.b=bwbkdTgW; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232873AbhEZG5Q (ORCPT + 99 others); Wed, 26 May 2021 02:57:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232678AbhEZG5O (ORCPT ); Wed, 26 May 2021 02:57:14 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8520FC061756 for ; Tue, 25 May 2021 23:55:43 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id m124so121850pgm.13 for ; Tue, 25 May 2021 23:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fRNt3yDJdpwTK9bRPuQ1aGtN7MrbvWxWH2kT5DYkn8M=; b=bwbkdTgWaocp3VjWgxBOJan5QzGkWRCklR8q67slhSVry4VknFHRa22TBs9SVNCwd+ yXo+6iBxC4cj429zKPhNRHBSK30y9WFUC0PcchVBDTXR65lpST9hpnYGgr8cNGfDntzS pvUVAdspJHOo3AR4Lkk81TYSvkjPX8rlFBjtc22G3tfT9/xrqVX497jKMutKHg8fOcGJ L6B5NTmE6L3Sa8jW2JUdLah7zGSimlTf/kLurw8DRlE9lQQ5WVhS6e6dAnZab3OWYtFr iExmrIW2Wlv8MzJBREArwZF890xQcFhXDj4ja+wZibkEW4WygvpodX01GjANQwxyiiYf wgDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fRNt3yDJdpwTK9bRPuQ1aGtN7MrbvWxWH2kT5DYkn8M=; b=FfCcxTXNiAIG+q38BOkYu3S0f+T3X7l70Ng41KZtHXu5eWRxdT2ADLsEZS9TQ2+eJG 4hLsFKN+3fYjnlqes2Clio4/w5OQofgIjw+VgfxTxw3q/8hDane0BicSShuiDQqyRVLw A2FyecM1teHk6VHYC4AqS8W4/4Z2p3eSMjdteE3CCNgjllwoQqUFbCE9tS8GnqN9bAqs apTnvfrChxNWOVQiLY2s4KIvD8y28SHUe+xlBG//wdpTPnpOZFjpQkxOhQUlslS+934o 9Aw7VNHqfUwfS78x6Q1qQxrSWtvfsvkREDJ64iAwhwWjbQLIPf3L+fiRMggeQjJlF1VU HvOQ== X-Gm-Message-State: AOAM533IB/gmc4EfhILv9w5H3MAOyoOirDr6T8yCqY2J4+EvkE+q2zY4 KMo8acjKCPjHPAAXDnqFcVPWlofwbP7ML5kOBuNfuw== X-Received: by 2002:a65:61a8:: with SMTP id i8mr23255331pgv.271.1622012142943; Tue, 25 May 2021 23:55:42 -0700 (PDT) MIME-Version: 1.0 References: <20210424004645.3950558-1-seanjc@google.com> <20210424004645.3950558-16-seanjc@google.com> In-Reply-To: <20210424004645.3950558-16-seanjc@google.com> From: Reiji Watanabe Date: Tue, 25 May 2021 23:55:27 -0700 Message-ID: Subject: Re: [PATCH 15/43] KVM: x86: Set BSP bit in reset BSP vCPU's APIC base by default To: Sean Christopherson Cc: Paolo Bonzini , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 23, 2021 at 5:50 PM Sean Christopherson wrote: > > Set the BSP bit appropriately during local APIC "reset" instead of > relying on vendor code to clean up at a later point. This is a step > towards consolidating the local APIC, VMX, and SVM xAPIC initialization > code. > > Signed-off-by: Sean Christopherson Reviewed-by: Reiji Watanabe