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=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 46266C5DF60 for ; Fri, 8 Nov 2019 20:01:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 13B4620659 for ; Fri, 8 Nov 2019 20:01:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Kf1DS4bG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387846AbfKHUBL (ORCPT ); Fri, 8 Nov 2019 15:01:11 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:22966 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387659AbfKHUBK (ORCPT ); Fri, 8 Nov 2019 15:01:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573243270; 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=ffctAtbPXcBTBuLIiux2KaHS5fRMOIGSG7xeRH/sRtU=; b=Kf1DS4bGTEAMSnNhLI2HzEKFLu8rf6DLRrnZQpsTB6SQmZFDYOJhrQVKz10Nml6NJxxmBM dgDxu7hGGwgqB3GsVSkkc8TwW3pUOD7yAJfB1GjyMwAv/eUf0H2p1GlcDidvwmKYXI2qPr k5mCp18XITZ3Qw4t4ksz9PTaeByuYDs= 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-25-DcqyWUrLNZu7yMhqcdDBxw-1; Fri, 08 Nov 2019 15:01:06 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0D6AE1800DFB; Fri, 8 Nov 2019 20:01:05 +0000 (UTC) Received: from mail (ovpn-125-151.rdu2.redhat.com [10.10.125.151]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A0D5560C18; Fri, 8 Nov 2019 20:01:04 +0000 (UTC) Date: Fri, 8 Nov 2019 15:01:03 -0500 From: Andrea Arcangeli To: Paolo Bonzini Cc: Jessica Yu , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Vitaly Kuznetsov , Sean Christopherson , Masahiro Yamada , Matthias Maennich Subject: Re: [PATCH 03/13] kvm: monolithic: fixup x86-32 build Message-ID: <20191108200103.GA532@redhat.com> References: <20191104230001.27774-1-aarcange@redhat.com> <20191104230001.27774-4-aarcange@redhat.com> <6ed4a5cd-38b1-04f8-e3d5-3327a1bd5d87@redhat.com> <678358c1-0621-3d2a-186e-b60742b2a286@redhat.com> <20191105135414.GA30717@redhat.com> <330acce5-a527-543b-84c0-f3d8d277a0e2@redhat.com> <20191105145651.GD30717@redhat.com> <20191108135631.GA22507@linux-8ccs> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: DcqyWUrLNZu7yMhqcdDBxw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 08, 2019 at 08:51:04PM +0100, Paolo Bonzini wrote: > I suppose we could use code patching mechanism to avoid the retpolines. > Andrea, what do you think about that? That would have the advantage > that we won't have to remove kvm_x86_ops. :) page 17 covers pvops: https://people.redhat.com/~aarcange/slides/2019-KVM-monolithic.pdf