From: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com>
To: Michael Kelley <mhklinux@outlook.com>
Cc: "linux-hyperv@vger.kernel.org" <linux-hyperv@vger.kernel.org>,
"K. Y. Srinivasan" <kys@microsoft.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
Wei Liu <wei.liu@kernel.org>, Dexuan Cui <decui@microsoft.com>,
Thomas Gleixner <tglx@linutronix.de>,
Peter Zijlstra <peterz@infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v5 1/3] cpu: export lockdep_assert_cpus_held()
Date: Tue, 11 Feb 2025 14:42:47 -0500 [thread overview]
Message-ID: <Z6uoNyg72p8bDNE_@hm-sls2> (raw)
In-Reply-To: <SN6PR02MB41574DAE9F22C9D67D66B5F7D4E12@SN6PR02MB4157.namprd02.prod.outlook.com>
ping?
On Wed, Jan 22, 2025 at 03:37:44PM +0000, Michael Kelley wrote:
> From: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com> Sent: Friday, January 17, 2025 12:33 PM
> >
> > If CONFIG_HYPERV=m, lockdep_assert_cpus_held() is undefined for HyperV.
> > So, export the function so that GPL drivers can use it more broadly.
> >
> > Cc: Michael Kelley <mhklinux@outlook.com>
> > Signed-off-by: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com>
> > ---
> > v5: new to the series
> > ---
> > kernel/cpu.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/kernel/cpu.c b/kernel/cpu.c
> > index b605334f8ee6..d3c848d66908 100644
> > --- a/kernel/cpu.c
> > +++ b/kernel/cpu.c
> > @@ -526,6 +526,7 @@ void lockdep_assert_cpus_held(void)
> >
> > percpu_rwsem_assert_held(&cpu_hotplug_lock);
> > }
> > +EXPORT_SYMBOL_GPL(lockdep_assert_cpus_held);
> >
> > #ifdef CONFIG_LOCKDEP
> > int lockdep_is_cpus_held(void)
> > --
> > 2.47.1
>
> This series should have been posted as "v6" since "v5" was posted on
> January 16th. That notwithstanding,
>
> Reviewed-by: Michael Kelley <mhklinux@outlook.com>
> Tested-by: Michael Kelley <mhklinux@outlook.com>
>
next prev parent reply other threads:[~2025-02-11 19:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-17 20:33 [PATCH v5 1/3] cpu: export lockdep_assert_cpus_held() Hamza Mahfooz
2025-01-17 20:33 ` [PATCH v5 2/3] drivers/hv: introduce vmbus_channel_set_cpu() Hamza Mahfooz
2025-01-22 15:39 ` Michael Kelley
2025-01-17 20:33 ` [PATCH v5 3/3] drivers/hv: add CPU offlining support Hamza Mahfooz
2025-01-22 15:40 ` Michael Kelley
2025-01-22 15:37 ` [PATCH v5 1/3] cpu: export lockdep_assert_cpus_held() Michael Kelley
2025-02-11 19:42 ` Hamza Mahfooz [this message]
2025-02-13 11:12 ` Thomas Gleixner
2025-02-13 23:45 ` Wei Liu
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=Z6uoNyg72p8bDNE_@hm-sls2 \
--to=hamzamahfooz@linux.microsoft.com \
--cc=decui@microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=kys@microsoft.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhklinux@outlook.com \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=wei.liu@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;
as well as URLs for NNTP newsgroup(s).