From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 106ADC43334 for ; Tue, 5 Jul 2022 22:00:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231782AbiGEWAQ (ORCPT ); Tue, 5 Jul 2022 18:00:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbiGEWAP (ORCPT ); Tue, 5 Jul 2022 18:00:15 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 015531900E; Tue, 5 Jul 2022 15:00:13 -0700 (PDT) Received: from zn.tnic (p200300ea970ff625329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:970f:f625:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 7D98D1EC0513; Wed, 6 Jul 2022 00:00:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1657058408; 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:in-reply-to:in-reply-to: references:references; bh=lOz+oyOsjcEjoVAd2V3Hhq+u+4OkEJ2jkFkxcvzXIp4=; b=rFDWw5O9FPqZ2ZGYqsf0oadvjBlURlepN3Il5jgiRH6uCMr2vSxWAKsVvY2JWqML4mf/sj K/RRPabIwevvNUNRlwHJPHF9g/MwhM4B9ks25BK+Z70zV3IxaYGx4hwS5Z15WYzM4SbxTQ ksG6jTJzlhCJibf0zj16UVr1u6l+cOo= Date: Wed, 6 Jul 2022 00:00:04 +0200 From: Borislav Petkov To: "H. Peter Anvin" 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" Message-ID: References: <20220705190121.293703-1-Jason@zx2c4.com> <11C903CC-22A7-48EE-AD63-E71CC8D28B88@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <11C903CC-22A7-48EE-AD63-E71CC8D28B88@zytor.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 05, 2022 at 02:50:34PM -0700, H. Peter Anvin wrote: > It's just math. The only variable is your confidence level, i.e. at > what level do you decide that the likelihood of pure chance is way > smaller than the likelihood of hardware failure. That might be but the likelyhood of certain BIOSes dropping the ball after resume is 100%: 7879fc4bdc75 ("x86/rdrand: Sanity-check RDRAND output") -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2FE74C433EF for ; Tue, 5 Jul 2022 22:00:55 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4LcxSj4hptz3c3W for ; Wed, 6 Jul 2022 08:00:53 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=alien8.de header.i=@alien8.de header.a=rsa-sha256 header.s=dkim header.b=rFDWw5O9; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=alien8.de (client-ip=5.9.137.197; helo=mail.skyhub.de; envelope-from=bp@alien8.de; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=alien8.de header.i=@alien8.de header.a=rsa-sha256 header.s=dkim header.b=rFDWw5O9; dkim-atps=neutral Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4LcxS04zRTz2xf8 for ; Wed, 6 Jul 2022 08:00:16 +1000 (AEST) Received: from zn.tnic (p200300ea970ff625329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:970f:f625:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 7D98D1EC0513; Wed, 6 Jul 2022 00:00:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1657058408; 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:in-reply-to:in-reply-to: references:references; bh=lOz+oyOsjcEjoVAd2V3Hhq+u+4OkEJ2jkFkxcvzXIp4=; b=rFDWw5O9FPqZ2ZGYqsf0oadvjBlURlepN3Il5jgiRH6uCMr2vSxWAKsVvY2JWqML4mf/sj K/RRPabIwevvNUNRlwHJPHF9g/MwhM4B9ks25BK+Z70zV3IxaYGx4hwS5Z15WYzM4SbxTQ ksG6jTJzlhCJibf0zj16UVr1u6l+cOo= Date: Wed, 6 Jul 2022 00:00:04 +0200 From: Borislav Petkov To: "H. Peter Anvin" Subject: Re: [PATCH] random: remove CONFIG_ARCH_RANDOM and "nordrand" Message-ID: References: <20220705190121.293703-1-Jason@zx2c4.com> <11C903CC-22A7-48EE-AD63-E71CC8D28B88@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <11C903CC-22A7-48EE-AD63-E71CC8D28B88@zytor.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-s390@vger.kernel.org, "Jason A. Donenfeld" , Arnd Bergmann , Will Deacon , Greg Kroah-Hartman , Catalin Marinas , Heiko Carstens , x86@kernel.org, linux-kernel@vger.kernel.org, Alexander Gordeev , linuxppc-dev@lists.ozlabs.org, Thomas Gleixner , linux-arm-kernel@lists.infradead.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, Jul 05, 2022 at 02:50:34PM -0700, H. Peter Anvin wrote: > It's just math. The only variable is your confidence level, i.e. at > what level do you decide that the likelihood of pure chance is way > smaller than the likelihood of hardware failure. That might be but the likelyhood of certain BIOSes dropping the ball after resume is 100%: 7879fc4bdc75 ("x86/rdrand: Sanity-check RDRAND output") -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A267DC433EF for ; Tue, 5 Jul 2022 22:01:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6H07u6cVfK/wTUMsCXgOiPyg0dTjNphcNYGeS42RQMY=; b=AP5IknPwlY4rpF xrVcCLRtju09Q7w4AOsPm1x7/X7rbJhKoVtcX9WxHmvoLpUUcEUD/cSCg5jQqggk8DUdTGRFDH2yZ TtKD8AyBpihXXaAIp9J1/p1T21rLl4dg2smR2guD8buHhZ19F/FHioaoEb8uTE9hFFipLK7P2pkq4 l8PoFY1rj1JWW/fK1VOdJkqdL9+6ak3SvA84ZkI3dG2Rg0qMDSuoHInE2MrfuePH1CwXfE81jGP1D +2f+afdsSxQObsa91JckHFLNEyVYGTbz/d+QbN8hAMPRjpFSviZv5WTh0ttwIthW9CzhJYY0JOfAG htDp89cLWs45CpLzu4xA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8qao-003359-VM; Tue, 05 Jul 2022 22:00:27 +0000 Received: from mail.skyhub.de ([5.9.137.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8qak-003330-My for linux-arm-kernel@lists.infradead.org; Tue, 05 Jul 2022 22:00:24 +0000 Received: from zn.tnic (p200300ea970ff625329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:970f:f625:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 7D98D1EC0513; Wed, 6 Jul 2022 00:00:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1657058408; 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:in-reply-to:in-reply-to: references:references; bh=lOz+oyOsjcEjoVAd2V3Hhq+u+4OkEJ2jkFkxcvzXIp4=; b=rFDWw5O9FPqZ2ZGYqsf0oadvjBlURlepN3Il5jgiRH6uCMr2vSxWAKsVvY2JWqML4mf/sj K/RRPabIwevvNUNRlwHJPHF9g/MwhM4B9ks25BK+Z70zV3IxaYGx4hwS5Z15WYzM4SbxTQ ksG6jTJzlhCJibf0zj16UVr1u6l+cOo= Date: Wed, 6 Jul 2022 00:00:04 +0200 From: Borislav Petkov To: "H. Peter Anvin" 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" Message-ID: References: <20220705190121.293703-1-Jason@zx2c4.com> <11C903CC-22A7-48EE-AD63-E71CC8D28B88@zytor.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <11C903CC-22A7-48EE-AD63-E71CC8D28B88@zytor.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220705_150022_916177_592AD5C1 X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jul 05, 2022 at 02:50:34PM -0700, H. Peter Anvin wrote: > It's just math. The only variable is your confidence level, i.e. at > what level do you decide that the likelihood of pure chance is way > smaller than the likelihood of hardware failure. That might be but the likelyhood of certain BIOSes dropping the ball after resume is 100%: 7879fc4bdc75 ("x86/rdrand: Sanity-check RDRAND output") -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel