Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1397169pxm; Sat, 26 Feb 2022 14:07:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJz06uEzr8taKaTgfrlc6ImGdJUslKL2EI88/zJBpGNnfJCCR/tKR5nDeXr/fZ1qWLlRkwRQ X-Received: by 2002:a63:2a43:0:b0:376:4b9:f7e0 with SMTP id q64-20020a632a43000000b0037604b9f7e0mr9451960pgq.437.1645913228305; Sat, 26 Feb 2022 14:07:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645913228; cv=none; d=google.com; s=arc-20160816; b=Tz2Pu84HGuri/8D+Y2kyCkr+xsAqMCbyhk14Hi3Y+tq3UvXfRT+s0oneqatlXUabbC DeTYo9NGbodB5FWcqDTWG/AQIKiN5gD7ltmBU0qZ/lJdXXIqBGpoxrPHUbZwdyaTa6/U W8dWUOlL9q9b4hYqUQJTOx5nEnup8XPQFOR/qFnDhgvzRdWnWaOXj4twgSRuxBROT0MZ eHJane2Gfbi5+sGdYiTfntGEv6CnkANVmMkXmMti+L+E4oLalwjPiTb/2B5baF0Ju7Os S98w3ySlZa0H3axJKByjREyaYWpyY0Vrne/NoBMGowqGn+0iByF3USA6djuCwHYYAIY/ MVXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=01UTf7O373LIbwYDGLgA49GLqG6GmaXy+U95oNhQ3+0=; b=f0XbKgxuTw/WXdq4mlw3v7Yn6x6z0xw4zlW5rGbnWux143c/Qnf/EtLa9aeK3px65B rFO7eN9Qbx0a60AE1QjFl6No0fpicFGryzf+9gsTW7DdgvGu0Iih89/Ak/+C/My/qTAG +X9NM4m6ylVFrzQMm5bDA/zm+r0NcdPjiWWrizMW/+dFfAQCzcnq3hr7hbD8Hz6JiTh1 KmFKJ78/fslLu/0Y8LcyN1RJ8QcHIkJQ3Djv/cdjRDAwvP3KrDVAuo5/8nJmcsDNRiKN soDl+gURXs2kN8JJQ1O4pvFzhISMg/acqw8zoRnlYPLSTfuFmEb8ChqdW9ryZu4wJeRt /V0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=LzsRMBNg; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b17-20020a63a111000000b003785aa398adsi738617pgf.246.2022.02.26.14.07.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 14:07:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=LzsRMBNg; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 195D22BAF1F; Sat, 26 Feb 2022 14:07:06 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229778AbiBZWHi (ORCPT + 99 others); Sat, 26 Feb 2022 17:07:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229759AbiBZWHh (ORCPT ); Sat, 26 Feb 2022 17:07:37 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F2C32BA9C3; Sat, 26 Feb 2022 14:07:00 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6B8AB6102D; Sat, 26 Feb 2022 22:06:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6EF7C340E8; Sat, 26 Feb 2022 22:06:57 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="LzsRMBNg" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1645913215; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=01UTf7O373LIbwYDGLgA49GLqG6GmaXy+U95oNhQ3+0=; b=LzsRMBNg6OFO5ODbemd2Twz9Q4lUpxgd3FtxsZbsMVnon4+5vRpPBE7d5D5+C7pfX+gRkN FXisqHN6Jsa0bevElU/eGrkOZgPdPEky0q8n04HaKD8QrtuMiEb0mqGDD3E2El6PR5z1ka llHnwCaG5A6hoj7ldhOzOiJk8mSWdTU= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id ada8a9c2 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 26 Feb 2022 22:06:55 +0000 (UTC) From: "Jason A. Donenfeld" To: Len Brown , "Rafael J. Wysocki" Cc: "Jason A. Donenfeld" , linux-crypto@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Graf , Ard Biesheuvel , Greg Kroah-Hartman Subject: [PATCH v5 0/3] ACPI: VM fork detection for RNG Date: Sat, 26 Feb 2022 23:06:36 +0100 Message-Id: <20220226220639.1173594-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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-crypto@vger.kernel.org Hi Rafael & Len, This patchset is directed toward you two specifically. Patches 1/3 and 3/3 have been through the ringer of review a bit already and do not specifically require your attention, but in v4 we wound up getting hung up on an ACPI API limitation. This v5 fixes that limitation with its 2/3 patch, with a trivial one line fix, which does require your attention. Patches 1/3 and 3/3 will go through my random.git tree. However, 3/3 actually depends on 2/3 in order to compile without warnings (and be functional at all). Therefore, it would be nice if you would provide an "Acked-by" on it and permit me to /also/ take it through my random.git tree (if it looks like a correct patch to you, of course). This would make the merge logistics a lot easier. Plus it's a small +1/-1 line change. Please have a look and let me know what you think. Thanks, Jason Cc: linux-crypto@vger.kernel.org Cc: linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Alexander Graf Cc: Ard Biesheuvel Cc: Greg Kroah-Hartman Alexander Graf (1): ACPI: allow longer device IDs Jason A. Donenfeld (2): random: add mechanism for VM forks to reinitialize crng virt: vmgenid: introduce driver for reinitializing RNG on VM fork MAINTAINERS | 1 + drivers/char/random.c | 50 +++++++++++----- drivers/virt/Kconfig | 11 ++++ drivers/virt/Makefile | 1 + drivers/virt/vmgenid.c | 100 ++++++++++++++++++++++++++++++++ include/linux/mod_devicetable.h | 2 +- include/linux/random.h | 1 + 7 files changed, 150 insertions(+), 16 deletions(-) create mode 100644 drivers/virt/vmgenid.c -- 2.35.1