Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1324901rwb; Wed, 16 Nov 2022 15:57:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7oYyXmm7uhv4tgrGK067ONjWGX6Sc+1ISGZLMsNaU2UpBQd0HOAh3EXIpuqyqFIPMiW5Ul X-Received: by 2002:a17:902:d589:b0:17f:52af:d03a with SMTP id k9-20020a170902d58900b0017f52afd03amr221800plh.91.1668643046617; Wed, 16 Nov 2022 15:57:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668643046; cv=none; d=google.com; s=arc-20160816; b=boF/Bf9Ie37l/706zpwbMUF2fJxwp7UlGeqj7gD3qHZ4dIGrF+hsYB9u5m4SMJcqaS PG6nu497ap/eQI0Ki0Ur3ChtoVbAaQ2Yh6hl4neMjzH4AG6SBfimflW0Bh4uRoFcFcsV S5YGWWHWQQb530omLgpZd6XRVa/uC7AE6Ibn2Mv6ouhlf3Bk177vITD7PBhs0QCOb3wt H3QFvnFSQOhS6rnNlZQkqmF0tpwB1Q1t1+fG1+V0dRKj1LxXrWbNXjawX61I62QTVf0I 2CgGVNm7DkuIcfucPp0wJJicTFPDm+ABQwFeENJdpgi0CmSlpDmaUwanIf5dyEgvIuo1 0WkA== 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=NK4Bwp0egfkBgRZB5qVlgvCKsyg/1xF5g9aS06cw6Ik=; b=pM+k2sNLjDL8XuxbfnEhwTqtQKUH724UOj2mkS323xcWGP/NrMN/9KFANZ7ZlOEJtw ZyS8njYoJTcV+GBUsCmbaZTKX/R9xXmlXgJSTv9q8S/Xm1AhAB6wlqpED+NzCcESWPdO P+hZr7CU6IPLb3VcQXvbNdrX/9XBHMuJGb4zxJgTDi6LUtK8ndtAPISu9qbXQkdL7Jwq einaELFK3iKQ6LWu0nO3uHZF5C3Fg9szu1zH64K6OMdDX57kbvLJ0L3xa8JJPKxJfqqV MpvOBgJ9uZLirKhZ9oBpf7kZoqUkVxxCWS0ckJIP3s7j+ztYSSr3Rbz5blRYbkMLd2PJ PY4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PZXDX4Zl; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=rmBuUuHa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rm1-20020a17090b3ec100b0020ad4d5b9e8si3451772pjb.89.2022.11.16.15.57.15; Wed, 16 Nov 2022 15:57:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PZXDX4Zl; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=rmBuUuHa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234402AbiKPW4J (ORCPT + 90 others); Wed, 16 Nov 2022 17:56:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233394AbiKPW4I (ORCPT ); Wed, 16 Nov 2022 17:56:08 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAA9C663D2; Wed, 16 Nov 2022 14:56:07 -0800 (PST) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1668639366; 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=NK4Bwp0egfkBgRZB5qVlgvCKsyg/1xF5g9aS06cw6Ik=; b=PZXDX4Zl+rEyGzQrzh0COw7/r5XBTH5PyZ61y9SUBZuNMOfgqRXB89J20hNxsIhysyeSp+ 6U5sT8Mmv8vhKVvzbhhy6gY1oNUFogP93MQMxZcpCDWJ3FrXkjOtByK4U9M6pwhMM2nsg5 OgVNmDjlDCpoLwTpHlQnzNJ2aeRaJIw0BXciPk7eEKN6GGcAUkm+p65/x+rFvP1l6TE0Xo Ak8rshlkVecnk3OGHoZew+okXLoqEY33TXYreoSlG8PB3TNxP/9T1VEgI/T13dh3emDBga wLOs6yl/Nw46yVxVteiCcnc6LtbCqCrl3NoS9cwm3gF22vYwpLoGzoec8gs4MQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1668639366; 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=NK4Bwp0egfkBgRZB5qVlgvCKsyg/1xF5g9aS06cw6Ik=; b=rmBuUuHaoybCBSHZPnCMZmSPzVOb1+ukTwbiySw7xdGME3z04JTyH4BbNQRZnFlTD6T9lU +6RZewDH9PHKeNCQ== To: "Michael Kelley (LINUX)" , LKML Cc: "linux-hyperv@vger.kernel.org" , Haiyang Zhang , Wei Liu , Dexuan Cui , Andy Lutomirski , Vincenzo Frascino , Daniel Lezcano Subject: RE: [PATCH] clocksource/drivers/hyper-v: Include asm/hyperv-tlfs.h not asm/mshyperv.h In-Reply-To: References: <87zgcwt2qg.ffs@tglx> <87wn7ztc89.ffs@tglx> <87sfinta8q.ffs@tglx> <87leoft9w1.ffs@tglx> <87fsemtut0.ffs@tglx> <8735aipqph.ffs@tglx> Date: Wed, 16 Nov 2022 23:56:05 +0100 Message-ID: <87cz9mo6ey.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 16 2022 at 22:34, Michael Kelley wrote: > From: Thomas Gleixner Sent: Wednesday, November 16, 2022 12:52 PM >> On Sun, Nov 13 2022 at 22:21, Thomas Gleixner wrote: >> > Subject: clocksource/drivers/hyper-v: Include asm/hyperv-tlfs.h not >> asm/mshyperv.h >> > From: Thomas Gleixner >> > Date: Sat, 12 Nov 2022 19:08:15 +0100 >> > >> > clocksource/hyperv_timer.h is included into the VDSO build. It includes >> > asm/mshyperv.h which in turn includes the world and some more. This worked >> > so far by chance, but any subtle change in the include chain results in a >> > build breakage because VDSO builds are building user space libraries. >> > >> > Include asm/hyperv-tlfs.h instead which contains everything what the VDSO >> > build needs and move the hv_get_raw_timer() define into the header file. >> > >> > Fixup drivers/hv/vmbus_drv.c which relies on the indirect include of >> > asm/mshyperv.h. >> >> Any comments on this latest version? > > Sorry. This looks good to me. Maybe the commit message needs a > bit of tweaking -- it's not clear what "move hv_get_raw_timer() > define into the header file" exactly refers to. But otherwise, That should obviously be 'into a separate header file, which is included from clocksource/hyperv_timer.h' or something like that. Thanks, tglx