Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1617415

Re: [PATCH v6] vfio error recovery: kernel support

From Alex Williamson <alex.williamson@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v6] vfio error recovery: kernel support
Date 2017-04-06 01:00 +0200
Message-ID <tt24a-dB-13@gated-at.bofh.it> (permalink)
References (6 earlier) <tsONA-kg-17@gated-at.bofh.it> <tsYWB-6NO-5@gated-at.bofh.it> <tt186-81R-15@gated-at.bofh.it> <tt1rs-8o8-17@gated-at.bofh.it> <tt1KN-8w3-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 6 Apr 2017 01:36:31 +0300
"Michael S. Tsirkin" <mst@redhat.com> wrote:

> On Wed, Apr 05, 2017 at 04:19:10PM -0600, Alex Williamson wrote:
> > On Thu, 6 Apr 2017 00:50:22 +0300
> > "Michael S. Tsirkin" <mst@redhat.com> wrote:
> >   
> > > On Wed, Apr 05, 2017 at 01:38:22PM -0600, Alex Williamson wrote:  
> > > > The previous intention of trying to handle all sorts of AER faults
> > > > clearly had more value, though even there the implementation and
> > > > configuration requirements restricted the practicality.  For instance
> > > > is AER support actually useful to a customer if it requires all ports
> > > > of a multifunction device assigned to the VM?  This seems more like a
> > > > feature targeting whole system partitioning rather than general VM
> > > > device assignment use cases.  Maybe that's ok, but it should be a clear
> > > > design decision.    
> > > 
> > > Alex, what kind of testing do you expect to be necessary?
> > > Would you say testing on real hardware and making it trigger
> > > AER errors is a requirement?  
> > 
> > Testing various fatal, non-fatal, and corrected errors with aer-inject,
> > especially in multfunction configurations (where more than one port
> > is actually usable) would certainly be required.  If we have cases where
> > the driver for a companion function can escalate a non-fatal error to a
> > bus reset, that should be tested, even if it requires temporary hacks to
> > the host driver for the companion function to trigger that case.  AER
> > handling is not something that the typical user is going to experience,
> > so it should to be thoroughly tested to make sure it works when needed
> > or there's little point to doing it at all.  Thanks,
> > 
> > Alex  
> 
> Some things can be tested within a VM. What would you
> say would be sufficient on a VM and what has to be
> tested on bare metal?

Testing on a VM could be interesting for development, but I'd expect
bare metal for validation, no offense.  Bus reset timing can be
different, error propagation can be different, etc.  Thanks,

Alex

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v6] vfio error recovery: kernel support Cao jin <caoj.fnst@cn.fujitsu.com> - 2017-03-28 15:50 +0200
  Re: [PATCH v6] vfio error recovery: kernel support Alex Williamson <alex.williamson@redhat.com> - 2017-03-28 18:20 +0200
    Re: [PATCH v6] vfio error recovery: kernel support "Michael S. Tsirkin" <mst@redhat.com> - 2017-03-29 02:10 +0200
      Re: [PATCH v6] vfio error recovery: kernel support Alex Williamson <alex.williamson@redhat.com> - 2017-03-29 05:00 +0200
        Re: [PATCH v6] vfio error recovery: kernel support "Michael S. Tsirkin" <mst@redhat.com> - 2017-03-30 20:10 +0200
          Re: [PATCH v6] vfio error recovery: kernel support Alex Williamson <alex.williamson@redhat.com> - 2017-03-30 20:20 +0200
            Re: [PATCH v6] vfio error recovery: kernel support Cao jin <caoj.fnst@cn.fujitsu.com> - 2017-04-05 10:50 +0200
              Re: [PATCH v6] vfio error recovery: kernel support Alex Williamson <alex.williamson@redhat.com> - 2017-04-05 21:40 +0200
                Re: [PATCH v6] vfio error recovery: kernel support "Michael S. Tsirkin" <mst@redhat.com> - 2017-04-06 00:00 +0200
                Re: [PATCH v6] vfio error recovery: kernel support Alex Williamson <alex.williamson@redhat.com> - 2017-04-06 00:20 +0200
                Re: [PATCH v6] vfio error recovery: kernel support "Michael S. Tsirkin" <mst@redhat.com> - 2017-04-06 00:40 +0200
                Re: [PATCH v6] vfio error recovery: kernel support Alex Williamson <alex.williamson@redhat.com> - 2017-04-06 01:00 +0200
                Re: [PATCH v6] vfio error recovery: kernel support Cao jin <caoj.fnst@cn.fujitsu.com> - 2017-04-06 11:10 +0200
                Re: [PATCH v6] vfio error recovery: kernel support Alex Williamson <alex.williamson@redhat.com> - 2017-04-06 17:40 +0200
                Re: [PATCH v6] vfio error recovery: kernel support Cao jin <caoj.fnst@cn.fujitsu.com> - 2017-04-06 11:40 +0200
              Re: [PATCH v6] vfio error recovery: kernel support "Michael S. Tsirkin" <mst@redhat.com> - 2017-04-06 00:00 +0200
                Re: [PATCH v6] vfio error recovery: kernel support Cao jin <caoj.fnst@cn.fujitsu.com> - 2017-04-06 11:40 +0200
                Re: [PATCH v6] vfio error recovery: kernel support Alex Williamson <alex.williamson@redhat.com> - 2017-04-06 17:40 +0200

csiph-web