Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp96031img; Thu, 21 Mar 2019 15:02:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0OLg2Wmy7j9iV3sJsZXvvdaK4n4/6/UJGPfwvxxFAJ0msVdfqQi46M3GQytqaabJLL9vA X-Received: by 2002:a63:fd10:: with SMTP id d16mr5479060pgh.306.1553205729404; Thu, 21 Mar 2019 15:02:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553205729; cv=none; d=google.com; s=arc-20160816; b=dH4oq/Pf5fNt3KoEWDUDvaTeTsmU5AuzXMKajA1bKeuen3vt7y4V7ssolxdF6kEQBS brs0QrGtgYixc0mEt/3C4ZQSAo8B1w/KYbTsD1ALUXeRD53PxWT2w/IlIMRpN28Ww6fA iG/HYRsPvjYi+FLk9qVEN0Pyg6Tu7OljaOKcdHfayVXz7tm4pyXETF98/r3YteQalkMx 2CiOikXDqDhxGZxHEt2QQrvK0zrj1hlqJeRrY5+U8PD1oaoeG7HLCjo/gUfp0grAMO+I gLPI5e+6phQgt6NbC/8Lmdr1CFqe/oJvD/hl6esxSKJsASYjj1MnMK24EotWOO259rmm ZZug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=PhOjT9NtPbxIV0/gIhS5lBKCR82npvh4iCOV1Kuru8s=; b=X0UGebuyt8lGto59dWRTnnaHUjQrdwrAOCqulE6gL2Va42jJjDcVZBFeyNwMhJ9Q5b p5fCgU1KZ8/FHoLfM9csGjR1wpQP1VQAWqDtXKWuO0SgU5PJas004PSVen1QzUUIrXNY xFIq8SFYt18y/aPgK3lMxCSpgc3Y/601F18HcqSkfxtNgbdWe/5O/Q/XrQc9kXqWBLYV YfLqjxphTOIPjHqwTKQTpX4ArNe1pH5zaNsZRnZ29zE1TEOeY1/XCxq/DB8+EaJA2P5b gMS/5TjodYinSIEtDOwA0pMENbdTcDLz2Hau5EV96qmZdYSSu1zrg4Xzpy+ejkGce8Lv 6Z6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b23si5286450pfd.182.2019.03.21.15.01.54; Thu, 21 Mar 2019 15:02:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727453AbfCUWAv (ORCPT + 99 others); Thu, 21 Mar 2019 18:00:51 -0400 Received: from mga06.intel.com ([134.134.136.31]:53200 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727267AbfCUWA1 (ORCPT ); Thu, 21 Mar 2019 18:00:27 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2019 15:00:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,254,1549958400"; d="scan'208";a="216357241" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.137]) by orsmga001.jf.intel.com with ESMTP; 21 Mar 2019 15:00:23 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 4902230217F; Thu, 21 Mar 2019 15:00:23 -0700 (PDT) From: Andi Kleen To: x86@kernel.org Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, Andi Kleen , pbonzini@redhat.com Subject: [PATCH 09/17] x86/kvm: Make steal_time visible Date: Thu, 21 Mar 2019 15:00:01 -0700 Message-Id: <20190321220009.29334-10-andi@firstfloor.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190321220009.29334-1-andi@firstfloor.org> References: <20190321220009.29334-1-andi@firstfloor.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andi Kleen This per cpu variable is accessed from assembler code, so needs to be visible. Cc: pbonzini@redhat.com Signed-off-by: Andi Kleen --- arch/x86/kernel/kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 5c93a65ee1e5..3f0cc828cc36 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -67,7 +67,7 @@ static int __init parse_no_stealacc(char *arg) early_param("no-steal-acc", parse_no_stealacc); static DEFINE_PER_CPU_DECRYPTED(struct kvm_vcpu_pv_apf_data, apf_reason) __aligned(64); -static DEFINE_PER_CPU_DECRYPTED(struct kvm_steal_time, steal_time) __aligned(64); +DEFINE_PER_CPU_DECRYPTED(struct kvm_steal_time, steal_time) __aligned(64) __visible; static int has_steal_clock = 0; /* -- 2.20.1