<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-49</id>
	<title>Nabble - linux-kernel</title>
	<updated>2009-11-25T12:38:27Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/linux-kernel-f49.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linux-kernel-f49.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26519904</id>
	<title>Re: [PATCH 62/86] pata_pdc202xx_old: document known issues</title>
	<published>2009-11-25T12:38:27Z</published>
	<updated>2009-11-25T12:38:27Z</updated>
	<author>
		<name>Jeff Garzik-3</name>
	</author>
	<content type="html">On 11/25/2009 01:29 PM, Bartlomiej Zolnierkiewicz wrote:
&lt;br&gt;&amp;gt; I think it is the best to leave up to the driver maintainer
&lt;br&gt;&amp;gt; (once we find out who this person is, MAINTAINERS file still
&lt;br&gt;&amp;gt; lacks info about PATA drivers in -rc8).
&lt;br&gt;&lt;br&gt;&lt;br&gt;The important thing is taking two minutes to write a relevant comment, 
&lt;br&gt;not determining who is wearing a crown on his head.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519904&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-00-86--PATA-fixes-tp26516509p26519904.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519863</id>
	<title>Re: [PATCH] Port ricoh_mmc from driver to pci quirk.</title>
	<published>2009-11-25T12:30:36Z</published>
	<updated>2009-11-25T12:30:36Z</updated>
	<author>
		<name>Pierre Ossman-6</name>
	</author>
	<content type="html">On Wed, 25 Nov 2009 08:53:24 -0800
&lt;br&gt;Philip Langdale &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519863&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;philipl@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, 25 Nov 2009 16:58:41 +0200
&lt;br&gt;&amp;gt; Maxim Levitsky &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519863&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maximlevitsky@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;From 5c5e6f5ab1a5a09a430f410cab4b160a5e65501c Mon Sep 17 00:00:00
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;2001
&lt;br&gt;&amp;gt; &amp;gt; From: Maxim Levitsky &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519863&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maximlevitsky@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Date: Wed, 25 Nov 2009 16:37:46 +0200
&lt;br&gt;&amp;gt; &amp;gt; Subject: [PATCH] Port ricoh_mmc from driver to pci quirk.
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;This is much cleaner and correct solution
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm fine with the concept, but when I originally started work on
&lt;br&gt;&amp;gt; Ricoh support, Pierre specifically didn't want a pci quirk.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Pierre wrote:
&lt;br&gt;&amp;gt; &amp;gt; I'd rather we didn't. The current style of quirks are bad enough,
&lt;br&gt;&amp;gt; &amp;gt; making them even more vendor or device specific is a bit more than I'm
&lt;br&gt;&amp;gt; &amp;gt; willing to accept right now (seriously, how hard can it be to follow
&lt;br&gt;&amp;gt; &amp;gt; the damn spec?).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Pierre's not officially the maintainer anymore but I still respect his
&lt;br&gt;&amp;gt; opinions here. Given that a pci quirk solves this problem so simply,
&lt;br&gt;&amp;gt; I think it's justified at this point.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Pierre, do you want to comment?
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;/div&gt;I was talking about the quirks mechanism in sdhci, not pci quirks. :)
&lt;br&gt;&lt;br&gt;I have no objections to this patch.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would at least suggest a printk so ensure people know this is
&lt;br&gt;&amp;gt; happening - otherwise there's no visible evidence that the system
&lt;br&gt;&amp;gt; even has an MMC controller that's been disabled.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Agreed. There might be cases where we cause problems since we don't
&lt;br&gt;fully understand this hardware.
&lt;br&gt;&lt;br&gt;Rgds
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-- Pierre Ossman
&lt;br&gt;&lt;br&gt;&amp;nbsp; WARNING: This correspondence is being monitored by FRA, a
&lt;br&gt;&amp;nbsp; Swedish intelligence agency. Make sure your server uses
&lt;br&gt;&amp;nbsp; encryption for SMTP traffic and consider using PGP for
&lt;br&gt;&amp;nbsp; end-to-end encryption.
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26519863/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-work-of-ricoh_mmc-isn%27t-detected-by-pci-core-tp26488498p26519863.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519694</id>
	<title>Re: [PATCH 4/5] lockd: Remove unused nfsd headers #includes</title>
	<published>2009-11-25T12:23:24Z</published>
	<updated>2009-11-25T12:23:24Z</updated>
	<author>
		<name>J. Bruce Fields-2</name>
	</author>
	<content type="html">On Wed, Nov 25, 2009 at 03:10:11PM -0500, J. Bruce Fields wrote:
&lt;br&gt;&amp;gt; On Tue, Nov 24, 2009 at 08:03:12PM +0200, Boaz Harrosh wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; In what history where these ever needed? Well not
&lt;br&gt;&amp;gt; &amp;gt; any more.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Applied, thanks.--b.
&lt;br&gt;&lt;br&gt;Um, I said that before I actually tried to compile it.... &amp;nbsp;OK, dropping
&lt;br&gt;for now (assuming I'm missing some earlier patch).
&lt;br&gt;&lt;br&gt;--b.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Signed-off-by: Boaz Harrosh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519694&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bharrosh@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ---
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;fs/lockd/svc4proc.c | &amp;nbsp; &amp;nbsp;4 ----
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;fs/lockd/svcproc.c &amp;nbsp;| &amp;nbsp; &amp;nbsp;4 ----
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;2 files changed, 0 insertions(+), 8 deletions(-)
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; diff --git a/fs/lockd/svc4proc.c b/fs/lockd/svc4proc.c
&lt;br&gt;&amp;gt; &amp;gt; index bd173a6..a7966ee 100644
&lt;br&gt;&amp;gt; &amp;gt; --- a/fs/lockd/svc4proc.c
&lt;br&gt;&amp;gt; &amp;gt; +++ b/fs/lockd/svc4proc.c
&lt;br&gt;&amp;gt; &amp;gt; @@ -11,10 +11,6 @@
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;#include &amp;lt;linux/time.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;#include &amp;lt;linux/slab.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;#include &amp;lt;linux/smp_lock.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -#include &amp;lt;linux/in.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -#include &amp;lt;linux/sunrpc/svc.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -#include &amp;lt;linux/sunrpc/clnt.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;#include &amp;lt;linux/lockd/lockd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;#include &amp;lt;linux/lockd/share.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; diff --git a/fs/lockd/svcproc.c b/fs/lockd/svcproc.c
&lt;br&gt;&amp;gt; &amp;gt; index e1d28dd..56c9519 100644
&lt;br&gt;&amp;gt; &amp;gt; --- a/fs/lockd/svcproc.c
&lt;br&gt;&amp;gt; &amp;gt; +++ b/fs/lockd/svcproc.c
&lt;br&gt;&amp;gt; &amp;gt; @@ -11,10 +11,6 @@
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;#include &amp;lt;linux/time.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;#include &amp;lt;linux/slab.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;#include &amp;lt;linux/smp_lock.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -#include &amp;lt;linux/in.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -#include &amp;lt;linux/sunrpc/svc.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -#include &amp;lt;linux/sunrpc/clnt.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;#include &amp;lt;linux/lockd/lockd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;#include &amp;lt;linux/lockd/share.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; -- 
&lt;br&gt;&amp;gt; &amp;gt; 1.6.5.2
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;/div&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519694&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCHSET-0-5--remove-unneeded-nfsd--includes-tp26500687p26519694.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519718</id>
	<title>Re: BUG at scsi_lib.c:1108 [Was: mmotm 2009-11-24-16-47 uploaded]</title>
	<published>2009-11-25T12:22:57Z</published>
	<updated>2009-11-25T12:22:57Z</updated>
	<author>
		<name>Jiri Slaby</name>
	</author>
	<content type="html">On 11/25/2009 04:19 PM, James Bottomley wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, 2009-11-25 at 16:12 +0100, Jiri Slaby wrote:
&lt;br&gt;&amp;gt;&amp;gt; On 11/25/2009 01:47 AM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519718&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;akpm@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The mm-of-the-moment snapshot 2009-11-24-16-47 has been uploaded to
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi, I'm hitting the BUG below in the past two -mmotm's
&lt;br&gt;&amp;gt;&amp;gt; (2009-11-24-16-47, 2009-11-17-14-03):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So this looks like some type of bug in the barrier code. What the BUG_ON
&lt;br&gt;&amp;gt; is saying is that something sent us a REQ_TYPE_FS (which should be a
&lt;br&gt;&amp;gt; filesystem read or write) with no attached data, so we can't process it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've cc'd Jens to see what he thinks.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Could you bisect this to find the offending commit?
&lt;/div&gt;&lt;br&gt;Hmm. I bisected it twice to
&lt;br&gt;commit 1bebedd653e1bb0440ebf40724c55791c21ad7cc
&lt;br&gt;Merge: a8d5ddf 62fa36a
&lt;br&gt;Author: Stephen Rothwell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519718&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfr@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: &amp;nbsp; Wed Nov 25 17:42:47 2009 +1100
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Merge remote branch 'md/for-next'
&lt;br&gt;&lt;br&gt;&lt;br&gt;It doesn't make sense at all. How can empty merge cause a regression?
&lt;br&gt;And md/for-next doesn't produce the BUG.
&lt;br&gt;&lt;br&gt;After the 1st bisection I did
&lt;br&gt;&amp;nbsp;git checkout 1bebedd653e1bb0440ebf40724c55791c21ad7cc
&lt;br&gt;and built it. It crashed. Then I did
&lt;br&gt;&amp;nbsp;git bisect start 1bebedd origin/stable
&lt;br&gt;where origin is next. And got back to the 1bebedd by bisection.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;js
&lt;br&gt;Faculty of Informatics, Masaryk University
&lt;br&gt;Suse Labs, Novell
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519718&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mmotm-2009-11-24-16-47-uploaded-tp26506050p26519718.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519678</id>
	<title>[PATCH] hw-breakpoints: Fix unused function in off-case</title>
	<published>2009-11-25T12:20:53Z</published>
	<updated>2009-11-25T12:20:53Z</updated>
	<author>
		<name>Frederic Weisbecker-3</name>
	</author>
	<content type="html">bp_perf_event_destroy() is unused in its off-case version, let's remove
&lt;br&gt;it to fix the following warning:
&lt;br&gt;&lt;br&gt;kernel/perf_event.c:4306: warning: 'bp_perf_event_destroy' defined but not used
&lt;br&gt;&lt;br&gt;Reported-by: Stephen Rothwell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519678&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfr@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Signed-off-by: Frederic Weisbecker &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519678&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fweisbec@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Peter Zijlstra &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519678&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peterz@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;kernel/perf_event.c | &amp;nbsp; &amp;nbsp;4 ----
&lt;br&gt;&amp;nbsp;1 files changed, 0 insertions(+), 4 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/kernel/perf_event.c b/kernel/perf_event.c
&lt;br&gt;index 35df94e..b119e4e 100644
&lt;br&gt;--- a/kernel/perf_event.c
&lt;br&gt;+++ b/kernel/perf_event.c
&lt;br&gt;@@ -4303,10 +4303,6 @@ void perf_bp_event(struct perf_event *bp, void *data)
&lt;br&gt;&amp;nbsp;		perf_swevent_add(bp, 1, 1, &amp;sample, regs);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;#else
&lt;br&gt;-static void bp_perf_event_destroy(struct perf_event *event)
&lt;br&gt;-{
&lt;br&gt;-}
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;static const struct pmu *bp_perf_event_init(struct perf_event *bp)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	return NULL;
&lt;br&gt;-- 
&lt;br&gt;1.6.2.3
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519678&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linux-next%3A-tip-tree-build-warning-tp26510777p26519678.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519654</id>
	<title>Re: [PATCH] SLUB: Fix __GFP_ZERO unlikely() annotation</title>
	<published>2009-11-25T12:19:44Z</published>
	<updated>2009-11-25T12:19:44Z</updated>
	<author>
		<name>Pekka Enberg-3</name>
	</author>
	<content type="html">On Wed, Nov 25, 2009 at 10:15 PM, Christoph Lameter
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519654&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cl@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; On Wed, 25 Nov 2009, Pekka Enberg wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Because that has no effect on the generated code.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does this affect the cycle count in slab_alloc?
&lt;br&gt;&lt;br&gt;Joe's suggestion doesn't change the generated code, my patch does and
&lt;br&gt;probably changes cycle count. Let me see if I can run the in-kernel
&lt;br&gt;slab tests.
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519654&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--SLUB%3A-Fix-__GFP_ZERO-unlikely%28%29-annotation-tp26517846p26519654.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519635</id>
	<title>Re: [PATCH 1/2] hrtimer: correct a few numbers in comments and printk outputs</title>
	<published>2009-11-25T12:18:39Z</published>
	<updated>2009-11-25T12:18:39Z</updated>
	<author>
		<name>Thomas Gleixner</name>
	</author>
	<content type="html">On Wed, 25 Nov 2009, Andrew Morton wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, 24 Nov 2009 11:14:03 +0100
&lt;br&gt;&amp;gt; Uwe Kleine-K__nig &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519635&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;u.kleine-koenig@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hello Andrew,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; On Mon, Nov 23, 2009 at 03:25:16PM -0800, Andrew Morton wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On Fri, 20 Nov 2009 20:23:39 +0100
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Uwe Kleine-K__nig &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519635&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;u.kleine-koenig@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; @@ -52,7 +52,7 @@ int tick_dev_program_event(struct clock_event_device *dev, ktime_t expires,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp;			printk(KERN_WARNING
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;CE: %s increasing min_delta_ns to %lu nsec\n&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp; dev-&amp;gt;name ? dev-&amp;gt;name : &amp;quot;?&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; -			 &amp;nbsp; &amp;nbsp; &amp;nbsp; dev-&amp;gt;min_delta_ns &amp;lt;&amp;lt; 1);
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; +			 &amp;nbsp; &amp;nbsp; &amp;nbsp; dev-&amp;gt;min_delta_ns);
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp;			i = 0;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp;		}
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; This one's already in linux-next:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; @@ -50,9 +50,9 @@ int tick_dev_program_event(struct clock_
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;				dev-&amp;gt;min_delta_ns += dev-&amp;gt;min_delta_ns &amp;gt;&amp;gt; 1;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;			printk(KERN_WARNING
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; -			 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;CE: %s increasing min_delta_ns to %lu nsec\n&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +			 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;CE: %s increasing min_delta_ns to %llu nsec\n&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp; dev-&amp;gt;name ? dev-&amp;gt;name : &amp;quot;?&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; -			 &amp;nbsp; &amp;nbsp; &amp;nbsp; dev-&amp;gt;min_delta_ns &amp;lt;&amp;lt; 1);
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +			 &amp;nbsp; &amp;nbsp; &amp;nbsp; (unsigned long long) dev-&amp;gt;min_delta_ns &amp;lt;&amp;lt; 1);
&lt;br&gt;&amp;gt; &amp;gt; '&amp;lt;&amp;lt; 1' is wrong here, too.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What's wrong with it? &amp;nbsp;That leftshift appears to be to compensate for
&lt;br&gt;&amp;gt; the rightshift a few lines above.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That change was unobvious and unchangelogged, so here we are again.
&lt;/div&gt;&lt;br&gt;That's actually my fault. In commit 61c22c34 I removed the WARN_ON
&lt;br&gt;which we put there to gather data on kerneloops.org for a while and
&lt;br&gt;did not fix the printk format string.
&lt;br&gt;&lt;br&gt;Will take care of it. Thanks,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;tglx
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519635&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-2--hrtimer%3A-correct-a-few-numbers-in-comments-and-printk-outputs-tp26448947p26519635.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519627</id>
	<title>Re: [PATCH] Input: i8042 - add Dell Vostro 1520 and 1720 to the reset list</title>
	<published>2009-11-25T12:17:37Z</published>
	<updated>2009-11-25T12:17:37Z</updated>
	<author>
		<name>Dmitry Torokhov-4</name>
	</author>
	<content type="html">Hi Anisse,
&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 03:12:50PM +0100, Anisse Astier wrote:
&lt;br&gt;&amp;gt; These laptops may have i8042 in a bad state at very first boot or if you plug
&lt;br&gt;&amp;gt; in a non-Dell power supply.
&lt;br&gt;&amp;gt; Thus this patch is needed for proper keyboard and touchpad function.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Could youplease explain in more detail what the &amp;quot;bad state&amp;quot; is. And what
&lt;br&gt;exactly do you mean by &amp;quot;first boot&amp;quot;? Cold boot? The very first boot
&lt;br&gt;after assembling? Something else?
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Dmitry
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519627&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Input%3A-i8042---add-Dell-Vostro-1520-and-1720-to-the-reset-list-tp26496611p26519627.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519613</id>
	<title>oops in proc_tid_stat</title>
	<published>2009-11-25T12:15:57Z</published>
	<updated>2009-11-25T12:15:57Z</updated>
	<author>
		<name>Jan Engelhardt-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;something seems to have blown up just under me. Maybe someone can make sense of
&lt;br&gt;the debug trace.
&lt;br&gt;&lt;br&gt;thanks,
&lt;br&gt;Jan
&lt;br&gt;&lt;br&gt;PROMLIB: Sun IEEE Boot Prom 'OBP 4.29.0.a 2008/09/15 11:59'
&lt;br&gt;PROMLIB: Root node compatible: sun4v
&lt;br&gt;Initializing cgroup subsys cpuset
&lt;br&gt;Initializing cgroup subsys cpu
&lt;br&gt;Linux version 2.6.31.1-56.fc12.sparc64 (&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519613&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mockbuild@...&lt;/a&gt;) (gcc version 4.4.1 20091010 (Red Hat 4.4.1-21) (GCC) ) #1 SMP Wed Oct 14 21:52:21 CDT 2009
&lt;br&gt;console [earlyprom0] enabled
&lt;br&gt;ARCH: SUN4V
&lt;br&gt;Ethernet address: 00:14:4f:e1:d1:24
&lt;br&gt;Kernel: Using 3 locked TLB entries for main kernel image.
&lt;br&gt;Remapping the kernel... done.
&lt;br&gt;OF stdout device is: /virtual-devices@100/console@1
&lt;br&gt;PROM: Built device tree with 67275 bytes of memory.
&lt;br&gt;MDESC: Size is 32544 bytes.
&lt;br&gt;PLATFORM: banner-name [SPARC Enterprise T1000]
&lt;br&gt;PLATFORM: name [SUNW,SPARC-Enterprise-T1000]
&lt;br&gt;PLATFORM: hostid [84e1d124]
&lt;br&gt;PLATFORM: serial# [00ab4130]
&lt;br&gt;PLATFORM: stick-frequency [3b9aca00]
&lt;br&gt;PLATFORM: mac-address [144fe1d124]
&lt;br&gt;PLATFORM: watchdog-resolution [1000 ms]
&lt;br&gt;PLATFORM: watchdog-max-timeout [31536000000 ms]
&lt;br&gt;PLATFORM: max-cpus [32]
&lt;br&gt;Top of RAM: 0x1ffdbc000, Total RAM: 0x1f79ac000
&lt;br&gt;Memory hole size: 132MB
&lt;br&gt;[0000000200000000-fffff80009400000] page_structs=131072 node=0 entry=0/0
&lt;br&gt;[0000000200000000-fffff80009800000] page_structs=131072 node=0 entry=1/0
&lt;br&gt;[0000000200000000-fffff80009c00000] page_structs=131072 node=0 entry=2/0
&lt;br&gt;[0000000200900000-fffff8000a000000] page_structs=131072 node=0 entry=3/0
&lt;br&gt;[0000000200900000-fffff8000a400000] page_structs=131072 node=0 entry=4/0
&lt;br&gt;[0000000201200000-fffff8000a800000] page_structs=131072 node=0 entry=5/0
&lt;br&gt;[0000000201200000-fffff8000ac00000] page_structs=131072 node=0 entry=6/0
&lt;br&gt;[0000000201b00000-fffff8000b000000] page_structs=131072 node=0 entry=7/0
&lt;br&gt;[0000000201b00000-fffff8000b400000] page_structs=131072 node=0 entry=8/0
&lt;br&gt;[0000000202400000-fffff8000b800000] page_structs=131072 node=0 entry=9/0
&lt;br&gt;[0000000202400000-fffff8000bc00000] page_structs=131072 node=0 entry=10/0
&lt;br&gt;[0000000202400000-fffff8000c000000] page_structs=131072 node=0 entry=11/0
&lt;br&gt;[0000000202d00000-fffff8000c400000] page_structs=131072 node=0 entry=12/0
&lt;br&gt;[0000000202d00000-fffff8000cc00000] page_structs=131072 node=0 entry=13/0
&lt;br&gt;[0000000203600000-fffff8000d000000] page_structs=131072 node=0 entry=14/0
&lt;br&gt;[0000000203600000-fffff8000d400000] page_structs=131072 node=0 entry=15/0
&lt;br&gt;[0000000203f00000-fffff8000d800000] page_structs=131072 node=0 entry=16/0
&lt;br&gt;[0000000203f00000-fffff8000dc00000] page_structs=131072 node=0 entry=17/0
&lt;br&gt;Zone PFN ranges:
&lt;br&gt;&amp;nbsp; Normal &amp;nbsp; 0x00004200 -&amp;gt; 0x000ffede
&lt;br&gt;Movable zone start PFN for each node
&lt;br&gt;early_node_map[2] active PFN ranges
&lt;br&gt;&amp;nbsp; &amp;nbsp; 0: 0x00004200 -&amp;gt; 0x000ffec5
&lt;br&gt;&amp;nbsp; &amp;nbsp; 0: 0x000ffecd -&amp;gt; 0x000ffede
&lt;br&gt;On node 0 totalpages: 1031382
&lt;br&gt;&amp;nbsp; Normal zone: 9065 pages used for memmap
&lt;br&gt;&amp;nbsp; Normal zone: 0 pages reserved
&lt;br&gt;&amp;nbsp; Normal zone: 1022317 pages, LIFO batch:15
&lt;br&gt;Booting Linux...
&lt;br&gt;Built 1 zonelists in Node order, mobility grouping on. &amp;nbsp;Total pages: 1022317
&lt;br&gt;Policy zone: Normal
&lt;br&gt;Kernel command line: ro root=UUID=792531e6-1ddf-4c43-a1e9-995477d2b2a9 selinux=0 console=ttyS0
&lt;br&gt;PID hash table entries: 4096 (order: 12, 32768 bytes)
&lt;br&gt;Memory: 8161624k available (4400k kernel code, 2264k data, 280k init) [fffff80000000000,00000001ffdbc000]
&lt;br&gt;SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0, CPUs=32, Nodes=16
&lt;br&gt;Hierarchical RCU implementation.
&lt;br&gt;NR_IRQS:255
&lt;br&gt;clocksource: mult[10000] shift[16]
&lt;br&gt;clockevent: mult[80000000] shift[31]
&lt;br&gt;Console: colour dummy device 80x25
&lt;br&gt;allocated 41943040 bytes of page_cgroup
&lt;br&gt;please try 'cgroup_disable=memory' option if you don't want memory cgroups
&lt;br&gt;ODEBUG: 36 of 36 active objects replaced
&lt;br&gt;Calibrating delay using timer specific routine.. 2003.12 BogoMIPS (lpj=10015634)
&lt;br&gt;Security Framework initialized
&lt;br&gt;SELinux: &amp;nbsp;Disabled at boot.
&lt;br&gt;Dentry cache hash table entries: 1048576 (order: 10, 8388608 bytes)
&lt;br&gt;Inode-cache hash table entries: 524288 (order: 9, 4194304 bytes)
&lt;br&gt;Mount-cache hash table entries: 512
&lt;br&gt;Initializing cgroup subsys ns
&lt;br&gt;Initializing cgroup subsys cpuacct
&lt;br&gt;Initializing cgroup subsys memory
&lt;br&gt;Initializing cgroup subsys devices
&lt;br&gt;Initializing cgroup subsys freezer
&lt;br&gt;Initializing cgroup subsys net_cls
&lt;br&gt;ftrace: allocating 16127 entries in 32 pages
&lt;br&gt;Brought up 24 CPUs
&lt;br&gt;sizeof(vma)=176 bytes
&lt;br&gt;sizeof(page)=72 bytes
&lt;br&gt;sizeof(inode)=768 bytes
&lt;br&gt;sizeof(dentry)=216 bytes
&lt;br&gt;sizeof(ext3inode)=1024 bytes
&lt;br&gt;sizeof(buffer_head)=104 bytes
&lt;br&gt;sizeof(skbuff)=240 bytes
&lt;br&gt;sizeof(task_struct)=5904 bytes
&lt;br&gt;CPU0 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 0-3 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 0 1 2 3
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 0-3 4-7 8-11 12-15 16-19 20-23
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU1 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 0-3 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 1 2 3 0
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 0-3 4-7 8-11 12-15 16-19 20-23
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU2 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 0-3 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 2 3 0 1
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 0-3 4-7 8-11 12-15 16-19 20-23
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU3 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 0-3 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 3 0 1 2
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 0-3 4-7 8-11 12-15 16-19 20-23
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU4 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 4-7 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 4 5 6 7
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 4-7 8-11 12-15 16-19 20-23 0-3
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU5 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 4-7 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 5 6 7 4
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 4-7 8-11 12-15 16-19 20-23 0-3
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU6 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 4-7 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 6 7 4 5
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 4-7 8-11 12-15 16-19 20-23 0-3
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU7 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 4-7 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 7 4 5 6
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 4-7 8-11 12-15 16-19 20-23 0-3
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU8 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 8-11 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 8 9 10 11
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 8-11 12-15 16-19 20-23 0-3 4-7
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU9 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 8-11 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 9 10 11 8
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 8-11 12-15 16-19 20-23 0-3 4-7
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU10 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 8-11 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 10 11 8 9
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 8-11 12-15 16-19 20-23 0-3 4-7
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU11 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 8-11 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 11 8 9 10
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 8-11 12-15 16-19 20-23 0-3 4-7
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU12 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 12-15 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 12 13 14 15
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 12-15 16-19 20-23 0-3 4-7 8-11
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU13 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 12-15 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 13 14 15 12
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 12-15 16-19 20-23 0-3 4-7 8-11
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU14 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 12-15 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 14 15 12 13
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 12-15 16-19 20-23 0-3 4-7 8-11
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU15 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 12-15 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 15 12 13 14
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 12-15 16-19 20-23 0-3 4-7 8-11
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU16 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 16-19 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 16 17 18 19
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 16-19 20-23 0-3 4-7 8-11 12-15
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU17 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 16-19 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 17 18 19 16
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 16-19 20-23 0-3 4-7 8-11 12-15
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU18 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 16-19 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 18 19 16 17
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 16-19 20-23 0-3 4-7 8-11 12-15
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU19 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 16-19 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 19 16 17 18
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 16-19 20-23 0-3 4-7 8-11 12-15
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU20 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 20-23 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 20 21 22 23
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 20-23 0-3 4-7 8-11 12-15 16-19
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU21 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 20-23 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 21 22 23 20
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 20-23 0-3 4-7 8-11 12-15 16-19
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU22 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 20-23 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 22 23 20 21
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 20-23 0-3 4-7 8-11 12-15 16-19
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;CPU23 attaching sched-domain:
&lt;br&gt;&amp;nbsp;domain 0: span 20-23 level SIBLING
&lt;br&gt;&amp;nbsp; groups: 23 20 21 22
&lt;br&gt;&amp;nbsp; domain 1: span 0-23 level CPU
&lt;br&gt;&amp;nbsp; &amp;nbsp;groups: 20-23 0-3 4-7 8-11 12-15 16-19
&lt;br&gt;&amp;nbsp; &amp;nbsp;domain 2: span 0-23 level NODE
&lt;br&gt;&amp;nbsp; &amp;nbsp; groups: 0-23 (__cpu_power = 6144)
&lt;br&gt;ldc.c:v1.1 (July 22, 2008)
&lt;br&gt;ldc: Domaining disabled.
&lt;br&gt;regulator: core version 0.5
&lt;br&gt;NET: Registered protocol family 16
&lt;br&gt;VIO: Adding device channel-devices
&lt;br&gt;VIO: Adding device vldc-port-0-0
&lt;br&gt;VIO: Adding device vldc-port-0-1
&lt;br&gt;VIO: Adding device vldc-port-0-2
&lt;br&gt;VIO: Adding device vldc-port-1-0
&lt;br&gt;VIO: Adding device vldc-port-3-0
&lt;br&gt;VIO: Adding device vldc-port-3-8
&lt;br&gt;VIO: Adding device ds-1
&lt;br&gt;VIO: Adding device ds-0
&lt;br&gt;Testing NMI watchdog ... OK.
&lt;br&gt;pci_sun4v: Registered hvapi major[1] minor[0]
&lt;br&gt;/pci@780: SUN4V PCI Bus Module
&lt;br&gt;/pci@780: On NUMA node -1
&lt;br&gt;/pci@780: PCI IO[e810000000] MEM[ea00000000]
&lt;br&gt;/pci@780: MSI Queue first[0] num[36] count[128] devino[0x18]
&lt;br&gt;/pci@780: MSI first[0] num[256] mask[0xff] width[32]
&lt;br&gt;/pci@780: MSI addr32[0x7fff0000:0x10000] addr64[0x3ffff0000:0x10000]
&lt;br&gt;/pci@780: MSI queues at RA [00000001f9e00000]
&lt;br&gt;PCI: Scanning PBM /pci@780
&lt;br&gt;/pci@7c0: SUN4V PCI Bus Module
&lt;br&gt;/pci@7c0: On NUMA node -1
&lt;br&gt;/pci@7c0: PCI IO[f010000000] MEM[f200000000]
&lt;br&gt;/pci@7c0: MSI Queue first[0] num[36] count[128] devino[0x18]
&lt;br&gt;/pci@7c0: MSI first[0] num[256] mask[0xff] width[32]
&lt;br&gt;/pci@7c0: MSI addr32[0x7fff0000:0x10000] addr64[0x3ffff0000:0x10000]
&lt;br&gt;/pci@7c0: MSI queues at RA [00000001f9e80000]
&lt;br&gt;PCI: Scanning PBM /pci@7c0
&lt;br&gt;pci 0001:02:00.0: PME# supported from D0 D3hot D3cold
&lt;br&gt;pci 0001:02:00.0: PME# disabled
&lt;br&gt;pci 0001:03:04.0: PME# supported from D3hot
&lt;br&gt;pci 0001:03:04.0: PME# disabled
&lt;br&gt;pci 0001:03:04.1: PME# supported from D3hot
&lt;br&gt;pci 0001:03:04.1: PME# disabled
&lt;br&gt;pci 0001:04:01.0: PME# supported from D3hot D3cold
&lt;br&gt;pci 0001:04:01.0: PME# disabled
&lt;br&gt;pci 0001:04:01.1: PME# supported from D3hot D3cold
&lt;br&gt;pci 0001:04:01.1: PME# disabled
&lt;br&gt;pci 0001:04:02.0: supports D1 D2
&lt;br&gt;ds.c:v1.0 (Jul 11, 2007)
&lt;br&gt;bio: create slab &amp;lt;bio-0&amp;gt; at 0
&lt;br&gt;vgaarb: loaded
&lt;br&gt;SCSI subsystem initialized
&lt;br&gt;libata version 3.00 loaded.
&lt;br&gt;usbcore: registered new interface driver usbfs
&lt;br&gt;usbcore: registered new interface driver hub
&lt;br&gt;usbcore: registered new device driver usb
&lt;br&gt;NetLabel: Initializing
&lt;br&gt;NetLabel: &amp;nbsp;domain hash size = 128
&lt;br&gt;NetLabel: &amp;nbsp;protocols = UNLABELED CIPSOv4
&lt;br&gt;NetLabel: &amp;nbsp;unlabeled traffic allowed by default
&lt;br&gt;Switched to high resolution mode on CPU 0
&lt;br&gt;Switched to high resolution mode on CPU 1
&lt;br&gt;Switched to high resolution mode on CPU 22
&lt;br&gt;Switched to high resolution mode on CPU 18
&lt;br&gt;Switched to high resolution mode on CPU 14
&lt;br&gt;Switched to high resolution mode on CPU 10
&lt;br&gt;Switched to high resolution mode on CPU 6
&lt;br&gt;Switched to high resolution mode on CPU 2
&lt;br&gt;Switched to high resolution mode on CPU 23
&lt;br&gt;Switched to high resolution mode on CPU 19
&lt;br&gt;Switched to high resolution mode on CPU 15
&lt;br&gt;Switched to high resolution mode on CPU 11
&lt;br&gt;Switched to high resolution mode on CPU 7
&lt;br&gt;Switched to high resolution mode on CPU 3
&lt;br&gt;Switched to high resolution mode on CPU 20
&lt;br&gt;Switched to high resolution mode on CPU 16
&lt;br&gt;Switched to high resolution mode on CPU 12
&lt;br&gt;Switched to high resolution mode on CPU 8
&lt;br&gt;Switched to high resolution mode on CPU 4
&lt;br&gt;Switched to high resolution mode on CPU 21
&lt;br&gt;Switched to high resolution mode on CPU 17
&lt;br&gt;Switched to high resolution mode on CPU 13
&lt;br&gt;Switched to high resolution mode on CPU 9
&lt;br&gt;Switched to high resolution mode on CPU 5
&lt;br&gt;NET: Registered protocol family 2
&lt;br&gt;IP route cache hash table entries: 262144 (order: 8, 2097152 bytes)
&lt;br&gt;TCP established hash table entries: 524288 (order: 10, 8388608 bytes)
&lt;br&gt;TCP bind hash table entries: 65536 (order: 8, 2097152 bytes)
&lt;br&gt;TCP: Hash tables configured (established 524288 bind 65536)
&lt;br&gt;TCP reno registered
&lt;br&gt;NET: Registered protocol family 1
&lt;br&gt;Trying to unpack rootfs image as initramfs...
&lt;br&gt;Freeing initrd memory: 3429k freed
&lt;br&gt;audit: initializing netlink socket (disabled)
&lt;br&gt;type=2000 audit(1.760:1): initialized
&lt;br&gt;HugeTLB registered 4 MB page size, pre-allocated 0 pages
&lt;br&gt;VFS: Disk quotas dquot_6.5.2
&lt;br&gt;Dquot-cache hash table entries: 1024 (order 0, 8192 bytes)
&lt;br&gt;msgmni has been set to 15947
&lt;br&gt;cryptomgr_test used greatest stack depth: 12288 bytes left
&lt;br&gt;alg: No test for stdrng (krng)
&lt;br&gt;Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
&lt;br&gt;io scheduler noop registered
&lt;br&gt;io scheduler anticipatory registered
&lt;br&gt;io scheduler deadline registered
&lt;br&gt;io scheduler cfq registered (default)
&lt;br&gt;f027a19c: ttyS0 at I/O 0x0 (irq = 1) is a SUN4V HCONS
&lt;br&gt;console handover: boot [earlyprom0] -&amp;gt; real [ttyHV0]
&lt;br&gt;f0287068: ttyS1 at MMIO 0xf820c2c000 (irq = 18) is a ST16650V2
&lt;br&gt;brd: module loaded
&lt;br&gt;loop: module loaded
&lt;br&gt;Fixed MDIO Bus: probed
&lt;br&gt;ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
&lt;br&gt;ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
&lt;br&gt;uhci_hcd: USB Universal Host Controller Interface driver
&lt;br&gt;mice: PS/2 mouse device common for all mice
&lt;br&gt;rtc-sun4v rtc-sun4v: rtc core: registered sun4v as rtc0
&lt;br&gt;device-mapper: uevent: version 1.0.3
&lt;br&gt;device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519613&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dm-devel@...&lt;/a&gt;
&lt;br&gt;usbcore: registered new interface driver hiddev
&lt;br&gt;usbcore: registered new interface driver usbhid
&lt;br&gt;usbhid: v2.6:USB HID core driver
&lt;br&gt;nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
&lt;br&gt;CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
&lt;br&gt;nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
&lt;br&gt;sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
&lt;br&gt;ip_tables: (C) 2000-2006 Netfilter Core Team
&lt;br&gt;TCP cubic registered
&lt;br&gt;Initializing XFRM netlink socket
&lt;br&gt;NET: Registered protocol family 17
&lt;br&gt;registered taskstats version 1
&lt;br&gt;rtc-sun4v rtc-sun4v: setting system clock to 2009-11-25 12:36:36 UTC (1259152596)
&lt;br&gt;Initalizing network drop monitor service
&lt;br&gt;plymouthd used greatest stack depth: 11808 bytes left
&lt;br&gt;console_init used greatest stack depth: 11152 bytes left
&lt;br&gt;plymouth used greatest stack depth: 32 bytes left
&lt;br&gt;Fusion MPT base driver 3.04.10
&lt;br&gt;Copyright (c) 1999-2008 LSI Corporation
&lt;br&gt;Fusion MPT SAS Host driver 3.04.10
&lt;br&gt;mptbase: ioc0: Initiating bringup
&lt;br&gt;ioc0: LSISAS1064 A3: Capabilities={Initiator}
&lt;br&gt;scsi0 : ioc0: LSISAS1064 A3, FwRev=010a0000h, Ports=1, MaxQ=511, IRQ=25
&lt;br&gt;mptsas: ioc0: attaching sata device: fw_channel 0, fw_id 0, phy 0, sas_addr 0x1221000000000000
&lt;br&gt;scsi 0:0:0:0: Direct-Access &amp;nbsp; &amp;nbsp; ATA &amp;nbsp; &amp;nbsp; &amp;nbsp;HITACHI HDS7216S AB8A PQ: 0 ANSI: 5
&lt;br&gt;sd 0:0:0:0: Attached scsi generic sg0 type 0
&lt;br&gt;sd 0:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
&lt;br&gt;sd 0:0:0:0: [sda] Write Protect is off
&lt;br&gt;sd 0:0:0:0: [sda] Mode Sense: 67 00 00 08
&lt;br&gt;sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
&lt;br&gt;&amp;nbsp;sda: sda1 sda2 sda3 sda4 sda5
&lt;br&gt;sd 0:0:0:0: [sda] Attached SCSI disk
&lt;br&gt;kjournald starting. &amp;nbsp;Commit interval 5 seconds
&lt;br&gt;EXT3-fs: mounted filesystem with ordered data mode.
&lt;br&gt;udev: starting version 145
&lt;br&gt;tg3.c:v3.99 (April 20, 2009)
&lt;br&gt;PCI: Enabling device: (0001:03:04.0), cmd 2
&lt;br&gt;tg3 0001:03:04.0: PME# disabled
&lt;br&gt;eth0: Tigon3 [partno(BCM95714) rev 9003] (PCIX:133MHz:64-bit) MAC address 00:14:4f:e1:d1:24
&lt;br&gt;eth0: attached PHY is 5714 (10/100/1000Base-T Ethernet) (WireSpeed[1])
&lt;br&gt;eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
&lt;br&gt;eth0: dma_rwctrl[76148000] dma_mask[32-bit]
&lt;br&gt;PCI: Enabling device: (0001:03:04.1), cmd 2
&lt;br&gt;tg3 0001:03:04.1: PME# disabled
&lt;br&gt;eth1: Tigon3 [partno(BCM95714) rev 9003] (PCIX:133MHz:64-bit) MAC address 00:14:4f:e1:d1:25
&lt;br&gt;eth1: attached PHY is 5714 (10/100/1000Base-T Ethernet) (WireSpeed[1])
&lt;br&gt;eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
&lt;br&gt;eth1: dma_rwctrl[76148000] dma_mask[32-bit]
&lt;br&gt;PCI: Enabling device: (0001:04:01.0), cmd 2
&lt;br&gt;tg3 0001:04:01.0: PME# disabled
&lt;br&gt;eth2: Tigon3 [partno(BCM95704) rev 2100] (PCIX:100MHz:64-bit) MAC address 00:14:4f:e1:d1:26
&lt;br&gt;eth2: attached PHY is 5704 (10/100/1000Base-T Ethernet) (WireSpeed[1])
&lt;br&gt;eth2: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
&lt;br&gt;eth2: dma_rwctrl[769f8000] dma_mask[32-bit]
&lt;br&gt;PCI: Enabling device: (0001:04:01.1), cmd 2
&lt;br&gt;tg3 0001:04:01.1: PME# disabled
&lt;br&gt;eth3: Tigon3 [partno(BCM95704) rev 2100] (PCIX:100MHz:64-bit) MAC address 00:14:4f:e1:d1:27
&lt;br&gt;eth3: attached PHY is 5704 (10/100/1000Base-T Ethernet) (WireSpeed[1])
&lt;br&gt;eth3: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
&lt;br&gt;eth3: dma_rwctrl[769f8000] dma_mask[32-bit]
&lt;br&gt;device-mapper: multipath: version 1.1.0 loaded
&lt;br&gt;EXT3 FS on sda2, internal journal
&lt;br&gt;kjournald starting. &amp;nbsp;Commit interval 5 seconds
&lt;br&gt;EXT3 FS on sda4, internal journal
&lt;br&gt;EXT3-fs: mounted filesystem with ordered data mode.
&lt;br&gt;kjournald starting. &amp;nbsp;Commit interval 5 seconds
&lt;br&gt;EXT3 FS on sda1, internal journal
&lt;br&gt;EXT3-fs: mounted filesystem with ordered data mode.
&lt;br&gt;NET: Registered protocol family 10
&lt;br&gt;lo: Disabled Privacy Extensions
&lt;br&gt;ip6_tables: (C) 2000-2006 Netfilter Core Team
&lt;br&gt;tg3 0001:03:04.0: PME# disabled
&lt;br&gt;ADDRCONF(NETDEV_UP): eth0: link is not ready
&lt;br&gt;tg3: eth0: Link is up at 100 Mbps, full duplex.
&lt;br&gt;tg3: eth0: Flow control is on for TX and on for RX.
&lt;br&gt;ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
&lt;br&gt;eth0: no IPv6 routers present
&lt;br&gt;RPC: Registered udp transport module.
&lt;br&gt;RPC: Registered tcp transport module.
&lt;br&gt;cc1 used greatest stack depth: 8 bytes left
&lt;br&gt;Unable to handle kernel NULL pointer dereference
&lt;br&gt;tsk-&amp;gt;{mm,active_mm}-&amp;gt;context = 00000000000005d6
&lt;br&gt;tsk-&amp;gt;{mm,active_mm}-&amp;gt;pgd = fffff801f13c6000
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \|/ ____ \|/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;@'/ .. \`@&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /_| \__/ |_\
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\__U_/
&lt;br&gt;htop(3168): Oops [#1]
&lt;br&gt;TSTATE: 0000000011001603 TPC: 000000000056d358 TNPC: 000000000056d35c Y: 00000000 &amp;nbsp; &amp;nbsp;Not tainted
&lt;br&gt;TPC: &amp;lt;do_task_stat+0xa8/0x5e4&amp;gt;
&lt;br&gt;g0: 0000000000000008 g1: 0000000000000000 g2: 0000000000000001 g3: 0000000000000000
&lt;br&gt;g4: fffff801bb2a8c40 g5: 0000000100930000 g6: fffff801d0a00000 g7: 0000000000000001
&lt;br&gt;o0: 0000000000da2000 o1: 0000000000000001 o2: fffff801f5c82460 o3: fffff801db855d80
&lt;br&gt;o4: 00000000000633e0 o5: 0000000000023dd8 sp: fffff801d0a03001 ret_pc: 000000000056d334
&lt;br&gt;RPC: &amp;lt;do_task_stat+0x84/0x5e4&amp;gt;
&lt;br&gt;l0: fffff801f5b21540 l1: fffffffffffffffd l2: fffff801f5c82460 l3: 0000000000000000
&lt;br&gt;l4: fffff801cc92ef00 l5: 0000000000000001 l6: 0000000000002048 l7: 000000000051b230
&lt;br&gt;i0: fffff801f7a7a630 i1: 0000000000a14200 i2: fffff801f5c82460 i3: fffff801db855d80
&lt;br&gt;i4: 0000000000000000 i5: 0000000000023dd8 i6: fffff801d0a03311 i7: 000000000056d8e0
&lt;br&gt;I7: &amp;lt;proc_tid_stat+0x1c/0x30&amp;gt;
&lt;br&gt;Disabling lock debugging due to kernel taint
&lt;br&gt;Caller[000000000056d8e0]: proc_tid_stat+0x1c/0x30
&lt;br&gt;Caller[000000000056a3e4]: proc_single_show+0x44/0x7c
&lt;br&gt;Caller[0000000000534738]: seq_read+0x1d0/0x400
&lt;br&gt;Caller[000000000051b0e8]: vfs_read+0x74/0x148
&lt;br&gt;Caller[000000000051b264]: SyS_read+0x34/0x64
&lt;br&gt;Caller[0000000000406254]: linux_sparc_syscall32+0x34/0x40
&lt;br&gt;Caller[00000000f7ca1a8c]: 0xf7ca1a8c
&lt;br&gt;Instruction DUMP: c077a79f &amp;nbsp;c25ee008 &amp;nbsp;c2586028 &amp;lt;e6586070&amp;gt; c2586088 &amp;nbsp;c277a79f &amp;nbsp;9210001b &amp;nbsp;7ffecad6 &amp;nbsp;9007a7e7 
&lt;br&gt;Unable to handle kernel NULL pointer dereference
&lt;br&gt;tsk-&amp;gt;{mm,active_mm}-&amp;gt;context = 00000000000012c5
&lt;br&gt;tsk-&amp;gt;{mm,active_mm}-&amp;gt;pgd = fffff801dc35c000
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \|/ ____ \|/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;@'/ .. \`@&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /_| \__/ |_\
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\__U_/
&lt;br&gt;htop(11416): Oops [#2]
&lt;br&gt;TSTATE: 0000000011001603 TPC: 000000000056d358 TNPC: 000000000056d35c Y: 00000000 &amp;nbsp; &amp;nbsp;Tainted: G &amp;nbsp; &amp;nbsp; &amp;nbsp;D &amp;nbsp; 
&lt;br&gt;TPC: &amp;lt;do_task_stat+0xa8/0x5e4&amp;gt;
&lt;br&gt;g0: 0000000000000008 g1: 0000000000000000 g2: 0000000000000001 g3: 0000000000000000
&lt;br&gt;g4: fffff801b9b91760 g5: 0000000100130000 g6: fffff801e3034000 g7: 0000000000000002
&lt;br&gt;o0: 0000000000daa000 o1: 0000000000000001 o2: fffff801f5c82460 o3: fffff801db855d80
&lt;br&gt;o4: 00000000000649d8 o5: 0000000000023dd8 sp: fffff801e3037001 ret_pc: 000000000056d334
&lt;br&gt;RPC: &amp;lt;do_task_stat+0x84/0x5e4&amp;gt;
&lt;br&gt;l0: fffff801f5b21540 l1: fffffffffffffffd l2: fffff801f5c82460 l3: 0000000000000000
&lt;br&gt;l4: fffff801cc92ef00 l5: 0000000000000001 l6: 0000000000002048 l7: 000000000051b230
&lt;br&gt;i0: fffff801f93697b8 i1: 0000000000a14200 i2: fffff801f5c82460 i3: fffff801db855d80
&lt;br&gt;i4: 0000000000000000 i5: 0000000000023dd8 i6: fffff801e3037311 i7: 000000000056d8e0
&lt;br&gt;I7: &amp;lt;proc_tid_stat+0x1c/0x30&amp;gt;
&lt;br&gt;Caller[000000000056d8e0]: proc_tid_stat+0x1c/0x30
&lt;br&gt;Caller[000000000056a3e4]: proc_single_show+0x44/0x7c
&lt;br&gt;Caller[0000000000534738]: seq_read+0x1d0/0x400
&lt;br&gt;Caller[000000000051b0e8]: vfs_read+0x74/0x148
&lt;br&gt;Caller[000000000051b264]: SyS_read+0x34/0x64
&lt;br&gt;Caller[0000000000406254]: linux_sparc_syscall32+0x34/0x40
&lt;br&gt;Caller[00000000f7cc5a8c]: 0xf7cc5a8c
&lt;br&gt;Instruction DUMP: c077a79f &amp;nbsp;c25ee008 &amp;nbsp;c2586028 &amp;lt;e6586070&amp;gt; c2586088 &amp;nbsp;c277a79f &amp;nbsp;9210001b &amp;nbsp;7ffecad6 &amp;nbsp;9007a7e7 
&lt;br&gt;[died and force rebooted]
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519613&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/oops-in-proc_tid_stat-tp26519613p26519613.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519590</id>
	<title>Re: [PATCH] SLUB: Fix __GFP_ZERO unlikely() annotation</title>
	<published>2009-11-25T12:15:26Z</published>
	<updated>2009-11-25T12:15:26Z</updated>
	<author>
		<name>Christoph Lameter-7</name>
	</author>
	<content type="html">On Wed, 25 Nov 2009, Pekka Enberg wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Because that has no effect on the generated code.
&lt;br&gt;&lt;br&gt;Does this affect the cycle count in slab_alloc?
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519590&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--SLUB%3A-Fix-__GFP_ZERO-unlikely%28%29-annotation-tp26517846p26519590.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519571</id>
	<title>Re: [RFC] nfsd: Move private headers to source directory</title>
	<published>2009-11-25T12:14:08Z</published>
	<updated>2009-11-25T12:14:08Z</updated>
	<author>
		<name>J. Bruce Fields-2</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 08:05:14PM +0200, Boaz Harrosh wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Lots of include/linux/nfsd/* headers are only used by
&lt;br&gt;&amp;gt; nfsd module. Move them to the source directory
&lt;br&gt;&lt;br&gt;Fine by me; I guess just resubmit this after the others go in.
&lt;br&gt;&lt;br&gt;--b.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Boaz Harrosh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519571&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bharrosh@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/auth.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;gt; &amp;nbsp;{include/linux =&amp;gt; fs}/nfsd/cache.h | &amp;nbsp; &amp;nbsp;0
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/export.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;3 ++-
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/lockd.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfs2acl.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;7 ++++---
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfs3acl.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;7 ++++---
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfs3proc.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;4 ++--
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfs3xdr.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfs4callback.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;4 ++--
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfs4proc.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;4 ++--
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfs4recover.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +++--
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfs4state.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfs4xdr.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;3 ++-
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfscache.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;4 ++--
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfsctl.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +++--
&lt;br&gt;&amp;gt; &amp;nbsp;{include/linux =&amp;gt; fs}/nfsd/nfsd.h &amp;nbsp;| &amp;nbsp; &amp;nbsp;0
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfsfh.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfsproc.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;4 ++--
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfssvc.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;4 ++--
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/nfsxdr.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;gt; &amp;nbsp;{include/linux =&amp;gt; fs}/nfsd/state.h | &amp;nbsp; &amp;nbsp;0
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/stats.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;4 ++--
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsd/vfs.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 18 ++++++++++--------
&lt;br&gt;&amp;gt; &amp;nbsp;{include/linux =&amp;gt; fs}/nfsd/xdr.h &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;gt; &amp;nbsp;{include/linux =&amp;gt; fs}/nfsd/xdr3.h &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;gt; &amp;nbsp;{include/linux =&amp;gt; fs}/nfsd/xdr4.h &amp;nbsp;| &amp;nbsp; &amp;nbsp;4 ++--
&lt;br&gt;&amp;gt; &amp;nbsp;26 files changed, 52 insertions(+), 44 deletions(-)
&lt;br&gt;&amp;gt; &amp;nbsp;rename {include/linux =&amp;gt; fs}/nfsd/cache.h (100%)
&lt;br&gt;&amp;gt; &amp;nbsp;rename {include/linux =&amp;gt; fs}/nfsd/nfsd.h (100%)
&lt;br&gt;&amp;gt; &amp;nbsp;rename {include/linux =&amp;gt; fs}/nfsd/state.h (100%)
&lt;br&gt;&amp;gt; &amp;nbsp;rename {include/linux =&amp;gt; fs}/nfsd/xdr.h (99%)
&lt;br&gt;&amp;gt; &amp;nbsp;rename {include/linux =&amp;gt; fs}/nfsd/xdr3.h (99%)
&lt;br&gt;&amp;gt; &amp;nbsp;rename {include/linux =&amp;gt; fs}/nfsd/xdr4.h (99%)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/auth.c b/fs/nfsd/auth.c
&lt;br&gt;&amp;gt; index ad354d2..71209d4 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/auth.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/auth.c
&lt;br&gt;&amp;gt; @@ -5,7 +5,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sched.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;auth.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp)
&lt;br&gt;&amp;gt; diff --git a/include/linux/nfsd/cache.h b/fs/nfsd/cache.h
&lt;br&gt;&amp;gt; similarity index 100%
&lt;br&gt;&amp;gt; rename from include/linux/nfsd/cache.h
&lt;br&gt;&amp;gt; rename to fs/nfsd/cache.h
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
&lt;br&gt;&amp;gt; index 68e63f4..cb3dae2 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/export.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/export.c
&lt;br&gt;&amp;gt; @@ -18,10 +18,11 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/module.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/exportfs.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfsd/syscall.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;net/ipv6.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY	NFSDDBG_EXPORT
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;typedef struct auth_domain	svc_client;
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/lockd.c b/fs/nfsd/lockd.c
&lt;br&gt;&amp;gt; index 801ef71..6f12777 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/lockd.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/lockd.c
&lt;br&gt;&amp;gt; @@ -9,8 +9,8 @@
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/file.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/lockd/bind.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY		NFSDDBG_LOCKD
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfs2acl.c b/fs/nfsd/nfs2acl.c
&lt;br&gt;&amp;gt; index a54628d..874e2a9 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfs2acl.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfs2acl.c
&lt;br&gt;&amp;gt; @@ -6,10 +6,11 @@
&lt;br&gt;&amp;gt; &amp;nbsp; * Copyright (C) 2002-2003 Andreas Gruenbacher &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519571&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;agruen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/cache.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/xdr3.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; +/* FIXME: nfsacl.h is a broken header */
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfsacl.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;cache.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;xdr3.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY		NFSDDBG_PROC
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfs3acl.c b/fs/nfsd/nfs3acl.c
&lt;br&gt;&amp;gt; index 2f5c61b..c6011dd 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfs3acl.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfs3acl.c
&lt;br&gt;&amp;gt; @@ -6,10 +6,11 @@
&lt;br&gt;&amp;gt; &amp;nbsp; * Copyright (C) 2002-2003 Andreas Gruenbacher &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519571&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;agruen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/cache.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/xdr3.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; +/* FIXME: nfsacl.h is a broken header */
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfsacl.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;cache.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;xdr3.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define RETURN_STATUS(st)	{ resp-&amp;gt;status = (st); return (st); }
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c
&lt;br&gt;&amp;gt; index b694b43..90b19ca 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfs3proc.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfs3proc.c
&lt;br&gt;&amp;gt; @@ -10,8 +10,8 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/ext2_fs.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/magic.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/cache.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/xdr3.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;cache.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;xdr3.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY		NFSDDBG_PROC
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfs3xdr.c b/fs/nfsd/nfs3xdr.c
&lt;br&gt;&amp;gt; index 623e13a..c523bb8 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfs3xdr.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfs3xdr.c
&lt;br&gt;&amp;gt; @@ -9,7 +9,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/namei.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/xdr3.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;xdr3.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;auth.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY		NFSDDBG_XDR
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
&lt;br&gt;&amp;gt; index 4fe3960..f7a3158 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfs4callback.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfs4callback.c
&lt;br&gt;&amp;gt; @@ -34,8 +34,8 @@
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sunrpc/clnt.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/state.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;state.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NFSDDBG_PROC
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
&lt;br&gt;&amp;gt; index d0e04cb..f8a37c4 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfs4proc.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfs4proc.c
&lt;br&gt;&amp;gt; @@ -36,8 +36,8 @@
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/file.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/cache.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/xdr4.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;cache.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;xdr4.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY		NFSDDBG_PROC
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c
&lt;br&gt;&amp;gt; index 48742f2..6744e7f 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfs4recover.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfs4recover.c
&lt;br&gt;&amp;gt; @@ -33,12 +33,13 @@
&lt;br&gt;&amp;gt; &amp;nbsp;*
&lt;br&gt;&amp;gt; &amp;nbsp;*/
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/state.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/file.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/namei.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/crypto.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sched.h&amp;gt;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;state.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NFSDDBG_PROC
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
&lt;br&gt;&amp;gt; index 1fe6e29..2923e6c 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfs4state.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfs4state.c
&lt;br&gt;&amp;gt; @@ -36,11 +36,11 @@
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/file.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/smp_lock.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/xdr4.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/namei.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/swap.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sunrpc/svcauth_gss.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sunrpc/clnt.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;xdr4.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NFSDDBG_PROC
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
&lt;br&gt;&amp;gt; index 2fa9682..cab9780 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfs4xdr.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfs4xdr.c
&lt;br&gt;&amp;gt; @@ -43,10 +43,11 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/namei.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/statfs.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/utsname.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/xdr4.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfsd_idmap.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfs4_acl.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sunrpc/svcauth_gss.h&amp;gt;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +#include &amp;quot;xdr4.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY		NFSDDBG_XDR
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfscache.c b/fs/nfsd/nfscache.c
&lt;br&gt;&amp;gt; index 96694b8..18aa972 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfscache.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfscache.c
&lt;br&gt;&amp;gt; @@ -10,8 +10,8 @@
&lt;br&gt;&amp;gt; &amp;nbsp; * Copyright (C) 1995, 1996 Olaf Kirch &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519571&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;okir@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/cache.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;cache.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;/* Size of reply cache. Common values are:
&lt;br&gt;&amp;gt; &amp;nbsp; * 4.3BSD:	128
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
&lt;br&gt;&amp;gt; index e4f49fd..0415680 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfsctl.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfsctl.c
&lt;br&gt;&amp;gt; @@ -11,12 +11,13 @@
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfsd_idmap.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sunrpc/svcsock.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/cache.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfsd/syscall.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/lockd/lockd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sunrpc/clnt.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;cache.h&amp;quot;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; &amp;nbsp;/*
&lt;br&gt;&amp;gt; &amp;nbsp; *	We have a single directory with 9 nodes in it.
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; diff --git a/include/linux/nfsd/nfsd.h b/fs/nfsd/nfsd.h
&lt;br&gt;&amp;gt; similarity index 100%
&lt;br&gt;&amp;gt; rename from include/linux/nfsd/nfsd.h
&lt;br&gt;&amp;gt; rename to fs/nfsd/nfsd.h
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfsfh.c b/fs/nfsd/nfsfh.c
&lt;br&gt;&amp;gt; index 4ef4601..2bf9efb 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfsfh.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfsfh.c
&lt;br&gt;&amp;gt; @@ -12,7 +12,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/exportfs.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sunrpc/svcauth_gss.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;auth.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c
&lt;br&gt;&amp;gt; index b6bd9e0..21a5f79 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfsproc.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfsproc.c
&lt;br&gt;&amp;gt; @@ -9,8 +9,8 @@
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/namei.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/cache.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/xdr.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;cache.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;xdr.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;typedef struct svc_rqst	svc_rqst;
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c
&lt;br&gt;&amp;gt; index b2d7ffa..b520ce1 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfssvc.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfssvc.c
&lt;br&gt;&amp;gt; @@ -15,11 +15,11 @@
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sunrpc/stats.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sunrpc/svcsock.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/cache.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/lockd/bind.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfsacl.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/seq_file.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;cache.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY	NFSDDBG_SVC
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/nfsxdr.c b/fs/nfsd/nfsxdr.c
&lt;br&gt;&amp;gt; index 5e0603d..3bec831 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/nfsxdr.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/nfsxdr.c
&lt;br&gt;&amp;gt; @@ -6,7 +6,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp; * Copyright (C) 1995, 1996 Olaf Kirch &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519571&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;okir@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/xdr.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;xdr.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;quot;auth.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY		NFSDDBG_XDR
&lt;br&gt;&amp;gt; diff --git a/include/linux/nfsd/state.h b/fs/nfsd/state.h
&lt;br&gt;&amp;gt; similarity index 100%
&lt;br&gt;&amp;gt; rename from include/linux/nfsd/state.h
&lt;br&gt;&amp;gt; rename to fs/nfsd/state.h
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/stats.c b/fs/nfsd/stats.c
&lt;br&gt;&amp;gt; index e3e411e..3fc69df 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/stats.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/stats.c
&lt;br&gt;&amp;gt; @@ -25,11 +25,11 @@
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/seq_file.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/module.h&amp;gt;
&lt;br&gt;&amp;gt; -
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sunrpc/stats.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfsd/stats.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; &amp;nbsp;struct nfsd_stats	nfsdstats;
&lt;br&gt;&amp;gt; &amp;nbsp;struct svc_stat		nfsd_svcstats = {
&lt;br&gt;&amp;gt; &amp;nbsp;	.program	= &amp;nfsd_program,
&lt;br&gt;&amp;gt; diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
&lt;br&gt;&amp;gt; index 81ce108..04bdba1 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsd/vfs.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/vfs.c
&lt;br&gt;&amp;gt; @@ -22,23 +22,25 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/fcntl.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/namei.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/delay.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; -#ifdef CONFIG_NFSD_V3
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/xdr3.h&amp;gt;
&lt;br&gt;&amp;gt; -#endif /* CONFIG_NFSD_V3 */
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/quotaops.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/fsnotify.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/posix_acl_xattr.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/xattr.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/jhash.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/ima.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;asm/uaccess.h&amp;gt;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +#ifdef CONFIG_NFSD_V3
&lt;br&gt;&amp;gt; +#include &amp;quot;xdr3.h&amp;quot;
&lt;br&gt;&amp;gt; +#endif /* CONFIG_NFSD_V3 */
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; &amp;nbsp;#ifdef CONFIG_NFSD_V4
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfs4_acl.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfsd_idmap.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#endif /* CONFIG_NFSD_V4 */
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/jhash.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/ima.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;asm/uaccess.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;vfs.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSDDBG_FACILITY		NFSDDBG_FILEOP
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; diff --git a/include/linux/nfsd/xdr.h b/fs/nfsd/xdr.h
&lt;br&gt;&amp;gt; similarity index 99%
&lt;br&gt;&amp;gt; rename from include/linux/nfsd/xdr.h
&lt;br&gt;&amp;gt; rename to fs/nfsd/xdr.h
&lt;br&gt;&amp;gt; index 58f824d..235ee5c 100644
&lt;br&gt;&amp;gt; --- a/include/linux/nfsd/xdr.h
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/xdr.h
&lt;br&gt;&amp;gt; @@ -8,7 +8,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#define LINUX_NFSD_H
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/vfs.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;struct nfsd_fhandle {
&lt;br&gt;&amp;gt; &amp;nbsp;	struct svc_fh		fh;
&lt;br&gt;&amp;gt; diff --git a/include/linux/nfsd/xdr3.h b/fs/nfsd/xdr3.h
&lt;br&gt;&amp;gt; similarity index 99%
&lt;br&gt;&amp;gt; rename from include/linux/nfsd/xdr3.h
&lt;br&gt;&amp;gt; rename to fs/nfsd/xdr3.h
&lt;br&gt;&amp;gt; index 421eddd..b330756 100644
&lt;br&gt;&amp;gt; --- a/include/linux/nfsd/xdr3.h
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/xdr3.h
&lt;br&gt;&amp;gt; @@ -9,7 +9,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#ifndef _LINUX_NFSD_XDR3_H
&lt;br&gt;&amp;gt; &amp;nbsp;#define _LINUX_NFSD_XDR3_H
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/xdr.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;xdr.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;struct nfsd3_sattrargs {
&lt;br&gt;&amp;gt; &amp;nbsp;	struct svc_fh		fh;
&lt;br&gt;&amp;gt; diff --git a/include/linux/nfsd/xdr4.h b/fs/nfsd/xdr4.h
&lt;br&gt;&amp;gt; similarity index 99%
&lt;br&gt;&amp;gt; rename from include/linux/nfsd/xdr4.h
&lt;br&gt;&amp;gt; rename to fs/nfsd/xdr4.h
&lt;br&gt;&amp;gt; index 1bf2662..83202a1 100644
&lt;br&gt;&amp;gt; --- a/include/linux/nfsd/xdr4.h
&lt;br&gt;&amp;gt; +++ b/fs/nfsd/xdr4.h
&lt;br&gt;&amp;gt; @@ -39,8 +39,8 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#ifndef _LINUX_NFSD_XDR4_H
&lt;br&gt;&amp;gt; &amp;nbsp;#define _LINUX_NFSD_XDR4_H
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/state.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;quot;state.h&amp;quot;
&lt;br&gt;&amp;gt; +#include &amp;quot;nfsd.h&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define NFSD4_MAX_TAGLEN	128
&lt;br&gt;&amp;gt; &amp;nbsp;#define XDR_LEN(n) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (((n) + 3) &amp; ~3)
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; 1.6.5.2
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519571&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCHSET-0-5--remove-unneeded-nfsd--includes-tp26500687p26519571.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519550</id>
	<title>Re: [PATCH 5/5] vfs: nfsctl.c unused nfsd #includes</title>
	<published>2009-11-25T12:13:15Z</published>
	<updated>2009-11-25T12:13:15Z</updated>
	<author>
		<name>J. Bruce Fields-2</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 08:04:12PM +0200, Boaz Harrosh wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Only linux/nfsd/syscall.h is actually used. Remove the
&lt;br&gt;&amp;gt; other nfsd #includes, so they can be moved to source
&lt;br&gt;&amp;gt; directory.
&lt;br&gt;&lt;br&gt;I guess I'll take this one too.
&lt;br&gt;&lt;br&gt;The arch-specific ones I'm assuming are someone else's problem unless I
&lt;br&gt;hear otherwise.
&lt;br&gt;&lt;br&gt;--b.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Boaz Harrosh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519550&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bharrosh@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; &amp;nbsp;fs/nfsctl.c | &amp;nbsp; &amp;nbsp;2 --
&lt;br&gt;&amp;gt; &amp;nbsp;1 files changed, 0 insertions(+), 2 deletions(-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; diff --git a/fs/nfsctl.c b/fs/nfsctl.c
&lt;br&gt;&amp;gt; index 8f9a205..d3854d9 100644
&lt;br&gt;&amp;gt; --- a/fs/nfsctl.c
&lt;br&gt;&amp;gt; +++ b/fs/nfsctl.c
&lt;br&gt;&amp;gt; @@ -7,8 +7,6 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/types.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/file.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/fs.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/sunrpc/svc.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/nfsd/syscall.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/cred.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/sched.h&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; 1.6.5.2
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519550&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCHSET-0-5--remove-unneeded-nfsd--includes-tp26500687p26519550.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519614</id>
	<title>Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to detect GCC messing with mcount prologue</title>
	<published>2009-11-25T12:12:49Z</published>
	<updated>2009-11-25T12:12:49Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">On 11/25/2009 08:44 AM, Jakub Jelinek wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you compile kernels 90%+ people out there run with -p on i?86/x86_64,
&lt;br&gt;&amp;gt; then certainly coming up with a new gcc switch and new profiling ABI is
&lt;br&gt;&amp;gt; desirable. &amp;nbsp;-p on i?86/x86_64 e.g. forces -fno-omit-frame-pointer, which
&lt;br&gt;&amp;gt; makes code on these register starved arches significantly worse.
&lt;br&gt;&amp;gt; Making GCC output profiling call before prologue instead of after prologue
&lt;br&gt;&amp;gt; is a 4 liner in generic code and a few lines in target specific code.
&lt;br&gt;&amp;gt; The important thing is that we shouldn't have 100 different profiling ABIs,
&lt;br&gt;&amp;gt; so it is desirable to agree on something that will be generally useful not
&lt;br&gt;&amp;gt; just for the kernel, but perhaps for other purposes.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;There is really just one that makes sense, which is providing the
&lt;br&gt;ABI-defined entry state, which means intercepting at the point of entry.
&lt;br&gt;&lt;br&gt;Anything else is/was a mistake.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;H. Peter Anvin, Intel Open Source Technology Center
&lt;br&gt;I work for Intel. &amp;nbsp;I don't speak on their behalf.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519614&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--patch-for-2.6.32--1-3--hrtimers%3A-remove-the-%22timer_stats_active%22-check-when-setting-the-start-info-tp26414203p26519614.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519549</id>
	<title>Re: [PATCH] spi: SuperH MSIOF SPI Master driver</title>
	<published>2009-11-25T12:11:52Z</published>
	<updated>2009-11-25T12:11:52Z</updated>
	<author>
		<name>Andrew Morton-9</name>
	</author>
	<content type="html">On Tue, 24 Nov 2009 21:55:31 +0900
&lt;br&gt;Magnus Damm &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519549&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;magnus.damm@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Magnus Damm &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519549&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;damm@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This patch adds SPI Master support for the SuperH MSIOF
&lt;br&gt;&amp;gt; hardware block. Full duplex, spi mode 0-3, active high cs,
&lt;br&gt;&amp;gt; 3-wire and lsb first should all be supported, but the driver
&lt;br&gt;&amp;gt; has so far only been tested with &amp;quot;mmc_spi&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The MSIOF hardware comes with 32-bit FIFOs for receive and
&lt;br&gt;&amp;gt; transmit, and this driver simply breaks the SPI messages
&lt;br&gt;&amp;gt; into FIFO-sized chunks. The MSIOF hardware manages the pins
&lt;br&gt;&amp;gt; for clock, receive and transmit (sck/miso/mosi), but the chip
&lt;br&gt;&amp;gt; select pin is managed by software and must be configured as
&lt;br&gt;&amp;gt; a regular GPIO pin by the board code.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Performance wise there is still room for improvement, but
&lt;br&gt;&amp;gt; on a Ecovec board with the built-in sh7724 MSIOF0 this driver
&lt;br&gt;&amp;gt; gets Mini-sd read speeds of about half a megabyte per second.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Future work include better clock setup and merging of 8-bit
&lt;br&gt;&amp;gt; transfers into 32-bit words to reduce interrupt load and
&lt;br&gt;&amp;gt; improve throughput.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --- 0001/drivers/spi/spi.c
&lt;br&gt;&amp;gt; +++ work/drivers/spi/spi.c	2009-11-24 20:39:48.000000000 +0900
&lt;br&gt;&amp;gt; @@ -17,7 +17,6 @@
&lt;br&gt;&amp;gt; &amp;nbsp; * along with this program; if not, write to the Free Software
&lt;br&gt;&amp;gt; &amp;nbsp; * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; -
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/kernel.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/device.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/init.h&amp;gt;
&lt;/div&gt;&lt;br&gt;whoops?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; --- /dev/null
&lt;br&gt;&amp;gt; +++ work/drivers/spi/spi_sh_msiof.c	2009-11-24 20:39:49.000000000 +0900
&lt;br&gt;&amp;gt; @@ -0,0 +1,675 @@
&lt;br&gt;&amp;gt; +/*
&lt;br&gt;&amp;gt; + * SuperH MSIOF SPI Master Interface
&lt;br&gt;&amp;gt; + *
&lt;br&gt;&amp;gt; + * Copyright (c) 2009 Magnus Damm
&lt;br&gt;&amp;gt; + *
&lt;br&gt;&amp;gt; + * This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;gt; + * it under the terms of the GNU General Public License version 2 as
&lt;br&gt;&amp;gt; + * published by the Free Software Foundation.
&lt;br&gt;&amp;gt; + *
&lt;br&gt;&amp;gt; + */
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/kernel.h&amp;gt;
&lt;/div&gt;&lt;br&gt;But not consistently.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; +#include &amp;lt;linux/init.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/delay.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/interrupt.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/platform_device.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/completion.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/pm_runtime.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/gpio.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/bitmap.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/clk.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/io.h&amp;gt;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/spi/spi.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/spi/spi_bitbang.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/spi/sh_msiof.h&amp;gt;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +#include &amp;lt;asm/spi.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;asm/unaligned.h&amp;gt;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +struct sh_msiof_spi_priv {
&lt;br&gt;&amp;gt; +	struct spi_bitbang bitbang; /* must be first for spi_bitbang.c */
&lt;/div&gt;&lt;br&gt;Well if that's the case then spi_bitbang.c needs smacking. &amp;nbsp;What causes
&lt;br&gt;this requirement?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; +	void __iomem *mapbase;
&lt;br&gt;&amp;gt; +	struct clk *clk;
&lt;br&gt;&amp;gt; +	struct platform_device *pdev;
&lt;br&gt;&amp;gt; +	struct sh_msiof_spi_info *info;
&lt;br&gt;&amp;gt; +	struct completion done;
&lt;br&gt;&amp;gt; +	unsigned long flags;
&lt;br&gt;&amp;gt; +	int tx_fifo_size;
&lt;br&gt;&amp;gt; +	int rx_fifo_size;
&lt;br&gt;&amp;gt; +};
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; +static void sh_msiof_modify_ctr_wait(struct sh_msiof_spi_priv *p,
&lt;br&gt;&amp;gt; +				 &amp;nbsp; &amp;nbsp; unsigned long clr, unsigned long set)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +	unsigned long mask = clr | set;
&lt;br&gt;&amp;gt; +	unsigned long data;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	data = sh_msiof_read(p, CTR);
&lt;br&gt;&amp;gt; +	data &amp;= ~clr;
&lt;br&gt;&amp;gt; +	data |= set;
&lt;br&gt;&amp;gt; +	sh_msiof_write(p, CTR, data);
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	while ((sh_msiof_read(p, CTR) &amp; mask) != set)
&lt;br&gt;&amp;gt; +		;
&lt;/div&gt;&lt;br&gt;hm, confidence. &amp;nbsp;No timeout needed here?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +static irqreturn_t sh_msiof_spi_irq(int irq, void *data)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +	struct sh_msiof_spi_priv *p = data;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	/* just disable the interrupt and wake up */
&lt;br&gt;&amp;gt; +	sh_msiof_write(p, IER, 0);
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	complete(&amp;p-&amp;gt;done);
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	return IRQ_HANDLED;
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +static struct {
&lt;br&gt;&amp;gt; +	unsigned short div;
&lt;br&gt;&amp;gt; +	unsigned short scr;
&lt;br&gt;&amp;gt; +} sh_msiof_spi_clk_table[] = {
&lt;br&gt;&amp;gt; +	{ 1, 0x0007 },
&lt;br&gt;&amp;gt; +	{ 2, 0x0000 },
&lt;br&gt;&amp;gt; +	{ 4, 0x0001 },
&lt;br&gt;&amp;gt; +	{ 8, 0x0002 },
&lt;br&gt;&amp;gt; +	{ 16, 0x0003 },
&lt;br&gt;&amp;gt; +	{ 32, 0x0004 },
&lt;br&gt;&amp;gt; +	{ 64, 0x1f00 },
&lt;br&gt;&amp;gt; +	{ 128, 0x1f01 },
&lt;br&gt;&amp;gt; +	{ 256, 0x1f02 },
&lt;br&gt;&amp;gt; +	{ 512, 0x1f03 },
&lt;br&gt;&amp;gt; +	{ 1024, 0x1f04 },
&lt;br&gt;&amp;gt; +};
&lt;/div&gt;&lt;br&gt;Could be const (to save some .data) btu I think the compiler does that
&lt;br&gt;itself nowadays.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; +static void sh_msiof_spi_set_clk_regs(struct sh_msiof_spi_priv *p,
&lt;br&gt;&amp;gt; +				 &amp;nbsp; &amp;nbsp; &amp;nbsp;unsigned long parent_rate,
&lt;br&gt;&amp;gt; +				 &amp;nbsp; &amp;nbsp; &amp;nbsp;unsigned long spi_hz)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +	unsigned long div = 1024;
&lt;br&gt;&amp;gt; +	int k;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	if (!spi_hz || !parent_rate)
&lt;br&gt;&amp;gt; +		WARN_ON(1);
&lt;br&gt;&amp;gt; +	else
&lt;br&gt;&amp;gt; +		div = parent_rate / spi_hz;
&lt;/div&gt;&lt;br&gt;This could be more neatly coded as
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!WARN_ON(!spi_hz || !parent_rate))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; div = parent_rate / spi_hz;
&lt;br&gt;&lt;br&gt;also, if this warning ever triggers, you won't know whether it was due
&lt;br&gt;to !spi_hx or to !parent_rate, which might make you sad.
&lt;br&gt;&lt;br&gt;Can spi_hz and parent_rate ever be zero here anyway? &amp;nbsp;If not, zap it. 
&lt;br&gt;If so, why? &amp;nbsp;Programming bug?
&lt;br&gt;&lt;br&gt;&amp;gt; +	/* TODO: make more fine grained */
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	for (k = 0; k &amp;lt; ARRAY_SIZE(sh_msiof_spi_clk_table); k++) {
&lt;br&gt;&amp;gt; +		if (sh_msiof_spi_clk_table[k].div &amp;gt;= div)
&lt;br&gt;&amp;gt; +			break;
&lt;br&gt;&amp;gt; +	}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	k = min_t(int, k, ARRAY_SIZE(sh_msiof_spi_clk_table) - 1);
&lt;br&gt;&lt;br&gt;actually it's pretty obvious from all the above that k should have been
&lt;br&gt;size_t.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; +	sh_msiof_write(p, TSCR, sh_msiof_spi_clk_table[k].scr);
&lt;br&gt;&amp;gt; +	sh_msiof_write(p, RSCR, sh_msiof_spi_clk_table[k].scr);
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +static void sh_msiof_spi_set_pin_regs(struct sh_msiof_spi_priv *p,
&lt;br&gt;&amp;gt; +				 &amp;nbsp; &amp;nbsp; &amp;nbsp;int cpol, int cpha,
&lt;br&gt;&amp;gt; +				 &amp;nbsp; &amp;nbsp; &amp;nbsp;int tx_hi_z, int lsb_first)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +	unsigned long tmp;
&lt;br&gt;&amp;gt; +	int edge;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	/*
&lt;br&gt;&amp;gt; +	 * CPOL CPHA &amp;nbsp; &amp;nbsp; TSCKIZ RSCKIZ TEDG REDG(!)
&lt;br&gt;&amp;gt; +	 * &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10 &amp;nbsp; &amp;nbsp; 10 &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp;0
&lt;br&gt;&amp;gt; +	 * &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10 &amp;nbsp; &amp;nbsp; 10 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;1
&lt;br&gt;&amp;gt; +	 * &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 11 &amp;nbsp; &amp;nbsp; 11 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;1
&lt;br&gt;&amp;gt; +	 * &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 11 &amp;nbsp; &amp;nbsp; 11 &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp;0
&lt;br&gt;&amp;gt; +	 *
&lt;br&gt;&amp;gt; +	 * (!) Note: REDG is inverted recommended data sheet setting
&lt;br&gt;&amp;gt; +	 */
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	sh_msiof_write(p, FCTR, 0);
&lt;br&gt;&amp;gt; +	sh_msiof_write(p, TMDR1, 0xe2000005 | (lsb_first &amp;lt;&amp;lt; 24));
&lt;br&gt;&amp;gt; +	sh_msiof_write(p, RMDR1, 0x22000005 | (lsb_first &amp;lt;&amp;lt; 24));
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	tmp = 0xa0000000;
&lt;br&gt;&amp;gt; +	tmp |= cpol &amp;lt;&amp;lt; 30; /* TSCKIZ */
&lt;br&gt;&amp;gt; +	tmp |= cpol &amp;lt;&amp;lt; 28; /* RSCKIZ */
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	edge = cpol ? cpha : !cpha;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	tmp |= edge &amp;lt;&amp;lt; 27; /* TEDG */
&lt;br&gt;&amp;gt; +	tmp |= !edge &amp;lt;&amp;lt; 26; /* REDG */
&lt;/div&gt;&lt;br&gt;um, OK. &amp;nbsp;This mixture of logical-not with bit-operations is a bit woozy
&lt;br&gt;but I don't see any actual bugs there.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; +	tmp |= (tx_hi_z ? 2 : 0) &amp;lt;&amp;lt; 22; /* TXDIZ */
&lt;br&gt;&amp;gt; +	sh_msiof_write(p, CTR, tmp);
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; +static u32 sh_msiof_spi_txrx_word(struct spi_device *spi, unsigned nsecs,
&lt;br&gt;&amp;gt; +				 &amp;nbsp;u32 word, u8 bits)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +	BUG_ON(1); /* unused but needed by bitbang code */
&lt;/div&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BUG();
&lt;br&gt;&lt;br&gt;&amp;gt; +	return 0;
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519549&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--spi%3A-SuperH-MSIOF-SPI-Master-driver-tp26495476p26519549.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519509</id>
	<title>Re: [PATCH 4/5] lockd: Remove unused nfsd headers #includes</title>
	<published>2009-11-25T12:09:54Z</published>
	<updated>2009-11-25T12:09:54Z</updated>
	<author>
		<name>J. Bruce Fields-2</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 08:03:12PM +0200, Boaz Harrosh wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In what history where these ever needed? Well not
&lt;br&gt;&amp;gt; any more.
&lt;br&gt;&lt;br&gt;Applied, thanks.--b.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Boaz Harrosh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519509&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bharrosh@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; &amp;nbsp;fs/lockd/svc4proc.c | &amp;nbsp; &amp;nbsp;4 ----
&lt;br&gt;&amp;gt; &amp;nbsp;fs/lockd/svcproc.c &amp;nbsp;| &amp;nbsp; &amp;nbsp;4 ----
&lt;br&gt;&amp;gt; &amp;nbsp;2 files changed, 0 insertions(+), 8 deletions(-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; diff --git a/fs/lockd/svc4proc.c b/fs/lockd/svc4proc.c
&lt;br&gt;&amp;gt; index bd173a6..a7966ee 100644
&lt;br&gt;&amp;gt; --- a/fs/lockd/svc4proc.c
&lt;br&gt;&amp;gt; +++ b/fs/lockd/svc4proc.c
&lt;br&gt;&amp;gt; @@ -11,10 +11,6 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/time.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/slab.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/smp_lock.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/in.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/sunrpc/svc.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/sunrpc/clnt.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/lockd/lockd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/lockd/share.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; diff --git a/fs/lockd/svcproc.c b/fs/lockd/svcproc.c
&lt;br&gt;&amp;gt; index e1d28dd..56c9519 100644
&lt;br&gt;&amp;gt; --- a/fs/lockd/svcproc.c
&lt;br&gt;&amp;gt; +++ b/fs/lockd/svcproc.c
&lt;br&gt;&amp;gt; @@ -11,10 +11,6 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/time.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/slab.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/smp_lock.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/in.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/sunrpc/svc.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/sunrpc/clnt.h&amp;gt;
&lt;br&gt;&amp;gt; -#include &amp;lt;linux/nfsd/nfsd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/lockd/lockd.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/lockd/share.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; 1.6.5.2
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519509&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCHSET-0-5--remove-unneeded-nfsd--includes-tp26500687p26519509.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519481</id>
	<title>Re: Purpose of parameter in sysfs binary read</title>
	<published>2009-11-25T12:08:07Z</published>
	<updated>2009-11-25T12:08:07Z</updated>
	<author>
		<name>Alan Cox</name>
	</author>
	<content type="html">&amp;gt; I have the display as a framebuffer device now (based on fbdefio with the
&lt;br&gt;&amp;gt; hid device as the parent).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Do I really need a separate console device or can I just use fbcon?
&lt;br&gt;&lt;br&gt;fbcon should do what you want.
&lt;br&gt;&lt;br&gt;ALan
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519481&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Purpose-of-parameter-in-sysfs-binary-read-tp25026792p26519481.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519536</id>
	<title>Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to detect GCC messing with mcount prologue</title>
	<published>2009-11-25T12:05:33Z</published>
	<updated>2009-11-25T12:05:33Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">On 11/24/2009 09:30 AM, Steven Rostedt wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For other archs, Linus showed some examples:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lkml.org/lkml/2009/11/19/349&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lkml.org/lkml/2009/11/19/349&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Yes; the key here is that the ABI-defined entry state is readily
&lt;br&gt;mappable onto the state on entry to the __fentry__ function.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;H. Peter Anvin, Intel Open Source Technology Center
&lt;br&gt;I work for Intel. &amp;nbsp;I don't speak on their behalf.
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519536&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--patch-for-2.6.32--1-3--hrtimers%3A-remove-the-%22timer_stats_active%22-check-when-setting-the-start-info-tp26414203p26519536.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519418</id>
	<title>[PATCH 9/9] pci: pciehp second try to get big range for pcie devices</title>
	<published>2009-11-25T11:59:52Z</published>
	<updated>2009-11-25T11:59:52Z</updated>
	<author>
		<name>Yinghai Lu-5</name>
	</author>
	<content type="html">&lt;br&gt;handle the case the slot bridge that doesn't get pre-allocated big enough res
&lt;br&gt;from FW.
&lt;br&gt;for example pcie devices need 256M, but the bridge only get preallocated 2M...
&lt;br&gt;&lt;br&gt;Signed-off-by: Yinghai Lu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519418&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yinghai@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;drivers/pci/setup-bus.c | &amp;nbsp; 41 ++++++++++++++++++++++++++++++++++++++++-
&lt;br&gt;&amp;nbsp;1 file changed, 40 insertions(+), 1 deletion(-)
&lt;br&gt;&lt;br&gt;Index: linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/drivers/pci/setup-bus.c
&lt;br&gt;+++ linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;@@ -970,13 +970,52 @@ void pci_assign_unassigned_bridge_resour
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct pci_bus *bus;
&lt;br&gt;&amp;nbsp;	struct pci_bus *parent = bridge-&amp;gt;subordinate;
&lt;br&gt;+	bool second_tried = false;
&lt;br&gt;+	struct resource_list head, *list, *tmp;
&lt;br&gt;&amp;nbsp;	int retval;
&lt;br&gt;+	unsigned long type_mask = IORESOURCE_IO | IORESOURCE_MEM |
&lt;br&gt;+				 &amp;nbsp;IORESOURCE_PREFETCH;
&lt;br&gt;+
&lt;br&gt;+again:
&lt;br&gt;+	head.next = NULL;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	pci_bus_size_bridges(parent);
&lt;br&gt;&amp;nbsp;	pci_clear_master(bridge);
&lt;br&gt;-	__pci_bridge_assign_resources(bridge, NULL);
&lt;br&gt;+	__pci_bridge_assign_resources(bridge, &amp;head);
&lt;br&gt;&amp;nbsp;	retval = pci_reenable_device(bridge);
&lt;br&gt;&amp;nbsp;	pci_set_master(bridge);
&lt;br&gt;&amp;nbsp;	pci_enable_bridges(parent);
&lt;br&gt;+
&lt;br&gt;+	/* any device complain? */
&lt;br&gt;+	if (!head.next)
&lt;br&gt;+		return;
&lt;br&gt;+
&lt;br&gt;+	if (second_tried) {
&lt;br&gt;+		/* still fail, don't want to try more */
&lt;br&gt;+		free_failed_list(&amp;head);
&lt;br&gt;+		return;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	second_tried = true;
&lt;br&gt;+	printk(KERN_DEBUG &amp;quot;PCI: second try to assign unassigned res\n&amp;quot;);
&lt;br&gt;+
&lt;br&gt;+	/*
&lt;br&gt;+	 * Try to release leaf bridge's resources that doesn't fit resource of
&lt;br&gt;+	 * child device under that bridge
&lt;br&gt;+	 */
&lt;br&gt;+	for (list = head.next; list;) {
&lt;br&gt;+		unsigned long flags = list-&amp;gt;res-&amp;gt;flags;
&lt;br&gt;+
&lt;br&gt;+		bus = list-&amp;gt;dev-&amp;gt;bus;
&lt;br&gt;+		if (list-&amp;gt;dev-&amp;gt;subordinate)
&lt;br&gt;+			list-&amp;gt;res-&amp;gt;flags = 0;
&lt;br&gt;+		pci_bus_release_unused_bridge_res(bus, flags &amp; type_mask, 0);
&lt;br&gt;+
&lt;br&gt;+		tmp = list;
&lt;br&gt;+		list = list-&amp;gt;next;
&lt;br&gt;+		kfree(tmp);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	goto again;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;EXPORT_SYMBOL_GPL(pci_assign_unassigned_bridge_resources);
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519418&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pci%3A-pciehp-update-the-slot-bridge-res-to-get-big-range-for-pcie-devices-tp25987634p26519418.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519415</id>
	<title>[PATCH 8/9] pci: pciehp clean flow in pciehp_configure_device</title>
	<published>2009-11-25T11:59:48Z</published>
	<updated>2009-11-25T11:59:48Z</updated>
	<author>
		<name>Yinghai Lu-5</name>
	</author>
	<content type="html">&lt;br&gt;move out bus_size_bridges and assign resources out of pciehp_add_bridge()
&lt;br&gt;and at last do them all together one time including slot bridge, to avoid to
&lt;br&gt;call assign resources several times, when there are several bridges under the
&lt;br&gt;slot bridge.
&lt;br&gt;use pci_assign_nassigned_bridge_resources
&lt;br&gt;&lt;br&gt;Signed-off-by: Yinghai Lu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519415&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yinghai@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;drivers/pci/hotplug/pciehp_pci.c | &amp;nbsp; 23 +++++++++++++++++------
&lt;br&gt;&amp;nbsp;1 file changed, 17 insertions(+), 6 deletions(-)
&lt;br&gt;&lt;br&gt;Index: linux-2.6/drivers/pci/hotplug/pciehp_pci.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/drivers/pci/hotplug/pciehp_pci.c
&lt;br&gt;+++ linux-2.6/drivers/pci/hotplug/pciehp_pci.c
&lt;br&gt;@@ -53,17 +53,15 @@ static int __ref pciehp_add_bridge(struc
&lt;br&gt;&amp;nbsp;		busnr = pci_scan_bridge(parent, dev, busnr, pass);
&lt;br&gt;&amp;nbsp;	if (!dev-&amp;gt;subordinate)
&lt;br&gt;&amp;nbsp;		return -1;
&lt;br&gt;-	pci_bus_size_bridges(dev-&amp;gt;subordinate);
&lt;br&gt;-	pci_bus_assign_resources(parent);
&lt;br&gt;-	pci_enable_bridges(parent);
&lt;br&gt;-	pci_bus_add_devices(parent);
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	return 0;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;int pciehp_configure_device(struct slot *p_slot)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct pci_dev *dev;
&lt;br&gt;-	struct pci_bus *parent = p_slot-&amp;gt;ctrl-&amp;gt;pcie-&amp;gt;port-&amp;gt;subordinate;
&lt;br&gt;+	struct pci_dev *bridge = p_slot-&amp;gt;ctrl-&amp;gt;pcie-&amp;gt;port;
&lt;br&gt;+	struct pci_bus *parent = bridge-&amp;gt;subordinate;
&lt;br&gt;&amp;nbsp;	int num, fn;
&lt;br&gt;&amp;nbsp;	struct controller *ctrl = p_slot-&amp;gt;ctrl;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -96,12 +94,25 @@ int pciehp_configure_device(struct slot
&lt;br&gt;&amp;nbsp;				(dev-&amp;gt;hdr_type == PCI_HEADER_TYPE_CARDBUS)) {
&lt;br&gt;&amp;nbsp;			pciehp_add_bridge(dev);
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;+		pci_dev_put(dev);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	pci_assign_unassigned_bridge_resources(bridge);
&lt;br&gt;+
&lt;br&gt;+	for (fn = 0; fn &amp;lt; 8; fn++) {
&lt;br&gt;+		dev = pci_get_slot(parent, PCI_DEVFN(0, fn));
&lt;br&gt;+		if (!dev)
&lt;br&gt;+			continue;
&lt;br&gt;+		if ((dev-&amp;gt;class &amp;gt;&amp;gt; 16) == PCI_BASE_CLASS_DISPLAY) {
&lt;br&gt;+			pci_dev_put(dev);
&lt;br&gt;+			continue;
&lt;br&gt;+		}
&lt;br&gt;&amp;nbsp;		pci_configure_slot(dev);
&lt;br&gt;&amp;nbsp;		pci_dev_put(dev);
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	pci_bus_assign_resources(parent);
&lt;br&gt;&amp;nbsp;	pci_bus_add_devices(parent);
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	return 0;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519415&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pci%3A-pciehp-update-the-slot-bridge-res-to-get-big-range-for-pcie-devices-tp25987634p26519415.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519417</id>
	<title>[PATCH 7/9] pci: introduce pci_assign_unassigned_bridge_resources</title>
	<published>2009-11-25T11:59:43Z</published>
	<updated>2009-11-25T11:59:43Z</updated>
	<author>
		<name>Yinghai Lu-5</name>
	</author>
	<content type="html">&lt;br&gt;for pciehp to use it later
&lt;br&gt;&lt;br&gt;pci_setup_bridge() will not check enabled for the slot bridge, otherwise
&lt;br&gt;update res is not updated to bridge BAR. that is bridge is enabled already for
&lt;br&gt;port service.
&lt;br&gt;&lt;br&gt;Signed-off-by: Yinghai Lu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519417&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yinghai@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;drivers/pci/setup-bus.c | &amp;nbsp; 94 +++++++++++++++++++++++++++++++++++++++++++++---
&lt;br&gt;&amp;nbsp;include/linux/pci.h &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;1 
&lt;br&gt;&amp;nbsp;2 files changed, 91 insertions(+), 4 deletions(-)
&lt;br&gt;&lt;br&gt;Index: linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/drivers/pci/setup-bus.c
&lt;br&gt;+++ linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;@@ -68,6 +68,51 @@ static void free_failed_list(struct reso
&lt;br&gt;&amp;nbsp;	head-&amp;gt;next = NULL;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+static void pdev_assign_resources_sorted(struct pci_dev *dev,
&lt;br&gt;+				 struct resource_list *fail_head)
&lt;br&gt;+{
&lt;br&gt;+	struct resource *res;
&lt;br&gt;+	struct resource_list head, *list, *tmp;
&lt;br&gt;+	int idx;
&lt;br&gt;+	u16 class = dev-&amp;gt;class &amp;gt;&amp;gt; 8;
&lt;br&gt;+
&lt;br&gt;+	head.next = NULL;
&lt;br&gt;+
&lt;br&gt;+	/* Don't touch classless devices or host bridges or ioapics. &amp;nbsp;*/
&lt;br&gt;+	if (class == PCI_CLASS_NOT_DEFINED || class == PCI_CLASS_BRIDGE_HOST)
&lt;br&gt;+		return;
&lt;br&gt;+
&lt;br&gt;+	/* Don't touch ioapic devices already enabled by firmware */
&lt;br&gt;+	if (class == PCI_CLASS_SYSTEM_PIC) {
&lt;br&gt;+		u16 command;
&lt;br&gt;+		pci_read_config_word(dev, PCI_COMMAND, &amp;command);
&lt;br&gt;+		if (command &amp; (PCI_COMMAND_IO | PCI_COMMAND_MEMORY))
&lt;br&gt;+			return;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	pdev_sort_resources(dev, &amp;head);
&lt;br&gt;+
&lt;br&gt;+	for (list = head.next; list;) {
&lt;br&gt;+		res = list-&amp;gt;res;
&lt;br&gt;+		idx = res - &amp;list-&amp;gt;dev-&amp;gt;resource[0];
&lt;br&gt;+		if (pci_assign_resource(list-&amp;gt;dev, idx)) {
&lt;br&gt;+			if (fail_head &amp;&amp; !pci_is_root_bus(list-&amp;gt;dev-&amp;gt;bus)) {
&lt;br&gt;+				/*
&lt;br&gt;+				 * device need to keep flags and size
&lt;br&gt;+				 * for second try
&lt;br&gt;+				 */
&lt;br&gt;+				add_to_failed_list(fail_head, list-&amp;gt;dev, res);
&lt;br&gt;+			} else {
&lt;br&gt;+				res-&amp;gt;start = 0;
&lt;br&gt;+				res-&amp;gt;end = 0;
&lt;br&gt;+				res-&amp;gt;flags = 0;
&lt;br&gt;+			}
&lt;br&gt;+		}
&lt;br&gt;+		tmp = list;
&lt;br&gt;+		list = list-&amp;gt;next;
&lt;br&gt;+		kfree(tmp);
&lt;br&gt;+	}
&lt;br&gt;+}
&lt;br&gt;&amp;nbsp;static void pbus_assign_resources_sorted(const struct pci_bus *bus,
&lt;br&gt;&amp;nbsp;					 struct resource_list *fail_head)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;@@ -281,9 +326,6 @@ static void __pci_setup_bridge(struct pc
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct pci_dev *bridge = bus-&amp;gt;self;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (pci_is_enabled(bridge))
&lt;br&gt;-		return;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	dev_info(&amp;bridge-&amp;gt;dev, &amp;quot;PCI bridge to [bus %02x-%02x]\n&amp;quot;,
&lt;br&gt;&amp;nbsp;		 bus-&amp;gt;secondary, bus-&amp;gt;subordinate);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -646,7 +688,8 @@ static void __ref __pci_bus_assign_resou
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		switch (dev-&amp;gt;class &amp;gt;&amp;gt; 8) {
&lt;br&gt;&amp;nbsp;		case PCI_CLASS_BRIDGE_PCI:
&lt;br&gt;-			pci_setup_bridge(b);
&lt;br&gt;+			if (!pci_is_enabled(dev))
&lt;br&gt;+				pci_setup_bridge(b);
&lt;br&gt;&amp;nbsp;			break;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		case PCI_CLASS_BRIDGE_CARDBUS:
&lt;br&gt;@@ -667,6 +710,34 @@ void __ref pci_bus_assign_resources(cons
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;EXPORT_SYMBOL(pci_bus_assign_resources);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+static void __ref __pci_bridge_assign_resources(const struct pci_dev *bridge,
&lt;br&gt;+					 struct resource_list *fail_head)
&lt;br&gt;+{
&lt;br&gt;+	struct pci_bus *b;
&lt;br&gt;+
&lt;br&gt;+	pdev_assign_resources_sorted((struct pci_dev *)bridge, fail_head);
&lt;br&gt;+
&lt;br&gt;+	b = bridge-&amp;gt;subordinate;
&lt;br&gt;+	if (!b)
&lt;br&gt;+		return;
&lt;br&gt;+
&lt;br&gt;+	__pci_bus_assign_resources(b, fail_head);
&lt;br&gt;+
&lt;br&gt;+	switch (bridge-&amp;gt;class &amp;gt;&amp;gt; 8) {
&lt;br&gt;+	case PCI_CLASS_BRIDGE_PCI:
&lt;br&gt;+		pci_setup_bridge(b);
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case PCI_CLASS_BRIDGE_CARDBUS:
&lt;br&gt;+		pci_setup_cardbus(b);
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	default:
&lt;br&gt;+		dev_info(&amp;bridge-&amp;gt;dev, &amp;quot;not setting up bridge for bus &amp;quot;
&lt;br&gt;+			 &amp;quot;%04x:%02x\n&amp;quot;, pci_domain_nr(b), b-&amp;gt;number);
&lt;br&gt;+		break;
&lt;br&gt;+	}
&lt;br&gt;+}
&lt;br&gt;&amp;nbsp;static void release_children_resource(struct resource *r)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct resource *p;
&lt;br&gt;@@ -894,3 +965,18 @@ enable_and_dump:
&lt;br&gt;&amp;nbsp;		pci_bus_dump_resources(bus);
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge)
&lt;br&gt;+{
&lt;br&gt;+	struct pci_bus *bus;
&lt;br&gt;+	struct pci_bus *parent = bridge-&amp;gt;subordinate;
&lt;br&gt;+	int retval;
&lt;br&gt;+
&lt;br&gt;+	pci_bus_size_bridges(parent);
&lt;br&gt;+	pci_clear_master(bridge);
&lt;br&gt;+	__pci_bridge_assign_resources(bridge, NULL);
&lt;br&gt;+	retval = pci_reenable_device(bridge);
&lt;br&gt;+	pci_set_master(bridge);
&lt;br&gt;+	pci_enable_bridges(parent);
&lt;br&gt;+}
&lt;br&gt;+EXPORT_SYMBOL_GPL(pci_assign_unassigned_bridge_resources);
&lt;br&gt;Index: linux-2.6/include/linux/pci.h
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/include/linux/pci.h
&lt;br&gt;+++ linux-2.6/include/linux/pci.h
&lt;br&gt;@@ -768,6 +768,7 @@ void pci_bus_assign_resources(const stru
&lt;br&gt;&amp;nbsp;void pci_bus_size_bridges(struct pci_bus *bus);
&lt;br&gt;&amp;nbsp;int pci_claim_resource(struct pci_dev *, int);
&lt;br&gt;&amp;nbsp;void pci_assign_unassigned_resources(void);
&lt;br&gt;+void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge);
&lt;br&gt;&amp;nbsp;void pdev_enable_device(struct pci_dev *);
&lt;br&gt;&amp;nbsp;void pdev_sort_resources(struct pci_dev *, struct resource_list *);
&lt;br&gt;&amp;nbsp;int pci_enable_resources(struct pci_dev *, int mask);
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519417&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pci%3A-pciehp-update-the-slot-bridge-res-to-get-big-range-for-pcie-devices-tp25987634p26519417.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519414</id>
	<title>[PATCH 6/9] pci: don't shrink bridge resources</title>
	<published>2009-11-25T11:59:39Z</published>
	<updated>2009-11-25T11:59:39Z</updated>
	<author>
		<name>Yinghai Lu-5</name>
	</author>
	<content type="html">&lt;br&gt;when we are clearing leaf bridge resource and try to get big one, we could shrink the bridge if
&lt;br&gt;there is no resource under it.
&lt;br&gt;&lt;br&gt;let check with old resource size and make sure we are trying to get big one.
&lt;br&gt;&lt;br&gt;Signed-off-by: Yinghai Lu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519414&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yinghai@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;drivers/pci/setup-bus.c | &amp;nbsp; 22 ++++++++++++----------
&lt;br&gt;&amp;nbsp;1 file changed, 12 insertions(+), 10 deletions(-)
&lt;br&gt;&lt;br&gt;Index: linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/drivers/pci/setup-bus.c
&lt;br&gt;+++ linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;@@ -390,7 +390,7 @@ static void pbus_size_io(struct pci_bus
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct pci_dev *dev;
&lt;br&gt;&amp;nbsp;	struct resource *b_res = find_free_bus_resource(bus, IORESOURCE_IO);
&lt;br&gt;-	unsigned long size = 0, size1 = 0;
&lt;br&gt;+	unsigned long size = 0, size1 = 0, old_size;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (!b_res)
&lt;br&gt;&amp;nbsp; 		return;
&lt;br&gt;@@ -415,17 +415,18 @@ static void pbus_size_io(struct pci_bus
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	if (size &amp;lt; min_size)
&lt;br&gt;&amp;nbsp;		size = min_size;
&lt;br&gt;+	old_size = resource_size(b_res);
&lt;br&gt;+	if (old_size == 1)
&lt;br&gt;+		old_size = 0;
&lt;br&gt;&amp;nbsp;/* To be fixed in 2.5: we should have sort of HAVE_ISA
&lt;br&gt;&amp;nbsp; &amp;nbsp; flag in the struct pci_bus. */
&lt;br&gt;&amp;nbsp;#if defined(CONFIG_ISA) || defined(CONFIG_EISA)
&lt;br&gt;&amp;nbsp;	size = (size &amp; 0xff) + ((size &amp; ~0xffUL) &amp;lt;&amp;lt; 2);
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;	size = ALIGN(size + size1, 4096);
&lt;br&gt;+	if (size &amp;lt; old_size)
&lt;br&gt;+		size = old_size;
&lt;br&gt;&amp;nbsp;	if (!size) {
&lt;br&gt;-		if (b_res-&amp;gt;start || b_res-&amp;gt;end)
&lt;br&gt;-			dev_info(&amp;bus-&amp;gt;self-&amp;gt;dev, &amp;quot;disabling bridge window &amp;quot;
&lt;br&gt;-				 &amp;quot;%pR to [bus %02x-%02x] (unused)\n&amp;quot;, b_res,
&lt;br&gt;-				 bus-&amp;gt;secondary, bus-&amp;gt;subordinate);
&lt;br&gt;&amp;nbsp;		b_res-&amp;gt;flags = 0;
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;@@ -441,7 +442,7 @@ static int pbus_size_mem(struct pci_bus
&lt;br&gt;&amp;nbsp;			 unsigned long type, resource_size_t min_size)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct pci_dev *dev;
&lt;br&gt;-	resource_size_t min_align, align, size;
&lt;br&gt;+	resource_size_t min_align, align, size, old_size;
&lt;br&gt;&amp;nbsp;	resource_size_t aligns[12];	/* Alignments from 1Mb to 2Gb */
&lt;br&gt;&amp;nbsp;	int order, max_order;
&lt;br&gt;&amp;nbsp;	struct resource *b_res = find_free_bus_resource(bus, type);
&lt;br&gt;@@ -491,6 +492,11 @@ static int pbus_size_mem(struct pci_bus
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	if (size &amp;lt; min_size)
&lt;br&gt;&amp;nbsp;		size = min_size;
&lt;br&gt;+	old_size = resource_size(b_res);
&lt;br&gt;+	if (old_size == 1)
&lt;br&gt;+		old_size = 0;
&lt;br&gt;+	if (size &amp;lt; old_size)
&lt;br&gt;+		size = old_size;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	align = 0;
&lt;br&gt;&amp;nbsp;	min_align = 0;
&lt;br&gt;@@ -507,10 +513,6 @@ static int pbus_size_mem(struct pci_bus
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	size = ALIGN(size, min_align);
&lt;br&gt;&amp;nbsp;	if (!size) {
&lt;br&gt;-		if (b_res-&amp;gt;start || b_res-&amp;gt;end)
&lt;br&gt;-			dev_info(&amp;bus-&amp;gt;self-&amp;gt;dev, &amp;quot;disabling bridge window &amp;quot;
&lt;br&gt;-				 &amp;quot;%pR to [bus %02x-%02x] (unused)\n&amp;quot;, b_res,
&lt;br&gt;-				 bus-&amp;gt;secondary, bus-&amp;gt;subordinate);
&lt;br&gt;&amp;nbsp;		b_res-&amp;gt;flags = 0;
&lt;br&gt;&amp;nbsp;		return 1;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519414&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pci%3A-pciehp-update-the-slot-bridge-res-to-get-big-range-for-pcie-devices-tp25987634p26519414.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519413</id>
	<title>[PATCH 5/9] pci: update leaf bridge res to get more big range in pci assign unssign</title>
	<published>2009-11-25T11:59:34Z</published>
	<updated>2009-11-25T11:59:34Z</updated>
	<author>
		<name>Yinghai Lu-5</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;BIOS separate IO range between several IOHs, and on some slots, BIOS assign the resource to the bridge, but stop
&lt;br&gt;assigning resource to the device under that bridge, because the device need big resource.
&lt;br&gt;&lt;br&gt;1. pci assign unassign and record the failed device resource.
&lt;br&gt;2. clear the BIOS assigned resource of the parent bridge of fail device
&lt;br&gt;3. go back and call pci assign unsigned
&lt;br&gt;4. if it still fail, will go up more bridges. and clear and try again.
&lt;br&gt;&lt;br&gt;use pci_try_num to control back track bridge levels.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Signed-off-by: Yinghai Lu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519413&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yinghai@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;drivers/pci/pci.c &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +++
&lt;br&gt;&amp;nbsp;drivers/pci/pci.h &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +
&lt;br&gt;&amp;nbsp;drivers/pci/setup-bus.c | &amp;nbsp; 68 +++++++++++++++++++++++++++++++++++++++++++++++-
&lt;br&gt;&amp;nbsp;3 files changed, 74 insertions(+), 1 deletion(-)
&lt;br&gt;&lt;br&gt;Index: linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/drivers/pci/setup-bus.c
&lt;br&gt;+++ linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;@@ -805,10 +805,25 @@ static void pci_bus_dump_resources(struc
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+/*
&lt;br&gt;+ * first try will not touch pci bridge res
&lt;br&gt;+ * second try will clear small leaf bridge res
&lt;br&gt;+ * third try will clear related bridge: some aggressive
&lt;br&gt;+ */
&lt;br&gt;+/* assume we only have 4 level bridges, so only try 5 times */
&lt;br&gt;+int pci_try_num = 5;
&lt;br&gt;&amp;nbsp;void __init
&lt;br&gt;&amp;nbsp;pci_assign_unassigned_resources(void)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct pci_bus *bus;
&lt;br&gt;+	int tried_times = 0;
&lt;br&gt;+	int check_leaf = 1;
&lt;br&gt;+	struct resource_list head, *list, *tmp;
&lt;br&gt;+	unsigned long type_mask = IORESOURCE_IO | IORESOURCE_MEM |
&lt;br&gt;+				 &amp;nbsp;IORESOURCE_PREFETCH;
&lt;br&gt;+	unsigned long failed_type;
&lt;br&gt;+again:
&lt;br&gt;+	head.next = NULL;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	/* Depth first, calculate sizes and alignments of all
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; subordinate buses. */
&lt;br&gt;@@ -817,7 +832,58 @@ pci_assign_unassigned_resources(void)
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	/* Depth last, allocate resources and update the hardware. */
&lt;br&gt;&amp;nbsp;	list_for_each_entry(bus, &amp;pci_root_buses, node) {
&lt;br&gt;-		pci_bus_assign_resources(bus);
&lt;br&gt;+		__pci_bus_assign_resources(bus, &amp;head);
&lt;br&gt;+	}
&lt;br&gt;+	tried_times++;
&lt;br&gt;+
&lt;br&gt;+	/* any device complain? */
&lt;br&gt;+	if (!head.next)
&lt;br&gt;+		goto enable_and_dump;
&lt;br&gt;+	failed_type = 0;
&lt;br&gt;+	for (list = head.next; list;) {
&lt;br&gt;+		unsigned long flags = list-&amp;gt;res-&amp;gt;flags;
&lt;br&gt;+
&lt;br&gt;+		failed_type |= flags;
&lt;br&gt;+		list = list-&amp;gt;next;
&lt;br&gt;+	}
&lt;br&gt;+	/*
&lt;br&gt;+	 * io port are tight, don't try extra
&lt;br&gt;+	 * or if reach the limit, don't want to try more
&lt;br&gt;+	 */
&lt;br&gt;+	failed_type &amp;= type_mask;
&lt;br&gt;+	if ((failed_type == IORESOURCE_IO) || (tried_times &amp;gt;= pci_try_num)) {
&lt;br&gt;+		free_failed_list(&amp;head);
&lt;br&gt;+		goto enable_and_dump;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	printk(KERN_DEBUG &amp;quot;PCI: No. %d try to assign unassigned res\n&amp;quot;,
&lt;br&gt;+			 tried_times + 1);
&lt;br&gt;+
&lt;br&gt;+	/*
&lt;br&gt;+	 * Try to release leaf bridge's resources that doesn't fit resource of
&lt;br&gt;+	 * child device under that bridge
&lt;br&gt;+	 */
&lt;br&gt;+	/* third times and later will not check if it is leaf */
&lt;br&gt;+	if ((tried_times + 1) &amp;gt; 2)
&lt;br&gt;+		check_leaf = 0;
&lt;br&gt;+	for (list = head.next; list;) {
&lt;br&gt;+		unsigned long flags = list-&amp;gt;res-&amp;gt;flags;
&lt;br&gt;+
&lt;br&gt;+		bus = list-&amp;gt;dev-&amp;gt;bus;
&lt;br&gt;+		if (list-&amp;gt;dev-&amp;gt;subordinate)
&lt;br&gt;+			list-&amp;gt;res-&amp;gt;flags = 0;
&lt;br&gt;+		pci_bus_release_unused_bridge_res(bus, flags &amp; type_mask,
&lt;br&gt;+						 &amp;nbsp;check_leaf);
&lt;br&gt;+		tmp = list;
&lt;br&gt;+		list = list-&amp;gt;next;
&lt;br&gt;+		kfree(tmp);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	goto again;
&lt;br&gt;+
&lt;br&gt;+enable_and_dump:
&lt;br&gt;+	/* Depth last, update the hardware. */
&lt;br&gt;+	list_for_each_entry(bus, &amp;pci_root_buses, node) {
&lt;br&gt;&amp;nbsp;		pci_enable_bridges(bus);
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Index: linux-2.6/drivers/pci/pci.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/drivers/pci/pci.c
&lt;br&gt;+++ linux-2.6/drivers/pci/pci.c
&lt;br&gt;@@ -2779,6 +2779,11 @@ static int __init pci_setup(char *str)
&lt;br&gt;&amp;nbsp;				pci_no_aer();
&lt;br&gt;&amp;nbsp;			} else if (!strcmp(str, &amp;quot;nodomains&amp;quot;)) {
&lt;br&gt;&amp;nbsp;				pci_no_domains();
&lt;br&gt;+			} else if (!strncmp(str, &amp;quot;try=&amp;quot;, 4)) {
&lt;br&gt;+				int try_num = memparse(str + 4, &amp;str);
&lt;br&gt;+
&lt;br&gt;+				if (try_num &amp;gt; 0 &amp;&amp; try_num &amp;lt; 10)
&lt;br&gt;+					pci_try_num = try_num;
&lt;br&gt;&amp;nbsp;			} else if (!strncmp(str, &amp;quot;cbiosize=&amp;quot;, 9)) {
&lt;br&gt;&amp;nbsp;				pci_cardbus_io_size = memparse(str + 9, &amp;str);
&lt;br&gt;&amp;nbsp;			} else if (!strncmp(str, &amp;quot;cbmemsize=&amp;quot;, 10)) {
&lt;br&gt;Index: linux-2.6/drivers/pci/pci.h
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/drivers/pci/pci.h
&lt;br&gt;+++ linux-2.6/drivers/pci/pci.h
&lt;br&gt;@@ -203,6 +203,8 @@ static inline int pci_ari_enabled(struct
&lt;br&gt;&amp;nbsp;	return bus-&amp;gt;self &amp;&amp; bus-&amp;gt;self-&amp;gt;ari_enabled;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+extern int pci_try_num;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;#ifdef CONFIG_PCI_QUIRKS
&lt;br&gt;&amp;nbsp;extern int pci_is_reassigndev(struct pci_dev *dev);
&lt;br&gt;&amp;nbsp;resource_size_t pci_specified_resource_alignment(struct pci_dev *dev);
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519413&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pci%3A-pciehp-update-the-slot-bridge-res-to-get-big-range-for-pcie-devices-tp25987634p26519413.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519416</id>
	<title>[PATCH 4/9] pci: add failed_list to record failed one for pci_bus_assign_resources</title>
	<published>2009-11-25T11:59:30Z</published>
	<updated>2009-11-25T11:59:30Z</updated>
	<author>
		<name>Yinghai Lu-5</name>
	</author>
	<content type="html">&lt;br&gt;so later we can do sth with those failed one
&lt;br&gt;&lt;br&gt;Signed-off-by: Yinghai Lu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519416&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yinghai@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;drivers/pci/setup-bus.c | &amp;nbsp; 70 +++++++++++++++++++++++++++++++++++++++++++-----
&lt;br&gt;&amp;nbsp;1 file changed, 63 insertions(+), 7 deletions(-)
&lt;br&gt;&lt;br&gt;Index: linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/drivers/pci/setup-bus.c
&lt;br&gt;+++ linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;@@ -27,7 +27,49 @@
&lt;br&gt;&amp;nbsp;#include &amp;lt;linux/slab.h&amp;gt;
&lt;br&gt;&amp;nbsp;#include &amp;quot;pci.h&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-static void pbus_assign_resources_sorted(const struct pci_bus *bus)
&lt;br&gt;+
&lt;br&gt;+static void add_to_failed_list(struct resource_list *head, struct pci_dev *dev,
&lt;br&gt;+				 struct resource *res)
&lt;br&gt;+{
&lt;br&gt;+	struct resource_list *list = head;
&lt;br&gt;+	struct resource_list *ln = list-&amp;gt;next;
&lt;br&gt;+	struct resource_list *tmp;
&lt;br&gt;+
&lt;br&gt;+	tmp = kmalloc(sizeof(*tmp), GFP_KERNEL);
&lt;br&gt;+	if (!tmp) {
&lt;br&gt;+		pr_warning(&amp;quot;add_to_failed_list: kmalloc() failed!\n&amp;quot;);
&lt;br&gt;+		return;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	tmp-&amp;gt;next = ln;
&lt;br&gt;+	tmp-&amp;gt;res = res;
&lt;br&gt;+	tmp-&amp;gt;dev = dev;
&lt;br&gt;+	list-&amp;gt;next = tmp;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+static void free_failed_list(struct resource_list *head)
&lt;br&gt;+{
&lt;br&gt;+	struct resource_list *list, *tmp;
&lt;br&gt;+	struct resource *res;
&lt;br&gt;+	/*
&lt;br&gt;+	 * Try to release leaf bridge's resources that there is no child
&lt;br&gt;+	 * under it
&lt;br&gt;+	 */
&lt;br&gt;+	for (list = head-&amp;gt;next; list;) {
&lt;br&gt;+		res = list-&amp;gt;res;
&lt;br&gt;+		res-&amp;gt;start = 0;
&lt;br&gt;+		res-&amp;gt;end = 0;
&lt;br&gt;+		res-&amp;gt;flags = 0;
&lt;br&gt;+		tmp = list;
&lt;br&gt;+		list = list-&amp;gt;next;
&lt;br&gt;+		kfree(tmp);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	head-&amp;gt;next = NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+static void pbus_assign_resources_sorted(const struct pci_bus *bus,
&lt;br&gt;+					 struct resource_list *fail_head)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct pci_dev *dev;
&lt;br&gt;&amp;nbsp;	struct resource *res;
&lt;br&gt;@@ -58,9 +100,17 @@ static void pbus_assign_resources_sorted
&lt;br&gt;&amp;nbsp;		res = list-&amp;gt;res;
&lt;br&gt;&amp;nbsp;		idx = res - &amp;list-&amp;gt;dev-&amp;gt;resource[0];
&lt;br&gt;&amp;nbsp;		if (pci_assign_resource(list-&amp;gt;dev, idx)) {
&lt;br&gt;-			res-&amp;gt;start = 0;
&lt;br&gt;-			res-&amp;gt;end = 0;
&lt;br&gt;-			res-&amp;gt;flags = 0;
&lt;br&gt;+			if (fail_head &amp;&amp; !pci_is_root_bus(list-&amp;gt;dev-&amp;gt;bus)) {
&lt;br&gt;+				/*
&lt;br&gt;+				 * device need to keep flags and size
&lt;br&gt;+				 * for next try
&lt;br&gt;+				 */
&lt;br&gt;+				add_to_failed_list(fail_head, list-&amp;gt;dev, res);
&lt;br&gt;+			} else {
&lt;br&gt;+				res-&amp;gt;start = 0;
&lt;br&gt;+				res-&amp;gt;end = 0;
&lt;br&gt;+				res-&amp;gt;flags = 0;
&lt;br&gt;+			}
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;&amp;nbsp;		tmp = list;
&lt;br&gt;&amp;nbsp;		list = list-&amp;gt;next;
&lt;br&gt;@@ -577,19 +627,20 @@ void __ref pci_bus_size_bridges(struct p
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;EXPORT_SYMBOL(pci_bus_size_bridges);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-void __ref pci_bus_assign_resources(const struct pci_bus *bus)
&lt;br&gt;+static void __ref __pci_bus_assign_resources(const struct pci_bus *bus,
&lt;br&gt;+					 struct resource_list *fail_head)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct pci_bus *b;
&lt;br&gt;&amp;nbsp;	struct pci_dev *dev;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	pbus_assign_resources_sorted(bus);
&lt;br&gt;+	pbus_assign_resources_sorted(bus, fail_head);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	list_for_each_entry(dev, &amp;bus-&amp;gt;devices, bus_list) {
&lt;br&gt;&amp;nbsp;		b = dev-&amp;gt;subordinate;
&lt;br&gt;&amp;nbsp;		if (!b)
&lt;br&gt;&amp;nbsp;			continue;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		pci_bus_assign_resources(b);
&lt;br&gt;+		__pci_bus_assign_resources(b, fail_head);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		switch (dev-&amp;gt;class &amp;gt;&amp;gt; 8) {
&lt;br&gt;&amp;nbsp;		case PCI_CLASS_BRIDGE_PCI:
&lt;br&gt;@@ -607,6 +658,11 @@ void __ref pci_bus_assign_resources(cons
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+void __ref pci_bus_assign_resources(const struct pci_bus *bus)
&lt;br&gt;+{
&lt;br&gt;+	__pci_bus_assign_resources(bus, NULL);
&lt;br&gt;+}
&lt;br&gt;&amp;nbsp;EXPORT_SYMBOL(pci_bus_assign_resources);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void release_children_resource(struct resource *r)
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519416&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pci%3A-pciehp-update-the-slot-bridge-res-to-get-big-range-for-pcie-devices-tp25987634p26519416.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519344</id>
	<title>[PATCH 3/9] pci: don't dump it when bus resource flags is not set</title>
	<published>2009-11-25T11:59:24Z</published>
	<updated>2009-11-25T11:59:24Z</updated>
	<author>
		<name>Yinghai Lu-5</name>
	</author>
	<content type="html">&lt;br&gt;mean it is not used, so skip it.
&lt;br&gt;&lt;br&gt;Signed-off-by: Yinghai Lu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519344&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yinghai@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;drivers/pci/setup-bus.c | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;1 file changed, 1 insertion(+), 1 deletion(-)
&lt;br&gt;&lt;br&gt;Index: linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/drivers/pci/setup-bus.c
&lt;br&gt;+++ linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;@@ -725,7 +725,7 @@ static void pci_bus_dump_res(struct pci_
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; PCI_BUS_NUM_RESOURCES; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;struct resource *res = bus-&amp;gt;resource[i];
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		if (!res || !res-&amp;gt;end)
&lt;br&gt;+		if (!res || !res-&amp;gt;end || !res-&amp;gt;flags)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;continue;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		dev_printk(KERN_DEBUG, &amp;bus-&amp;gt;dev, &amp;quot;resource %d %pR\n&amp;quot;, i, res);
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519344&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pci%3A-pciehp-update-the-slot-bridge-res-to-get-big-range-for-pcie-devices-tp25987634p26519344.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519412</id>
	<title>[PATCH 2/9] pci: add pci_bridge_release_unused_res and pci_bus_release_unused_bridge_res</title>
	<published>2009-11-25T11:59:16Z</published>
	<updated>2009-11-25T11:59:16Z</updated>
	<author>
		<name>Yinghai Lu-5</name>
	</author>
	<content type="html">&lt;br&gt;so later we could use it to release small resource before pci assign unassign res
&lt;br&gt;&lt;br&gt;Signed-off-by: Yinghai Lu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519412&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yinghai@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;drivers/pci/setup-bus.c | &amp;nbsp;112 +++++++++++++++++++++++++++++++++++++++++++++++-
&lt;br&gt;&amp;nbsp;1 file changed, 111 insertions(+), 1 deletion(-)
&lt;br&gt;&lt;br&gt;Index: linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/drivers/pci/setup-bus.c
&lt;br&gt;+++ linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;@@ -609,13 +609,123 @@ void __ref pci_bus_assign_resources(cons
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;EXPORT_SYMBOL(pci_bus_assign_resources);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+static void release_children_resource(struct resource *r)
&lt;br&gt;+{
&lt;br&gt;+	struct resource *p;
&lt;br&gt;+	resource_size_t size;
&lt;br&gt;+
&lt;br&gt;+	p = r-&amp;gt;child;
&lt;br&gt;+	while (p) {
&lt;br&gt;+		release_children_resource(p);
&lt;br&gt;+		release_resource(p);
&lt;br&gt;+		printk(KERN_DEBUG &amp;quot;PCI: release child resource %pRt\n&amp;quot;, p);
&lt;br&gt;+		/* need to restore size, and keep flags */
&lt;br&gt;+		size = resource_size(p);
&lt;br&gt;+		p-&amp;gt;start = 0;
&lt;br&gt;+		p-&amp;gt;end = size - 1;
&lt;br&gt;+		p = r-&amp;gt;child;
&lt;br&gt;+	}
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+static void pci_bridge_release_unused_res(struct pci_bus *bus,
&lt;br&gt;+					 &amp;nbsp;unsigned long type)
&lt;br&gt;+{
&lt;br&gt;+	int idx;
&lt;br&gt;+	bool changed = false;
&lt;br&gt;+	struct pci_dev *dev;
&lt;br&gt;+	struct resource *r;
&lt;br&gt;+	unsigned long type_mask = IORESOURCE_IO | IORESOURCE_MEM |
&lt;br&gt;+				 &amp;nbsp;IORESOURCE_PREFETCH;
&lt;br&gt;+
&lt;br&gt;+	/* for pci bridges res only */
&lt;br&gt;+	dev = bus-&amp;gt;self;
&lt;br&gt;+	for (idx = PCI_BRIDGE_RESOURCES; idx &amp;lt; PCI_BRIDGE_RESOURCES + 3;
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;idx++) {
&lt;br&gt;+		r = &amp;dev-&amp;gt;resource[idx];
&lt;br&gt;+		if ((r-&amp;gt;flags &amp; type_mask) != type)
&lt;br&gt;+			continue;
&lt;br&gt;+		if (!r-&amp;gt;parent)
&lt;br&gt;+			continue;
&lt;br&gt;+		/*
&lt;br&gt;+		 * if there are children under that, we should release them
&lt;br&gt;+		 * &amp;nbsp;all
&lt;br&gt;+		 */
&lt;br&gt;+		release_children_resource(r);
&lt;br&gt;+		if (!release_resource(r)) {
&lt;br&gt;+			dev_printk(KERN_DEBUG, &amp;dev-&amp;gt;dev,
&lt;br&gt;+				 &amp;quot;resource %d %pRt released\n&amp;quot;, idx, r);
&lt;br&gt;+			r-&amp;gt;flags = 0;
&lt;br&gt;+			changed = true;
&lt;br&gt;+		}
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	if (changed) {
&lt;br&gt;+		if (type &amp; IORESOURCE_PREFETCH) {
&lt;br&gt;+			/* avoiding touch the one without PREF */
&lt;br&gt;+			type = IORESOURCE_PREFETCH;
&lt;br&gt;+		}
&lt;br&gt;+		__pci_setup_bridge(bus, type);
&lt;br&gt;+	}
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+/*
&lt;br&gt;+ * try to release pci bridge resources that is from leaf bridge,
&lt;br&gt;+ * so we can allocate big new one later
&lt;br&gt;+ * check:
&lt;br&gt;+ * &amp;nbsp; &amp;nbsp;0: only release the bridge and only the bridge is leaf
&lt;br&gt;+ * &amp;nbsp; &amp;nbsp;1: release all down side bridge for third shoot
&lt;br&gt;+ */
&lt;br&gt;+static void __ref pci_bus_release_unused_bridge_res(struct pci_bus *bus,
&lt;br&gt;+						 &amp;nbsp; &amp;nbsp;unsigned long type,
&lt;br&gt;+						 &amp;nbsp; &amp;nbsp;int check_leaf)
&lt;br&gt;+{
&lt;br&gt;+	struct pci_dev *dev;
&lt;br&gt;+	bool is_leaf_bridge = true;
&lt;br&gt;+
&lt;br&gt;+	list_for_each_entry(dev, &amp;bus-&amp;gt;devices, bus_list) {
&lt;br&gt;+		struct pci_bus *b = dev-&amp;gt;subordinate;
&lt;br&gt;+		if (!b)
&lt;br&gt;+			continue;
&lt;br&gt;+
&lt;br&gt;+		switch (dev-&amp;gt;class &amp;gt;&amp;gt; 8) {
&lt;br&gt;+		case PCI_CLASS_BRIDGE_CARDBUS:
&lt;br&gt;+			is_leaf_bridge = false;
&lt;br&gt;+			break;
&lt;br&gt;+
&lt;br&gt;+		case PCI_CLASS_BRIDGE_PCI:
&lt;br&gt;+		default:
&lt;br&gt;+			is_leaf_bridge = false;
&lt;br&gt;+			if (!check_leaf)
&lt;br&gt;+				pci_bus_release_unused_bridge_res(b, type,
&lt;br&gt;+							 check_leaf);
&lt;br&gt;+			break;
&lt;br&gt;+		}
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	/* The root bus? */
&lt;br&gt;+	if (!bus-&amp;gt;self)
&lt;br&gt;+		return;
&lt;br&gt;+
&lt;br&gt;+	switch (bus-&amp;gt;self-&amp;gt;class &amp;gt;&amp;gt; 8) {
&lt;br&gt;+	case PCI_CLASS_BRIDGE_CARDBUS:
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case PCI_CLASS_BRIDGE_PCI:
&lt;br&gt;+	default:
&lt;br&gt;+		if ((check_leaf &amp;&amp; is_leaf_bridge) || !check_leaf)
&lt;br&gt;+			pci_bridge_release_unused_res(bus, type);
&lt;br&gt;+		break;
&lt;br&gt;+	}
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;static void pci_bus_dump_res(struct pci_bus *bus)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int i;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; PCI_BUS_NUM_RESOURCES; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;struct resource *res = bus-&amp;gt;resource[i];
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!res || !res-&amp;gt;end)
&lt;br&gt;+
&lt;br&gt;+		if (!res || !res-&amp;gt;end)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;continue;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		dev_printk(KERN_DEBUG, &amp;bus-&amp;gt;dev, &amp;quot;resource %d %pR\n&amp;quot;, i, res);
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519412&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pci%3A-pciehp-update-the-slot-bridge-res-to-get-big-range-for-pcie-devices-tp25987634p26519412.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519411</id>
	<title>[PATCH 1/9] pci: separate pci_setup_bridge to small functions</title>
	<published>2009-11-25T11:59:12Z</published>
	<updated>2009-11-25T11:59:12Z</updated>
	<author>
		<name>Yinghai Lu-5</name>
	</author>
	<content type="html">prepare to use those small functions according to resource type later
&lt;br&gt;&lt;br&gt;Signed-off-by: Yinghai Lu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519411&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yinghai@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;drivers/pci/setup-bus.c | &amp;nbsp; 54 +++++++++++++++++++++++++++++++++++++++---------
&lt;br&gt;&amp;nbsp;1 file changed, 44 insertions(+), 10 deletions(-)
&lt;br&gt;&lt;br&gt;Index: linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.orig/drivers/pci/setup-bus.c
&lt;br&gt;+++ linux-2.6/drivers/pci/setup-bus.c
&lt;br&gt;@@ -134,19 +134,12 @@ EXPORT_SYMBOL(pci_setup_cardbus);
&lt;br&gt;&amp;nbsp; &amp;nbsp; config space writes, so it's quite possible that an I/O window of
&lt;br&gt;&amp;nbsp; &amp;nbsp; the bridge will have some undesirable address (e.g. 0) after the
&lt;br&gt;&amp;nbsp; &amp;nbsp; first write. Ditto 64-bit prefetchable MMIO. &amp;nbsp;*/
&lt;br&gt;-static void pci_setup_bridge(struct pci_bus *bus)
&lt;br&gt;+static void pci_setup_bridge_io(struct pci_bus *bus)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct pci_dev *bridge = bus-&amp;gt;self;
&lt;br&gt;&amp;nbsp;	struct resource *res;
&lt;br&gt;&amp;nbsp;	struct pci_bus_region region;
&lt;br&gt;-	u32 l, bu, lu, io_upper16;
&lt;br&gt;-	int pref_mem64;
&lt;br&gt;-
&lt;br&gt;-	if (pci_is_enabled(bridge))
&lt;br&gt;-		return;
&lt;br&gt;-
&lt;br&gt;-	dev_info(&amp;bridge-&amp;gt;dev, &amp;quot;PCI bridge to [bus %02x-%02x]\n&amp;quot;,
&lt;br&gt;-		 bus-&amp;gt;secondary, bus-&amp;gt;subordinate);
&lt;br&gt;+	u32 l, io_upper16;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	/* Set up the top and bottom of the PCI I/O segment for this bus. */
&lt;br&gt;&amp;nbsp;	res = bus-&amp;gt;resource[0];
&lt;br&gt;@@ -172,7 +165,13 @@ static void pci_setup_bridge(struct pci_
&lt;br&gt;&amp;nbsp;	pci_write_config_dword(bridge, PCI_IO_BASE, l);
&lt;br&gt;&amp;nbsp;	/* Update upper 16 bits of I/O base/limit. */
&lt;br&gt;&amp;nbsp;	pci_write_config_dword(bridge, PCI_IO_BASE_UPPER16, io_upper16);
&lt;br&gt;-
&lt;br&gt;+}
&lt;br&gt;+static void pci_setup_bridge_mmio(struct pci_bus *bus)
&lt;br&gt;+{
&lt;br&gt;+	struct pci_dev *bridge = bus-&amp;gt;self;
&lt;br&gt;+	struct resource *res;
&lt;br&gt;+	struct pci_bus_region region;
&lt;br&gt;+	u32 l;
&lt;br&gt;&amp;nbsp;	/* Set up the top and bottom of the PCI Memory segment
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; for this bus. */
&lt;br&gt;&amp;nbsp;	res = bus-&amp;gt;resource[1];
&lt;br&gt;@@ -187,6 +186,14 @@ static void pci_setup_bridge(struct pci_
&lt;br&gt;&amp;nbsp;		dev_info(&amp;bridge-&amp;gt;dev, &amp;quot; &amp;nbsp;bridge window [mem disabled]\n&amp;quot;);
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	pci_write_config_dword(bridge, PCI_MEMORY_BASE, l);
&lt;br&gt;+}
&lt;br&gt;+static void pci_setup_bridge_mmio_pref(struct pci_bus *bus)
&lt;br&gt;+{
&lt;br&gt;+	struct pci_dev *bridge = bus-&amp;gt;self;
&lt;br&gt;+	struct resource *res;
&lt;br&gt;+	struct pci_bus_region region;
&lt;br&gt;+	u32 l, bu, lu;
&lt;br&gt;+	int pref_mem64;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	/* Clear out the upper 32 bits of PREF limit.
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; If PCI_PREF_BASE_UPPER32 was non-zero, this temporarily
&lt;br&gt;@@ -219,10 +226,37 @@ static void pci_setup_bridge(struct pci_
&lt;br&gt;&amp;nbsp;		pci_write_config_dword(bridge, PCI_PREF_BASE_UPPER32, bu);
&lt;br&gt;&amp;nbsp;		pci_write_config_dword(bridge, PCI_PREF_LIMIT_UPPER32, lu);
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;+}
&lt;br&gt;+static void __pci_setup_bridge(struct pci_bus *bus, unsigned long type)
&lt;br&gt;+{
&lt;br&gt;+	struct pci_dev *bridge = bus-&amp;gt;self;
&lt;br&gt;+
&lt;br&gt;+	if (pci_is_enabled(bridge))
&lt;br&gt;+		return;
&lt;br&gt;+
&lt;br&gt;+	dev_info(&amp;bridge-&amp;gt;dev, &amp;quot;PCI bridge to [bus %02x-%02x]\n&amp;quot;,
&lt;br&gt;+		 bus-&amp;gt;secondary, bus-&amp;gt;subordinate);
&lt;br&gt;+
&lt;br&gt;+	if (type &amp; IORESOURCE_IO)
&lt;br&gt;+		pci_setup_bridge_io(bus);
&lt;br&gt;+
&lt;br&gt;+	if (type &amp; IORESOURCE_MEM)
&lt;br&gt;+		pci_setup_bridge_mmio(bus);
&lt;br&gt;+
&lt;br&gt;+	if (type &amp; IORESOURCE_PREFETCH)
&lt;br&gt;+		pci_setup_bridge_mmio_pref(bus);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	pci_write_config_word(bridge, PCI_BRIDGE_CONTROL, bus-&amp;gt;bridge_ctl);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+static void pci_setup_bridge(struct pci_bus *bus)
&lt;br&gt;+{
&lt;br&gt;+	unsigned long type = IORESOURCE_IO | IORESOURCE_MEM |
&lt;br&gt;+				 &amp;nbsp;IORESOURCE_PREFETCH;
&lt;br&gt;+
&lt;br&gt;+	__pci_setup_bridge(bus, type);
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;/* Check whether the bridge supports optional I/O and
&lt;br&gt;&amp;nbsp; &amp;nbsp; prefetchable memory ranges. If not, the respective
&lt;br&gt;&amp;nbsp; &amp;nbsp; base/limit registers must be read-only and read as 0. */
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519411&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pci%3A-pciehp-update-the-slot-bridge-res-to-get-big-range-for-pcie-devices-tp25987634p26519411.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519343</id>
	<title>[PATCH 0/9] pci: update pci bridge resource to get more big range for devices under it - v12</title>
	<published>2009-11-25T11:58:59Z</published>
	<updated>2009-11-25T11:58:59Z</updated>
	<author>
		<name>Yinghai Lu-5</name>
	</author>
	<content type="html">split the two patches in to 9 for easy review...
&lt;br&gt;&lt;br&gt;please check
&lt;br&gt;&lt;br&gt;1. boot time:
&lt;br&gt;&lt;br&gt;BIOS separate IO range between several IOHs, and on some slots, BIOS assign the resource to the bridge, but stop
&lt;br&gt;assigning resource to the device under that bridge, because the device need big resource.
&lt;br&gt;&lt;br&gt;so patches (first 6) are trying to 
&lt;br&gt;a. pci assign unassign and record the failed device resource.
&lt;br&gt;b. clear the BIOS assigned resource of the parent bridge of fail device
&lt;br&gt;c. go back and call pci assign unsigned
&lt;br&gt;d. if it still fail, will go up more bridges. and clear and try again.
&lt;br&gt;&lt;br&gt;v2: Jesse doesn't like it is in find_free_bus_resource...
&lt;br&gt;&amp;nbsp; &amp;nbsp; try to move out of pci_bus_size_bridges loop.
&lt;br&gt;v3: add pci_setup_bridge calling after pci_bridge_release_not_used_res.
&lt;br&gt;&amp;nbsp; &amp;nbsp; only clear release those res for x86.
&lt;br&gt;v4: Bjorn want to release use dev instead of bus.
&lt;br&gt;v5: Kenji pointed out it will have problem with several level bridge.
&lt;br&gt;&amp;nbsp; &amp;nbsp; so let only handle leaf bridge.
&lt;br&gt;v6: address Kenji's request (new pci_bus_release...). and change applying order
&lt;br&gt;&amp;nbsp; &amp;nbsp; move back release to pci_assign_unassigned_resource
&lt;br&gt;v7: change functions name pci_bus_release_unused_bridge_res according to Jesse
&lt;br&gt;v8: address Eric's concern, only overwrite leaf bridge resource that is not big
&lt;br&gt;&amp;nbsp; &amp;nbsp; enough need to do it in two steps, and first step recore the failed res,
&lt;br&gt;&amp;nbsp; &amp;nbsp; and don't touch bridge res that programmed by firmware. second step will
&lt;br&gt;&amp;nbsp; &amp;nbsp; try to release bridge resource that is too small at first.
&lt;br&gt;v9: refresh to be applied after bjorn's patch, and remove trick about save
&lt;br&gt;&amp;nbsp; &amp;nbsp; size and restore resource second try.
&lt;br&gt;v11:add pci=try=5, about more try to change more bridge
&lt;br&gt;v12:not shrink pci bridge resource
&lt;br&gt;&lt;br&gt;2. hotplug:
&lt;br&gt;BIOS separate IO range between several IOHs, and on some slots, BIOS assign the resource to every bridge. (8M)
&lt;br&gt;but when insert one card that big resource, the card can not get resource. because kernel will not touch the 
&lt;br&gt;bridge resource.
&lt;br&gt;&lt;br&gt;so patches (last 3) are trying to
&lt;br&gt;a. assign resource to devices with that slot. and record fail devices
&lt;br&gt;b. if there is some failed, will clear sepcifically io port of bridge, or mmio of bridge, or mmio pref of bridge.
&lt;br&gt;c. try to assign the parent bridge of the slot.
&lt;br&gt;&lt;br&gt;v2: address Alex's concern about pci remove/rescan feature about
&lt;br&gt;&amp;nbsp; &amp;nbsp; pci_setup_bridge changes.
&lt;br&gt;v3: Kenji pointed out that pci_config_slot need to be called before
&lt;br&gt;&amp;nbsp; &amp;nbsp; pci_bus_add_devices()
&lt;br&gt;v4: move out pci_is_enabled checkout of pci_setup_bridge()
&lt;br&gt;v5: change the applying sequence.
&lt;br&gt;v6: change the functions name according to Jesse
&lt;br&gt;v8: address Eric's concern, only overwrite leaf bridge resource that is not
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;big enough
&lt;br&gt;v9: refresh to be applied after bjorn's patch, and remove trick about save
&lt;br&gt;&amp;nbsp; &amp;nbsp; size and restore resource second try.
&lt;br&gt;v10:alex found need to have export for pci_assign_unassigned_bridge_resources
&lt;br&gt;v11: pass check_leaf with pci_bus_release_unused_bridge_res
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Yinghai
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519343&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pci%3A-pciehp-update-the-slot-bridge-res-to-get-big-range-for-pcie-devices-tp25987634p26519343.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519308</id>
	<title>Re: [PATCH 1/2] hrtimer: correct a few numbers in comments and printk outputs</title>
	<published>2009-11-25T11:56:01Z</published>
	<updated>2009-11-25T11:56:01Z</updated>
	<author>
		<name>Andrew Morton-9</name>
	</author>
	<content type="html">On Tue, 24 Nov 2009 11:14:03 +0100
&lt;br&gt;Uwe Kleine-K__nig &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519308&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;u.kleine-koenig@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello Andrew,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Mon, Nov 23, 2009 at 03:25:16PM -0800, Andrew Morton wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Fri, 20 Nov 2009 20:23:39 +0100
&lt;br&gt;&amp;gt; &amp;gt; Uwe Kleine-K__nig &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519308&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;u.kleine-koenig@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; @@ -52,7 +52,7 @@ int tick_dev_program_event(struct clock_event_device *dev, ktime_t expires,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;			printk(KERN_WARNING
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;CE: %s increasing min_delta_ns to %lu nsec\n&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp; dev-&amp;gt;name ? dev-&amp;gt;name : &amp;quot;?&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; -			 &amp;nbsp; &amp;nbsp; &amp;nbsp; dev-&amp;gt;min_delta_ns &amp;lt;&amp;lt; 1);
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +			 &amp;nbsp; &amp;nbsp; &amp;nbsp; dev-&amp;gt;min_delta_ns);
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;			i = 0;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;		}
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; This one's already in linux-next:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; @@ -50,9 +50,9 @@ int tick_dev_program_event(struct clock_
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;				dev-&amp;gt;min_delta_ns += dev-&amp;gt;min_delta_ns &amp;gt;&amp;gt; 1;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			printk(KERN_WARNING
&lt;br&gt;&amp;gt; &amp;gt; -			 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;CE: %s increasing min_delta_ns to %lu nsec\n&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; +			 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;CE: %s increasing min_delta_ns to %llu nsec\n&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp; dev-&amp;gt;name ? dev-&amp;gt;name : &amp;quot;?&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; -			 &amp;nbsp; &amp;nbsp; &amp;nbsp; dev-&amp;gt;min_delta_ns &amp;lt;&amp;lt; 1);
&lt;br&gt;&amp;gt; &amp;gt; +			 &amp;nbsp; &amp;nbsp; &amp;nbsp; (unsigned long long) dev-&amp;gt;min_delta_ns &amp;lt;&amp;lt; 1);
&lt;br&gt;&amp;gt; '&amp;lt;&amp;lt; 1' is wrong here, too.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;What's wrong with it? &amp;nbsp;That leftshift appears to be to compensate for
&lt;br&gt;the rightshift a few lines above.
&lt;br&gt;&lt;br&gt;That change was unobvious and unchangelogged, so here we are again.
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519308&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-2--hrtimer%3A-correct-a-few-numbers-in-comments-and-printk-outputs-tp26448947p26519308.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519250</id>
	<title>Re: [PATCH 82/86] pata_via: clear UDMA transfer mode bit for PIO and MWDMA</title>
	<published>2009-11-25T11:53:09Z</published>
	<updated>2009-11-25T11:53:09Z</updated>
	<author>
		<name>Bartlomiej Zolnierkiewicz</name>
	</author>
	<content type="html">On Wednesday 25 November 2009 08:34:19 pm Alan Cox wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, 25 Nov 2009 19:10:06 +0100
&lt;br&gt;&amp;gt; Bartlomiej Zolnierkiewicz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519250&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bzolnier@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; On Wednesday 25 November 2009 07:06:48 pm Alan Cox wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Do you really find such tidy patch hard to review?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; When doing it at speed - yes.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Do you review everybody else patches 'at speed' or only mine?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; All of them when I've got a lot of stuff to do. Owing to a lack of time
&lt;br&gt;&amp;gt; machine and 500 hour days it's neccessary.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also btw take it is a compliment - there are some people's patches I
&lt;br&gt;&amp;gt; always review in detail and it isn't the patches you expect to be *right*
&lt;br&gt;&amp;gt; that you spend the time on...
&lt;/div&gt;&lt;br&gt;Well, you don't really have to review every single patch touching areas
&lt;br&gt;that &amp;nbsp;you're just interested in (and if you're maintaining those drivers
&lt;br&gt;please document it in MAINTAINERS file, thanks).
&lt;br&gt;&lt;br&gt;The problem is that in case you're not entirely correct, which is much
&lt;br&gt;more likely when doing things 'at speed', you're will be wasting time
&lt;br&gt;for everybody (not that I really care that much about &amp;nbsp;others' time but
&lt;br&gt;I do care about mine).
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Bartlomiej Zolnierkiewicz
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519250&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-00-86--PATA-fixes-tp26516509p26519250.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519235</id>
	<title>Re: [PATCH 1/3]fs/inode: iunique() Optimize Performance</title>
	<published>2009-11-25T11:52:57Z</published>
	<updated>2009-11-25T11:52:57Z</updated>
	<author>
		<name>Matthew Wilcox</name>
	</author>
	<content type="html">On Wed, Nov 25, 2009 at 08:20:02PM +0100, J?r?my Cochoy wrote:
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There is something strange in iunique : what will happend if all inode
&lt;br&gt;&amp;gt; between max_reserved+1 and (unsinged in)(0-1) ? Will it make an
&lt;br&gt;&amp;gt; infinite loop or an interruption can happen and make an inode become
&lt;br&gt;&amp;gt; free?
&lt;br&gt;&lt;br&gt;Another process can free an inode while this loop is executing.
&lt;br&gt;&lt;br&gt;&amp;gt; In that case, it will be better to stop search when counter overflow, no?
&lt;br&gt;&lt;br&gt;If you have all four billion inodes allocated, you have significantly
&lt;br&gt;bigger problems than this loop. &amp;nbsp;For a start, at 600 bytes per inode,
&lt;br&gt;I'd like to see your machine with 2.4TB of memory. &amp;nbsp;Then there's the
&lt;br&gt;size of your inode hash, and the depth of the chains within it.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Will it not be better to use a field max_ino_used (in superblock, for
&lt;br&gt;&amp;gt; exemple) where we store the last inode allocated with iunique and make
&lt;br&gt;&amp;gt; a search only if max_ino_used become to (unsigned)(-1) ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But, if iunique is here to provide a solution in order to generate
&lt;br&gt;&amp;gt; unused inode in filesystem which have various inode number, it's
&lt;br&gt;&amp;gt; better to use a list of used ino, in a short hash table which use the
&lt;br&gt;&amp;gt; first 8 bits of the inode, always use the same function to create a
&lt;br&gt;&amp;gt; new inode and look at the head if we can add a new inode with bigger
&lt;br&gt;&amp;gt; ino and still in the range. (But i think filesystems developper prefer
&lt;br&gt;&amp;gt; to write ther own functions in order to do that, no?)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Well, if we want to stop in case of full inode filesystem, we can put
&lt;br&gt;&amp;gt; the first condition in the head and add change return as :
&lt;br&gt;&amp;gt; return inode-&amp;gt;i_ino &amp;gt; max_reserved ? res : 0; // 0 might &amp;quot;i can't find
&lt;br&gt;&amp;gt; an inode after max_reserved&amp;quot;
&lt;/div&gt;&lt;br&gt;Gloves.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://thedailywtf.com/Articles/The_Complicator_0x27_s_Gloves.aspx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thedailywtf.com/Articles/The_Complicator_0x27_s_Gloves.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matthew Wilcox				Intel Open Source Technology Centre
&lt;br&gt;&amp;quot;Bill, look, we understand that you're interested in selling us this
&lt;br&gt;operating system, but compare it to ours. &amp;nbsp;We can't possibly take such
&lt;br&gt;a retrograde step.&amp;quot;
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519235&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-3-fs-inode%3A-iunique%28%29-Optimize-Performance-tp26513213p26519235.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519207</id>
	<title>Re: [PATCH] kbuild: Steppeing down as Maintainer</title>
	<published>2009-11-25T11:50:42Z</published>
	<updated>2009-11-25T11:50:42Z</updated>
	<author>
		<name>Andrew Morton-9</name>
	</author>
	<content type="html">On Tue, 24 Nov 2009 10:15:47 +0100
&lt;br&gt;maximilian attems &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519207&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;max@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Nov 23, 2009 at 03:05:24PM -0800, Andrew Morton wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; The current queue is:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; kbuild-generate-modulesbuiltin.patch
&lt;br&gt;&amp;gt; &amp;gt; kbuild-rebuild-fix-for-makefilemodbuiltin.patch
&lt;br&gt;&amp;gt; &amp;gt; kbuild-generate-modulesbuiltin-fix-2.patch
&lt;br&gt;&amp;gt; &amp;gt; kbuild-generate-modulesbuiltin-fix-2-checkpatch-fixes.patch
&lt;br&gt;&amp;gt; &amp;gt; kconfig-cross_compile-option.patch
&lt;br&gt;&amp;gt; &amp;gt; kbuild-clean-up-marker.patch
&lt;br&gt;&amp;gt; &amp;gt; kbuild-clear-marker-out-of-modpost.patch
&lt;br&gt;&amp;gt; &amp;gt; kbuild-genksyms-properly-consider-export_unused_symbol_gpl.patch
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; please add the following fakeroot usage to -next for 2.6.33 as
&lt;br&gt;&amp;gt; package target enhancement:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://marc.info/?l=linux-kbuild&amp;m=125561337922614&amp;w=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://marc.info/?l=linux-kbuild&amp;m=125561337922614&amp;w=2&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://marc.info/?l=linux-kbuild&amp;m=125561358622933&amp;w=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://marc.info/?l=linux-kbuild&amp;m=125561358622933&amp;w=2&lt;/a&gt;&lt;/div&gt;&lt;br&gt;I don't have a copy.
&lt;br&gt;&lt;br&gt;&amp;gt; patch got tested inbetween and with both acks:
&lt;br&gt;&amp;gt; Acked-by: Frans Pop &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519207&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elendil@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Acked-by: maximilian attems &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519207&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;max@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; see &lt;a href=&quot;http://marc.info/?l=linux-kbuild&amp;m=125551864712151&amp;w=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://marc.info/?l=linux-kbuild&amp;m=125551864712151&amp;w=2&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please refresh, retest and resend. &amp;nbsp;Update the acks in the changelog, thanks.
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519207&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stepping-down-as-kbuild-maintainer-tp26448099p26519207.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519138</id>
	<title>Re: [PATCH v4] k10temp: temperature sensor for AMD Family 10h/11h CPUs</title>
	<published>2009-11-25T11:45:44Z</published>
	<updated>2009-11-25T11:45:44Z</updated>
	<author>
		<name>Andrew Morton-9</name>
	</author>
	<content type="html">On Tue, 24 Nov 2009 09:43:39 +0100
&lt;br&gt;Clemens Ladisch &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519138&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;clemens@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; This adds a driver for the internal temperature sensor of AMD Family 10h
&lt;br&gt;&amp;gt; and 11h CPUs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Clemens Ladisch &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519138&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;clemens@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; v3: added 'force' parameter for CPUs with buggy sensor; more documentation
&lt;br&gt;&amp;gt; v4: added max/crit values, other changes suggested by Jean Delvare
&lt;br&gt;&lt;br&gt;Pierre's happy now?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; +#define REG_HARDWARE_THERMAL_CONTROL	0x64
&lt;br&gt;&amp;gt; +#define &amp;nbsp;HTC_ENABLE			0x00000001
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +#define REG_REPORTED_TEMPERATURE	0xa4
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +#define REG_NORTHBRIDGE_CAPABILITIES	0xe8
&lt;br&gt;&amp;gt; +#define &amp;nbsp;NB_CAP_HTC			0x00000400
&lt;/div&gt;&lt;br&gt;These definitions relate to register addresses within the AMD CPUs,
&lt;br&gt;yes? &amp;nbsp;I wonder if these should be placed in some header file in
&lt;br&gt;arch/x86/include/asm/ where other such things are described.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519138&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--k10temp%3A-temperature-sensor-for-AMD-Family-10h-11h-CPUs-tp26439781p26519138.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26518965</id>
	<title>Re: [PATCH] Port ricoh_mmc from driver to pci quirk.</title>
	<published>2009-11-25T11:35:01Z</published>
	<updated>2009-11-25T11:35:01Z</updated>
	<author>
		<name>Andrew Morton-9</name>
	</author>
	<content type="html">On Wed, 25 Nov 2009 08:53:24 -0800
&lt;br&gt;Philip Langdale &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518965&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;philipl@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; On Wed, 25 Nov 2009 16:58:41 +0200
&lt;br&gt;&amp;gt; Maxim Levitsky &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518965&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maximlevitsky@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;From 5c5e6f5ab1a5a09a430f410cab4b160a5e65501c Mon Sep 17 00:00:00
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;2001
&lt;br&gt;&amp;gt; &amp;gt; From: Maxim Levitsky &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518965&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maximlevitsky@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Date: Wed, 25 Nov 2009 16:37:46 +0200
&lt;br&gt;&amp;gt; &amp;gt; Subject: [PATCH] Port ricoh_mmc from driver to pci quirk.
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;This is much cleaner and correct solution
&lt;br&gt;&lt;br&gt;This patch actually fixes a bug but the changelog forgot to tell us
&lt;br&gt;this important fact.
&lt;br&gt;&lt;br&gt;&amp;gt; I'm fine with the concept, but when I originally started work on
&lt;br&gt;&amp;gt; Ricoh support, Pierre specifically didn't want a pci quirk.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Pierre wrote:
&lt;br&gt;&amp;gt; &amp;gt; I'd rather we didn't. The current style of quirks are bad enough,
&lt;br&gt;&amp;gt; &amp;gt; making them even more vendor or device specific is a bit more than I'm
&lt;br&gt;&amp;gt; &amp;gt; willing to accept right now (seriously, how hard can it be to follow
&lt;br&gt;&amp;gt; &amp;gt; the damn spec?).
&lt;br&gt;&lt;br&gt;Can the bug be fixed by other means, within ricoh_mmc.c?
&lt;br&gt;&lt;br&gt;It's a bit sad to add a lump of code to everyone's kernel like this -
&lt;br&gt;what percentage of those machines actually have a ricoh mmc controller?
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518965&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-work-of-ricoh_mmc-isn%27t-detected-by-pci-core-tp26488498p26518965.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26518901</id>
	<title>Re: [PATCH 82/86] pata_via: clear UDMA transfer mode bit for PIO and MWDMA</title>
	<published>2009-11-25T11:33:29Z</published>
	<updated>2009-11-25T11:33:29Z</updated>
	<author>
		<name>Alan Cox</name>
	</author>
	<content type="html">On Wed, 25 Nov 2009 19:10:06 +0100
&lt;br&gt;Bartlomiej Zolnierkiewicz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518901&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bzolnier@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; On Wednesday 25 November 2009 07:06:48 pm Alan Cox wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Do you really find such tidy patch hard to review?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; When doing it at speed - yes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Do you review everybody else patches 'at speed' or only mine?
&lt;br&gt;&lt;br&gt;All of them when I've got a lot of stuff to do. Owing to a lack of time
&lt;br&gt;machine and 500 hour days it's neccessary.
&lt;br&gt;&lt;br&gt;Also btw take it is a compliment - there are some people's patches I
&lt;br&gt;always review in detail and it isn't the patches you expect to be *right*
&lt;br&gt;that you spend the time on...
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518901&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-00-86--PATA-fixes-tp26516509p26518901.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26518836</id>
	<title>Re: [RFC] Should we create a raw input interface for IR's ? - Was: Re: [PATCH 1/3 v2] lirc core device driver infrastructure</title>
	<published>2009-11-25T11:27:52Z</published>
	<updated>2009-11-25T11:27:52Z</updated>
	<author>
		<name>Krzysztof Halasa</name>
	</author>
	<content type="html">Jarod Wilson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518836&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jarod@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; Ah, but the approach I'd take to converting to in-kernel decoding[*]
&lt;br&gt;&amp;gt; would be this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) bring drivers in in their current state
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;- users keep using lirc as they always have
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2) add in-kernel decoding infra that feeds input layer
&lt;br&gt;&lt;br&gt;Well. I think the above is fine enough.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 3) add option to use in-kernel decoding to existing lirc drivers
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;- users can keep using lirc as they always have
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;- users can optionally try out in-kernel decoding via a modparam
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 4) switch the default mode from lirc decode to kernel decode for each lirc driver
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;- modparam can be used to continue using lirc interface instead
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 5) assuming users aren't coming at us with pitchforks, because things don't actually work reliably with in-kernel decoding, deprecate the lirc interface in driver
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 6) remove lirc interface from driver, its now a pure input device
&lt;/div&gt;&lt;br&gt;But 3-6 are IMHO not useful. We don't need lirc _or_ input. We need
&lt;br&gt;both at the same time: input for the general, simple case and for
&lt;br&gt;consistency with receivers decoding in firmware/hardware; input for
&lt;br&gt;special cases such as mapping the keys, protocols not supported by the
&lt;br&gt;kernel and so on (also for in-tree media drivers where applicable).
&lt;br&gt;&lt;br&gt;&amp;gt; [*] assuming, of course, that it was actually agreed upon that
&lt;br&gt;&amp;gt; in-kernel decoding was the right way, the only way, all others will be
&lt;br&gt;&amp;gt; shot on sight. ;)
&lt;br&gt;&lt;br&gt;I think: in-kernel decoding only as the general, primary means. Not the
&lt;br&gt;only one.
&lt;br&gt;-- 
&lt;br&gt;Krzysztof Halasa
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518836&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-0-3-v2--linux-infrared-remote-control-drivers-tp25975609p26518836.html" />
</entry>

</feed>
