Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp649135rwe; Thu, 25 Aug 2022 07:01:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR7vRAz7Wx0PleFbHBqUBYG9fV+I9eEU6XLM2Hm6qRMuVAwut2BpcPGmkftRVScZoEge9VSf X-Received: by 2002:a17:906:7945:b0:73b:e605:f31 with SMTP id l5-20020a170906794500b0073be6050f31mr2615736ejo.129.1661436087235; Thu, 25 Aug 2022 07:01:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661436087; cv=pass; d=google.com; s=arc-20160816; b=LIMFPp2t1oVYXIv8TBYA3TEOCGC1ed6seMIJ2ZBklowlInowF3rSX1GI2C/IBkkXd7 aCdj7f7HaOBjGiNrZKU2mAdlAQng7J+6i8lS/eRT9VTQexvVMAVKYq1V4hiBb5vK6Gbb O/2Q1IGntHUEh9Am5v4rBMiDGwqs46PXDCFnWA39gd7Jd4X3AiJyls86YaenTYFh6hKC Cs+qz/kbekctSSZq0fzWYPyMFzQabQJmUD3d9LMaM29w4Vr2RZiMf5Oouk0YhhblRW5Q Yb5YBCriBxOAWGRAfFsk9d9mK9BqY2Rt7Ey0vDsbdivh7XJ3oxogM5elb3SWwpNjfnpW gaTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=aGZxK2kJ03N8pfSsNcsFy8SaSri/IXteJFtjRoDFtI4=; b=tDr2AbN+l9/9WFTB6erMHImcvI5KFEp1zMs2B6voHE1Lo9d0ciDz3ZBLZ6HbfkESjs /pcguzYxpmt5ioGEL3zUQ9PSAXLch48t1QsOnqySEmQv8P9R55/tm22t2vCK/HUVLjiV bfW8bbcA1bMKGZSzYKeF5C4Yc44IDaevWFRcXt4jNjpvXc2BE2yukJEycVFCjsdyQrgG iA+E9JXYGM6RdqTquERoLLF8CyNaXwg3n0kw1A3HMp+SQnshl4fJj+1PW7lELdiNOsSy HtGNS4KcBz80lwSKiHTNKHmA3lRuvN6s02jA2n/ScsP8D+xzshGEgbNtTQckSgCCITTr jfGA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sap.com header.s=selector1 header.b=b7QNQ9W7; arc=pass (i=1 spf=pass spfdomain=sap.com dkim=pass dkdomain=sap.com dmarc=pass fromdomain=sap.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sap.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m22-20020a056402051600b00442c272f4f7si5898344edv.537.2022.08.25.07.00.42; Thu, 25 Aug 2022 07:01:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sap.com header.s=selector1 header.b=b7QNQ9W7; arc=pass (i=1 spf=pass spfdomain=sap.com dkim=pass dkdomain=sap.com dmarc=pass fromdomain=sap.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sap.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242073AbiHYMzU (ORCPT + 99 others); Thu, 25 Aug 2022 08:55:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242029AbiHYMzI (ORCPT ); Thu, 25 Aug 2022 08:55:08 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2051.outbound.protection.outlook.com [40.107.105.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DE1F1F60F for ; Thu, 25 Aug 2022 05:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XDJS34RKREIE0RNylfD319qPwbuQmeu4aAq9tq+TjnSI0kOZGYj0pmbw3qlJ8WbD/qSp0QhwvavOenRYgxUsvGvTY+OMREyFIBbcPN73YJ87YadNeELfEqzQmGisy6uCYb/W5HR0zlcrpbCwhhoUnwNpuEHv5eJM+rH5TOdm1j1r9+rVE23Oa6QbbjXkzO2uA/6iADtHcd0dT7gWVx4NvbPCUouP5xoWPLR6plL1x+yQGW//vY5a5YW8AByx8ap0PKJ0yZaG9jA/HywtsUBOaNkDF6UNlRhRhpglgrSJ/+F17w6PjzqoOnHaB5GgvTY78WFAZEuuh72z3qgl+g4QBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aGZxK2kJ03N8pfSsNcsFy8SaSri/IXteJFtjRoDFtI4=; b=J+AXoMLLiIV+2LARWibJUMxgugUEs7Zs72tV45WMtywZNOc+Q8yszRXindY0rHTxA3pvdlFfcBPWCNa0TZEGEWVGH1jMoI2OLMj9JcaXp+muvACurQfR3MAcwMOv3h8aKYE+9ujWh//wyGzMPwbtFWVLBtgOMXg9crYtt5ALuJnpPjagjzGtJsRysGhwcuvFBMY/rpGcLSdsDrTHZQMUZcM3z4brFAIkYyhe3F+eN56OnTsWyEXZVT0wjJFD1GPsjTdfWMDWoHuhvGnWg/a9+fjmLrhru71afBboVO1fV3d/sHOQW5ekrh8JLHepYlCPHYTu1zJ5tJ4GV4XYFwfEOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sap.com; dmarc=pass action=none header.from=sap.com; dkim=pass header.d=sap.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sap.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aGZxK2kJ03N8pfSsNcsFy8SaSri/IXteJFtjRoDFtI4=; b=b7QNQ9W7Ugk+LzhglgV7BgGLqeOH0lRhp47Er81dKkra0FXAF2ghdAoaZvyoLT1j6y2xTsKz2JpLWfU7oMgTnjdvf2tJQ96PuPk/RgGUIzgqqix2KuhKFkzWsdJ4tj8OWxoFtKbYhWbhqXBm9wI6p9RZKdP7UWsELWqEsfMMsCgD1Fgf5Ts61qZVxIlneXP0485D3OMw1JPkUdYVQgTyTRGXL//NCqPOV5gILQchKOsyJXAB1v0Gcx3XjpnW9ME4PVY+JTsGCYX2urfTPp6pRxlLFDTr78o01NW16X+n5JgLpJ6Rm0WtpShwXeA6nhKqrEB/lvPnpjJ7XzzugzeRFQ== Received: from PAXPR02MB7310.eurprd02.prod.outlook.com (2603:10a6:102:1c5::10) by AS8PR02MB7463.eurprd02.prod.outlook.com (2603:10a6:20b:3fb::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15; Thu, 25 Aug 2022 12:55:04 +0000 Received: from PAXPR02MB7310.eurprd02.prod.outlook.com ([fe80::25a4:e5d5:aefc:fe46]) by PAXPR02MB7310.eurprd02.prod.outlook.com ([fe80::25a4:e5d5:aefc:fe46%9]) with mapi id 15.20.5566.015; Thu, 25 Aug 2022 12:55:04 +0000 From: "Czerwacki, Eial" To: Greg Kroah-Hartman CC: "linux-kernel@vger.kernel.org" , "Arsh, Leonid" , "Twaig, Oren" , SAP vSMP Linux Maintainer , Arnd Bergmann , Dan Carpenter , Andra Paraschiv , Borislav Petkov , Brijesh Singh , Eric Biggers , Fei Li , Hans de Goede , Jens Axboe , Mauro Carvalho Chehab Subject: Re: [PATCH v2] drivers/virt/vSMP: new driver Thread-Topic: [PATCH v2] drivers/virt/vSMP: new driver Thread-Index: AQHYuErwCwPojP5fak60UhGlJnJEo62/OPAAgAACsWWAAB5kAIAADNqvgAACQwCAAAE9j4AAFa6AgAAESN6AAATmgIAAA1dFgAADMgCAAACCvA== Date: Thu, 25 Aug 2022 12:55:04 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=sap.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 135c7d47-daa3-4de3-bb3b-08da869907ec x-ms-traffictypediagnostic: AS8PR02MB7463:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: t8EvEWhE/3sK/EDgBznxLXr0aid6H7ghzFkooZJ8auNT/ZEh2yEJSgOh5DPgRa9p4VZt0ayhpfpf6/TvX1IGMEVa/aI5rwRKubTevVs7Gqd87kmGtbIJ72MeGVXorWmkSvwE6Nhmd1otSthez5gBX2e1JUxltc2RS0GwSFkb5F8Ex7d849STd+/XJ/D96pTJWRPaZ1T/Q06Zf9VaZ00oGUKuycWHxAYhCW2OJarZu1MUgQhqhUx/HFx3t7NftOsoBOLdsylcnT8fvP3btydiRksiWNcEOJAxhgK9c15c+QTPr0alHoRlWyP3wD/XRGmLuOd4tV4QeyNLiaJJOPz/z2jq+f3dUE/MZ4mEx42GesYBws/mUYw5HdY/a+sQAvEfshbBizUQMHdjN4NLHaOfRMYbG4CxWodaS25arJinM4y/yFJRmqd5w/F551EkhrclxJN+SxBPQSEcrXt1zjw5krSEWgD+2BB6FzC4n+HT6+6f/acnJl52ZBYdB1wISd92v50+wAxF+ItSvnnOApBITi4AbwR5oHnvaQt/beolQe8Jxy+zfustjRY61kt1LKGBs+r0/4nsiQcCJJmpV6zc9i7pC8i3trBrKLO9LQp92ZfKc9L+8LMt6dRq5tOo6v/2QjWxmzoIz+ZNDQa1xav0LHn8aS/PR5aJ94DubrO7g2SORsm6SE88nPKLvoey5plLTidSOhqfZmxzZZ03j3zVwGS9SwcxjMT+PlfZc38FXMoVo650EAXSdBWnom4IRsuL2t1a+bb9mjtCKBxp0BwJjw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR02MB7310.eurprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(376002)(396003)(366004)(346002)(136003)(39860400002)(86362001)(4326008)(83380400001)(8676002)(66946007)(76116006)(64756008)(66556008)(66446008)(8936002)(7416002)(52536014)(33656002)(5660300002)(41300700001)(478600001)(91956017)(186003)(38070700005)(6506007)(7696005)(26005)(66476007)(2906002)(38100700002)(55016003)(54906003)(6916009)(122000001)(9686003)(82960400001)(71200400001)(316002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?vlnuMcvYGTrbWALZlGPf8gbahCja/CPlJ271tpVCu4K629Xc8AZSSpLi4i?= =?iso-8859-1?Q?1IGbXiKioAQnyZLeixbV22YHLs3DxsTRT6l53iaRqxizBbIfNn7iAZOUgz?= =?iso-8859-1?Q?59FDrlHDUZAekxW85QOIb9Ao+wR7LgNhCHxew7w5Bl8I2Yb25+EUqONR6F?= =?iso-8859-1?Q?Ntm2768FgfvQm74gIJsbnO5yUVSq6HXg1wbI36zlDjKazVjL033KUrLKCg?= =?iso-8859-1?Q?B6jTsuu2whZMItO877qYEK7vk+RIuV+YgivQAIDzrMb5Uh4KhC9LKisSsf?= =?iso-8859-1?Q?A80IHfbEIaoqYJRNYvmUNUR156qXzTuiTVdLGcXK5PPzwPV/soI/Xe1/i5?= =?iso-8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q9MOGKOQYH/XZ1/UR0WqpV2mcGofgQZ?= =?iso-8859-1?Q?UjRQ2GDrkHVN94THZqS+IMNJmaFVMzNBt2fI7/FD6TacSrVz9Q9bSZ3uPB?= =?iso-8859-1?Q?igmYRRE53wauYR/lChwOGnpCh1SseIgi7Xbs0dTWnOzVisqRnjwQNjElcy?= =?iso-8859-1?Q?TkJyIoXerDUiVIYq1liXg48eX9DwEr7aYnO4MoxMEnsWDiROggVI5f9Bmn?= =?iso-8859-1?Q?WuqkTcABQkh/gqg31B/lLMuq9VQMz5ZJKMLgRFEytjH9dqaNPlZ5ZmfftW?= =?iso-8859-1?Q?S28EMLDdCFJk6ZrR4AX5+bV3x9hMJVzI1gOu4SyUn6/LHmR0AvhXevf68k?= =?iso-8859-1?Q?zQppmBsERSww87geZ6ibh6ly/Xyq8JfdXhoG6lxp9gvi0OHcst6Q9hvbzv?= =?iso-8859-1?Q?DBkDqppLPXSwVmfALd7P/8IGGpW/OSOLJ5?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: sap.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PAXPR02MB7310.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 135c7d47-daa3-4de3-bb3b-08da869907ec X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Aug 2022 12:55:04.6794 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 42f7676c-f455-423c-82f6-dc2d99791af7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +mGbQa2817E6gWyYQoKiJD+ZK/Kbl9hacJOdl11wmhImPIPP2AnAdFrunxDgCfMYjst6fgWHwMqBHSsRMjF+nw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR02MB7463 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 >On Thu, Aug 25, 2022 at 12:38:46PM +0000, Czerwacki, Eial wrote:=0A= >> >On Thu, Aug 25, 2022 at 12:02:12PM +0000, Czerwacki, Eial wrote:=0A= >> >> >On Thu, Aug 25, 2022 at 10:41:28AM +0000, Czerwacki, Eial wrote:=0A= >> >> >> >On Thu, Aug 25, 2022 at 10:16:59AM +0000, Czerwacki, Eial wrote:= =0A= >> >> >> >> >> >And why is your version file a binary file?=A0 It should ju= st be a small=0A= >> >> >> >> >> >text string, right?=0A= >> >> >> >> >> not so small, it can reach up to 512kb.=0A= >> >> >> >> >=0A= >> >> >> >> >That was not obvious at all.=A0 Please document this.=0A= >> >> >> >> where should the document be?=0A= >> >> >> >> in the code as a comment or in another file?=0A= >> >> >> >=0A= >> >> >> >In the Documentation/ABI/ file that describes this file.=0A= >> >> >> ok, will place it there=0A= >> >> >> =0A= >> >> >> >=0A= >> >> >> >> >And how in the world is a "version" that big?=A0 What exactly = does this=0A= >> >> >> >> >contain?=0A= >> >> >> >> it 's size depends on the number of resources it uses.=0A= >> >> >> >> here is an example:=0A= >> >> >> >> :~> cat /sys/hypervisor/vsmp/version=A0 =0A= >> >> >> >> SAP vSMP Foundation: 10.6.2862.0 (Aug 22 2022 15:21:02)=0A= >> >> >> >> System configuration:=0A= >> >> >> >>=A0=A0=A0 Boards:=A0=A0=A0=A0=A0 2=0A= >> >> >> >>=A0=A0=A0=A0=A0=A0 1 x Proc. + I/O + Memory=0A= >> >> >> >>=A0=A0=A0=A0=A0=A0 1 x NVM devices (Amazon.com Amazon EC2 NVMe I= nstance Storage)=0A= >> >> >> >>=A0=A0=A0 Processors:=A0 1, Cores: 2, Threads: 4=0A= >> >> >> >>=A0=A0=A0=A0=A0=A0=A0 Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00= GHz Stepping 04=0A= >> >> >> >>=A0=A0=A0 Memory (MB): 30976 (of 103192), Cache: 7527, Private: = 64689=0A= >> >> >> >>=A0=A0=A0=A0=A0=A0 1 x=A0 6400MB=A0=A0=A0 [ 7825/ 321/ 1104]=A0= =A0=A0=A0=A0 =0A= >> >> >> >>=A0=A0=A0=A0=A0=A0 1 x 24576MB=A0=A0=A0 [95367/7206/63585]=A0=A0= =A0=A0=A0=A0 00:1f.0#1=0A= >> >> >> >>=A0=A0=A0 Boot device: [HDD] NVMe: Amazon Elastic Block Store=A0= =A0=A0=A0=A0=A0=A0 =0A= >> >> >> >> Supported until: Aug 22 2024=0A= >> >> >> >=0A= >> >> >> >That is crazy, and is not a version.=A0 It's a "configuration".= =0A= >> >> >> it is called version for history reasons...=0A= >> >> >=0A= >> >> >There is no "history" here, you can create whatever sane interface y= ou=0A= >> >> >want right now, there is no backwards compatible issues involved at = all.=0A= >> >> you are correct, however, it depends on how much change the hyperviso= r code requires=0A= >> >> if any (latter is preferable)=0A= >> >=0A= >> >I do not understand, again, what tool consumes this today?=0A= >> there are monitoring utils that parses it.=0A= >=0A= >What exact tools are you referring to, and why can you not change them?=0A= >Where is the source for them?=0A= >=0A= >thanks,=0A= >=0A= >greg k-h=0A= =0A= SAP has monitoring tools which parse this configuration text.=0A= for example exporters integrated into Grafana. these exporters we will chan= ge=0A= to support the new format.=0A= =0A= Eial=