Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp572040ybx; Tue, 5 Nov 2019 02:05:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxtqVskrnKSAzUi8n4CvBaXduh0qG/kOrfraC7j8BJxRyPWf8eI+gkr6bW4mSIJsnB6qI9q X-Received: by 2002:a50:f699:: with SMTP id d25mr34176377edn.72.1572948331309; Tue, 05 Nov 2019 02:05:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572948331; cv=none; d=google.com; s=arc-20160816; b=FiTUP7byvZQC5jvrK2BnFUYtGfkSDzFxrvydagVGBzhi6F7mSVt2nm/S1fJCUz1bEM U03ohQ2MBlv5vmjl/5f6wGUqBgMjpIx/OFvNeYUMz47iuq5tEFMRSVY+MORLdH86yDnm 4KB3icymVbdyIEq6wDFJidDjp0NiNswsdDc3K6SK6IwpRbs4KAES6KGdG+aX+oGS+VjS HER/wzCr4rqhkTYoMCK7iPx2ZY1QlGHa1v6GOTu48nr8BD5DqHVm/DGvKOiG+GMnpjLF J8tR0l7JKGslC74qV5vzRj9SyWAdCYm2v1gRiE8TZWTIyfRh+5HwSNVMJ+1hnI0bvCvR HTfg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject; bh=lrDn3WRTg+rwGOnenXl0j0b2dvVQo5Nmi58gDUT8LNE=; b=BXR724qoJhSalKGaxDdFKGJwlA5n3X+h78fvVnblixHKDnJuKFW18kclJqtUMYTCPW izzLWer8xyg7a0ZhJhXizjhbah4cfzfPKiCgUGJjrr4mErArEjgM4a0CdJiy6ZlfFw5m WxoRJh9oE9vA7OJSzbluO/SWlLQlw5BO7nA1FgmTbRmpe5fe8C2GC2Y7dHctnxsTjVQc NiW55GoCeGLqzItfHREv8w8zDM8Py29/vleiWQ+eGqW7OU1JzhS9cr+TqZ+GIIpR0PFt tu6+Tehyh8xj+CH4eX4cx0L2Q2SrQZtxO33EXHlO/SukBuw6NsuEHNeDldkOK9zQUEE9 04Yg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t19si9140634ejr.411.2019.11.05.02.05.06; Tue, 05 Nov 2019 02:05:31 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387773AbfKEKEU (ORCPT + 99 others); Tue, 5 Nov 2019 05:04:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60680 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730573AbfKEKET (ORCPT ); Tue, 5 Nov 2019 05:04:19 -0500 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9CF6CC054C58 for ; Tue, 5 Nov 2019 10:04:19 +0000 (UTC) Received: by mail-wm1-f72.google.com with SMTP id f2so7451198wmf.8 for ; Tue, 05 Nov 2019 02:04:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lrDn3WRTg+rwGOnenXl0j0b2dvVQo5Nmi58gDUT8LNE=; b=MvBadvBXOoeN1TXzuEHho+dcuPi6wtjrmrFngRgvSeOiwVrGzyH6cqwAfefQV+zv8S 6EANWcntVeqoPbdOQw6vf/o1xFMxgnBnkS+gVi+YWUaHlq79h1MNKOEUnR/jGsDBc+WM WZ4BknANclcfWF4ridIEtfSpmQrakMIhqVwXcO0yFmAq15cwawwRMvX6xwNgwyV5hEG2 eHu2Zkf5WM+GV0KleVOi8EjIbe6Ahvs7Bw98qfwJBfmjEZE4ov5Xff4OOAOcHJkT3bu6 7Mc2edXLjPRH3ETLVLcK68nWt19NpsdLwUYAP4gsuGMg7Pfz2YABHMJ6gZuQBUIKuCpP MQow== X-Gm-Message-State: APjAAAVBKfiIO4+BxfZfKCttZw1r8h1SloWYpdIvcMwTFJqNI5dIFmpn qXMw0GLoy3EghrY4RKm2yKPZEs5ajDzkvrUSmiWQCfI4cmtgeGOkK4sWHnMp5svuD04Lf5qRDfd nP0vAeqgo0dM22tRhRQIQa9ef X-Received: by 2002:a05:6000:12d1:: with SMTP id l17mr13486384wrx.261.1572948258200; Tue, 05 Nov 2019 02:04:18 -0800 (PST) X-Received: by 2002:a05:6000:12d1:: with SMTP id l17mr13486352wrx.261.1572948257905; Tue, 05 Nov 2019 02:04:17 -0800 (PST) Received: from ?IPv6:2001:b07:6468:f312:4051:461:136e:3f74? ([2001:b07:6468:f312:4051:461:136e:3f74]) by smtp.gmail.com with ESMTPSA id t24sm30988243wra.55.2019.11.05.02.04.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Nov 2019 02:04:17 -0800 (PST) Subject: Re: [PATCH 03/13] kvm: monolithic: fixup x86-32 build To: Andrea Arcangeli , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vitaly Kuznetsov , Sean Christopherson References: <20191104230001.27774-1-aarcange@redhat.com> <20191104230001.27774-4-aarcange@redhat.com> From: Paolo Bonzini Openpgp: preference=signencrypt Message-ID: <6ed4a5cd-38b1-04f8-e3d5-3327a1bd5d87@redhat.com> Date: Tue, 5 Nov 2019 11:04:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20191104230001.27774-4-aarcange@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/11/19 23:59, Andrea Arcangeli wrote: > kvm_x86_set_hv_timer and kvm_x86_cancel_hv_timer needs to be defined > to succeed the 32bit kernel build, but they can't be called. > > Signed-off-by: Andrea Arcangeli > --- > arch/x86/kvm/vmx/vmx.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c > index bd17ad61f7e3..1a58ae38c8f2 100644 > --- a/arch/x86/kvm/vmx/vmx.c > +++ b/arch/x86/kvm/vmx/vmx.c > @@ -7195,6 +7195,17 @@ void kvm_x86_cancel_hv_timer(struct kvm_vcpu *vcpu) > { > to_vmx(vcpu)->hv_deadline_tsc = -1; > } > +#else > +int kvm_x86_set_hv_timer(struct kvm_vcpu *vcpu, u64 guest_deadline_tsc, > + bool *expired) > +{ > + BUG(); > +} > + > +void kvm_x86_cancel_hv_timer(struct kvm_vcpu *vcpu) > +{ > + BUG(); > +} > #endif > > void kvm_x86_sched_in(struct kvm_vcpu *vcpu, int cpu) > I'll check for how long this has been broken. It may be the proof that we can actually drop 32-bit KVM support. Paolo