Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3403636ybp; Sun, 6 Oct 2019 11:09:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaybSne+KVKwLMa34QmqAFKrN0mqTCsPYQj1mW1kkOKdTukheUpMKvw1Y38B+7rCOV80N8 X-Received: by 2002:a50:9250:: with SMTP id j16mr25891723eda.160.1570385370845; Sun, 06 Oct 2019 11:09:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570385370; cv=none; d=google.com; s=arc-20160816; b=k432wJXKwurT5xd3D82nMFwk6QlTIkZPZlVOCnuhqCyeUi+qNOn/plO3iL0zbQKgSZ uHiNO7CVEKY9rqLxxaVX5TboAh9Cs9zX/yIWtZOQ+ye22+5whjKncooGJoaA5chV15ZU gjJuoqeSAuGmYdUuw3HFbhhrEm6yox6N/5ZIE3THv0rtDnf8angPrt70ybuUYluLRdCK ObFyrxm/LV0uAiP3kEpcO1ZALM91gRFWvNXsArZEpq9RLEsn2ngjwLUzGp0aCDM8eWiJ zxvJtuExlJXEsZ1GgPJXfwOsF1D6dhk9GGgujCpgkzk06Vs/8A9xR0QTn9NPoWm5iyvi 5K2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LYZhJ8z29L9VXaq40W7IaPRpHSPw3yWamQCRA+/ko3U=; b=Nevy+yw9uiAQJKf8bm3ZhLPOzrwH2icdaTOv0qeeY6DYfHLlJloKNl0QfbbHAFtSU7 YMBdH7+Uh3mg3MxBhChkxow/qiMk+Xn8vzJrMSWT4eNaCTpQEeokJkBCx99oqwvWRz+3 MVRNENIVebKhU4n8vFC1c/pZvFwUZbe+3QF1rHIGGLXL7dQRM/jX4ls2lCoI8bCJ8O0s 2s+VGr+4TM1KpUofRCXfxT+yJxUEv1RgHGo8B9w3WfqnJCQRnbLAO9OwGiog6U4gNauU 2Nvsg5wVbYyjxzOQpaOVn6qLTTocOYjRfLxRPO5RzqCblt7as3NgDLtMvySi21ok12FY xWnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bGADQTdQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12si7437601edc.279.2019.10.06.11.09.06; Sun, 06 Oct 2019 11:09:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bGADQTdQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726809AbfJFSHB (ORCPT + 99 others); Sun, 6 Oct 2019 14:07:01 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:39537 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726443AbfJFSHB (ORCPT ); Sun, 6 Oct 2019 14:07:01 -0400 Received: by mail-lj1-f195.google.com with SMTP id y3so11291133ljj.6 for ; Sun, 06 Oct 2019 11:06:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LYZhJ8z29L9VXaq40W7IaPRpHSPw3yWamQCRA+/ko3U=; b=bGADQTdQUdcHqbYbNLqk9QwKozcUBscZ2f20slYeCKfCvmhN38YzMKFvX2ufUc7FXY ODiodrltVBR1zqdLTv38xj3MP/5BMFzRTbjwiz51A8ILCCXUKeHQexCepEAVI85inw7X VnAVOK7Rvj9ezJaN6A43dtjOY05DLDXYKJxuQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LYZhJ8z29L9VXaq40W7IaPRpHSPw3yWamQCRA+/ko3U=; b=Ct/fkEnzpyVmEp/IOX399QyRjhHEa2RI+QjevTMPeqGb1wu+oH93mrfe7dhpD1afx1 hfvHyXqdefMZthGcbGFurlUhRpbK7EmqKaQE0tZ7SmNpB0DJtyj1s80fqZd7IzyxzHr6 c2nsFe6RzllJGuU6GFPHorLOIoF9iKisqcnxnbJ8I6Tfg8tC8MSku51i5B9Yp25GH2Kq 14qZe7aJQ+Z53aklnu0PwrHwB9cCBo5ix/w+LwrVYdnrt0BAJfKAUZWNzKqp4sjcYlkV ezK06Q+hUf8mlegbJTpVwaWojG+XWyTXvgTus2oMM5+5sZLmREdL73JHTgOw3XnijW6i Oh7w== X-Gm-Message-State: APjAAAWc6QWxFsWSuWYgguJ5AoPuznrmf92V3okFIbzqtJS9LOr7xL8E o+3K3wNZ4MCrjMzN8oJw++lRB6h/2YY= X-Received: by 2002:a2e:84d0:: with SMTP id q16mr16057961ljh.106.1570385216821; Sun, 06 Oct 2019 11:06:56 -0700 (PDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id q24sm2422376lfa.94.2019.10.06.11.06.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Oct 2019 11:06:55 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id 7so11281963ljw.7 for ; Sun, 06 Oct 2019 11:06:54 -0700 (PDT) X-Received: by 2002:a2e:9556:: with SMTP id t22mr15616404ljh.97.1570385214720; Sun, 06 Oct 2019 11:06:54 -0700 (PDT) MIME-Version: 1.0 References: <20191006114129.GD24605@amd> <20191006173501.GA31243@amd> In-Reply-To: <20191006173501.GA31243@amd> From: Linus Torvalds Date: Sun, 6 Oct 2019 11:06:38 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: x86/random: Speculation to the rescue To: Pavel Machek Cc: Thomas Gleixner , "Ahmed S. Darwish" , LKML , "Theodore Ts'o" , Nicholas Mc Guire , "the arch/x86 maintainers" , Andy Lutomirski , Kees Cook Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 6, 2019 at 10:35 AM Pavel Machek wrote: > > It will not: boot is now halted because systemd wants some > entropy. Everything is idle and very little interrupts are > happening. We have spinning rust, but it is idle, and thus not > generating any interrupts. Yes, but we have that problem now solved. Except on embedded platforms that have garbage CPU's without even a cycle counter. But those won't have spinning rust anyway. Yes, bad SSD's and MMC disks (that they do have) will generate timing noise too, but in the absense of a cycle counter, that noise won't be much use. Linus