Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1415079lqt; Wed, 20 Mar 2024 03:24:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGfbCIBoaeHlaN6212GcKzR+lBqvhUWQoBx38sN+mRzQyMjtVZkCvkLOgkNOTVFb+0AzCsfC4UNvBL4gNTV7JIhy5vhaAWIOfMvaAxUw== X-Google-Smtp-Source: AGHT+IHnbKACaCnrbdd/TJWSf3dJP7howHG7jzWzXYrdfPsQmZsjRz/UQECSGObfPqAZGQfdqb65 X-Received: by 2002:ac8:5707:0:b0:430:eeaa:a432 with SMTP id 7-20020ac85707000000b00430eeaaa432mr3041483qtw.5.1710930273143; Wed, 20 Mar 2024 03:24:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710930273; cv=pass; d=google.com; s=arc-20160816; b=F1YHLGaaeihjtunVYMfb76NX7/YnfiyWjTk42tsgBkYmng3xPjR57mVxvtzSWFLAUY fOhLCFWCAgJzASBDgT/jHDPxgZ3yOwSZ6DWdgJA2qQJ88+q3o5SdHrjGBghB2ZIO/2jf 5UR2YM/JP9nszIeRBZldlA9B5sF1jiUeFaGr7Xq6so6qzThuGdtvv2HKZgekMhdCoF0B p0iA3ZQmkuXsZgguK/gKtOGYB/cLfgacu93ngSzvCmmQ3AGuG6soyAbBPdnYqgex3e5j tyU0Rel+h0nX4bWSSLH3FQvdF40Uqt1Cl2xNtOE15P6Mb7FngxaoU1QI5CIgcH6alpmk zpxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=zUxLDUcelK/0PKWxOgb0tRnuM6xgbFRxgTPdQohocPE=; fh=3PFFpa8fq/3yCJOQyZIQwVRahPxxozt+ZZnRdaEv4Nk=; b=RLItwm+nfNhUOJlVWb6U5lRaChXJN/Zfd+eyilbWD4ND7btPra7+bMZWYuj1MXPd9m 4Sa696GNmeK6BJfUjiThAnUQ2R6nctHgKCMDKE3elYoDxrFY6bM6rj8fpREIygEU6VN6 9/d4izEbL23sGQhnh2p1f22HNUW4htlMkAAnQ4pJXIqJlptrh2pC4F/Vc1VskUz4McXn o/JWw3emuAdqQPKzkm0wS6q7Ckg5T11tMa0G+LR6MRwXTp/7aR7keqoUuugMD0SAzpst bAux5Eq7OYA7wSWUNMCbTznJCerAmKXwTkRLuoW1vG7p4QQn6OAGhsuOTJ69tD5933hD QtMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d+rQpkij; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-108756-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108756-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v4-20020a05622a014400b00430c4684d2fsi8536594qtw.284.2024.03.20.03.24.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 03:24:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108756-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d+rQpkij; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-108756-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108756-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C8C3C1C223FC for ; Wed, 20 Mar 2024 10:24:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C9343DB8C; Wed, 20 Mar 2024 10:24:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="d+rQpkij" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C74F3BB48 for ; Wed, 20 Mar 2024 10:24:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710930253; cv=none; b=S8/eB5pDASsgrUsL3AZvpeMwXuN5jdLFQSlwkN0vQ90xfUC0e4o/nZUv33Py7hsQP7i9xMyYmpQgzTkq/2SzRk4iroW6h92J40Fz7G5hFvef06JinZw96Bwd1c9m8G0pMPw1CxHui1jhGPVUuAmqQOq1gW9DdwBvAg9YEu484qA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710930253; c=relaxed/simple; bh=FntOVS9RTj65ER/1UeXzQzNeQZXqJvEG86AIMo02Vio=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=fApDAcrWZAjKET+5DzTNBOcfHaVbaCh+1JL/0zC2nSdAi51yJqYi/dekzzUZsqaZ/HB0B5DzvxBjx+rtwPjbfiBtlbmnBISsCBAu0WPgKy/3ClQWHIGHq01y6kN/XdaYObNt8I7+Q/n7T5svuw/wQDyBk4/pydSazgC9WC+ojOY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=d+rQpkij; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a46dd7b4bcbso221343766b.3 for ; Wed, 20 Mar 2024 03:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710930249; x=1711535049; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=zUxLDUcelK/0PKWxOgb0tRnuM6xgbFRxgTPdQohocPE=; b=d+rQpkijrNtSc0iaUqsGc9O1T17EaOGs2Dmpdnk6r2E5/bWi1jLM3Qc2z21NesZkuT rJgtg9eYlBGirSXOy+M8qCj1cEVphMkSsUsj6utS25BZ5ZWDD0x2R74D/GP11YOUvnPi nV76hFVGBKQKWpJRXJDfnM926LSBU6bWJnK+/GCt/w+mQ32dbB1404vuMmtLxkwOIi0B WKETI/5Z/QPQNTdnF4y7VEamcOl0DH5KpL4xtS8+Kwcx7pWM5V9SXo7tXcg+YPYuyQRx RILlfWkONlptRmSs1Pw6N6SEySpXrTRRxc83g9VH67N1RpirTmaKOVPu8rx/vjLSC2Z3 u3jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710930249; x=1711535049; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zUxLDUcelK/0PKWxOgb0tRnuM6xgbFRxgTPdQohocPE=; b=FpTNGbwzSlIzq2Vtz+lXHvuLxYjIt48aQ3OEXAtQggUxchLF85fCwHhBEEsNXZQT1H QtXiJ0KZJh5NB1fEhjorXDvyWzM2o3pZICxMupZmmn3P+gXGwiCNgdBIY9lPMhqA0pq9 SUXeBDdC11wTonnNBuvV9mMJV4JBqeMv+A+F8gg8CpsNnk3HZeddbYVmhvXLT25gXQhB 51fVJafKG4UgljpU0hIP5D6W4i5F1vDuQ0ngpBsl3r5Xr+/7uLsliZ0Bco8mlb/ATZOa DKkNbYe9y/QeNw9Ry4eukdjg8kCTkCbohx1kOx49m8whvIIndOBdRe8u0/sA79mTgYUS /ACA== X-Forwarded-Encrypted: i=1; AJvYcCWwXfknDN3KUMOPE5cSq0q+KJBLkYi6uvln6dRLgE1ZfgJN7HGWXzu1yD2qGScMA4mqqs6ufXzl+pkeltuJ69gHA+/GxFk/XwSIqrUm X-Gm-Message-State: AOJu0YzBwYn8kxJcR5pUgoaoYSaHvAqv0z/fmIGXkZB3+M3pmnhjtB2s 56RIrFtVETD0KD1gB5vTmV0YHfUy4kcrMD/WzSimzoBARl+TpogPZVugJRgA/9ZeNLcNMBUZuM+ V X-Received: by 2002:a17:906:1547:b0:a45:b1d8:200c with SMTP id c7-20020a170906154700b00a45b1d8200cmr12083115ejd.14.1710930249600; Wed, 20 Mar 2024 03:24:09 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id a11-20020a170906190b00b00a44e2f3024bsm7074104eje.68.2024.03.20.03.24.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Mar 2024 03:24:09 -0700 (PDT) Message-ID: Date: Wed, 20 Mar 2024 11:24:07 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 3/4] dt-bindings: Add bindings for vmgenid To: "Landge, Sudan" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240319143253.22317-1-sudanl@amazon.com> <20240319143253.22317-4-sudanl@amazon.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMB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iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 20/03/2024 11:17, Landge, Sudan wrote: > > On 19/03/2024 15:28, Krzysztof Kozlowski wrote: >> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. >> >> Why did you remove all the people from CC list? >> >> On 19/03/2024 15:32, Sudan Landge wrote: >>> Virtual Machine Generation ID driver was introduced in commit af6b54e2b5ba >>> ("virt: vmgenid: notify RNG of VM fork and supply generation ID"), as an >>> ACPI only device. >> That's not a valid rationale. Second today... we do not add things to >> bindings just because someone added some crazy or not crazy idea to Linux. >> >> Bindings represent the hardware. >> >> Please come with real rationale. Even if this is accepted, above reason >> is just wrong and will be used as an excuse to promote more crap into >> bindings. > > Thank you for the quick review. > > I will add more details to the problem we are trying to fix with an > updated cover letter > > but to summarize the problem briefly: > > Firecracker is a minimalist feature hypervisor and we do not have ACPI > support > > for ARM yet. The vmgenid devicetree support looked a better option because > > supporting ACPI on ARM means supporting UEFI which adds a lot of complexity. That does not convince me. Amount of work for you is not making virtual stuff real hardware. Come with some other discoverable protocol - you have full control of both sides of this thing. > >> A nit, subject: drop second/last, redundant "bindings". The >> "dt-bindings" prefix is already stating that these are bindings. >> See also: >> https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18 >> >> Please use subject prefixes matching the subsystem. You can get them for >> example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory >> your patch is touching. > Got it, thanks. >>> Add a devicetree binding support for vmgenid so that hypervisors >>> can support vmgenid without the need to support ACPI. >> Devicetree is not for virtual platforms. Virtual platform can define >> whatever interface they want (virtio, ACPI, "VTree" (just invented now)). > Sorry for my lack of experience in this area. I took reference of virtio > devices when I > > uploaded the patch. We would still like to support vmgenid via a > devicetree so I'll > > revert with a new approach. There are other solutions, I think. This was discussed already multiple times. > >>> Signed-off-by: Sudan Landge >>> --- >>> .../devicetree/bindings/vmgenid/vmgenid.yaml | 57 +++++++++++++++++++ >> No, you do not get your own hardware subsystem. Use existing ones. > > Got it. The changes are related to the "rng" subsystem so I'll rethink > if that is the > > right place for this and revert. Your wrapping is odd. Please use some decent email client. Anyway, I am not discussing topics semi-private. Keep all maintainers in loop. Best regards, Krzysztof