From mboxrd@z Thu Jan 1 00:00:00 1970 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=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT 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 0E237C41514 for ; Tue, 27 Aug 2019 15:18:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 D75812186A for ; Tue, 27 Aug 2019 15:18:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gUxvNQOO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D75812186A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=qYT7L6OFzjiT5JeCTQn0e6T2Yx4m0oz8ldmq2mMeA0w=; b=gUx vNQOO/0b4GPdUN7cDum3W4wMhjes8r4oZu8Gnzf0RB20UGDEkHJ6WvzIOYiYmLD/xxX0VoVoJpXIy /F5okgztVINF2OX2ic/RuSUPmVk2awy7Yu399OXPk3nje+5yLGqnILAlMNpgvEoq2Vum/Qobqc5U4 Fx0UDV26oyKnn/cf8i9uvayGsqVvT0IqxPKuqbVmv7GnRKnf8Z07i//tpKO34lmYBCg9mmbTiPI1a CqYhMv0yFraMunJJ5hdyGA1ayWHMzJI0D9AQZKlt+YDvlNh6YBFyp6lvxAgSBVadq+i8yP/AGuGcK JqC7o1oYjuMmgPgG4ecMDIqHOhTjEvw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2dEp-0005Md-6C; Tue, 27 Aug 2019 15:18:27 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2dEl-0005Ld-I7 for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 15:18:24 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2AD18337; Tue, 27 Aug 2019 08:18:23 -0700 (PDT) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6E85B3F59C; Tue, 27 Aug 2019 08:18:22 -0700 (PDT) From: Will Deacon To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/3] Try to make SMP booting slightly less fragile Date: Tue, 27 Aug 2019 16:18:12 +0100 Message-Id: <20190827151815.2160-1-will@kernel.org> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_081823_637824_99313686 X-CRM114-Status: UNSURE ( 8.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, catalin.marinas@arm.com, Will Deacon MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi everyone, After spending some time investigating SMP boot issues when using (random?) configs from Qian Cai with lots of debug options enabled, I hacked together these two patches which make SMP booting a little more robust. The whole thing is still a racy mess, but I'm not sure we can do much about that without reworking it to use per-cpu data structures which we can update atomically. Will --->8 Will Deacon (3): arm64: smp: Increase secondary CPU boot timeout value arm64: smp: Don't enter kernel with NULL stack pointer or task struct arm64: smp: Treat unknown boot failures as being 'stuck in kernel' arch/arm64/kernel/head.S | 8 ++++++++ arch/arm64/kernel/smp.c | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) -- 2.11.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel