Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp396281pxm; Fri, 25 Feb 2022 10:04:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqHhXaoVmoedHqiA0ASnezIgrZeXcu+uZrcD0j2mXKet6LdSmjQpOl3nV3apa3V6M/KQ+R X-Received: by 2002:a17:906:2bc5:b0:6cd:e676:3624 with SMTP id n5-20020a1709062bc500b006cde6763624mr7049110ejg.277.1645812271410; Fri, 25 Feb 2022 10:04:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645812271; cv=none; d=google.com; s=arc-20160816; b=czf9g6yWc7Phuqs9EKABTLxftN2pEb7MnHEQ1rsICxWN7My91P+36LZ7tzxLgXRLX/ Ux5jRFHcVGS72yXRr2436FSSLIgwBeljJ9PxamKa+kwy70BahdFYhH2BXewJ6zq73qog PyMebSTOaK2lbaYg2K2pwAwPkRUleJo4T7Lslawdx3175rbW9PWes2R9B6Lz+4J8Rq37 bXv0nRR9zqKYwkFap1ByJ8cwi1vjLc69/UFxKrCv/wekgphTe4d2ttgXzxPZUYkXYs3N hnOe6Ybe3N78zM3nZdSzIno1InJh9+0peMpMV/wTVdf+qnAmWgRWyWDrjnfdCInohbT8 5PVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=8kGZS1WN7G6CFiOLfo0q+xlIMR7pw0Iyc1llFmruEA4=; b=f0rEk5K8CYJyq6oLrnuQZ4tXgp0Z4tV7/DMoZO36Dh/9AZonrDwtqLEhxfq2adSDfb vOK9mB0IL1P5Mq4866hBuuDaFavURR3UwHx8y7aLnr67PXrXp+nOoAa4DQUddG2FwCYl U7kAx+J46kljZNsjng1fEnYxa6+vCOBXi2sbrYEdTqSnFNqDlFL38ee9/AAXI7aqB5od 6GJlIQrvUgKRjFN2WSBikx6qpRwf/NkLtsiu+43DyHSyODk8NQlI8O3pmSFPktIl7P+O s3bsA8I/nKMXGLg0An/h9udFbXUcJndZYYISIzATteiNrXwy32CXbykMXYjEj0ceGwag EtWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=tufwJqmV; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a50e14a000000b00410ba75bcbcsi2221042edl.43.2022.02.25.10.03.58; Fri, 25 Feb 2022 10:04:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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=@amazon.com header.s=amazon201209 header.b=tufwJqmV; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240999AbiBYN6i (ORCPT + 99 others); Fri, 25 Feb 2022 08:58:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231598AbiBYN6h (ORCPT ); Fri, 25 Feb 2022 08:58:37 -0500 Received: from smtp-fw-6001.amazon.com (smtp-fw-6001.amazon.com [52.95.48.154]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DC0C2BDA; Fri, 25 Feb 2022 05:58:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1645797485; x=1677333485; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=8kGZS1WN7G6CFiOLfo0q+xlIMR7pw0Iyc1llFmruEA4=; b=tufwJqmVMdYn2o0OGJjHXAGEUt4jdUd1F/lCAn4LwaAf0lRRAF1NQWgC wawcqFJQJjTFj+OMhOTFeN05Op4R200X3lo7qRq3aGfAObbObORnOGIAU b9Q/tco8T5au6YSbFEDdI9NmsAJCNujrC4wyIsURRWLJ9lXl6lc2uc/m4 w=; X-IronPort-AV: E=Sophos;i="5.90,136,1643673600"; d="scan'208";a="181239800" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-pdx-2b-05e8af15.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-6001.iad6.amazon.com with ESMTP; 25 Feb 2022 13:57:49 +0000 Received: from EX13MTAUWC002.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2b-05e8af15.us-west-2.amazon.com (Postfix) with ESMTPS id A5E6FA28F4; Fri, 25 Feb 2022 13:57:47 +0000 (UTC) Received: from EX13D20UWC001.ant.amazon.com (10.43.162.244) by EX13MTAUWC002.ant.amazon.com (10.43.162.240) with Microsoft SMTP Server (TLS) id 15.0.1497.28; Fri, 25 Feb 2022 13:57:46 +0000 Received: from [0.0.0.0] (10.43.161.219) by EX13D20UWC001.ant.amazon.com (10.43.162.244) with Microsoft SMTP Server (TLS) id 15.0.1497.28; Fri, 25 Feb 2022 13:57:40 +0000 Message-ID: <05c9f2a9-accb-e0de-aac7-b212adac7eb2@amazon.com> Date: Fri, 25 Feb 2022 14:57:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork To: "Jason A. Donenfeld" , , , , CC: , , , , , , , , , , , , , , , , , , , , , References: <20220225124848.909093-1-Jason@zx2c4.com> From: Alexander Graf In-Reply-To: <20220225124848.909093-1-Jason@zx2c4.com> X-Originating-IP: [10.43.161.219] X-ClientProxiedBy: EX13D19UWA001.ant.amazon.com (10.43.160.169) To EX13D20UWC001.ant.amazon.com (10.43.162.244) Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-crypto@vger.kernel.org Ck9uIDI1LjAyLjIyIDEzOjQ4LCBKYXNvbiBBLiBEb25lbmZlbGQgd3JvdGU6Cj4KPiBWTSBHZW5l cmF0aW9uIElEIGlzIGEgZmVhdHVyZSBmcm9tIE1pY3Jvc29mdCwgZGVzY3JpYmVkIGF0Cj4gPGh0 dHBzOi8vZ28ubWljcm9zb2Z0LmNvbS9md2xpbmsvP0xpbmtJZD0yNjA3MDk+LCBhbmQgc3VwcG9y dGVkIGJ5Cj4gSHlwZXItViBhbmQgUUVNVS4gSXRzIHVzYWdlIGlzIGRlc2NyaWJlZCBpbiBNaWNy b3NvZnQncyBSTkcgd2hpdGVwYXBlciwKPiA8aHR0cHM6Ly9ha2EubXMvd2luMTBybmc+LCBhczoK Pgo+ICAgICAgSWYgdGhlIE9TIGlzIHJ1bm5pbmcgaW4gYSBWTSwgdGhlcmUgaXMgYSBwcm9ibGVt IHRoYXQgbW9zdAo+IC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