Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp437905imm; Fri, 11 May 2018 00:15:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqcwcHwd7AOUSpMsGLCqoxzyapa5og0MQYZ27v+hZOZgyS7Vfn9F+J8lkOnHPgCYOLbaCVs X-Received: by 2002:a63:7c55:: with SMTP id l21-v6mr3546926pgn.148.1526022942177; Fri, 11 May 2018 00:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526022942; cv=none; d=google.com; s=arc-20160816; b=ce/oUxAxDagpYr6M3trBgq+ovxO+jCKpYtRiV4iYPQqavcIv4rVGDksm7OHpskVecL F+2av7GfJ7u0TkXEF/ZT6MwNjZ7nE5aGVff0c282VYaodlL4lDwZYCKvbkyo5NrSHwy8 Uy2CsGYCn7FCB7ifzq6QUTpcz5EiBtbQ0gzxQ+RcjGgib3JXT6cVT7ETeUXkpMGfgq8Y +3uoTVUYQSkgEyhx1aIx4P/ty3OlMu/lAFw+pQiB17UfYrdfVdcwmGO9pYch3azOQ5BX +UMgBv3WdmSro5+d7CZLN6aY4kJRNhfWyxv5LkyQJVuKMAeq3kX78Ub1EXAq0qrtBtmS vn4w== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=DgQu689vjFBH+EkxSvIQ7b1238YO6fTUIoTvHcNAqbY=; b=uznFndeB/X/lVTUScxQXnkorkuHeeRIziqVRIa3gC51WiV+bdTzj/1hsIj6+h82SKH 6A9zI+Em4XaE9L/gHWooVx9x7FsJkpvskA5yhF3RoyfKIQv/TeIWnbl6P7iwwpV4k7K8 /4mb/KyTP/HpSrIp1t+yqt8klTtMg/iAU1XJlWo7b4eGeh+rHQxpKfdQn9N80U7f8BGk 02ujH/Bd15scVh8K11zyouJUMd2d4vOGD0ivltffzSdFAKfMTBXV51yvoEW+0xCwKH+G ViLZI0iDMRoXkiyNHAKR54T39jzrh1nDS5vHjKp0aPWkxaMag32d91QN3XT2DB5+csFC /yAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b=jYnCHifI; 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 87-v6si2724329pfo.137.2018.05.11.00.15.27; Fri, 11 May 2018 00:15:42 -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=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b=jYnCHifI; 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 S1752560AbeEKHOt (ORCPT + 99 others); Fri, 11 May 2018 03:14:49 -0400 Received: from mail-ua0-f194.google.com ([209.85.217.194]:35524 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752514AbeEKHOr (ORCPT ); Fri, 11 May 2018 03:14:47 -0400 Received: by mail-ua0-f194.google.com with SMTP id a2-v6so2988179uak.2 for ; Fri, 11 May 2018 00:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benyossef-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DgQu689vjFBH+EkxSvIQ7b1238YO6fTUIoTvHcNAqbY=; b=jYnCHifINvQNbogySQhC5sgnqgzNKL2ph65QOHEaGVww/9ayGipnlrvDDV/ieDMr0X qaPXOZAfzo3U8X27T8hQy7kXiIYWmfSZo8CPdZ2VKjFRAhgLOoyCLZTZ00IQeFLm/D1q UrNAy3KF+uv5O0gv5fXDMbcPWwiMS8RfjYJyIP/CRhmX8h5x9iVoONaLfB0+NokEUkyp ZaKqTklkE8LcM8C8ioq8nTpG4dbc0m4/1i1uYMfeG2nlN+uzJznrdtMlxJb7OLWysnZE eEyiPt/BYTLdWWY1jmAfcUVzU4+NUJKiydXjOy79SMUN/98zjdvk1HOF2bjv1DFeyMRp pTwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=DgQu689vjFBH+EkxSvIQ7b1238YO6fTUIoTvHcNAqbY=; b=N99BqinCQxe+assIwbzPP4xwO16r7aeJNfP1qYdGnQhISe+YlSzXj4WQ951muls9M+ gLmmmCsT00WXAOBwFORtbKOWvPlVb/bdE3hbvoxT6bqjA2svGkYBGb/jLtagaSoLkzfE YN8cuTEbJJWKbmOiTZsGNROfy7TzrdyPtTKFV64PeyecfoCGDYrhOdCl4powLkZ7MzzD 2pDljS9S155HMelqn0JfC557jv/cHzsIZ2bk6X6GtnkuzkzAUDgfUhbVsZ1u0gq5z6ge mnbRzSEoJ0JsWchA0Q43hRhhoyd1kEOSHNpXHXBREM//Ubp814ILYsiadHWqMdtpLExy 2c0A== X-Gm-Message-State: ALKqPwfM0Ef0CGAYiAj0GtD+AOROOylpWqJXxXfL4DTD0Bh7aXpHjkRD B/F8TYDzhgI23rh1rGNzD8lnYko+NHOWB/kSnaqS1w== X-Received: by 2002:ab0:4f03:: with SMTP id n3-v6mr515576uah.172.1526022886138; Fri, 11 May 2018 00:14:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.96.154 with HTTP; Fri, 11 May 2018 00:14:45 -0700 (PDT) X-Originating-IP: [62.219.136.235] In-Reply-To: <1526021972.6192.7.camel@abdul> References: <1526021972.6192.7.camel@abdul> From: Gilad Ben-Yossef Date: Fri, 11 May 2018 10:14:45 +0300 Message-ID: Subject: Re: [next-20180509][bisected a794d8d] ppc boot warnings at crypto/testmgr.c:3720 To: Abdul Haleem Cc: linuxppc-dev , linux-kernel , linux-next , Stephen Rothwell , mpe , sachinp , Linux Crypto Mailing List , Herbert Xu 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 Fri, May 11, 2018 at 9:59 AM, Abdul Haleem wrote: > Greeting's > > Today's next kernel on powerpc machine has boot warnings with commit > > a794d8d : crypto: ccree - enable support for hardware keys Adding the crypto list and maintainer as it came in via the crypto tree. > > Warning disappears when above commit is reverted. > > Machine Type: Power8 PowerVM LPAR > kernel : 4.17.0-rc4-next-20180509 > config: attached. > test: kexec boot > > trace logs: > ----------- > Initialise system trusted keyrings > workingset: timestamp_bits=38 max_order=18 bucket_order=0 > zbud: loaded > pstore: using deflate compression > WARNING: CPU: 6 PID: 109 at crypto/testmgr.c:3720 alg_test.part.6+0xd4/0x460 > Modules linked in: > CPU: 6 PID: 109 Comm: cryptomgr_test Not tainted 4.17.0-rc4-next-20180509-autotest-00002-g0244ae7 #2 > NIP: c0000000004a60f4 LR: c0000000004a60e4 CTR: c0000000004a0200 > REGS: c000000289acb9d0 TRAP: 0700 Not tainted (4.17.0-rc4-next-20180509-autotest-00002-g0244ae7) > MSR: 8000000000029033 CR: 24000484 XER: 20000000 > CFAR: c0000000009b9110 SOFTE: 0 > GPR00: c0000000004a0260 c000000289acbc50 c00000000115df00 0000000000000001 > GPR04: c000000000c13e64 000000000000000d 0000000000000400 0000000000000000 > GPR08: 0000000000000000 0000000000000001 000000000000006b 0000000000000000 > GPR12: 0000000000000000 c00000000eca7800 c000000000128918 c0000002812a3600 > GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > GPR20: 0000000000000000 c000000000c13560 c000000288c29880 0000000000000400 > GPR24: c000000288c29800 000000000000000d c000000000c135a8 c000000000a1db38 > GPR28: c000000000c13128 c000000000c13e60 c000000000a1c788 0000000000000001 > NIP [c0000000004a60f4] alg_test.part.6+0xd4/0x460 > LR [c0000000004a60e4] alg_test.part.6+0xc4/0x460 > Call Trace: > [c000000289acbc50] [c000000289acbcc0] 0xc000000289acbcc0 (unreliable) > [c000000289acbd90] [c0000000004a0260] cryptomgr_test+0x60/0x80 > [c000000289acbdc0] [c000000000128a68] kthread+0x158/0x1a0 > [c000000289acbe30] [c00000000000b628] ret_from_kernel_thread+0x5c/0xb4 > Instruction dump: > 3b5a56a8 48000024 60000000 eb9effc8 ebbe0000 7f83e378 7fa4eb78 48513001 > 60000000 7c7f1b78 7d3f00d0 79290fe0 <0b090000> 2f9f0000 419d013c 7fe90034 > ---[ end trace f8ddd7633e720997 ]--- > testmgr: alg_test_descs entries in wrong order: 'ecb(paes)' before 'ecb(khazad)' > Oouch! this is is my bad. I've changed the cipher name (from haes to paes) based on review feedback but forgot that the cipher test names are alphabetically ordered. I wonder why I didn't see this myself as I'm 100% sure booted this fix on 2 different platforms. Maybe because Khazad was not enabled in my test setup and I guess there are no other cipher starting in I, L,M,N,O ? Fix coming up shortly. Sorry about this. Gilad -- Gilad Ben-Yossef Chief Coffee Drinker "If you take a class in large-scale robotics, can you end up in a situation where the homework eats your dog?" -- Jean-Baptiste Queru