From: sashiko-bot@kernel.org
To: "Vladimir Kondratiev" <vladimir.kondratiev@mobileye.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: [PATCH v3 1/7] mips: {cm,cpc}: Make cm_core_lock, cpc_core_lock raw spinlocks
Date: Thu, 19 Nov 2026 18:02:37 +0000 [thread overview]
Message-ID: <sashiko-outbox-223748@kernel.org> (raw)
In-Reply-To: <20261119-i6500-cm3-pmu-v3-1-c86410934b51@mobileye.com>
> From: Paul Burton <paul.burton@mips.com>
>
> cm_core_lock and cpc_core_lock are used to protect access to a CPU's
> core-other/redirect CM and CPC register blocks. Since each CPU sees
> its own copy of this block, we need to ensure that critical sections
> holding a cm_core_lock run on one CPU - ie. we need to disable
> preemption.
>
> Use raw_spinlock_t to implement cm_core_lock and cpc_core_lock in
> order to provide the guarantees we need on PREEMPT_RT systems.
>
> Signed-off-by: Paul Burton <paul.burton@mips.com>
> [added CPC part]
> Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev@mobileye.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261119-i6500-cm3-pmu-v3-0-c86410934b51@mobileye.com?part=1
next prev parent reply other threads:[~2026-11-19 18:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 17:51 [PATCH v3 0/7] perf: add PMU driver for the MIPS Coherence Manager 3 performance counters Vladimir Kondratiev
2026-11-19 17:51 ` [PATCH v3 1/7] mips: {cm,cpc}: Make cm_core_lock, cpc_core_lock raw spinlocks Vladimir Kondratiev
2026-11-19 18:02 ` sashiko-bot [this message]
2026-11-19 17:51 ` [PATCH v3 2/7] MIPS: CM: add CM3 performance counter GCR definitions Vladimir Kondratiev
2026-11-19 17:54 ` sashiko-bot
2026-11-19 17:51 ` [PATCH v3 3/7] MIPS: CM: export the symbols needed to access the GCRs from a module Vladimir Kondratiev
2026-11-19 17:54 ` sashiko-bot
2026-11-19 17:51 ` [PATCH v3 4/7] dt-bindings: mips: mti,mips-cm: add performance counter interrupt Vladimir Kondratiev
2026-11-19 17:53 ` sashiko-bot
2026-11-19 17:51 ` [PATCH v3 5/7] perf: add MIPS Coherence Manager 3 (CM3) PMU driver Vladimir Kondratiev
2026-11-19 18:17 ` sashiko-bot
2026-11-19 17:51 ` [PATCH v3 6/7] MIPS: eyeq6_defconfig: enable the CM3 PMU Vladimir Kondratiev
2026-11-19 17:56 ` sashiko-bot
2026-11-19 17:51 ` [PATCH v3 7/7] MAINTAINERS: Add entry for MIPS " Vladimir Kondratiev
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-223748@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vladimir.kondratiev@mobileye.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox