Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3249839rwb; Sun, 25 Sep 2022 03:10:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7l+tyK50Amnq2ZTKggujQsZakQH1GxKFc0M3XjAmILF20uujR+gwJP8eBZvYUTAeTB7ksF X-Received: by 2002:a62:1a8d:0:b0:544:1309:19f3 with SMTP id a135-20020a621a8d000000b00544130919f3mr18001376pfa.37.1664100610053; Sun, 25 Sep 2022 03:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664100610; cv=none; d=google.com; s=arc-20160816; b=cU5Ztl+vlg8hWg7K0nuHwFCw2j4JYTayfIupEL+N8i8H5INcCAUFLw9Ddu/Jm9Bud6 GPm4L63yFuoNQiR47GsHMY51KXZSL7eorCx5Rwkb+7MxnMtzS3c3xvr4sMLZozjCTd+9 PtWWSAbgYTFWwRNNj91yfWU+/m8pMc/A9AZMncNbTdiX0bcDfusOiGN8dVQVgW9i2n8U kKhqFeZxnA9HrU5Lg9xCubPfahly5bbKudnlljTWva7ix4HHw6/OKiG2tN7w0gWzzAG7 JPZjaYtmjKnxwmtaai9iYkjqyrVSRFPdS/kapm7PzHqME5V2NcanOW9iiMPDblky8NtQ 8cVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NQwKz8Q4mOrZejIu/u6IGYD9+wqNWFOpyS9jS1HdV5w=; b=QW0agUF2D8lbVoymHRKwNjvevsk8rUY3/zyQ1W9Kwb1D+dmlHaKrhTvPL+PtVFXTH/ qtRV2ErADUcCLHmJWntcCJDLyfuoMkji22OvLXk4Yew96r7YGAHv8m70ZswhEsITGzoQ mvy3GSHn3uMjI3PaMT7OuGSfPPFdUvIX4Uq1sObaDf6PWDtAnn90sOSVHy4zDPwRxFzd 2cUWual0jKCV+MyTOFh24f9PILFWXfCN/GydK5oulmd9fU2NHpBKh7XQf51cGT8FMj+l gygHmTNmiN9v7K26f9qrFdnSKSuhMxeB7bIUd0pIxfb4iCrlPnQKm0KT0jeqEHBFKeGu xkDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=Fpm8nP0f; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d24-20020a17090ac25800b00202c5a9bf44si9196443pjx.174.2022.09.25.03.09.43; Sun, 25 Sep 2022 03:10:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@zx2c4.com header.s=20210105 header.b=Fpm8nP0f; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229829AbiIYKAj (ORCPT + 99 others); Sun, 25 Sep 2022 06:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229763AbiIYKAi (ORCPT ); Sun, 25 Sep 2022 06:00:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 641CC25C54; Sun, 25 Sep 2022 03:00:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BA64E60DFB; Sun, 25 Sep 2022 10:00:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E0E5C433C1; Sun, 25 Sep 2022 10:00:34 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="Fpm8nP0f" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1664100032; 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: in-reply-to:in-reply-to:references:references; bh=NQwKz8Q4mOrZejIu/u6IGYD9+wqNWFOpyS9jS1HdV5w=; b=Fpm8nP0fyUK9BqpO+w/wSq9lNPRP1OEBEn7zfIkIrIW+ItAzHxynSI7JLh3p2nrqodD5wP 1nza4xqcPctVHmE6Ev4cfubkOQvQkWxlCWHAVOwAXfpKEVPUDhug1OgCuDvqGapHNz6LfO LJtA7X38ov4EWDQN+BltuIaXeIV/4gE= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 5f6a0196 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 25 Sep 2022 10:00:32 +0000 (UTC) Date: Sun, 25 Sep 2022 12:00:29 +0200 From: "Jason A. Donenfeld" To: "Maciej W. Rozycki" Cc: LKML , Linux Crypto Mailing List , Thomas Gleixner , Arnd Bergmann , Thomas Bogendoerfer Subject: Re: [PATCH v6 09/17] mips: use fallback for random_get_entropy() instead of just c0 random Message-ID: References: <20220423212623.1957011-1-Jason@zx2c4.com> <20220423212623.1957011-10-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,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-crypto@vger.kernel.org Hey Maciej, On Fri, Jun 24, 2022 at 02:25:17PM +0100, Maciej W. Rozycki wrote: > Hi Jason, > > > > There is lots of optimization potential on a few fronts we've identified > > > in this thread. Let's save these for a follow-up. I'd rather this > > > initial one be at least somewhat simple, so that as it gets optimized, > > > it'll be easy to handle regressions. Also, it probably makes sense for > > > you to send the patches for these, since you have both the hardware > > > chops and the hardware itself to assess these ideas. I am interested in > > > the topic though, so please do CC me. > > > > Everything has been upstream for a little while now, which means > > development of this can move back to the proper MIPS tree like normal. > > Did you want to submit some optimizations? Would be happy to look at > > whatever you have in mind. > > Thank you for the heads-up! > > Unfortunately I'm a little stuck at the moment, especially as one of my > main MIPS machines (a 5Kc Malta system) died mid-May while operating. It > seems to be a faulty CPU core card and the base board may be fine, though > I cannot know for sure as I only have one each and I don't have a logic > analyser or at least a JTAG probe to peek at the system and see what's > going on inside. > > If anyone knows a source of a replacement Malta, preferably with a 5Kc > CoreLV CPU module or another 64-bit hard core card (a number of different > ones have been made), then I'll appreciate if you let me know. I feel > rather depressed knowing that many if not most hit the scrapper already > while they could still find a good use. Somehow it is easier to get way > more obsolete hardware from 1980/90s just because it was general purpose > rather than niche. > > Otherwise I'll try to get back to this stuff later in the year with > whatever I have that still runs, but don't hold your breath. Sorry! > > Maciej Just thought I'd poke you about this, on the off chance that you found some new hardware and feel like tinkering around with cycle counters again. Some old MIPS platforms were recently dropped, too, which makes me wonder whether there's some room for more simplification here. Jason