Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1261931lqb; Thu, 18 Apr 2024 05:13:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqZCTzKgPFaE8JUkwIphjVt2G2aNJVJFW3bqIz1VD8A5Jd0ZeI+9OldjcBrKzB7P+HiGfuwUbA6/hvsEjHzN2FEWiNbe1fol8k+oQjpQ== X-Google-Smtp-Source: AGHT+IFJKR1LernRLfOFvBpHe1WqKs1JcaQBJ/0jbXbn8Dm3lOKXbKxdgx0xwHySp3pKkSXIaxTu X-Received: by 2002:a17:906:27c3:b0:a4d:f5e6:2e34 with SMTP id k3-20020a17090627c300b00a4df5e62e34mr1423301ejc.19.1713442406770; Thu, 18 Apr 2024 05:13:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713442406; cv=pass; d=google.com; s=arc-20160816; b=KdDaqjn4Vo9QZW/a94tYR2ONUqq77XVR8EGefMPGi2LZ3L447wj8I+2KL177aGoPDq /40W03TJAticL70BJQvPp4Tu8eStyyhC564OTRgKOro/yn1idoY3yhOhWVuT6YR80UOB /AXeEKsGb9eTHLStmX99t1RExzi+mGeBquo0hi+EaILYb//AL04DGeL1JlDpwTRdRzeV /L9l2vamB79u4D1G9ZDnVa3/7HzbiG+pXz9UWNOkyzFUHiBsEjkHid+7MOL1hfu9ojh+ 8oWcWiQvnT7cxxUNhoSw84vPJhnU9/dhJDQlfDZ+YbU4uhBk+70Gi0syJ4dFDEcGIyeH Y/Cw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=+oJqPZw5AQXZu4QX4SS/nMWpk2RFT/2PtyZ6M4OlIXA=; fh=GzD/H3x8V7AI3xQFQURNt9i9PvHVHAcDSPobsgw6wEI=; b=Q3v3PjVgY70SEr/9yP0jL3Y8JwQT76sseUVjOqnOIiqTJSXrPbQL5xQsyKYTIL4oOE uFgRSgYMhOWwAyZp0TucutdsICtDtSOqttNtDEvhvFU1CVgwpZMbghxlfjgPqyGoR1jZ yZLs3SxsMA3kZX3rpCZxxruCcX3+hqKR811HAhgx6fKA1zCUGC5kyOTo6r4uFvYO2h7p RNkeSrBFn2kgn+xPRlpjI30aqOSOn4ncgNZuZk8o13CnO59qCKjh9g1OtafAsKDC7qaz f5Il+FNPUTpvJufSIf0E2GXwHPuFTuG7Qf5KPo3qcWobVuuxZboAPHyxVm8IDszbdRCh RLLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=QZKskoh9; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-150045-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150045-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ca24-20020a170906a3d800b00a553209708csi767943ejb.170.2024.04.18.05.13.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 05:13:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150045-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=QZKskoh9; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-150045-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150045-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7D6ED1F220CF for ; Thu, 18 Apr 2024 12:13:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03AD415F418; Thu, 18 Apr 2024 12:13:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="QZKskoh9" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26E2515CD6D; Thu, 18 Apr 2024 12:13:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713442397; cv=none; b=FjBPyl8DleWTJmV3QrInVmU6lhTUch5VZgs2HYngzTpmL9z7tv8lLcqiwzcBVTbgmSkwbh/c88L1OZCtjC1Ei/oROP2zVW477Fu0qHShwxvMjG9Qcuc+OUmf/6CUxwDThGXkoUnTj+ups3O36b60a38pk4AqhZjtexSbJD5hllM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713442397; c=relaxed/simple; bh=HxsguZAiND8dos6ZuH+ziu2ZtuOU9eBSUicLkDQ2/Sg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VM7MxIwXf98hOC1D4nJ63DYPUbGDGaDdMan2QBKSYX04GQDa00MSzRDlY82s/TXgBLpmbsRuGInTHNE48fiNXgAmUuFcCQTqdDWk8xe/9nWSWPTSgCSGmBY2bxoMIyKhhgao2P6s/1T8XTgwLJO74E/wak2srzSiSsMWOFp5zew= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b=QZKskoh9; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 960D2C113CC; Thu, 18 Apr 2024 12:13:15 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="QZKskoh9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1713442394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=+oJqPZw5AQXZu4QX4SS/nMWpk2RFT/2PtyZ6M4OlIXA=; b=QZKskoh9gGyyCUC9/S43imrO9mAZx6p0nv2skuZ6DsSMGfHZkt2TbrOzoz9WKlMoowDbNq KKclte65w62fNb/VvGBYXPy1lan2vRF/6AaQvMRxOJkvPW3ENbrGPE9w+siySqQKMsSR5q MDWlch/KQanX7rnczAdhKC8XLGKs+Sg= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id e3547100 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 18 Apr 2024 12:13:13 +0000 (UTC) From: "Jason A. Donenfeld" To: tytso@mit.edu, robh@kernel.org, krzk@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, sudanl@amazon.com, graf@amazon.com, dwmw@amazon.co.uk, krzysztof.kozlowski@linaro.org Cc: "Jason A. Donenfeld" Subject: [PATCH v7 0/3] virt: vmgenid: add devicetree bindings support Date: Thu, 18 Apr 2024 14:12:29 +0200 Message-ID: <20240418121249.42380-1-Jason@zx2c4.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Krzysztof, This is a cleanup of Sudan's OF vmgenid patches, simplified a bit, but still with the same intent and mostly unchanged. I'll take this via my random tree, but I would appreciate having your ack/review on it. Sudan - if I've mangled something here, please let me know. I verified this still works with ACPI in QEMU, but I don't know about your private firecracker OF branch, so please pipe up if something is amiss. It's basically the same thing, though, so I suspect it'll be fine. Thanks, Jason Sudan Landge (3): virt: vmgenid: change implementation to use a platform driver dt-bindings: rng: Add vmgenid support virt: vmgenid: add support for devicetree bindings .../bindings/rng/microsoft,vmgenid.yaml | 49 ++++++ MAINTAINERS | 1 + drivers/virt/Kconfig | 2 +- drivers/virt/vmgenid.c | 150 ++++++++++++++---- 4 files changed, 166 insertions(+), 36 deletions(-) create mode 100644 Documentation/devicetree/bindings/rng/microsoft,vmgenid.yaml -- 2.44.0