All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Leo Yan" <leo.yan@arm.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: [PATCH 7/8] perf/arm_pmu: Use ACPI CPU affinity in IRQ handling
Date: Mon, 16 Nov 2026 18:34:22 +0000	[thread overview]
Message-ID: <sashiko-outbox-217502@kernel.org> (raw)
In-Reply-To: <20261116-acpi_arm_pmu_registration_hmp-v1-7-0371d4eca626@arm.com>

> Read each IRQ resource's CPU mask through platform_get_irq_affinity().
> For ACPI SPIs, select the CPU from that resource's singleton mask.
> 
> Add pmu_get_irq_affinity() for counting-only PMUs, which have no IRQ
> resource to query. Fall back to cpu_possible_mask when firmware provides
> no affinity mask.
> 
> Select DT handling from the device's OF node. Preserve the DT SPI
> interrupt-affinity phandle order and the single-PPI path.
> 
> The common platform probe initializes the per-CPU PMU pointers and
> supported CPU mask before requesting interrupts. Use that mask in
> armpmu_request_irq() and remove the cpu_possible_mask fallback needed
> by the former ACPI pre-probe IRQ setup.
> 
> Signed-off-by: Leo Yan <leo.yan@arm.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261116-acpi_arm_pmu_registration_hmp-v1-0-0371d4eca626@arm.com?part=7


  reply	other threads:[~2026-11-16 18:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16 18:21 [PATCH 0/8] ACPI: arm64: Support PMU on Heterogeneous Systems Leo Yan
2026-11-16 18:21 ` [PATCH 1/8] device property: Add firmware node IRQ affinity callbacks Leo Yan
2026-11-16 18:28   ` sashiko-bot
2026-11-17  7:42   ` Andy Shevchenko
2026-11-17  9:29     ` Leo Yan
2026-11-16 18:21 ` [PATCH 2/8] device property: Add software-node IRQ affinity masks Leo Yan
2026-11-16 18:29   ` sashiko-bot
2026-11-17  7:50   ` Andy Shevchenko
2026-11-16 18:21 ` [PATCH 3/8] perf/arm_pmu: Register ACPI SPE and TRBE devices with software nodes Leo Yan
2026-11-16 18:38   ` sashiko-bot
2026-11-16 18:21 ` [PATCH 4/8] perf/arm_pmu: Prepare ACPI registration for per-CPU interrupts Leo Yan
2026-11-16 18:29   ` sashiko-bot
2026-11-16 18:21 ` [PATCH 5/8] perf/arm_pmu: Register ACPI CPU PMUs as platform devices Leo Yan
2026-11-16 18:44   ` sashiko-bot
2026-11-16 18:21 ` [PATCH 6/8] perf/arm_pmu: Support ACPI devices in the platform probe Leo Yan
2026-11-16 18:36   ` sashiko-bot
2026-11-16 18:21 ` [PATCH 7/8] perf/arm_pmu: Use ACPI CPU affinity in IRQ handling Leo Yan
2026-11-16 18:34   ` sashiko-bot [this message]
2026-11-16 18:21 ` [PATCH 8/8] ACPI: arm64: Move PMU device registration to drivers/acpi/arm64/ Leo Yan
2026-11-16 18:37   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-217502@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=leo.yan@arm.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.