Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1722125pxj; Sun, 16 May 2021 02:03:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxW0CbZd16PCvigw6ddkpigr2RN/t7xW9UDVI98wbwByfiWqkLBMR/aNF/crZ3sGfiTjXc1 X-Received: by 2002:a05:6402:354b:: with SMTP id f11mr66598911edd.139.1621155832140; Sun, 16 May 2021 02:03:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621155832; cv=none; d=google.com; s=arc-20160816; b=wH9jjUAa3lVHBq+/0lBpGsKa3jSr5D/1hAGLk46OZEldJ1OnbFS2Hy2utPsHVkd25F fBqUGgfN6Ld9XQMjrdyn+q54luiWp5vcVD0UdIsGy8NsFWGBhuan6KibAgdkKntyw1um hT8yJtq32nory0EKe4TTYrefU19rGVBwvsuia0WLk7k2ohYgVCSXhlxAWU93rqCIwV1e UNahbdLx7mOFit1mrk13TPkL4aCCols5praAvaEDh2FgF7mtdi+BfY4f7rt3MkEfdSDP t+KQIRXfRb15Ks6JDrCdIK+JtcnZBpLaT5Bx2BFr3w8k2g2QexlEtj9cYDPRQpQ8ZYu8 EESQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=o6wTd/giKJYoy1NqyWY3ZdEQ6o/XvhP1g3+b/tPjlmg=; b=IjXF6oYUyN+Cf4XqdMObYzAiE8q+Bn6bFcrHFmLpIZwesWz2EPn/mtvToUeZ0BL4DD xtcYr1PBecoluTMHuomRkMbt4Mw+glG+P+99f8OLmGGzbKoCJa6uRHcZmsK0u8QO9dpb qV741h/KKuPsfFfN+6FVIPZiIDk0RdEJgXYBS+B5RQow6LJ2moTScIy0UhOy3NtBFYiE pr+oSEyFr+w+Y3owqHWHpicpx/9wt1wnKVFbr8579ngSCQwgTV7jIVo6AfoRhlCYwnhd OPAmI1ooeaAejNPfMIyIguELo3jj0vZfwumfwK5AJDSzBO/isWSQCcH4bu48BfbkqKvW vAGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OqGq9NNC; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w16si10687636ejz.64.2021.05.16.02.03.29; Sun, 16 May 2021 02:03:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OqGq9NNC; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234585AbhEOTHy (ORCPT + 99 others); Sat, 15 May 2021 15:07:54 -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...