Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3589684imm; Mon, 25 Jun 2018 00:52:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL1ODY5X4JEvyReh3/aXWABejkWYzQzdMNDbIEOA5wLOmcwreaubDsTVhTWGhT+K85nhs0c X-Received: by 2002:a63:6004:: with SMTP id u4-v6mr9711411pgb.441.1529913141810; Mon, 25 Jun 2018 00:52:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529913141; cv=none; d=google.com; s=arc-20160816; b=NDsXFzlqW4Qeh58aEQc9ovYvma5+u7Crk2oRT7DsnUwk1thdYkb+pAvA+CuSY5Og7H +4T1MKTNA6BHgVkwcxnDKtJWm0iXC6/rlKpjyt13gwyU0DWxE4+WBT+xTayENL39EKz8 YncF/m7x2JeimbumVlAr8wdmAZqWD4PcBxMuwRjIZEJIDaDwAGcnBx/WYpWC82jFEJrp QbWKD4ye28ZQqWjqXTBvhqzSe6KCp9UjbLLmpL+z+eyOxWYvKNCKNneDqAy2TBc8Ntv0 ny5U/jUMD1HDZgvSjip8lkDNytGZU9bM3AD9tGsw3FJCCzf/oLgH0Fs1Tu89/pFE2eWq MzuA== 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:message-id:subject:cc :to:from:date:arc-authentication-results; bh=3heCmsEgft9yjrw14DUQ1hn9MoVOsq2TnZp/ZAbGg0I=; b=L4kAikfo9hMYLmom9gkDvjclFioWr9/ECpca8o4lYG+O/K63eD0Fb76jmbE70DJVxC rACqGgsVJV7OquRSfJowzh+6cBnaSjh2QyfqV7dV4HtK70ZTOfk5oEQUDTaWjwanXMm4 KcHWQrZhUu2F64zI0vpK0G8+wEwLJB6+N9n0VJ/ty+z24LjuWNOEpaE/kiJhM4HUi405 WI6k9FZQS7GedU0WXkxV99u4AE99JTxB1VkajNFvjcLkh7L5jSPR5+vQw/MC4a00iO5/ /k/gzdriZdaBgO8lTagY9jeHghBsJV+idQ/tI3f0UYGhLNk2z/WiOdYIDuG7D/rXazmi GMKA== ARC-Authentication-Results: i=1; mx.google.com; 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 s186-v6si12982786pfb.39.2018.06.25.00.52.07; Mon, 25 Jun 2018 00:52:21 -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; 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 S1752996AbeFYHuY (ORCPT + 99 others); Mon, 25 Jun 2018 03:50:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:50869 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752530AbeFYHuX (ORCPT ); Mon, 25 Jun 2018 03:50:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 47DD4AE86; Mon, 25 Jun 2018 07:50:21 +0000 (UTC) Date: Mon, 25 Jun 2018 09:50:20 +0200 From: Petr Mladek To: Andrew Morton Cc: Steven Rostedt , Thierry Escande , David Miller , Rasmus Villemoes , "Tobin C . Harding" , linux-kernel@vger.kernel.org, Andy Shevchenko , Linus Torvalds Subject: Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests Message-ID: <20180625075020.xcb6jqup3dhq2agf@pathway.suse.cz> References: <20180604113708.11554-1-thierry.escande@linaro.org> <20180607122434.i4x7b5ij4p6dpx7w@pathway.suse.cz> <20180622205346.owyjk33wplzh7nhs@home.goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 2018-06-22 23:50:20, Thierry Escande wrote: > On 22/06/2018 22:53, Steven Rostedt wrote: > > On Thu, Jun 07, 2018 at 02:24:34PM +0200, Petr Mladek wrote: > > > On Mon 2018-06-04 13:37:08, Thierry Escande wrote: > > > > If the test_printf module is loaded before the crng is initialized, the > > > > plain 'p' tests will fail because the printed address will not be hashed > > > > and the buffer will contain '(ptrval)' instead. > > > > This patch adds a call to wait_for_random_bytes() before plain 'p' tests > > > > to make sure the crng is initialized. > > > > > > Hmm, my system did not boot with this patch and > > > CONFIG_TEST_PRINTF=y > > > > And neither does my test box. It killed my tests I was running, as one of the > > configs I test has this set. > > > > It appears that Andrew pulled it in and sent it to Linus, as it is in > > 4.18-rc1, and I need to now revert this patch to make my tests work. > > This patch has been superseded with a v2 and a v3 pushed into Petr > printk.git tree (https://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git/commit/?h=for-4.19&id=ce041c43f22298485122bab15c14d062383fbc67). > Sorry for the mess... Andrew, should I send the revert and the better fix to Linus or would you like to do so? Best Regards, Petr