From: Scott Wood <scottwood@freescale.com>
To: Jia Hongtao-B38951 <B38951@freescale.com>
Cc: Wood Scott-B07421 <B07421@freescale.com>,
"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
Li Yang-R58472 <r58472@freescale.com>
Subject: Re: [PATCH 1/6] powerpc/fsl-pci: Unify pci/pcie initialization code
Date: Wed, 25 Jul 2012 12:23:36 -0500 [thread overview]
Message-ID: <50102B98.4000801@freescale.com> (raw)
In-Reply-To: <412C8208B4A0464FA894C5F0C278CD5D01A27578@039-SN1MPN1-002.039d.mgd.msft.net>
On 07/24/2012 09:35 PM, Jia Hongtao-B38951 wrote:
>
>
>> -----Original Message-----
>> From: Wood Scott-B07421
>> Sent: Wednesday, July 25, 2012 2:43 AM
>> To: Jia Hongtao-B38951
>> Cc: linuxppc-dev@lists.ozlabs.org; galak@kernel.crashing.org; Wood Scott-
>> B07421; Li Yang-R58472
>> Subject: Re: [PATCH 1/6] powerpc/fsl-pci: Unify pci/pcie initialization
>> code
>>
>> On 07/24/2012 05:20 AM, Jia Hongtao wrote:
>>> We unified the Freescale pci/pcie initialization by changing the
>> fsl_pci
>>> to a platform driver.
>>>
>>> In previous version pci/pcie initialization is in platform code which
>>> Initialize pci bridge base on EP/RC or host/agent settings.
>>
>> The previous version of what? This patch, or the PCI code? What
>> changed in this patch since the last time you sent it, and where is the
>> version number?
>>
>>> +#if defined(CONFIG_FSL_SOC_BOOKE) || defined(CONFIG_PPC_86xx)
>>> +static const struct of_device_id pci_ids[] = {
>>> + { .compatible = "fsl,mpc8540-pci", },
>>> + { .compatible = "fsl,mpc8548-pcie", },
>>> + { .compatible = "fsl,mpc8641-pcie", },
>>> + { .compatible = "fsl,p1022-pcie", },
>>> + { .compatible = "fsl,p1010-pcie", },
>>> + { .compatible = "fsl,p1023-pcie", },
>>> + { .compatible = "fsl,p4080-pcie", },
>>> + { .compatible = "fsl,qoriq-pcie-v2.3", },
>>> + { .compatible = "fsl,qoriq-pcie-v2.2", },
>>> + {},
>>> +};
>>
>> Again, please base this on the latest tree, which has my PCI patches.
>> This table already exists in this file. And you're still missing
>> fsl,mpc8610-pci.
>
> Sorry fsl,mpc8610-pci will be added.
To what? The table is already there in Linus's tree, with
fsl,mpc8610-pci. You don't need to add it again.
>> It's too late for swiotlb here. Again, please don't break something in
>> one patch and then fix it in a later patch. Use "git rebase -i" to edit
>> your patchset into a reviewable, bisectable form.
>>
>> -Scott
>
> Yes, bisectable requirement is sort of reasonable.
>
> But I check the SubmittingPatches Doc and it says "If one patch depends on
> another patch in order for a change to be complete, that is OK. Simply
> note 'this patch depends on patch X' in your patch description". In my
> opinion swiotlb is a whole functional patch so I separate them. Maybe
> I should add depends description in the next patch.
That's not what that means. What it means is that if someone else has
already posted a patch, and your patch is supposed to go on top of that
patch, you should mention that.
> About all this patch set Leo and I insist to make it as a platform driver
> which is architectural better. I didn't base this patch set on the latest
> tree and it's unapplicable just because I want to show the whole idea of
> this patchset. If the idea is ok for upstream I will rebase the patch set.
If that's the case, you should label it as an [RFC PATCH] (stands for
Request For Comments), and mention under the --- line any known issues,
such as that it doesn't apply to the current tree.
But it would be a lot easier to comment on it if it were based on the
current code, rather than having to speculate what you'd do when you rebase.
-Scott
next prev parent reply other threads:[~2012-07-25 17:23 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-24 10:20 [PATCH 1/6] powerpc/fsl-pci: Unify pci/pcie initialization code Jia Hongtao
2012-07-24 10:20 ` [PATCH 2/6] powerpc/fsl-pci: Check swiotlb enable at board setup_arch stage Jia Hongtao
2012-07-24 10:20 ` [PATCH 3/6] powerpc/fsl-pci: Determine primary bus by looking for ISA node Jia Hongtao
2012-07-24 18:47 ` Scott Wood
2012-07-25 2:42 ` Jia Hongtao-B38951
2012-07-25 17:25 ` Scott Wood
2012-07-26 2:20 ` Jia Hongtao-B38951
2012-07-27 1:34 ` Scott Wood
2012-07-27 2:07 ` Jia Hongtao-B38951
2012-07-27 16:37 ` Scott Wood
2012-07-25 9:01 ` Jia Hongtao-B38951
2012-07-25 17:27 ` Scott Wood
2012-07-24 10:20 ` [PATCH 4/6] powerpc/mpc85xx_ds: convert to unified PCI init Jia Hongtao
2012-07-24 10:20 ` [PATCH 5/6] powerpc/fsl-pci: Add pci inbound/outbound PM support Jia Hongtao
2012-07-27 13:24 ` Kumar Gala
2012-07-30 6:09 ` Jia Hongtao-B38951
2012-07-31 13:37 ` Kumar Gala
2012-08-02 11:35 ` Jia Hongtao-B38951
2012-08-07 10:11 ` Jia Hongtao-B38951
2012-08-07 15:34 ` Scott Wood
2012-08-07 17:34 ` Kumar Gala
2012-08-08 3:07 ` Jia Hongtao-B38951
2012-08-08 9:54 ` Jia Hongtao-B38951
2012-08-08 12:46 ` Kumar Gala
2012-08-08 21:04 ` Scott Wood
2012-08-09 10:32 ` Jia Hongtao-B38951
2012-08-09 2:52 ` Jia Hongtao-B38951
2012-08-09 5:05 ` Li Yang
2012-08-09 13:08 ` Kumar Gala
2012-08-10 2:17 ` Jia Hongtao-B38951
2012-07-24 10:20 ` [PATCH 6/6] Edac/85xx: Register mpc85xx_pci_err_driver by fsl_pci_driver Jia Hongtao
2012-07-24 18:42 ` [PATCH 1/6] powerpc/fsl-pci: Unify pci/pcie initialization code Scott Wood
2012-07-25 2:35 ` Jia Hongtao-B38951
2012-07-25 17:23 ` Scott Wood [this message]
2012-07-26 2:09 ` Jia Hongtao-B38951
2012-07-26 2:38 ` Jia Hongtao-B38951
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=50102B98.4000801@freescale.com \
--to=scottwood@freescale.com \
--cc=B07421@freescale.com \
--cc=B38951@freescale.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=r58472@freescale.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).