From: Daniel Hellstrom <daniel@gaisler.com>
To: sparclinux@vger.kernel.org
Subject: Re: [PATCH v3] sparc,leon: support for GRPCI1 PCI host bridge controller
Date: Tue, 05 Mar 2013 15:51:29 +0000 [thread overview]
Message-ID: <51361481.2090108@gaisler.com> (raw)
In-Reply-To: <1362392724-27005-1-git-send-email-daniel@gaisler.com>
On 03/04/2013 09:47 PM, Sam Ravnborg wrote:
> On Mon, Mar 04, 2013 at 11:25:24AM +0100, Daniel Hellstrom wrote:
>> Some of the GRPCI1 cores does not support detection of all PCI
>> errors, the default is therefore limited PCI error handling.
>> The property all_pci_errors my be set by the boot loader to
>> enable interrupt on all PCI errors.
>>
>> Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
>> ---
>> arch/sparc/Kconfig | 11 +
>> arch/sparc/kernel/Makefile | 1 +
>> arch/sparc/kernel/leon_pci_grpci1.c | 724 +++++++++++++++++++++++++++++++++++
>> 3 files changed, 736 insertions(+), 0 deletions(-)
>> create mode 100644 arch/sparc/kernel/leon_pci_grpci1.c
>>
>> diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
>> index 9bff3db..9aa2cb8 100644
>> --- a/arch/sparc/Kconfig
>> +++ b/arch/sparc/Kconfig
>> @@ -500,6 +500,17 @@ config LEON_PCI
>> depends on PCI && SPARC_LEON
>> default y
>>
>> +config SPARC32_GRPCI1
>> + bool "GRPCI Host Bridge Support"
>> + depends on LEON_PCI
>> + default y
>> + help
>> + Say Y here to include the GRPCI Host Bridge Driver. The GRPCI
>> + PCI host controller is typically found in GRLIB SPARC32/LEON
>> + systems. The driver has one property (all_pci_errors) controlled
>> + from the bootloader that makes the GRPCI to generate interrupts
>> + on detected PCI Parity and System errors.
>> +
> Please - use SPARC_ prefix.
> All arch specific symbols shall have the ARCH_ prefix.
> In the x86 world we do: X86_32_ for the 32 bit specific symbols.
>
> I know someone(*) added a SPARC32_SMP - but thats not a good example to follow.
>
> (*) Yeah - that was me. I got wiser now.
>
> Sam
Sam and Dave, sorry for messing up this simple stuff. I simply did a typo. I appreciate your time and effort regarding this. I will update the two last patches shortly using SPARC_* instead.
Daniel
prev parent reply other threads:[~2013-03-05 15:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-04 10:25 [PATCH v3] sparc,leon: support for GRPCI1 PCI host bridge controller Daniel Hellstrom
2013-03-04 20:47 ` Sam Ravnborg
2013-03-05 15:51 ` Daniel Hellstrom [this message]
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=51361481.2090108@gaisler.com \
--to=daniel@gaisler.com \
--cc=sparclinux@vger.kernel.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.