Message ID | 20230906090246.v13.2.I4baba13e220bdd24d11400c67f137c35f07f82c7@changeid (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 04DD3EE14A0 for <linux-arm-kernel@archiver.kernel.org>; Wed, 6 Sep 2023 16:06:45 +0000 (UTC) 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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9Q5UIOkGSNO+UPsZbdwO/Aa2gs3YpSlgC+1ceEWoIr0=; b=vOEbqsnJ8Q/ZoM Vi1X1JK+KNcUliepcTmUEjdLWmdEUx6Hjhl47Zj8g1NSo+Fc6ekkHsjL6JuH/QKzySWw21AJjtcs2 R+H7xaKl9rmh4Vg3TC5SK2frFEAL0KzXaEldeiZCOxaFSRA/BNUD2Tw8ZaD57YbRvrUTeq2Vmi74g gCTzsmvfgb5c1Y+0MYXgS4C9BBR1FiKRRb7456teUk47WaM5+cI/W2eEHpMdXJePkVBH4IpaDGgxd f/3SrauzbbxKWujxriD9JIcQMQtGIexzVng8OnJkCpOKoHbZo6Kv5ZGWinFllZl4khfzhjFdgez44 FRJu1oYDu4OGgY2fIEdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qdv2i-00ATa7-26; Wed, 06 Sep 2023 16:06:12 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qdv2d-00ATWx-2H for linux-arm-kernel@lists.infradead.org; Wed, 06 Sep 2023 16:06:10 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1c0d5b16aacso26273755ad.1 for <linux-arm-kernel@lists.infradead.org>; Wed, 06 Sep 2023 09:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1694016366; x=1694621166; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=75Al5ao5WDqui4OmFiH4pa1bGdzkgKG2d24XEXDdpOo=; b=n7+M2mwAu96hpXYNfet2XYWK9H2CfVgt8eFw6Lqy19e213aMJTuiuL9AVhWutBL7Vx UiekliNtf6Jklugga7X2XBFgC7Y6Q0XBugeNKv3EXnW0Lz5aKCSb+9PzNB24R5nO/c/y 1l7n/V9uyHQOiv/muEMWfz+i5hj7TsdihJ11c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694016366; x=1694621166; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=75Al5ao5WDqui4OmFiH4pa1bGdzkgKG2d24XEXDdpOo=; b=WptR/18nXKaO82qgeIrkT3S1KdHAVvE4VvVrZZrXy+GwJQXEXQXzZm6+tamK6+7VpM weOMk0bvTjYHClqpvq1rv28W7Ck/kimsRv9PCjF+KCavqvD+2HItHjHMxtsnMWwoJNus JYPbWcWEil7vTLlf2FNIGgZpY3/EkFtKwDS05lJjpr4M9Pat40LyLzroah1e6LSSN5Bx tlJcdM2oN8dnt2m2PCJ1PFdlHYGvNEgzM/GkPTKoQ03tiH8RH15mOgbi826VAEG+nVtA on9w7xRe+mzIM7M5dMuaukLsJAckmeEmE1nlwPXSEY96i2oiPAcYxf+Xnid4rhWvV3vi UbVg== X-Gm-Message-State: AOJu0Yyk7+XYkslAnDkT9lU3G4XeVcesWAdpgQfi3Tg8P/5Pw4BdDePS irvGSFncZOvJJESrbwHqBdkLPQ== X-Google-Smtp-Source: AGHT+IFaCX4dzk7MQ4n11lP2A0zTWCxziDQ4gl6uWPxHEa+/LvA96OgqNZMwWgUuk5iyV1hMWWWj0Q== X-Received: by 2002:a17:902:c40a:b0:1c2:811:2cee with SMTP id k10-20020a170902c40a00b001c208112ceemr18484732plk.23.1694016365967; Wed, 06 Sep 2023 09:06:05 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:4a07:e00a:fdae:750b]) by smtp.gmail.com with ESMTPSA id ju19-20020a170903429300b001b8c689060dsm11338859plb.28.2023.09.06.09.06.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Sep 2023 09:06:05 -0700 (PDT) From: Douglas Anderson <dianders@chromium.org> To: Mark Rutland <mark.rutland@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Sumit Garg <sumit.garg@linaro.org>, Daniel Thompson <daniel.thompson@linaro.org>, Marc Zyngier <maz@kernel.org> Cc: linux-arm-kernel@lists.infradead.org, "Rafael J . Wysocki" <rafael.j.wysocki@intel.com>, Lecopzer Chen <lecopzer.chen@mediatek.com>, Chen-Yu Tsai <wens@csie.org>, Tomohiro Misono <misono.tomohiro@fujitsu.com>, Peter Zijlstra <peterz@infradead.org>, Masayoshi Mizuma <msys.mizuma@gmail.com>, Stephane Eranian <eranian@google.com>, Ard Biesheuvel <ardb@kernel.org>, kgdb-bugreport@lists.sourceforge.net, Stephen Boyd <swboyd@chromium.org>, linux-perf-users@vger.kernel.org, Thomas Gleixner <tglx@linutronix.de>, ito-yuichi@fujitsu.com, Douglas Anderson <dianders@chromium.org>, Chen-Yu Tsai <wenst@chromium.org>, gautham.shenoy@amd.com, linux-kernel@vger.kernel.org, mingo@kernel.org Subject: [PATCH v13 2/7] arm64: idle: Tag the arm64 idle functions as __cpuidle Date: Wed, 6 Sep 2023 09:02:57 -0700 Message-ID: <20230906090246.v13.2.I4baba13e220bdd24d11400c67f137c35f07f82c7@changeid> X-Mailer: git-send-email 2.42.0.283.g2d96d420d3-goog In-Reply-To: <20230906160505.2431857-1-dianders@chromium.org> References: <20230906160505.2431857-1-dianders@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230906_090607_758358_E06CBC56 X-CRM114-Status: GOOD ( 18.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
arm64: Add IPI for backtraces / kgdb; try to use NMI for some IPIs
|
expand
|
diff --git a/arch/arm64/kernel/idle.c b/arch/arm64/kernel/idle.c index c1125753fe9b..05cfb347ec26 100644 --- a/arch/arm64/kernel/idle.c +++ b/arch/arm64/kernel/idle.c @@ -20,7 +20,7 @@ * ensure that interrupts are not masked at the PMR (because the core will * not wake up if we block the wake up signal in the interrupt controller). */ -void noinstr cpu_do_idle(void) +void __cpuidle cpu_do_idle(void) { struct arm_cpuidle_irq_context context; @@ -35,7 +35,7 @@ void noinstr cpu_do_idle(void) /* * This is our default idle handler. */ -void noinstr arch_cpu_idle(void) +void __cpuidle arch_cpu_idle(void) { /* * This should do all the clock switching and wait for interrupt