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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 EDB53C433E9 for ; Wed, 6 Jan 2021 10:42:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ACC352310E for ; Wed, 6 Jan 2021 10:42:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726390AbhAFKmM (ORCPT ); Wed, 6 Jan 2021 05:42:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbhAFKmL (ORCPT ); Wed, 6 Jan 2021 05:42:11 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22B48C06134C; Wed, 6 Jan 2021 02:41:31 -0800 (PST) Received: from zn.tnic (p200300ec2f09690020b9eee96d74c6dd.dip0.t-ipconnect.de [IPv6:2003:ec:2f09:6900:20b9:eee9:6d74:c6dd]) (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 3B2281EC03CF; Wed, 6 Jan 2021 11:41:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1609929689; 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=8VPC62+5b70LR5BoIfUhJalZALufwBdXxDSD88DU1ho=; b=DOlO2eqS1eGgozQ270u8HfXWMbBiEg+36ptQO6tFDnEDqJFsXJfpGVACcO6dgZIuNu2jsu 67UyoIonpFqgiQuB79yECtpLG4usl86HMxaM7H2a8lPEagKavDid5NnGPwRVPZqRqcuDY6 +rB0JSQgcanZJYcpzw6Zbz0WpU7m4o0= Date: Wed, 6 Jan 2021 11:41:26 +0100 From: Borislav Petkov To: Michael Kelley Cc: Juergen Gross , "xen-devel@lists.xenproject.org" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "kvm@vger.kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu , Deep Shah , "VMware, Inc." , Paolo Bonzini , Sean Christopherson , vkuznets , Wanpeng Li , Jim Mattson , Joerg Roedel , Boris Ostrovsky , Stefano Stabellini , Daniel Lezcano , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira Subject: Re: [PATCH v3 06/15] x86/paravirt: switch time pvops functions to use static_call() Message-ID: <20210106104126.GC5729@zn.tnic> References: <20201217093133.1507-1-jgross@suse.com> <20201217093133.1507-7-jgross@suse.com> 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 Thu, Dec 17, 2020 at 05:31:50PM +0000, Michael Kelley wrote: > These Hyper-V changes are problematic as we want to keep hyperv_timer.c > architecture independent. While only the code for x86/x64 is currently > accepted upstream, code for ARM64 support is in progress. So we need > to use hv_setup_sched_clock() in hyperv_timer.c, and have the per-arch > implementation in mshyperv.h. Why, because ARM doesn't have static_call yet? I hear someone is working on that... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette 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=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 0414EC433DB for ; Wed, 6 Jan 2021 10:41:36 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4CBB723102 for ; Wed, 6 Jan 2021 10:41:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4CBB723102 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alien8.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=virtualization-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AAB5120789; Wed, 6 Jan 2021 10:41:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1h-L-0asJ0KQ; Wed, 6 Jan 2021 10:41:33 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id D2890204AC; Wed, 6 Jan 2021 10:41:33 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id B3CE0C0891; Wed, 6 Jan 2021 10:41:33 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id D6AD4C013A for ; Wed, 6 Jan 2021 10:41:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A9215204B3 for ; Wed, 6 Jan 2021 10:41:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7aZ1I42HGOnK for ; Wed, 6 Jan 2021 10:41:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by silver.osuosl.org (Postfix) with ESMTPS id 4C58C204AC for ; Wed, 6 Jan 2021 10:41:31 +0000 (UTC) Received: from zn.tnic (p200300ec2f09690020b9eee96d74c6dd.dip0.t-ipconnect.de [IPv6:2003:ec:2f09:6900:20b9:eee9:6d74:c6dd]) (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 3B2281EC03CF; Wed, 6 Jan 2021 11:41:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1609929689; 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=8VPC62+5b70LR5BoIfUhJalZALufwBdXxDSD88DU1ho=; b=DOlO2eqS1eGgozQ270u8HfXWMbBiEg+36ptQO6tFDnEDqJFsXJfpGVACcO6dgZIuNu2jsu 67UyoIonpFqgiQuB79yECtpLG4usl86HMxaM7H2a8lPEagKavDid5NnGPwRVPZqRqcuDY6 +rB0JSQgcanZJYcpzw6Zbz0WpU7m4o0= Date: Wed, 6 Jan 2021 11:41:26 +0100 From: Borislav Petkov To: Michael Kelley Subject: Re: [PATCH v3 06/15] x86/paravirt: switch time pvops functions to use static_call() Message-ID: <20210106104126.GC5729@zn.tnic> References: <20201217093133.1507-1-jgross@suse.com> <20201217093133.1507-7-jgross@suse.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: Juri Lelli , "linux-hyperv@vger.kernel.org" , Daniel Lezcano , Wanpeng Li , "kvm@vger.kernel.org" , "VMware, Inc." , "virtualization@lists.linux-foundation.org" , Ben Segall , "H. Peter Anvin" , Boris Ostrovsky , Wei Liu , Stefano Stabellini , Stephen Hemminger , Joerg Roedel , "x86@kernel.org" , Peter Zijlstra , Ingo Molnar , Mel Gorman , "xen-devel@lists.xenproject.org" , Haiyang Zhang , Steven Rostedt , Vincent Guittot , Thomas Gleixner , Dietmar Eggemann , Jim Mattson , Juergen Gross , Sean Christopherson , "linux-kernel@vger.kernel.org" , Paolo Bonzini , Daniel Bristot de Oliveira X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" On Thu, Dec 17, 2020 at 05:31:50PM +0000, Michael Kelley wrote: > These Hyper-V changes are problematic as we want to keep hyperv_timer.c > architecture independent. While only the code for x86/x64 is currently > accepted upstream, code for ARM64 support is in progress. So we need > to use hv_setup_sched_clock() in hyperv_timer.c, and have the per-arch > implementation in mshyperv.h. Why, because ARM doesn't have static_call yet? I hear someone is working on that... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization 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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 DE22BC433E0 for ; Wed, 6 Jan 2021 10:41:53 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6D26A23102 for ; Wed, 6 Jan 2021 10:41:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6D26A23102 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alien8.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.62410.110500 (Exim 4.92) (envelope-from ) id 1kx6Fy-0006tm-HR; Wed, 06 Jan 2021 10:41:34 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 62410.110500; Wed, 06 Jan 2021 10:41:34 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kx6Fy-0006tf-EN; Wed, 06 Jan 2021 10:41:34 +0000 Received: by outflank-mailman (input) for mailman id 62410; Wed, 06 Jan 2021 10:41:33 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kx6Fx-0006ta-SO for xen-devel@lists.xenproject.org; Wed, 06 Jan 2021 10:41:33 +0000 Received: from mail.skyhub.de (unknown [5.9.137.197]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id af1c2a61-5df1-4c38-8060-39c55daef052; Wed, 06 Jan 2021 10:41:30 +0000 (UTC) Received: from zn.tnic (p200300ec2f09690020b9eee96d74c6dd.dip0.t-ipconnect.de [IPv6:2003:ec:2f09:6900:20b9:eee9:6d74:c6dd]) (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 3B2281EC03CF; Wed, 6 Jan 2021 11:41:29 +0100 (CET) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: af1c2a61-5df1-4c38-8060-39c55daef052 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1609929689; 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=8VPC62+5b70LR5BoIfUhJalZALufwBdXxDSD88DU1ho=; b=DOlO2eqS1eGgozQ270u8HfXWMbBiEg+36ptQO6tFDnEDqJFsXJfpGVACcO6dgZIuNu2jsu 67UyoIonpFqgiQuB79yECtpLG4usl86HMxaM7H2a8lPEagKavDid5NnGPwRVPZqRqcuDY6 +rB0JSQgcanZJYcpzw6Zbz0WpU7m4o0= Date: Wed, 6 Jan 2021 11:41:26 +0100 From: Borislav Petkov To: Michael Kelley Cc: Juergen Gross , "xen-devel@lists.xenproject.org" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "kvm@vger.kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu , Deep Shah , "VMware, Inc." , Paolo Bonzini , Sean Christopherson , vkuznets , Wanpeng Li , Jim Mattson , Joerg Roedel , Boris Ostrovsky , Stefano Stabellini , Daniel Lezcano , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira Subject: Re: [PATCH v3 06/15] x86/paravirt: switch time pvops functions to use static_call() Message-ID: <20210106104126.GC5729@zn.tnic> References: <20201217093133.1507-1-jgross@suse.com> <20201217093133.1507-7-jgross@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Thu, Dec 17, 2020 at 05:31:50PM +0000, Michael Kelley wrote: > These Hyper-V changes are problematic as we want to keep hyperv_timer.c > architecture independent. While only the code for x86/x64 is currently > accepted upstream, code for ARM64 support is in progress. So we need > to use hv_setup_sched_clock() in hyperv_timer.c, and have the per-arch > implementation in mshyperv.h. Why, because ARM doesn't have static_call yet? I hear someone is working on that... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette