| From | Subject | Date |
|---|---|---|
| Hiroshi Shimamoto | [PATCH 1/5] x86_32: signal: use syscall_get_nr and error
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Use asm/syscall.h interfaces that do the same things.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
arch/x86/kernel/signal_32.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/signal_32.c b/arch/x86/kernel/signal_32.c
index b21070e..3e4a688 100644
--- a/arch/x86/kernel/signal_32.c
+++ b/arch/x86/kernel/signal_32.c
@@ -27,6 +27,7 @@
#include <asm/uaccess.h>
#include ...
| Sep 5, 4:26 pm 2008 |
| Hiroshi Shimamoto | [PATCH 0/5] x86: signal works for unification
Hi,
this patch series is for future unification of signal.c.
These patches make common functions similar in signal_32|64.c.
Could you please review them?
thanks,
Hiroshi Shimamoto
--
| Sep 5, 4:22 pm 2008 |
| Hiroshi Shimamoto | [PATCH 3/5] x86: signal: make NR_restart_syscall
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
make NR_restart_syscall macro for cosmetic unification of handle_signal().
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
arch/x86/kernel/signal_32.c | 3 ++-
arch/x86/kernel/signal_64.c | 6 +++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/signal_32.c b/arch/x86/kernel/signal_32.c
index 76d05d7..bd9b650 100644
--- a/arch/x86/kernel/signal_32.c
+++ ...
| Sep 5, 4:27 pm 2008 |
| Hiroshi Shimamoto | [PATCH 5/5] x86_32: signal: move signal number conversio ...
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Bring signal number conversion in __setup_frame() and __setup_rt_frame()
up into the common part setup_frame().
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
arch/x86/kernel/signal_32.c | 31 ++++++++++++-------------------
1 files changed, 12 insertions(+), 19 deletions(-)
diff --git a/arch/x86/kernel/signal_32.c b/arch/x86/kernel/signal_32.c
index 48982f7..b668efc 100644
--- a/arch/x86/kernel/signal_32.c
+++ ...
| Sep 5, 4:28 pm 2008 |
| Hiroshi Shimamoto | [PATCH 2/5] x86_32: signal: introduce signal_fault()
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
implement signal_fault() for 32bit.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
arch/x86/kernel/signal_32.c | 18 +++++++++++++++++-
include/asm-x86/ptrace.h | 4 ++--
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/signal_32.c b/arch/x86/kernel/signal_32.c
index 3e4a688..76d05d7 100644
--- a/arch/x86/kernel/signal_32.c
+++ b/arch/x86/kernel/signal_32.c
@@ -243,7 +243,7 @@ ...
| Sep 5, 4:27 pm 2008 |
| Hiroshi Shimamoto | [PATCH 4/5] x86: signal: split out frame setups
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Make setup_rt_frame() and split out frame setups from handle_signal().
This is for cosmetic unification of handle_signal().
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
arch/x86/kernel/signal_32.c | 29 ++++++++++++++++++++---------
arch/x86/kernel/signal_64.c | 30 ++++++++++++++++++++----------
2 files changed, 40 insertions(+), 19 deletions(-)
diff --git a/arch/x86/kernel/signal_32.c ...
| Sep 5, 4:28 pm 2008 |
| Alexey Dobriyan | sort-of regression due to "kconfig: speed up all*config ...
Sam, allmodconfig automatic testing is on fire!
I use KCONFIG_ALLCONFIG= heavily to pin some config options to N and
now CONFIG_MODULES aren't set to y after allmodconfig.
Step to reproduce:
rm .config
rm 1
touch 1
make KCONFIG_ALLCONFIG=1 allmodconfig >/dev/null
grep CONFIG_MODULES .config
CONFIG_MODULES is =n after this patch, which is strange given definition
of allmodconfig.
If KCONFIG_ALLCONFIG= is removed, MODULES are back to ...
| Sep 5, 3:50 pm 2008 |
| Raz | SOS: Service Oriented Scheduler
Hello
SOS (service oriented scheduler) is a platform aimed to assign a
service to an offloaded processor.
I will be grateful for any criticism or new services that comes to mind.
Mr Rik Van Riel already express his opinion on this matter (see
http://mail.nl.linux.org/kernelnewbies/2008-09/msg00024.html) .
and sourceforge gave me a spot.
http://sos-linux.cvs.sourceforge.net/sos-linux/sos/Documentation/SOS.pdf
--
Raz
--
| Sep 5, 3:43 pm 2008 |
| Mike Travis | [PATCH 1/3] smp: reduce stack requirements for smp_call_ ...
* Cleanup cpumask_t usages in smp_call_function_mask to remove stack
overflow problem when NR_CPUS=4096. This removes over 1000 bytes
from the stack with NR_CPUS=4096.
Based on 2.6.27-rc5-git6.
Applies to linux-2.6.tip/master (with FUZZ).
Signed-off-by: Mike Travis <travis@sgi.com>
---
kernel/smp.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
--- linux-2.6.orig/kernel/smp.c
+++ linux-2.6/kernel/smp.c
@@ -303,7 +303,7 @@ static int ...
| Sep 5, 2:40 pm 2008 |
| Mike Travis | [PATCH 0/3] smp: reduce stack requirements for smp_call_ ...
* Cleanup cpumask_t usages in smp_call_function_mask function chain
to prevent stack overflow problem when NR_CPUS=4096.
* Reduce the number of passed cpumask_t variables in the following
call chain for x86_64:
smp_call_function_mask -->
arch_send_call_function_ipi->
smp_ops.send_call_func_ipi -->
genapic->send_IPI_mask
Since the smp_call_function_mask() is an EXPORTED function, we
cannot change it's calling interface for a patch to 2.6.27.
...
| Sep 5, 2:40 pm 2008 |
| Mike Travis | [PATCH 3/3] x86: restore 4096 limit for NR_CPUS
* With the previous cleanups, NR_CPUS=4096 can now be enabled again.
Based on 2.6.27-rc5-git6.
Applies to linux-2.6.tip/master (with FUZZ).
Signed-off-by: Mike Travis <travis@sgi.com>
---
arch/x86/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.orig/arch/x86/Kconfig
+++ linux-2.6/arch/x86/Kconfig
@@ -587,8 +587,8 @@ config MAXSMP
If unsure, say N.
config NR_CPUS
- int "Maximum number of CPUs (2-512)" if !MAXSMP
- range 2 512
+ int ...
| Sep 5, 2:40 pm 2008 |
| Mike Travis | [PATCH 2/3] x86: reduce stack requirements for send_call ...
* By converting the internal x86 smp_ops function send_call_func_ipi
to pass a pointer to the cpumask_t variable, we greatly reduce the
stack space required when NR_CPUS=4096.
Further reduction will be realized when the send_IPI_mask interface
is changed in 2.6.28.
Based on 2.6.27-rc5-git6.
Applies to linux-2.6.tip/master (with FUZZ).
Signed-off-by: Mike Travis <travis@sgi.com>
---
arch/x86/kernel/smp.c | 6 +++---
arch/x86/xen/smp.c | 6 +++---
...
| Sep 5, 2:40 pm 2008 |
| Krzysztof Helt | 2.6.27-rc5-mm1 compilation fix with gcc 3.4.6
Hi Andrew,
I found that 2.6.27-rc5-mm1 does not compile with gcc 3.4.6.
The error is:
CC kernel/sched.o
kernel/sched.c: In function `start_rt_bandwidth':
kernel/sched.c:208: sorry, unimplemented: inlining failed in call to 'rt_bandwidth_enabled': function body not available
kernel/sched.c:214: sorry, unimplemented: called from here
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
It seems that the gcc 3.4.6 requires full inline definition before first usage.
The ...
| Sep 5, 2:46 pm 2008 |
| Alexey Dobriyan | [PATCH] proc: more debugging for "already registered" case
[Empty message]
| Sep 5, 2:36 pm 2008 |
| Sergei Shtylyov | Re: [PATCH] Fix pointer arithmetic in hpt3xx driver code ...
Hello.
That also will do. Though 'struct pci_dev' seems preferrable as it's
always pre-calculated by the callers and otherwise needed in them in 4
Could be just:
MBR, Sergei
--
| Sep 5, 3:27 pm 2008 |
| Masoud Sharbiani | [PATCH] Fix pointer arithmetic in hpt3xx driver code (2n ...
Hi there,
git commit 74811f355f4f69a187fa74892dcf2a684b84ce99 causes crash at
module load (or boot) time on my machine with a hpt374 controller.
Sergei says this is due to the pointer arithmatic. This patch fixes that
and makes my machine boot again.
cheers,
Masoud
Signed-Off-By: Masoud Sharbiani <masouds@google.com>
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c
index eb107ee..4e04d0a 100644
--- a/drivers/ide/pci/hpt366.c
+++ b/drivers/ide/pci/hpt366.c
@@ -613,6 ...
| Sep 5, 2:01 pm 2008 |
| Johannes Berg | Re: [PATCH 1/2 v5] cfg80211: Add new wireless regulatory ...
Looks fine to me now, as far as I've looked, I guess there'll be some
odd fixes required etc. but we can figure that out.
johannes
| Sep 5, 1:01 pm 2008 |
| Bernd Eckenfels | Re: [NFS] blocks of zeros (NULLs) in NFS files in kernel ...
sounds like the inode sync comes before the data sync. I suspect thats a
client side "problem". Maybe a fsync on the dir or something while the file
is open?
Bernd
--
| Sep 5, 1:36 pm 2008 |
| Aaron Straus | blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
Hi all,
We're hitting some bad behavior in NFS v3. The situation is this:
machine A - NFS server
machine B - NFS client (writer)
machine C - NFS client (reader)
(all machines x86 SMP)
machine A exports a directory on ext3 filesystem:
/srv/home 192.168.0.0/24(rw,sync,no_subtree_check)
machines B and C mount that directory normally
mount A:/srv/home /mntpnt
machine B opens a file and writes to it (think a log file)
machine C stats that ...
| Sep 5, 12:19 pm 2008 |
| Aaron Straus | Re: [NFS] blocks of zeros (NULLs) in NFS files in kernel ...
Hi,
BAD up to 2.6.27-rc?
OK. Could you also try to reproduce on your side using those python
programs? I want to make sure it's not something specific with our
mounts, etc.
Thanks!
=a=
--
===================
Aaron Straus
aaron@merfinllc.com
--
| Sep 5, 1:04 pm 2008 |
| Chuck Lever | Re: [NFS] blocks of zeros (NULLs) in NFS files in kernel ...
I have the latest Fedora 9 kernels on two clients, mounting via NFSv3
using "actimeo=600" (for other reasons). The server is OpenSolaris
2008.5.
reader.py reported zeroes in the test file after about 5 minutes.
Looking at the file a little later, I don't see any problems with it.
Since your scripts are not using any kind of serialization (ie file
locking) between the clients, I wonder if non-determinant behavior is
to be expected.
--
Chuck ...
| Sep 5, 1:36 pm 2008 |
| Chuck Lever | Re: [NFS] blocks of zeros (NULLs) in NFS files in kernel ...
[ replacing cc: nfs@sf.net with linux-nfs@vger.kernel.org, and neil's
old address with his current one ]
That's a good start.
Comparing a wire trace with strace output, starting with the writing
client, might also be illuminating. We prefer wireshark as it uses
good default trace settings, parses the wire bytes and displays them
coherently, and allows you to sort the frames in various useful ways.
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
--
| Sep 5, 12:56 pm 2008 |
| Aaron Straus | Re: [NFS] blocks of zeros (NULLs) in NFS files in kernel ...
Hi,
Awesome. Thanks for testing! Our actime is much shorter which is
Hmm... yep. I don't know what guarantees we want to make. The
behavior doesn't seem to be consistent with older kernels though... so
I'm thinking it might be a bug.
We hit this particular issue because we have scripts which essentially
'tail -f' log files looking for errors. They miss log messages (and
see corrupted ones) b/c of the NULLs. That's also why there is no
serialization.... we don't need it when ...
| Sep 5, 3:14 pm 2008 |
| Peter Zijlstra | Re: [2.6.27] overlapping early reservations [was: early ...
Suppose it is, lets ask hpa..
--
| Sep 5, 12:25 pm 2008 |
| Luca Tettamanti | Re: [2.6.27] overlapping early reservations [was: early ...
Hum, kernel says:
http://img177.imageshack.us/my.php?image=overlappingus2.jpg
Overlapping early reservations b98000-eff266 RAMDISK to 200000-d09cf7
TEXT DATA BSS
It would appear that the initramfs is overlapping the kernel itself,
is the boot loader (LILO) doing something stupid?
Luca
--
| Sep 5, 12:17 pm 2008 |
| H. Peter Anvin | Re: [2.6.27] overlapping early reservations [was: early ...
It definitely looks like it.
-hpa
--
| Sep 5, 1:18 pm 2008 |
| Ingo Molnar | [git pull] x86 fixes
Linus,
Please pull the latest x86-fixes-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git x86-fixes-for-linus
which fixes sporadic boot-time lockups on certain boxes. Thanks,
Ingo
------------------>
Chuck Ebbert (1):
x86: add io delay quirk for Presario F700
arch/x86/kernel/io_delay.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/io_delay.c ...
| Sep 5, 11:51 am 2008 |
| Ingo Molnar | [git pull] scheduler fixes
Linus,
Please pull the latest sched-fixes-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git sched-fixes-for-linus
the linecount looks a bit scary because the task_*time() functions had
to be made available from the core kernel toward kernel/exit.c - but
it's reasonable safe otherwise. [ array.c depends on proc-y so we
couldnt just export it from there. ]
Thanks,
Ingo
------------------>
Balbir Singh (1):
sched: fix process ...
| Sep 5, 11:49 am 2008 |
| Dan Williams | [git pull] async_tx fix for 2.6.27-rc
Hi Linus, please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx.git fixes
...to receive:
commit de24125dd0a452bfd4502fc448e3534c5d2e87aa
Author: Yuri Tikhonov <yur@emcraft.com>
Date: Fri Sep 5 08:15:47 2008 -0700
async_tx: fix the bug in async_tx_run_dependencies
Should clear the next pointer of the TX if we are sure that the
next TX (say NXT) will be submitted to the channel too. Overwise,
we break the chain of descriptors, ...
| Sep 5, 11:46 am 2008 |
| Andrey Borzenkov | Ghost EDD devices in /sys again
This is regression but old enough. Apparently I had for whatever reasons
EDD turned off till recently. This is 2.6.27-rc5 just in case.
In 2006 I fixed ghost devices due to buggy BIOS:
http://marc.info/?l=linux-kernel&m=114087765422490&w=2
Later edd.S has been rewritten in C, and apparently this patch has been
lost:
{pts/1}% ls /sys/firmware/edd
int13_dev80/ int13_dev84/ int13_dev88/ int13_dev8c/
int13_dev81/ int13_dev85/ int13_dev89/ int13_dev8d/
int13_dev82/ int13_dev86/ ...
| Sep 5, 11:19 am 2008 |
| Sergei Shtylyov | Re: [PATCH] Fix pointer arithmetic in hpt3xx driver code
Ugh, that's oversimplified and doesn't save much...
I rather meant the following prototype:
static struct hpt_info *hpt3xx_get_info(struct pci_dev *dev)
return info + 1;
else
return info;
or
return hwif_dev == host_dev ? info + 1 : info;
--
| Sep 5, 11:04 am 2008 |
| Masoud Sharbiani | [PATCH] Fix pointer arithmetic in hpt3xx driver code
Hi there,
git commit 74811f355f4f69a187fa74892dcf2a684b84ce99 causes crash at
module load (or boot) time on my machine with a hpt374 controller.
Sergei says this is due to the pointer arithmatic. This patch fixes that
and makes my machine boot again.
Signed-Off-By: Masoud Sharbiani <masouds@google.com>
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c
index eb107ee..f41f3fd 100644
--- a/drivers/ide/pci/hpt366.c
+++ b/drivers/ide/pci/hpt366.c
@@ -613,6 +613,14 @@ static int ...
| Sep 5, 10:48 am 2008 |
| Luis R. Rodriguez | Re: [PATCH 1/2] cfg80211: Add new wireless regulatory in ...
On Wed, Sep 3, 2008 at 4:30 PM, Luis R. Rodriguez
Doh this is spurious, I forgot to remove the undef as I am not using
it. Going to resent without this.
Luis
--
| Sep 5, 10:44 am 2008 |
| Gary Hade | [PATCH] [RESEND] mm: show memory section to node relatio ...
Resending with linux-kernel@vger.kernel.org copied this time. No changes
other than this and the Subject line. Based on linux-mm discussion
yesterday I will be revising this patch to include proper documentation
and symlinks instead of node number containing files. If there are any
other comments please fire away.
Show memory section to node relationship in sysfs
Add /sys/devices/system/memory/memoryX/node files to show
the node on which each memory section resides.
Signed-off-by: ...
| Sep 5, 10:21 am 2008 |
| Andi Kleen | Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
You make it sound like it's just some minor technical hurdle
that needs to be addressed. But from all analysis of these issues
I've seen so far it's extremly hard and all possible solutions
have serious issues. So before doing some baby steps there
should be at least some general idea how this thing is supposed
That's the easy stuff. The hard parts are all the kernel objects
that you cannot move.
-Andi
--
| Sep 5, 1:04 pm 2008 |
| Badari Pulavarty | Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
You are absolutely correct. There is no easy solution - one has
to loose performance in order to support node removal, along with
some old x86 issues :(
We were contemplating idea of limiting node removal to few
Same issues exist with ia64 and x86_64 won't be any worse off.
Gary was trying to enable the functionality so that we can atleast
test out offlining memory section easier (test page migration,
isolation code and hash out issues)
Another possible idea being considered (still ...
| Sep 5, 3:34 pm 2008 |
| Gary Hade | Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
So far, I have tested it on a 2-node IBM x460, 2-node IBM x3950, and
a 4-node IBM x3950 M2 and have been able to successfully offline and
re-online all memory sections marked as removable multiple times with
no apparent problems.
By directing the change to -mm our hope is that others will try it
The inability to offline all non-primary node memory sections
certainly needs to be addressed. The pgdat removal work that
Yasunori Goto has started will hopefully continue and help resolve
this ...
| Sep 5, 12:53 pm 2008 |
| Ingo Molnar | Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
ok - if all architectures have the same function then please make it a
regular function not a weak one, and remove all the duplications.
Ingo
--
| Sep 5, 11:17 am 2008 |
| Gary Hade | Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
I am not sure if I understand why you appear to be opposed to
enabling the hotremove function before all the issues related
to an eventual goal of being able to free all memory on a node
are addressed. Even in the absence of solutions for these issues
it seems like there could still be other possible benefits such
as the ability to selectively expand and shrink available memory
for testing or debugging purposes. I believe it would also be
helpful to those working on or testing possible ...
| Sep 5, 2:54 pm 2008 |
| Badari Pulavarty | Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
Yes. All the archs (ppc64, ia64, s390, x86_64) have exact same
function. No architecture needed special handling so far (initial
versions of ppc64 needed extra handling, but I moved the code
to different place).
We can make this generic and kill all arch-specific ones.
Initially, we didn't know if any arch needs special handling -
so ended up having private functions for each arch.
Yes. We should do that. I will send out a patch.
Thanks,
Badari
--
| Sep 5, 11:14 am 2008 |
| Andi Kleen | Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
That means you can never put any slab data on specific nodes.
And all the kernel subsystems on that node will not ever get local
memory. How are you going to solve that? And if you disallow
kernel allocations in so large memory areas you get many of the highmem
issues that plagued 32bit back in the 64bit kernel.
There are lots of other issues. It's quite questionable if this
Ok for hypervisors you can do it reasonably easy on x86 too, but it's likely
that some hypercall interface is ...
| Sep 5, 11:54 am 2008 |
| Andi Kleen | Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
You forgot to describe how you tested it? Does it actually work.
And why do you want to do it it? What's the use case?
The general understanding was that it doesn't work very well on a real
machine at least because it cannot be controlled how that memory maps
to real pluggable hardware (and you cannot completely empty a node at runtime)
and a Hypervisor would likely use different interfaces anyways.
-Andi
--
| Sep 5, 11:04 am 2008 |
| Ingo Molnar | Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
so this will break the build on 32-bit, if CONFIG_MEMORY_HOTREMOVE=y?
mm/memory_hotplug.c assumes that remove_memory() is provided by the
hm, nothing appears to be arch-specific about this trivial wrapper
around offline_pages().
Shouldnt this be moved to the CONFIG_MEMORY_HOTREMOVE portion of
mm/memory_hotplug.c instead, as a weak function? That way architectures
only have to enable ARCH_ENABLE_MEMORY_HOTREMOVE - and architectures
with different/special needs can override ...
| Sep 5, 10:44 am 2008 |
| Badari Pulavarty | Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
At this time we are interested on node remove (on x86_64).
It doesn't really work well at this time - due to some of the structures
(pgdat etc) are striped across all nodes. These is no easy way to
relocate them. Yasunori Goto is working on patches to address some of
these issues.
But we are considering adding support to restrict/skip bootmem
allocations on selected nodes. That way, we should be able to do
node remove.
(BTW, on ppc64 this works fine - since we are interested mostly ...
| Sep 5, 11:31 am 2008 |
| Gary Hade | [PATCH] [RESEND] x86_64: add memory hotremove config option
Resending with linux-kernel@vger.kernel.org and x86@kernel.org copied
this time. No changes other than this and modified Subject line. The
only response so far on linux-mm has been an Acked-by: from
Yasunori Goto <y-goto@jp.fujitsu.com>
Add memory hotremove config option to x86_64
Memory hotremove functionality can currently be configured into
the ia64, powerpc, and s390 kernels. This patch makes it possible
to configure the memory hotremove functionality into the x86_64
kernel as ...
| Sep 5, 10:21 am 2008 |
| J.A. | iozone lies/bug ?
Hi all...
This is a curious thing, I think...
I wanted to test the speed of an usb stick, and as a first step used hdparm
on my root disk (real SCSI) and on the stick:
werewolf:/media/media# lsscsi
[1:0:0:0] disk SEAGATE ST336807LW 0C01 /dev/sda
[1:0:1:0] disk SEAGATE ST336807LW 0C01 /dev/sdb
[2:0:0:0] disk ATA ST3120022A 3.06 /dev/sdc
[2:0:1:0] cd/dvd HL-DT-ST DVDRAM GSA-H10N JL12 /dev/sr0
[4:0:0:0] disk ATA ST3200822AS ...
| Sep 5, 10:03 am 2008 |
| jmerkey | 2.6.27-rc5-git7 iwl3945: driver still has receiver locku ...
Same problems as previously reported, except now it's gotten worse. Where
before the adapter would lockup only when setting encryption keys, now it
locks up intermittently even without using encryption using the native
linux iwl3945 driver
This same kernel now causes ndis drivers to crash under ndiswrapper (which
wrked before) with bugs being reported in the "workqueue" functions. The
specific area where I tracked down some serious bugginess and sickness was
here (I LOVE MY SHINY NEW ...
| Sep 5, 9:29 am 2008 |
| Mike Christie | Re: [Open-FCoE] [PATCH 2/3] 24-bit types: convert iSCSI ...
Looks fine by me. Thanks.
Acked-by: Mike Christie <michaelc@cs.wisc.edu>
--
| Sep 5, 10:03 am 2008 |
| Chris Leech | [PATCH 1/3] 24-bit types: typedef and macros for accessi ...
Both iSCSI and Fibre Channel make use of 24-bit big-endian values in
frame headers. This patch defines __be24 and __le24 typedefs for a
structure wrapped around a 3-byte array, and macros to convert back and
forth to a 32-bit integer.
The undefs in iscsi_proto.h are because of the different calling
convention for the existing hton24 macro in the iSCSI code. iSCSI will
be converted in a subsequent patch.
Signed-off-by: Chris Leech <christopher.leech@intel.com>
---
...
| Sep 5, 9:57 am 2008 |
| Chris Leech | [PATCH 3/3] 24-bit types: Convert Open-FCoE to use __be2 ...
This converts the Open-FCoE tree to use the common 24-bit types
Signed-off-by: Chris Leech <christopher.leech@intel.com>
---
drivers/scsi/fcoe/fcoe_dev.c | 6 +++---
drivers/scsi/libfc/fc_exch.c | 24 ++++++++++++------------
drivers/scsi/libfc/fc_fcp.c | 2 +-
drivers/scsi/libfc/fc_lport.c | 8 ++++----
drivers/scsi/libfc/fc_ns.c | 14 +++++++-------
drivers/scsi/libfc/fc_rport.c | 4 ++--
include/scsi/fc/fc_els.h | 18 +++++++++---------
...
| Sep 5, 9:57 am 2008 |
| Chris Leech | [PATCH 2/3] 24-bit types: convert iSCSI to use the __be2 ...
The calling convention of hton24 is different now, it takes a single u32
as an argument and evaluates to a __be24 lvalue.
Signed-off-by: Chris Leech <christopher.leech@intel.com>
---
drivers/scsi/iscsi_tcp.c | 8 ++++----
drivers/scsi/libiscsi.c | 6 +++---
include/scsi/iscsi_proto.h | 46 ++++++++++++++++++--------------------------
3 files changed, 26 insertions(+), 34 deletions(-)
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c
index 2a2f009..c9d6e96 ...
| Sep 5, 9:57 am 2008 |
| Elias Oltmanns | Block: Trouble with kobject initialisation for blk_cmd_filter
Hi all,
current usage of the kobject in struct blk_cmd_filter is flawed. Doing
# modprobe -r sd-mod && modprobe sd-mod
while, for instance, a usb-stick is plugged in currently results in
nasty warnings and a dump_stack(). Since blk_cmd_filter is embedded in
struct request_queue, I don't see the need for a kobject anyway. What
about the much simpler option of a struct attribute_group in this
particular case?
This would imply that the cmd_filter subdirectory would appear under
sda/queue/ ...
| Sep 5, 9:48 am 2008 |
| Alan D. Brunelle | Benchmarking results: DSS elapsed time values w/ rq_affi ...
Some DSS results from a 32-way ia64 machine set up to try and analyze
Oracle OLTP & DSS loads (128GB RAM, >200 disks). The data collected was
the elapsed time for DSS runs w/ 128 MBRs and 128 Readers, running on a
kernel generated from Jens Axboe's origin/for-2.6.28 tree. I alternated
runs, setting rq_affinity to 0 and 1 for all disks at the beginning of
each run.
There are a total of 68 data points for each alternative, and the
overall results show a decided improvement for this type of load ...
| Sep 5, 9:19 am 2008 |
| Masoud Sharbiani | Re: HPT374 detection crash with 74811f355f4f69a187fa7489 ...
Hey I can try that now....stay tuned.
--
| Sep 5, 9:32 am 2008 |
| Sergei Shtylyov | Re: HPT374 detection crash with 74811f355f4f69a187fa7489 ...
No, that's just wrong pointer arithmetics there:
struct hpt_info *info = host->host_priv + (hwif->dev == host->dev[1]);
The 'host_priv' is declared as 'void *', hence in case the condition abobe is
true, there will be added only 1 to host->host_priv, not sizeof(struct
hpt_info) as it should've been...
MBR, Sergei
--
| Sep 5, 9:32 am 2008 |
| Sergei Shtylyov | Re: HPT374 detection crash with 74811f355f4f69a187fa7489 ...
Hello.
Uh, I wonder where did it get those 33 MHz DPLL base -- there's simply no
such base. Looks like memory addressed by .host_priv got corrupt...
MBR, Sergei
--
| Sep 5, 9:16 am 2008 |
| Sergei Shtylyov | Re: HPT374 detection crash with 74811f355f4f69a187fa7489 ...
Hello.
Uh, I wonder where did it get those 33 MHz DPLL base -- there's simply no
such base. Looks like memory addressed by .host_priv got corrupt...
MBR, Sergei
--
| Sep 5, 9:16 am 2008 |
| David Woodhouse | [GIT *] Fixes for 2.6.27
Linus, please pull the following three fixes from
git://git.infradead.org/~dwmw2/dwmw2-2.6.27.git
There's a minor fix to the tmio_nand driver, and two fixes to exported
header files -- one of which involves reverting a late change to the ARM
byteorder headers, which slipped in post 2.6.27-rc4 but should have
waited until the next merge window (and wants more thought, anyway).
David Woodhouse (1):
Revert "[ARM] use the new byteorder headers"
Dmitry Baryshkov (1):
[MTD] [NAND] ...
| Sep 5, 9:11 am 2008 |
| Hannes Hering | [PATCH 2/2] ehea: Enable DLPAR memory remove
This patch adds the capability flag to the capability list for dynamic LPAR
memory remove to enable this feature.
Signed-off-by: Hannes Hering <hering2@de.ibm.com>
---
diff -Nurp -X dontdiff linux-2.6.27-rc5/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h
--- linux-2.6.27-rc5/drivers/net/ehea/ehea.h 2008-08-29 00:52:02.000000000 +0200
+++ patched_kernel/drivers/net/ehea/ehea.h 2008-09-05 15:33:12.000000000 +0200
@@ -40,13 +40,13 @@
#include <asm/io.h>
#define ...
| Sep 5, 7:38 am 2008 |
| Hannes Hering | [PATCH 1/2] ehea: Fix DLPAR memory handling
The ehea busmap must be allocated only once in the first of many calls of the
ehea_create_busmap_callback.
Signed-off-by: Hannes Hering <hering2@de.ibm.com>
---
diff -Nurp -X dontdiff linux-2.6.27-rc5/drivers/net/ehea/ehea_qmr.c patched_kernel/drivers/net/ehea/ehea_qmr.c
--- linux-2.6.27-rc5/drivers/net/ehea/ehea_qmr.c 2008-08-29 00:52:02.000000000 +0200
+++ patched_kernel/drivers/net/ehea/ehea_qmr.c 2008-09-05 15:31:30.000000000 +0200
@@ -595,7 +595,8 @@ static int ...
| Sep 5, 7:36 am 2008 |
| Ingo Molnar | Re: [PATCH] set_irq_chip() has redundant call to irq_to_desc()
applied to tip/irq/sparseirq, thanks.
Ingo
--
| Sep 5, 7:47 am 2008 |
| Dean Nelson | [PATCH] set_irq_chip() has redundant call to irq_to_desc()
Extraneous call to irq_to_desc().
Signed-off-by: Dean Nelson <dcn@sgi.com>
---
kernel/irq/chip.c | 1 -
1 file changed, 1 deletion(-)
Index: linux/kernel/irq/chip.c
===================================================================
--- linux.orig/kernel/irq/chip.c 2008-09-05 08:04:21.000000000 -0500
+++ linux/kernel/irq/chip.c 2008-09-05 08:16:58.000000000 -0500
@@ -102,7 +102,6 @@ int set_irq_chip(unsigned int irq, struc
if (!chip)
chip = &no_irq_chip;
- desc = ...
| Sep 5, 7:10 am 2008 |
| greg | Re: Is SKAS still required for UML
On Aug 27, 3:06pm, Jeff Dike wrote:
} Subject: Re: Is SKAS still required for UML
Any thoughts or timetable on SKAS4 going mainline? I suspect the
SKAS3 patches are even remotely compatible with current mainline
kernels.
We've had good success with SKAS4 on 2.6.24.x but thats even getting
awful long in the tooth at this point. I've been meaning to try the
last copy of the SKAS4 patch against 2.6.26.x but haven't found the
time yet to wade through the flock of rejects which I would ...
| Sep 5, 6:36 am 2008 |
| Dean Nelson | [PATCH] error missed ifndef CONFIG_HAVE_SPARSE_IRQ
An error return from create_irq_nr() is 0, but an error return from
create_irq() is -1.
Signed-off-by: Dean Nelson <dcn@sgi.com>
---
drivers/pci/htirq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/drivers/pci/htirq.c
===================================================================
--- linux.orig/drivers/pci/htirq.c 2008-09-05 08:04:21.000000000 -0500
+++ linux/drivers/pci/htirq.c 2008-09-05 08:07:45.000000000 -0500
@@ -144,7 +144,7 @@ int ...
| Sep 5, 7:07 am 2008 |
| Ingo Molnar | Re: [PATCH] error missed ifndef CONFIG_HAVE_SPARSE_IRQ
applied to tip/irq/sparseirq - thanks Dean!
Ingo
--
| Sep 5, 7:46 am 2008 |
| Ingo Molnar | Re: [PATCH] error missed ifndef CONFIG_HAVE_SPARSE_IRQ
applied to tip/irq/sparseirq - thanks.
Ingo
--
| Sep 5, 10:07 am 2008 |
| Yinghai Lu | Re: [PATCH] error missed ifndef CONFIG_HAVE_SPARSE_IRQ
need to change irq to int too
diff --git a/drivers/pci/htirq.c b/drivers/pci/htirq.c
index 7c5aef1..468115d 100644
--- a/drivers/pci/htirq.c
+++ b/drivers/pci/htirq.c
@@ -109,7 +109,7 @@ int __ht_create_irq(struct pci_dev *dev, int idx,
ht_irq_update_t *update)
u32 data;
int max_irq;
int pos;
- unsigned int irq;
+ int irq;
unsigned int irq_want;
pos = pci_find_ht_capability(dev, HT_CAPTYPE_IRQ);
--
| Sep 5, 10:03 am 2008 |
| Frank van Maarseveen | 2.6.24.4 ext3 umount triggered kernel BUG at fs/buffer.c:2869
umount /dev/md8 holding an ext3 fs triggered this:
Sep 5 12:36:59 nfs4 kernel: kernel BUG at fs/buffer.c:2869!
Sep 5 12:36:59 nfs4 kernel: invalid opcode: 0000 [#1] SMP
Sep 5 12:36:59 nfs4 kernel: Modules linked in:
Sep 5 12:36:59 nfs4 kernel:
Sep 5 12:36:59 nfs4 kernel: Pid: 1368, comm: umount Not tainted (2.6.24.4-x179 #1)
Sep 5 12:36:59 nfs4 kernel: EIP: 0060:[<c019e8e0>] EFLAGS: 00010246 CPU: 1
Sep 5 12:36:59 nfs4 kernel: EIP is at submit_bh+0x160/0x170
Sep 5 12:36:59 nfs4 kernel: ...
| Sep 5, 5:59 am 2008 |
| Peter Zijlstra | Re: [PATCH] sched: Fix __load_balance_iterator() for cfq ...
Gregory did a similar fix a while ago, but that caused grief of some
kind..
Greg, can you recollect why we pulled it? I can't seem to find it.
--
| Sep 5, 8:13 am 2008 |
| Peter Zijlstra | Re: [PATCH] sched: Fix __load_balance_iterator() for cfq ...
Gregory pointed me to this thread:
http://lkml.org/lkml/2008/8/11/81
--
| Sep 5, 10:23 am 2008 |
| Gautham R Shenoy | [PATCH] sched: Fix __load_balance_iterator() for cfq wit ...
sched: Fix __load_balance_iterator() for cfq with only one task.
From: Gautham R Shenoy <ego@in.ibm.com>
The __load_balance_iterator() returns a NULL when there's only one
sched_entity which is a task. It is caused by the following code-path.
/* Skip over entities that are not tasks */
do {
se = list_entry(next, struct sched_entity, group_node);
next = next->next;
} while (next != &cfs_rq->tasks && !entity_is_task(se));
if (next == &cfs_rq->tasks)
return ...
| Sep 5, 5:30 am 2008 |
| Jan Beulich | [PATCH 2/3] x86: ticket spin locks: factor out more comm ...
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Nick Piggin <npiggin@suse.de>
---
include/asm-x86/spinlock.h | 42 ++++++++++++++++--------------------------
1 file changed, 16 insertions(+), 26 deletions(-)
--- linux-x86.orig/include/asm-x86/spinlock.h
+++ linux-x86/include/asm-x86/spinlock.h
@@ -54,19 +54,7 @@
* much between them in performance though, especially as locks are out of line.
*/
#if (NR_CPUS < 256)
-static inline int __ticket_spin_is_locked(raw_spinlock_t ...
| Sep 5, 5:28 am 2008 |
| Jan Beulich | [PATCH 3/3] x86: ticket spin locks: reduce instruction ...
Reduce the amount of partial register accesses in the NR_CPUS < 256
case, and slightly weaken resource dependencies in the other case.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Nick Piggin <npiggin@suse.de>
---
include/asm-x86/spinlock.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
--- linux-x86.orig/include/asm-x86/spinlock.h
+++ linux-x86/include/asm-x86/spinlock.h
@@ -21,8 +21,10 @@
#ifdef CONFIG_X86_32
# define LOCK_PTR_REG "a"
+# define ...
| Sep 5, 5:27 am 2008 |
| Jan Beulich | [PATCH 0/3] x86: ticket spin locks: factor out more comm ...
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Nick Piggin <npiggin@suse.de>
---
include/asm-x86/spinlock.h | 42 ++++++++++++++++--------------------------
1 file changed, 16 insertions(+), 26 deletions(-)
--- linux-x86.orig/include/asm-x86/spinlock.h
+++ linux-x86/include/asm-x86/spinlock.h
@@ -54,19 +54,7 @@
* much between them in performance though, especially as locks are out of line.
*/
#if (NR_CPUS < 256)
-static inline int __ticket_spin_is_locked(raw_spinlock_t ...
| Sep 5, 5:27 am 2008 |
| Jan Beulich | [PATCH 1/3] x86: ticket spin locks: fix asm constraints
In addition to these changes I doubt the 'volatile' on all the ticket
lock asm()-s are really necessary.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Nick Piggin <npiggin@suse.de>
---
include/asm-x86/spinlock.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-x86.orig/include/asm-x86/spinlock.h
+++ linux-x86/include/asm-x86/spinlock.h
@@ -101,7 +101,7 @@ static __always_inline int __ticket_spin
"1:"
"sete %b1\n\t"
"movzbl ...
| Sep 5, 5:26 am 2008 |
| Jan Beulich | [PATCH 0/3] x86: ticket spin lock adjustments
Re-sending the four patches previously sent individually as a series
that would apply (a) to tip of linux-x86 and (b) on top of one another.
1: fix asm constraints
(formerly 2: use LOCK_PREFIX - no longer necessary)
2: factor out more common code
3: reduce instruction dependencies
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--
| Sep 5, 5:25 am 2008 |
| Ingo Molnar | Re: [PATCH 0/3] x86: ticket spin lock adjustments
applied to tip/x86/spinlocks - thanks Jan!
Ingo
--
| Sep 5, 7:55 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v2)
hm, the cpu/common.c bits just got reworked massively in tip/master.
I've tried a blind merge (see the patch below) but at least the first
hunk looks wrong. Mind looking at how to merge this?
Ingo
--------------->
Subject: x86: x86_{phys,virt}_bits field also for i386 (v2)
From: "Jan Beulich" <jbeulich@novell.com>
Date: Fri, 05 Sep 2008 13:07:24 +0100
Make the x86_{phys,virt}_bits common for 32- and 64-bits, and use the
former in ioremap's phys_addr_valid() check also on ...
| Sep 5, 8:00 am 2008 |
| Jan Beulich | [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v2)
Make the x86_{phys,virt}_bits common for 32- and 64-bits, and use the
former in ioremap's phys_addr_valid() check also on 32bit/PAE.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
---
arch/x86/kernel/cpu/common.c | 17 +++++++++++++++++
arch/x86/mm/ioremap.c | 15 ++++++---------
include/asm-x86/processor.h | 4 ++--
3 files changed, 25 insertions(+), 11 deletions(-)
--- linux-2.6.27-rc5/arch/x86/kernel/cpu/common.c 2008-08-21 14:37:29.000000000 +0200
+++ ...
| Sep 5, 5:07 am 2008 |
| Yinghai Lu | Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v2)
there is the same code in the same func for 64 bit.
also could move the intel workaround code to early_init_intel and init_intel of
intel.c/intel_64.c
YH
--
| Sep 5, 9:56 am 2008 |
| Jan Beulich | [PATCH] fix printk format compiler warnings
%llx and the like cannot be used on u64-derived data types - they must
be cast to long long explicitly for arch-es where u64 is a typedef of
unsigned long (ia64 is where I observed the problem).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
---
drivers/pci/probe.c | 16 +++++++++++++---
drivers/pci/setup-bus.c | 6 +++++-
2 files changed, 18 insertions(+), 4 deletions(-)
--- linux-2.6.27-rc5/drivers/pci/probe.c 2008-08-21 14:37:32.000000000 +0200
+++ ...
| Sep 5, 5:06 am 2008 |
| Andrew Morton | Re: [PATCH] fix printk format compiler warnings
On Fri, 05 Sep 2008 13:06:24 +0100
These have been fixed in linux-next for a month.
Jesse, can we get that into 2.6.27 please?
--
| Sep 5, 2:20 pm 2008 |
| Jan Beulich | [PATCH] .init.rodata and modpost adjustments
- first of all, add .init.rodata to INIT_DATA
- second, add .init.rodata and .init.setup to modpost's
ALL_INIT_DATA_SECTIONS
- third, generalize the pattern used by modpost's *INIT_SECTIONS and
EXIT_SECTIONS, and use them for ALL_{INIT,EXIT}_SECTIONS
- fourth, warn about cross references between .cpuinit.* and .meminit.*+
- finally, put all __setup_str* symbols in .init.rodata (and mark them
'const')
Signed-off-by: Jan Beulich <jbeulich@novell.com>
---
...
| Sep 5, 5:03 am 2008 |
| Christer Weinigel | Proposed SDIO layer rework
Hi Pierre,
I said I wanted to argue a bit about the SDIO layer, and here it is. :-)
Ben, this is about the s3cmci driver, so I guess you might be interested.
I've been trying to make SDIO run and run fast on a small embedded
system with a Samsung S3C24A0 processor with 200 MHz ARM926 core. While
doing this I've discovered some changes that I'd like to make to the
generic SDIO layer.
First some measurements. I've connected the SDIO bus to an Agilent
scope to get some pretty plots. ...
| Sep 5, 4:45 am 2008 |
| Ben Dooks | Re: Proposed SDIO layer rework
Many of the PDA class SoC are often in the 200-400 MHz class, although
faster variants are turning up there's an large contingent of similar
Well, it isn't really from me, I've been doing the maintainance and required
I've never really liked that PIO tasklet, and was planning on vanquishing
it (or at least allowing it to be configured off) in the next release, I
I'm not sure if I'll get the time to look at this before the new kernel
is released... anyway DMA may not be much of a win for ...
| Sep 5, 6:18 am 2008 |
| Ben Dooks | Re: Proposed SDIO layer rework
Any chance of getting a list of what you've got in progress and at-least
the byte/word patch sorted out before the next merge window?
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
--
| Sep 5, 7:02 am 2008 |
| Pierre Ossman | Re: Proposed SDIO layer rework
On Fri, 05 Sep 2008 13:45:55 +0200
Why doesn't santa bring me any of the nice toys everyone else seems to
The latency improvement is indeed impressive, but I am not convinced it
is worth it. An asynchronous API is much more complex and difficult to
work with (not to mention reading and trying to make sense of existing
code), and SDIO is not even an asynchronous bus to begin with.
Also, as the latency is caused by CPU cycles, the problem will be
reduced as hardware improved.
I do like ...
| Sep 5, 7:50 am 2008 |
| Ben Dooks | Re: Proposed SDIO layer rework
I should have added that at least if I know what you are working on,
then we can come to some arrangement on who should do what for the
next kernel release. I would like to get the fixups for word/byte code
in, and anything else that does not require huge amounts of testing.
--
Ben (ben@fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
--
| Sep 5, 10:08 am 2008 |
| Christer Weinigel | Re: Proposed SDIO layer rework
Yes. For the DMA-capable S3C SPI driver I wrote, I added some
thresholds, so for smaller transfers than a certain number of bytes, I
skip DMA and just do a polled/interrupt transfer instead. For short
transfers at high clock rates it's not even worth getting an interrupt
per byte, it's better to just busy wait for each byte, since the
interrupt overhead is larger than the time between each byte.
A SDIO CMD/response packet is 48 bits, so at 25 MHz that is only about 4
us and I think ...
| Sep 5, 6:47 am 2008 |
| Markku Savela | Re: How to find origin PID of a sk_buff in iptables match?
Actually, my problem can be reduced to a question:
Can someone explain why core/sock.c in function sock_init_data sets
sk->sk_peercred.pid = 0;
sk->sk_peercred.uid = -1;
sk->sk_peercred.pid = -1;
instead of assigning default values from the current task context?
--
| Sep 5, 4:49 am 2008 |
| Markku Savela | Re: How to find origin PID of a sk_buff in iptables match?
Well, nobody answered.
Anyway, as suspected with TCP connections it seems that current->pid
produces 0 very often after the first initial packet (SYN). I take
this to mean, that the TCP engine is being executed on some interrupt
context?
Now I'm wondering how SELINUX manages to get the secmark right, as the
code in iptables seems to eventually need the current task context?
Something tricky being made using the SECMARK and CONNSECMARK? It
seems to trust, that at least the first packet has ...
| Sep 5, 4:21 am 2008 |
| Erik Bosman | Re: [LTP] [TESTING] x86: implement prctl PR_GET_TSC and ...
I'm a bit puzzled by this, since I don't use any floats
in my test (or even integer division.)
Another strange thing is that it is the parent process getting
the signal, while the parent doesn't do anything but forking
and waiting.
If the bug was in the kernel (for example sending a SIGFPE instead
of a SIGSEGV,) the signal would be expected to go to the child process
doing the actual testing (I know, bugs are bugs, but my patches were
not that invasive.)
Does it fail every time? ...
| Sep 5, 7:20 am 2008 |
| Subrata Modak | Re: [LTP] [TESTING] x86: implement prctl PR_GET_TSC and ...
Hi Erik,
I have run those tests on i686, x86_64 & ppc64 running 2.6.26 kernel.
And here are my observations:
1) Built and ran perfectly on X86_64:
# uname -a
Linux 2.6.26-autokern1 #1 SMP PREEMPT Fri Sep 5 09:40:31 UTC 2008 x86_64
GNU/Linux
# ./disable-tsc-test
rdtsc() == 9766811077875
prctl(PR_GET_TSC, &tsc_val); tsc_val == PR_TSC_ENABLE
rdtsc() == 9766811184102
prctl(PR_SET_TSC, PR_TSC_ENABLE)
rdtsc() == 9766811200743
prctl(PR_SET_TSC, PR_TSC_SIGSEGV)
rdtsc() ...
| Sep 5, 4:09 am 2008 |
| Rafael J. Wysocki | Re: [Suspend-devel] Resume performance
Hi,
What kernel are you using at the moment and which one was used for the
It looks like this happens here. Can you try to unload the network driver
Sure, 35 seconds to resume is hardly acceptable.
Thanks,
Rafael
--
| Sep 5, 4:08 am 2008 |
| Anders Aagaard | Re: [Suspend-devel] Resume performance
I tried to build a kernel without it, and it still takes the exact same
amount to boot, I've also tried unloading usb drivers and it takes the
--
| Sep 5, 6:46 am 2008 |
| Rafael J. Wysocki | Re: [Suspend-devel] Resume performance
Can you try to boot with init=/bin/bash and suspend to RAM? (Please have a
look at section 2 of Documentation/power/basic-pm-debugging.txt in the newer
kernel sources).
Thanks,
Rafael
--
| Sep 5, 11:43 am 2008 |
| Mark Brown | Re: [alsa-devel] [PATCH 1/9] ASoC: add Blackfin build op ...
Please don't remove the blank line here. I'll fix this up locally.
Other than that
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
--
| Sep 5, 5:38 am 2008 |
| Bryan Wu | [PATCH 6/9] ASoC: Blackfin: I2S CPU DAI driver
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/soc/blackfin/bf5xx-i2s.c | 289 ++++++++++++++++++++++++++++++++++++++++
sound/soc/blackfin/bf5xx-i2s.h | 14 ++
2 files changed, 303 insertions(+), 0 deletions(-)
create mode 100644 sound/soc/blackfin/bf5xx-i2s.c
create mode 100644 sound/soc/blackfin/bf5xx-i2s.h
diff --git a/sound/soc/blackfin/bf5xx-i2s.c b/sound/soc/blackfin/bf5xx-i2s.c
new ...
| Sep 5, 3:21 am 2008 |
| Bryan Wu | Re: [alsa-devel] [PATCH 0/9] ASoC Blackfin supporting (v2)
Thanks, I will follow this procedure as your mentioned. I just want to
make it easier for
your git-am operation, -:)))
-Bryan
--
| Sep 5, 7:00 am 2008 |
| Bryan Wu | [PATCH 0/9] ASoC Blackfin supporting (v2)
Hi Mark,
With Cliff's effort, we update this patch series quickly according to
your review.
v1-v2:
- move ASoC Blackfin Kconfig and Makefile patch to be the last one
in the series
- fix coding style issues
- The SND_SOC_DAFIMT_LEFT_J: ought to be default
- fix other minor issues
v0-v1:
- fix coding style issues
- use latest ASoC API
- split the whole patch into this 9 patches in a patchset
Thanks a lot
-Bryan
--
| Sep 5, 3:21 am 2008 |
| Mark Brown | Re: [alsa-devel] [PATCH 0/9] ASoC Blackfin supporting (v2)
Thanks. Please, when sending updates to this patch series could you
send incremental patches as I asked? There is a lot of code here, most
of which has already been acked and is not changing so showing only the
changes that have been made will greatly simplify the review process.
--
| Sep 5, 5:37 am 2008 |
| Mark Brown | Re: [alsa-devel] [PATCH 2/9] ASoC: Blackfin: SPORT perip ...
Here and elsewhere in this driver you've got continuation characters
which aren't need. I've fixed this up locally (and some additional
checkpatch/coding standards things) here and in other patches in the
series.
Otherwise the patch series looks good to go, thanks - I'm just about to
review the codec driver patch that it depends upon.
--
| Sep 5, 6:10 am 2008 |
| Bryan Wu | [PATCH 1/9] ASoC: add Blackfin build options to Kconfig ...
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/soc/Kconfig | 2 +-
sound/soc/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig
index f743530..0adbc92 100644
--- a/sound/soc/Kconfig
+++ b/sound/soc/Kconfig
@@ -31,7 +31,7 @@ source "sound/soc/sh/Kconfig"
source "sound/soc/fsl/Kconfig"
source ...
| Sep 5, 3:21 am 2008 |
| Bryan Wu | [PATCH 4/9] ASoC: Blackfin: AC97 Blackfin CPU DAI driver
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/soc/blackfin/bf5xx-ac97.c | 407 +++++++++++++++++++++++++++++++++++++++
sound/soc/blackfin/bf5xx-ac97.h | 36 ++++
2 files changed, 443 insertions(+), 0 deletions(-)
create mode 100644 sound/soc/blackfin/bf5xx-ac97.c
create mode 100644 sound/soc/blackfin/bf5xx-ac97.h
diff --git a/sound/soc/blackfin/bf5xx-ac97.c ...
| Sep 5, 3:21 am 2008 |
| Bryan Wu | [PATCH 3/9] ASoC: Blackfin: DMA Driver for AC97 sound chip
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
---
sound/soc/blackfin/bf5xx-ac97-pcm.c | 428 +++++++++++++++++++++++++++++++++++
sound/soc/blackfin/bf5xx-ac97-pcm.h | 29 +++
2 files changed, 457 insertions(+), 0 deletions(-)
create mode 100644 sound/soc/blackfin/bf5xx-ac97-pcm.c
create mode 100644 sound/soc/blackfin/bf5xx-ac97-pcm.h
diff --git a/sound/soc/blackfin/bf5xx-ac97-pcm.c ...
| Sep 5, 3:21 am 2008 |
| Bryan Wu | [PATCH 8/9] ASoC: Blackfin: board driver for SSM2602 sou ...
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/soc/blackfin/bf5xx-ssm2602.c | 186 ++++++++++++++++++++++++++++++++++++
1 files changed, 186 insertions(+), 0 deletions(-)
create mode 100644 sound/soc/blackfin/bf5xx-ssm2602.c
diff --git a/sound/soc/blackfin/bf5xx-ssm2602.c b/sound/soc/blackfin/bf5xx-ssm2602.c
new file mode 100644
index 0000000..e15f67f
--- /dev/null
+++ ...
| Sep 5, 3:21 am 2008 |
| Bryan Wu | [PATCH 9/9] ASoC: Blackfin: add Blackfin arch ASoC Kconf ...
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/soc/blackfin/Kconfig | 85 +++++++++++++++++++++++++++++++++++++++++++
sound/soc/blackfin/Makefile | 20 ++++++++++
2 files changed, 105 insertions(+), 0 deletions(-)
create mode 100644 sound/soc/blackfin/Kconfig
create mode 100644 sound/soc/blackfin/Makefile
diff --git a/sound/soc/blackfin/Kconfig b/sound/soc/blackfin/Kconfig
new file mode ...
| Sep 5, 3:21 am 2008 |
| Bryan Wu | [PATCH 7/9] ASoC: Blackfin: board driver for AD1980/1 au ...
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/soc/blackfin/bf5xx-ad1980.c | 113 +++++++++++++++++++++++++++++++++++++
1 files changed, 113 insertions(+), 0 deletions(-)
create mode 100644 sound/soc/blackfin/bf5xx-ad1980.c
diff --git a/sound/soc/blackfin/bf5xx-ad1980.c b/sound/soc/blackfin/bf5xx-ad1980.c
new file mode 100644
index 0000000..124425d
--- /dev/null
+++ ...
| Sep 5, 3:21 am 2008 |
| Bryan Wu | [PATCH 2/9] ASoC: Blackfin: SPORT peripheral interface driver
From: Cliff Cai <cliff.cai@analog.com>
SPORT is a serial port which can support serveral serial communication protocols.
It can be used as I2C/PCM/AC97. For further information, please look up the HRM.
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/soc/blackfin/bf5xx-sport.c | 1028 ++++++++++++++++++++++++++++++++++++++
sound/soc/blackfin/bf5xx-sport.h | 192 +++++++
2 files changed, 1220 insertions(+), 0 deletions(-)
create mode ...
| Sep 5, 3:21 am 2008 |
| Mark Brown | Re: [alsa-devel] [PATCH 3/9] ASoC: Blackfin: DMA Driver ...
This change now goes over 80 columns... I'll fix this up locally.
--
| Sep 5, 5:48 am 2008 |
| Bryan Wu | [PATCH 5/9] ASoC: Blackfin: DMA Driver for I2S sound chip
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/soc/blackfin/bf5xx-i2s-pcm.c | 288 ++++++++++++++++++++++++++++++++++++
sound/soc/blackfin/bf5xx-i2s-pcm.h | 29 ++++
2 files changed, 317 insertions(+), 0 deletions(-)
create mode 100644 sound/soc/blackfin/bf5xx-i2s-pcm.c
create mode 100644 sound/soc/blackfin/bf5xx-i2s-pcm.h
diff --git a/sound/soc/blackfin/bf5xx-i2s-pcm.c ...
| Sep 5, 3:21 am 2008 |
| Andy Whitcroft | [PATCH 0/4] Reclaim page capture v3
For sometime we have been looking at mechanisms for improving the availability
of larger allocations under load. One of the options we have explored is
the capturing of pages freed under direct reclaim in order to increase the
chances of free pages coelescing before they are subject to reallocation
by racing allocators.
Following this email is a patch stack implementing page capture during
direct reclaim. It consits of four patches. The first two simply pull
out existing code into helpers ...
| Sep 5, 3:19 am 2008 |
| Andy Whitcroft | [PATCH 3/4] buddy: explicitly identify buddy field use i ...
Explicitly define the struct page fields which buddy uses when it owns
pages. Defines a new anonymous struct to allow additional fields to
be defined in a later patch.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
---
include/linux/mm_types.h | 3 +++
mm/internal.h | ...
| Sep 5, 3:20 am 2008 |
| Andy Whitcroft | [PATCH 4/4] capture pages freed during direct reclaim fo ...
When a process enters direct reclaim it will expend effort identifying
and releasing pages in the hope of obtaining a page. However as these
pages are released asynchronously there is every possibility that the
pages will have been consumed by other allocators before the reclaimer
gets a look in. This is particularly problematic where the reclaimer is
attempting to allocate a higher order page. It is highly likely that
a parallel allocation will consume lower order constituent pages as ...
| Sep 5, 3:20 am 2008 |
| Andy Whitcroft | [PATCH 2/4] pull out zone cpuset and watermark checks fo ...
When allocating we need to confirm that the zone we are about to allocate
from is acceptable to the CPUSET we are in, and that it does not violate
the zone watermarks. Pull these checks out so we can reuse them in a
later patch.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
---
mm/page_alloc.c | 62 ...
| Sep 5, 3:20 am 2008 |
| Andy Whitcroft | [PATCH 1/4] pull out the page pre-release and sanity che ...
When we are about to release a page we perform a number of actions
on that page. We clear down any anonymous mappings, confirm that
the page is safe to release, check for freeing locks, before mapping
the page should that be required. Pull this processing out into a
helper function for reuse in a later patch.
Note that we do not convert the similar cleardown in free_hot_cold_page()
as the optimiser is unable to squash the loops during the inline.
Signed-off-by: Andy Whitcroft ...
| Sep 5, 3:19 am 2008 |
| Mark Brown | Re: [alsa-devel] [PATCH 1/1] ASoC codec: SSM2602 audio c ...
Looks good, just a few coding sandards issues that I've fixed up locally.
--
| Sep 5, 7:24 am 2008 |
| Bryan Wu | [PATCH 1/1] ASoC codec: SSM2602 audio codec driver (v3)
From: Cliff Cai <cliff.cai@analog.com>
v2-v3:
- add the codec to SND_SOC_ALL_CODECS
- coding style fixing
- rename registers' name
- fix an issue with DAPM and the bias configuration.
v1-v2:
- coding style fixing
- use pr_xxx macros to replace printk(KERN_XXX...)
- use new-style i2c interface
- update to use latest ASoC API
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/soc/codecs/Kconfig | 4 +
...
| Sep 5, 3:09 am 2008 |
| Stephen Rothwell | linux-next: Tree for September 5
Hi all,
There will be no linux-next tree until at least September 9 (US Central
time) as I will be travelling.
Changes since next-20080904:
The ttydev tree is back since Alan thinks he has fixed Andrew's problem.
The dwmw2 tree lost the build breakage that required a revert.
The arm tree gained some trivial conflicts (unreported).
The block tree lost a conflict but gained a conflict against the scsi tree.
I have also applied the following patches for known problems:
ftrace: ...
| Sep 5, 2:09 am 2008 |
| Bartlomiej Zolnierki ... | Re: linux-next: Tree for September 5
Hi,
The following commit:
commit 50c0f43ff1199bbea5f0418d40df32f4d4029b13
Author: Andi Kleen <ak@linux.intel.com>
Date: Thu Sep 4 15:13:29 2008 +0200
ACPI: EC: do transaction from interrupt context
From: Alexey Starikovskiy <astarikovskiy@suse.de>
It is easier and faster to do transaction directly from interrupt context
rather than waking control thread.
Also, cleaner GPE storm avoidance is implemented.
AK: Merged with earlier io port patch
...
| Sep 5, 3:47 pm 2008 |
| FUJITA Tomonori | [PATCH] x86: gart alloc_coherent doesn't need to check N ...
asm/dma-mapping.h guarantees that gart alloc_coherent doesn't get NULL
device argument.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
arch/x86/kernel/pci-gart_64.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c
index 4d08649..0b99d4a 100644
--- a/arch/x86/kernel/pci-gart_64.c
+++ b/arch/x86/kernel/pci-gart_64.c
@@ -506,9 +506,6 @@ gart_alloc_coherent(struct device *dev, size_t ...
| Sep 5, 1:58 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: fix nommu_alloc_coherent allocation wit ...
ok - i kept this commit for now in tip/x86/iommu:
# 551b454: x86: gart alloc_coherent doesn't need to check NULL device argument
and will let you guys sort out how to do the others.
Ingo
--
| Sep 5, 3:49 am 2008 |
| FUJITA Tomonori | [PATCH] x86: use __GFP_NORETRY in the case of GFP_DMA wi ...
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
arch/x86/kernel/pci-nommu.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/pci-nommu.c b/arch/x86/kernel/pci-nommu.c
index 526b2db..3495f88 100644
--- a/arch/x86/kernel/pci-nommu.c
+++ b/arch/x86/kernel/pci-nommu.c
@@ -102,6 +102,9 @@ nommu_alloc_coherent(struct device *hwdev, size_t size,
if (dma_mask == DMA_24BIT_MASK)
gfp |= GFP_DMA;
again:
+ if (gfp & GFP_DMA)
+ gfp |= ...
| Sep 5, 1:58 am 2008 |
| Joerg Roedel | Re: [PATCH] x86: gart alloc_coherent doesn't need to che ...
True, thanks.
--
| AMD Saxony Limited Liability Company & Co. KG
Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
System | Register Court Dresden: HRA 4896
Research | General Partner authorized to represent:
Center | AMD Saxony LLC (Wilmington, Delaware, US)
| General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
--
| Sep 5, 3:41 am 2008 |
| FUJITA Tomonori | [PATCH 0/3] fix alloc_coherent allocation issues (tip/x8 ...
This patchset restores some of the current alloc_coherent behaviors
that Joerg's x86 patchset (in tip/x86/iommu) changes.
The first patch uses __GFP_DMA for NULL device argument (fallback_dev)
with pci-nommu. It's a hack for ISA (and some old code) so we need
DMA_ZONE.
The second patch uses __GFP_NORETRY in the case of GFP_DMA.
The third patch is a minor cleanup.
I'll send patchset for the rest of alloc_coherent issues this weekend.
--
| Sep 5, 1:58 am 2008 |
| Joerg Roedel | Re: [PATCH] x86: use __GFP_NORETRY in the case of GFP_DM ...
Huh? Why that? The __GFP_NORETRY is a hint from the caller to the page
allocator on how aggressive it should try to allocate memory. I don't
think the DMA code should touch those flags unless there is a very very
--
| AMD Saxony Limited Liability Company & Co. KG
Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
System | Register Court Dresden: HRA 4896
Research | General Partner authorized to represent:
Center ...
| Sep 5, 3:43 am 2008 |
| Joerg Roedel | Re: [PATCH] x86: fix nommu_alloc_coherent allocation wit ...
Andi,
I guess you made the dma_mask of the fallback_dev 32 bit a long time
ago. Is there any reason it cannot be 24 bit?
Joerg
--
| AMD Saxony Limited Liability Company & Co. KG
Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
System | Register Court Dresden: HRA 4896
Research | General Partner authorized to represent:
Center | AMD Saxony LLC (Wilmington, Delaware, US)
| General ...
| Sep 5, 4:56 am 2008 |
| FUJITA Tomonori | [PATCH] x86: fix nommu_alloc_coherent allocation with NU ...
We need to use __GFP_DMA for NULL device argument (fallback_dev) with
pci-nommu. It's a hack for ISA (and some old code) so we need to use
GFP_DMA.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
arch/x86/kernel/pci-nommu.c | 5 +----
include/asm-x86/dma-mapping.h | 2 ++
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/pci-nommu.c b/arch/x86/kernel/pci-nommu.c
index 73853d3..526b2db 100644
--- a/arch/x86/kernel/pci-nommu.c
+++ ...
| Sep 5, 1:58 am 2008 |
| FUJITA Tomonori | Re: [PATCH 0/3] fix alloc_coherent allocation issues (ti ...
On Fri, 5 Sep 2008 17:58:46 +0900
Oops, I messed up the subjects. They should have been:
[PATCH 1/3] x86: fix nommu_alloc_coherent allocation with NULL device argument
[PATCH 2/3] x86: use __GFP_NORETRY in the case of GFP_DMA with pci-nommu
[PATCH 3/3] x86: gart alloc_coherent doesn't need to check NULL device argument
--
| Sep 5, 2:11 am 2008 |
| Ingo Molnar | Re: [PATCH 0/3] fix alloc_coherent allocation issues (ti ...
I've applied them to tip/x86/iommu:
52fceb1: x86: gart alloc_coherent doesn't need to check NULL device argument
150ba17: x86: use __GFP_NORETRY in the case of GFP_DMA with pci-nommu
3b3d509: x86: fix nommu_alloc_coherent allocation with NULL device argument
that's OK - i dont rely on the numbering when picking up patches and
they get discarded by git-am for the commit log anyway.
The only real use for numbering is when there's some really large set of
patches (dozens of them) ...
| Sep 5, 3:45 am 2008 |
| Joerg Roedel | Re: [PATCH] x86: fix nommu_alloc_coherent allocation wit ...
I agree with this patch in principle. It fixes the problem. But I think
we should evaluate if we can change the dma_mask of the fallback_dev to
24 bit.
Please leave these spare lines where they are. They increase the
--
| AMD Saxony Limited Liability Company & Co. KG
Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
System | Register Court Dresden: HRA 4896
Research | General Partner authorized to represent:
...
| Sep 5, 3:40 am 2008 |
| Rambaldi | 2.6.27-rc5 xen balloon driver warnings
Hi,
when running the 2.6.27-rc5 kernel as 64 bits dumU I get the following warnings:
xen_balloon: Initialising balloon driver.
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:463 sysfs_add_one+0x33/0x39()
sysfs: duplicate filename 'memory' can not be created
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.27-rc5 #2
Call Trace:
[<ffffffff80231c9c>] warn_slowpath+0xb4/0xdd
[<ffffffff803311f8>] write_console+0xda/0x119
[<ffffffff8020baf6>] ...
| Sep 5, 1:41 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: move nonx_setup etc from common.c to in ...
applied to tip/x86/unify-cpu-detect - thanks Yinghai.
Ingo
--
| Sep 5, 1:24 am 2008 |
| Yinghai Lu | [PATCH] x86: move nonx_setup etc from common.c to init_64.c
like 32 bit put it in init_32.c
Signed-off-by: Yinghai <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 54 -------------------------------------------
arch/x86/mm/init_64.c | 54 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+), 54 deletions(-)
Index: linux-2.6/arch/x86/kernel/cpu/common.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/cpu/common.c
+++ ...
| Sep 5, 12:58 am 2008 |
| Daisuke Nishimura | [PATCH][mmotm]memcg: handle null dereference of mm->owner
Hi.
mm_update_next_owner() may clear mm->owner to NULL
if it races with swapoff, page migration, etc.
(This behavior was introduced by mm-owner-fix-race-between-swap-and-exit.patch.)
But memcg doesn't take account of this situation, and causes:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000630
This fixes it.
Signed-off-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
---
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 2979d22..ec2c16b 100644
--- ...
| Sep 5, 12:50 am 2008 |
| KAMEZAWA Hiroyuki | Re: [PATCH][mmotm]memcg: handle null dereference of mm->owner
On Fri, 5 Sep 2008 16:50:17 +0900
Thank you for catching this.
BTW, I have a question to Balbir and Paul. (I'm sorry I missed the discussion.)
Recently I wonder why we need MM_OWNER.
- What's bad with thread's cgroup ?
- Why we can't disallow per-thread cgroup under memcg ?)
Thanks,
--
| Sep 5, 1:40 am 2008 |
| Paul Menage | Re: [PATCH][mmotm]memcg: handle null dereference of mm->owner
On Fri, Sep 5, 2008 at 1:40 AM, KAMEZAWA Hiroyuki
Because lots of mm operations take place in a context where we don't
We can, but that's orthogonal - we still need to be able to get to
some thread (or a pointer directly in the mm to the cgroup, but with
multiple cgroup subsystems popping up that needed such a pointer, it
seems cleaner to have the owner pointer rather than adding multiple
separate cgroup subsystem pointers to mm.
Paul
--
| Sep 5, 9:03 am 2008 |
| Balbir Singh | Re: [PATCH][mmotm]memcg: handle null dereference of mm->owner
For the following reasons, I had initially designed it to be that way because
1. There is no concept of a thread maintaining or managing its memory
independently of others
2. If we ever support full migration, it is easier to do so with the thread
group leader owning the memory, rather than figuring out what to do everytime a
task changed a cgroup.
3. A task with appropriate permissions can spread itself across cgroups and hog
memory
--
Balbir
--
| Sep 5, 2:45 am 2008 |
| Ulrich Windl | Q: (2.6.16 & ext3) bad SMP load balancing when writing t ...
Hi,
while copying large remote files for an USB memory stick formatted with ext3 using
scp, I noticed a stall in wrie speed. Looking at the system with top I saw:
top - 09:25:25 up 55 days, 23:49, 2 users, load average: 11.09, 7.41, 4.43
Tasks: 128 total, 1 running, 127 sleeping, 0 stopped, 0 zombie
Cpu0 : 7.6%us, 0.3%sy, 0.0%ni, 0.0%id, 90.4%wa, 0.3%hi, 1.3%si, 0.0%st
Cpu1 : 0.0%us, 0.0%sy, 0.0%ni, 0.0%id,100.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 0.0%sy, ...
| Sep 5, 12:37 am 2008 |
| Khem Raj | Export byteorder.h and swab.h a.out.h to userspace
Hi,
Some architectures have moved the asm/ into arch/ and some have not. This patch checks for a.out.h in both places before exporting it.
When building headers for arm I noticed that userspace headers need linux/byteorder.h and inturn swab.h also to be exported to userspace as asm/byteorder.h needs it.
I test build headers_install for all possible architecutures.
Thanks
-Khem
| Sep 4, 11:11 pm 2008 |
| Paul Mundt | [GIT PULL] sh updates for 2.6.27-rc6
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.git sh/for-2.6.27
Which contains:
Adrian Bunk (2):
sh64: re-add the __strnlen_user() prototype
sh: fix ptrace_64.c:user_disable_single_step()
Carmelo Amoroso (1):
sh: resume_kernel fix for kernel oops built with CONFIG_BKL_PREEMPT=y.
Magnus Damm (6):
sh: crash kernel resource fix
sh: fix kexec entry point for crash kernels
sh: fix platform_resource_setup_memory() section ...
| Sep 4, 10:59 pm 2008 |
| Németh Márton | __initdata and struct dmi_system_id?
Hi,
I have a question about how the __initdata sections are handled
under Linux. As far as I understand after the init function is
finished all the data from the __initdata section is freed. For
this reason all the data which are marked as __initdata should
be separated to a different section by the compiler.
I take for example the drivers/input/keyboards/atkbd.c where we
can see the following dmi_system_id structure:
static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
...
| Sep 4, 10:45 pm 2008 |
| Andrew Morton | Re: 2.6.27-rc5-mm1: list corruption during blk_add_timer()
On Fri, 5 Sep 2008 21:26:02 +0400
I went looking, but afaict the whole thing got removed from today's
--
| Sep 5, 12:40 pm 2008 |
| Andrew Morton | Re: 2.6.27-rc5-mm1
oops, thanks, my net connection fell over at a bad time and I didn't
repair all the damage.
I just uploaded the 5160786-byte 2.6.27-rc5-mm1.gz - it should be their
in a few minutes.
--
| Sep 5, 1:25 am 2008 |
| Alexander Beregalov | Re: 2.6.27-rc5-mm1
Hi Andrew
2.6.27-rc5-mm1.gz seems broken
gzip: 2.6.27-rc5-mm1.gz: unexpected end of file
The result does not contain drivers/net/wireless/libertas_tf/
gpg sign seems good
--
| Sep 5, 12:50 am 2008 |
| Takashi Iwai | Re: 2.6.27-rc5-mm1
At Thu, 4 Sep 2008 22:40:04 -0700,
I applied to my tree now.
thanks,
Takashi
--
| Sep 5, 12:20 am 2008 |
| Mariusz Kozlowski | Re: 2.6.27-rc5-mm1: rmmod ide-cd_mod: tried to init an i ...
Hello,
Again 100% reproducible rmmod ide-cd_mod problem. Kernel is tainted because
of earlier sysfs acpi problems similar (probably identical) to those reported
by Li Zefan here http://marc.info/?l=linux-kernel&m=121921059026064&w=2
Steps to reproduce: unload ide-cd_mod
kobject (dd9e4a7c): tried to init an initialized object, something is seriously wrong.
Pid: 4734, comm: modprobe Tainted: G W 2.6.27-rc5-mm1 #1
[<c01ec982>] kobject_init+0xc4/0xc9
[<c02cb84a>] ? ...
| Sep 5, 5:39 am 2008 |
| Andrew Morton | 2.6.27-rc5-mm1
[Empty message]
| Sep 4, 10:40 pm 2008 |
| Hiroshi Shimamoto | Re: [PATCH -mm] Fix dev_load() compilation again
Hi,
in -next tree, this patch fixes the compilation error instead of
my patch. So, there is a conflict.
commit 9b90dc7bc3079376567fc501e2e84751fa4040fd
Author: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed Aug 27 14:45:37 2008 +1000
rr: build fix for remove CONFIG_KMOD from net
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
thanks,
Hiroshi Shimamoto
--
| Sep 5, 12:54 pm 2008 |
| Mariusz Kozlowski | Re: 2.6.27-rc5-mm1: rmmod ide-cd_mod: tried to init an i ...
It's relatively new, that's why :) And this is the culprit:
abf5439370491dd6fbb4fe1a7939680d2a9bc9d4 is first bad commit
commit abf5439370491dd6fbb4fe1a7939680d2a9bc9d4
Author: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Date: Sat Aug 16 14:10:05 2008 +0900
block: move cmdfilter from gendisk to request_queue
cmd_filter works only for the block layer SG_IO with SCSI block
devices. It breaks scsi/sg.c, bsg, and the block layer SG_IO with SCSI
character devices ...
| Sep 5, 9:25 am 2008 |
| Alexey Dobriyan | 2.6.27-rc5-mm1: list corruption during blk_add_timer()
Jens, send to Andrew whatever you fixed in git://git.kernel.dk/linux-2.6-block.git for-2.6.28
[ 24.567512] ------------[ cut here ]------------
[ 24.567619] WARNING: at lib/list_debug.c:30 __list_add+0x95/0xa0()
[ 24.567722] list_add corruption. prev->next should be next (ffff88017f9b8420), but was ffff88017f9b8588. (prev=ffff88017f9b8858).
[ 24.567882] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 xt_state nf_conntrack iptable_filter ip_tables xt_tcpudp ...
| Sep 5, 10:26 am 2008 |
| Rafael J. Wysocki | Re: 2.6.27-rc5-mm1: rmmod ide-cd_mod: tried to init an i ...
Can you please verify if that happens with the current mainline?
Thanks,
Rafael
--
| Sep 5, 6:28 am 2008 |
| Mariusz Kozlowski | Re: 2.6.27-rc5-mm1: rmmod ide-cd_mod: tried to init an i ...
Oops. How come I didn't find it earlier? hmm...
This is current mainline:
kobject (ddb049fc): tried to init an initialized object, something is seriously wrong.
Pid: 4650, comm: modprobe Not tainted 2.6.27-rc5-00132-gb380b0d #8
[<c01e3196>] kobject_init+0x6a/0x6c
[<c01e35cb>] kobject_init_and_add+0x14/0x30
[<c01e32f7>] ? kobject_get+0x12/0x17
[<c01df89c>] blk_register_filter+0x4b/0x5a
[<de839310>] ide_cd_probe+0x289/0x5ae [ide_cd_mod]
[<c01aad99>] ? sysfs_addrm_start+0x65/0x90
...
| Sep 5, 6:44 am 2008 |
| Alexey Dobriyan | [PATCH -mm] Fix dev_load() compilation again
dev_load() doesn't exist if MODULES=n.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
include/linux/netdevice.h | 6 ++++++
1 file changed, 6 insertions(+)
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1639,7 +1639,13 @@ extern int dev_set_allmulti(struct net_device *dev, int inc);
extern void netdev_state_change(struct net_device *dev);
extern void netdev_bonding_change(struct net_device *dev);
extern void netdev_features_change(struct ...
| Sep 5, 12:32 pm 2008 |
| sasin | RE: mmc/card/block.c : mmc_blk_open readonly mount bug?
Guess nobody tests with readonly? We had a socket on our board that
flipped the write protect signal, and the rest you know :-)
-----Original Message-----
From: Pierre Ossman [mailto:drzeus-list@drzeus.cx]
Sent: Friday, September 05, 2008 1:07 PM
To: Andrew Morton
Cc: Sasi Nair; linux-kernel@vger.kernel.org
Subject: Re: mmc/card/block.c : mmc_blk_open readonly mount bug?
On Thu, 4 Sep 2008 16:08:08 -0700
I wonder how that bug has been able to go unnoticed for so long...
Acked-by: ...
| Sep 4, 10:36 pm 2008 |
| Divy Le Ray | [PATCH 1/1 2.6.28] cxgb3 - remove duplicate tests in lro
From: Divy Le Ray <divy@chelsio.com>
The generic lro code checks TCP flags/options.
Remove duplicate tests done in the driver.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
---
drivers/net/cxgb3/sge.c | 35 -----------------------------------
1 files changed, 0 insertions(+), 35 deletions(-)
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index 1b0861d..f78a42c 100644
--- a/drivers/net/cxgb3/sge.c
+++ b/drivers/net/cxgb3/sge.c
@@ -1937,38 +1937,6 @@ static inline int ...
| Sep 4, 10:34 pm 2008 |
| Steven Rostedt | 2.6.26.3-rt6
We are pleased to announce the 2.6.26.3-rt6 tree, which can be
downloaded from the location:
http://rt.et.redhat.com/download/
Information on the RT patch can be found at:
http://rt.wiki.kernel.org/index.php/Main_Page
Changes since 2.6.26-rt5
- rebased ftrace to latest (Steven Rostedt)
- schedule RT task push/pull improvements (Gregory Haskins)
- pm qos requirement updated patch (John Kacur)
- PowerPC ftrace mcount undefined symbol fix (Steven Rostedt)
to build a ...
| Sep 4, 9:36 pm 2008 |
| Paul Moore | Re: + security-selinux-include-netlabelh-fix-two-build-e ...
Hmmm, nevermind, the problem seems to have disappeared after
--
paul moore
linux @ hp
--
| Sep 5, 10:02 am 2008 |
| Paul Moore | Re: + security-selinux-include-netlabelh-fix-two-build-e ...
Thanks, I'll get these fixed today.
--
paul moore
linux @ hp
--
| Sep 5, 4:44 am 2008 |
| Paul Moore | Re: + security-selinux-include-netlabelh-fix-two-build-e ...
Interesting, I tried to reproduce this quickly by changing my .config,
running 'make oldconfig', verifying that CONFIG_IPV6 was still "n" (it
was actually commented out), and then running 'make M=net/netlabel' ...
the result was no error.
You are correct, I obviously made a mistake in the code (which I am
fixing now) but I don't understand why the steps I took above didn't
--
paul moore
linux @ hp
--
| Sep 5, 9:44 am 2008 |
| Randy Dunlap | Re: + security-selinux-include-netlabelh-fix-two-build-e ...
Even with this patch, net/netlabel/netlabel_mgmt.c has build errors when CONFIG_IPV6=n:
linux-next-20080904/net/netlabel/netlabel_domainhash.c:79: warning: unused variable 'tmp6'
linux-next-20080904/net/netlabel/netlabel_domainhash.c:78: warning: unused variable 'iter6'
linux-next-20080904/net/netlabel/netlabel_domainhash.c:340: warning: unused variable 'tmp6'
linux-next-20080904/net/netlabel/netlabel_domainhash.c:301: warning: unused variable ...
| Sep 4, 9:00 pm 2008 |
| Li Zefan | Re: [PATCH] cpuset: hotplug documentation fix
wiki:
binded
1. (nonstandard) Bound; simple past tense and past participle of bind.
google binded gave me 405,000 items. :)
--
| Sep 4, 10:08 pm 2008 |
| Li Zefan | [PATCH -v2] cpuset: hotplug documentation fix
If all the cpus in a cpuset are offlined, the tasks in it will
be moved to the nearest ancestor with non-empty cpus.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Jackson <pj@sgi.com>
---
fixed a typo: s/binded/bound
--
Documentation/cpusets.txt | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/Documentation/cpusets.txt b/Documentation/cpusets.txt
index 1f5a924..47e568a 100644
--- a/Documentation/cpusets.txt
+++ ...
| Sep 4, 10:12 pm 2008 |
| Paul Jackson | Re: [PATCH] cpuset: hotplug documentation fix
Thanks for updating this, Li Zefan.
I would suggest one minor wording fix. The past tense of bind is bound.
(Don't you just love how regular the English language is ;)?
So, replace:
+cpuset is binded with another cgroup subsystem which has some restrictions
with:
+cpuset is bound with another cgroup subsystem which has some restrictions
Either way:
Acked-by: Paul Jackson <pj@sgi.com>
--
I won't rest till it's the best ...
Programmer, Linux ...
| Sep 4, 9:29 pm 2008 |
| Li Zefan | [PATCH] cpuset: hotplug documentation fix
If all the cpus/mems in a cpuset are offlined, the tasks in it will
be moved to the nearest ancestor with non-empty cpus/mems.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
Documentation/cpusets.txt | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/Documentation/cpusets.txt b/Documentation/cpusets.txt
index 1f5a924..871c1dd 100644
--- a/Documentation/cpusets.txt
+++ b/Documentation/cpusets.txt
@@ -635,14 +635,16 @@ prior 'mems' setting, will not ...
| Sep 4, 8:43 pm 2008 |
| Paul Jackson | Re: [PATCH] cpuset: hotplug documentation fix
> google binded gave me 405,000 items. :)
But "bound" gives me 135,000,000 items ;).
Thanks for putting up with me.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| Sep 4, 10:18 pm 2008 |
| Andrew Morton | Re: __getblk infinite loop
That loop does lock up on people occasionally - last time was in isofs,
because it had done an insane set_blocksize() earlier on.
Yes, it's always a case of garbage in, garbage out (or nothing out, as
the case may be).
No, it's not particularly programmer-friendly behaviour.
--
| Sep 4, 10:38 pm 2008 |
| Bob Copeland | Re: __getblk infinite loop
Ok, I think I get it now - sector_t 0x1d4000004 is in the addressable
range (by one bit) since we can address 4G blocks of PAGE_SIZE and the
FS is using a block size of 2048. grow_buffers() always returns 0
because find_or_create_page() fails adding a page with that huge
offset into the pagecache (?), so we try to free memory and try again.
Your patch here:
http://marc.info/?l=linux-kernel&m=117202372525279&w=2
doesn't apply to the situation since index is still technically a
valid ...
| Sep 5, 7:58 am 2008 |
| Eric Sesterhenn | Re: __getblk infinite loop
hi,
Wouldnt it make sense to limit the loop in __getblk_slow()?
Like only try five times and drop a warning?
Yesterday I changed free_more_memory() to
return the number of pages freed by try_to_free_pages() and abort
if no pages where freed. But it seems it always frees exactly one
page...
Greetings, Eric
--
| Sep 5, 2:20 am 2008 |
| Bob Copeland | __getblk infinite loop
Hi all,
Eric Sesterhenn and I were puzzling over a lockup found by his fsfuzzer.
sb_bread() calls __getblk, which says:
/*
* __getblk will locate (and, if necessary, create) the buffer_head
* which corresponds to the passed block_device, block and size. The
* returned buffer has its reference count incremented.
*
* __getblk() cannot fail - it just keeps trying. If you pass it an
* illegal block number, __getblk() will happily return a buffer_head
* which represents the ...
| Sep 4, 8:24 pm 2008 |
| Yinghai Lu | [PATCH 04/16] x86: cpu common let 64bit code have 32bit ...
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 8 +++
arch/x86/kernel/cpu/common_64.c | 111 +++++++++++++++++++++++++++++++++++++++
2 files changed, 119 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index e0ca51f..9128ba0 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -93,6 +93,7 @@ DEFINE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page) = { .gdt = {
...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 07/16] x86: cpu common merge switch_to_new_gdt
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 2 ++
arch/x86/kernel/cpu/common_64.c | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index f44678d..43d5287 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -215,7 +215,9 @@ void switch_to_new_gdt(void)
gdt_descr.address = (long)get_cpu_gdt_table(smp_processor_id());
...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 11/16] x86: cpu common merge get_cpu_cap
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 20 ++++++++++++++++++++
arch/x86/kernel/cpu/common_64.c | 2 ++
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index b2018f7..ffc2f5e 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -458,6 +458,26 @@ static void __cpuinit get_cpu_cap(struct cpuinfo_x86 *c)
c->x86_capability[6] = ...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 08/16] x86: cpu common merge default_init
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 4 ++++
arch/x86/kernel/cpu/common_64.c | 12 ++++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 43d5287..2c4bfa2 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -224,6 +224,9 @@ static struct cpu_dev *cpu_devs[X86_VENDOR_NUM] = {};
static void __cpuinit default_init(struct ...
| Sep 4, 8:09 pm 2008 |
| Ingo Molnar | Re: [PATCH 16/16] x86: use common.c for 64 bit
very nice patchset!
I've created a new topic for this: tip/x86/unify-cpu-detect, with these
commits:
f5017cf: x86: use cpu/common.c on 64 bit
143b604: x86: cpu/common*.c, merge whitespaces
102bbe3: x86: cpu/common*.c, merge identify_cpu()
b89d3b3: x86: cpu/common*.c, merge generic_identify()
56f0d03: x86: cpu/common*.c: merge print_cpu_info()
6627d24: x86: cpu/common*.c, merge early_identify_cpu()
5122c89: x86: cpu/common.c: merge get_cpu_cap()
1cd7877: x86: cpu/common*.c, merge ...
| Sep 5, 12:46 am 2008 |
| Yinghai Lu | [PATCH 14/16] x86: cpu common merge generic_identify
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 15 ++++++++++++---
arch/x86/kernel/cpu/common_64.c | 19 ++++++++++++++++---
2 files changed, 28 insertions(+), 6 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 61a7074..f35baa7 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -548,6 +548,10 @@ void __init early_cpu_init(void)
* of early VIA chips and (more importantly) ...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 10/16] x86: cpu common merge detect_ht
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 13 ++++++++++++-
arch/x86/kernel/cpu/common_64.c | 9 +++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index f919120..b2018f7 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -330,6 +330,9 @@ void __cpuinit detect_ht(struct cpuinfo_x86 *c)
if (cpu_has(c, X86_FEATURE_CMP_LEGACY))
...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 16/16] x86: use common.c for 64 bit
and remove common_64.c
Signed-off-by: Yinghai <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/Makefile | 6 +-
arch/x86/kernel/cpu/common_64.c | 1201 ---------------------------------------
2 files changed, 3 insertions(+), 1204 deletions(-)
delete mode 100644 arch/x86/kernel/cpu/common_64.c
diff --git a/arch/x86/kernel/cpu/Makefile b/arch/x86/kernel/cpu/Makefile
index 403e689..d031f24 100644
--- a/arch/x86/kernel/cpu/Makefile
+++ b/arch/x86/kernel/cpu/Makefile
@@ -3,10 +3,10 ...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 12/16] x86: cpu common merge early_identify_cpu
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 4 ++++
arch/x86/kernel/cpu/common_64.c | 19 ++++++++++++++++---
2 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index ffc2f5e..61a7074 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -490,7 +490,11 @@ static void __cpuinit get_cpu_cap(struct cpuinfo_x86 *c)
*/
static void __init ...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 01/16] x86: make detect_ht depends on X86_HT
64bit has X86_HT set too, so use that instead of SMP
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 4 ++--
arch/x86/kernel/cpu/common_64.c | 2 +-
include/asm-x86/processor.h | 4 ----
3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 7d5a07f..1f80ce0 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -263,9 +263,9 @@ void ...
| Sep 4, 8:08 pm 2008 |
| Yinghai Lu | [PATCH 09/16] x86: cpu common merge display_cacheinfo
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 8 ++++++++
arch/x86/kernel/cpu/common_64.c | 17 +++++++++++++++++
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 2c4bfa2..f919120 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -285,6 +285,10 @@ void __cpuinit display_cacheinfo(struct cpuinfo_x86 *c)
printk(KERN_INFO "CPU: L1 I ...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 05/16] x86: cpu common make 32bit have 64bit only funcs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 138 +++++++++++++++++++++++++++++++++++++++
arch/x86/kernel/cpu/common_64.c | 12 ++++
2 files changed, 150 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 9128ba0..dcd3ebd 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -750,6 +750,143 @@ __setup("clearcpuid=", setup_disablecpuid);
cpumask_t ...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 13/16] x86: cpu common merge print_cpu_info
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common_64.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/common_64.c b/arch/x86/kernel/cpu/common_64.c
index 6475548..68b06a3 100644
--- a/arch/x86/kernel/cpu/common_64.c
+++ b/arch/x86/kernel/cpu/common_64.c
@@ -730,8 +730,20 @@ __setup("noclflush", setup_noclflush);
void __cpuinit print_cpu_info(struct cpuinfo_x86 *c)
{
+ char *vendor = NULL;
+
+ if ...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 15/16] x86: cpu common merge identify_cpu
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 89 ++++++++++++++++++++----------
arch/x86/kernel/cpu/common_64.c | 116 +++++++++++++++++++++++++++++----------
2 files changed, 147 insertions(+), 58 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index f35baa7..42a26c5 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -104,34 +104,6 @@ static int __init cachesize_setup(char ...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 02/16] x86: make header file the same in common_xx.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 22 +++++++++++++++++++---
arch/x86/kernel/cpu/common_64.c | 2 +-
2 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 1f80ce0..6bbdbc2 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1,25 +1,41 @@
#include <linux/init.h>
+#include <linux/kernel.h>
+#include <linux/sched.h>
#include ...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 03/16] x86: same gdt_page with marco
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 17 +++++++++++++++++
arch/x86/kernel/cpu/common_64.c | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 6bbdbc2..e0ca51f 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -40,6 +40,22 @@
static struct cpu_dev *this_cpu __cpuinitdata;
+#ifdef ...
| Sep 4, 8:09 pm 2008 |
| Yinghai Lu | [PATCH 06/16] x86: cpu commont have same cpu_init with c ...
hard to merge by lines... will try do it later
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 124 +++++++++++++++++++++++++++++++++++++++
arch/x86/kernel/cpu/common_64.c | 88 +++++++++++++++++++++++++++-
2 files changed, 211 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index dcd3ebd..f44678d 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -901,7 +901,129 ...
| Sep 4, 8:09 pm 2008 |
| Nicolas Pitre | Re: [PATCH] ucb1400_ts depends SND_AC97_BUS
I think both your patch and the one I previously posted are needed.
Nicolas
--
| Sep 5, 7:52 am 2008 |
| Dmitry Torokhov | Re: [PATCH] ucb1400_ts depends SND_AC97_BUS
I'll take it.
--
Dmitry
--
| Sep 5, 11:33 am 2008 |
| Takashi Iwai | Re: [PATCH] ucb1400_ts depends SND_AC97_BUS
At Fri, 05 Sep 2008 01:09:48 -0400 (EDT),
Oh, it must be me.
Could you check the patch below?
thanks,
Takashi
diff --git a/sound/Kconfig b/sound/Kconfig
index a37bee0..164a53a 100644
--- a/sound/Kconfig
+++ b/sound/Kconfig
@@ -91,6 +91,9 @@ endif # SOUND_PRIME
endif # !M68K
+endif # SOUND
+
+# AC97_BUS is used from both sound and ucb1400
config AC97_BUS
tristate
help
@@ -99,4 +102,3 @@ config AC97_BUS
sound although they're sharing the AC97 bus. Concerned ...
| Sep 4, 11:46 pm 2008 |
| Randy Dunlap | Re: [PATCH] ucb1400_ts depends SND_AC97_BUS
Ack. Sorry about that. Wrong ucb thread.
ucb1400_core still has build errors in linux-next
since it uses ac97_bus_type even when CONFIG_SOUND=n.
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
--
| Sep 4, 9:44 pm 2008 |
| Takashi Iwai | Re: [PATCH] ucb1400_ts depends SND_AC97_BUS
At Fri, 05 Sep 2008 12:32:32 -0400 (EDT),
Thanks. For linux-next, yes, it's needed. But it's not for 2.6.27.
Meanwhile, my fix should be included in 2.6.27 since it's a
regression.
Randy, could you check whether these two patches fix your problem?
I'll put my patch to my tree for the next pull request after your
confirmation.
Can Nicolas's patch be to input tree, or any other taker?
thanks,
--
| Sep 5, 10:17 am 2008 |
| Nicolas Pitre | Re: [PATCH] ucb1400_ts depends SND_AC97_BUS
What about this?
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 6e1e8c6..22cf319 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -219,7 +219,6 @@ config TOUCHSCREEN_ATMEL_TSADCC
config TOUCHSCREEN_UCB1400
tristate "Philips UCB1400 touchscreen"
- select AC97_BUS
depends on UCB1400_CORE
help
This enables support for the Philips UCB1400 touchscreen interface.
diff --git a/drivers/mfd/Kconfig ...
| Sep 4, 10:27 pm 2008 |
| Nicolas Pitre | Re: [PATCH] ucb1400_ts depends SND_AC97_BUS
This patch is commit e1036502e5263851259d147771226161e5ccc85a and
appeared in mainline almost 2 years ago.
Nicolas
--
| Sep 4, 9:37 pm 2008 |
| Nicolas Pitre | Re: [PATCH] ucb1400_ts depends SND_AC97_BUS
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 6e1e8c6..22cf319 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -219,7 +219,6 @@ config TOUCHSCREEN_ATMEL_TSADCC
config TOUCHSCREEN_UCB1400
tristate "Philips UCB1400 touchscreen"
- select AC97_BUS
depends on UCB1400_CORE
help
This enables support for the Philips UCB1400 touchscreen interface.
diff --git a/drivers/mfd/Kconfig ...
| Sep 5, 9:32 am 2008 |
| Randy Dunlap | Re: [PATCH] ucb1400_ts depends SND_AC97_BUS
Can we get this patch or some patch into the input tree for linux-next?
Currently ucb1400_core using ac97_bus_type is the #1 build failure in linux-next.
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
--
| Sep 4, 7:57 pm 2008 |
| Nicolas Pitre | Re: [PATCH] ucb1400_ts depends SND_AC97_BUS
Both sound (AC97) and UCB1400 should be able to select CONFIG_AC97_BUS
independently from each other.
And in linux/sound/Makefile one can find this note:
# This one must be compilable even if sound is configured out
obj-$(CONFIG_AC97_BUS) += ac97_bus.o
This was fixed 2 years ago. Who broke it this time?
Nicolas
--
| Sep 4, 10:09 pm 2008 |
| Randy Dunlap | Sep 5, 2:09 pm 2008 | |
| Takashi Iwai | Re: [PATCH] ucb1400_ts depends SND_AC97_BUS
At Fri, 05 Sep 2008 10:52:25 -0400 (EDT),
Could you repost? I can't find it easily now.
thanks,
Takashi
--
| Sep 5, 9:26 am 2008 |
| Henrik Rydberg | [PATCH 2/2] input: mousedev: Emulate right and middle bu ...
On most linux-based systems, the right and middle buttons are used
extensively. On computers lacking either of those buttons, such as
the Apple Macbooks, emulation is needed. This patch adds emulation
of the missing buttons via two-fingers-and-click and three-fingers-
and-click operations, which has recently become standard, both in
MacOS and in the Xorg synaptics driver.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
---
drivers/input/mousedev.c | 31 +++++++++++++++++++++++++++++++
...
| Sep 4, 6:19 pm 2008 |
| Henrik Rydberg | [PATCH 1/2] input: mousedev: Distinguish a moving finger ...
The tap functionality of mousedev does not distinguish between a tap
(on/off localized in time and space) and a quick move (on/off localized
in time only). This patch improves the tap detection by testing also
for space locality.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
---
drivers/input/mousedev.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
index 8137e50..27e1d73 100644
--- ...
| Sep 4, 6:17 pm 2008 |
| Vegard Nossum | Re: PROBLEM: Kernel 2.6.26 oops if I unplug my Logitech ...
Hi,
Is this a magic value? I also got it, see for example:
http://lkml.org/lkml/2008/8/21/426
Google will also recognize it:
http://www.google.com/search?hl=en&q="unable+to+handle+kernel+paging+request&...
Where does it come from?
Vegard
--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
| Sep 5, 12:58 am 2008 |
| Vegard Nossum | Re: PROBLEM: Kernel 2.6.26 oops if I unplug my Logitech ...
Oh. It _is_ LIST_POISON1. Sorry for the bit of noise.
Vegard
--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
| Sep 5, 1:01 am 2008 |
| Vegard Nossum | Re: PROBLEM: Kernel 2.6.26 oops if I unplug my Logitech ...
Probably totally unrelated, but I couldn't help to find this bit of
code somewhat odd. In snd_ctl_dev_disconnect():
down_read(&card->controls_rwsem);
list_for_each_entry(ctl, &card->ctl_files, list) {
wake_up(&ctl->change_sleep);
kill_fasync(&ctl->fasync, SIGIO, POLL_ERR);
}
up_read(&card->controls_rwsem);
...shouldn't that be using &card->ctl_files_rwlock instead of
&card->controls_rwsem? That one is always used to protect ...
| Sep 5, 1:18 am 2008 |
| Andrew Morton | Re: PROBLEM: Kernel 2.6.26 oops if I unplug my Logitech ...
On Fri, 05 Sep 2008 01:05:21 +0200
cc's added.
--
| Sep 4, 5:28 pm 2008 |
| Takashi Iwai | Re: PROBLEM: Kernel 2.6.26 oops if I unplug my Logitech ...
At Thu, 4 Sep 2008 17:28:22 -0700,
Hm, it's hard to guess...
Edgar, could you check whether it happens with 2.6.25?
thanks,
Takashi
--
| Sep 5, 12:09 am 2008 |
| Ben Hutchings | Re: [PATCH 2/3] PCI: revise VPD access interface
[...]
I'm not sure this is correct. pci_user_write_config_dword() expects a
value in host byte order, but this memcpy() makes val always little-endian.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Sep 5, 4:02 am 2008 |
| Matthew Wilcox | Re: [PATCH 1/3] PCI: vpd handle longer delays in access
If you're going to use _killable instead of _interruptible, this needs
to be fatal_signal_pending(). Otherwise the one who owns the lock can
be interrupted by _any_ signal while those waiting for the lock can only
What's wrong with the shorter:
if (mutex_lock_killable(&vpd->lock))
return -EINTR;
?
The actual error is irrelevant here since userspace will never consume it.
(I agree with Peter about use of yield())
--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, ...
| Sep 5, 5:40 am 2008 |
| Peter Zijlstra | Re: [PATCH 1/3] PCI: vpd handle longer delays in access
At the very least put a big comment in here that we're polling the
hardware without completion event.
yield() is not good either, when used with a RT task (IMHO still the
only valid use of yield) it mostly doesn't spend any time away from this
task at all.
The other option, schedule_hrtimeout() isn't ideal either because on
crappy hardware it will fall back to jiffie based timeouts and I _hope_
that most hardware is less shitty than the 13ms reported in the
changelog.
Can we make this a ...
| Sep 5, 2:11 am 2008 |
| Ben Hutchings | Re: [PATCH 3/3] PCI: add interface to set visible size of VPD
This assumes that PCI 2.2 VPD is the only VPD implementation (which is true
at the moment, but at least PCI 2.1 VPD should be added). Maybe this should
compare with the current length instead?
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Sep 5, 4:07 am 2008 |
| Dmitry Baryshkov | Re: [PATCH] platform: add new device registration helper
Will the wording "Returns a valid platform device, or a valid IS_ERR
No. The kobject is initialised in platform_device_alloc() ->
I just copied the surrounding code style. If you wish, I can put the
names for this function back.
BTW: would you prefer the followup "fix" patch or just the replacement
one?
--
With best wishes
Dmitry
--
| Sep 5, 3:33 am 2008 |
| Andrew Morton | Re: [PATCH] platform: add new device registration helper
Doesn't worry me at this stage, but Greg would probably like a whole
new patch, as he probably didn't merge version 1.
--
| Sep 5, 11:09 am 2008 |
| Andrew Morton | Re: [PATCH] platform: add new device registration helper
also,
On Fri, 5 Sep 2008 01:30:16 +0400
When you start implementing callers, please check whether
platform_device_register_data() should have been exported to modules.
--
| Sep 4, 5:23 pm 2008 |
| Andrew Morton | Re: [PATCH] platform: add new device registration helper
On Fri, 5 Sep 2008 01:30:16 +0400
Something like
struct platform_device *platform_device_register_data(struct device *parent,
const char *name, int id, const void *data, size_t size)
Are you sure this can't trigger a !kobj->state_initialized warning in
It's nice (IMO) to include the names of the args, for documentation
purposes. Obviously the surrounding code didn't agree.
--
| Sep 4, 5:20 pm 2008 |
| Andrew Patterson | Re: [PATCH 0/6] detect online disk resize
Yes, it would be nice if this patchset worked here too. It currently
I did some testing with multipath here. I could get it working by
shutting down the devices, resizing all the underlying paths using the
above methods, restarting the devices, then running pvresize. This
method does not help much given that most users cannot realistically
shutdown a device. This patch series works fine with standard LVM/dm,
i.e., resize using one of the above methods, then run pvresize.
I was planning on ...
| Sep 5, 8:15 am 2008 |
| Andre Noll | Re: [PATCH 2/6] Adjust block device size after an online ...
I'd say no. In case someone ever does, it seems natural to do nothing
Agreed, that should be done later in a different patchset. It just
looked a bit odd to introduce a new function returning int with none
of its callers actually caring about the return value.
Thanks
Andre
--=20
The only person who always got his work done by Friday was Robinson Crusoe
| Sep 5, 10:55 am 2008 |
| Andre Noll | Re: [PATCH 2/6] Adjust block device size after an online ...
Maybe we should return early at this point if revalidate_disk()
We might return success here even if bdev is NULL. OTOH, as the callers
of revalidate_disk() do not check the return value anyway (although at
least tapeblock_revalidate_disk() might return a negative value) it's
probably also an option to change the return type of revalidate_disk()
to void.
Andre
--=20
The only person who always got his work done by Friday was Robinson Crusoe
| Sep 5, 6:12 am 2008 |
| Andrew Patterson | Re: [PATCH 2/6] Adjust block device size after an online ...
We won't run check_disk_size_change() if we return early here. So the
question is would anyone ever make this call if they didn't have a
revalidate_disk routine? This in not the case in the current code. I
The revalidate_disk() wrapper tries to maintain compatibility with the
current interface. It might make sense to change it given no one
actually really seems to use the return value. I guess I am very wary
about effectively changing the interface of the lower-level
--
| Sep 5, 8:36 am 2008 |
| Jens Axboe | Re: [PATCH 0/6] detect online disk resize
Thanks Andrew, applied.
--
Jens Axboe
--
| Sep 5, 12:02 am 2008 |
| Pasi | Re: [PATCH 0/6] detect online disk resize
Hello and thanks for the patch!
How about device mapper.. what's needed to make it detect/support online resizes?
I'm specificly interested in online resizing (growing) dm-multipath devices..
Basicly I'd like to have LVM PV on dm-multipath device.. so first I need to
get the actual disks resized, then dm-multipath device, and finally run pvresize.
I know dm-multipath part can be done atm using this (hacky) method:
https://www.redhat.com/archives/dm-devel/2008-August/msg00033.html
-- ...
| Sep 5, 1:21 am 2008 |
| Andrew Patterson | Re: [PATCH 2/6] Adjust block device size after an online ...
OK. Jens, Do you want me to send you a new patch? Resend the entire
series, or send a patch to the patch? I have appended the new patch.
Andrew
--
Adjust block device size after an online resize of a disk.
From: Andrew Patterson <andrew.patterson@hp.com>
The revalidate_disk routine now checks if a disk has been resized by
comparing the gendisk capacity to the bdev inode size. If they are
different (usually because the disk has been resized underneath the
kernel)
the bdev inode ...
| Sep 5, 1:34 pm 2008 |
| Ingo Molnar | Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
the compiler will inline that single-called function just fine, as long
as you declare it static.
spreading printouts over several functions isnt all that bad i think. We
could even drop the 'not connected' complication - it's evident enough
from the fact that nothing gets printed.
Ingo
--
| Sep 5, 11:38 am 2008 |
| Cyrill Gorcunov | Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
[Ingo Molnar - Fri, Sep 05, 2008 at 08:38:35PM +0200]
|
| * Cyrill Gorcunov <gorcunov@gmail.com> wrote:
|
| > So as you see it's more then enough self-solid :) So I wouldn't break
| > it 'cause of printing. If we have enough memory for bit field - we
| > could just mark there if pin is connected to irq and print connection
| > map after. Don't get me wrong please - I just don't want to overload
| > this function with additional call.
|
| the compiler will inline that single-called ...
| Sep 5, 12:15 pm 2008 |
| Ingo Molnar | Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
hm, by iterator i meant the body itself. I.e. something like:
static void __init setup_IO_APIC_irqs(void)
{
int apic, pin, notcon = 1;
apic_printk(APIC_VERBOSE, KERN_DEBUG "init IO_APIC IRQs\n");
for (apic = 0; apic < nr_ioapics; apic++)
for (pin = 0; pin < nr_ioapic_registers[apic]; pin++)
notcon = setup_ioapic_irq(apic, pin, notcon);
if (!notcon)
apic_printk(APIC_VERBOSE, " not connected.\n");
}
this looks quite a bit ...
| Sep 5, 11:11 am 2008 |
| Cyrill Gorcunov | Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
[Ingo Molnar - Fri, Sep 05, 2008 at 10:04:47AM +0200]
|
| * Cyrill Gorcunov <gorcunov@gmail.com> wrote:
|
| > Use a nested level for 'for' cycle and break long lines.
| > For apic_print we should countinue using KERNEL_DEBUG if
| > we have started to.
|
| > @@ -1521,32 +1521,35 @@ static void __init setup_IO_APIC_irqs(vo
| > apic_printk(APIC_VERBOSE, KERN_DEBUG "init IO_APIC IRQs\n");
| >
| > for (apic = 0; apic < nr_ioapics; apic++) {
| > - for (pin = 0; pin < ...
| Sep 5, 11:01 am 2008 |
| Ingo Molnar | Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
hm, i dont really like the super-deep nesting we do here. Could you
please split out the iterator into a separate function? That makes the
code a lot easier to understand and saves two extra tabs as well for
those ugly-looking printk lines.
Ingo
--
| Sep 5, 1:04 am 2008 |
| Cyrill Gorcunov | Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
[Ingo Molnar - Fri, Sep 05, 2008 at 10:04:47AM +0200]
|
| * Cyrill Gorcunov <gorcunov@gmail.com> wrote:
|
| > Use a nested level for 'for' cycle and break long lines.
| > For apic_print we should countinue using KERNEL_DEBUG if
| > we have started to.
|
| > @@ -1521,32 +1521,35 @@ static void __init setup_IO_APIC_irqs(vo
| > apic_printk(APIC_VERBOSE, KERN_DEBUG "init IO_APIC IRQs\n");
| >
| > for (apic = 0; apic < nr_ioapics; apic++) {
| > - for (pin = 0; pin < ...
| Sep 5, 6:49 am 2008 |
| Cyrill Gorcunov | Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
[Ingo Molnar - Fri, Sep 05, 2008 at 08:11:11PM +0200]
|
| * Cyrill Gorcunov <gorcunov@gmail.com> wrote:
|
| > [Ingo Molnar - Fri, Sep 05, 2008 at 10:04:47AM +0200]
| > |
| > | * Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > |
| > | > Use a nested level for 'for' cycle and break long lines.
| > | > For apic_print we should countinue using KERNEL_DEBUG if
| > | > we have started to.
| > |
| > | > @@ -1521,32 +1521,35 @@ static void __init setup_IO_APIC_irqs(vo
| > | > ...
| Sep 5, 11:33 am 2008 |
| Ingo Molnar | Re: [patch 2/3] x86: io-apic - declare irq_cfg_lock for ...
applied to tip/irq/sparseirq - thanks Cyrill.
Ingo
--
| Sep 5, 1:03 am 2008 |
| Ingo Molnar | Re: [patch 1/3] x86: io-apic - use ARRAY_SIZE macro
applied to tip/irq/sparseirq (which is hosting the IO-APIC unification
series) - thanks Cyrill.
Ingo
--
| Sep 5, 1:02 am 2008 |
| Tejun Heo | Re: [PATCH 2/4] libata: Implement disk shock protection ...
My favorite is #1. Millisecond is small amount of time but it's also
not hard to imagine some future cases where, say, 0.5 sec of
Not yet but I think we should move toward per-queue EH which will
enable fine-grained exception handling like this. Such approach would
also help things like ATAPI CHECK_SENSE behind PMP. I think it's
better to define the interface which suits the problem best rather
If the timeout is global, it's best to have one knob. If the timeout
is per-port, it's best ...
| Sep 5, 1:51 am 2008 |
| Arjan van de Ven | Re: frame unwinder patches
On Fri, 5 Sep 2008 11:19:21 +0200
... if you see backtraces regularly there's something wrong ;-)
(and if you really care it's 1 line of code to turn it off)
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
| Sep 5, 6:33 am 2008 |
| Bernd Schubert | Re: frame unwinder patches
Well may be, but then there is still the performace degrading, so I don't want
to have it enabled on our production kernels. I admit I never measured what
is the difference between of CONFIG_FRAME_POINTER=y and =n, but the fact the
help text says there is a difference already makes me want to disable it
(especially, since we have to provide benchmarks before we can sell a
system).
Cheers,
Bernd
--
Bernd Schubert
Q-Leap Networks GmbH
--
| Sep 5, 7:48 am 2008 |
| Bernd Schubert | Re: frame unwinder patches
I see your point, but in most cases it is rather annoying.
Bernd
--
Bernd Schubert
Q-Leap Networks GmbH
--
| Sep 5, 2:19 am 2008 |
| Andi Kleen | Re: frame unwinder patches
The pipeline dependency stalls yes, the icache/decode overhead no.
Also CONFIG_FRAME_POINTER currently enables -fno-sibling-calls
which generates significantly worse code for a lot of common
%rbp is a general purpose register. In fact it's even better
than a general purpose register because it has often shorter
Even on modern CPUs you can measure it in macro benchmarks, at
least that was the state last time that was investigated.
On older CPUs without the magic hardware it was even ...
| Sep 5, 8:08 am 2008 |
| Bernd Schubert | Re: frame unwinder patches
It always depends on what you are doing. Presently I'm fixing the
reset-handler of the mpt fusion driver and since I'm not
$hardcore_kernel_hacker_with_super_scsi_knowlegde, but only know C and a
little bit about the kernel API I insert dump_stack() and printks all over
the place into the code to understand what is going on.
Well, this reset part is mostly done, now this problem:
http://marc.info/?l=linux-scsi&m=118039573814323&w=2
So yes, there is something wrong ;) Unfortunately so ...
| Sep 5, 6:52 am 2008 |
| Bernd Schubert | Re: frame unwinder patches
Thanks Andi, found it! If someone else needs it, the correct path is
What it the reason this patch isn't mainline? It provides better traces,
doesn't slow down the kernel (which is important in our HPC envirement), so
what is the disadvantage?
Thanks again,
Bernd
--
Bernd Schubert
Q-Leap Networks GmbH
--
| Sep 5, 2:24 am 2008 |
| Andi Kleen | Re: frame unwinder patches
The initial version that was merged had a few teething problems because
it ran into tool chain bugs (which were quickly resolved). Unfortunately
it lead to a few people developing irrational fears of dwarf2 in the
process and it was reverted, annoying the original contributor.
Right now someone would just need to retry the submission I guess.
-Andi
--
ak@linux.intel.com
--
| Sep 5, 2:43 am 2008 |
| Arjan van de Ven | Re: frame unwinder patches
On Fri, 5 Sep 2008 16:48:52 +0200
to be honest, on 64 bit the overhead is quite small (the extra
instructions it adds are optimized for by the modern cpus that you use
in the systems you're selling); on 32 bit the overhead is.. well a
little bigger but not THAT much. yes it loses a register for the
compiler to use, but no it's not a general purpose register, and with
the register renaming that today's cpus do, I'd be surprised if you
could see anything significant.
--
If you want to ...
| Sep 5, 7:57 am 2008 |
| Arjan van de Ven | Re: frame unwinder patches
On Fri, 5 Sep 2008 15:52:47 +0200
they really wouldn't be different than the ones you get if you remove
the "?" lines.
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
| Sep 5, 7:13 am 2008 |
| Andrew Morton | Re: [PATCH] efifb/imacfb consolidation + hardware support
uh-oh.
On Thu, 04 Sep 2008 11:42:36 -0400
The patch was space-stuffed. I fixed that. Please see
Documentation/email-clients.txt to fix it.
Please send a Signed-off-by: for this change.
--
| Sep 4, 5:10 pm 2008 |
| Peter Jones | Re: [PATCH] efifb/imacfb consolidation + hardware support
I'll assume that in this response is fine:
Signed-off-by: Peter Jones <pjones@redhat.com>
--
Peter
--
| Sep 5, 7:05 am 2008 |
| Linus Torvalds | Re: [RFC patch 0/4] TSC calibration improvements
So theoretically, on real hardware, the minimum of 50 reads will take
100us. The 256 PTI cycles will take 214us, so in the absolute worst case,
you can have two consecutive successful cycles despite having a 228us SMI
(or other event) if it happens just in the middle.
Of course, then the actual _error_ on the TSC read will be just half that,
but since there are two TSC reads - one at the beginning and one at the
end - and if the errors of the two reads go in opposite directions, they ...
| Sep 5, 3:34 pm 2008 |
| Alok Kataria | Re: [RFC patch 0/4] TSC calibration improvements
Hi,
I ran the current tree with these patches on my VM setup for both 32 &
64bit around 200 reboots each.
The system entered the FAST calibration mode more often this time,
around 25% of time.
And i had an interesting case where in the frequency that was calibrated
was 1875Mhz compared to actual ~1866Mhz, leaving an error of 0.5%.
Now, looking at the code.
Even with this last pit_expect_msb check, i think there can be a case
when a error spanning 114usec can slip in the TSC calculation. ...
| Sep 5, 3:18 pm 2008 |
| Valdis.Kletnieks | Re: [PATCH 1/1] HID: fix tty<->hid deadlock
With this patch applied, the kernel behaves as expected for my config: it
requests a 'modprobe hid_dummy', which prints a nasty message about being
unable to find it on the initrd, and then we continue with the boot.
Thanks for the quick fix...
| Sep 4, 5:03 pm 2008 |
| Ingo Molnar | Re: [PATCH] x86: hpet: modify IXP400 quirk to enable int ...
applied to tip/timers/hpet - thanks Andreas!
Ingo
--
| Sep 5, 9:59 am 2008 |
| Andreas Herrmann | Re: [PATCH] Revert commit e8aa4667baf74dfd85fbaab8686146 ...
The current quirk is incomplete. Some more chipset fiddling has to be
done to enable HPET interrupts. I have a patch that would do this.
And from my tests it seems to work faultlessly.
But the official statement is that HPET is not supported on SB4XX.
Thus there are 2 alternatives:
(1) Remove the current (incomplete) quirk.
(2) Extent the quirk.
But whoever forces HPET would use it on his own risk.
I decided to do (1) because it's safest.
Other ...
| Sep 5, 5:42 am 2008 |
| Andreas Herrmann | [PATCH] x86: hpet: modify IXP400 quirk to enable interrupts
The current quirk is incomplete. Some more chipset fiddling has to be
done to enable HPET interrupts. This patch aims to do this. From my
tests it seems to work faultlessly.
But the official statement is that HPET is not supported on SB4X0.
Users will still have to use hpet=force to enable it.
Use it at your own risk.
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
---
arch/x86/kernel/quirks.c | 41 +++++++++++++++++++++++++++++++++++++++--
1 files changed, 39 ...
| Sep 5, 9:33 am 2008 |
| Thomas Gleixner | Re: [PATCH] Revert commit e8aa4667baf74dfd85fbaab8686146 ...
Yup, I prefer (2). It might help users. It still needs hpet=force on
the kernel command line. So it's a documented "you forced it" feature
with no guarantees.
I don't expect that the systems will explode, burn out or fall into
pieces when hpet is enabled. That would be a reason to go for (1) :)
Thanks,
tglx
--
| Sep 5, 7:03 am 2008 |
| Vivek Goyal | Re: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback
Hi Ingo,
Kdump notifier is registered on the die list, only after when we have
decided that system is no more runnable and it is time to die. So as long
as system is running, this notifier is not even present on the list and
does not compete for any of the NMI events.
But once the panic() has occurred, the only notifiers which probably
are interested in NMi events are kgdb and kdump? We probably don't want to
run any "instruction patching" callback or any profiling related ...
| Sep 5, 7:16 am 2008 |
| Andi Kleen | Re: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback
Your ordering makes sense. Someone just has to go through all
the users and fix them up I guess and also document it properly.
One thing to consider though: if there are more and more NMI drivers
it would make sense to have a new notifier chain just for this
(and also finally convert oprofile to use it too).
The problem with adding more and more into the die chain is that
die is executed on every exception, including quite performance
critical ones like page fault or int 3 (performance ...
| Sep 5, 7:18 am 2008 |
| Ingo Molnar | Re: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback
exactly. The proposed patch brings the NMI notifier arms race to its
next level: it is in essence a "super high priority" notifier that wants
exclusivity. That is unnecessary: we already have sufficient
infrastructure in place to recognize the priority of notifiers, and die
notifiers make active use of it. (see the list below)
If the goal is to log relevant NMI events to NVRAM for later inspection
then the solution is to register a low-priority notifier which will
execute if no other ...
| Sep 5, 1:57 am 2008 |
| Ingo Molnar | Re: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback
btw., while we are talking about watchdog design problems, the current
way the NMI timer watchdog oprofile fallback uses the die handler and
how it all interacts with the ioapic/lapic-timer NMI watchdog is
misdesigned as well. (this is used in the relatively rare but still
possible case where no primary oprofile handler is found and installed)
The i386 and x86_64 architecture code started using die notifiers for
the NMI timer watchdog oprofile code two years ago, via commit 2fbe7b25 ...
| Sep 5, 3:24 am 2008 |
| Ingo Molnar | Re: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback
if by 'any other drivers' you mean all other notifiers then that's wrong
- kdump must still come after many other NMI sources.
Basically, the sane order is this:
highest priority:
instruction patching callbacks. (kprobes, mmiotrace, kmemcheck) These
are abstractions that are essential for the kernel to properly
function/execute. We dont ever want them to be overriden.
high priority:
CPU-generated profiling callbacks. (nmi-lapic watchdog, performance
counter ...
| Sep 5, 2:33 am 2008 |
| Takashi Iwai | Re: warning on device removal
At Thu, 4 Sep 2008 14:36:48 +0200,
According to DMA-API.txt, dma_free_coherent() must be called with IRQ
Takashi
--
| Sep 4, 11:56 pm 2008 |
| Andi Kleen | Re: [PATCH] VM: Implements the swap-out page-clustering ...
Just some general comments:
First I think virtual swap clustering is a great idea in theory and
long overdue. Hopefully the numbers will agree.
In general the code would be much nicer if you didn't pass around
all that much in a structure (which is just a fancy way to have
a function with lots of arguments) Perhaps try to restructure
it a bit to make this smaller? Ideally clustering_info should disappear
or at least get much smaller.
Then continue_search seems to be only set to one ...
| Sep 5, 2:19 am 2008 |
| Hamid R. Jahanjou | Re: [PATCH] VM: Implements the swap-out page-clustering ...
Do you recommend any specific benchmarks for memory-related projects ?
Which
one did you use for your own implementation ?
Thank You
--
| Sep 5, 12:45 am 2008 |
| Andrew Morton | Re: [PATCH] VM: Implements the swap-out page-clustering ...
Pretty much any and all benchmarks, when there's not enough memory
(boot with mem=). Kernel compiles, database benchmarks, you name it.
Basically anything which has a measurable execution time is relevant.
Designing and running these things is a lot of work and thought. And
it's an integral part of the development process, because some things
are going to get slower and others will show large inter-run variations
and then one needs to get in there and find explanations and ...
| Sep 4, 11:58 pm 2008 |
| Hamid R. Jahanjou | Re: [PATCH] VM: Implements the swap-out page-clustering ...
Thanks for the review and the comments.
Do you consider the clustering_info struct to hurt the readability
The allocation order value is initially passed to the try_to_free_pages()
in __alloc_pages_internal() and its value can be well more than zero.
The clustering code adjusts the cluster size to the value of the allocation
order (in a non-linear fashion of course). In this sense the cluster
size is
not determined at compile time, but the parameters affecting it are.
Perhaps the term ...
| Sep 5, 1:27 pm 2008 |
| Andi Kleen | Re: [PATCH] VM: Implements the swap-out page-clustering ...
It's a fancy way to have a function with lots of arguments
and having lots of arguments is typically a sign for a poor code
structure, with functions not being properly separated.
I know the standard scanner does it too, but it's also somewhat
poor there and especially there's no excuse for doing it in much
Yes, but that has nothing to do in how much you should swap cluster.
AFAIK the main motivation for swap clustering is to avoid the extreme
seekiness that happens during swap in (that ...
| Sep 5, 12:45 pm 2008 |
| Pierre Ossman | Re: mmc/card/block.c : mmc_blk_open readonly mount bug?
On Thu, 4 Sep 2008 16:08:08 -0700
I wonder how that bug has been able to go unnoticed for so long...
Acked-by: Pierre Ossman <drzeus@drzeus.cx>
--=20
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
| Sep 4, 10:06 pm 2008 |
| David Woodhouse | Re: linux-next: Tree for September 4
Fixed in ~dwmw2/random-2.6.git. Thanks.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
| Sep 4, 5:07 pm 2008 |
| Randy Dunlap | Re: linux-next: Tree for September 4 (PATCH: IXGBE)
From: Randy Dunlap <randy.dunlap@oracle.com>
ixgbe needs to be restricted to the same build config (m/y)
as DCA since it calls the dca_*() functions.
ixgbe_main.c:(.text+0xd9c09): undefined reference to `dca3_get_tag'
ixgbe_main.c:(.text+0xd9cc9): undefined reference to `dca3_get_tag'
ixgbe_main.c:(.text+0xda5c1): undefined reference to `dca_add_requester'
ixgbe_main.c:(.text+0xda5d6): undefined reference to `dca_remove_requester'
text+0xdc162): undefined reference to ...
| Sep 4, 8:41 pm 2008 |
| Andrew Morton | Re: linux-next: Tree for September 4
The infamous Vaio hasn't finished catching up with you guys yet.
Something in linux-next broke suspend-to-RAM.
An `echo mem > /sys/power/state' causes "Freezing of tasks failed after
20.00 seconds (1 tasks refusing to freeze):"
dmesg: http://userweb.kernel.org/~akpm/dmesg-sony-suspend.txt
config: http://userweb.kernel.org/~akpm/config-sony.txt
This only happens after the X server has been started.
Mainline is OK.
--
| Sep 4, 9:44 pm 2008 |
| Takashi Iwai | Re: linux-next: Tree for September 4 (PATCH: SND_USB)
At Thu, 4 Sep 2008 20:28:13 -0700,
Thanks, applied now.
--
| Sep 4, 11:10 pm 2008 |
| Randy Dunlap | Re: linux-next: Tree for September 4 (PATCH: SND_USB)
From: Randy Dunlap <randy.dunlap@oracle.com>
CONFIG_SND_USB_US122L uses snd_hwdep_new(), so SND_HWDEP needs
to be enabled (selected).
ERROR: "snd_hwdep_new" [sound/usb/usx2y/snd-usb-us122l.ko] undefined!
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
sound/usb/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20080904.orig/sound/usb/Kconfig
+++ linux-next-20080904/sound/usb/Kconfig
@@ -70,6 +70,7 @@ config SND_USB_CAIAQ_INPUT
config SND_USB_US122L
...
| Sep 4, 8:28 pm 2008 |
| Brandeburg, Jesse | RE: [E1000-devel] linux-next: Tree for September 4 (PATC ...
Thanks Randy for catching that, you're correct.
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
--
| Sep 5, 9:38 am 2008 |
| Brandeburg, Jesse | RE: [E1000-devel] linux-next: Tree for September 4 (PATC ...
Looks like you set IXGBE=3Dy and CONFIG_DCA=3Dm. This depends DCA =
option is
not so great because if INTEL_IOATDMA is disabled (and therefore DCA is
disabled) then ixgbe won't show up as an option.
How about this instead, use a select INTEL_IOATDMA:
inline is whitespace busted, sorry. attached is the patch.
| Sep 5, 4:47 pm 2008 |
| Andrew Morton | Re: linux-next: Tree for September 4
(gdb) x/60i getnstimeofday
0xc0135d63 <getnstimeofday>: push %ebp
0xc0135d64 <getnstimeofday+1>: mov %esp,%ebp
0xc0135d66 <getnstimeofday+3>: push %edi
0xc0135d67 <getnstimeofday+4>: push %esi
0xc0135d68 <getnstimeofday+5>: push %ebx
0xc0135d69 <getnstimeofday+6>: sub $0x8,%esp
0xc0135d6c <getnstimeofday+9>: mov %eax,0xffffffec(%ebp)
0xc0135d6f <getnstimeofday+12>: mov 0xc045a2c0,%eax
0xc0135d74 <getnstimeofday+17>: mov %eax,0xfffffff0(%ebp)
0xc0135d77 ...
| Sep 5, 11:30 am 2008 |
| Rafael J. Wysocki | Re: linux-next: Tree for September 4
According to your dmesg the process that refused to freeze was
hald-addon-stor
which got stuck in ... getnstimeofday (???) (can you check what
source code corresponds to getnstimeofday+0x37/0xbc pls?):
hald-addon-st D 00000046 0 2322 2282
f4de5b74 00000046 f4de5b54 00000046 f4de5b5c c0135f56 f6b96e44 f4deaf40
f4deb0bc f5580948 f4de5bb0 f4de5b6c c013336e f6aa77c8 f6aa77c8 f6aa77a0
f4de5bb0 f4de5b7c c0331f09 f4de5bd0 c01f4205 00000000 00000000 00000000
Call ...
| Sep 5, 3:56 am 2008 |
| Lin Ming | Re: oltp ~10% regression with 2.6.27-rc5 on stoakley machine
It does not help after these 4 patches applied.
Gregory Haskins (4):
sched: make task_hot() once again use sd->cache_hot_time
Revert "sched: zap the migration init / cache-hot balancing code"
Revert "[PATCH] sched: remove cache_hot_time"
revert "sched: sched_cacheflush is now unused"
--
| Sep 4, 6:26 pm 2008 |
| Francis Moreau | Re: qestion about I2C_CLASS_HWMON flag
Ah OK I see now.
On v2.6.23 i2c-gpio.c had no I2C_CLASS_HWMON flag set and
had no way to pass this info from platform board.
But on v2.6.27 it is now set whatever the platforms.
Wouldn't it have been better to allow the platform code to pass this type
information through the 'i2c_gpio_platform_data' structure for example ?
Thanks Jean !
--
Francis
--
| Sep 5, 6:38 am 2008 |
| Jean Delvare | Re: qestion about I2C_CLASS_HWMON flag
Nothing prevents you from setting the class flags based on
platform-specific information if you have a need for that.
That being said, in cases where you have that level of information
about which devices are present on the I2C bus, you probably want to
declare the I2C devices at the platform level, and not rely on probing
at all (so .class is 0).
--
Jean Delvare
--
| Sep 5, 2:20 am 2008 |
| Francis Moreau | Re: qestion about I2C_CLASS_HWMON flag
do you mean by using I2C_BOARD_INFO ?
Thanks
--
Francis
--
| Sep 5, 5:44 am 2008 |
| Jean Delvare | Re: qestion about I2C_CLASS_HWMON flag
If you have a need for that, sure. If you don't, that's making the code
more complex for no good reason.
I expect I2C_CLASS_HWMON to be removed from that driver soon. Now that
almost all hwmon drivers have been converted to support instantiated
I2C devices, and given that all users of i2c-gpio are embedded
architectures with platform code, it should be no longer needed. But
again I am leaving it to whoever is actually using this driver to
decide what is best for them.
--
Jean Delvare
--
| Sep 5, 6:49 am 2008 |
| Jean Delvare | Re: qestion about I2C_CLASS_HWMON flag
It's not about hacking, it can be done cleanly. Just have the adapter
driver code check for information in the platform data, and if class
information is provided, use that instead of the default value. Or if
all users will provide the information, don't even have a default in
the driver. Again, the class flags are a (needed) mechanism, the policy
Exactly. Except on powerpc where they have a different mechanism, I
think.
--
Jean Delvare
--
| Sep 5, 6:11 am 2008 |
| Francis Moreau | Re: qestion about I2C_CLASS_HWMON flag
Good morning Jean,
OK but which devices that can be connected to an I2C bus is platform specific,
isn't it ? For example, an I2C adapter can be used in a TV and in that
case there
may be no point to probe for a HW mon chips but this same I2C adapter can be
used by other platforms in a different context where there's a HW mon chip.
So the flags probably are useful, but they're are hard coded in adapters...
Sorry if I'm still missing something.
--
Francis
--
| Sep 5, 1:57 am 2008 |
| Francis Moreau | Re: qestion about I2C_CLASS_HWMON flag
OK, thanks a lot for the clarifications
--
Francis
--
| Sep 5, 7:44 am 2008 |
| Alin Jula | Re: sigaction with SA_SIGINFO does not pass the correct ...
Thanks for the pointers, Mikael. I appreciate it.
Alin
--
| Sep 5, 1:49 pm 2008 |
| Paul Gortmaker | Re: [PATCH] ne.c fix for hibernate and rmmod oops fix
Hi David,
I think there are some things that should be done here still.
Generally speaking, this is an old driver for hardware that most of
us will never see again, so the concern is that any changes may
break some existing configurations we can't easily test. In light
of that, the change footprint should be minimized and/or be
bisectable wherever possible.
For example, if I'm reading it correctly, you've changed the module
behaviour so that on module load an autoprobe takes place, ...
| Sep 5, 1:01 am 2008 |
| Andi Kleen | Re: [patch] Add basic sanity checks to the syscall execu ...
First as a minor pedantic correction (sorry!): the ro syscall table is not
fully free. It means you cannot use 2MB pages anymore to map it, which costs
One way to do that today is to feed gcc random data for profile feedback.
Game copy protections have been playing similar games for decades. While
I'm sure it was endless fun for both sides afaik the crackers tended to
ultimatively win. And all of these things also make the kernel more
fragile which is not good. Likely a case of "the only ...
| Sep 5, 5:01 am 2008 |
| Ingo Molnar | Re: [patch] Add basic sanity checks to the syscall execu ...
at which point we are left with a change that has no relevance to
updated rootkits (they circumvent it just fine), while the kernel
syscall entry path is left with 2 cycles (or more) overhead, forever.
Not a good deal.
We introduced the read-only syscall table because it has debugging and
robustness advantages, with near zero cost. This change is not zero cost
- it's ~1% of our null syscall latency. (which is ~100 nsecs, the cost
of this check is ~1 nsec)
The other, more ...
| Sep 5, 4:42 am 2008 |
| Ingo Molnar | Re: [patch] Add basic sanity checks to the syscall execu ...
i think Linux is fundamentally different here as we have the source
and every box where it matters we could have a _per box_ randomized
kernel image in essence, with non-essential symbols thrown away, and
with a few checks inserted in random locations - inlined and in essence
unrecognizable from the general entropy of randomization.
Not that a randomizing compiler which inserts true, hard to eliminate
entropy would be easy to implement. But once done, the cat and mouse
game is over ...
| Sep 5, 8:42 am 2008 |
| Benjamin Herrenschmidt | Re: [patch] Add basic sanity checks to the syscall execu ...
Well, I see it a different way ... it will once for all screw up
binary modules that try to add syscalls :-)
Ben.
--
| Sep 5, 3:14 am 2008 |
| Andi Kleen | Re: [patch] Add basic sanity checks to the syscall execu ...
It depends on where the userland runs. e.g. if it's under a hypervisor
and in a separate domain it should be reasonably safe.
And then I don't think it is much difference between Ingo's kernel
checker and a user land checker. Both can be disabled it you know
about them.
-Andi
--
ak@linux.intel.com
--
| Sep 5, 1:48 pm 2008 |
| pageexec | Re: [patch] Add basic sanity checks to the syscall execu ...
there's that adage about history being repeated by those not knowing it ;)
for details see the series based around bypassing Vista's PatchGuard at:
http://uninformed.org/?v=3
http://uninformed.org/?v=6
i believe the above mentioned papers prove that it's not a good benchmark ;)
--
| Sep 5, 5:00 am 2008 |
| Benjamin Herrenschmidt | Re: [patch] Add basic sanity checks to the syscall execu ...
Sure, they can :-)
It's just an idea I had on irc but I tend to agree that it wouldn't have
much effect in practice... regarding security, it will break some
existing rootkits ... until updated ones show up.
Cheers,
Ben.
--
| Sep 5, 3:57 am 2008 |
| Arjan van de Ven | Re: [patch] Add basic sanity checks to the syscall execu ...
On Fri, 05 Sep 2008 11:43:31 +0200
so I'm not going to say that the patch is important or good;
it's the result of ben mentioning the idea on irc and me thinking "sure
lets see what it would take and cost".
Nothing more than that
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
| Sep 5, 9:05 am 2008 |
| pageexec | Re: [patch] Add basic sanity checks to the syscall execu ...
and that'd be because at the same time they patch the syscall table (remember,
they already have to go to length to get around the read-only pages), they
can't also patch this 'protection'? sounds really plausible, right :).
[fixed hpa's address, .org bounces.]
--
| Sep 5, 3:49 am 2008 |
| pageexec | Re: [patch] Add basic sanity checks to the syscall execu ...
how trivial do you think it is for *kernel* code to evade *userland*
checking it? ;) otherwise agreed with rest.
--
| Sep 5, 12:42 pm 2008 |
| pageexec | Re: [patch] Add basic sanity checks to the syscall execu ...
how's that supposed to work for the binary distros, i.e., the majority of
why do you assume that an attacker wants to do that? it's equally possible,
and there's even academic research on this in addition to the underground
cracking scene, that one simply hides the modifications from the checker.
from marking your patched code as unreadable to executing it from a different
place than what the checker checks, there're many ways to trick such checkers.
as far as reality goes, it's never been ...
| Sep 5, 9:23 am 2008 |
| Andi Kleen | Re: [patch] Add basic sanity checks to the syscall execu ...
First such checkers already exist -- they are called root kit checkers.
There are various around.
Doing it in a hypervisor implicitely like Alan proposed would seem much
The issue is that a lot of non key data structures all over the memory
have function pointers (or pointers to function pointers) too.
So if you protect syscall table they are just going to patch some dentry
instead. Still if it's reasonable clean it might be still useful to
raise the bar a bit, but I'm not sure a checker ...
| Sep 5, 10:26 am 2008 |
| Ingo Molnar | Re: [patch] Add basic sanity checks to the syscall execu ...
it takes less than 10 minutes to build a full kernel on recent hardware.
yes, in this area debuggability is in straight conflict. Since we can
assume that both attacker and owner has about the same level of access
to the system, making the kernel less accessible to an attacker makes it
well at least in the case of Linux we have a fairly good tally of what
kernel code is supposed to be executable at some given moment after
bootup, and can lock that list down permanently until the next ...
| Sep 5, 9:52 am 2008 |
| pageexec | Re: [patch] Add basic sanity checks to the syscall execu ...
consider how your whole patch is based on one big self-contradiction.
you already assume that the attacker *can* modify arbitrary kernel memory
(even the otherwise *read-only* syscall table at that), but at the very
same time you're saying he *can't* use the same powers to patch out your
'protection' or do many other things to evade it. as it is, it's cargo cult
security at its best, reminding one on the Vista kernel's similar 'protection'
mechanism for the service descriptor tables...
--
| Sep 5, 2:43 am 2008 |
| Willy Tarreau | Re: [patch] Add basic sanity checks to the syscall execu ...
Then they will simply proceed like this :
- patch /boot/vmlinuz
- sync
- crash system
=> user says "oh crap" and presses the reset button. Patched kernel boots.
Game over. Patching vmlinuz for known targetted distros is even easier
because the attacker just has to embed binary changes for the most
common distro kernels.
Clearly all this is a waste of developer time, CPU cycles, memory,
reliability and debugging time. All that time would be more efficiently
spent ...
| Sep 5, 1:41 pm 2008 |
| pageexec | Re: [patch] Add basic sanity checks to the syscall execu ...
provided the end user wants/needs to have the whole toolchain on his boxes
it's not only installation time (if you meant 'installing the box' itself),
in other words, it's a permanently unsolved problem ;). somehow i don't see
Red Hat selling RHEL for production boxes with the tag 'we do not debug crashes
so no module support? what about kprobes and/or whatever else that generates
so good-bye to large page support for kernel code? else there's likely
enough unused space left in the large ...
| Sep 5, 12:37 pm 2008 |
| Jesse Barnes | Re: [patch 1/5] x2apic: fix reserved APIC register acces ...
Nope, no problems. I think I have some pending patches that may have
conflicts with the above, but I'll take care of that when I get back to the
US (I think Sunday or Monday will be a massive patch review/merge/comment
day).
Thanks,
Jesse
--
| Sep 5, 2:18 am 2008 |
| Ingo Molnar | Re: [patch 1/5] x2apic: fix reserved APIC register acces ...
normally yes - but this is a special case: there's existing overlap with
other DMAR changes in irq/sparseirq (intr-remap and ioapic unification
changes), so these followups have to go there too. Also, since they
change the generic PCI code it's better they live in a generic topic to
begin with. The full stack of pending changes is:
0f48966: dmar: fix dmar_parse_dev() devices_cnt error condition check
2283240: dmar: use list_for_each_entry_safe() in dmar_dev_scope_init()
3f1fdb3: dmar: ...
| Sep 5, 1:10 am 2008 |
| Peter Zijlstra | Re: [PATCH] Return value from schedule()
Gah, not another yield in the network code we have to figure out wtf its
meant to do.
--
| Sep 5, 12:40 am 2008 |
| Ilya Yanok | Re: [PATCH] ASYNC_TX: fix the bug in async_tx_run_dependencies
Excuse me for being inattentive.
Regards, Ilya.
--
| Sep 5, 2:15 am 2008 |
| Ilya Yanok | Re: [PATCH] ASYNC_TX: fix the bug in async_tx_run_dependencies
Dear Wolfgang,
this patch is already applied (d2029eba in linux-2.6-denx repo) I just
sent it upstream.
Regards, Ilya.
--
| Sep 5, 6:16 am 2008 |
| Ilya Yanok | Re: [PATCH] ASYNC_TX: fix the bug in async_tx_run_dependencies
Hello,
Look good for me. Hmm, actually I don't think that current version is so
hard to read...
I don't like 'return' inside 'else'.
Regards, Ilya.
--
| Sep 5, 3:17 am 2008 |
| Wolfgang Denk | Re: [PATCH] ASYNC_TX: fix the bug in async_tx_run_dependencies
Dear Ilya &Yrui,
What about this patch? SHould it be applied to our repository?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The use of Microsoft crippleware systems is a sin that carries with
it its own punishment.
-- Tom Christiansen in <6bo3fr$pj8$5@csnews.cs.colorado.edu>
--
| Sep 5, 6:06 am 2008 |
| Dan Williams | Re: [PATCH] ASYNC_TX: fix the bug in async_tx_run_dependencies
Please also take a look at this cleanup patch that I will queue for
.28. I think it makes things easier to read let me know if you
disagree.
---gmail mangled patch follows--->
async_tx: make async_tx_run_dependencies() easier to read
From: Dan Williams <dan.j.williams@intel.com>
* Rename 'next' to 'dep'
* Move the channel switch check inside the loop to simplify
termination
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
crypto/async_tx/async_tx.c | 36 ...
| Sep 4, 5:03 pm 2008 |
| Bartlomiej Zolnierki ... | Re: [PATCH 3/4] ide: Implement disk shock protection support
Hi,
<linux/ide.h> it is not exported to user-space at all so introducing
What it is the point of 'q->rq.count[READ] + q->rq.count[WRITE] <= 1'
Since Tejun already raised concerns about multiplexing per-device
and per-port settings I'm not repeating them here. Please just
No need to use ide_devset_execute() - ide_setting_mtx already provides
the needed protection.
Thanks,
Bart
--
| Sep 5, 10:33 am 2008 |
| Willy Tarreau | Re: [PATCH] ncurses based config V2
Hello,
OK, I've just tried it. Here are the first comments I can make :
- colors are too dark. Cyan on black is barely readable, red on black is
almost unreadable and blue on black is not readable at all, I have to
switch off the light to read it. Most often you'll see light shades of
grey (even white) in interfaces because it's hard to see dark shades,
and bright flashy letters would dazzle and be seen as fuzzy. Many colors
are perfectly readable on while or even ...
| Sep 5, 12:59 pm 2008 |
| Nir Tzachar | [PATCH] ncurses based config V2
Changes:
1) Fixed segfaults in help window.
2) Removed the instructions window, made the instructions appear as a button
which displays a popup window.
3) Added hot keys support. As ncurses does not support several colors inside
a menu, keys are highlighted using "()".
4) Optimized for 80x24 terminals.
6) Fixed zconf.y to use _menu_init
7) added nconfig to "make help"
8) Misc fixes.
Comments are appreciated.
Cheers.
---
scripts/kconfig/Makefile | 17 +-
...
| Sep 5, 1:27 am 2008 |
| Alejandro Riveira | Re: [PATCH] ncurses based config V2
El Fri, 5 Sep 2008 11:27:00 +0300
--
| Sep 5, 6:49 am 2008 |
| KOSAKI Motohiro | Re: [PATCH 2/4] pull out zone cpuset and watermark check ...
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
--
| Sep 4, 6:52 pm 2008 |
| KOSAKI Motohiro | Re: [PATCH 4/4] capture pages freed during direct reclai ...
Ok. makes sense.
Thanks for good patch.
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
--
| Sep 4, 6:52 pm 2008 |
| KOSAKI Motohiro | Re: [PATCH 3/4] buddy: explicitly identify buddy field u ...
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
--
| Sep 4, 6:52 pm 2008 |
| KOSAKI Motohiro | Re: [PATCH 1/4] pull out the page pre-release and sanity ...
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
--
| Sep 4, 6:52 pm 2008 |
| Ingo Molnar | Re: [PATH] Fix compilation when CONFIG_TRACE_IRQFLAGS_SU ...
i've applied the fix below to tip/core/locking - but would be nice if
the UML folks had a comment as well.
Ingo
From 8c56250f48347750c82ab18d98d647dcf99ca674 Mon Sep 17 00:00:00 2001
From: Rui Sousa <rui.p.m.sousa@gmail.com>
Date: Thu, 4 Sep 2008 19:47:53 +0200
Subject: [PATCH] lockdep, UML: fix compilation when CONFIG_TRACE_IRQFLAGS_SUPPORT is not set
With the patch bellow it compiles (make ARCH=um with a x86 host), but I'm
really out of my league on this one...
Reported-by: ...
| Sep 5, 3:57 am 2008 |
| Ingo Molnar | Re: [PATCH] lockstat: documentation update
applied the commit below to tip/core/locking, thanks!
Ingo
------------->
From cdad72207d164569cb4bf647eb824a7f93e8d388 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Wed, 3 Sep 2008 16:00:57 +0200
Subject: [PATCH] lockstat: documentation update
Christoph noted that the documentation doesn't tell in what unit the
lockstat times are reported, ammend this.
Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Peter Zijlstra ...
| Sep 5, 1:12 am 2008 |
| Ingo Molnar | Re: [PATCH 0/3] Fix Xen cpu hotplug build
fails to build with this config:
http://redhat.com/~mingo/misc/config-Fri_Sep__5_18_51_13_CEST_2008.bad
arch/x86/xen/built-in.o: In function `xen_play_dead':
(.text+0x576a): undefined reference to `play_dead_common'
arch/x86/xen/built-in.o: In function `xen_cpu_disable':
(.text+0x57b1): undefined reference to `cpu_disable_common'
Ingo
--
| Sep 5, 9:53 am 2008 |
| Ingo Molnar | Re: [PATCH 0/3] Fix Xen cpu hotplug build
applied to tip/x86/xen, thanks Alex!
Ingo
--
| Sep 5, 8:45 am 2008 |
| Ingo Molnar | Re: [PATCH] x86/paravirt: Remove duplicate paravirt_page ...
applied to tip/x86/paravirt - thanks.
Ingo
--
| Sep 5, 8:46 am 2008 |
| Arjan van de Ven | Re: linux-next: Tree for September 3
On Thu, 4 Sep 2008 16:17:01 -0700 (PDT)
btw if the oops was on lkml like it was here you can also just look it
up on kerneloops.org via the search option
which for this case finds you
http://www.kerneloops.org/raw.php?rawid=59347&msgid=http://mid.gmane.org/200809041...
and this has the decodecode already done
and the search output at
http://www.kerneloops.org/search.php?search=get_next_timer_interrupt
shows that there's only been very few reports ...
| Sep 4, 10:39 pm 2008 |
| Andrew Morton | Re: linux-next: Tree for September 3
It was a once-off.
--
| Sep 5, 10:49 am 2008 |
| Ingo Molnar | Re: linux-next: Tree for September 3
i guess CONFIG_DEBUG_OBJECTS_TIMERS=y is practical, and
CONFIG_DEBUG_LIST=y would be nice as well - it can catch memory
corruptions rather early and is relatively light-weight.
[ and if there's any reproducability of the corruption and if it happens
at a stable kernel address then a small custom hack in ftrace can
catch it the moment it happens. ]
Ingo
--
| Sep 5, 4:04 am 2008 |
| Jeremy Fitzhardinge | Re: [x86] fs, gs purpose & multicore prog
They both use the opposite from what their respective usermodes use for
thread local storage, since there may be a slight performance advantage
to doing so (at least on 32-bit). 32-bit's use of %gs for usermode TLS
is old and arbitrary, probably predating x86-64 (at least its wide
availability). The use of %gs for kernel per-cpu data is architectural
on 64-bit, because of the "swapgs" instruction; there's no "swapfs"
They don't exist in 64-bit. The GDT contains them, but they're not
Yes, ...
| Sep 5, 7:51 am 2008 |
| Eric Lacombe | Re: [x86] fs, gs purpose & multicore prog
Hi,
Thanks for your answers. I've some new questions now ;)
So, %gs is not used in 32-bit kernel and %fs is not used in 64-bit kernel. Is
Ok, I just saw that a 64-bit base in segment descriptor is only available for
Ok, but how does the kernel technically run tasks on different processor (or
core)? My question was ambiguous, I was not assuming that I knew how
multiprocessor works.
Thanks again.
--
| Sep 5, 4:17 am 2008 |
| Eric Lacombe | Re: [x86] fs, gs purpose & multicore prog
Thanks again ;)
I know these things ;) but what I wanted to know is the "x86 architectural
details". In fact, I saw that during the machine init the BIOS select a cpu on
the bus to be the BSP (bootstrap proc). The others are then the APs (Appli
proc). Then the kernel runs on the BSP. What I wonder is how the kernel gives
execution flow to the APs.
Thanks.
--
| Sep 5, 4:09 pm 2008 |
| Wei Ni | RE: [alsa-devel] [PATCH] add the nvidia HDMI codec drive ...
Thanks for your reply, I will generate the pach based on the latest
sound git tree.
Wei
-----Original Message-----
From: Takashi Iwai [mailto:tiwai@suse.de]
Sent: Thursday, September 04, 2008 3:04 PM
To: Pavel Hofman
Cc: Wei Ni; Peer Chen; alsa-devel; linux-kernel; akpm
Subject: Re: [alsa-devel] [PATCH] add the nvidia HDMI codec driver for
MCP77/79
At Wed, 03 Sep 2008 14:11:16 +0200,
I changed that code yesterday with a little bit more comment.
Wei, Peer, could you regenerate the ...
| Sep 5, 1:28 am 2008 |
| Paul Menage | Re: [PATCH -v2] cpuset: avoid changing cpuset's cpus whe ...
Acked-by: Paul Menage <menage@google.com>
Thanks.
--
| Sep 5, 4:24 pm 2008 |
| Li Zefan | [PATCH -v2] cpuset: avoid changing cpuset's cpus when -e ...
After the patch:
commit 0b2f630a28d53b5a2082a5275bc3334b10373508
Author: Miao Xie <miaox@cn.fujitsu.com>
Date: Fri Jul 25 01:47:21 2008 -0700
cpusets: restructure the function update_cpumask() and update_nodemask()
It might happen that 'echo 0 > /cpuset/sub/cpus' returned failure but 'cpus'
has been changed, because cpus was changed before calling heap_init() which
may return -ENOMEM.
This patch restores the orginal behavior.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
...
| Sep 4, 8:42 pm 2008 |
| Riccardo | Re: [patch 2/8] m68k: Reverse platform MMU logic so Sun ...
Indeed, poor IIfx, mine is a dedicated linux box, meaning that the mac
partition is only used to boot linux, still the about 50-60 K/s you get
from the HD scare you away. Still I have hopes in the 2.6 kernels
Ric
--
| Sep 5, 10:36 am 2008 |
| Riccardo | Re: [patch 2/8] m68k: Reverse platform MMU logic so Sun ...
Hi,
well, I have mac and the bet kernel is still the 2.2 on my Q950.
I've been looking for an Apollo here in Italy, but they appear to be
rare beasts.
Riccardo
--
| Sep 5, 10:34 am 2008 |
| Ingo Molnar | Re: [patch 1/2] x2apic: fix reserved APIC register acces ...
hm, is the remote read debug output, now that it's not present in CPUs
made in the past 5 years or so, really that important?
Ingo
--
| Sep 5, 9:04 am 2008 |
| Maciej W. Rozycki | Re: [patch 1/2] x2apic: fix reserved APIC register acces ...
Maybe, maybe not, but if included it should be done correctly or
otherwise anotated why done differently. Otherwise people may get
confused and propagate incorrect information as not everybody is inclined
to chase and cross-refer the relevant piece of documentation for each and
every bit of code fiddling with hardware. In fact the requirement to do
so reduces trust in code it applies to and makes long-term maintenance a
nightmare.
This observation applies universally of course. I tend to ...
| Sep 5, 2:02 pm 2008 |
| Jean Delvare | Re: [PATCH] Fix section for probe and remove function fo ...
Hi Uwe,
Note: patches to i2c bus drivers are better sent to the i2c mailing
list (Cc'd.)
Looks good, patch applied. Thanks for your contribution.
--
Jean Delvare
--
| Sep 5, 7:38 am 2008 |
| Peter Zijlstra | Re: [PATCH] Fixing section mismatch warning .
then, shouldn't it be __cpuinit ?
BTW - would've been nice to see sched mentioned in the topic.
--
| Sep 5, 10:18 am 2008 |
| Bill Davidsen | Re: [v4l-dvb-maintainer] [PULL] http://linuxtv.org/hg/~m ...
That's always a problem with humans in the loop. I very much agree that
one line or three is far safer against a hasty line insertion than only two.
In my own code I write one if it fits, three if it doesn't. Being easy
--
Bill Davidsen <davidsen@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
--
| Sep 5, 2:02 pm 2008 |
| Ingo Molnar | Re: x86: add northbridge detection for AMD family 0x11 cpus
applied to tip/x86/iommu, thanks Joerg.
Ingo
--
| Sep 5, 10:12 am 2008 |
| Ingo Molnar | Re: Please #include <limits.h> in hackbench.c
done, thx.
Ingo
--
| Sep 5, 10:13 am 2008 |
| Ingo Molnar | Re: [PATCH] x86/oprofile: fix duplicate function declarations
oops, thanks - i fixed up tip/auto-oprofile-next.
Ingo
--
| Sep 5, 10:51 am 2008 |
| Daniel Barkalow | Re: Lenovo 3000 N100 i8042 problems
Can I blame my keyboard? No, probably not, I sent that with the keyboard
working. In any case, now it's attached for real.
-Daniel
*This .sig left intentionally blank*
| Sep 4, 8:27 pm 2008 |
| Daniel Barkalow | Re: Lenovo 3000 N100 i8042 problems
Attached. This has me typing some unimportant stuff, and then it sticks,
then I plug in a USB keyboard, then I tried unbinding the i8042 and
binding it again; the audio stuttered briefly, and recovered, and I did it
again, and then saved this log.
-Daniel
*This .sig left intentionally blank*
--
| Sep 4, 5:05 pm 2008 |
| Dmitry Torokhov | Re: Lenovo 3000 N100 i8042 problems
That is untruth :))
--
Dmitry
--
| Sep 4, 5:46 pm 2008 |
| David Woodhouse | Re: [PATCH] Blacklist DMAR on Intel G31/G33 chipsets
No, the intel-iommu code is isn't PCI-enumerated -- it all depends on
that ACPI table, unfortunately. That's why we're have this problem in
the first place and why I'm left with a dead board; apparently they
still drag crack-smoking hobos in off the street to write BIOSes, and
we're trusting more and more of our system to this crap every day.
I'm perfectly happy to go back to my original DMI-based version though.
Here it is...
Subject: Blacklist DMAR on Intel G31/G33 chipsets
Some ...
| Sep 5, 11:47 am 2008 |
| Ingo Molnar | Re: [PATCH] Blacklist DMAR on Intel G31/G33 chipsets
ok - fixing this makes sense. I have two worries about this patch.
Firstly, the quirk is keyed off an ACPI capability which is quite bad if
someone boots with ACPI off. (which is still quite possible) The DMAR is
PCI enumerated so there's nothing inherently ACPI about this. A DMI
quirk (which will work even if ACPI is disabled) looks more robust.
Secondly, keying off the PCI ID and assuming a BIOS bug based on the
presence of an ACPI table can indeed get incoherent results as you ...
| Sep 5, 11:34 am 2008 |
| steve | Re: [PATCH] fs/gfs2: Use an IS_ERR test rather than a NU ...
Hi,
Sorry for taking so long about this. Its now in the -nmw git tree.
Thanks,
Steve.
--
| Sep 5, 7:13 am 2008 |
| Yinghai Lu | Re: [PATCH] x86: split e820 reserved entries record to l ...
wonder if need to put
x86: split e820 reserved entries record to late v4
IO resources: add reserve_region_with_split()
x86: split e820 reserved entries record to late, v7
into 2.6.27 for fix hang on David's system.
YH
--
| Sep 5, 1:52 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: split e820 reserved entries record to l ...
too late i think. It hung on v2.6.26 too, right? So v2.6.28 would be
more appropriate, and linux-next or tip/msater can be used as a
practical kernel in the meanwhile.
Ingo
--
| Sep 5, 4:45 am 2008 |
| Mark Lord | Re: Regression in 2.6.27 caused by commit bfc0f59
..
Not to mention that we still have the unsolved regression from when HPET
support first went in (2.6.2[01] timeframe), where machines randomly lock up
at "Switching to HPET" time during boot. Depending upon kernel .config,
phase of the moon, and apparently SMM events.
Hopefully this will finally get fixed with this work?
Cheers
--
| Sep 5, 6:45 am 2008 |
| H. Peter Anvin | Re: [BUG] x86 kenel won't boot under Virtual PC
There is already a fix for this based on a first-principles test in tip.
-hpa
--
| Sep 5, 1:06 pm 2008 |
| Linus Torvalds | Re: [BUG] x86 kenel won't boot under Virtual PC
Hmm.. I'm not a huge fan of the ASM_NOP mess, but you also disable it for
64-bit x86 too.
On 32-bit, at least the generic nops are fairly reasonable, but the
default nops for 64-bit really look pretty sad, and the P6 nops really do
look better.
So I would suggest perhaps moving the static P6 nop selection into the
CONFIG_X86_64 thing.
The alternative is to just get rid of that static nop selection, and just
have two cases: 32-bit and 64-bit, and just pick obviously safe cases ...
| Sep 5, 9:30 am 2008 |
| Ingo Molnar | Re: [BUG] x86 kenel won't boot under Virtual PC
yes - we had 3-4 tries already and while it looked worthwile initially
it's clearly not showing signs of getting more robust and whatever
benefits there might be slightly better NOPs is dwarved by all these
robustness problems. Peter?
Ingo
--
| Sep 5, 11:43 am 2008 |
| Jan Beulich | Re: [BUG] x86 kenel won't boot under Virtual PC
I disagree here: If I configure a 686+ kernel, I expect these NOPs to be
that way (and to work). If you want to run on something that's not
compliant, you just shouldn't configure your kernel that way.
Jan
--
| Sep 5, 9:15 am 2008 |
| David Sanders | Re: [BUG] x86 kenel won't boot under Virtual PC
31 Aug 2008, David Sanders wrote:
Sorry about the confusion. I was just learning git and applied a couple
patches wrong that lead me to believe I had not found the answer, when in
fact I had. The problem is the multibyte NOP instructions introduced into
the kernel in 2007. For 2.6.24-rc1 reverting the patch (32c464f5) corrects
the problem. But then of course we cannot use these instructions as we would
like. I propose the following patch which adds a boot-time parameter to not
use ...
| Sep 5, 8:38 am 2008 |
| H. Peter Anvin | Re: [BUG] x86 kenel won't boot under Virtual PC
Okay, we do not generate P6 NOPs statically if CONFIG_X86_GENERIC_CPU is
enabled -- unless, of course gcc/binutils generates them, which they now
do for certain CPU types. If you are selecting a specific CPU *and* you
don't select GENERIC, you should get valid code for the selected CPU only.
As far as using them dynamically, there is code in -tip that determines
dynamically and explicitly if the long NOPs are available, and only uses
them if they are.
-hpa
--
| Sep 5, 1:12 pm 2008 |
| Linus Torvalds | Re: [BUG] x86 kenel won't boot under Virtual PC
Well, if you actually do a
git grep 'ASM_NOP[0-9]'
you'll find that just the _definitions_ of those things are the bulk of it
BY FAR, and that there doesn't seem to be a single user that cares even
remotely about performance.
So I actually think that the whole thing is a waste of time. We should
probably
- pick a single set of NOP's per 32-bit/64-bit (since the good nops in
32-bit aren't 64-bit instructions at all, so we do want different nops
depending on ...
| Sep 5, 9:39 am 2008 |
| Jeremy Fitzhardinge | Re: [BUG] x86 kenel won't boot under Virtual PC
Well, the paravirt_ops patching uses multibyte nops to pad out the
unused space in a patch site, and they're generally on hot paths
(otherwise we wouldn't bother with patching). But even then I don't
think the particular nop chosen matters all that much, and even if it
did using the dumb redundant prefix long nops seems to be as good as or
better than the p6 nops. The "call mcount" patching ftrace wants to do
Yep. We could run the p6 nops with an exception handler to see if the
cpu ...
| Sep 5, 12:08 pm 2008 |
| Andi Kleen | Re: [BUG] x86 kenel won't boot under Virtual PC
Heh -- I originally only added it because you're asked for it ...
Yes going back to some simple generic nops and avoid all these problems
would be a great thing.
-Andi
--
| Sep 5, 10:55 am 2008 |
| Ingo Molnar | Re: [PATCH] sched_clock: fix NOHZ interaction
applied to tip/sched/urgent - thanks!
Ingo
--
| Sep 5, 9:13 am 2008 |
| Aidan Thornton | Re: [linux-dvb] DVB-S2 / Multiproto and future modulatio ...
Hi,
Markus submitted a patch to the firmware loader code that fixed a
sysfs filename collision by appending a suffix to the sysfs filename
it used. This bug broke the use of the firmware loader from i2c device
drivers (specifically, the drivers for the xc3028 TV tuner chip) with
certain (not particularly unusual) kernel configurations - IIRC, it
affected kernels with I2C compiled as a module and a particular value
of some option related to sysfs depreciated support. The patch was
reverted by ...
| Sep 5, 1:54 pm 2008 |
| Holger Macht | Re: 2.6.26.[1-3] + x61 tablet + x6ultrabase: no resume a ...
Maybe the statement was a little bit harsh, it's just that you won't need
bay in conjunction with libata, because it can't install the notification
handler because that was already done by libata.
Regards,
Holger
--
| Sep 5, 2:00 am 2008 |
| James Bottomley | Re: [PATCH] mmc_block: use generic helper to print capacities
Did you want me to take this? It seems to depend on pieces of your mmc
tree, so I'd have to carry it in my post-merge tree.
James
--
| Sep 5, 1:09 pm 2008 |
| Pierre Ossman | Re: [PATCH] mmc_block: use generic helper to print capacities
On Fri, 05 Sep 2008 15:09:00 -0500
Oh? There shouldn't be any changes around those chunks. What kind of
problems are you seeing?
Rgds
--=20
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
| Sep 5, 1:52 pm 2008 |
| James Bottomley | Re: [PATCH] mmc_block: use generic helper to print capacities
Oh ... your inline attached patch is actually whitespace broken (it has
spaces for tabs), which is why it doesn't apply. Sorry, that's the
first thing I usually check, I just skipped it in your case. Could you
resend it as an attachment?
Thanks,
James
--
| Sep 5, 2:03 pm 2008 |
| Ingo Molnar | Re: Still seeing decreasing stime/utime
applied to tip/sched/urgent, thanks!
Ingo
--
| Sep 5, 9:15 am 2008 |
| Jeff Dike | Re: [uml-devel] [PATCH 2/6] UML: Don't valgrind userspace
I keep forgetting that I have a really bad feeling about this:
+#define VALGRIND_CLONE_LETGO 0x80000000 /* do not track fork like childr
en*/
This is effectively appropriating part of the kernel's ABI for
valgrind's use. Not to mention that that bit is already taken:
#define CLONE_IO 0x80000000 /* Clone io context */
Could you do this with an annotation that says "let the next clone run
untraced"?
Jeff
--
Work email - jdike at linux dot intel dot com
--
| Sep 5, 9:37 am 2008 |
| Dave Hansen | Re: [RFC][PATCH] dynamically enable readprofile at runtime
Well, my crappy copied comment has a typo in it. I really meant "boo".
I was trying to scare patch reviewers.
I'll have a new one out in a bit, akpm found another issue in it.
-- Dave
--
| Sep 5, 9:18 am 2008 |
| Randy Dunlap | Re: [RFC][PATCH] dynamically enable readprofile at runtime
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
--
| Sep 4, 7:03 pm 2008 |
| Alan Stern | Re: USBIP protocol
Sometimes I find the terminology a little confusing. "Client" and
"server" are clear enough, as is "device-side" (synonymous with
"server"). I guess vhci-hcd runs on the client, right?
But "host" is ambiguous; vhci-hcd is a host controller driver on the
client and [uoe]hci-hcd is a host controller driver on the server.
Thus both sides are hosts. Also, "stub" isn't too clear. Is vhci-hcd
a stub driver? Or does the stub driver run strictly on the server?
Getting back to your ...
| Sep 5, 8:05 am 2008 |
| Tilman Schmidt | Re: USBIP protocol
The way I've always understood it, there is, by definition,
always an upstream hub. It's the entity controlling the port
to which the device is connected. In the case discussed here,
I guess the stub would have to play that part.
Am I wrong?
--=20
Tilman Schmidt E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge=F6ffnet mindestens haltbar bis: (siehe R=FCckseite)
| Sep 5, 4:37 am 2008 |
| Pete Zaitcev | Re: USBIP protocol
I'm sorry I'm barging into the conversation, but a HC without a
root hub is rather shocking. One would think it easier to emulate
a root hub with one port in HCD than to teach the whole stack about
such thing as a hubless HC.
-- Pete
--
| Sep 4, 8:26 pm 2008 |
| Rafael J. Wysocki | Re: Regression: SATA disk double spin-off during hiberna ...
Thanks. There's a new patch for you to test in there already. :-)
Rafael
--
| Sep 5, 4:18 pm 2008 |
| Frans Pop | Re: Regression: SATA disk double spin-off during hiberna ...
This version does not work for me, possibly because I use a different hard
disk driver (ata_piix instead of sata_sil)?
I've seen there are later versions of the patch, but as the comments
Added.
Cheers,
FJP
--
| Sep 5, 3:25 pm 2008 |
| Ingo Molnar | Re: [PATCH] x86: make sure the CPA test code's use of _P ...
applied to tip/x86/cpa - thanks Jeremy.
Ingo
--
| Sep 5, 8:08 am 2008 |
| Gregory Haskins | Re: [rfc][patch] queueing spinlocks?
[resend, as the first had a problem going out]
Hi Nick,
Cool stuff...see inline
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
I would prefer to see this done as a polymorhpic atomic_dec_and_lock()
call with something like Ingo's "PICK_OP" method (currently used in -rt)
rather than expanding the atomic_X namespace. I haven't looked into it
to make sure its plausible, but I do not see any reasons from 30k feet
why it would not. Its not a huge deal either ...
| Sep 5, 9:57 am 2008 |
| KOSAKI Motohiro | Re: [PATCH] coredump_filter: add hugepage core dumping
make much sense.
ok, I'll make again under your design.
Thank you very much.
--
| Sep 5, 1:06 am 2008 |
| Alex Williamson | Re: [GIT]: Networking
This one breaks wireless with 32bit userspace/64bit kernel. Bisected
back to changeset 087d833e5a9f67ba933cb32eaf5a2279c1a5b47c:
mac80211: Use IWEVASSOCREQIE instead of IWEVCUSTOM
--
Alex Williamson HP Open Source & Linux Org.
--
| Sep 5, 8:08 am 2008 |
| Linus Torvalds | Re: [GIT]: Networking
Grr. I'd love to say "I told you so", and write another rant about -rc
series patches. But I'm too lazy, so people - please mentally insert my
standard rant here.
David/Jouni - just revert it?
Linus
--
| Sep 5, 10:45 am 2008 |
| John W. Linville | Re: [GIT]: Networking
Yes, just revert it.
Jouni, feel free to send me a new version for 2.6.28.
Thanks,
John
--
John W. Linville
linville@tuxdriver.com
--
| Sep 5, 11:17 am 2008 |
| Andrea Righi | Re: [RFC][PATCH -mm 0/5] cgroup: block device i/o contro ...
Could a workqueue like kblockd move requests from rb-tree to the equivalent
I think I've to figure better all the implementation details, but yes,
sounds good. This seems to be the right approach to provide any kind of
IO controlling: bandwidth throttling, proportional bandwidth,
In any case libcgroup could help here to define any grouping policy
(uid, gid, pid, ...). So, IMHO the grouping capability provided by
cgroups is in perspective generic as well as what dm-ioband ...
| Sep 5, 10:38 am 2008 |
| Vivek Goyal | Re: [RFC][PATCH -mm 0/5] cgroup: block device i/o contro ...
Ok, to be more specific, I was thinking of following.
Currently, all the requests for a block device go into request queue in
a linked list and then associated elevator selects the best request for
dispatch based on various policies as dictated by elevator.
Can we maintan an rb-tree per request queue and all the requests being
queued on that request queue first will go in this rb-tree. Then based on
cgroup grouping and control policy (max bandwidth capping, proportional
bandwidth etc), one ...
| Sep 5, 8:59 am 2008 |
| Paul Menage | Re: [PATCH] cgroup(fix critical bug): new handling for t ...
Hi Lai,
Sorry for the delay, I've been away on vacation.
You're right. So solving them separately seems fine.
It's definitely a bug that can usefully be fixed, but I think it's not quite as critical as you suggest.
I think the simplest approach is to use your basic idea of a shared pid array, but using a standard seq_file rather than hand-coded logic for handling partial reads. Something like the patch below.
Other possible extensions might include:
- delay generating the pid array ...
| Sep 4, 10:34 pm 2008 |
| Marc Haber | Re: 2.6.26.3 mount process looping on ext3 rw remount
Where are they written to? "P" in a sysrqd telnet session does not
"l" results in the SysRq HELP being written to the kernel log, so I
guess that "recently" means "not yet in 2.6.26.3".
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | ...
| Sep 5, 4:39 am 2008 |
| Andrew Morton | Re: 2.6.26.3 mount process looping on ext3 rw remount
alt-sysrq-p from the attached keyboard.
When operating remotely, use `echo p > /proc/sysrq-trigger'.
The output will be in /var/log/messages and is accessible via
`dmesg -s 1000000'.
Please avoid email client wordwrapping when sending these logs. 99% of
ok
--
| Sep 5, 11:22 am 2008 |
| Paul E. McKenney | Re: [PATCH, RFC] v4 scalable classic RCU implementation
CONFIG_RCU_CPU_STALL_DETECTOR it is! It is sufficiently lightweight
to be included in production systems, and similar mechanisms have proven
Agreed, but note well the quote from above:
The hierarchical-RCU implementation has been moved to its own
"rcutree" set of files. This allows configuring three different
implementations of RCU (CLASSIC_RCU, PREEMPT_RCU, and the new
TREE_RCU). More importantly, it enables easy application of
this patch to a wide variety of Linux ...
| Sep 5, 4:04 pm 2008 |
| Andrew Morton | Re: [PATCH, RFC] v4 scalable classic RCU implementation
On Fri, 5 Sep 2008 08:29:30 -0700
The CONFIG_RCU_CPU_STALL identifier seems poorly-chosen to me - it
sounds like it will stall my CPU. Should it be
CONFIG_RCU_CPU_STALL_DETECTOR? If it's a debugging option then it
You forgot
o Adds yet another RCU flavour
Having alternative implementations of the same thing is a real cost in
Using NR_CPUS for anything at all is grossly, grossly inaccurate.
Vendors can and will ship kernels with NR_CPUS=1024 and their customers
can and will run ...
| Sep 5, 12:33 pm 2008 |
| Andrew Morton | Re: [PATCH, RFC] v4 scalable classic RCU implementation
Is it likely that anyone will ship kernels with NR_CPUS=8? What are
____cacheline_internodealigned_in_smp will expand this structure to
OK, thanks. As it's effectively a bugfix, a full description of the
bug would grease some wheels.
--
| Sep 5, 4:52 pm 2008 |
| Paul E. McKenney | [PATCH, RFC] v4 scalable classic RCU implementation
Hello!
Still experimental, not for inclusion. But ready for serious experimental
use, in particular, experience on an actual >1000-CPU machine would be
most welcome.
Updates from v3:
o The hierarchical-RCU implementation has been moved to its own
"rcutree" set of files. This allows configuring three different
implementations of RCU (CLASSIC_RCU, PREEMPT_RCU, and the new
TREE_RCU). More importantly, it enables easy application of
this patch to a wide variety of Linux versions.
I ...
| Sep 5, 8:29 am 2008 |
| Jens Axboe | Re: in 2.6.23-rc3-git7 in do_cciss_intr
This looks somewhat strange, mostly like 'c' is NULL and it's oopsing in
in removeQ (I don't think Randy's analysis is correct in assuming it's
'h' and it's in fifo_full). Given that 'c' cannot be NULL, it's c->prev
or c->next that are NULL.
--
Jens Axboe
--
| Sep 5, 2:28 am 2008 |
| Bartlomiej Zolnierki ... | Re: [PATCH] ide/Kconfig: mark ide-scsi as deprecated
Hi,
Thanks but I thought that you would also want to handle the removal patch?
--
| Sep 5, 10:38 am 2008 |
| Russell King | Re: [PATCH 02/23] arm: use the new byteorder headers
I'll revert it, and if it's resubmitted, I'll ignore it until after the
next merge window - since my tree for the upcoming merge window currently
pre-dates the revert, so effectively continues to carry it until it's
merged.
I'm not sure what went wrong, other than being continuously bugged by
Harvey to apply his patch. If his patches are inappropriate, surely
that should've been pointed out to Harvey before he got the first of
his series merged?
Maybe more of his patches need reverting if ...
| Sep 5, 7:37 am 2008 |
| David Woodhouse | Re: [PATCH 02/23] arm: use the new byteorder headers
Because they weren't being used by anything exported to userspace yet.
... mostly (on my part, at least) because of that question.
Given my druthers, I'd revert the ARM part of the patch for now, and we
can have a _serious_ think about whether we really need to export these
functions to userspace.
A quick survey shows that the following user-visible headers currently
use cpu_to_xxx() and ...
| Sep 5, 7:06 am 2008 |
| Russell King | Re: [PATCH 02/23] arm: use the new byteorder headers
How useful. If those generic headers are already in Linus' tree, and
are required for architectures to convert, why hasn't the patch which
exports them to userspace already been submitted?
However, another question: why should userspace be using a kernel header
file for byteswapping?
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
--
| Sep 5, 3:25 am 2008 |
| David Woodhouse | Re: [PATCH 02/23] arm: use the new byteorder headers
Er, it also depends on the patch which exports those headers to
userspace, which isn't in Linus' tree yet.
So merging this for ARM (between -rc4 and rc5!) has broken the exported
headers on ARM -- as noted by Khem.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
| Sep 5, 2:49 am 2008 |
| Ingo Molnar | Re: oprofile + hibernation = badness
yeah - it's still in the integration branch - but it doesnt hurt as it's
same-content patch (it got cherry-picked over into an urgent branch).
The duplication should go away on the next tip/master integration run
(tomorrow-ish) - please let me know if it doesnt.
Ingo
--
| Sep 5, 1:31 pm 2008 |
| Ingo Molnar | Re: oprofile + hibernation = badness
hi Robert,
it's already upstream, as commit 80a8c9fffa. I've zapped the duplicate
1404e403 from x86/oprofile.
Ingo
--
| Sep 5, 10:58 am 2008 |
| Robert Richter | Re: oprofile + hibernation = badness
Ah, I stumbled other this because it is still listed in the shortlog:
$ git shortlog linux-2.6/master..tip/master | grep oprofile
x86: fix oprofile + hibernation badness
...
But anyway, I found the other commit as well, thanks.
-Robert
--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@amd.com
--
| Sep 5, 11:59 am 2008 |
| Kyle McMartin | Re: [PATCH 1/2] Remove redundant CONFIG_ARCH_SUPPORTS_AOUT
This isn't even correct. PA-RISC only supports SOM or ELF...
--
| Sep 5, 9:28 am 2008 |
| David Woodhouse | Re: [PATCH 1/2] Remove redundant CONFIG_ARCH_SUPPORTS_AOUT
Yeah, ARCH_SUPPORTS_AOUT was a bit b0rked from the beginning.
Hm, that reminds me -- I was supposed to pick up Adrian's patch to
remove a bunch of pointless <asm/a.out.h> files... now added to my tree
and sent.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
| Sep 5, 10:17 am 2008 |
| David Woodhouse | [PATCH 1/2] Remove redundant CONFIG_ARCH_SUPPORTS_AOUT
We don't need this any more; arguably we never really did.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
---
I think I meant to send these two in for 2.6.27 (since they weren't
suitable during 2.6.26-rc), but I forgot. So I'll queue them up for
2.6.28.
arch/alpha/Kconfig | 3 ---
arch/arm/Kconfig | 3 ---
arch/h8300/Kconfig | 3 ---
arch/m32r/Kconfig | 3 ---
arch/m68k/Kconfig | 3 ---
arch/m68knommu/Kconfig | 3 ---
...
| Sep 5, 9:27 am 2008 |
| David Woodhouse | [PATCH 3/2] Remove asm/a.out.h files for all architectur ...
From: Adrian Bunk <bunk@kernel.org>
This patch also includes the required removal of (unused) inclusion of
<asm/a.out.h> <linux/a.out.h>'s in the arch/ code for these
architectures.
[dwmw2: updated for 2.6.27-rc]
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
---
arch/avr32/include/asm/a.out.h | 20 -----------------
arch/blackfin/include/asm/a.out.h | 19 ----------------
arch/cris/arch-v10/boot/tools/build.c | ...
| Sep 5, 10:17 am 2008 |
| David Woodhouse | [PATCH 2/2] Introduce HAVE_AOUT symbol to remove hard-co ...
HAVE_AOUT doesn't quite do the same thing as the recently removed
ARCH_SUPPORTS_AOUT config option. That was set even on platforms where
binfmt_aout isn't supported, although it's not entirely clear why.
So it's best just to introduce a new symbol, handled consistently with
other similar HAVE_xxx symbols; with a simple 'select' in the arch Kconfig.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
---
arch/alpha/Kconfig | 1 +
arch/arm/Kconfig | 1 +
arch/m68k/Kconfig ...
| Sep 5, 9:27 am 2008 |
| Serge E. Hallyn | Re: unprivileged mounts git tree
Ok I should take the time to properly add these to ltp, but for now here
is the result of 15-minutes of playing around with shell scripts to do
some basic testing.
Run usermounts_root.sh as root first, then usermounts_user as a user.
Cleanup for the usermounts_root.sh side-effects is not done.
Miklos, do you have better-thought-out or more complete testcases?
-serge
=====================================================================
FILE ...
| Sep 5, 8:31 am 2008 |
| Willy Tarreau | Re: ICH9 AHCI support on 2.4.XX
Hello Ivaylo,
Thanks for this update. I have already got it (and queued for .37-rc1).
I've not published it yet because I wanted to perform a few preliminary
tests, as I too have the same controller but did not have any SATA disk.
Thanks!
Willy
--
| Sep 4, 8:43 pm 2008 |
| ivaylo | Re: Marvel IDE 88SE6101 2.4.XX support
Hello,
Thanks, Alan for your comment about Marvell PATA IDE driver.
In this time I'm a litle bit busy and do not have time to backport driver
in 2.4 probably after a time I'll try (I'm not a profesional C programer
and it is litle hard to me). I correct generic IDE patch and send you in
the attached file.
I make also patch to update e1000 driver in the 2.4 kernel to e1000-7.6.5 and
add support for:
00:19.0 Ethernet controller: Intel Corporation 82801I (ICH9 Family)
Gigabit Ethernet ...
| Sep 5, 3:37 am 2008 |
| Willy Tarreau | Re: Marvel IDE 88SE6101 2.4.XX support
Hello,
OK. BTW, next time, please post it in pure text form, so that people on
Please contact Auke Kok and/or Jesse Brandeburg at intel. They are the
driver's maintainers, and since they still support it, I do not want to
change it without their agreement. If they want to propose an upgrade,
I'll trust them.
Regards,
Willy
--
| Sep 5, 5:33 am 2008 |
| Willy Tarreau | Re: Marvel IDE 88SE6101 2.4.XX support
Hi Alan,
Indeed, your driver is clear enough to serve as a doc. Looking at
ata_piix.c in 2.4, I see that the libata core has evolved a lot,
but backporting your work should not be hard at all. Among other
things, the driver needs to set ap->cbl itself during reset, for
instance.
However, I wonder if it's really worth doing it if the IDE generic
driver already works. The PATA port on such motherboards today is
mostly used by CD/DVD, and I think that even if we limit ourselves
to 40-pin, ...
| Sep 4, 9:03 pm 2008 |
| previous day | today | next day |
|---|---|---|
| September 4, 2008 | September 5, 2008 | September 6, 2008 |
