Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1723448pxj; Sun, 16 May 2021 02:06:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8p/iZglbDL01s2cwwB9d24ScF4XizTFSJTMiMNoT66P5aIWPCh7JsjQh5kJ60hd/LRHJJ X-Received: by 2002:a17:907:b09:: with SMTP id h9mr24960620ejl.430.1621155977394; Sun, 16 May 2021 02:06:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621155977; cv=none; d=google.com; s=arc-20160816; b=ODhVqrRYpPgP79KN8LNVm4dNY/ZtkF1/Ma7J1LUuFhx2unW35ifIdpF6QfuZSL7j7P yW8THjndtPeMJWdqfVSXfffvBlZf1eH4PmYwbzbRQJ9Hcvtp8AXLmmAOkHQY2LvRI/bQ jUrrPuzngdCMwnf82kMFFjGF1gXG4/8ttq3Z9aO5XIpEIl0XWCllg1wjSzzDX1v3bLA7 ekkJV/WeFZPzklnilJHlJw23F4IzRrZGoPPpsoPp96ZndcqoxMXF/7AySQzwvTER9Glb GnH0cSC0Fn99iD7FtDQ/CLyAOaCtYIuK53dZbyefTQJxFfe0AkDFDE0zBXKRL4lQA2oh sUIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=S3oOMBHELsi4j/8LwXv2KTVQIqoFC8N6A2IW2H3UcJE=; b=ySEenU+0JfdL9RArjMDw/N6nM+Vxx1yB6QrevYjQMFfX1/E39SxwawLkejS6CR/BDI oA7kDw9XKWljA7AbY2Ay9ZgoTce1Pefc1of3MxBNKnW+xsy39rEMf42IxnvhF+rOPJbW 8+qPUjZpIrm//EcGWzkYeCN7CrXUjOIUvPt8Ce78lzYnrMmXx/+wrKYZZ6jekOKa9Ydl RgRUz+/y+AzUiQG/QEMSyCjKUXX6F79JmkUiLqXEGnrBbgoukiQnO00TkwQ8qsUHJI6D LuHuAXg/1ivI0Osru3dLCZYG36/DGnhqAXYlFonF2u9NKESQ+aNVexXVBhEs8bTuMZAe HjkQ== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a21si9848244edn.317.2021.05.16.02.05.54; Sun, 16 May 2021 02:06:17 -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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233550AbhEOTd0 (ORCPT + 99 others); Sat, 15 May 2021 15:33:26 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:41730 "EHLO mail-wm1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231334AbhEOTd0 (ORCPT ); Sat, 15 May 2021 15:33:26 -0400 Received: by mail-wm1-f46.google.com with SMTP id o6-20020a05600c4fc6b029015ec06d5269so1361282wmq.0; Sat, 15 May 2021 12:32:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=S3oOMBHELsi4j/8LwXv2KTVQIqoFC8N6A2IW2H3UcJE=; b=WNJ+5TYQIDhL4USLVMQp9CgVSCQWrlaXy257miBXvggKPoFZaAdZR30sRnUZu7lUh1 nbbMO8L/VWEFwGMJmQzTR9h+H0Z2PJGj8a7gKtb/v+ue993jJIPmIgiwg+D4NrLBf/hA iVebj/31mb8/1UQDzy4aZmtMbM0QfTfUeLqfetq/Acc95r1LFgD7fpsEabfvIBEhYrgj rxfDEUM0eoqwQcgMZ2fGvVuZGFs9ShP59slNN4sp4E2D3d7gX9XGmXV9ZYVfNPctySEQ seE+lFhPz3E5sGcLzViJv17ryvq0guZq2rnE5HnK/Bb4m66sjEKqVGx1+zQWmuS63EcJ aXiQ== X-Gm-Message-State: AOAM530TyjkEnpSLPhmbrYZrhu3ZUAqxi7BIGAqgMYoPH8UczJZvCOAU RYHo1tt+Xj1FIoxFLNmS2yA/aZhfszU= X-Received: by 2002:a05:600c:293:: with SMTP id 19mr56272007wmk.144.1621107130762; Sat, 15 May 2021 12:32:10 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id l7sm5298841wmq.22.2021.05.15.12.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 May 2021 12:32:10 -0700 (PDT) Date: Sat, 15 May 2021 19:32:08 +0000 From: Wei Liu To: Thomas Gleixner Cc: Wei Liu , Michael Kelley , vkuznets , "linux-hyperv@vger.kernel.org" , Daniel Lezcano , Mohammed Gamal , 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 Message-ID: <20210515193208.dy57jmbhfdmzt2mz@liuwe-devbox-debian-v2> References: <20210513073246.1715070-1-vkuznets@redhat.com> <20210515154335.lr4hrbcmt25u7m45@liuwe-devbox-debian-v2> <87h7j324w2.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87h7j324w2.ffs@nanos.tec.linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 15, 2021 at 09:06:37PM +0200, Thomas Gleixner wrote: > 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... Okay. I will drop it. Thanks.