From: Benjamin Herrenschmidt <benh@ozlabs.org>
To: akpm@linux-foundation.org
Cc: jeff@garzik.org, linux-ide@vger.kernel.org, alan@redhat.com
Subject: Re: [patch for 2.6.25? 1/1] pata_sil680: only enable MMIO on Cell blades
Date: Thu, 27 Mar 2008 18:48:21 +1100 [thread overview]
Message-ID: <1206604101.10388.2.camel@pasglop> (raw)
In-Reply-To: <200803270746.m2R7kjIL024193@imap1.linux-foundation.org>
On Thu, 2008-03-27 at 00:46 -0700, akpm@linux-foundation.org wrote:
> From: Benjamin Herrenschmidt <benh@ozlabs.org>
>
> There have been reported regressions of the SIL 680 driver when using MMIO, so
> this makes it only try MMIO on Cell blades where it's known to be necessary
> (the host bridge doesn't do PIO on these).
This should go in .25 please.
Cheers,
Ben.
> We'll try to find the root problem with MMIO separately.
>
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> Acked-by: Alan Cox <alan@redhat.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> drivers/ata/pata_sil680.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff -puN drivers/ata/pata_sil680.c~pata_sil680-only-enable-mmio-on-cell-blades drivers/ata/pata_sil680.c
> --- a/drivers/ata/pata_sil680.c~pata_sil680-only-enable-mmio-on-cell-blades
> +++ a/drivers/ata/pata_sil680.c
> @@ -229,7 +229,11 @@ static u8 sil680_init_chip(struct pci_de
> dev_dbg(&pdev->dev, "sil680: BA5_EN = %d clock = %02X\n",
> tmpbyte & 1, tmpbyte & 0x30);
>
> - *try_mmio = (tmpbyte & 1) || pci_resource_start(pdev, 5);
> + *try_mmio = 0;
> +#ifdef CONFIG_PPC
> + if (machine_is(cell))
> + *try_mmio = (tmpbyte & 1) || pci_resource_start(pdev, 5);
> +#endif
>
> switch(tmpbyte & 0x30) {
> case 0x00:
> _
prev parent reply other threads:[~2008-03-27 7:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-27 7:46 [patch for 2.6.25? 1/1] pata_sil680: only enable MMIO on Cell blades akpm
2008-03-27 7:48 ` Benjamin Herrenschmidt [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=1206604101.10388.2.camel@pasglop \
--to=benh@ozlabs.org \
--cc=akpm@linux-foundation.org \
--cc=alan@redhat.com \
--cc=jeff@garzik.org \
--cc=linux-ide@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;
as well as URLs for NNTP newsgroup(s).