All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Parri <parri.andrea@gmail.com>
To: Wei Liu <wei.liu@kernel.org>
Cc: linux-kernel@vger.kernel.org,
	"K . Y . Srinivasan" <kys@microsoft.com>,
	Haiyang Zhang <haiyangz@microsoft.com>,
	Stephen Hemminger <sthemmin@microsoft.com>,
	linux-hyperv@vger.kernel.org,
	Michael Kelley <mikelley@microsoft.com>,
	Dexuan Cui <decui@microsoft.com>,
	Boqun Feng <boqun.feng@gmail.com>,
	Vitaly Kuznetsov <vkuznets@redhat.com>,
	"David S. Miller" <davem@davemloft.net>,
	Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
	Andrew Murray <amurray@thegoodpenguin.co.uk>,
	Bjorn Helgaas <bhelgaas@google.com>,
	"James E.J. Bottomley" <jejb@linux.ibm.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH 00/11] VMBus channel interrupt reassignment
Date: Mon, 13 Apr 2020 19:07:39 +0200	[thread overview]
Message-ID: <20200413170739.GA28863@andrea> (raw)
In-Reply-To: <20200413154836.rfvkbcg654pc5t5n@debian>

On Mon, Apr 13, 2020 at 04:48:36PM +0100, Wei Liu wrote:
> On Mon, Apr 06, 2020 at 02:15:03AM +0200, Andrea Parri (Microsoft) wrote:
> > Hi all,
> > 
> > This is a follow-up on the RFC submission [1].  The series introduces
> > changes in the VMBus drivers to reassign the CPU that a VMbus channel
> > will interrupt.  This feature can be used for load balancing or other
> > purposes (e.g. CPU offlining).  The submission integrates feedback in
> > the RFC to amend the handling of the 'array of channels' (patch #3).
> > 
> > Thanks,
> >   Andrea
> > 
> > [1] https://lkml.kernel.org/r/20200325225505.23998-1-parri.andrea@gmail.com
> > 
> > Cc: "David S. Miller" <davem@davemloft.net>
> > Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
> > Cc: Andrew Murray <amurray@thegoodpenguin.co.uk>
> > Cc: Bjorn Helgaas <bhelgaas@google.com>
> > Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
> > Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
> > 
> > Andrea Parri (Microsoft) (11):
> >   Drivers: hv: vmbus: Always handle the VMBus messages on CPU0
> >   Drivers: hv: vmbus: Don't bind the offer&rescind works to a specific
> >     CPU
> >   Drivers: hv: vmbus: Replace the per-CPU channel lists with a global
> >     array of channels
> >   hv_netvsc: Disable NAPI before closing the VMBus channel
> >   hv_utils: Always execute the fcopy and vss callbacks in a tasklet
> >   Drivers: hv: vmbus: Use a spin lock for synchronizing channel
> >     scheduling vs. channel removal
> >   PCI: hv: Prepare hv_compose_msi_msg() for the
> >     VMBus-channel-interrupt-to-vCPU reassignment functionality
> >   Drivers: hv: vmbus: Remove the unused HV_LOCALIZED channel affinity
> >     logic
> >   Drivers: hv: vmbus: Synchronize init_vp_index() vs. CPU hotplug
> >   Drivers: hv: vmbus: Introduce the CHANNELMSG_MODIFYCHANNEL message
> >     type
> >   scsi: storvsc: Re-init stor_chns when a channel interrupt is
> >     re-assigned
> > 
> 
> Applied to hyperv-next. Thanks.
> 
> This hunk in patch 10 doesn't apply cleanly because it conflicts with
> Vitaly's patch.
> 
> diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
> index 3785beead503d..1058c814ab06e 100644
> --- a/drivers/hv/channel_mgmt.c
> +++ b/drivers/hv/channel_mgmt.c
> @@ -1377,7 +1377,7 @@ channel_message_table[CHANNELMSG_COUNT] = {
>         { CHANNELMSG_19,                        0, NULL },
>         { CHANNELMSG_20,                        0, NULL },
>         { CHANNELMSG_TL_CONNECT_REQUEST,        0, NULL },
> -       { CHANNELMSG_22,                        0, NULL },
> +       { CHANNELMSG_MODIFYCHANNEL,             0, NULL },
>         { CHANNELMSG_TL_CONNECT_RESULT,         0, NULL },
>  };
> 
> I have fixed it up. New hunk looks like:
> 
> diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
> index a6b21838e2de..9c62eb5e4135 100644
> --- a/drivers/hv/channel_mgmt.c
> +++ b/drivers/hv/channel_mgmt.c
> @@ -1380,7 +1380,7 @@ channel_message_table[CHANNELMSG_COUNT] = {
>         { CHANNELMSG_19,                        0, NULL, 0},
>         { CHANNELMSG_20,                        0, NULL, 0},
>         { CHANNELMSG_TL_CONNECT_REQUEST,        0, NULL, 0},
> -       { CHANNELMSG_22,                        0, NULL, 0},
> +       { CHANNELMSG_MODIFYCHANNEL,             0, NULL, 0},
>         { CHANNELMSG_TL_CONNECT_RESULT,         0, NULL, 0},
>  };

The fix looks good to me.  Thank you Wei!

Thanks,
  Andrea

      reply	other threads:[~2020-04-13 17:07 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06  0:15 [PATCH 00/11] VMBus channel interrupt reassignment Andrea Parri (Microsoft)
2020-04-06  0:15 ` [PATCH 01/11] Drivers: hv: vmbus: Always handle the VMBus messages on CPU0 Andrea Parri (Microsoft)
2020-04-10 17:18   ` Michael Kelley
2020-04-06  0:15 ` [PATCH 02/11] Drivers: hv: vmbus: Don't bind the offer&rescind works to a specific CPU Andrea Parri (Microsoft)
2020-04-10 17:23   ` Michael Kelley
2020-04-06  0:15 ` [PATCH 03/11] Drivers: hv: vmbus: Replace the per-CPU channel lists with a global array of channels Andrea Parri (Microsoft)
2020-04-10 17:29   ` Michael Kelley
2020-04-06  0:15 ` [PATCH 04/11] hv_netvsc: Disable NAPI before closing the VMBus channel Andrea Parri (Microsoft)
2020-04-10 19:20   ` Michael Kelley
2020-04-06  0:15 ` [PATCH 05/11] hv_utils: Always execute the fcopy and vss callbacks in a tasklet Andrea Parri (Microsoft)
2020-04-10 19:26   ` Michael Kelley
2020-04-06  0:15 ` [PATCH 06/11] Drivers: hv: vmbus: Use a spin lock for synchronizing channel scheduling vs. channel removal Andrea Parri (Microsoft)
2020-04-10 19:28   ` Michael Kelley
2020-04-06  0:15 ` [PATCH 07/11] PCI: hv: Prepare hv_compose_msi_msg() for the VMBus-channel-interrupt-to-vCPU reassignment functionality Andrea Parri (Microsoft)
2020-04-10 19:30   ` Michael Kelley
2020-04-06  0:15 ` [PATCH 08/11] Drivers: hv: vmbus: Remove the unused HV_LOCALIZED channel affinity logic Andrea Parri (Microsoft)
2020-04-10 19:32   ` Michael Kelley
2020-04-06  0:15 ` [PATCH 09/11] Drivers: hv: vmbus: Synchronize init_vp_index() vs. CPU hotplug Andrea Parri (Microsoft)
2020-04-10 19:33   ` Michael Kelley
2020-04-06  0:15 ` [PATCH 10/11] Drivers: hv: vmbus: Introduce the CHANNELMSG_MODIFYCHANNEL message type Andrea Parri (Microsoft)
2020-04-10 19:34   ` Michael Kelley
2020-04-06  0:15 ` [PATCH 11/11] scsi: storvsc: Re-init stor_chns when a channel interrupt is re-assigned Andrea Parri (Microsoft)
2020-04-06 19:54   ` Long Li
2020-04-07  0:35     ` Andrea Parri
2020-04-08  2:25       ` Long Li
2020-04-08 14:54         ` Andrea Parri
2020-04-10 19:35   ` Michael Kelley
2020-04-13 15:48 ` [PATCH 00/11] VMBus channel interrupt reassignment Wei Liu
2020-04-13 17:07   ` Andrea Parri [this message]

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=20200413170739.GA28863@andrea \
    --to=parri.andrea@gmail.com \
    --cc=amurray@thegoodpenguin.co.uk \
    --cc=bhelgaas@google.com \
    --cc=boqun.feng@gmail.com \
    --cc=davem@davemloft.net \
    --cc=decui@microsoft.com \
    --cc=haiyangz@microsoft.com \
    --cc=jejb@linux.ibm.com \
    --cc=kys@microsoft.com \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=martin.petersen@oracle.com \
    --cc=mikelley@microsoft.com \
    --cc=sthemmin@microsoft.com \
    --cc=vkuznets@redhat.com \
    --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 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.