Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F40E7C54FC9 for ; Tue, 21 Apr 2020 12:40:12 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6092D2074F for ; Tue, 21 Apr 2020 12:40:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6092D2074F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4963795j8yzDqtd for ; Tue, 21 Apr 2020 22:40:05 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=suse.de (client-ip=195.135.220.15; helo=mx2.suse.de; envelope-from=msuchanek@suse.de; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.de Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49634J5nPXzDqdh for ; Tue, 21 Apr 2020 22:37:36 +1000 (AEST) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1070BACCA; Tue, 21 Apr 2020 12:37:31 +0000 (UTC) Date: Tue, 21 Apr 2020 14:37:30 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Michael Ellerman Subject: Re: crash in cpuidle_enter_state with 5.7-rc1 Message-ID: <20200421123730.GN25468@kitsune.suse.cz> References: <20200417160348.GE25468@kitsune.suse.cz> <871roiisxg.fsf@mpe.ellerman.id.au> <20200420065030.GL25468@kitsune.suse.cz> <20200420194132.GM25468@kitsune.suse.cz> <87sggxghb3.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87sggxghb3.fsf@mpe.ellerman.id.au> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, Apr 21, 2020 at 10:21:52PM +1000, Michael Ellerman wrote: > Michal Suchánek writes: > > On Mon, Apr 20, 2020 at 08:50:30AM +0200, Michal Suchánek wrote: > >> On Mon, Apr 20, 2020 at 04:15:39PM +1000, Michael Ellerman wrote: > >> > Michal Suchánek writes: > > ... > >> > > >> > > >> > And I've just hit it with your config on a machine here, but the crash > >> > is different: > >> That does not look like it. > >> You don't have this part in the stack trace: > >> > [ 1.234899] [c000000007597420] [0000000000000000] 0x0 > >> > [ 1.234908] [c000000007597720] [0000000000000a6d] 0xa6d > >> > [ 1.234919] [c000000007597a20] [0000000000000000] 0x0 > >> > [ 1.234931] [c000000007597d20] [0000000000000004] 0x4 > >> which is somewhat random but at least on such line is always present in > >> the traces I get. Also I always get crash in cpuidle_enter_state > > .. > >> > I'm going to guess it's STRICT_KERNEL_RWX that's at fault. > >> I can try without that as well. > > > > Can't reproduce without STRICT_KERNEL_RWX either. > > I've reproduced something similar all the way back to v5.5, though it > seems harder to hit - sometimes 5 boots will succeed before one fails. I only tried 3 times because I do not have automation in place to capture these early crashes. I suppose I could tell the kernel to not reboot on panic and try rebooting several times. > > Are you testing on top of PowerVM or KVM? PowerVM. Thanks Michal