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=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 BC995C433B4 for ; Sat, 15 May 2021 19:06:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9D94F611BE for ; Sat, 15 May 2021 19:06:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234595AbhEOTH4 (ORCPT ); Sat, 15 May 2021 15:07:56 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:44130 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231558AbhEOTHw (ORCPT ); Sat, 15 May 2021 15:07:52 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1621105598; 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: in-reply-to:in-reply-to:references:references; bh=o6wTd/giKJYoy1NqyWY3ZdEQ6o/XvhP1g3+b/tPjlmg=; b=OqGq9NNCxURDKAs9NISZWffnUohYrr7iUOFdn5fbhjX8zmUs2lNmOS97scwZ2A4gSOc0ZU J2iHB2Piw8IzW3vHAwCMF3zMyhf13/AECkqn5nxJFmlLJofkUquQpXTCRgdmGinqEAs5Ci X6SNt8usJM7LGNhhUoTP+9e77ZQAo7I3JpA62VzhhAX266OXDH94XMsR40xAm7vupvurCl jSWypDEOUH7loqRuY28D/rp/cH3JKLzDMrJSnFMdr4hwaak5CDx7jyDiWtPaU81pHeBq+8 Se8dTj4MqAP/6nRTqTS0gaDWpdB19usxHnaAy7UlFG0JaSn7T9QFtgwXtpeykQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1621105598; 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: in-reply-to:in-reply-to:references:references; bh=o6wTd/giKJYoy1NqyWY3ZdEQ6o/XvhP1g3+b/tPjlmg=; b=42Eh+N0XcLO0v2YYmpz/1ZU85nviuLIKlqJgZknuhwxTTz4WWd++58HiUHS2wckJknnMGJ by7lZ+gS3cQi/uDg== To: Wei Liu , Michael Kelley Cc: vkuznets , "linux-hyperv\@vger.kernel.org" , Daniel Lezcano , Mohammed Gamal , Wei Liu , KY Srinivasan , Haiyang Zhang , Dexuan Cui , Stephen Hemminger , "linux-kernel\@vger.kernel.org" Subject: Re: [PATCH v2] clocksource/drivers/hyper-v: Re-enable VDSO_CLOCKMODE_HVCLOCK on X86 In-Reply-To: <20210515154335.lr4hrbcmt25u7m45@liuwe-devbox-debian-v2> References: <20210513073246.1715070-1-vkuznets@redhat.com> <20210515154335.lr4hrbcmt25u7m45@liuwe-devbox-debian-v2> Date: Sat, 15 May 2021 21:06:37 +0200 Message-ID: <87h7j324w2.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 15 2021 at 15:43, Wei Liu wrote: > On Thu, May 13, 2021 at 01:29:12PM +0000, Michael Kelley wrote: >> From: Vitaly Kuznetsov Sent: Thursday, May 13, 2021 12:33 AM >> > >> > Mohammed reports (https://bugzilla.kernel.org/show_bug.cgi?id=213029) >> > the commit e4ab4658f1cf ("clocksource/drivers/hyper-v: Handle vDSO >> > differences inline") broke vDSO on x86. The problem appears to be that >> > VDSO_CLOCKMODE_HVCLOCK is an enum value in 'enum vdso_clock_mode' and >> > '#ifdef VDSO_CLOCKMODE_HVCLOCK' branch evaluates to false (it is not >> > a define). Use a dedicated HAVE_VDSO_CLOCKMODE_HVCLOCK define instead. >> > >> > Suggested-by: Thomas Gleixner >> > Reported-by: Mohammed Gamal >> > Fixes: e4ab4658f1cf ("clocksource/drivers/hyper-v: Handle vDSO differences inline") >> > Signed-off-by: Vitaly Kuznetsov > [...] >> >> Reviewed-by: Michael Kelley >> > Applied to hyperv-fixes. Thanks. It's already in the tip tree...