Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26587373rwd; Mon, 3 Jul 2023 11:46:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlHcXLT+UK9/SyeXBfP1ryCmqIcmI4otmu141NGbSWzT7TN4CfE9n7Dn2QSZ/spKIi+jkXIs X-Received: by 2002:a17:903:24e:b0:1b7:f73d:524 with SMTP id j14-20020a170903024e00b001b7f73d0524mr14389335plh.43.1688410018973; Mon, 03 Jul 2023 11:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688410018; cv=none; d=google.com; s=arc-20160816; b=xQMYxofYI3J4QJC0nH+jr50GN7RZNEYGvIsSrw3YbJhww8+k/TjxK9qa63rl6sK02b DWVUpEGcuz7nNjVME0p7Y7tP0NqC/B2udTZUjoWmLVOeV4Ih5mF6AL+5qFU7uHd8kuuA VNgEc9iCxPor8PAgi9vFGUxZtMqIvvuKPLGovyouwkdl1PsTl6yUaJgHGQHmMZZR1NQ/ EA0NcZrX/yRzSesPdIDCvELIcUc4fp0wuLIhCh1aIDo+5K2TikZi5cbV3d664BDpL2j9 sv0c9ZGZvn3l7E0PRzhrKBm0zP74dAnr6Qd+A8qZQ4xJ2zuDCHnk6hLcK+nzk0tmTaPJ 5OYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=hJ05ozWDWg+U38ZRTAs7bzCs7SM6Iyg8J0jBsghRyWo=; fh=jH9e2PcOT8PMy7M/NrobKgB+w/hp/WymdzlGJ1xinvQ=; b=HzpGMv0Hu6trAAYOgYDcPlkEmyGCfioFqv8YzUy8NxozZA2gacUqDll+CFz9INOacn gnQ+fFPKDLa+JVjF7TYCI/xfzHbAe2XvcKbXOQC1zAT8VZPo1Mu3cSvo92JuQcE5Cuc/ M+oiAEsf6YvzUWzwrErOZLrteQe6hePnL4D5Wf2dVPRomQzgcksm3JGgN3P6ffore92/ DZ5Uypd8A5aQUzZpJ06yXikm/EUEcEDyD8ET5KZQAWXrHyEMLJ66L4KkMMvyZVpLnTVz J5lKqGvyEzJtu5b5KakAPXp0N2qSKPvTnbvp0KtA/8VhJHulZIz8zZAR0PNQBNDtrS7T I5bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=huMQTbmG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iy9-20020a170903130900b001b87fefa49bsi5447535plb.198.2023.07.03.11.46.42; Mon, 03 Jul 2023 11:46:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=huMQTbmG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230273AbjGCSdo (ORCPT + 99 others); Mon, 3 Jul 2023 14:33:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229978AbjGCSdn (ORCPT ); Mon, 3 Jul 2023 14:33:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CD7810CA for ; Mon, 3 Jul 2023 11:33:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1AB376100C for ; Mon, 3 Jul 2023 18:33:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 731C0C433C7; Mon, 3 Jul 2023 18:33:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688409204; bh=pVRd8azkONAtwKeXjXh6CxQ/T2nHYxJNl4eiPrSZYTk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=huMQTbmGJqCkpY5Bk+88WjXGBuBYulSolvITtJWZmFiDb+3opC3GBWrxhILDcoh/F b/uxKAAUD7buDYBDVB0v0ledYe4kByft5rlCMpiLgPMsNOdBOz/QGFDAY55Xt+vWLM hNDwuSzmBENlcRdjW19AslsRtQvvZ5bNVng6zzaVDQ17+/5oyq7/FnCPT8obKDAn45 eb6CNzHuvFeZbSpvQ2X/aIK4teZ424yp3xjxOTNjQR9iaYmT87xSBAxvqVBtA9as57 ZPmAgB4+Js5Xt4lp6IRWZzn+/k1BGdQJvHdmHV7me14hZFI4DA4VIZ7IzhOjtjLAxJ 0WtKkdLAE3mfg== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qGOMU-00AErW-5d; Mon, 03 Jul 2023 19:33:22 +0100 Date: Mon, 03 Jul 2023 19:33:21 +0100 Message-ID: <86zg4cx2tq.wl-maz@kernel.org> From: Marc Zyngier To: Palmer Dabbelt Cc: Linus Torvalds , Conor Dooley , apatel@ventanamicro.com, oliver.sang@intel.com, Liam.Howlett@oracle.com, linux-kernel@vger.kernel.org, lkp@lists.01.org, lkp@intel.com Subject: Re: [mm] 408579cd62: WARNING:suspicious_RCU_usage In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: palmer@rivosinc.com, torvalds@linux-foundation.org, conor@kernel.org, apatel@ventanamicro.com, oliver.sang@intel.com, Liam.Howlett@oracle.com, linux-kernel@vger.kernel.org, lkp@lists.01.org, lkp@intel.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 03 Jul 2023 19:11:27 +0100, Palmer Dabbelt wrote: > > On Mon, 03 Jul 2023 10:46:55 PDT (-0700), Linus Torvalds wrote: > > On Mon, 3 Jul 2023 at 10:34, Marc Zyngier wrote: > >> > >> Comparing with what we do on arm64, a less radical change would be to > >> move the IPI init after notify_cpu_starting(), which explicitly > >> enables RCU usage. > > > > Ack, that looks right to me. > > I don't see anything wrong with it and it's passing my tests, but > we've got a handful of ways to boot so it's all a bit messy and I > might be messing something. > > I'm still catching up a bit as I took both days off this weekend. > Hopefully just an oversight in a bigger rafactoring, but I'll give it > another look. > > Marc: are you going to send that as a patch? Just did [1]. Thanks, M. [1] https://lore.kernel.org/r/20230703183126.1567625-1-maz@kernel.org -- Without deviation from the norm, progress is not possible.