Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1361691rdh; Mon, 25 Sep 2023 10:16:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvZrf8FM8F7Pr+Lj9j2/i0Jyhh4SpU9elAsttWMR94zkkMazrbJdkN0AcrvNL9Bjh6gpcm X-Received: by 2002:a05:6a20:1586:b0:15e:9d71:5af6 with SMTP id h6-20020a056a20158600b0015e9d715af6mr344518pzj.24.1695662198740; Mon, 25 Sep 2023 10:16:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695662198; cv=none; d=google.com; s=arc-20160816; b=La2+GhbXDyW5YI/1uiMY+B+d0YdN7lvoUnvtyAeM3TpQWzqHkPRUD528t7fbPa6pzP kL6QA0Ul58oW7vgCIK+E5QaJ1eI5JcRrHZr8xJqTbhmZX84D3w0wy1NTgzKqdww7BAAG 6BAS8RjsliXTWAVpD4CYAiWs7WUuSmPZWrnFPgYf47EMUXqkR6HQ+6v422fmhusWmbRG Ll4PJVkKR1qNOPrvXdYZfCBMNSbDtegusJtCtLpDTJ6JyNzUdNmgck/eHkScPNwXSaDe 7aGzJnwfb61XuhrRxpMYXtuQC3bogmHo+cQwV/Cugg+fEnQ5Oh0AiI9PavlXX4RsBw6a Wm0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=5wuk4zNSiC0WmvmR12B/Ncvchj1fybtne0NNKDVwwdg=; fh=R9fzHJm4n33rg9FVfAQfZCSTQhmJ4FDPhNyhe0RYm+4=; b=xw/QThJ2OZVNMCiav324B1L/woIkLdjkRvuea2mXpc3/DtInXI1e5KVBeHiDUhdVe0 UBvhBlBS0bvhBAkzCyF5rPmtuudNNX+6whGMRZUAtR0eYHws779oaQcqVPYQVXAKeCKH Nd9N9wxC0Ag1tB4Q+X62kMnfwGDYg+6dhVQoCci2g1yMguwI5XWrf968oGnJ1HBum7VG PLunhzYEABUyN05lVxP8cNtd0dMNHABuJlvQ+sAX4M8MWSOO3wy+BCwPCfuFt2gssd/j XRwpG7D2THGt1hvPxcihIHIFgljDgIoj2Mo1RSBdmq6njjsqdnqRKszeSI6O5P/COsmx f02g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id t22-20020a056a0021d600b0068bf645ac9bsi10925693pfj.238.2023.09.25.10.16.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 10:16:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id EB185807E43B; Mon, 25 Sep 2023 10:10:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229584AbjIYRKZ (ORCPT + 99 others); Mon, 25 Sep 2023 13:10:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjIYRKZ (ORCPT ); Mon, 25 Sep 2023 13:10:25 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77370107 for ; Mon, 25 Sep 2023 10:10:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8A0FC433C8; Mon, 25 Sep 2023 17:10:12 +0000 (UTC) From: Catalin Marinas To: Mark Rutland , Will Deacon , Sumit Garg , Daniel Thompson , Marc Zyngier , Douglas Anderson Cc: linux-arm-kernel@lists.infradead.org, "Rafael J . Wysocki" , Lecopzer Chen , Chen-Yu Tsai , Tomohiro Misono , Peter Zijlstra , Masayoshi Mizuma , Stephane Eranian , Ard Biesheuvel , kgdb-bugreport@lists.sourceforge.net, Stephen Boyd , linux-perf-users@vger.kernel.org, Thomas Gleixner , ito-yuichi@fujitsu.com, gautham.shenoy@amd.com, jpoimboe@kernel.org, keescook@chromium.org, linux-kernel@vger.kernel.org, mingo@kernel.org, philmd@linaro.org, samitolvanen@google.com, scott@os.amperecomputing.com, vschneid@redhat.com Subject: Re: [PATCH v13 0/7] arm64: Add IPI for backtraces / kgdb; try to use NMI for some IPIs Date: Mon, 25 Sep 2023 18:10:10 +0100 Message-Id: <169566180517.219167.12779213618569283316.b4-ty@arm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230906160505.2431857-1-dianders@chromium.org> References: <20230906160505.2431857-1-dianders@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 25 Sep 2023 10:10:26 -0700 (PDT) On Wed, 06 Sep 2023 09:02:55 -0700, Douglas Anderson wrote: > This is an attempt to resurrect Sumit's old patch series [1] that > allowed us to use the arm64 pseudo-NMI to get backtraces of CPUs and > also to round up CPUs in kdb/kgdb. The last post from Sumit that I > could find was v7, so I started my series at v8. I haven't copied all > of his old changelongs here, but you can find them from the link. > > This patch series targets v6.6. Specifically it can't land in v6.5 > since it depends on commit 8d539b84f1e3 ("nmi_backtrace: allow > excluding an arbitrary CPU"). > > [...] Applied to arm64 (for-next/backtrace-ipi), thanks! [1/7] irqchip/gic-v3: Enable support for SGIs to act as NMIs https://git.kernel.org/arm64/c/a02026bf9da1 [2/7] arm64: idle: Tag the arm64 idle functions as __cpuidle https://git.kernel.org/arm64/c/d0c14a7d36f0 [3/7] arm64: smp: Remove dedicated wakeup IPI https://git.kernel.org/arm64/c/2b2d0a7a96ab [4/7] arm64: smp: Add arch support for backtrace using pseudo-NMI https://git.kernel.org/arm64/c/331a1b3a836c [5/7] arm64: smp: IPI_CPU_STOP and IPI_CPU_CRASH_STOP should try for NMI https://git.kernel.org/arm64/c/d7402513c935 [6/7] arm64: kgdb: Implement kgdb_roundup_cpus() to enable pseudo-NMI roundup https://git.kernel.org/arm64/c/2f5cd0c7ffde [7/7] arm64: smp: Mark IPI globals as __ro_after_init https://git.kernel.org/arm64/c/62817d5ba25d -- Catalin