All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Michael Schmitz <schmitz@biophys.uni-duesseldorf.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>, linux-m68k@vger.kernel.org
Subject: Re: Falcon IDE breakage [patch]
Date: Mon, 19 Jan 2009 13:24:58 +0100	[thread overview]
Message-ID: <200901191324.59086.bzolnier@gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.00.0901180219340.9820@zirkon.biophys.uni-duesseldorf.de>

On Sunday 18 January 2009, Michael Schmitz wrote:
> Hi,
> 
> > > your commit 5b31f855f10d0053e738baa6d91fb6a3fad35119 (introduction of IDE lock 
> > > helpers) breaks Atari Falcon IDE on the first request going out to the drive, if 
> > > I remove the request_irq() call from ide-probe.c (as it should be).
> > 
> > I assume this is on real hardware, as I didn't notice on ARAnyM?
> 
> Followup: never mind, I found out that this patch fixes the problem for me:
> (NB: still on ARAnyM, having two IDE drivers didn't matter, and I still have to 
> test the interaction of new IDE locking with SCSI)

I applied your patch, thanks.

> Any other side effects of IDE_HFLAG_SERIALIZE ??

Nope.

> (Actually I realize I could have stuck the flag in 
> falconide_port_info.host_flags instead - works just as well. Pick whatever suits 
> the IDE guys best)

OK, I made this fixup while merging the patch:

From: Michael Schmitz <schmitz@biophys.uni-duesseldorf.de>
Subject: ide: fix Falcon IDE breakage

[m68k] Falcon IDE: always serialize, in order to force execution of
       ide_get_lock() and friends.

Signed-off-By: Michael Schmitz <schmitz@debian.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
[bart: set flag in falconide_port_info instead of falconide_init()]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
 drivers/ide/falconide.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/drivers/ide/falconide.c
===================================================================
--- a/drivers/ide/falconide.c
+++ b/drivers/ide/falconide.c
@@ -82,7 +82,7 @@ static const struct ide_tp_ops falconide
 
 static const struct ide_port_info falconide_port_info = {
 	.tp_ops			= &falconide_tp_ops,
-	.host_flags		= IDE_HFLAG_NO_DMA,
+	.host_flags		= IDE_HFLAG_NO_DMA | IDE_HFLAG_SERIALIZE,
 };
 
 static void __init falconide_setup_ports(hw_regs_t *hw)
\0

  reply	other threads:[~2009-01-19 13:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 21:49 mac68k serial flameman mayer
2009-01-14  0:32 ` Brad Boyer
2009-01-14  1:50   ` Finn Thain
2009-01-16 23:31     ` Michael Schmitz
2009-01-17  3:13       ` Falcon IDE breakage Michael Schmitz
2009-01-17 11:58         ` Geert Uytterhoeven
2009-01-18  0:58           ` Michael Schmitz
2009-01-18  1:45           ` Falcon IDE breakage [patch] Michael Schmitz
2009-01-19 12:24             ` Bartlomiej Zolnierkiewicz [this message]
2009-01-18  2:10           ` [PATCH 1/3] m68k: section mismatch fixes: EtherNAT Michael Schmitz
2009-01-18  2:17             ` [PATCH 2/3] m68k: section mismatch fixes: DMAsound Michael Schmitz
2009-01-30 18:37               ` Geert Uytterhoeven
2009-01-18  2:22             ` [PATCH 3/3] m68k: section mismatch fixes: Atari SCSI Michael Schmitz
2009-01-30 18:38               ` Geert Uytterhoeven
2009-01-30 18:35             ` [PATCH 1/3] m68k: section mismatch fixes: EtherNAT Geert Uytterhoeven
2009-02-01  0:14               ` Michael Schmitz
2009-02-01  9:50                 ` Geert Uytterhoeven
2009-02-01 10:22                   ` Geert Uytterhoeven
2009-02-01 13:09                 ` David D. Kilzer
2009-02-02  3:36                   ` Michael Schmitz
2009-02-02  7:43                     ` Geert Uytterhoeven
2009-01-17  6:59       ` mac68k serial Finn Thain
2009-01-17  8:24         ` Brad Boyer
2009-01-18  0:43           ` Michael Schmitz
2009-01-18  5:18             ` Brad Boyer
2009-01-14 21:26 ` Kolbjørn Barmen

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=200901191324.59086.bzolnier@gmail.com \
    --to=bzolnier@gmail.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=schmitz@biophys.uni-duesseldorf.de \
    /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.