Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1822072imw; Tue, 5 Jul 2022 16:24:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tK7FkHlKW9N3oyF3rBJmWfIbTpJ6W282b23ujfypHQfa5F0Awv3YRMnIdDp49quuWYVgf5 X-Received: by 2002:a17:902:ce10:b0:16b:d4a7:2097 with SMTP id k16-20020a170902ce1000b0016bd4a72097mr13581235plg.116.1657063483039; Tue, 05 Jul 2022 16:24:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657063483; cv=none; d=google.com; s=arc-20160816; b=jGuDxnujl4c8L9cqjaFnmN+gyPtwjkMTvoMHKLC+a6BuMqQxMZe49uL19eFyPs329h Tj5m2ieaErULa97sDAdZeFNp0srD+eEOTELwaodeMFEhuEPyCJjNtopKJxvz4wbSKkfN pi/eYqlydWSxiPImisB4rsn1H8d09FPxXI/rGa2kKf3MbhBB3rxCqoqQgDsAf/O1YoXR GyQxsC/zGLZmxsOGPSWq2xCB9mH6C3uWn/eDCU4xAQAlBHrWfF+hf6fJU5bXEqjU+oj6 uWBHsaylzLZgoMU6cjbBrAnYVVzGbq+XjrEE4PxJEfB0yTZ0nz9XNOwBgoUF3jmoJrxb n1Lw== 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:references:in-reply-to:user-agent:subject:cc:to:from :date:dkim-signature:dkim-filter; bh=Y98dqt5En+kS/P/7IMzby9wcUq/7fVTjOsj4m2LkPGI=; b=eZlqZfsxztbcfdB40FQ0YxQ2zKUxkjsPoQNScFWhb5Lkop6n1XvXP5QPOIampEPPKM jrfStsBVW81LbLsQVEBsOuKfuWU0JyLF6kaR+O+plpwEpx246OPK5ehG6n38aGfx2bqh 0ylpwKzSuhWJAomnQFBCO+gPokGVuZOX2D3kJ/rgWcYXtbSz5k6R1k8Wei5nAtS5Iqqq ITYgVWtDw7pMvixhg0ZDRUpl+Gp91yaLvvd5QKtLN5zalvFNan35q5LhKg7w3rRVfFOt MOaRxnklK4JsPZC2D7UDMh6Y+qFTRhASap2ARzXYyL3SLuaZnQTiwYdyq59y7GByEQrz JERg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2022060401 header.b=KoHiZKsE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id np4-20020a17090b4c4400b001ef8fcfd821si7937204pjb.123.2022.07.05.16.24.31; Tue, 05 Jul 2022 16:24:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@zytor.com header.s=2022060401 header.b=KoHiZKsE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229972AbiGEXM3 (ORCPT + 99 others); Tue, 5 Jul 2022 19:12:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232096AbiGEXM1 (ORCPT ); Tue, 5 Jul 2022 19:12:27 -0400 Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C518654D; Tue, 5 Jul 2022 16:12:27 -0700 (PDT) Received: from [127.0.0.1] ([73.223.250.219]) (authenticated bits=0) by mail.zytor.com (8.17.1/8.15.2) with ESMTPSA id 265NBnGE1003711 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 5 Jul 2022 16:11:50 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 265NBnGE1003711 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2022060401; t=1657062712; bh=Y98dqt5En+kS/P/7IMzby9wcUq/7fVTjOsj4m2LkPGI=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=KoHiZKsEicJF3HWW8BYUbNDtijdyk2YC30lpGok5A71WKH5jN4kSF+1k/ILd0x9By qt8xe3MS+M3LxdPaft1n7lcyMixtVdJ5SQYbrobuHAXvXZD91dHJDhsiyrj0xX6oEB UzBMdQKEXifwQOtQj+6um92/xSJJMJAJk/eweAx0I6RYNd0HPoR17l0lZTdhk7AUif NSyyZN5L500jyETF72C6IrByv8jv42HDJSrxzOzuSo6byDKD6nExbO6sf5LLBoXwBl hJl0pswjsA5H80PdAU7gimYJT6uwlh8+RWtIOHDI250cjEOA3EOFzWqjhIcySx1ZiD mZSs9tkVChZvA== Date: Tue, 05 Jul 2022 16:11:45 -0700 From: "H. Peter Anvin" To: Borislav Petkov CC: "Jason A. Donenfeld" , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, Catalin Marinas , Will Deacon , Michael Ellerman , Heiko Carstens , Alexander Gordeev , Thomas Gleixner , Greg Kroah-Hartman , Arnd Bergmann Subject: Re: [PATCH] random: remove CONFIG_ARCH_RANDOM and "nordrand" User-Agent: K-9 Mail for Android In-Reply-To: References: <20220705190121.293703-1-Jason@zx2c4.com> <11C903CC-22A7-48EE-AD63-E71CC8D28B88@zytor.com> Message-ID: <805B66CB-D847-4547-B6EE-C4FB72B75765@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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-kernel@vger.kernel.org On July 5, 2022 3:00:04 PM PDT, Borislav Petkov wrote: >On Tue, Jul 05, 2022 at 02:50:34PM -0700, H=2E Peter Anvin wrote: >> It's just math=2E The only variable is your confidence level, i=2Ee=2E = at >> what level do you decide that the likelihood of pure chance is way >> smaller than the likelihood of hardware failure=2E > >That might be but the likelyhood of certain BIOSes dropping the ball >after resume is 100%: > >7879fc4bdc75 ("x86/rdrand: Sanity-check RDRAND output") > What I'm wondering is if we shouldn't be simply instrument *every* invocat= ion, and set the trust to zero if we ever trip it=2E