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 4C9C9C678DD for ; Thu, 17 Aug 2023 23:02:46 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=m/yWGEjrXMh9zd/3vEAzLfaqM6GpypeeE/EhLTnBvdI=; b=H9wI38wdgrJvdj Tkc/ZnIbuS3vY6PRzUk4rnw1FxKT/6ZyAro3zkA/+5K80jMV6oFIU+MuSP1/DTpK3ICXwGy/rjcO8 pspM9HVi5keYfCKKYBdjsMSaTZpZaHUHhKAeFG5Lpdx+WXaTXWh65f78jQbvodRH0USJww/TWDNuA K4X0ZWk5HSGX2pUKx9NrEce62k4+AQeTWVgApqAuHDXCWqsG6h/FO6u+tZi2Ot2G9QONCyvwbv5x8 0+lryofFp7g0SBZkaLhuUtp4ffyGD9QmhkbH9MKDPt8S/I53zUA8PROCY60Z7yx9NlIDOESPq0N2Z WSnWkYNyfu7kgUIGJlvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWm0K-007IKQ-1b; Thu, 17 Aug 2023 23:02:12 +0000 Received: from mail-pl1-f181.google.com ([209.85.214.181]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWm0D-007IK0-26 for linux-arm-kernel@lists.infradead.org; Thu, 17 Aug 2023 23:02:11 +0000 Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1bf092a16c9so2978075ad.0 for ; Thu, 17 Aug 2023 16:02:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692313324; x=1692918124; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SwtAWZyaQZccFsvrQPELO3aY17uRAQUdwXsYLsWxG84=; b=VbzhVjZu3g2rAKNDXMs+7t4L5BPRMelc0Fbe29gURv4EBn8t2IC2rMyiSui9FQKXiW w1f48cBLHWWl2VQR6XVzvhYUU0Dnv4Fl3aVhZo9DO7yFUx3dVcrxJLEw5HpVh5Tg8pmj 6uni/rXcd+V8F+0dwNOt1cCPHz1uEGyXpFd6SIAC/D/08Ys7Rn5l5MIQc7+KbhbZuJSx lAbjWmt2yj6kaBX7pjpc4ttaABFyBLHpYk3l+Rti8XZNu2I7ukLC/6lBoizeHUJydahV W+h6Bfk4DqcHzwHCUIaVGo4a5hbys4qkCLHcq44qxYzpPBECmLNm/87oZArlilmACppu MHPg== X-Gm-Message-State: AOJu0YxPeyaDbllyYNwW3bBwqG756BHHCOjjEAgholiJQWutjujUd/f5 gtaBAKP7DwbRjTcBHN+pci0= X-Google-Smtp-Source: AGHT+IG2BFK2vmrhXuy5TCdio2ggF+9peVt2is7fV6FO/H95rTuj26QpxJj97gw/YuQUb7+KJafrLg== X-Received: by 2002:a17:902:d510:b0:1b6:c229:c350 with SMTP id b16-20020a170902d51000b001b6c229c350mr1154091plg.18.1692313324012; Thu, 17 Aug 2023 16:02:04 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([20.69.120.36]) by smtp.gmail.com with ESMTPSA id jg1-20020a17090326c100b001bb04755212sm290077plb.228.2023.08.17.16.02.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Aug 2023 16:02:03 -0700 (PDT) Date: Thu, 17 Aug 2023 23:01:46 +0000 From: Wei Liu To: Nuno Das Neves 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, 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, Greg KH Subject: Re: [PATCH v2 13/15] uapi: hyperv: Add mshv driver headers hvhdk.h, hvhdk_mini.h, hvgdk.h, hvgdk_mini.h Message-ID: References: <1692309711-5573-1-git-send-email-nunodasneves@linux.microsoft.com> <1692309711-5573-14-git-send-email-nunodasneves@linux.microsoft.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1692309711-5573-14-git-send-email-nunodasneves@linux.microsoft.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230817_160205_714438_277143D2 X-CRM114-Status: GOOD ( 15.51 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 17, 2023 at 03:01:49PM -0700, Nuno Das Neves wrote: > Containing hypervisor ABI definitions to use in mshv driver. > > Version numbers for each file: > hvhdk.h 25212 > hvhdk_mini.h 25294 > hvgdk.h 25125 > hvgdk_mini.h 25294 > > These are unstable interfaces and as such must be compiled independently > from published interfaces found in hyperv-tlfs.h. > > These are in uapi because they will be used in the mshv ioctl API. > > Signed-off-by: Nuno Das Neves > Acked-by: Wei Liu There were some concerns raised internally about the stability of the APIs when they are put into UAPI. I think this is still okay, for a few reasons: 1. When KVM was first introduced into the kernel tree, it was experimental. It was only made stable after some time. 2. There are other experimental or unstable APIs in UAPI. They are clearly marked so. 3. The coda file system, which has been in tree since 2008, has a header file in UAPI which clearly marks as experimental. All in all introducing a set of unstable / experimental APIs under UAPI is not unheard of. Rules could've changed now, but I don't find any document under Documentation/. I think it will be valuable to have this driver in tree sooner rather than later, so that it can evolve with Linux kernel, and we can in turn go back to the hypervisor side to gradually stabilize the APIs. Greg, I'm told that you may have a strong opinion in this area. Please let me know what you think about this. KY, do you have an opinion here? Thanks, Wei. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel