public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Alex Chiang <achiang@hp.com>, Matthew Wilcox <matthew@wil.cx>,
	Justin Chen <justin.chen@hp.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: PCI BAR mem resource allocation "regression"
Date: Mon, 15 Dec 2008 16:53:58 -0800	[thread overview]
Message-ID: <200812151653.59024.jbarnes@virtuousgeek.org> (raw)
In-Reply-To: <alpine.LFD.2.00.0812151623440.3237@localhost.localdomain>

On Monday, December 15, 2008 4:25 pm Linus Torvalds wrote:> On Mon, 15 Dec 2008, Jesse Barnes wrote:> > I can put your patch in my -next branch if you think it would help (not> > that - next gets a ton of testing, but hey)...>> Better than nothing, I guess.>> We may end up back-porting it (since Chen confirms that it's not just a> warning, it actually affects functionality), but let's get it some testing> in -next first and then eventually in the merge window. So you might mark> it for attention for 'stable@kernel.org' as you commit it.
I pushed it to my -next branch, though I forgot to add the stable@ cc and fix up the comments while I was there... I think I'll have to rebase anyway, so I'll take care of both of those when I do.
Thanks,-- Jesse Barnes, Intel Open Source Technology Center
commit d4e9908a08199fe4d728c68cc7c5ca2d827ae99fAuthor: Linus Torvalds <torvalds@linux-foundation.org>Date:   Sat Dec 13 17:37:57 2008 -0800
    resource:  revert parent nesting of identical ranges        Revert the change that causes inverted resource nesting in the case of    identical resource ranges.  Initially introduced by    d33b6fba2c4350651f3f61ff2ab858a2f116e9a4, this change was provided    without a justification and seems to cause problems on some machines in    the face of PCI hot plugging.        The patch makes resources registered against an existing but identical    range nest as children of the existing resource, rather than parents.        Reported-by: Alex Chiang <achiang@hp.com>    Tested-by: Alex Chiang <achiang@hp.com>    Tested-by: Justin Chen <justin.chen@hp.com>    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
diff --git a/kernel/resource.c b/kernel/resource.cindex c251b0f..741357f 100644--- a/kernel/resource.c+++ b/kernel/resource.c@@ -381,8 +381,6 @@ static struct resource * __insert_resource(struct resource *parent, struct resou  		if ((first->start > new->start) || (first->end < new->end)) 			break;-		if ((first->start == new->start) && (first->end == new->end))-			break; 	}  	for (next = first; ; next = next->sibling) {\0ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

  reply	other threads:[~2008-12-16  0:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-13  0:05 PCI BAR mem resource allocation "regression" Alex Chiang
2008-12-13 17:16 ` Linus Torvalds
2008-12-13 17:41   ` Linus Torvalds
2008-12-14  1:12     ` Alex Chiang
2008-12-17  4:05     ` Matthew Wilcox
2008-12-14  1:05   ` Alex Chiang
2008-12-14  1:37     ` Linus Torvalds
2008-12-15 20:04       ` Jesse Barnes
2008-12-16  0:25         ` Linus Torvalds
2008-12-16  0:53           ` Jesse Barnes [this message]
2008-12-15 18:26     ` Chen, Justin
2008-12-15 22:29     ` Chen, Justin

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=200812151653.59024.jbarnes@virtuousgeek.org \
    --to=jbarnes@virtuousgeek.org \
    --cc=achiang@hp.com \
    --cc=justin.chen@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew@wil.cx \
    --cc=torvalds@linux-foundation.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