Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6543696ybh; Thu, 8 Aug 2019 01:48:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwV5RsuGU1vyUYLnePRqnxzhsR+KBkYIgvVYE+ieK/e6wr4z/qfAhR6JdmMk5/Bng9fhzkO X-Received: by 2002:a63:36cc:: with SMTP id d195mr11572870pga.157.1565254136587; Thu, 08 Aug 2019 01:48:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565254136; cv=none; d=google.com; s=arc-20160816; b=VnjEixhqUwoCtoXmxYC2Qp+dh2IshzOhkcCRs4AtA7t/ggzpdAQy5gAtCZ+UL4AZBr nIhM3jSM2thjV9VICZpnPKsTVKm8uHzWbfCEne+8510XLhJ2BsfDXpjJRlrDX1e6Ss7F PKOiPCC/aeqj9+HOsWZTnbmwLNYPSD4h3qTqrn/YIYlPwGv/vVytcLx11apWMsdd90zi M+xSyGXeqatztM9RWy25RjrFEYaLnl/lWel+48k7+a4rtuIjjUIKUbGq9UCV/gmsdlRL Yr1gQi7HUj6l0cDPg3AotJ0kNK9S/aPcS5miJDsvxcoEddy/9hGGv9KoGLs/m4jygjj1 XOGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=/j0L6U1ootYvUCLGn7BUQxjfLDtBKup0NqPdL/Ob6TY=; b=s34V9sgKTyu9GzRgXxN5+OFQ5K8Z1OOnaVLU/E3ciM/eQ6h8cCAbU4Gi0so5MBV6aQ XBn3xxxz7PrupC5xu0dheFycsOCcq/6RX9Ie5srGTZLisEivi2bmwW7cQLOSiy3RPGVV ld6BQ4h4yWYk9bs46ZabP3sdGMDDfLKzfJ7VGtlO5JWa3RgBsSHt0cwjP3juxQmbS4UN D/GkHFdGOjw8vqdodAeppohMbwzlkWR7uhTWr52G4NUZJI84MaFYUN1jTNy/2i3b2B+g 9+1Y5TN7vgnDuQViOCgS/vTjYyKQwTg0a84UwHS7BptZw84P1vYZ/jFTrGoHwidF4AaC frvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=UH12Bwxv; 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 u6si14459940pfm.135.2019.08.08.01.48.40; Thu, 08 Aug 2019 01:48:56 -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=@c-s.fr header.s=mail header.b=UH12Bwxv; 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 S1731038AbfHHIqj (ORCPT + 99 others); Thu, 8 Aug 2019 04:46:39 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:44019 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730305AbfHHIqi (ORCPT ); Thu, 8 Aug 2019 04:46:38 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 46426M58z8z9txqh; Thu, 8 Aug 2019 10:46:35 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=UH12Bwxv; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id b77WLz6w-gsB; Thu, 8 Aug 2019 10:46:35 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 46426M40Sdz9txqg; Thu, 8 Aug 2019 10:46:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1565253995; bh=/j0L6U1ootYvUCLGn7BUQxjfLDtBKup0NqPdL/Ob6TY=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=UH12BwxvtavgiK4lPjeIoeLpZXpGNwS7KX7nZNNKTRvSBJwrEn3njbY85QnXA/AYy oFWdMTw98AgQuhjQbPgnGe7gLz7IzdJ1b3zytb1+LRma+usSGfgXOEd1GwGxFUpQ85 Cy5lnvwQzv64T50DwJ6443s0c3fwJSWcIXCZPH48= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id A81CA8B848; Thu, 8 Aug 2019 10:46:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id PPwwiEIOCXua; Thu, 8 Aug 2019 10:46:36 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E466D8B7A0; Thu, 8 Aug 2019 10:46:35 +0200 (CEST) Subject: Re: SMP lockup at boot on Freescale/NXP T2080 (powerpc 64) To: Chris Packham , "linuxppc-dev@lists.ozlabs.org" , "mpe@ellerman.id.au" , "npiggin@gmail.com" Cc: "linux-kernel@vger.kernel.org" , Grant McEwan References: <1564970785.27215.29.camel@alliedtelesis.co.nz> <4525a16cd3e65f89741b50daf2ec259b6baaab78.camel@alliedtelesis.co.nz> <87wofqv8a0.fsf@concordia.ellerman.id.au> <1565135404.16914.5.camel@alliedtelesis.co.nz> <87o911vktx.fsf@concordia.ellerman.id.au> <1565141097.19352.12.camel@alliedtelesis.co.nz> From: Christophe Leroy Message-ID: Date: Thu, 8 Aug 2019 10:46:35 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1565141097.19352.12.camel@alliedtelesis.co.nz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 07/08/2019 à 03:24, Chris Packham a écrit : > On Wed, 2019-08-07 at 11:13 +1000, Michael Ellerman wrote: >> Chris Packham writes: >>> >>> On Tue, 2019-08-06 at 21:32 +1000, Michael Ellerman wrote: >>> The difference between a working and non working defconfig is >>> CONFIG_PREEMPT specifically CONFIG_PREEMPT=y makes my system hang >>> at >>> boot. >>> >>> Is that now intentionally prohibited on 64-bit powerpc? >> It's not prohibitied, but it probably should be because no one really >> tests it properly. I have a handful of IBM machines where I boot a >> PREEMPT kernel but that's about it. >> >> The corenet configs don't have PREEMPT enabled, which suggests it was >> never really supported on those machines. >> >> But maybe someone from NXP can tell me otherwise. >> > > I think our workloads need CONFIG_PREEMPT=y because our systems have > switch ASIC drivers implemented in userland and we need to be able to > react quickly to network events in order to prevent loops. We have seen > instances of this not happening simply because some other process is in > the middle of a syscall. > > One thing I am working on here is a setup with a few vendor boards and > some of our own kit that we can test the upstream kernels on. Hopefully > that'd make these kinds of reports more timely rather than just > whenever we decide to move to a new kernel version. > > The defconfig also sets CONFIG_DEBUG_PREEMPT. Have you tried without CONFIG_DEBUG_PREEMPT ? Christophe