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 66820C433EF for ; Sun, 6 Mar 2022 10:53:27 +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:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LNYjFsWe4bIFYa/52dprmM3TBB0zva/199nedYI+uS4=; b=PernXusDjaqq4h 77lJU8Zh4TKyke9GDiK0q3EfhjQfceKKFlaetY5jPUzn/10XmIM65Mepr8GebFQfx+/QWwNjPYbCK F/B1UGnv0iQi6Qe1X+ptVvBTVLUg32GoOgYW4wSSJJ/EmYYEqjWk/6arThsBVqs43A1zufVSoHxhd yhvDLujwGwGQ8ejEEwdYd3L6J9uXcW8OadhY393XHShqKEQLSLv//EhjUv1WsjvHvu8I68iOeoPZh b3gcEzNEGBAiySkvQucOsdvPd2bmTQD8l07CBTlH6bUFh+XkzBYFFlU5Kw2bwwShq88w2TrlGLTx1 KN8X6xFe6CpwZ45CXmyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQoUg-00ETCR-SQ; Sun, 06 Mar 2022 10:52:07 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQoUd-00ETBO-C6 for linux-arm-kernel@lists.infradead.org; Sun, 06 Mar 2022 10:52:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646563920; 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=iVPsJI++8NxTvQuxgpBGAj3rYePyGMR0RrHuKmSxq8k=; b=XMELMaauiFbZkJ+VFo3O4MZpkDS8TJPaDtzS3Zc9AM7ajIUe9RMLwv//j1NaT/W3K9O9Ed 5irV4PjmjkfPXSZlj3ktwd+0FuS3op6YqPfzV4SlTg/QShi4206DPyvt05FY7y+DQxfEgH k3MRQC6z4k7H/VBnHp0gNN3Sq7Espnw= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-494-UmgJ1AXPOI2UyxQjs_dJaA-1; Sun, 06 Mar 2022 05:51:59 -0500 X-MC-Unique: UmgJ1AXPOI2UyxQjs_dJaA-1 Received: by mail-wm1-f70.google.com with SMTP id 26-20020a05600c22da00b00388307f3503so3672009wmg.1 for ; Sun, 06 Mar 2022 02:51:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=iVPsJI++8NxTvQuxgpBGAj3rYePyGMR0RrHuKmSxq8k=; b=GkXumsr0XcfTMyXaTfTmtBdpQwl5L33b9bMaQHLE5RJDwtVreFnLQ42W8mXAsW7yEh 0i95A5GHxSobI2ptt/YObb1jSoXpzyBvgj5CAZyAEC45dUTaYufs1LfneZaRme7Ltam5 Ug1Tf7CEGapbLO6v92er1N5Mgiji1f0F6PLsoI752h4RadUaH4rBearx8MU6cBRhzCFD nb4jtkDI0vsFlHDjlbE7I3XjDHqxO1m53Cs80dOkfrOSD8vdpCe0tnZFie4twyuul3AE 3dZcbKY2+ya4sIv+Gwt6GlHhEYvNLqFjH+MUCroOhsHi/iQuu6YH0+vz90ZjkaqnaYaD +kIg== X-Gm-Message-State: AOAM533jxi/Z14ZFd9YNoy8wttVMOwJk8yGtgv+7rJ7OsGqn5qzh1nnx NA1jctRhl+S+r/1+fviJoEpUKH5dl1dR3SVJnTT8tVaPDJX8VyO/9oT922rx5YOpPpsM+EQMvfV k7S+TWOpq70DnRqGXEbUtsQdpS2roBZIRzFI= X-Received: by 2002:a1c:f211:0:b0:381:6c60:742f with SMTP id s17-20020a1cf211000000b003816c60742fmr5362106wmc.130.1646563918151; Sun, 06 Mar 2022 02:51:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4kHksoHXBhkHSVL8W5sWONv/Xj5su2acSsqZQ8EHOl6htL6S1vVyXLg1NZgl/COehMlmxKQ== X-Received: by 2002:a1c:f211:0:b0:381:6c60:742f with SMTP id s17-20020a1cf211000000b003816c60742fmr5362087wmc.130.1646563917917; Sun, 06 Mar 2022 02:51:57 -0800 (PST) Received: from fedora (ec2-3-80-233-239.compute-1.amazonaws.com. [3.80.233.239]) by smtp.gmail.com with ESMTPSA id 11-20020a05600c26cb00b0037ff53511f2sm15657788wmv.31.2022.03.06.02.51.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Mar 2022 02:51:57 -0800 (PST) From: Vitaly Kuznetsov To: "Michael Kelley (LINUX)" , "linux-hyperv@vger.kernel.org" Cc: KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , "linux-arm-kernel@lists.infradead.org" , Catalin Marinas , Will Deacon , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] arm64: hyperv: make the format of 'Hyper-V: Host Build' output match x86 In-Reply-To: References: <20220304122425.1638370-1-vkuznets@redhat.com> Date: Sun, 06 Mar 2022 11:51:51 +0100 Message-ID: <875yorbbg8.fsf@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=vkuznets@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220306_025203_533043_27908767 X-CRM114-Status: GOOD ( 16.58 ) 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 "Michael Kelley (LINUX)" writes: > From: Vitaly Kuznetsov Sent: Friday, March 4, 2022 4:24 AM >> >> Currently, the following is observed on Hyper-V/ARM: >> >> Hyper-V: Host Build 10.0.22477.1061-1-0 >> >> This differs from similar output on x86: >> >> Hyper-V Host Build:20348-10.0-1-0.1138 >> >> and this is inconvenient. As x86 was the first to introduce the current >> format and to not break existing tools parsing it, change the format on >> ARM to match. > > Interesting. I had explicitly output this line differently on ARM64 so > that the output is in the standard form of a Windows version number, > which is what the Host Build value actually is. My intent is to fix the > x86 side as well. I had not anticipated there being automated parsing > of these strings. > > I had also put the colon in the place to be consistent with most > other Hyper-V messages. I know: picky, picky. :-) > > What's the impact of changing the tools that parse it so that > either version could be handled? I wish we knew what tools are out there parsing this line :-) The issue got reported by QA as 'inconsistency'. As the format of this string was never promissed to be an ABI I think we can go the other way around: change x86 to match ARM. Some scripts may need fixing but IMO this is acceptable. Let's just promiss to not change it in the future :-) -- Vitaly _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel