From: Sasha Levin <sashal@kernel.org>
To: Mark Brown <broonie@kernel.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
Jez Ng <jez@sfcompute.com>,
Ricardo Neri <ricardo.neri-calderon@linux.intel.com>,
Juergen Gross <jgross@suse.com>, Ingo Molnar <mingo@kernel.org>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
x86@kernel.org, linux-pm@vger.kernel.org,
Linux Next Mailing List <linux-next@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: linux-next: semantic conflict between the pm and tip trees
Date: Tue, 24 Nov 2026 09:56:46 -0500 [thread overview]
Message-ID: <20261124145646.3655959-1-sashal@kernel.org> (raw)
Hi Mark,
The current pm tree has a semantic conflict with the tip tree that
breaks the x86 build:
drivers/thermal/intel/intel_hfi.c:407:38: error: too many arguments to function call, expected single argument 'msr', have 2 arguments
437ce3015e51 ("thermal: intel: hfi: Disable HFI on shutdown and kexec")
in the pm tree uses rdmsrq(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val), and
e7f9f17e0013 ("treewide: Convert rdmsrq() from a macro to an inline
function") in the tip tree makes rdmsrq() take only the MSR and return
the value.
The fix for the merge:
diff --git a/drivers/thermal/intel/intel_hfi.c b/drivers/thermal/intel/intel_hfi.c
--- a/drivers/thermal/intel/intel_hfi.c
+++ b/drivers/thermal/intel/intel_hfi.c
@@ -404,7 +404,7 @@ static bool hfi_disable_if_enabled(void)
{
u64 msr_val;
- rdmsrq(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val);
+ msr_val = rdmsrq(MSR_IA32_HW_FEEDBACK_CONFIG);
if (!(msr_val & HW_FEEDBACK_CONFIG_HFI_ENABLE_BIT))
return false;
--
Thanks,
Sasha
next reply other threads:[~2026-11-24 14:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 14:56 Sasha Levin [this message]
2026-11-24 15:06 ` linux-next: semantic conflict between the pm and tip trees Jürgen Groß
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=20261124145646.3655959-1-sashal@kernel.org \
--to=sashal@kernel.org \
--cc=broonie@kernel.org \
--cc=daniel.lezcano@kernel.org \
--cc=jez@sfcompute.com \
--cc=jgross@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=rafael@kernel.org \
--cc=ricardo.neri-calderon@linux.intel.com \
--cc=x86@kernel.org \
/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