From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D912C4332B for ; Mon, 23 Mar 2020 13:35:44 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 512702074D for ; Mon, 23 Mar 2020 13:35:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="btEvOdqZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 512702074D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 084F14B0CB; Mon, 23 Mar 2020 09:35:44 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@redhat.com Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ucOayuUuL9Bs; Mon, 23 Mar 2020 09:35:43 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 82C1C4B0D2; Mon, 23 Mar 2020 09:35:37 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 3771E4A534 for ; Mon, 23 Mar 2020 08:48:12 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OL2TNPZNYbiC for ; Mon, 23 Mar 2020 08:48:11 -0400 (EDT) Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 64B0C4A4C0 for ; Mon, 23 Mar 2020 08:48:11 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584967691; 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=B8wQahKGoRUIUJ5ZWFkVo9acPARo3TGrEWALHtiunpg=; b=btEvOdqZ9D7AaaGA3iliV9DU+70UMVihkk/dazaJbhkM2Jae9c1IbsMLvwfxg6whyL2Zn8 m+kh8KFM2CpmVQIcF6yxNuHYSMPRny1qc5aIiT/bN6frZRX9uas8X7JLIG1s+MoIv5y5wZ 0cD3eBbirBh1byy2u38sZ/w+rlW5DJE= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-146-uz7PP1ocNmeAwWuKbTpnPA-1; Mon, 23 Mar 2020 08:48:09 -0400 X-MC-Unique: uz7PP1ocNmeAwWuKbTpnPA-1 Received: by mail-wr1-f71.google.com with SMTP id h17so7335758wru.16 for ; Mon, 23 Mar 2020 05:48:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=oZZMumaLZJu5X3TxC1ggPEB/siyDp674fd3PHOwNKOk=; b=J1FDCr1nE6gbNNi+WttiOTyJZJVMcPNfT8aAKvFbqyTQLV/GefRabpLOHCMq9nlqS1 l9b5dWAFPSVHoCy78RL7rYLW0cv+Atx1odEOYPKZzz0bgWrDUYoJLWSXiNPiE1ElJbWF HIkbB+EekDreHkuYkUwzUMoz+5l1xR9C/ZtOCJDMTIvADeb3yGYCE6x05fpV/wn68rZO X4/o7zTSvoZfF0HN2j/3t6gdM/pBh/6u5Vqmb8cFuNG3aFJ/sjRssixfOl9yxeGTplJ1 cGztueRbkyZmwaCP4JzTW+vEyZl7+C9ELJQLUyJKzOpgRNnHp/8DBHcu+VNWO34DF/zZ hsyg== X-Gm-Message-State: ANhLgQ0y5uh2Rcm7NGagE4UlOxZV+3BpFOPno8N8hd9k+WwCTzqNIkHQ B090PPdS2JMur/iaXzYyUsaTloPaf8uF9Kv+gfPjbhxgnN3AvlXms+D+mrV9bfYKFQsWQqh++kJ 4NDSgZIvohwlH5dFoOw7f/j6A X-Received: by 2002:adf:decf:: with SMTP id i15mr26153363wrn.277.1584967688272; Mon, 23 Mar 2020 05:48:08 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtzfkKiGqY46hQmyiE1uEEqN2+GnJhVE7scycSa3L2yRyeY3La61RQMFCIJXOpzJGHNoWPMLQ== X-Received: by 2002:adf:decf:: with SMTP id i15mr26153331wrn.277.1584967688007; Mon, 23 Mar 2020 05:48:08 -0700 (PDT) Received: from vitty.brq.redhat.com (g-server-2.ign.cz. [91.219.240.2]) by smtp.gmail.com with ESMTPSA id m12sm15324212wmi.3.2020.03.23.05.48.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2020 05:48:07 -0700 (PDT) From: Vitaly Kuznetsov To: Sean Christopherson , Paolo Bonzini Subject: Re: [PATCH v3 8/9] KVM: VMX: Annotate vmx_x86_ops as __initdata In-Reply-To: <20200321202603.19355-9-sean.j.christopherson@intel.com> References: <20200321202603.19355-1-sean.j.christopherson@intel.com> <20200321202603.19355-9-sean.j.christopherson@intel.com> Date: Mon, 23 Mar 2020 13:48:05 +0100 Message-ID: <877dzb9r0a.fsf@vitty.brq.redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Mailman-Approved-At: Mon, 23 Mar 2020 09:35:35 -0400 Cc: linux-arm-kernel@lists.infradead.org, Wanpeng Li , Janosch Frank , kvm@vger.kernel.org, David Hildenbrand , Marc Zyngier , Joerg Roedel , Cornelia Huck , linux-mips@vger.kernel.org, Sean Christopherson , linux-kernel@vger.kernel.org, Paul Mackerras , Christian Borntraeger , kvm-ppc@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Jim Mattson X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu Sean Christopherson writes: > Tag vmx_x86_ops with __initdata now the the struct is copied by value Typo, "now that the struct". > to a common x86 instance of kvm_x86_ops as part of kvm_init(). > > Signed-off-by: Sean Christopherson > --- > arch/x86/kvm/vmx/vmx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c > index fac22e316417..eae90379d0d1 100644 > --- a/arch/x86/kvm/vmx/vmx.c > +++ b/arch/x86/kvm/vmx/vmx.c > @@ -7668,7 +7668,7 @@ static bool vmx_check_apicv_inhibit_reasons(ulong bit) > return supported & BIT(bit); > } > > -static struct kvm_x86_ops vmx_x86_ops __ro_after_init = { > +static struct kvm_x86_ops vmx_x86_ops __initdata = { > .hardware_unsetup = hardware_unsetup, > > .hardware_enable = hardware_enable, Reviewed-by: Vitaly Kuznetsov -- Vitaly _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm