linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yongji Xie <xyjxie@linux.vnet.ibm.com>
To: "Koehrer Mathias (ETAS/ESW5)" <mathias.koehrer@etas.com>
Cc: Gavin Shan <gwshan@linux.vnet.ibm.com>,
	Bjorn Helgaas <helgaas@kernel.org>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"bhelgaas@google.com" <bhelgaas@google.com>
Subject: Re: [PATCH resend v2] Extending kernel option pci=resource_alignment to be able to specify PCI device/vendor IDs
Date: Tue, 26 Jul 2016 18:11:06 +0800	[thread overview]
Message-ID: <75813d7d-cadd-828f-737e-4113da3427d9@linux.vnet.ibm.com> (raw)
In-Reply-To: <00e437fe05f54c6a9df12bf48cf28dc5@FE-MBX1012.de.bosch.com>

Hi Mathias,


On 2016/7/25 14:05, Koehrer Mathias (ETAS/ESW5) wrote:
> Hi Gavin,
>
>> Mathias, The code change would conflict with Yongji's patch where the
>> wildcard introduced to identify PCI devices.
>>
>> https://patchwork.ozlabs.org/patch/642473/
> That's true, however it is also true the other way round. The first sending of my patch was
> 22-June 2016 and thus before Yongji's patch...
> See also the comment of Bjorn Helgaas on my patch (v1):
> http://marc.info/?l=linux-pci&m=146654644431550&w=2
>
> However it looks as if there are a couple of (conflicting) approaches for the issue with the alignment of PCI addresses flying around...
> My personal opinion is that the need to adapt the alignment of PCI addresses should be done on PCI device/vendor ids of relevant PCI devices and not on PCI addresses.
> The PCI addresses are likely to change e.g. by inserting another PCI board. The device/vendor id of the devices will not change.

Yes, your opinion is right. I think I will update my patches based on 
your change.

With your patch, seems like we can specify alignment for all PCI devices 
by using something like: pci=resource_alignment=4096@pci:0:0.
We'd better document it.

Thanks,
Yongji

  reply	other threads:[~2016-07-26 10:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-25  6:05 [PATCH resend v2] Extending kernel option pci=resource_alignment to be able to specify PCI device/vendor IDs Koehrer Mathias (ETAS/ESW5)
2016-07-26 10:11 ` Yongji Xie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-07-22 10:41 Koehrer Mathias (ETAS/ESW5)
2016-07-25  1:24 ` Gavin Shan

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=75813d7d-cadd-828f-737e-4113da3427d9@linux.vnet.ibm.com \
    --to=xyjxie@linux.vnet.ibm.com \
    --cc=bhelgaas@google.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=gwshan@linux.vnet.ibm.com \
    --cc=helgaas@kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=mathias.koehrer@etas.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).