Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp2054936ybb; Fri, 29 Mar 2019 17:49:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsucSfm90mSU6nlC62zW5cOQXXtd7kZ9jgVMTTVGwoUQTmuLKU1NlvN2zDHlqHT+r3RQvb X-Received: by 2002:a63:c45:: with SMTP id 5mr41593571pgm.385.1553906947575; Fri, 29 Mar 2019 17:49:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553906947; cv=none; d=google.com; s=arc-20160816; b=IoN8jEE21dLfBQM1DTdxlJifJfj/mZxNcIKJ9sdWdaIbHSsYcCJ394P28BDvYDALQs vgjd4NvWcyVwgdd3yaVVEn47BvN2UVd1zp9xeAn2UqwY6H9UzBXKsRJGQ+8j0z3Gmhpc KFNUVoVFJpp2rySARF3NTWxnWPC/YkHiOZRa2cmbilBPcagpGEKtgFySYRiCrX6fphpg KGnEeQEy2yWYdq5Ol1MDaxdXU8V7VIDnTi8Slbodna2kPR0Qd7DgNihOgSbvlgpwz4RZ rLS6TdAivKHUGmn31rqcZF8pwGsVY1J4pmIb5AqtjzZLn3fIz9VhgxN8lf2pnFaQZEpt noaw== 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=SnNW+a7nzjXN6GuNAPB6OnbqT+vZF+5gKvYKAtKQJS9S2mVrvGblPSVwrn2YuTl7mB /OWD+W+14Q0Prl6RIl3+1T948n2n64I8bQa1NuNzG8/aenhUwO8hECxN99yubxOT78DP tcR+YOZr/shTuFTYU4PyhPDC6e7aZJ11fEYHdhn+TGp8JOXTKt2CKbCg+zxqmXabfs/y 66NyOUO6Xi+JMI+8P3jF8lBbT7vGFvqnqgItL1UWYAJNfUphnin5FyF7R/70j1l/PXOa 2jzzO34ZRgA0mjqww6s+EQa1eX2Fea0jtE/mBpUHLJ/PwIbOUahjg2Nb/xexJ2eYqtVR 5dLw== 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 z8si3028334pgh.82.2019.03.29.17.48.52; Fri, 29 Mar 2019 17:49:07 -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 S1730519AbfC3Arz (ORCPT + 99 others); Fri, 29 Mar 2019 20:47:55 -0400 Received: from mga06.intel.com ([134.134.136.31]:64235 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730464AbfC3Arw (ORCPT ); Fri, 29 Mar 2019 20:47:52 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Mar 2019 17:47:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,286,1549958400"; d="scan'208";a="129912805" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.137]) by orsmga008.jf.intel.com with ESMTP; 29 Mar 2019 17:47:51 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 19BA2301BE3; Fri, 29 Mar 2019 17:47:51 -0700 (PDT) From: Andi Kleen To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Andi Kleen , pbonzini@redhat.com Subject: [PATCH v2 8/9] x86/kvm: Make steal_time visible Date: Fri, 29 Mar 2019 17:47:42 -0700 Message-Id: <20190330004743.29541-8-andi@firstfloor.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190330004743.29541-1-andi@firstfloor.org> References: <20190330004743.29541-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