Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2921666rdb; Fri, 22 Sep 2023 12:05:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFC7bUFx/FVL08RUzFgozfg3nbU9pa6yPTdsfzR+r2uB7QVu461sy24no7MA7GnunXGvcko X-Received: by 2002:a05:6a00:2d94:b0:68c:3f2:6000 with SMTP id fb20-20020a056a002d9400b0068c03f26000mr378562pfb.6.1695409554298; Fri, 22 Sep 2023 12:05:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695409554; cv=none; d=google.com; s=arc-20160816; b=SNYcZkzbBpKKBvVEZ5m6+UbUeU3tsvbGBk7TvzbMH05uHZBVIiq6CL8HyhEf7ufwb2 G2lt3KV3f/oVVWrD8AlXFSFdGcQpqnRLzZ/F3Y1E1DZY0OIV3PFNvDYvyWhemXaRQAvg kXJgEFEg9uyfHBg77Kz+awm9n3A0bOM9ViuzJT0Vu7Va6FDUyJyXf4/LEQqB8MxIONVP d39WFC1oHeG9zVm8lNQzVvYIGzTEuE5EIJLxVN9MEzBpoIHd7J1H+ZxyI6DeJrmFv7aW L1VV2XK2jiKaJFeDxtLbtxN00XAG+6lFSxNcZ8DAyeLUtNzW/mICNTT4t5g1BN0iJV7V c3XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=XyufS6U3IQklYUt2ci6ahYWNxLqO+WW3OlDCROay6ew=; fh=8LmBwgufWzfpgxaSVDyWbJyrpd8t2PCgbbDs0HIaBNY=; b=0b2W3eKMO3UB2a4gvAcJ/OrzxGENnT04GLukceDNz3L7XSkqPWZ0FCtoWfAEGO13YN Q68KQr4aKdfnS6xqIysI5Uk9pq6B3pAz8aFt2WnXYNmR6PTC5JgtJMqJAw8HAzx2Tb7O AFCBAUp+C3tUpuU0QTZVQvVOw5pU2z3pF49J6PwA5t2APdEn/gtkMgtKltt91JtS4tgA ju7HhLstPWdclDn+t8Q5yoFF48XI2sF5pg4tdSfQF4HgpHkoIBmoqRWEpfVvLktFt05b jG8tzWOm5OVLXd8pOtsYb16CEOtSa6HPI/yCW+f7/XIRW0uBglVPFtzZJXCZBgvIft/E NEMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id v135-20020a63618d000000b00578b5364e80si829227pgb.557.2023.09.22.12.05.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 12:05:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 500C8838218B; Fri, 22 Sep 2023 11:53:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233785AbjIVSyA (ORCPT + 99 others); Fri, 22 Sep 2023 14:54:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233703AbjIVSx7 (ORCPT ); Fri, 22 Sep 2023 14:53:59 -0400 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B012A9; Fri, 22 Sep 2023 11:53:53 -0700 (PDT) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6910ea9cddbso2189348b3a.0; Fri, 22 Sep 2023 11:53:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695408833; x=1696013633; 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=XyufS6U3IQklYUt2ci6ahYWNxLqO+WW3OlDCROay6ew=; b=sPoFebxaib2U4S8uTXnpB6NMVmZRqy9UEHjVWUAqsh6rxJLQK2p2OmkEyycx/ndPzB eNidHC9ht3XKSExPI2A2HQpWmwUIT2DLNpJoxW28c1wC1BfR9GjSS1tGFSQgiQD6iqJY pg8b15+HRm/RRymDfCx6murwKlmp0d/AmMZSxhcXa8zVixsPWzFPhQQBznUJSUQeA8b4 eKpGYH+sJEQ0s8t+yP2XMjvML/iGm4Ne3zRnil+v3WJh0+O+kdAHlWPFwnrKnZfyLCq6 yv0sJEwa+X/219J4dpB/Wj63UER9mgLcy6CkglMP7P/Mlq46y9LQ+Dy4xP1e9IPTADUd jSAQ== X-Gm-Message-State: AOJu0Yy1QkKPEXzOc8niMIZDxpzmhEU+bZI0I469e0H4u+NWEhtmsxkC cyvjY/y8/AV+sy5OvV+87ENRpkxpYPA= X-Received: by 2002:a05:6a00:10c8:b0:690:cd6e:8d38 with SMTP id d8-20020a056a0010c800b00690cd6e8d38mr227642pfu.25.1695408833024; Fri, 22 Sep 2023 11:53:53 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([20.69.120.36]) by smtp.gmail.com with ESMTPSA id b124-20020a633482000000b00563df2ba23bsm3460692pga.50.2023.09.22.11.53.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 11:53:52 -0700 (PDT) Date: Fri, 22 Sep 2023 18:53:09 +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, 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 Subject: Re: [PATCH v3 02/15] mshyperv: Introduce hv_get_hypervisor_version function Message-ID: References: <1695407915-12216-1-git-send-email-nunodasneves@linux.microsoft.com> <1695407915-12216-3-git-send-email-nunodasneves@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1695407915-12216-3-git-send-email-nunodasneves@linux.microsoft.com> X-Spam-Status: No, score=2.6 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Fri, 22 Sep 2023 11:53:59 -0700 (PDT) X-Spam-Level: ** On Fri, Sep 22, 2023 at 11:38:22AM -0700, Nuno Das Neves wrote: > x86_64 and arm64 implementations to get the hypervisor version > information. Store these in hv_hypervisor_version_info structure to > simplify parsing the fields. > > Replace the existing parsing when printing the version numbers at boot. > > Signed-off-by: Nuno Das Neves Acked-by: Wei Liu