Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1149045rdg; Wed, 11 Oct 2023 16:32:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESW7gJBvU3xpMTgaIV4j8kJoMMcBnA7d2vXwRvNFmX9gwHga1wub4bZoMGTDW3U7JRLWHh X-Received: by 2002:a17:902:ee8b:b0:1c5:f663:1722 with SMTP id a11-20020a170902ee8b00b001c5f6631722mr20383066pld.6.1697067157761; Wed, 11 Oct 2023 16:32:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697067157; cv=none; d=google.com; s=arc-20160816; b=Z6Lhaox4kdbphKtbMoVxGtSJqAONttlwcRUBFFu5ppv7/Q4XC+dG912iCuGICH9vHJ b/zfq4LUeAJ2235jgMbVqrda0obhmDq8yXULJQD+r4G6x745uKf+9V9YsOwsLpdE2Arb sgLeDVfZXU4va/dXB2reWJAXTsfwpcqtFDfh9pgsz9VCrCgrohrLwoNsBVj49Aa49tmd vUUzItb8mhmy6k6Wu0K3CRtMW9dMR0aYQpsL0wyGomLoZjT4ZxILeJUYK2xZ0dKzdoX9 ylue4tiue86wINl/EIJBvCvcPlev5tWBlkRZd4zyvUIHrhwGI951slYvgFcbmSXQSHQX gazQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-filter; bh=4Hm83xIHy0uJKbXFIfT/CbbMnnFeszXXVJIu6LMsrrc=; fh=vm/+54g7uzoUaX+LQ2N8aZ7poXe3YmMw++H+8WXrpDA=; b=gFkqtwA9h1NSkQDGYIBIfP2zZ3wZt5akeI/HDZOVM7mUdhGU3MAxoyPxo0Kejja0aw lunYLrhWdP2YG/QeqAmjsXUOfSjy3Ko3cIjTwikW+/qfXU28CsT7lQARxZnKgXTHUdr7 klYlg1Zc7sNIkG1E7y9mwsXvwwzWI/uD8IoiHAwU4p5bOBhOtnToBz681hxkEogHEJcd 1Soy0e5R2XFv0C6a3gMCh6gznAiLNO9oxTo4zbCNXGOmNgCUILfN7xpU64JTt+ZG36Mn jaCWti/SGubdZZA5IpNDcYm84DmRarcSQiMTv7d+Lrgnf1eOlP6C7aSYS+zoQNLtFztL FpxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=HbmZaTJo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id d10-20020a170902654a00b001c427a74e31si742916pln.628.2023.10.11.16.32.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 16:32:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=HbmZaTJo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id DA7E380B81F8; Wed, 11 Oct 2023 16:32:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233397AbjJKXce (ORCPT + 99 others); Wed, 11 Oct 2023 19:32:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233849AbjJKXcd (ORCPT ); Wed, 11 Oct 2023 19:32:33 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DFC6EA9; Wed, 11 Oct 2023 16:32:31 -0700 (PDT) Received: from [10.0.0.178] (c-76-135-56-23.hsd1.wa.comcast.net [76.135.56.23]) by linux.microsoft.com (Postfix) with ESMTPSA id 80D9A20B74C0; Wed, 11 Oct 2023 16:32:30 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 80D9A20B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1697067151; bh=4Hm83xIHy0uJKbXFIfT/CbbMnnFeszXXVJIu6LMsrrc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=HbmZaTJobUZ3XDNnfzWrOkOnKOlVq7XoAVl3UI/c580uOL9uoPFUxcnZuVT3fewhn MXLwG6epTJtrZimHm5s+iWvkP0Fg8yDx8+vNEv6oZP9kQtXGr8o1hUn8iNFBP/u0Zl BGEIS0wv5i1LokehZ8ktTWZ9RlZuxQuFcrCkNMh4= Message-ID: <0f2df9e8-8145-4749-893c-e256820bb90f@linux.microsoft.com> Date: Wed, 11 Oct 2023 16:32:34 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 14/15] asm-generic: hyperv: Use new Hyper-V headers conditionally. To: Alex Ionescu Cc: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, patches@lists.linux.dev, mikelley@microsoft.com, kys@microsoft.com, wei.liu@kernel.org, gregkh@linuxfoundation.org, haiyangz@microsoft.com, decui@microsoft.com, apais@linux.microsoft.com, Tianyu.Lan@microsoft.com, ssengar@linux.microsoft.com, mukeshrathor@microsoft.com, stanislav.kinsburskiy@gmail.com, jinankjain@linux.microsoft.com, vkuznets@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, will@kernel.org, catalin.marinas@arm.com References: <1696010501-24584-1-git-send-email-nunodasneves@linux.microsoft.com> <1696010501-24584-15-git-send-email-nunodasneves@linux.microsoft.com> <749f477a-1e7a-495e-bea1-e3abe8da7fb9@linux.microsoft.com> Content-Language: en-US From: Nuno Das Neves In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-17.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 11 Oct 2023 16:32:37 -0700 (PDT) On 10/5/2023 12:52 PM, Alex Ionescu wrote: >>> 3) Truly making hypertv-tlfs the "documented" header, and then > removing any duplication from HDK so that it remains the >>> "undocumented" header file. In this manner, one would include >>> hyperv-tlfs to use the stable ABI, and they would include HDK (which >>> would include hyperv-tlfs) to use the unstable+stable ABI. >> >> hyperv-tlfs.h is remaining the "documented" header. >> >> But, we can't make the HDK header depend on hyperv-tlfs.h, for 2 primary >> reasons: >> 1. We need to put the new HDK headers in uapi so that we can use them in >> our IOCTL interface. As a result, we can't include hyperv-tlfs.h (unless >> we put it in uapi as well). >> 2. The HDK headers not only duplicate, but also MODIFY some structures >> in hyperv-tlfs.h. e.g., The struct is in hyperv-tlfs.h, but a particular >> field or bitfield is not. > > #2 was something I was worried about. Do you know if the > standards/docs team is planning on updating the TLFS at some point > with updates on their end? At which point I'd assume you'd be OK with > patches to add them to hyperv-tlfs.h > I don't know the current plans for updating the TLFS. But yes, assuming a new TLFS doc has something that is needed in the kernel, hyperv-tlfs.h would be updated to support that. Thanks, Nuno