Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AD1BC74A4B for ; Sun, 12 Mar 2023 20:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231308AbjCLUro (ORCPT ); Sun, 12 Mar 2023 16:47:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230184AbjCLUrk (ORCPT ); Sun, 12 Mar 2023 16:47:40 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE8A02D4D for ; Sun, 12 Mar 2023 13:47:39 -0700 (PDT) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 6F8AE1EC04F0; Sun, 12 Mar 2023 21:47:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1678654058; 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:in-reply-to:in-reply-to: references:references; bh=yfnVBnx3NNbeE4xtmTMwZgPTZGC23pjg9csbzjAx2O0=; b=PuFdXlDTAtrQZVmOub28KsUMOLQ1Wr0zhvtD7D3AwKahPvzwMu5kn42OuPoqljwSOaqw3a 43C9SgAWmj9B8Aiet6Sy4Qhkt9kkS863gR+5S03PjQ1G7Dg0YN3AzL79b9lfnRTsqtJk7n llzkk5aEgtBYz16fP0yYaqW2EmaUpLA= Date: Sun, 12 Mar 2023 21:47:38 +0100 From: Borislav Petkov To: Juergen Gross Cc: linux-kernel@vger.kernel.org, x86@kernel.org, virtualization@lists.linux-foundation.org, "Srivatsa S. Bhat (VMware)" , Alexey Makhalov , VMware PV-Drivers Reviewers , Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" Subject: Re: [PATCH] x86/paravirt: convert simple paravirt functions to asm Message-ID: <20230312204738.GCZA46aqNzDRjqVF/u@fat_crate.local> References: <20230308154210.18454-1-jgross@suse.com> <20230309133950.GDZAnhpnon5fk4Fg/X@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 10, 2023 at 07:24:17AM +0100, Juergen Gross wrote: > The "normal" cases not using alternatives should rather be switched to > static calls. Or that. > Whether it is possible to mix a static call with alternatives needs to > be evaluated. I'd prefer not to mix them. Either should be fine and if neither have the required functionality, then it should be added depending on which - static calls or alternatives - would make things simpler. I'd love to get rid of the whole paravirt glue and use the facilities we have in the tree instead. But no hurry - it should be nice and clean work. :-) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette