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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34B24CDB465 for ; Wed, 11 Oct 2023 23:33:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GWebHai6V6zk02mtfwaQETGjREi6PFfZeMSIiryMyXU=; b=Qh8tMhLMI8ab4D KSHVivtGVzmXaxU4jSO1jF9ubtICUOdxhWP64+9X0g+x5j0T170iBK/kPDFlv9ETxwHNHor6DYV/i mn40OSc2IOTOqr8qcKTBz32PYkgLug+m/PPMROYoCSeab8dUrrsG5QEwrkqSS47QOkDHbpV58b7L/ NA+DYY7ZW5lEnB/UPgKOz0xW0SXkfLYbq4bC2WarShfcexlPlcxsheG2WuXNiEH65FEu47ZfsKDOH PaZJOkoB9SrrcDmCpa9GnIYzS6JFaYZzUHy4B3VRsEV/L9MvpBqvHnI9JZzhRNiuZ61rqfu6J2vRG QopCu2UdrkRje2oW/azg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqigw-00Gxn2-17; Wed, 11 Oct 2023 23:32:38 +0000 Received: from linux.microsoft.com ([13.77.154.182]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqigs-00GxlV-2d for linux-arm-kernel@lists.infradead.org; Wed, 11 Oct 2023 23:32:36 +0000 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231011_163234_886572_75ABC55A X-CRM114-Status: GOOD ( 16.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel