mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mike Rapoport" <mike.rapoport@gmail.com>
To: unlisted-recipients:; (no To-header on input)
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 02/03] CM-x270: ITE 8152 PCI bridge support
Date: Fri, 21 Sep 2007 22:11:59 +0200	[thread overview]
Message-ID: <f870da180709211311j4f8599afy4003bfdafb1200d1@mail.gmail.com> (raw)
In-Reply-To: <20070921130119.GB20538@flint.arm.linux.org.uk>

On 9/21/07, Russell King - ARM Linux <linux@arm.linux.org.uk> wrote:
> On Fri, Sep 21, 2007 at 12:42:55PM +0200, Guennadi Liakhovetski wrote:
> > On Thu, 20 Sep 2007, Mike Rapoport wrote:
> >
> > > This patch provides driver for ITE 8152 PCI bridge.
> > >
> > > Signed-off-by: Mike Rapoport <mike@compulab.co.il>
> > >
> > >  arch/arm/common/Makefile          |    1 +
> > >  arch/arm/common/it8152.c          |  387 +++++++++++++++++++++++++++++++++++++
> >
> > Shouldn't it go to drivers/pci and define a platform driver? it8152 is not
> > an ARM specific controller.
>
> drivers/pci is currently only used for the PCI bus infrastructure.  The
> setup of host bridges is very platform dependent.
>
> Also note that you should *avoid* DMA bounce wherever possible.
> The code is broken as designed.  Ensure that the DMA mask is set
> appropriately, and then moan elsewhere if things don't work.

That's more or less what I'm trying to do. ITE chip allows to address
up to 64Mbyte, so I have to ensure that *no* PCI device will ever try
to DMA above that limit.
I don't see other way to ensure it.


> -------------------------------------------------------------------
> List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
> FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
> Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
>


-- 
	Sincerely Yours,
		Mike.

  reply	other threads:[~2007-09-21 20:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-20 16:04 Mike Rapoport
2007-09-21 10:42 ` Guennadi Liakhovetski
2007-09-21 13:01   ` Russell King - ARM Linux
2007-09-21 20:11     ` Mike Rapoport [this message]
2007-09-21 20:11   ` Mike Rapoport

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=f870da180709211311j4f8599afy4003bfdafb1200d1@mail.gmail.com \
    --to=mike.rapoport@gmail.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®