Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp74698lqt; Thu, 18 Apr 2024 08:47:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUazbdIXaiOZgDYTF5lHyoCgaUeF4kjvuZgh6HR+UaEibvXZG2nMUvFgf86YyVbA/xk29Ipt5Hsfo35zAWfh8Hs+4qGcHiazngmdvIDsg== X-Google-Smtp-Source: AGHT+IGZ7yvz/oC4UqyA62Yid9PlAoHAt5H72g/yUA9l1dpSbzdtJNuB9o6+CX+4s6aeV3JZ2iSF X-Received: by 2002:a05:6122:2318:b0:4da:c69c:f5b2 with SMTP id bq24-20020a056122231800b004dac69cf5b2mr3565925vkb.2.1713455271405; Thu, 18 Apr 2024 08:47:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713455271; cv=pass; d=google.com; s=arc-20160816; b=Icy2p+WbCmmaI27AIRBtR0XJRAyQYoiPeoxc6P1SNdylwjiGFqK4QhjolGzg/6nv6W edGSGRlDo5dHF1ErLK+igwh7HUHcsFPwuHUsZVPM2iNQ20OpJ3tD9eoCf9aDDynjwRZb a+v8KUWU2ySboIgT4DZyBcJvy90vXVkopcVcMBOQ6olvqSoJI8P5iFtmaMYCme73/OAc tHTM97FCyQxeZTU87dMwwWR8We/r32rfITkFyWyfYIAZ5wTCkhs1rbipKPsyS1UFne6M YLSZ69lbesj9QTltyT7TVXIRtOJphmvXo41mEo7YTTlSJiFhZtt1ZNRi4WsbLOXC5sIr I9gw== 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=mPUsA8w471gFFeYcvRttAa3beeKvBN+EzgReXd/Et7A=; fh=4zc7hyAzP/VNJ9BSjHYvxdRoSuzM8uJ+bdbpBU/OFIo=; b=JB3Z7GrSaRcRhqVZGHkFHpvnC8/vAnmrqd6O9FPPv6SewCYyzLuqpY5ELQKa/pJdgc DBpCmm5gD0dDZ2MrpAgcJ/b6SOsboqPCChSG4V1oouAwIQ/u/lRatxmV4eCXYE0c2Yv7 icBJxg3mvFPMVX6QOP/FULAILzOhDu9+J3Qu/Nm0DW1TWm2RiZ2r4qczELlN/g+RenmF 3zWEMR1RhoYZ3doruDH9Nc6Hg8eOqFwJ8PU0apmy2/mGDoF5hDH9Kf/EsAikqMQgxl9j hmFre74fIo/7PpMVPhGPP7igZpiFls5aifZodvM1g5j1oyln8LJsnEZVM8WJtYwLE0Sj 1tiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=YuOnytQw; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-150420-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150420-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id by15-20020a056102504f00b0047a329b258asi390825vsb.522.2024.04.18.08.47.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 08:47:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150420-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=@zx2c4.com header.s=20210105 header.b=YuOnytQw; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-150420-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150420-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 88F401C20ABD for ; Thu, 18 Apr 2024 15:47:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A7FD616F833; Thu, 18 Apr 2024 15:47:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="YuOnytQw" 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 828CD16E89E for ; Thu, 18 Apr 2024 15:47:31 +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=1713455251; cv=none; b=rjJE6hhAdrwnUKnfOD5+7sMy6zK9nhyYJ7ojA16SBI/Vkkh0wJyBo3YoUoLsr1AmQ0PpWOT9hiG0+uU7UAinVtil7qTfTjI/4IYl/7VoECFIBdzhG/DcxlgDiSBPE3dcRzdyp2olBOUoXPXZWO1TfbyNxQNyVud9UnDy4K4DrE8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713455251; c=relaxed/simple; bh=7FiDRpIVz9OT1TGiaNEnxUKLX0yRqoUywovgNql2V/8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qZV+mg8YoFOl+5eNG9p+1pq2NVp3FechgfMiQk3x2EKAnc2OCtNvAy+0WwI4VSuWieDjicb9zpaoRtbGqxZQJetUm8TtIQ8/yazoqYC8+amUOIdt9dK8xPWiRGTIH/GAaJXo/Y4Qtc+Pk1N6qaPhY+W2ZZbVeOIb6J7kLYzkuPM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b=YuOnytQw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B01F9C113CC; Thu, 18 Apr 2024 15:47:30 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="YuOnytQw" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1713455248; 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=mPUsA8w471gFFeYcvRttAa3beeKvBN+EzgReXd/Et7A=; b=YuOnytQwOt0SKs0Cm0lQTCZkKp1mSmKGcvQkl/pnFWIlhDAMKOWtICfzkIjSN/la464A2J 6a36qfmjajf/BQOaQ3nm0HtFXQJgVjaAJz4YkqFmsIYj8HU1EJj91JNB0tbMsNvXKV/hiM rKG4X2dvClU5O5mkesiAO5Fzf0BxPQE= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 00b403ad (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 18 Apr 2024 15:47:27 +0000 (UTC) From: "Jason A. Donenfeld" To: Linus Torvalds Cc: linux-kernel@vger.kernel.org Subject: [GIT PULL] random number generator fixes for 6.9-rc5 Date: Thu, 18 Apr 2024 17:47:17 +0200 Message-ID: <20240418154717.427109-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 Linus, This pull has two small fixes: - The input subsystem contributes entropy in some places where a spinlock is held, but the entropy accounting code only handled callers being in an interrupt or non-atomic process context, but not atomic process context. We fix this by removing an optimization and just calling queue_work() unconditionally. - Greg accidently sent up a patch not intended for his tree and that had been nack'd, so that's now reverted. Please pull. Thanks, Jason The following changes since commit 4cece764965020c22cff7665b18a012006359095: Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git tags/random-6.9-rc5-for-linus for you to fetch changes up to 3aadf100f93d80815685493d60cd8cab206403df: Revert "vmgenid: emit uevent when VMGENID updates" (2024-04-18 14:47:23 +0200) ---------------------------------------------------------------- Random number generator fixes for Linux 6.9-rc5. ---------------------------------------------------------------- Jason A. Donenfeld (2): random: handle creditable entropy from atomic process context Revert "vmgenid: emit uevent when VMGENID updates" drivers/char/random.c | 10 +++++----- drivers/virt/vmgenid.c | 2 -- 2 files changed, 5 insertions(+), 7 deletions(-)