All of lore.kernel.org
 help / color / mirror / Atom feed
From: decui@microsoft.com (Dexuan Cui)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1 0/3] PCI: Configure PCIe MPS settings
Date: Fri, 24 Feb 2017 15:10:42 +0000	[thread overview]
Message-ID: <CY4PR03MB2662B31A164D509D476A3B43BF520@CY4PR03MB2662.namprd03.prod.outlook.com> (raw)
In-Reply-To: <20170224143224.GA15547@bhelgaas-glaptop.roam.corp.google.com>

> From: Bjorn Helgaas
> ...
> My question wasn't so much whether pci-hyperv.c *needs* to set MPS; I
> don't expect a guest to need to or even be able to configure things
> like that.

I agree.

> My question is whether it would do any harm if we did eventually do
> MPS configuration in the generic pci_scan_child_bus() path.  If/when
> we do that, the Hyper-V guest will attempt to do MPS configuration.  I
> think this would be a no-op.

Yes. It's a no-op, as I explained in my previous mail.

>  And I think it would also be a no-op if
> we made pci-hyperv.c call pcie_bus_configure_settings() today.

Yes, I can confirm it's a no-op too.

> I'm really just looking for confirmation of that.  If it is true that
> these are no-ops, I would consider adding a pci-hyperv.c call to
> pcie_bus_configure_settings() simply to make it conform to the pattern
> that "everything that calls pci_scan_child_bus() should also call
> pcie_bus_configure_settings()".

Please help to add that. Thanks!
 
> If every caller of pci_scan_child_bus() also calls
> pcie_bus_configure_settings(), it will make it easier in the future to
> fold pcie_bus_configure_settings() into pci_scan_child_bus().
> 
> Bjorn

Thanks! I see.

Thanks,
-- Dexuan

  reply	other threads:[~2017-02-24 15:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-08 22:49 [PATCH v1 0/3] PCI: Configure PCIe MPS settings Bjorn Helgaas
2017-02-08 22:49 ` Bjorn Helgaas
2017-02-08 22:49 ` [PATCH v1 1/3] PCI: xilinx: " Bjorn Helgaas
2017-02-08 22:49   ` Bjorn Helgaas
2017-02-09  7:19   ` Christoph Hellwig
2017-02-09  7:19     ` Christoph Hellwig
2017-02-10 21:58     ` Bjorn Helgaas
2017-02-10 21:58       ` Bjorn Helgaas
2017-02-08 22:49 ` [PATCH v1 2/3] PCI: versatile: " Bjorn Helgaas
2017-02-08 22:49   ` Bjorn Helgaas
2017-02-08 22:49 ` [PATCH v1 3/3] PCI: xgene: " Bjorn Helgaas
2017-02-08 22:49   ` Bjorn Helgaas
2017-02-09  0:32 ` [PATCH v1 0/3] PCI: " KY Srinivasan
2017-02-10 21:59 ` Bjorn Helgaas
2017-02-10 21:59   ` Bjorn Helgaas
2017-02-24 11:16   ` Dexuan Cui
2017-02-24 11:16     ` Dexuan Cui
2017-02-24 14:32     ` Bjorn Helgaas
2017-02-24 14:32       ` Bjorn Helgaas
2017-02-24 15:10       ` Dexuan Cui [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-02-08 22:08 Bjorn Helgaas
2017-02-08 22:08 ` Bjorn Helgaas

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=CY4PR03MB2662B31A164D509D476A3B43BF520@CY4PR03MB2662.namprd03.prod.outlook.com \
    --to=decui@microsoft.com \
    --cc=linux-arm-kernel@lists.infradead.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.