linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: cbouatmailru@gmail.com (Anton Vorontsov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] cns3xxx: Add basic support for Cavium Networks CNS3xxx processors
Date: Fri, 26 Mar 2010 16:22:57 +0300	[thread overview]
Message-ID: <20100326132257.GA23201@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <20100325202308.GA24984@n2100.arm.linux.org.uk>

On Thu, Mar 25, 2010 at 08:23:08PM +0000, Russell King - ARM Linux wrote:
> On Thu, Mar 25, 2010 at 11:10:40PM +0300, Anton Vorontsov wrote:
[...]
> > +#include <mach/io.h>
> 
> linux/io.h please.

Will fix, thanks.

[...]
> > +	mi->bank[0].node = 0;
> 
> Can you not supply this via a built-in command line or a command line
> from the boot loader?

Yep, mem=128M is actually specified in the defconfig, and
this fixup is just a leftover. Will remove.

> > +++ b/arch/arm/mach-cns3xxx/include/mach/vmalloc.h
[...]
> > +#define VMALLOC_END		(PAGE_OFFSET + 0x18000000)
> 
> This should be defined as the maximum address of the vmalloc area,
> which should be independent of PAGE_OFFSET.

Ah, vmalloc has no fixed start address. Will fix.

But then arm/mm/mmu.c:create_mapping() wrongly assumes that vmalloc
starts at PAGE_OFFSET? At least it has 'md->virtual >= PAGE_OFFSET &&
md->virtual < VMALLOC_END' check, and prints 'overlaps vmalloc space'
error.

> > diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
> > index c4ed9f9..488bcb1 100644
> > --- a/arch/arm/mm/Kconfig
> > +++ b/arch/arm/mm/Kconfig
> > @@ -384,7 +384,7 @@ config CPU_FEROCEON_OLD_ID
> >  
> >  # ARMv6
> >  config CPU_V6
> > -	bool "Support ARM V6 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX || ARCH_DOVE
> > +	bool "Support ARM V6 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX || ARCH_DOVE || ARCH_CNS3XXX
> 
> So I assume by this your platform can boot without having a processor of
> any kind?

:-) Will fix.

Thanks!

-- 
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2

  reply	other threads:[~2010-03-26 13:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 20:08 [PATCH 0/4] Support for Cavium Networks CNS3xxx machines Anton Vorontsov
2010-03-25 20:10 ` [PATCH 1/4] cns3xxx: Add basic support for Cavium Networks CNS3xxx processors Anton Vorontsov
2010-03-25 20:23   ` Russell King - ARM Linux
2010-03-26 13:22     ` Anton Vorontsov [this message]
2010-03-26 23:08       ` Russell King - ARM Linux
2010-03-25 22:03   ` Sergei Shtylyov
2010-03-25 20:10 ` [PATCH 2/4] cns3xxx: Add defconfig for CNS3420 validation board Anton Vorontsov
2010-03-25 20:10 ` [PATCH 3/4] cns3xxx: Add support for SDHCI controllers Anton Vorontsov
2010-03-25 20:10 ` [PATCH 4/4] cns3xxx: Add support for AHCI controllers Anton Vorontsov

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=20100326132257.GA23201@oksana.dev.rtsoft.ru \
    --to=cbouatmailru@gmail.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 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).