Received: by 10.192.165.148 with SMTP id m20csp4821669imm; Tue, 24 Apr 2018 08:56:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+yuVQpWKWn/lv03j1YuFH3vb9lDlLnRinWhXu1o9moEvkoxMUMtWFG+VbR7WXlZq0a6+mV X-Received: by 10.98.178.4 with SMTP id x4mr23574944pfe.21.1524585395637; Tue, 24 Apr 2018 08:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524585395; cv=none; d=google.com; s=arc-20160816; b=g3La/+zszVIJbSFbK4iiUujianJ+Vkb1UCH64+ls7MrcfbdAMewLlPzbHpJ+Im3MC2 IkqGfLqrsDCzzXVEHeDdT+ihXJrBte7FjJsfyQUNXeDtDkYWCbtLwY16ic93VddEamYY 4CMQ5oPrlINS5OHnLZ8YF6JyFfDWqXIrll9+fhP69ZrXjwCkospyvyrL7Ojr8uxmqzeO r45xwdpEjqMLBxoxC1/WvnCoCvF0x5gGBg5+4Diy9KnkRfHlu0Ag27ZTBw0eE/yKcZlz ZTyqjTnNI1XP5g6u06JDWL0UaaCNc7Z1FJIOqCaWXu5O1c9azZowGO/xHUTG1a31APBi JZvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=fN/9r4Yj0tYoyLDP/AgsOE6iUTIZi85Xu0zOPGCS2i4=; b=DvdeuIE/AK8fYMmqngGJDjs2VpNVdQt0Ln/hIXngJZ38KR9JZinkoHwIxfgezzwu+9 g6Fgk5DpDWAwxgnlU2jzF8h9SZQqsMey5SFMMRW60fq9gVFAYIY2Uv3Ood917te+rBJu hyOIZhg0Omz1lDlKPDtF0FV5M2Gr+qLmmB0J9rFgo69yVU3JCW/yg+BJ+mmwqLtUhdKm BB5xLsOvbkFoSPQc1EChiUHrXfX5BxV2Y8EnwKQQ/ZGQw3zPZ3VxbnO5PP4glNyJ9I5M i49/4geYxKpwPuqHRqOWUzrbrXepkzbqViyQi9YSMictsLyZu+d8PKoEVHd4TtpSABdi bldg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=EqGn9Zr2; 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 39-v6si14303827plc.515.2018.04.24.08.56.21; Tue, 24 Apr 2018 08:56:35 -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=fail header.i=@thunk.org header.s=ef5046eb header.b=EqGn9Zr2; 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 S1751389AbeDXPzW (ORCPT + 99 others); Tue, 24 Apr 2018 11:55:22 -0400 Received: from imap.thunk.org ([74.207.234.97]:51830 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751285AbeDXPzQ (ORCPT ); Tue, 24 Apr 2018 11:55:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fN/9r4Yj0tYoyLDP/AgsOE6iUTIZi85Xu0zOPGCS2i4=; b=EqGn9Zr2yznijMtrrsrHxRv1+i y7AzgMUIYCbEGpCeQKvhU3NZLFFh/2q9X0ntWIWI0GLWD2CSMeXjUNtjqQp+e2jvCC+GoLnUu/KKS Le4Q9tQutj+4aw65JcloDN+wla5yZrmBuU1vUrvukXeHtcBleUyMC3EM4Rnf9hs+TkLE=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.89) (envelope-from ) id 1fB0Hj-0006KW-2Y; Tue, 24 Apr 2018 15:55:15 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id ABDAC7A4557; Tue, 24 Apr 2018 11:55:13 -0400 (EDT) Date: Tue, 24 Apr 2018 11:55:13 -0400 From: "Theodore Y. Ts'o" To: Sebastian Ott Cc: linux-kernel@vger.kernel.org Subject: Re: [BUG, PATCH] random: sleep in irq context Message-ID: <20180424155513.GD30619@thunk.org> Mail-Followup-To: "Theodore Y. Ts'o" , Sebastian Ott , linux-kernel@vger.kernel.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 24, 2018 at 10:40:36AM +0200, Sebastian Ott wrote: > On Mon, 23 Apr 2018, Sebastian Ott wrote: > > This happend once during boot and I could not reproduce this since, but I > > think the following patch should fix the issue: > > I can now recreate the issue reliably. The following patch works for me: I have a patch in the random tree that I will be pushing to Linus shortly. It uses a slightly different approach than yours, but should address the problem you observed. https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1672186.html - Ted