Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1191463rdb; Tue, 30 Jan 2024 10:25:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IH5FjTwnPjiLSUlkitT3QXCRRN8efawv72z3Po/dw7lWcqO/3p0SffE5qKt1KTAAopQeIW8 X-Received: by 2002:a05:6214:240f:b0:68c:5c39:5f15 with SMTP id fv15-20020a056214240f00b0068c5c395f15mr3384701qvb.34.1706639128068; Tue, 30 Jan 2024 10:25:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706639127; cv=pass; d=google.com; s=arc-20160816; b=uu8fzVn6auLuctJKKY6gBq/ydmzaK2WRiHQSGeI4/xBi85gIf6bRFHp5S6cJ8P0r8J Kr/WPoVTrX7KPb0jyU0ygHx4woei6BYsBDfvVSJ+mlp6eQGaueGU3a1YhIQH1Bt7UnrC 6GE3K1Ry5SYhwqJxyEhPhOxWRN0U59rRyE4Wk2H1G5KldIqalkQyO1emcLaRnE/da7ZD e7CiUQHDzvVr6JV2Q7PLtRTXA/k4TTkRT1wIPXAPI35yS4rKtuOGBvjKxSZAJK88ZXwq airYPUQN09jfSHwKem/B6e+wHDH5QgJ8FQlqZ3lKIsPBqcpxVo+tGDuX1XPbZzlVP2gT tsJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=YUmfBWFQ6tCEpoMRctNdicF/PTXXo5NEZEPkn6VcDTI=; fh=V5O/nC3OqhOIE9Ozhrzv8yMUNG6rV2qtRj5zbBmDKXs=; b=njvlWRz4AcgGy3L0kfoj/12IO+YTS57490ZTNe9TFfIMuGGDU9t6zPu2E4KTWPt/+W kBI7XmZs0wpyFhSGuzV4gf1l+tTstyTixtvnKe9aS42V6IC7fDC60X1wWYm2dmBeCfq1 X/89246qkp2xSA/V2/x1TM6pdBLxF/RnQVcchobx1QBUqsx3h3+O0ZwmB6E9vFTcWU2U bDgg9D70BjzdsgPe4UCIbcwlDkTib0+Zy0ziQsHinrSXv+xXucpuerDAja7cN5EahtjY NN+U2ziGVopE6knMEY9swb9OlfpJLpdKMhK1FzlnPN/OQPII+6iGNJyqHYNQ+dJUBYGY ngDw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=gcywChRk; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-45103-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45103-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q10-20020ad45caa000000b0067fae204a04si10591830qvh.39.2024.01.30.10.25.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 10:25:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45103-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=gcywChRk; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-45103-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45103-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 2D93E1C24406 for ; Tue, 30 Jan 2024 18:25:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3EBD2157050; Tue, 30 Jan 2024 18:24:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="gcywChRk" 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 2F8ED1586D3 for ; Tue, 30 Jan 2024 18:24:46 +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=1706639087; cv=none; b=ABaxoTphg7uBlhNymjbluYwABv+mXyZ9R/4UACHt+JlzLIq4ngvO6yYZ7jV73GE8Av0usrrU0V2WG+ZgH5r8Vw+wBdoBuP+U2RzkX3VExCNpbee/V04oVK6ubvBoW2zrFMlM9/LWGUKXOFtsOtJ50Gw2N6mhtAFp161cPiN/rQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706639087; c=relaxed/simple; bh=YUmfBWFQ6tCEpoMRctNdicF/PTXXo5NEZEPkn6VcDTI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=UvUgU7HXYgHEWthDxzRYD3Xra6yoU++rHkh1vmzi2rHJLhyrLnStfVwe9DH9gtnLTygY/NE/wNu+8BjdS09GfdwfALo9JsereCaxKmBGq5KA45u7MGND8iKUMg3F+0iNiwy5ix+tk2DIq6ky2McK6RR0Ih0vYVLJsgkO8+5Qan4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b=gcywChRk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80A5BC43390 for ; Tue, 30 Jan 2024 18:24:46 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="gcywChRk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1706639082; 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: in-reply-to:in-reply-to:references:references; bh=YUmfBWFQ6tCEpoMRctNdicF/PTXXo5NEZEPkn6VcDTI=; b=gcywChRk9C9EfkvBCWSeF9jKKanK4DMvWfgFTKboEjcAhVLkjtwZnoG8yNxt7je8xrkq1s LgXdgaNglLsN1Daf24pb0dnL7c8WeQIZDXlcZ9RrO6BtNzJXaAw1k0jkB74CkrR9sIOwoD S3rOlzguUuWB46PzMh3oFuTI4qtxE98= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id e72d9865 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 30 Jan 2024 18:24:42 +0000 (UTC) Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-6029e069e08so55387927b3.0 for ; Tue, 30 Jan 2024 10:24:41 -0800 (PST) X-Gm-Message-State: AOJu0YzdH8WLvypa3Z4tO9nwrEXifY8V92zakVF2XYk40kEVa4lR+xQX PTspnmSoNmaPh1XI3/wKaGKzrKEd405Tlv2ZWcftbYBObD2DIOQJrLxOBP9F+XM/pigLRe8UeZp yBchW/dWYZVKzDkSegMMuoHvmAt0= X-Received: by 2002:a81:c74d:0:b0:5ff:4e3b:dc89 with SMTP id i13-20020a81c74d000000b005ff4e3bdc89mr6687543ywl.11.1706639080294; Tue, 30 Jan 2024 10:24:40 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240130083007.1876787-1-kirill.shutemov@linux.intel.com> <20240130083007.1876787-2-kirill.shutemov@linux.intel.com> <88a72370-e300-4bbc-8077-acd1cc831fe7@intel.com> In-Reply-To: From: "Jason A. Donenfeld" Date: Tue, 30 Jan 2024 19:24:29 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] x86/random: Issue a warning if RDRAND or RDSEED fails To: =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= Cc: Dave Hansen , "Reshetova, Elena" , "Kirill A. Shutemov" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , "x86@kernel.org" , "Theodore Ts'o" , Kuppuswamy Sathyanarayanan , "Nakajima, Jun" , Tom Lendacky , "Kalra, Ashish" , Sean Christopherson , "linux-coco@lists.linux.dev" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jan 30, 2024 at 7:06=E2=80=AFPM Daniel P. Berrang=C3=A9 wrote: > So I'm not convinced we can blindly wave away RDRAND failures as > guaranteed to mean broken hardware. Indeed, and now I'm further disturbed by the @intel.com people on the thread making these claims that are demonstratively false.