mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Pekka J Enberg <penberg@cs.Helsinki.FI>
Cc: alesan@manoweb.com, torvalds@osdl.org,
	linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
	Dmitry Torokhov <dtor_core@ameritech.net>
Subject: Re: [PATCH] cardbus: revert IO window limit
Date: Thu, 22 Jun 2006 00:11:04 -0700	[thread overview]
Message-ID: <20060622001104.9e42fc54.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0606220947250.15059@sbz-30.cs.Helsinki.FI>

On Thu, 22 Jun 2006 09:48:05 +0300 (EEST)
Pekka J Enberg <penberg@cs.Helsinki.FI> wrote:

> From: Pekka Enberg <penberg@cs.helsinki.fi>
> 
> This patch reverts commit 4196c3af25d98204216a5d6c37ad2cb303a1f2bf "cardbus:
> limit IO windows to 256 bytes" which breaks Alessio Sangalli's machine boot
> when APM support is enabled. See http://lkml.org/lkml/2006/6/16/33 for
> description of the problem.
> 
> Cc: Alessio Sangalli <alesan@manoweb.com>
> Cc: Linus Torvalds <torvalds@osdl.org>
> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
> ---
> 
> diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
> index 28ce3a7..657be94 100644
> --- a/drivers/pci/setup-bus.c
> +++ b/drivers/pci/setup-bus.c
> @@ -40,7 +40,7 @@ #define ROUND_UP(x, a)		(((x) + (a) - 1)
>   * FIXME: IO should be max 256 bytes.  However, since we may
>   * have a P2P bridge below a cardbus bridge, we need 4K.
>   */
> -#define CARDBUS_IO_SIZE		(256)
> +#define CARDBUS_IO_SIZE		(4*1024)
>  #define CARDBUS_MEM_SIZE	(32*1024*1024)
>  
>  static void __devinit

There is something bad happening in there.  Presumably, this patch will
break the ThinkPad 600x series machines again though.

It'd be nice if this was related to
http://bugzilla.kernel.org/show_bug.cgi?id=6725, but I guess not.

Didn't all this stuff work in 2.4?

  reply	other threads:[~2006-06-22  7:11 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22  6:48 Pekka J Enberg
2006-06-22  7:11 ` Andrew Morton [this message]
2006-06-22  7:53   ` Alessio Sangalli
2006-06-22 11:35   ` Alan Cox
2006-06-22 16:18     ` Linus Torvalds
2006-06-22 16:36       ` Andrew Morton
2006-06-22 17:07         ` Linus Torvalds
2006-06-22 20:01           ` Alessio Sangalli
2006-06-22 21:27           ` Alessio Sangalli
2006-06-30  4:34             ` Pekka Enberg
2006-06-30 19:10             ` Linus Torvalds
2006-06-30 19:19               ` Dave Jones
2006-06-30 19:26                 ` Dave Jones
2006-06-30 22:15                   ` Linus Torvalds
2006-06-22 16:16   ` Linus Torvalds
2006-06-30 22:03 Daniel Ritz
2006-06-30 22:18 ` Linus Torvalds
2006-06-30 23:09   ` Daniel Ritz
2006-06-30 23:21     ` Linus Torvalds
2006-07-05  6:56       ` Pekka J Enberg
2006-07-12  7:55       ` Alessio Sangalli
2006-07-12 15:18         ` Linus Torvalds
2006-07-13  6:29           ` Alessio Sangalli
2006-07-12  7:29   ` Alessio Sangalli
2006-07-12  6:54 ` Alessio Sangalli
2006-07-05 18:29 Mallick, Asit K

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=20060622001104.9e42fc54.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=alesan@manoweb.com \
    --cc=dtor_core@ameritech.net \
    --cc=ink@jurassic.park.msu.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=penberg@cs.Helsinki.FI \
    --cc=torvalds@osdl.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®