Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29719753rwd; Wed, 5 Jul 2023 16:44:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlFOExpGCjk8Hv0ThGJqVUKSL0ELbhnKCbemGqx7I0PXFifFLAbD9bFCaLL+mcSanUrhNMqT X-Received: by 2002:a17:902:f809:b0:1b8:b29e:b47b with SMTP id ix9-20020a170902f80900b001b8b29eb47bmr406682plb.44.1688600652092; Wed, 05 Jul 2023 16:44:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688600652; cv=none; d=google.com; s=arc-20160816; b=J/iF2Nwwm76Q8ptj6T90DpfHJkp4A6aL89J40ks5mXvfhLA2iBbBgkiL+WM+Ys2FJU bj8rlaPJGYn9uuPRDhmNrMW6A4urRFf5F8IInKsmmz3VQ814dosxVUEVgaLsvDK0lvlt PlyTTKYattlU8ma2sjDt/WVpSw4+b38DYXx2ddrXML1zP2NYby8kKyu0e9m+4BgOTTA/ aRwWB+wGZSM+A805PGoXfAWlsV3Gt9/JsRwObTc/ihe1xvC9gte5seutmq/PN8yQp0TG mr4I12mIVuacJE3ItEm+1PrRZ9GdbcEsMy39mRFZ5iKSQ5B47BZI4N5dis6GRuJYrBJf tYOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:cc:content-transfer-encoding :mime-version:date:message-id:subject:references:in-reply-to :dkim-signature; bh=0lf3uaq5f8gZLbnMSHirHb1QHfBK88CvzowXxr+xlUY=; fh=QhQI+tT750mb/L2bCGvvh8gmisEVjAfD8/2oh15tC7c=; b=tITTQ7DsEtSl6sKn+iXDksiMRTQv0aOLOPOc5NTXbkVU9IMzPeqiEc6Mtt2TaLyxXH lmpQ53i3FjO27NFW/QtOaFX5sBVJ1HzkzVAu01jApJUa6GGPkXUvN7Gmpq0wSvmWHDTH rGG3237UTAaWw8dYuH/mysomFjm56I/OksC3mmvKVjfFo1o7a29WOWmU91u16B79mLkW 8ZY4mceDw9x4vnPQqeZ11rSyR8fpIZnfwdbmxKHU2gZp9GDmlCiltGArBgxL6kI+9xOS 49qc/KDuqksavU3a2UsTzWbv8eYCrNSXrjmzYLCnqkc4rNRWJ7xMzS999G8PUSrsswdM y8MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=iN2XA1D4; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m12-20020a170902db0c00b001b88d7226d3si60755plx.540.2023.07.05.16.44.00; Wed, 05 Jul 2023 16:44:12 -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=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=iN2XA1D4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232473AbjGEXk5 (ORCPT + 99 others); Wed, 5 Jul 2023 19:40:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232155AbjGEXkp (ORCPT ); Wed, 5 Jul 2023 19:40:45 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F35B1989 for ; Wed, 5 Jul 2023 16:40:44 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-666eec46206so174393b3a.3 for ; Wed, 05 Jul 2023 16:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1688600444; x=1691192444; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:from:to:cc:subject:date:message-id :reply-to; bh=0lf3uaq5f8gZLbnMSHirHb1QHfBK88CvzowXxr+xlUY=; b=iN2XA1D40K7Rv6za5RLTMq3D/4qMkJNWQc3jJiNY5I7m3zXzITaeu8Zt6b8s0EEj/9 Go15cBMYOHjPPSyMk3a18XTnV7UYIBeWc+HkaOomugkZI8wCPPyUtZw/omLjUDx9TBPi /DDBofPDOfWJo7Dt0+bTGU/C7QI7ugCGF7ZWHAnMv8g4eel8+shrX9GDX9ZuOsCbmO/1 E+l3V4luTtJDP/P6SpP9LUdNTZTMicLGUJii4SE3au2zfIJYfXtUzDAfjem3fl3AdHwa qkFI7gkA/Z2JGXgTSESIY0YfHW+r4f1+0zQISX/r5eJO2dbcwMWvcre/KHnkT8xlgWXX Q/IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688600444; x=1691192444; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0lf3uaq5f8gZLbnMSHirHb1QHfBK88CvzowXxr+xlUY=; b=KZf8/59s/6SBm/z+uvDNb6ubLR1l+n36t78NYK7cg/2IjASKrys4gtoGwogPsZ4WjH ol4sZNNZBdcIK0IryvgyaqJ9ig7efPM7XJz9vPsDMCPYydOd0+TJijhAgExUout+I738 hDupc/9MqtzktesqwqOXsB/yAer+wqX6R7Evx88bnC7nw7RZpNvaRU0sOCxJ/9JyAUCO iPqyZ6+Zsj+5TPxGHwBrQlXl9cuM0bTi1tzh42dkO4WS1+SaAWC5sEDdyKrrMy9kNXhH h2F6tV+3ruNRz8c+V1ZKfWkfXJtFUMep3mLM+yJ6FNvnqEco0JIFxlc5gVYdZ20tPJ7R jZ0Q== X-Gm-Message-State: ABy/qLaACSgHnj3eF/HHZgXAND0V/8p9tE3u0yosZaLlHMDWRL4saFjh kujUeBLfHCMa7spSN84Zmnmc4A== X-Received: by 2002:a05:6a20:3219:b0:12c:30f4:bd0b with SMTP id hl25-20020a056a20321900b0012c30f4bd0bmr358767pzc.11.1688600443658; Wed, 05 Jul 2023 16:40:43 -0700 (PDT) Received: from localhost ([135.180.227.0]) by smtp.gmail.com with ESMTPSA id jh5-20020a170903328500b001b872c17535sm47771plb.13.2023.07.05.16.40.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 16:40:43 -0700 (PDT) In-Reply-To: <20230703183126.1567625-1-maz@kernel.org> References: <20230703183126.1567625-1-maz@kernel.org> Subject: Re: [PATCH] risc-v: Fix order of IPI enablement vs RCU startup Message-Id: <168860030768.22647.6698047675033569268.b4-ty@rivosinc.com> Date: Wed, 05 Jul 2023 16:38:27 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-901c5 Cc: Conor Dooley , Anup Patel , Linus Torvalds From: Palmer Dabbelt To: linux-kernel@vger.kernel.org, Marc Zyngier X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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:31:26 +0100, Marc Zyngier wrote: > Conor reports that risc-v tries to enable IPIs before telling the > core code to enable RCU. With the introduction of the mapple tree > as a backing store for the irq descriptors, this results in > a very shouty boot sequence, as RCU is legitimately upset. > > Restore some sanity by moving the risc_ipi_enable() call after > notify_cpu_starting(), which explicitly enables RCU on the calling > CPU. > > [...] Applied, thanks! [1/1] risc-v: Fix order of IPI enablement vs RCU startup https://git.kernel.org/palmer/c/6259f3443c6a Best regards, -- Palmer Dabbelt