Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1717937pxb; Thu, 28 Oct 2021 08:48:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHGa1FxkN0Ms3I18sAelFzlE6+IOaYc0rw8CwZLpe53ZM0KueJiRk5qyGMfdgB/kmE7vVX X-Received: by 2002:a17:90b:1bc6:: with SMTP id oa6mr13700121pjb.206.1635436113432; Thu, 28 Oct 2021 08:48:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635436113; cv=none; d=google.com; s=arc-20160816; b=xwdWqX/BWaCZyBvAn3vRpWBsQ80+edMugeeBkc1knUXzHaTut8PJ16p1ci5/Mv+qxi Kxl+AGMLMla0/cQzopba70nV+TbNO1Z05bAQnkuSiiKMyl0NP3ozuWknr/Hqja2WkRRU mMVe1ypniPwyVFB/brHDbihwnWdk9lvfD2/x2JsNPEvflWy+s39hsvgCF9NJXPhGAA0D 0J6/LHUiZzuW7fCIPagJRvWBisXryse9Li74CJCX+qZ0e0jBzjg2YW1VX+6pd5u3DZwq Y7rrLjahvdU8wfD2GjCpR5jZgFkp04y1T25UcDWK7vjH43pY/m6UyweSyM3L/+8AJTEi U7Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=obCmui4vnMUyM7HQtaAcXmZxPibk1HYyiXAnVNUGQKc=; b=p8GD5KOCkqXGW8QJH+3Hqv1IKvsicDM7wJWZULERMuVTfO50s6E8jAPg0Ny0BeoJ4u v8CGF9Qp1kONNpx/nMx2PkVPbdv8CWNCiuY/VAfJgw+z/kSalFAb8jqHflxIQjiholBI qp6T0AYF+LotmTfj8W2dbbRtCA7PNNoyzN2LmvqyNco4l/xyp+go6BoXL4wsMZCmXJif RIuA8aX68Pf0H2Jq2igbV5Iq61CTrYQmHg+cp1a3PRIvJce7r6CK12inYXHMdJzz5b+J XEKwMPKVrd28Vdr5nGGPwJB78UYChpfWrgIhGi010Nrc66+/OO7uzXnkoETD/yywgIUi Gfcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SsDFyaBw; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si1982567plr.405.2021.10.28.08.48.20; Thu, 28 Oct 2021 08:48: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=@redhat.com header.s=mimecast20190719 header.b=SsDFyaBw; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230331AbhJ1PtY (ORCPT + 99 others); Thu, 28 Oct 2021 11:49:24 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:60649 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229946AbhJ1PtX (ORCPT ); Thu, 28 Oct 2021 11:49:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635436016; 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=obCmui4vnMUyM7HQtaAcXmZxPibk1HYyiXAnVNUGQKc=; b=SsDFyaBwEeo7YjlqIp6GxPjOAe2gjSo2l1R143R1ReX+YThXUDFqKqOP25BIvjwf5Hj591 lH2RgA9f+Y9dVLubFCpju7i86OapTOIo00cC1evpkRLenElnWeKL1YZt3Tuj3MBTfPSj1J Ilfwi//1ApttfPcjAROehY73wvudoF8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-221-hy5uXOzjN8-gv58XgUhzLQ-1; Thu, 28 Oct 2021 11:46:55 -0400 X-MC-Unique: hy5uXOzjN8-gv58XgUhzLQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 81E3C8030A0; Thu, 28 Oct 2021 15:46:47 +0000 (UTC) Received: from starship (unknown [10.40.194.243]) by smtp.corp.redhat.com (Postfix) with ESMTP id 88D7257CAA; Thu, 28 Oct 2021 15:46:04 +0000 (UTC) Message-ID: <3de5e09ed40b96bcea1267c0e55bcbe552a91d85.camel@redhat.com> Subject: Re: [PATCH v2 33/43] KVM: x86: Unexport LAPIC's switch_to_{hv,sw}_timer() helpers From: Maxim Levitsky To: Sean Christopherson , Marc Zyngier , Huacai Chen , Aleksandar Markovic , Paul Mackerras , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Paolo Bonzini Cc: James Morse , Alexandru Elisei , Suzuki K Poulose , Atish Patra , David Hildenbrand , Cornelia Huck , Claudio Imbrenda , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, David Matlack , Oliver Upton , Jing Zhang Date: Thu, 28 Oct 2021 18:45:49 +0300 In-Reply-To: <20211009021236.4122790-34-seanjc@google.com> References: <20211009021236.4122790-1-seanjc@google.com> <20211009021236.4122790-34-seanjc@google.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2021-10-08 at 19:12 -0700, Sean Christopherson wrote: > Unexport switch_to_{hv,sw}_timer() now that common x86 handles the > transitions. > > No functional change intended. > > Signed-off-by: Sean Christopherson > --- > arch/x86/kvm/lapic.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c > index 0cd7ed21b205..cfb64bd4a1c1 100644 > --- a/arch/x86/kvm/lapic.c > +++ b/arch/x86/kvm/lapic.c > @@ -1948,7 +1948,6 @@ void kvm_lapic_switch_to_hv_timer(struct kvm_vcpu *vcpu) > { > restart_apic_timer(vcpu->arch.apic); > } > -EXPORT_SYMBOL_GPL(kvm_lapic_switch_to_hv_timer); > > void kvm_lapic_switch_to_sw_timer(struct kvm_vcpu *vcpu) > { > @@ -1960,7 +1959,6 @@ void kvm_lapic_switch_to_sw_timer(struct kvm_vcpu *vcpu) > start_sw_timer(apic); > preempt_enable(); > } > -EXPORT_SYMBOL_GPL(kvm_lapic_switch_to_sw_timer); > > void kvm_lapic_restart_hv_timer(struct kvm_vcpu *vcpu) > { Reviewed-by: Maxim Levitsky Best regards, Maxim Levitsky