> From: KY Srinivasan
> Sent: Thursday, August 30, 2018 10:32
> > > */
> > >if (version >= VERSION_WIN8_1) {
> > >msg->target_vcpu =
> > > -hv_cpu_number_to_vp_number(smp_processor_id());
> > > - vmbus_connection.connect_cpu = smp_processor_id();
> >
> > > +
xdriverproject.org' de...@linuxdriverproject.org>; 'o...@aepfle.de' ;
> 'a...@canonical.com' ; 'jasow...@redhat.com'
> ; vkuznets ;
> 'marcelo.ce...@canonical.com'
> Subject: RE: [PATCH] Drivers: hv: vmbus: Use raw_smp_processor_id() in
&g
> From: KY Srinivasan
> Sent: Thursday, August 30, 2018 09:28
> ...
> diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c
> @@ -119,8 +119,9 @@ static int vmbus_negotiate_version(struct
> vmbus_channel_msginfo *msginfo,
> */
>if (version >= VERSION_WIN8_1) {
>msg->ta
erproject.org' de...@linuxdriverproject.org>; 'o...@aepfle.de' ;
> 'a...@canonical.com' ; 'jasow...@redhat.com'
> ; vkuznets ;
> 'marcelo.ce...@canonical.com'
> Subject: [PATCH] Drivers: hv: vmbus: Use raw_smp_processor_id() in
> vm
With CONFIG_DEBUG_PREEMPT=y, I always see this warning:
BUG: using smp_processor_id() in preemptible []
Fix the false warning by using raw_smp_processor_id().
Here vmbus_connect() sends a message to the host and waits for the
host's response. The host will deliver the response message a