All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: Yishai Hadas <yishaih@nvidia.com>,
	"jgg@nvidia.com" <jgg@nvidia.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	"joao.m.martins@oracle.com" <joao.m.martins@oracle.com>,
	"maorg@nvidia.com" <maorg@nvidia.com>,
	"Tian, Kevin" <kevin.tian@intel.com>
Subject: Re: [PATCH V1 vfio 0/5] Improve mlx5 driver to better handle some error cases
Date: Thu, 22 Feb 2024 20:33:04 +0200	[thread overview]
Message-ID: <20240222183304.GA54170@unreal> (raw)
In-Reply-To: <20240222110405.759b8971.alex.williamson@redhat.com>

On Thu, Feb 22, 2024 at 11:04:05AM -0700, Alex Williamson wrote:
> On Wed, 21 Feb 2024 09:45:14 +0200
> Yishai Hadas <yishaih@nvidia.com> wrote:
> 
> > On 08/02/2024 10:16, Yishai Hadas wrote:
> > > On 06/02/2024 10:06, Yishai Hadas wrote:  
> > >> On 06/02/2024 9:35, Tian, Kevin wrote:  
> > >>>> From: Yishai Hadas <yishaih@nvidia.com>
> > >>>> Sent: Monday, February 5, 2024 8:48 PM
> > >>>>
> > >>>> This series improves the mlx5 driver to better handle some error cases
> > >>>> as of below.
> > >>>>
> > >>>> The first two patches let the driver recognize whether the firmware
> > >>>> moved the tracker object to an error state. In that case, the driver
> > >>>> will skip/block any usage of that object.
> > >>>>
> > >>>> The next two patches (#3, #4), improve the driver to better include the
> > >>>> proper firmware syndrome in dmesg upon a failure in some firmware
> > >>>> commands.
> > >>>>
> > >>>> The last patch follows the device specification to let the firmware 
> > >>>> know
> > >>>> upon leaving PRE_COPY back to RUNNING. (e.g. error in the target,
> > >>>> migration cancellation, etc.).
> > >>>>
> > >>>> This will let the firmware clean its internal resources that were 
> > >>>> turned
> > >>>> on upon PRE_COPY.
> > >>>>
> > >>>> Note:
> > >>>> As the first patch should go to net/mlx5, we may need to send it as a
> > >>>> pull request format to vfio before acceptance of the series, to avoid
> > >>>> conflicts.
> > >>>>
> > >>>> Changes from V0: https://lore.kernel.org/kvm/20240130170227.153464-1-
> > >>>> yishaih@nvidia.com/
> > >>>> Patch #2:
> > >>>> - Rename to use 'object changed' in some places to make it clearer.
> > >>>> - Enhance the commit log to better clarify the usage/use case.
> > >>>>
> > >>>> The above was suggested by Tian, Kevin <kevin.tian@intel.com>.
> > >>>>  
> > >>>
> > >>> this series looks good to me except a small remark on patch2:  
> > >>
> > >> We should be fine there, see my answer on V0.
> > >>  
> > >>>
> > >>> Reviewed-by: Kevin Tian <kevin.tian@intel.com>  
> > >>
> > >> Thanks Kevin, for your reviewed-by.
> > >>
> > >> Yishai
> > >>  
> > > 
> > > Alex
> > > 
> > > Are we OK here to continue with a PR for the first patch ?
> > > 
> > > It seems that we should be fine here.
> > > 
> > > Thanks,
> > > Yishai
> > >   
> > 
> > Hi Alex,
> > Any update here ?
> 
> Sure, if Leon wants to do a PR for struct
> mlx5_ifc_query_page_track_obj_out_bits, that's fine.  The series looks
> ok to me.  The struct definition is small enough to go through the vfio
> tree with Leon's ack, but I'll leave it to you to do the right thing
> relative to potential conflicts.  Thanks,

Alex, you are right, there is no need to send a PR for the first patch.
Please take it directly through your tree.

We don't have anything in our shared branch this cycle.

Acked-by: Leon Romanovsky <leon@kernel.org>

Thanks

> 
> Alex
> 

  reply	other threads:[~2024-02-22 18:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-05 12:48 [PATCH V1 vfio 0/5] Improve mlx5 driver to better handle some error cases Yishai Hadas
2024-02-05 12:48 ` [PATCH V1 vfio 1/5] net/mlx5: Add the IFC related bits for query tracker Yishai Hadas
2024-02-05 12:48 ` [PATCH V1 vfio 2/5] vfio/mlx5: Add support for tracker object change event Yishai Hadas
2024-02-05 12:48 ` [PATCH V1 vfio 3/5] vfio/mlx5: Handle the EREMOTEIO error upon the SAVE command Yishai Hadas
2024-02-05 12:48 ` [PATCH V1 vfio 4/5] vfio/mlx5: Block incremental query upon migf state error Yishai Hadas
2024-02-05 12:48 ` [PATCH V1 vfio 5/5] vfio/mlx5: Let firmware knows upon leaving PRE_COPY back to RUNNING Yishai Hadas
2024-02-06  7:35 ` [PATCH V1 vfio 0/5] Improve mlx5 driver to better handle some error cases Tian, Kevin
2024-02-06  8:06   ` Yishai Hadas
2024-02-08  8:16     ` Yishai Hadas
2024-02-21  7:45       ` Yishai Hadas
2024-02-22 18:04         ` Alex Williamson
2024-02-22 18:33           ` Leon Romanovsky [this message]
2024-02-22 21:37 ` Alex Williamson

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=20240222183304.GA54170@unreal \
    --to=leon@kernel.org \
    --cc=alex.williamson@redhat.com \
    --cc=jgg@nvidia.com \
    --cc=joao.m.martins@oracle.com \
    --cc=kevin.tian@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=maorg@nvidia.com \
    --cc=yishaih@nvidia.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 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.