All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Marcel Apfelbaum <marcel@redhat.com>
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
	qemu-devel@nongnu.org, armbru@redhat.com
Subject: Re: [Qemu-devel] [PATCH 0/3] pci: allow PCI bus slots to be marked as reserved
Date: Tue, 11 Jul 2017 18:57:54 +0300	[thread overview]
Message-ID: <20170711185430-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <1fc46dca-4fc5-a7cd-986e-1e11a64642f3@redhat.com>

On Tue, Jul 11, 2017 at 06:51:50PM +0300, Marcel Apfelbaum wrote:
> On 11/07/2017 18:31, Michael S. Tsirkin wrote:
> > On Fri, Jul 07, 2017 at 08:43:59AM +0100, Mark Cave-Ayland wrote:
> > > For some machines it is impossible to plug devices into a particular PCI bus
> > > slot, e.g. for a real Ultra 5 there are 2 PCI bridges attached to the root
> > > bus behind which all devices must be plugged. Ignoring this rule will cause
> > > problems with interrupt routing since the interrupt numbers are calculated
> > > based upon PCI bridge id and secondary PCI bus slot id.
> > > 
> > > This patchset adds a new dev_reserved_mask property to PCIBus which is a
> > > bitmask used to indicate whether PCI bus slots are reserved, i.e. they cannot
> > > be used for hot or cold plugging on a particular PCI bus.
> > > 
> > > Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> > 
> 
> Hi Michael,
> 
> > Could you please point me at series making use of this
> > functionality?
> 
> There is a discussion upstream, I am not aware of patches yet.
> 
> https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg00771.html
> 
> Thanks,
> Marcel

It is probably a good idea to defer merging this patchset
until there's an agreement on how it will be used.


> 
> > Thanks!
> > 
> > > 
> > > Mark Cave-Ayland (3):
> > >    pci: move check for existing devfn into new pci_bus_devfn_available()
> > >      helper
> > >    pci: add dev_reserved_mask property to PCIBus
> > >    pci: add reserved slot check to do_pci_register_device()
> > > 
> > >   hw/pci/pci.c             |   34 ++++++++++++++++++++++++++++++----
> > >   include/hw/pci/pci_bus.h |    1 +
> > >   2 files changed, 31 insertions(+), 4 deletions(-)
> > > 
> > > -- 
> > > 1.7.10.4

  reply	other threads:[~2017-07-11 15:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-07  7:43 [Qemu-devel] [PATCH 0/3] pci: allow PCI bus slots to be marked as reserved Mark Cave-Ayland
2017-07-07  7:44 ` [Qemu-devel] [PATCH 1/3] pci: move check for existing devfn into new pci_bus_devfn_available() helper Mark Cave-Ayland
2017-07-10  7:24   ` Marcel Apfelbaum
2017-07-10 12:44     ` Mark Cave-Ayland
2017-07-07  7:44 ` [Qemu-devel] [PATCH 2/3] pci: add dev_reserved_mask property to PCIBus Mark Cave-Ayland
2017-07-10  7:27   ` Marcel Apfelbaum
2017-07-10 12:49     ` Mark Cave-Ayland
2017-07-07  7:44 ` [Qemu-devel] [PATCH 3/3] pci: add reserved slot check to do_pci_register_device() Mark Cave-Ayland
2017-07-10  7:35   ` Marcel Apfelbaum
2017-07-10 13:05     ` Mark Cave-Ayland
2017-07-11 13:37       ` Marcel Apfelbaum
2017-07-11 15:31 ` [Qemu-devel] [PATCH 0/3] pci: allow PCI bus slots to be marked as reserved Michael S. Tsirkin
2017-07-11 15:51   ` Marcel Apfelbaum
2017-07-11 15:57     ` Michael S. Tsirkin [this message]
2017-07-11 17:59       ` Mark Cave-Ayland
2017-07-11 22:03         ` Mark Cave-Ayland

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=20170711185430-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=armbru@redhat.com \
    --cc=marcel@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel@nongnu.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.