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=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 9DB37C47088 for ; Wed, 26 May 2021 22:18:11 +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 5FFFA613CA for ; Wed, 26 May 2021 22:18:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5FFFA613CA 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+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.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dGArAW/sO4BHcROzx/LOw7YZNHZsDfW+T0lQI3v4T98=; b=eiH+WcGm6RI6TK ynuNWBRIAUEKlN0QqsbJfRxHhzM0O/9O7MS49P+cH4Gc2OCn8gLguYOZCqc/7KMM/G7Lu+TFSeLUo Pj0sls4dpT/t2Xd6Ws4SQc4clHouhhwv99ebhMH9vTJTmF2OEjxdTtqS4qxinMe9tYYXPMsOnySb8 ISlHJ/RmhI80RnvZK3H3/DFpvjlPN0DNElS7Gg1o9eNs4/uLUt2ZJ8SZjw6tF8HqezQxS138eyFlH 9E94nqunHbBaYkB0eQJXCHMVHkX5Qe7I0sL+KmaaDmrZ1L5DQQOi4wpZnPDVwYtTvAp/4AACRzl/p FK/O/qF48zuO3p3prO1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lm1pd-000Npu-HB; Wed, 26 May 2021 22:16:53 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lm1pY-000Nno-21 for linux-arm-kernel@lists.infradead.org; Wed, 26 May 2021 22:16:49 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 00441613B0; Wed, 26 May 2021 22:16:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622067407; bh=U41EYwx24ISCdPQIvaqJgV3GQzgr49/Zpd4yVpd5Efw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ss5nsQt3rQFzKf6TGVY21Cq1oqjXAMyuizoIob4S4NcIk7kdZ4E/dL8iFPJMgiYIl HCQEPpOUFrzZxTUgpY+tkeHhgyuc6cMJwZFlzbA8uK+bA0HFXzxoR7JSs0yd1s7SIS fFLllvu6K67J60RVHhLYmIOooTF8AFSmc3od3R9tYJngXtU+B+pBI0BeB4UZ5P/WVS /aiSEqibBfZPY/2SC8S1MqaMq3RmAeHAERCmgWvxscz/Oc5JhsmdoqBdv0SnBe1bG/ wn+crf8Iq9ocCHUrhrf5y1iLyEy2j3n73SYtlhZJZBqPeZMdnxKVRGsDlI1JPcXq69 +orGICmZjrsTA== Date: Wed, 26 May 2021 23:16:42 +0100 From: Will Deacon To: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, ardb@kernel.org, broonie@kernel.org, catalin.marinas@arm.com, james.morse@arm.com, madvenka@linux.microsoft.com, maz@kernel.org, suzuki.poulose@arm.com Subject: Re: [PATCH 0/6] arm64: boot cleanups Message-ID: <20210526221641.GA20786@willie-the-truck> References: <20210520115031.18509-1-mark.rutland@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210520115031.18509-1-mark.rutland@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210526_151648_170105_96DF8715 X-CRM114-Status: GOOD ( 14.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, May 20, 2021 at 12:50:25PM +0100, Mark Rutland wrote: > This series (based on v5.13-rc1) reworks the way we initialize some state at > boot time, simplifying and unifying the logic for primary and secondary CPUs. > This allows us to initalize the per-cpu offsets earlier (which will help to > enable KCSAN), and reduces the data we need to pass to a secondary. In future, > this should allow us to transfer the secondary data atomically and make the > secondary boot paths more robust to arbitrarily long delays. > > I've based this on Mahdavan's stacktrace termination patch [1] (duplicated here > unchanged), since it made sense to combine the unwind initialization along with > the other CPU state, and otherwise there would be non-trivial merge conflicts. > > I've given the series some boot testing with a variety of configurations, > checking that stacktraces work correctly, etc. Thanks. I've already got the stack trace patch queued on for-next/stacktrace, so I've merged that branch into a new for-next/boot branch and put the remainder of the patches on top of that. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel