Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3349571imw; Mon, 18 Jul 2022 06:38:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1txyLtTnPAAyotWUx3yG2aJsdc8Nbp+NIceJvrvikRc+AwX3Pms99ZzDPcQlZzpOgncH2uU X-Received: by 2002:a17:907:3f29:b0:72b:91df:2c4b with SMTP id hq41-20020a1709073f2900b0072b91df2c4bmr25624083ejc.206.1658151492970; Mon, 18 Jul 2022 06:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658151492; cv=none; d=google.com; s=arc-20160816; b=sJj2skyi+qLNCddoODSUQwBZpirUYgLgWQsVledxA4hM+88t4FIMC1BH2zuZx37Zgx /TYG2PabGSnq4z5NZnEqdTBd4QrBTPiFRTNvTZgSfIjx2gSktxa09VGHbsAur3Ks5S4t WrLOAhUq4RSeUpnzwr+Lw5TnJVlv01leL/jhwjesuBeBtpEuu/Pr53lEcFSD2bj7Ogpa I56jW5nZOaY34fY986XmDsQETBYZRQYyJ2HshSHAM1tVhOB0/V0HMvWbzdzTq+iePXOL IiDrSl8kymQ4ue7i/mEvswevwthuOa3vPHqjYeK0JnLgb8bRDd33cpQZ3pKoeDS3EHqx jkhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=SgPxyBJcHGr81rN/PCtKiWXwYtSKRO2w9sb5M0yS/pU=; b=JC9lfbKR3mzzrA0TNt/KC0inq130M7DqkMg2kgQQGXFavAAVxHVAB2V38kMBCwtwcE 44bTcOhujFk9z3EwgP5GF9A6Q8sV5bJEEXCE33EA/IV9qUCLI7n38FUChYh3VbQdil2r suv9XhkRYp7OGnh89a/yYSCf4QBbfSGJtLK+6T47AYRDtIizVfrGViX/L4GYg4f5AcSH YMp0AqHkHkoqO2GEntWeU7EvJjqJFSUlP4722Q4hCuRejy4fQ+joSMDbabkIsg1ocsv1 M0qByApbvIQ+zR9+xHAp9T8CI0iJxZLMTZUWAoTfpm+s+vB35K4pU8BMOCBM7KBVKGlg j42A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=rYUSYTCm; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb37-20020a1709071ca500b00715849159c7si14475033ejc.56.2022.07.18.06.37.48; Mon, 18 Jul 2022 06:38:12 -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=@ellerman.id.au header.s=201909 header.b=rYUSYTCm; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234238AbiGRMx5 (ORCPT + 99 others); Mon, 18 Jul 2022 08:53:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234564AbiGRMxz (ORCPT ); Mon, 18 Jul 2022 08:53:55 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD3012C2; Mon, 18 Jul 2022 05:53:50 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4LmhjM6Tyvz4xL4; Mon, 18 Jul 2022 22:53:43 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1658148826; bh=SgPxyBJcHGr81rN/PCtKiWXwYtSKRO2w9sb5M0yS/pU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=rYUSYTCmldp3zN6k/ysHQC4QOd4JlL88muNz4v08jJK1s2WGTd3Mzi3YvFcU0K1vn W9DjCRjYAUlAqCOsgnj9C2L03vYDPzdtzucwIqSf9LlRFHwnOxDjFTzYnRJ7sF7Qh7 s7WWq+PLlyqwqYFgoflfRl2VvnXJyrMtwl/lsuIfyzK3l1gMB3Crb5m0jy6Mxv5+Dh aGLrf18lWzXpBPZggcYl8BALR0j3fUTopMtowWx4R5DdSKPEOSU5EIjA0QWTpE5Yrx TOB8RIY3sLW94KzeZkoH+eaXTCtIMN8zUbNlcSlD+ryvYxI0pWTlI+XB/pQMZmjzg0 n4k9AuAcZSRYQ== From: Michael Ellerman To: "Jason A. Donenfeld" , Borislav Petkov , "H. Peter Anvin" , 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 , Heiko Carstens , Alexander Gordeev , Thomas Gleixner , Greg Kroah-Hartman , Arnd Bergmann , Borislav Petkov Cc: "Jason A. Donenfeld" Subject: Re: [PATCH v5] random: remove CONFIG_ARCH_RANDOM In-Reply-To: <20220708004032.733426-1-Jason@zx2c4.com> References: <20220706143521.459565-1-Jason@zx2c4.com> <20220708004032.733426-1-Jason@zx2c4.com> Date: Mon, 18 Jul 2022 22:53:38 +1000 Message-ID: <877d4aeg4t.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain 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 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 "Jason A. Donenfeld" writes: > When RDRAND was introduced, there was much discussion on whether it > should be trusted and how the kernel should handle that. Initially, two > mechanisms cropped up, CONFIG_ARCH_RANDOM, a compile time switch, and > "nordrand", a boot-time switch. ... > > arch/arm/include/asm/archrandom.h | 2 ++ > arch/arm64/Kconfig | 8 ------ > arch/arm64/include/asm/archrandom.h | 10 -------- > arch/arm64/kernel/cpufeature.c | 2 -- > arch/powerpc/Kconfig | 3 --- > arch/powerpc/include/asm/archrandom.h | 3 --- > arch/powerpc/include/asm/machdep.h | 2 -- > arch/powerpc/platforms/microwatt/Kconfig | 1 - > arch/powerpc/platforms/powernv/Kconfig | 1 - > arch/powerpc/platforms/pseries/Kconfig | 1 - Acked-by: Michael Ellerman (powerpc) cheers