| From | Subject | Date |
|---|---|---|
| Mark F. Brown | [PATCH v2 1/6] ARM: pxa27x/pxa3xx: moved pxa27x_keypad.h ...
mach-mmp utilizes pxa27x_keypad code so we need to move header to
platform pxa directory.
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-pxa/devices.c | 2 +-
arch/arm/mach-pxa/em-x270.c | 2 +-
arch/arm/mach-pxa/ezx.c | 2 +-
arch/arm/mach-pxa/littleton.c | 2 +-
arch/arm/mach-pxa/mainstone.c | 4 ++--
arch/arm/mach-pxa/mioa701.c ...
| Aug 26, 8:27 am 2010 |
| Mark F. Brown | [PATCH v2 3/6] ARM: pxa168: added wake clear register su ...
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/include/mach/regs-apmu.h | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mmp/include/mach/regs-apmu.h b/arch/arm/mach-mmp/include/mach/regs-apmu.h
index 9190305..ac47023 100644
--- a/arch/arm/mach-mmp/include/mach/regs-apmu.h
+++ b/arch/arm/mach-mmp/include/mach/regs-apmu.h
@@ -33,4 +33,16 @@
#define APMU_FNRST_DIS (1 << 1)
#define APMU_AXIRST_DIS (1 << 0)
+/* ...
| Aug 26, 8:27 am 2010 |
| Mark F. Brown | [PATCH v2 6/6] ARM: pxa168: aspenite: add board support ...
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/aspenite.c | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c
index 9e1bd6b..f04bae6 100644
--- a/arch/arm/mach-mmp/aspenite.c
+++ b/arch/arm/mach-mmp/aspenite.c
@@ -24,6 +24,8 @@
#include <mach/pxa168.h>
#include <mach/gpio.h>
#include <video/pxa168fb.h>
+#include <linux/input.h>
+#include ...
| Aug 26, 8:27 am 2010 |
| Mark F. Brown | [PATCH v2 0/6] ARM: pxa168: add keypad support
Version 1
1) Make pxa27x_keypad.h accessible to mach-mmp
2) Add a wakeup handler for pxa27x_keypad interrupts
The wakeup callback fixes an issue on the pxa168 that prevents the keypad
driver from being able to clear the keypad interrupt after reading KPC_PC
3) Add initial board level support
Version 2
1) Clean up for wakeup handler moved from pxa168-irq to pxa27x_keypad
2) Reduced the number of rows to 5 for Aspenite
Mark F. Brown (6):
ARM: pxa27x/pxa3xx: moved pxa27x_keypad.h to ...
| Aug 26, 8:27 am 2010 |
| Mark F. Brown | [PATCH v2 4/6] ARM: pxa27x_keypad: added wakeup event ha ...
mach-mmp needs to clear wake event in order to clear the keypad interrupt
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/plat-pxa/include/plat/pxa27x_keypad.h | 1 +
drivers/input/keyboard/pxa27x_keypad.c | 10 ++++++++++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-pxa/include/plat/pxa27x_keypad.h b/arch/arm/plat-pxa/include/plat/pxa27x_keypad.h
index 7b4eadc..73dacda 100644
--- ...
| Aug 26, 8:27 am 2010 |
| Mark F. Brown | [PATCH v2 5/6] ARM: pxa168: added keypad wake clear even ...
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/include/mach/pxa168.h | 5 +++++
arch/arm/mach-mmp/pxa168.c | 10 ++++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mmp/include/mach/pxa168.h b/arch/arm/mach-mmp/include/mach/pxa168.h
index f34e663..1801e42 100644
--- a/arch/arm/mach-mmp/include/mach/pxa168.h
+++ b/arch/arm/mach-mmp/include/mach/pxa168.h
@@ -5,6 +5,7 @@ struct sys_timer;
extern struct ...
| Aug 26, 8:27 am 2010 |
| Mark F. Brown | [PATCH v2 2/6] ARM: pxa168: added keypad support
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/include/mach/mfp-pxa168.h | 7 +++++++
arch/arm/mach-mmp/include/mach/pxa168.h | 7 +++++++
arch/arm/mach-mmp/pxa168.c | 3 +++
drivers/input/keyboard/Kconfig | 2 +-
4 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mmp/include/mach/mfp-pxa168.h b/arch/arm/mach-mmp/include/mach/mfp-pxa168.h
index ded43c4..4621067 100644
--- ...
| Aug 26, 8:27 am 2010 |
| Mark F. Brown | [PATCH 4/5] ARM: pxa168: added special case handler for ...
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/irq-pxa168.c | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mmp/irq-pxa168.c b/arch/arm/mach-mmp/irq-pxa168.c
index 52ff2f0..bfb0984 100644
--- a/arch/arm/mach-mmp/irq-pxa168.c
+++ b/arch/arm/mach-mmp/irq-pxa168.c
@@ -17,6 +17,8 @@
#include <linux/io.h>
#include <mach/regs-icu.h>
+#include <mach/regs-apmu.h>
+#include <mach/cputype.h>
...
| Aug 26, 2:18 am 2010 |
| Mark F. Brown | [PATCH 1/5] ARM: pxa27x/pxa3xx: moved pxa27x_keypad.h to ...
mach-mmp utilizes pxa27x_keypad code so we need to move header to
platform pxa directory.
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-pxa/devices.c | 2 +-
arch/arm/mach-pxa/em-x270.c | 2 +-
arch/arm/mach-pxa/ezx.c | 2 +-
arch/arm/mach-pxa/include/mach/pxa27x_keypad.h | 59 ------------------------
arch/arm/mach-pxa/littleton.c | 2 +-
arch/arm/mach-pxa/mainstone.c ...
| Aug 26, 2:18 am 2010 |
| Mark F. Brown | [PATCH 5/5] ARM: pxa168: aspenite: add board support for ...
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/aspenite.c | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c
index 9e1bd6b..1b788c5 100644
--- a/arch/arm/mach-mmp/aspenite.c
+++ b/arch/arm/mach-mmp/aspenite.c
@@ -24,6 +24,8 @@
#include <mach/pxa168.h>
#include <mach/gpio.h>
#include <video/pxa168fb.h>
+#include <linux/input.h>
+#include ...
| Aug 26, 2:18 am 2010 |
| Mark F. Brown | [PATCH 0/5] ARM: pxa168: add keypad support
In order to add keypad support for pxa168
1) Make pxa27x_keypad.h accessible to mach-mmp
2) Add a special interrupt handler for pxa168 keypad interrupts
This interrupt handler fixes an issue on the SoC that prevents the
keypad driver from being able to clear the keypad interrupt.
3) Add initial board level support
Mark F. Brown (5):
ARM: pxa27x/pxa3xx: moved pxa27x_keypad.h to platform pxa directory
ARM: pxa168: added keypad support
ARM: pxa168: added wake clear register support for ...
| Aug 26, 2:18 am 2010 |
| Mark F. Brown | [PATCH 3/5] ARM: pxa168: added wake clear register suppo ...
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/include/mach/regs-apmu.h | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mmp/include/mach/regs-apmu.h b/arch/arm/mach-mmp/include/mach/regs-apmu.h
index 9190305..ac47023 100644
--- a/arch/arm/mach-mmp/include/mach/regs-apmu.h
+++ b/arch/arm/mach-mmp/include/mach/regs-apmu.h
@@ -33,4 +33,16 @@
#define APMU_FNRST_DIS (1 << 1)
#define APMU_AXIRST_DIS (1 << 0)
+/* ...
| Aug 26, 2:18 am 2010 |
| Mark F. Brown | [PATCH 2/5] ARM: pxa168: added keypad support
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/include/mach/mfp-pxa168.h | 7 +++++++
arch/arm/mach-mmp/include/mach/pxa168.h | 7 +++++++
arch/arm/mach-mmp/pxa168.c | 3 +++
drivers/input/keyboard/Kconfig | 2 +-
4 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mmp/include/mach/mfp-pxa168.h b/arch/arm/mach-mmp/include/mach/mfp-pxa168.h
index ded43c4..4621067 100644
--- ...
| Aug 26, 2:18 am 2010 |
| Mark F. Brown | [PATCH 0/1] ARM: pxa168: fix corrected reset vector
Reset vector for pxa168 is 0xffff_0000 not 0x0
This fix allows reboot to work
Mark F. Brown (1):
ARM: pxa168: fix corrected reset vector
arch/arm/mach-mmp/include/mach/system.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
| Aug 26, 2:07 am 2010 |
| Mark F. Brown | [PATCH 1/1] ARM: pxa168: fix corrected reset vector
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/include/mach/system.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mmp/include/mach/system.h b/arch/arm/mach-mmp/include/mach/system.h
index 4f5b0e0..926e9c0 100644
--- a/arch/arm/mach-mmp/include/mach/system.h
+++ b/arch/arm/mach-mmp/include/mach/system.h
@@ -16,6 +16,6 @@ static inline void arch_idle(void)
static inline void arch_reset(char mode, const char *cmd)
...
| Aug 26, 2:07 am 2010 |
| Mark F. Brown | [PATCH] ARM: pxa3xx: fix build error when CONFIG_MTD_PAR ...
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
drivers/mtd/nand/pxa3xx_nand.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c
index 4d89f37..4d01cda 100644
--- a/drivers/mtd/nand/pxa3xx_nand.c
+++ b/drivers/mtd/nand/pxa3xx_nand.c
@@ -1320,6 +1320,7 @@ static int pxa3xx_nand_probe(struct platform_device *pdev)
goto fail_free_irq;
}
+#ifdef CONFIG_MTD_PARTITIONS
if ...
| Aug 26, 1:56 am 2010 |
| Mark F. Brown | [PATCH] ARM: pxa3xx: fix build error when CONFIG_MTD_PAR ...
If CONFIG_MTD_PARTITIONS is not defined for pxa3xx NAND driver it will display a build error:
drivers/built-in.o: In function `pxa3xx_nand_remove':
drivers/mtd/nand/pxa3xx_nand.c:1367: undefined reference to `del_mtd_partitions'
drivers/built-in.o: In function `pxa3xx_nand_probe':
drivers/mtd/nand/pxa3xx_nand.c:1334: undefined reference to `add_mtd_partitions'
make: *** [.tmp_vmlinux1] Error 1
Patched against Eric Miao's pxa tree
Mark F. Brown (1):
ARM: pxa3xx: fix build error when ...
| Aug 26, 1:56 am 2010 |
| Greg KH | Linux 2.6.27.53
I'm announcing the release of the 2.6.27.53 kernel. All users of the
2.6.27 kernel series are very strongly encouraged to upgrade.
The updated 2.6.27.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.27.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=summary
thanks,
greg k-h
------------
Makefile | 14 ...
| Aug 26, 4:56 pm 2010 |
| Greg KH | Linux 2.6.35.4
I'm announcing the release of the 2.6.35.4 kernel.
All users of the 2.6.35 kernel series must upgrade.
The updated 2.6.35.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.35.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
...
| Aug 26, 4:58 pm 2010 |
| Greg KH | Linux 2.6.34.6
I'm announcing the release of the 2.6.34.6 kernel.
All users of the 2.6.34 kernel series must upgrade.
As Og noted, this is the last .34 kernel being released, please move to
.35 at this point if you are relying on this kernel series.
The updated 2.6.34.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.34.y.git
and can be browsed at the normal kernel.org git web browser:
...
| Aug 26, 4:58 pm 2010 |
| Greg KH | Linux 2.6.32.21
I'm announcing the release of the 2.6.32.21 kernel.
All users of the 2.6.32 kernel series must upgrade.
The updated 2.6.32.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.32.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
...
| Aug 26, 4:57 pm 2010 |
| Greg KH | Re: Linux 2.6.27.53
diff --git a/Makefile b/Makefile
index 948de60..9447d9d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 27
-EXTRAVERSION = .52
+EXTRAVERSION = .53
NAME = Trembling Tortoise
# *DOCUMENTATION*
@@ -440,7 +440,11 @@ ifeq ($(config-targets),1)
include $(srctree)/arch/$(SRCARCH)/Makefile
export KBUILD_DEFCONFIG
-config %config: scripts_basic outputmakefile FORCE
+config: scripts_basic outputmakefile FORCE
+ $(Q)mkdir -p include/linux ...
| Aug 26, 4:59 pm 2010 |
| Greg KH | Og dreams of kernels
{pound} {pound} {pound}
Og woke up to the loud noise of the villagers pounding on his cave door.
He stumbled toward it, grabbing the four numbered bags that he knew were
needed at this time.
Opening the door, Og looked at the villagers, all expectant, wondering
where this week's kernels were, what was delaying them, as they needed
their weekly fix.
Reaching into the first bag, quite worn out with a faded "27" on the
outside of it, he grabbed one of the remaining kernels in there ...
| Aug 26, 4:55 pm 2010 |
| Joe Perches | Re: [PATCH] intel_ips: quieten "power or thermal limit e ...
I think you should instead fix your hardware or maybe change
--
| Aug 26, 4:33 pm 2010 |
| Joe Perches | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
These are all general references to external "W:"eb links.
The right place for TODO lists is inside the kernel source tree
as a TODO file in the source tree node that has something to do.
--
| Aug 26, 4:30 pm 2010 |
| Eugene K | Aug 26, 4:22 pm 2010 | |
| Tony Lindgren | [GIT PULL] omap fixes for v2.6.36
Hi Linus,
Please pull omap-fixes from:
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git omap-fixes-for-linus
Regards,
Tony
The following changes since commit 76be97c1fc945db08aae1f1b746012662d643e97:
Linux 2.6.36-rc2 (2010-08-22 17:43:29 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git omap-fixes-for-linus
Kevin Hilman (1):
OMAP3: PM: ensure IO wakeups are properly ...
| Aug 26, 4:10 pm 2010 |
| Thomas Gleixner | Re: [PATCH] hrtimer: make epoll_wait() use the hrtimer r ...
It's not that much overhead and we had no complaints when we converted
/me not - though I need to look at the patch itself
Thanks,
tglx
--
| Aug 26, 4:02 pm 2010 |
| Davide Libenzi | Re: [PATCH] hrtimer: make epoll_wait() use the hrtimer r ...
What? You killed jiffies?! :)
Alright then, the patch itself, besides the different bahavior on timeout
greater/equal to EP_MAX_MSTIMEO (which is not documented, hence does not
exist), looks OK to me.
- Davide
--
| Aug 26, 4:23 pm 2010 |
| David Brownell | Re: [PATCH] gpio: Add generic driver for simple memory m ...
--- On Thu, 8/26/10, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
I know you don't say that every time someone makes
different assumptions about context than you have.
So for now I guess I'll just feel special...
And I expect you'd have to admit that if indeed there
were some IP reuse happening, then everything I said
which assumed reuse would be true. Likewise, that
such reuse does happen even for simple stuff like
GPIOs (to facilitate reuse of program code ... even
on the 8-bit micros ...
| Aug 26, 3:58 pm 2010 |
| David Brownell | Re: [PATCH v2] gpio: Add driver for Anton GPIO controllers
NOT meaningless ... when there's actual IP behind
the controller! Which, at first, is what I thought
OK, how about resubmitting? With that name?
Be sure to add a bit of documentation about
the controller requirements ... basically that
it has a register from which all values can be
read, and that either that register can be written,
or there's a pair of set-bit/clear-bit registers
affecting that register and the output pins.
Might be worth mentioning how trivial it is to ...
| Aug 26, 3:48 pm 2010 |
| Justin P. Mattock | [PATCH]MAINTAINERS update broken web address.
The patch below updates a broken web address in the MAINTAINERS
file.
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
---
MAINTAINERS | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 11e34d5..e4dff75 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3289,7 +3289,7 @@ F: scripts/package/
KERNEL JANITORS
...
| Aug 26, 3:30 pm 2010 |
| Sage Weil | [GIT PULL] Ceph fixes for 2.6.36-rc3
Hi Linus,
Please pull the following Ceph fixes for 2.6.36-rc3 from
git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus
There are some fixed up compile warnings (32 bit archs), some error return
code fixes, an argument inversion for list_move_tail, an mm cleanup (I
duplicated a non-exported helper in 2.6.27 or so and things changed a bit
since then), and some uninitialized fields. The rest are fixes with async
metadata writeback and making it coherent with ...
| Aug 26, 3:14 pm 2010 |
| Rafael J. Wysocki | [GIT PULL] PM QoS fixes for 2.6.36
Hi Linus,
Please pull two PM QoS fixes for 2.6.36 from:
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git pm-fixes
They fix a kzalloc() call with swapped arguments and a kerneldoc comment
that doesn't match the code it describes any more after the last PM QoS
update.
kernel/pm_qos_params.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---------------
David Alan Gilbert (1):
PM QoS: Fix kzalloc() parameters swapped in ...
| Aug 26, 1:06 pm 2010 |
| Valerie Aurora | [PATCH] VFS: Sanity check mount flags passed to change_m ...
do_change_type() is buggy when passed multiple MS_* flags. Discovered
because mount(8) incorrectly adds MS_RDONLY flag to
shared/slave/private/unbindable mounts. Karel Zak will fix the
mount(8) bug shortly.
A test program is attached. Against Viro's #untested branch.
-VAL
commit 208ca52f69ea53cf0723b8492fe54ebf9a3bf36a
Author: Valerie Aurora <vaurora@redhat.com>
Date: Thu Aug 26 11:07:22 2010 -0700
VFS: Sanity check mount flags passed to change_mnt_propagation()
...
| Aug 26, 1:03 pm 2010 |
| Ana Morrison | Good News!!!
You have won 2,500,000GBP from the Lotto 649. Contact our British Agent
for more details. Mr. Datson Galleon via e-mail:
datsongalleon649@24.com , Tel: +447031979972.
Rita jonhson
Lotto649
--
| Aug 26, 12:42 pm 2010 |
| David Howells | [PATCH 1/3] h8300: IRQ flags should be stored in an unsi ...
Fix h8300's asm/atomic.h to store the IRQ flags in an unsigned long to deal
with warnings of the following type:
/warthog/nfs/linux-2.6-fscache/arch/h8300/include/asm/atomic.h: In function 'atomic_add_return':
/warthog/nfs/linux-2.6-fscache/arch/h8300/include/asm/atomic.h:22: warning: comparison of distinct pointer types lacks a cast
/warthog/nfs/linux-2.6-fscache/arch/h8300/include/asm/atomic.h:24: warning: comparison of distinct pointer types lacks a cast
Signed-off-by: David Howells ...
| Aug 26, 12:20 pm 2010 |
| David Howells | [PATCH 3/3] h8300: Fix missing consts in kernel_execve()
Fix missing consts in h8300's kernel_execve():
arch/h8300/kernel/sys_h8300.c: In function 'kernel_execve':
arch/h8300/kernel/sys_h8300.c:59: warning: initialization from incompatible pointer type
arch/h8300/kernel/sys_h8300.c:60: warning: initialization from incompatible pointer type
Signed-off-by: David Howells <dhowells@redhat.com>
---
arch/h8300/kernel/sys_h8300.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/h8300/kernel/sys_h8300.c ...
| Aug 26, 12:20 pm 2010 |
| David Howells | [PATCH 2/3] h8300: Fix die()
Fix h8300's die() to take care of a number of problems:
CC arch/h8300/kernel/traps.o
In file included from /warthog/nfs/linux-2.6-fscache/arch/h8300/include/asm/bitops.h:10,
from include/linux/bitops.h:22,
from include/linux/kernel.h:17,
from include/linux/sched.h:54,
from arch/h8300/kernel/traps.c:18:
/warthog/nfs/linux-2.6-fscache/arch/h8300/include/asm/system.h:136: warning: 'struct pt_regs' declared inside parameter ...
| Aug 26, 12:20 pm 2010 |
| Matt Fleming | [PATCH V2 0/4] Generalise ARM perf-events backend for oprofile
The perf-events backend for OProfile that Will Deacon wrote in
8c1fc96f6fd1f361428ba805103af0d0eee65179 ("ARM: 6072/1: oprofile: use
perf-events framework as backend") is of use to more architectures
than just ARM. Move the code into drivers/oprofile/ so that SH can use
it instead of the nearly identical copy of its OProfile code.
The benefit of the backend is that it becomes necessary to only
maintain one copy of the PMU accessor functions for each architecture,
with bug fixes and new features ...
| Aug 26, 12:09 pm 2010 |
| Matt Fleming | [PATCH V2 3/4] oprofile: Abstract the perf-events backend
Move the perf-events backend from arch/arm/oprofile into
drivers/oprofile so that the code can be shared between architectures.
This allows each architecture to maintain only a single copy of the
PMU accessor functions instead of one for both perf and OProfile. It
also becomes possible for other architectures to delete much of their
OProfile code in favour of the common code now available in
drivers/oprofile/oprofile_perf.c.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
---
...
| Aug 26, 12:09 pm 2010 |
| Matt Fleming | [PATCH V2 4/4] sh: Use the perf-events backend for oprofile
Use the perf-events based wrapper for oprofile available in
drivers/oprofile. This allows us to centralise the code to control
performance counters.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
---
Paul,
I dropped the CONFIG_PERF_EVENTS dependency from the Makefile in this
version because to do anything useful we need perf events anyway.
arch/sh/oprofile/Makefile | 2 +-
arch/sh/oprofile/common.c | 96 ++++++++-----------------------------------
...
| Aug 26, 12:09 pm 2010 |
| Matt Fleming | [PATCH 2/4] sh: Accessor functions for the sh_pmu state
Introduce some accessor functions for getting at the name and number of
counters of the current sh_pmu instance.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
---
arch/sh/include/asm/perf_event.h | 2 ++
arch/sh/kernel/perf_event.c | 13 +++++++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/sh/include/asm/perf_event.h b/arch/sh/include/asm/perf_event.h
index 3d0c9f3..5b7fa84 100644
--- a/arch/sh/include/asm/perf_event.h
+++ ...
| Aug 26, 12:09 pm 2010 |
| Matt Fleming | [PATCH 1/4] oprofile: Handle initialisation failure more ...
From: Will Deacon <will.deacon@arm.com>
The current implementation is not entirely safe in the case that
oprofile_arch_init() fails. We need to make sure that we always call
exit_driverfs() if we've called init_driverfs(). Also, avoid a potential
double free when freeing 'counter_config', e.g. don't free
'counter_config' in both oprofile_arch_init() and oprofile_arch_exit().
Signed-off-by: Will Deacon <will.deacon@arm.com>
---
arch/arm/oprofile/common.c | 15 ++++++++-------
1 files ...
| Aug 26, 12:09 pm 2010 |
| J. Bruce Fields | nfsd bugfixes for 2.6.36
The following nfsd bugfixes are available in the for-2.6.36 branch of
the git repository at:
git://linux-nfs.org/~bfields/linux.git for-2.6.36
Please pull for 2.6.36.
--b.
J. Bruce Fields (4):
nfsd4: bad BUG() in preprocess_stateid_op
nfsd4: typo fix in find_any_file
nfsd4: fix downgrade/lock logic
Merge commit 'v2.6.36-rc1' into HEAD
Takashi Iwai (1):
nfsd: fix NULL dereference in nfsd_statfs()
fs/nfsd/nfs4state.c | 26 ...
| Aug 26, 11:55 am 2010 |
| Stephen M. Cameron | [PATCH 00/13] cciss: clean up cciss_ioctl()
This series of patches factors out all of cases of the giant
switch statement in cciss_ioctl into separate functions. And
there's one patch at the end that gets rid of some superfluous
if statements in the big passthru path.
I've run test programs that exercise all these ioctls and they
appear to still work.
---
Stephen M. Cameron (13):
cciss: factor out cciss_getpciinfo
cciss: factor out cciss_getintinfo
cciss: factor out cciss_setintinfo
cciss: factor out ...
| Aug 26, 11:55 am 2010 |
| Stephen M. Cameron | [PATCH 11/13] cciss: factor out cciss_passthru
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 212 +++++++++++++++++++++++--------------------------
1 files changed, 101 insertions(+), 111 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 3f24450..5a84080 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1400,6 +1400,106 @@ static int cciss_getluninfo(ctlr_info_t *h,
return 0;
}
...
| Aug 26, 11:56 am 2010 |
| Stephen M. Cameron | [PATCH 04/13] cciss: factor out cciss_getnodename
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 28 +++++++++++++++-------------
1 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 5ff5a1d..77db6ea 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1293,6 +1293,20 @@ static int cciss_setintinfo(ctlr_info_t *h, void __user *argp)
return 0;
}
+static ...
| Aug 26, 11:55 am 2010 |
| Stephen M. Cameron | [PATCH 13/13] cciss: remove some superfluous tests from ...
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 25 ++++++++-----------------
1 files changed, 8 insertions(+), 17 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index a7ec339..d3ce357 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1582,28 +1582,19 @@ static int cciss_bigpassthru(ctlr_info_t *h, void __user *argp)
}
c->cmd_type = ...
| Aug 26, 11:56 am 2010 |
| Stephen M. Cameron | [PATCH 12/13] cciss: factor out cciss_big_passthru
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 307 ++++++++++++++++++++++++-------------------------
1 files changed, 151 insertions(+), 156 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 5a84080..a7ec339 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1500,6 +1500,155 @@ static int cciss_passthru(ctlr_info_t *h, void __user *argp)
...
| Aug 26, 11:56 am 2010 |
| Stephen M. Cameron | [PATCH 03/13] cciss: factor out cciss_setintinfo
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 66 ++++++++++++++++++++++++-------------------------
1 files changed, 32 insertions(+), 34 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 14380c4..5ff5a1d 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1262,6 +1262,37 @@ static int cciss_getintinfo(ctlr_info_t *h, void __user *argp)
return ...
| Aug 26, 11:55 am 2010 |
| Stephen M. Cameron | [PATCH 05/13] cciss: factor out cciss_setnodename
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 65 ++++++++++++++++++++++---------------------------
1 files changed, 29 insertions(+), 36 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 77db6ea..90c1906 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1307,6 +1307,34 @@ static int cciss_getnodename(ctlr_info_t *h, void __user *argp)
...
| Aug 26, 11:55 am 2010 |
| Stephen M. Cameron | [PATCH 10/13] cciss: factor out cciss_getluninfo
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 32 ++++++++++++++++++--------------
1 files changed, 18 insertions(+), 14 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 6e915de..3f24450 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1384,12 +1384,27 @@ static int cciss_getdrivver(ctlr_info_t *h, void __user *argp)
return 0;
}
...
| Aug 26, 11:56 am 2010 |
| Stephen M. Cameron | [PATCH 02/13] cciss: factor out cciss_getintinfo
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 28 +++++++++++++++-------------
1 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index c1eca37..14380c4 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1248,6 +1248,20 @@ static int cciss_getpciinfo(ctlr_info_t *h, void __user *argp)
return 0;
}
+static ...
| Aug 26, 11:55 am 2010 |
| Stephen M. Cameron | [PATCH 06/13] cciss: factor out cciss_getheartbeat
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 90c1906..d9d2e5a 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1335,6 +1335,18 @@ static int cciss_setnodename(ctlr_info_t *h, void __user *argp)
return 0;
}
+static int ...
| Aug 26, 11:55 am 2010 |
| Stephen M. Cameron | [PATCH 07/13] cciss: factor out cciss_getbustypes
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index d9d2e5a..013d023 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1347,6 +1347,18 @@ static int cciss_getheartbeat(ctlr_info_t *h, void __user *argp)
return 0;
}
+static int ...
| Aug 26, 11:56 am 2010 |
| Stephen M. Cameron | [PATCH 08/13] cciss: factor out cciss_getfirmver
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 27 +++++++++++++++------------
1 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 013d023..c4790ba 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1359,6 +1359,20 @@ static int cciss_getbustypes(ctlr_info_t *h, void __user *argp)
return 0;
}
+static ...
| Aug 26, 11:56 am 2010 |
| Stephen M. Cameron | [PATCH 01/13] cciss: factor out cciss_getpciinfo
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index eef94fa..c1eca37 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1232,9 +1232,22 @@ static void check_ioctl_unit_attention(ctlr_info_t *h, CommandList_struct *c)
...
| Aug 26, 11:55 am 2010 |
| Stephen M. Cameron | [PATCH 09/13] cciss: factor out cciss_getdrivver
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss.c | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index c4790ba..6e915de 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1373,8 +1373,19 @@ static int cciss_getfirmver(ctlr_info_t *h, void __user *argp)
return 0;
}
+static int ...
| Aug 26, 11:56 am 2010 |
| Miklos Szeredi | [PATCH 5/5] union: hybrid union filesystem prototype
From: Miklos Szeredi <mszeredi@suse.cz>
This union filesystem is a hybrid of entirely filesystem based
(unionfs, aufs) and entierly VFS based (union mounts) solutions.
The dentry tree is duplicated from the underlying filesystems, this
enables fast cached lookups without adding special support into the
VFS. This uses slightly more memory than union mounts, but dentries
are relatively small.
Inode structures are only duplicated for directories. Regular files,
symlinks and special files ...
| Aug 26, 11:33 am 2010 |
| Miklos Szeredi | [PATCH 4/5] vfs: export do_splice_direct() to modules
From: Miklos Szeredi <mszeredi@suse.cz>
Export do_splice_direct() to modules. Needed by hybrid union
filesystem.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
---
fs/splice.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6/fs/splice.c
===================================================================
--- linux-2.6.orig/fs/splice.c 2010-08-13 16:07:00.000000000 +0200
+++ linux-2.6/fs/splice.c 2010-08-25 18:59:08.000000000 +0200
@@ -1307,6 +1307,7 @@ long ...
| Aug 26, 11:33 am 2010 |
| Miklos Szeredi | [PATCH 3/5] vfs: add flag to allow rename to same inode
From: Miklos Szeredi <mszeredi@suse.cz>
Hybrid union filesystem uses dummy inodes for non-directories. Allow
rename to work in this case despite the inode being the same.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
---
fs/namei.c | 4 +++-
include/linux/fs.h | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
Index: linux-2.6/include/linux/fs.h
===================================================================
--- linux-2.6.orig/include/linux/fs.h 2010-08-25 ...
| Aug 26, 11:33 am 2010 |
| Miklos Szeredi | [PATCH 2/5] vfs: make i_op->permission take a dentry ins ...
From: Miklos Szeredi <mszeredi@suse.cz>
Like most other inode operations ->permission() should take a dentry
instead of an inode. This is necessary for filesystems which operate
on names not on inodes.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
---
fs/afs/internal.h | 2 +-
fs/afs/security.c | 3 ++-
fs/bad_inode.c | 2 +-
fs/btrfs/inode.c | 4 +++-
fs/btrfs/ioctl.c | 8 ...
| Aug 26, 11:33 am 2010 |
| David P. Quigley | Re: [PATCH 2/5] vfs: make i_op->permission take a dentry ...
I may be missing something but I looked at your patch series and I see
no good reason for this patch at all. You just churned a lot of code for
something that you don't even have a need for in the patch set. Your
only two new callers of this function could just as easily have used the
inode since it isn't doing anything special with the dentry. It actually
pulls the inode out of it and uses it in generic_permission and
security_inode_permission. If you are going to change this you should
also ...
| Aug 26, 1:24 pm 2010 |
| Miklos Szeredi | [PATCH 1/5] vfs: implement open "forwarding"
From: Miklos Szeredi <mszeredi@suse.cz>
Add a new file operation f_op->open_other(). This acts just like
f_op->open() except the return value can be another open struct file
pointer. In that case the original file is discarded and the
replacement file is used instead.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
---
fs/open.c | 23 +++++++++++++++++------
include/linux/fs.h | 1 +
2 files changed, 18 insertions(+), 6 deletions(-)
Index: ...
| Aug 26, 11:33 am 2010 |
| Grant Likely | Re: [PATCH] drivers/net/: ll_temac_main.c & ll_temac.h: ...
On Thu, Aug 26, 2010 at 12:13 PM, Ville Sundell
The ll_temac driver uses phylib. The Ethtool ops should then also be
implemented using phylib and not by writing to the ll_temac registers
directly. Otherwise changes to the ll_temac speed will not be
reflected in the PHY.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
| Aug 26, 12:26 pm 2010 |
| Ville Sundell | [PATCH] drivers/net/: ll_temac_main.c & ll_temac.h: Addi ...
This patch adds an interface to the ethtool subsystem and
implements read/write functionality for handling settings with the
ethtool_cmd structure. "Speed" is the only setting implemented so far.
Other settings (like reading the duplex value) can be easily implemented
later on.
One can read the speed of the link by reading /sys/class/net/eth0/speed.
It seems that you can't write to /sys/class/net/eth0/speed, so the
"ethtool" command line utility must be used to set the speed.
So far, it is ...
| Aug 26, 11:13 am 2010 |
| Mathieu Desnoyers | [RFC PATCH 00/11] sched: CFS low-latency features
[Empty message]
| Aug 26, 11:09 am 2010 |
| Mathieu Desnoyers | Re: [RFC PATCH 00/11] sched: CFS low-latency features
I'm afraid you'll have a large error accumulation over time, and getting the
precise picture of how much time between now and where the the period end is
expected to be is kind of hard to do precisely from user-space. In a few words,
this solution would be terrible for jitter. This is why we usually rely on
timers rather than delays in these periodic workloads.
Thanks,
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
| Aug 26, 4:53 pm 2010 |
| Paul E. McKenney | Re: [RFC PATCH 00/11] sched: CFS low-latency features
Hmmm... Why couldn't the thread in question set the next sleep time based
on the timer period? Yes, if the function ran for longer than the period,
there would be a delay, but the POSIX semantics allow such a delay, right?
Thanx, Paul
--
| Aug 26, 4:38 pm 2010 |
| Thomas Gleixner | Re: [RFC PATCH 00/11] sched: CFS low-latency features
I really risked eye cancer and digged into the glibc code.
/* There is not much we can do if the allocation fails. */
(void) pthread_create (&th, &tk->attr, timer_sigev_thread, td);
So if the helper thread which gets the signal fails to create the
thread then everything is toast.
What about fixing the f*cked up glibc implementation in the first place
instead of fiddling in the kernel to support this utter madness?
WTF can't the damned delivery thread not be created when ...
| Aug 26, 3:22 pm 2010 |
| Peter Zijlstra | Re: [RFC PATCH 00/11] sched: CFS low-latency features
So we have the following components to this patch:
- dynamic min_vruntime -- push the min_vruntime ahead at the
rate of the runqueue wide virtual clock. This approximates
the virtual clock, esp. when turning off sleeper fairness.
And is cheaper than actually computing the virtual clock.
It allows for better insertion and re-weighting behaviour,
but it does increase overhead somewhat.
- special wakeups using the next-buddy to get scheduled 'soon',
...
| Aug 26, 11:57 am 2010 |
| Mathieu Desnoyers | Re: [RFC PATCH 00/11] sched: CFS low-latency features
Yep, it's cheap enough and seems to work very well as far as my testing have
Yes, this is what lets us kill FAIR_SLEEPERS (and thus let the dynamic
I just thought it made sense that when a timer fires and wakes up a thread,
there are pretty good chances that we might to wakeup this thread quickly. But
it brings the question in a more general sense: would we want this kind of
behavior also available for network packets, disk I/O, etc ? IOW, would it make
sense to have next-buddy selection on ...
| Aug 26, 4:49 pm 2010 |
| Thomas Gleixner | Re: [RFC PATCH 00/11] sched: CFS low-latency features
SIGEV_THREAD is the best proof that the whole posix timer interface
was comitte[e]d under the influence of not to be revealed
mind-altering substances.
I completely object to add timer specific wakeup magic and support for
braindead fork orgies to the kernel proper. All that mess can be fixed
in user space by using sensible functionality.
Providing support for misdesigned crap just for POSIX compliance
reasons and to make some of the blind abusers of that very same crap
happy would be a ...
| Aug 26, 2:25 pm 2010 |
| Mathieu Desnoyers | Re: [RFC PATCH 00/11] sched: CFS low-latency features
Hrm, thinking about it a little more, one of the "plus" sides of these
SIGEV_THREAD timers is that a single timer can fork threads that will run on
many cores on a multi-core system. If we go for preallocation of a single
thread, we lose that. Maybe we could think of a way to preallocate a thread pool
instead ?
Thanks,
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
| Aug 26, 4:36 pm 2010 |
| Paul E. McKenney | Re: [RFC PATCH 00/11] sched: CFS low-latency features
C'mon, Thomas!!! That is entirely too sensible!!! ;-)
But if you are going to create the thread at timer_create() time,
why not just have the new thread block for the desired duration?
Thanx, Paul
--
| Aug 26, 4:18 pm 2010 |
| Mathieu Desnoyers | Re: [RFC PATCH 00/11] sched: CFS low-latency features
The timer infrastructure allows things like periodic timer which restarts when
it fires, detection of missed timer events, etc. If you try doing this in a
userland thread context with a simple sleep, then your period becomes however
long you sleep for _and_ the thread execution time. This is all in all quite
different from the timer semantic.
Thanks,
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
| Aug 26, 4:28 pm 2010 |
| Mathieu Desnoyers | Re: [RFC PATCH 00/11] sched: CFS low-latency features
Yeah, that sounds exactly like what I proposed about an hour ago on IRC ;) I'm
pretty sure that would work.
The only thing we might have to be careful about is what happens if the timer
re-fires before the thread completes its execution. We might want to let the
signal handler detect these overruns somehow.
Thanks,
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
| Aug 26, 4:09 pm 2010 |
| Mathieu Desnoyers | [RFC PATCH 04/11] sched: debug cleanup place entity
Extracted from a "sched-misc-bits.patch" patch from
Peter Zijlstra <a.p.zijlstra@chello.nl>.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
kernel/sched_fair.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Index: linux-2.6-lttng.git/kernel/sched_fair.c
===================================================================
--- linux-2.6-lttng.git.orig/kernel/sched_fair.c
+++ ...
| Aug 26, 11:09 am 2010 |
| Mathieu Desnoyers | [RFC PATCH 05/11] sched buddy enable buddy logic startin ...
Extracted from a "sched-misc-bits.patch" patch from
Peter Zijlstra <a.p.zijlstra@chello.nl>.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
kernel/sched_fair.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Index: linux-2.6-lttng.git/kernel/sched_fair.c
===================================================================
--- linux-2.6-lttng.git.orig/kernel/sched_fair.c
+++ ...
| Aug 26, 11:09 am 2010 |
| Mathieu Desnoyers | [RFC PATCH 08/11] sched input interactivity-driven next buddy
[ Impact: implement INTERACTIVE feature to increase Xorg responsiveness. ]
Apply next buddy logic to interactivity-driven wakeups. Don't pass the
interactivity flag across forks to defuse interactivity-based fork-bombs. The
goal of this patch is to ensure that Xorg keeps a good interactivity level by
ensuring that Xorg and its related threads quickly respond to wakeups caused by
user inputs.
Derived from a patch from Peter Zijlstra.
* This patch also makes sure that as soon as an iowait is ...
| Aug 26, 11:09 am 2010 |
| Mathieu Desnoyers | [RFC PATCH 09/11] sched: timer-driven next buddy
[Empty message]
| Aug 26, 11:09 am 2010 |
| Mathieu Desnoyers | [RFC PATCH 06/11] sched: dynamic min_vruntime
[Empty message]
| Aug 26, 11:09 am 2010 |
| Mathieu Desnoyers | [RFC PATCH 03/11] sched: FAIR_SLEEPERS feature
Add the fair sleeper feature which disables sleeper extra vruntime boost on
wakeup. This is makes the DYN_MIN_VRUNTIME feature behave better by keeping the
min_vruntime value somewhere between MIN_vruntime and max_vruntime (see
/proc/sched_debug output with CONFIG_SCHED_DEBUG=y).
Turning on this knob is typically bad for interactivity. This is why a later
patch introduces the "FAIR_SLEEPERS_INTERACTIVE" feature, which provides this
combination of ...
| Aug 26, 11:09 am 2010 |
| Mathieu Desnoyers | [RFC PATCH 11/11] sched: fair sleepers for timer and int ...
Add FAIR_SLEEPERS_TIMER and FAIR_SLEEPERS_INTERACTIVE tuning knobs.
Turning off FAIR_SLEEPERS and turning on FAIR_SLEEPERS_INTERACTIVE does a pretty
good job for interactivity.
Setting FAIR_SLEEPERS to off helps keeping the min_vruntime value somewhere
between MIN_vruntime and max_vruntime rather than somewhere at the right of all
running threads.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
---
kernel/sched_fair.c | 5 ++++-
kernel/sched_features.h | 4 ...
| Aug 26, 11:09 am 2010 |
| Mathieu Desnoyers | [RFC PATCH 07/11] sched rename struct task in_iowait fie ...
Rename task struct in_iowait to sched_in_iowait, since it's only
scheduler-specific. Extracted from a patch originally from Peter Zijlstra.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
include/linux/sched.h | 7 +++----
kernel/sched.c | 8 ++++----
kernel/sched_fair.c | 2 +-
3 files changed, 8 insertions(+), 9 deletions(-)
Index: ...
| Aug 26, 11:09 am 2010 |
| Mathieu Desnoyers | [RFC PATCH 02/11] sched: debug spread check account for ...
Extracted from a "sched-misc-bits.patch" patch from
Peter Zijlstra <a.p.zijlstra@chello.nl>.
This patch also moves the check_spread test where nr_running is always non-zero.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
kernel/sched_fair.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
Index: ...
| Aug 26, 11:09 am 2010 |
| Mathieu Desnoyers | [RFC PATCH 01/11] sched: fix string comparison in features
Incorrect handling of the following case:
INTERACTIVE
INTERACTIVE_SOMETHING_ELSE
The comparison only checks up to each element's length.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
kernel/sched.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng.git/kernel/sched.c
===================================================================
--- ...
| Aug 26, 11:09 am 2010 |
| Mathieu Desnoyers | [RFC PATCH 10/11] sched: fork expedited
[Empty message]
| Aug 26, 11:09 am 2010 |
| Mrs Amber | Contact Fedex
Greetings
I have been waiting for you to contact me for your Confirmable Bank-draft of $750.000.00 United States Dollars,but I did not hear from
you. Then I went and deposited the Draft with FedEx COURIER SERVICE,The only money you will send to the FedEX COURIER SERVICE to
deliver your Draft direct to your postal Address in your country is ($150.00 US) Dollars only being Security Keeping Fee of the Courier
Company.
1) FULL NAMES:
2) CONTACT ADDRESS:
3) PHONE NUMBER/FAX:
4) COUNTRY:
...
| Aug 26, 11:02 am 2010 |
| H. Peter Anvin | Re: [PATCH 01/10] x86/iommu: Add IOMMU_INIT macros, .iom ...
I added this series to tip:x86/iommu, but please do provide an
incremental patch with a comment.
Thanks,
-hpa
--
| Aug 26, 4:47 pm 2010 |
| Konrad Rzeszutek Wilk | [PATCH 08/10] x86/GART/AMD-VI: Make AMD GART and IOMMU u ...
We utilize the IOMMU_INIT macros to create this dependency:
[null]
|
[pci_xen_swiotlb_detect]
|
[pci_swiotlb_detect_override]
|
[pci_swiotlb_detect_4gb]
|
+-------+--------+
/ \
[detect_calgary] [gart_iommu_hole_init]
|
[amd_iommu_detect]
Meaning that 'amd_iommu_detect' will be called ...
| Aug 26, 10:58 am 2010 |
| Konrad Rzeszutek Wilk | [PATCH 01/10] x86/iommu: Add IOMMU_INIT macros, .iommu_t ...
This patch set adds a mechanism to "modularize" the IOMMUs we have
on X86. Currently the count of IOMMUs is up to six and they have a complex
relationship that requires careful execution order. 'pci_iommu_alloc'
does that today, but most folks are unhappy with how it does it.
This patch set addresses this and also paves a mechanism to jettison
unused IOMMUs during run-time. For details that sparked this, please
refer to: http://lkml.org/lkml/2010/8/2/282
The first solution that comes to mind is ...
| Aug 26, 10:57 am 2010 |
| Konrad Rzeszutek Wilk | [PATCH 02/10] x86/iommu: Make all IOMMU's detection rout ...
We return 1 if the IOMMU has been detected. Zero or an error number
if we failed to find it. This is in preperation of using the IOMMU_INIT
so that we can detect whether an IOMMU is present. I have not
tested this for regression on Calgary, nor on AMD Vi chipsets as
I don't have that hardware.
CC: Muli Ben-Yehuda <muli@il.ibm.com>
CC: "Jon D. Mason" <jdmason@kudzu.us>
CC: "Darrick J. Wong" <djwong@us.ibm.com>
CC: Jesse Barnes <jbarnes@virtuousgeek.org>
CC: David Woodhouse ...
| Aug 26, 10:57 am 2010 |
| tip-bot for Konrad R ... | [tip:x86/iommu] x86, iommu: Add IOMMU_INIT macros, .iomm ...
Commit-ID: 0444ad93ea2449963132d68753020a6a24d69895
Gitweb: http://git.kernel.org/tip/0444ad93ea2449963132d68753020a6a24d69895
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
AuthorDate: Thu, 26 Aug 2010 13:57:56 -0400
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 15:12:53 -0700
x86, iommu: Add IOMMU_INIT macros, .iommu_table section, and iommu_table_entry structure
This patch set adds a mechanism to "modularize" the IOMMUs we have
on X86. ...
| Aug 26, 4:27 pm 2010 |
| tip-bot for Konrad R ... | [tip:x86/iommu] x86, iommu: Make all IOMMU's detection r ...
Commit-ID: 480125ba49ba62be93beea37770f266846e077ab
Gitweb: http://git.kernel.org/tip/480125ba49ba62be93beea37770f266846e077ab
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
AuthorDate: Thu, 26 Aug 2010 13:57:57 -0400
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 15:13:13 -0700
x86, iommu: Make all IOMMU's detection routines return a value.
We return 1 if the IOMMU has been detected. Zero or an error number
if we failed to find it. This is in ...
| Aug 26, 4:28 pm 2010 |
| H. Peter Anvin | Re: [PATCH 01/10] x86/iommu: Add IOMMU_INIT macros, .iom ...
Honestly, I think we this kind of problem -- a mergeable table -- often
enough that we should implement a generic facility for it. It obviously
has to be based on sections, but I think we could automate its creation.
The gPXE people have done that, and this is more or less a summary of
their technique.
Basically, you have a set of sections with names like:
.table.<symbol>.<priority>
... then the linker script looks something like:
.table : {
SORT_BY_NAME(.table.*)
}
use ...
| Aug 26, 12:48 pm 2010 |
| tip-bot for Konrad R ... | [tip:x86/iommu] x86, iommu: Utilize the IOMMU_INIT macro ...
Commit-ID: ee1f284f38c8dfcbc7b656915a039dde016de7d3
Gitweb: http://git.kernel.org/tip/ee1f284f38c8dfcbc7b656915a039dde016de7d3
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
AuthorDate: Thu, 26 Aug 2010 13:58:05 -0400
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 15:14:52 -0700
x86, iommu: Utilize the IOMMU_INIT macros functionality.
We remove all of the sub-platform detection/init routines and instead
use on the .iommu_table array of structs ...
| Aug 26, 4:31 pm 2010 |
| Konrad Rzeszutek Wilk | [PATCH 09/10] x86/VT-d: Make Intel VT-d IOMMU use IOMMU_ ...
We utilize the IOMMU_INIT macros to create this dependency:
[null]
|
[pci_xen_swiotlb_detect]
|
[pci_swiotlb_detect_override]
|
[pci_swiotlb_detect_4gb]
|
+-------+--------+---------------------+
/ \ \
[detect_calgary] [gart_iommu_hole_init] [detect_intel_iommu]
|
...
| Aug 26, 10:58 am 2010 |
| tip-bot for Konrad R ... | [tip:x86/iommu] x86, GART/AMD-VI: Make AMD GART and IOMM ...
Commit-ID: 22e6daf41ba28ddc06295e42859b266f737b3e99
Gitweb: http://git.kernel.org/tip/22e6daf41ba28ddc06295e42859b266f737b3e99
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
AuthorDate: Thu, 26 Aug 2010 13:58:03 -0400
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 15:14:30 -0700
x86, GART/AMD-VI: Make AMD GART and IOMMU use IOMMU_INIT_* macros.
We utilize the IOMMU_INIT macros to create this dependency:
[null]
...
| Aug 26, 4:30 pm 2010 |
| Konrad Rzeszutek Wilk | [PATCH 10/10] x86/iommu: Utilize the IOMMU_INIT macros f ...
We remove all of the sub-platform detection/init routines and instead
use on the .iommu_table array of structs to call the .early_init if
.detect returned a positive value. Also we can stop detecting other
IOMMUs if the IOMMU used the _FINISH type macro. During the
'pci_iommu_init' stage, we call .init for the second-stage
initialization if it was defined. Currently only SWIOTLB has this
defined and it used to de-allocate the SWIOTLB if the other detected
IOMMUs have deemed it unnecessary to use ...
| Aug 26, 10:58 am 2010 |
| Sam Ravnborg | Re: [PATCH 01/10] x86/iommu: Add IOMMU_INIT macros, .iom ...
So we have yet another magic section in vmlinux.lds.S
A nice comemnt that expalins what this is used for and why
it is discardable etc. would be nice.
Lots of magic sections in same file miss this,
but thats not an example to follwow.
Sam
--
| Aug 26, 11:19 am 2010 |
| tip-bot for Konrad R ... | [tip:x86/iommu] x86, VT-d: Make Intel VT-d IOMMU use IOM ...
Commit-ID: 4db77ff3237a88ea74f691dd776e92b2f86a8f3f
Gitweb: http://git.kernel.org/tip/4db77ff3237a88ea74f691dd776e92b2f86a8f3f
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
AuthorDate: Thu, 26 Aug 2010 13:58:04 -0400
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 15:14:40 -0700
x86, VT-d: Make Intel VT-d IOMMU use IOMMU_INIT_* macros.
We utilize the IOMMU_INIT macros to create this dependency:
[null]
|
...
| Aug 26, 4:30 pm 2010 |
| Konrad Rzeszutek Wilk | [RFC PATCH v2] Modularize IOMMUs detection/init for X86
Per our discussion at: http://lkml.org/lkml/2010/8/2/282
I've implemented an RFC set of patches to address the problem.
This patch set adds a mechanism to "modularize" the IOMMUs we have
on X86. Currently the count of IOMMUs is up to six and they have a complex
relationship that requires careful execution order. 'pci_iommu_alloc'
does that today, but most folks are unhappy with how it does it.
This patch set addresses this and also paves a mechanism to jettison
unused IOMMUs during ...
| Aug 26, 10:57 am 2010 |
| Konrad Rzeszutek Wilk | [PATCH 04/10] x86/swiotlb: Simplify SWIOTLB pci_swiotlb_ ...
In 'pci_swiotlb_detect' we used to do two different things:
a). If user provided 'iommu=soft' or 'swiotlb=force' we
would set swiotlb=1 and return 1 (and forcing pci-dma.c
to call pci_swiotlb_init() immediately).
b). If 4GB or more would be detected and if user did not specify
iommu=off, we would set 'swiotlb=1' and return whatever 'a)'
figured out.
We simplify this by splitting a) and b) in two different routines.
CC: H. Peter Anvin <hpa@zytor.com>
CC: Fujita Tomonori ...
| Aug 26, 10:57 am 2010 |
| tip-bot for Konrad R ... | [tip:x86/iommu] x86, swiotlb: Simplify SWIOTLB pci_swiot ...
Commit-ID: efa631c26d3bb1162b8f95008801db602217f52b
Gitweb: http://git.kernel.org/tip/efa631c26d3bb1162b8f95008801db602217f52b
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
AuthorDate: Thu, 26 Aug 2010 13:57:59 -0400
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 15:13:29 -0700
x86, swiotlb: Simplify SWIOTLB pci_swiotlb_detect routine.
In 'pci_swiotlb_detect' we used to do two different things:
a). If user provided 'iommu=soft' or ...
| Aug 26, 4:28 pm 2010 |
| Konrad Rzeszutek Wilk | [PATCH 05/10] x86/swiotlb: Make SWIOTLB use IOMMU_INIT_* ...
We utilize the IOMMU_INIT macros to create this dependency:
[pci_xen_swiotlb_detect]
|
[pci_swiotlb_detect_override]
|
[pci_swiotlb_detect_4gb]
And set the SWIOTLB IOMMU_INIT to utilize 'pci_swiotlb_init'
for .init and 'pci_swiotlb_late_init' for .late_init.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
CC: x86@kernel.org
CC: H. Peter Anvin <hpa@zytor.com>
CC: Fujita Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
...
| Aug 26, 10:58 am 2010 |
| tip-bot for Konrad R ... | [tip:x86/iommu] x86, swiotlb: Make SWIOTLB use IOMMU_INI ...
Commit-ID: c116c5457c46edb767df6f4e36d4905e3514ad37
Gitweb: http://git.kernel.org/tip/c116c5457c46edb767df6f4e36d4905e3514ad37
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
AuthorDate: Thu, 26 Aug 2010 13:58:00 -0400
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 15:13:37 -0700
x86, swiotlb: Make SWIOTLB use IOMMU_INIT_* macros.
We utilize the IOMMU_INIT macros to create this dependency:
[pci_xen_swiotlb_detect]
|
...
| Aug 26, 4:29 pm 2010 |
| Konrad Rzeszutek Wilk | [PATCH 07/10] x86/calgary: Make Calgary IOMMU use IOMMU_ ...
We utilize the IOMMU_INIT macros to create this dependency:
[pci_xen_swiotlb_detect]
|
[pci_swiotlb_detect_override]
|
[pci_swiotlb_detect_4gb]
|
[detect_calgary]
Meaning that 'detect_calgary' is going to be called after
'pci_swiotlb_detect'.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
CC: Muli Ben-Yehuda <muli@il.ibm.com>
CC: "Jon D. Mason" <jdmason@kudzu.us>
CC: "Darrick J. Wong" <djwong@us.ibm.com>
CC: H. Peter ...
| Aug 26, 10:58 am 2010 |
| tip-bot for Konrad R ... | [tip:x86/iommu] x86, calgary: Make Calgary IOMMU use IOM ...
Commit-ID: d2aa232f3d0b5a3e22f91b736fe68eddcf0d5ea3
Gitweb: http://git.kernel.org/tip/d2aa232f3d0b5a3e22f91b736fe68eddcf0d5ea3
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
AuthorDate: Thu, 26 Aug 2010 13:58:02 -0400
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 15:14:15 -0700
x86, calgary: Make Calgary IOMMU use IOMMU_INIT_* macros.
We utilize the IOMMU_INIT macros to create this dependency:
[pci_xen_swiotlb_detect]
|
...
| Aug 26, 4:30 pm 2010 |
| tip-bot for Konrad R ... | [tip:x86/iommu] x86, xen-swiotlb: Make Xen-SWIOTLB use I ...
Commit-ID: 5cb3a267939a223eb84692d229569d2ef493d7ca
Gitweb: http://git.kernel.org/tip/5cb3a267939a223eb84692d229569d2ef493d7ca
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
AuthorDate: Thu, 26 Aug 2010 13:58:01 -0400
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 15:14:06 -0700
x86, xen-swiotlb: Make Xen-SWIOTLB use IOMMU_INIT_* macros.
We utilize the IOMMU_INIT macros to create this dependency:
[null]
|
...
| Aug 26, 4:29 pm 2010 |
| Konrad Rzeszutek Wilk | [PATCH 06/10] x86/xen-swiotlb: Make Xen-SWIOTLB use IOMM ...
We utilize the IOMMU_INIT macros to create this dependency:
[null]
|
[pci_xen_swiotlb_detect]
|
[pci_swiotlb_detect_override]
|
[pci_swiotlb_detect_4gb]
In other words, we set 'pci_xen_swiotlb_detect' to be
the first detection to be run during start.
CC: H. Peter Anvin <hpa@zytor.com>
CC: Fujita Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Konrad Rzeszutek Wilk ...
| Aug 26, 10:58 am 2010 |
| Konrad Rzeszutek Wilk | [PATCH 03/10] x86/iommu: Add proper dependency sort rout ...
We are using a very simple sort routine which sorts the .iommu_table
array in the order of dependencies. Specifically each structure
of iommu_table_entry has a field 'depend' which contains the function
pointer to the IOMMU that MUST be run before us. We sort the array
of structures so that the struct iommu_table_entry with no
'depend' field are first, and then the subsequent ones are the
ones for which the 'depend' function has been already invoked
(in other words, precede us).
Using the ...
| Aug 26, 10:57 am 2010 |
| tip-bot for Konrad R ... | [tip:x86/iommu] x86, iommu: Add proper dependency sort r ...
Commit-ID: 5bef80a4b826b9cee1c6aec7ecc371ec395260cc
Gitweb: http://git.kernel.org/tip/5bef80a4b826b9cee1c6aec7ecc371ec395260cc
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
AuthorDate: Thu, 26 Aug 2010 13:57:58 -0400
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 15:13:19 -0700
x86, iommu: Add proper dependency sort routine (and sanity check).
We are using a very simple sort routine which sorts the .iommu_table
array in the order of ...
| Aug 26, 4:28 pm 2010 |
| David Brownell | Re: [PATCH v2] gpio: Add driver for Anton GPIO controllers
I'm not sure about the precedent of putting
developer names in source.c and driver names...
start that, and everyone will want to follow!!
OK, so Linus started that one, arguably... :)
Not that I want to be naming this, but how
about a tweak to Alan's suggestion, keeping
the name technical?
"gpio_basic_mmio.c" ... or similar?
--
| Aug 26, 10:57 am 2010 |
| Anton Vorontsov | Re: [PATCH v2] gpio: Add driver for Anton GPIO controllers
On Thu, Aug 26, 2010 at 10:57:33AM -0700, David Brownell wrote:
I would agree yesterday, but now I tend to like
anton_gpio.c. :-D
You seemed to be fine with meaningless amba-9999
or dw_abc names, but now, when I propose such a
marvellous name, you seem to lean to a synonym of
an old one, the one that I used in v1? Wouldn't
it be a step backwards? :-)
Just kiding, of course. basic_mmio.c works for me.
I also think it makes sense to drop gpio_ prefix,
as the driver is already in gpio/ ...
| Aug 26, 2:20 pm 2010 |
| Maciej Rutecki | [REGRESSION] [2.6.36-rc2] hp-wmi: probe of hp-wmi failed ...
Last known good kernel: 2.6.35
Failing kernel: 2.6.36-rc1, 2.6.36-rc2
Dmesg says:
root@gumis:/home/maciek# dmesg | grep -i hp-wmi
[ 5.489731] hp-wmi: probe of hp-wmi failed with error -22
lsmod says, that wp-wmi module was loaded:
root@gumis:/home/maciek# lsmod | grep -i hp
hp_wmi 4637 0
rfkill 11448 5 bluetooth,cfg80211,hp_wmi
rfkill list shows:
root@gumis:/home/maciek/kernel.org/2.6.36-rc2# rfkill list
0: phy0: Wireless LAN
Soft blocked: ...
| Aug 26, 10:49 am 2010 |
| Matthew Garrett | Re: [REGRESSION] [2.6.36-rc2] hp-wmi: probe of hp-wmi fa ...
Should be fixed by a8ec105c0764c848d59f18a31f91fa00c99b2e7f
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| Aug 26, 10:54 am 2010 |
| Andreas | Re: rt61pci - bad performance
Ok, I tested this patch against the opensSuSE compat-wireless-2.6.35-1.
First of all, the problem with the wrong tx-power disappeared:
wlan0 IEEE 802.11bg ESSID:"...."
Mode:Managed Frequency:2.412 GHz Access Point: ...
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=36/70 Signal level=-74 dBm
Rx invalid nwid:0 Rx ...
| Aug 26, 10:36 am 2010 |
| Mel Gorman | Re: [PATCH 3/3] writeback: Do not congestion sleep when ...
Seems reasonable. Still, if there is no write IO going on and no
congestion there seems to be no point going to sleep for the full
timeout. It still feels wrong.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Aug 26, 1:23 pm 2010 |
| Mel Gorman | Re: [PATCH 3/3] writeback: Do not congestion sleep when ...
My bad. I need to check that "next write" thing. It doesn't appear to be
happening but maybe that side of things just broke somewhere in the
distant past. I lack context of how this is meant to work so maybe
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Aug 26, 10:42 am 2010 |
| Johannes Weiner | Re: [PATCH 3/3] writeback: Do not congestion sleep when ...
On every retired io request the congestion state on the bdi is checked
and the congestion waitqueue woken up.
So without congestion, we still only wait until the next write
retires, but without any IO, we sleep the full timeout.
Check __freed_requests() in block/blk-core.c.
--
| Aug 26, 11:17 am 2010 |
| Minchan Kim | Re: [PATCH 3/3] writeback: Do not congestion sleep when ...
--
Kind regards,
Minchan Kim
--
| Aug 26, 10:38 am 2010 |
| Alan Cox | Re: [PATCH] gpio: Add generic driver for simple memory m ...
Verilog ? Its far far more primitive than that. You'll find exactly that
arrangement in prehistoric 8bit micro support chips - eg the 6522. In
fact the only reason I can see for not using it on primitive 8bit micro
No they are implementing trivial common sense logic. It's a bit like
complaining we have multiple drivers that use addition.
I think you need a reality check. Its a VLSI undergraduate project level
device, or was back when they taught undergraduates a sampling of chip
design by ...
| Aug 26, 2:07 pm 2010 |
| David Brownell | Re: [PATCH] gpio: Add generic driver for simple memory m ...
If there are "zillions" that suggests the HW
engineers have version/naming issues just like
certain software engineers. Only goes to show
My suggestion was to use the name provided/used
by the hardware engineers. (E.g. whatever the
Verilog or VHDL equivalent of a module name is.)
So -- NO RENAME -- except for the driver.
If I understand you correctly, those engineers
are not reusing a named module; they are at best
just copying/pasting some Verilog/VHDL and ...
| Aug 26, 10:34 am 2010 |
| Mark Brown | Re: [PATCH] gpio: Add generic driver for simple memory m ...
Half the thing here is that it's barely IP - it's the sort of thing
that's so trivial to implement that it'd take more time to locate a
suitable IP than to just hook up the output pins to the register map
Essentially all this sort of GPIO controller is is a straight wire
through of a set of register bits to an output signal (especially if you
don't have a separate clear register). It's the first thing a hardware
engineer would think of for implementing this - it's not even copy and
paste ...
| Aug 26, 11:36 am 2010 |
| U Feng | [HELP] Not getting new mails from LKML any more.
Sorry to interrupt, but I (using another email account) subscribed to
this mailing list a couple of days ago, one day after that, I was not
getting new mails from it any more. The
FAQ:http://www.tux.org/lkml/#s3-15 gives no help. I wonder why this is
happening and what I can do to resume receiving messages.
Thanks
--
--
| Aug 26, 10:32 am 2010 |
| Randy Dunlap | Re: [HELP] Not getting new mails from LKML any more.
You want to send this to postmaster@vger.kernel.org (cc-ed).
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| Aug 26, 10:38 am 2010 |
| Minchan Kim | Re: [RFC PATCH 0/3] Do not wait the full timeout on cong ...
Suddenly, many processes could enter into the direct reclaim path by another
reason(ex, fork bomb) regradless of congestion. backing dev congestion is
just one of them.
I think if congestion_wait returns without calling io_schedule_timeout
by your patch, too_many_isolated can schedule_timeout to wait for the system's
calm to preventing OOM killing.
How about this?
If you don't mind, I will send the patch based on this patch series
after your patch settle down or Could you add this ...
| Aug 26, 10:20 am 2010 |
| Mel Gorman | Re: [RFC PATCH 0/3] Do not wait the full timeout on cong ...
More likely, to stop a loop in too_many_isolated() consuming CPU time it
I think the reasoning here might be a little off. How about;
If many processes enter direct reclaim or memory compaction, too many pages
can get isolated. In this situation, too_many_isolated() can call
congestion_wait() but if there is no congestion, it fails to go to sleep
and instead spins until it's quota expires.
This patch checks if congestion_wait() returned without sleeping. If it
did because there was no ...
| Aug 26, 10:31 am 2010 |
| Minchan Kim | Re: [RFC PATCH 0/3] Do not wait the full timeout on cong ...
I think the situation applys with this series. That's because old behavior was calling
schedule regardless of I/O congested as seeing io_schedule_timeout.
I thought it firstly but first of all, let's make sure how often this situation happens
--
Kind regards,
Minchan Kim
--
| Aug 26, 10:50 am 2010 |
| David Howells | [PATCH] Alpha: Fix a missing comma in sys_osf_statfs()
Fix a comma that got accidentally deleted from sys_osf_statfs() leading to the
following warning:
arch/alpha/kernel/osf_sys.c: In function 'SYSC_osf_statfs':
arch/alpha/kernel/osf_sys.c:255: error: syntax error before 'buffer'
Signed-off-by: David Howells <dhowells@redhat.com>
---
arch/alpha/kernel/osf_sys.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c
index fb58150..5d1e6d6 100644
--- ...
| Aug 26, 9:44 am 2010 |
| Matt Turner | Re: [PATCH] Alpha: Fix a missing comma in sys_osf_statfs()
Thanks, but Michael Cree already sent an identical patch. I've just
been slow to vacuum it up and send it on to Linus. I'll do this ASAP.
Matt
--
| Aug 26, 11:21 am 2010 |
| Jeffrey Carlyle | [PATCH] scatterlist: prevent invalid free when alloc fails
When alloc fails, free_table is being called. Depending on the number of
bytes requested, we determine if we are going to call _get_free_page()
or kmalloc(). When alloc fails, our math is wrong (due to sg_size - 1),
and the last buffer is wrongfully assumed to have been allocated by
kmalloc. Hence, kfree gets called and a panic occurs.
This fix sets the end marker and allows the proper freeing of the
buffers.
Signed-off-by: Olusanya Soyannwo <c23746@motorola.com>
Cc: Tejun Heo ...
| Aug 26, 9:04 am 2010 |
| Mark Hills | cgroup: rmdir() does not complete
I am experiencing hung tasks when trying to rmdir() on a cgroup. One task
spins, others queue up behind it with the following:
INFO: task soaked-cgroup:27257 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
soaked-cgrou D ffff8800058157c0 0 27257 29411 0x00000000
ffff88004ffffdd8 0000000000000086 ffff88004ffffda8 ffff88004ffffeb8
0000000000000010 ffff880119813780 ffff88004ffffd48 ffff88004fffffd8
ffff88004fffffd8 ...
| Aug 26, 8:51 am 2010 |
| David Brownell | Re: [PATCH] gpio: Add generic driver for simple memory m ...
email subject
Or patch description. It's neither
generic (IP-block-specific) nor simple.
It's not simple; I've seen far simpler GPIO
controllers.
Just rename it to match the IP block used.
That removes all confusion. Engineers will
be able to know more easily whether this
driver is even relevant to them.
An example might be "amba-9999 (a made-up
number, likely not matching a GPIO controller).
DesignWare drivers tend to use dw_* prefixes.
- Dave
--
| Aug 26, 9:22 am 2010 |
| Alan Cox | Re: [PATCH] gpio: Add generic driver for simple memory m ...
> Just rename it to match the IP block used.
There are zillions of IP blocks that have that interface, how exactly do
Not unless its got a name about 1000 characters long listing all the
What's wrong with a sensible generic name like gpio-mmio-table ?
Alan
--
| Aug 26, 9:48 am 2010 |
| Anton Vorontsov | [PATCH v2] gpio: Add driver for Anton GPIO controllers
The Anton GPIO controllers are not so complex controllers that may
be found in various on-board FPGAs that are used to control board's
switches, LEDs, chip-selects, Ethernet/USB PHY power, etc.
Usually these controllers do not privide any means of pin setup
(in/out/open drain).
The driver provides:
- Support for 8/16/32/64 bits registers;
- Support for GPIO controllers with clear/set registers;
- Support for GPIO controllers with a single "data" register;
- Support for big endian bits/GPIOs ...
| Aug 26, 10:26 am 2010 |
| Guenter Roeck | Re: [lm-sensors] [PATCH] hwmon: Add tempX_emergency to s ...
How about:
Temperature emergency max value, for chips supporting more than
two upper temperature limits. Must be equal or greater than
corresponding temp_crit values.
Unit: millidegree Celsius
RW
Guenter
--
| Aug 26, 10:51 am 2010 |
| Guenter Roeck | [PATCH] hwmon: Add tempX_emergency to sysfs ABI
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
---
tempX_emergency will be used by max6696. It can also be used for other chips
supporting three upper temperature limits.
Documentation/hwmon/sysfs-interface | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
index ff45d1f..1ceb2b9 100644
--- a/Documentation/hwmon/sysfs-interface
+++ b/Documentation/hwmon/sysfs-interface
@@ -310,6 ...
| Aug 26, 8:54 am 2010 |
| Henrique de Moraes H ... | Re: [lm-sensors] [PATCH] hwmon: Add tempX_emergency to s ...
If we have two-level alarms: critical, then emergency, it is best to have
that written down than to imply it by "typically greater than corresponding
temp_crit"...
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
| Aug 26, 9:10 am 2010 |
| Guenter Roeck | Re: [lm-sensors] [PATCH] hwmon: Add tempX_emergency to s ...
Do you have a better wording in mind ?
Guenter
--
| Aug 26, 10:08 am 2010 |
| Guenter Roeck | [PATCH] hwmon: Fix checkpatch errors in lm90 driver
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
---
The main rationale for this cleanup is to prepare the driver for adding max6696
support.
drivers/hwmon/lm90.c | 110 +++++++++++++++++++++++++++++++++----------------
1 files changed, 74 insertions(+), 36 deletions(-)
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c
index 760ef72..58a5605 100644
--- a/drivers/hwmon/lm90.c
+++ b/drivers/hwmon/lm90.c
@@ -387,8 +387,13 @@ static ssize_t set_temp8(struct device *dev, ...
| Aug 26, 8:54 am 2010 |
| Joe Perches | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
$ find -name TODO | wc -l
40
--
| Aug 26, 9:45 am 2010 |
| Joe Perches | Aug 26, 9:18 am 2010 | |
| Paul E. McKenney | [PATCH] MAINTAINERS: add U: for URL of todo list, add RC ...
Since T: and L: are already taken, add U: for URL of todo list.
Also add the RCU todo list to both the RCU and RCUTORTURE projects.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
diff --git a/MAINTAINERS b/MAINTAINERS
index 3f21c27..1c57186 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -103,6 +103,7 @@ Descriptions of section entries:
matches patches or files that contain one or more of the words
printk, pr_info or pr_err
One regex pattern per line. ...
| Aug 26, 8:45 am 2010 |
| rdunlap | Aug 26, 3:38 pm 2010 | |
| Joe Perches | [rfc] MAINTAINERS: Remove broken URLs
These W: links from MAINTAINERS seem dead.
Should they be ...
| Aug 26, 1:47 pm 2010 |
| Roland Dreier | Re: [rfc] MAINTAINERS: Remove broken URLs
> W: www.openib.org/
Should be replaced by www.openfabrics.org/
I'll queue up a patch.
- R.
--
| Aug 26, 1:49 pm 2010 |
| Dmitry Torokhov | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
TODO might disappear without implementation, if you decide that the idea
Yep, I do not want to be restricted to updating TODO during merge window
only as the changes to the list are not likely to count as bugfixes ;)
--
Dmitry
--
| Aug 26, 10:00 am 2010 |
| Paul E. McKenney | Re: [PATCH] MAINTAINERS: add U: for URL of todo list, ad ...
OK, how about the following, then?
Thanx, Paul
------------------------------------------------------------------------
commit 47d3177f3435e2600c98370dc07ed20a3a585c32
Author: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Date: Thu Aug 26 08:59:13 2010 -0700
MAINTAINERS: add RCU todo list
Add the RCU todo list to RCUTORTURE and RCU. Also add a note to
W: stating that it may be used for todo list information.
Signed-off-by: Paul E. McKenney ...
| Aug 26, 9:14 am 2010 |
| Jiri Kosina | Re: [PATCH] MAINTAINERS: add U: for URL of todo list, ad ...
While you are at it, I am aware at least of these additional ones:
http://vger.kernel.org/~davem/net_todo.html
http://wireless.kernel.org/en/developers/todo-list
https://ieee1394.wiki.kernel.org/index.php/To_Do
http://selinuxproject.org/page/Kernel_Development
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Aug 26, 8:51 am 2010 |
| Joe Perches | Re: [PATCH] MAINTAINERS: add U: for URL of todo list, ad ...
Hi Paul
I think W: already works perfectly well for this use.
From MAINTAINERS:
W: http://kernel.org/pub/linux/kernel/people/paulmck/rcutodo.html
--
| Aug 26, 8:51 am 2010 |
| Joe Perches | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
Those folk might be better playing/practicing/honing skills
in staging where there already are TODO files.
--
| Aug 26, 9:30 am 2010 |
| James Bottomley | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
Got to say I really think overloading W which means web page/status
information isn't a very good idea:
jejb@mulgrave:~/git/linux-2.6> grep -w 'W:' MAINTAINERS |wc -l
371
We already have ~400 of them ... how's anyone looking for a todo list
going to find the right one in amongst all the others (assuming a newbie
with no subject predisposition simply trying to find any todo list).
James
--
| Aug 26, 9:25 am 2010 |
| Randy Dunlap | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
Did you have an alternate suggestion?
Do you prefer a Grand Unified Todo List?
I don't mind the kernelnewbies list/location, but we need to give it
some TLC.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| Aug 26, 9:29 am 2010 |
| James Bottomley | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
New tag was fine ... kernelnewbies wiki is also fine. My point is that
if we're going to put them somewhere, lets make it obvious, not a find
I already gave my opinion on that ...
--
| Aug 26, 9:34 am 2010 |
| Sarah Sharp | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
That may not be the case if you use a public todo list on
rememberthemilk.com. It doesn't make sense to end multiple todo list
names with "todo" for on site that's specifically designed to help with
todo lists.
I like the idea of a separate letter for todo lists URLs.
Sarah Sharp
--
| Aug 26, 4:00 pm 2010 |
| Justin P. Mattock | Re: [rfc] MAINTAINERS: Remove broken URLs
this is changed to http://kernelnewbies.org/KernelJanitors
Ill send out a patch if youd like, and/or you got it already..
Justin P. Mattock
--
| Aug 26, 3:28 pm 2010 |
| Joe Perches | [PATCH] MAINTAINERS: add W: todo lists
Also renamed NETWORKING patch queue from "W:" to "Q:"
Signed-off-by: Joe Perches <joe@perches.com>
---
MAINTAINERS | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index a1df54b..3d29d8c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2346,6 +2346,7 @@ FIREWIRE SUBSYSTEM
M: Stefan Richter <stefanr@s5r6.in-berlin.de>
L: linux1394-devel@lists.sourceforge.net
...
| Aug 26, 9:03 am 2010 |
| Paul E. McKenney | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
Hopefully the todo lists have "todo" or "TODO" in the URL. ;-)
Thanx, Paul
--
| Aug 26, 9:50 am 2010 |
| Arjan van de Ven | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
On Thu, 26 Aug 2010 09:29:23 -0700
I have to say that I'm not yet convinced that keeping a todo list in a
place that's not with the actual source code does not give me warm
fuzzy feelings. Every time we've kept information about the source code
separate from our source code it's been a failure; it gets out of sync
fast and it just adds to the maintenance.
A git commit that both fixes an issue and removed the line from the
todo file (or moves it to a "done" section, whatever) is the ...
| Aug 26, 9:38 am 2010 |
| Jiri Kosina | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
I still feel that if maintainer is willing to keep TODO list on web for
whatever reason (hyperlinks, nice tables, images, whatever), then he
should be free to do so.
The U: (or whatever) tag in MAINTAINERS file still could point to file in
the actual sources, in cases maintainer choses to have the list there, of
course.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Aug 26, 9:42 am 2010 |
| Joe Perches | Re: [rfc] MAINTAINERS: Remove broken URLs
I don't have a tree that gets pulled.
Andrew Morton generally picks up MAINTAINERS fixes.
--
| Aug 26, 3:37 pm 2010 |
| Paul E. McKenney | Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
So do I! ;-)
Another option for URLs not containing "todo" or "TODO" is something like:
W: rememberthemilk.com (todo)
I suspect that most people would know not to include " (todo)" in
the string they fed to their browser.
Seem reasonable?
Thanx, Paul
--
| Aug 26, 4:23 pm 2010 |
| Justin P. Mattock | Re: [rfc] MAINTAINERS: Remove broken URLs
alright.. I sent it out to trivial.. if they want it's it there..
Justin P. Mattock
--
| Aug 26, 3:45 pm 2010 |
| Minchan Kim | [PATCH v2] compaction: fix COMPACTPAGEFAILED counting
Now update_nr_listpages doesn't have a role. That's because
lists passed is always empty just after calling migrate_pages.
The migrate_pages cleans up page list which have failed to migrate
before returning by aaa994b3.
[PATCH] page migration: handle freeing of pages in migrate_pages()
Do not leave pages on the lists passed to migrate_pages(). Seems that we will
not need any postprocessing of pages. This will simplify the handling of
pages by the callers of migrate_pages().
At that ...
| Aug 26, 8:43 am 2010 |
| Minchan Kim | [PATCH v2] compaction: handle active and inactive fairly ...
Iram reported compaction's too_many_isolated loops forever.
(http://www.spinics.net/lists/linux-mm/msg08123.html)
The meminfo of situation happened was inactive anon is zero.
That's because the system has no memory pressure until then.
While all anon pages was in active lru, compaction could select
active lru as well as inactive lru. That's a different thing
with vmscan's isolated. So we has been two too_many_isolated.
While compaction can isolated pages in both active and inactive,
current ...
| Aug 26, 8:40 am 2010 |
| Mark Stanovich | [PATCH] i915: build error
Not sure if I put the select VGA_ARB in the correct order for the Kconfig file.
When building 2.6.36-rc2, the following error occurs:
ERROR: "vga_get" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "vga_put" [drivers/gpu/drm/i915/i915.ko] undefined!
make[1]: *** [__modpost] Error 1
This is due to commit 9cce37f4855a30cc7c364edf18522282782f7ddc
which adds a use of function vga_put and vga_get in
drivers/gpu/drm/i915/intel_display.c. vga_put and vga_get are is
defined in file ...
| Aug 26, 8:38 am 2010 |
| Mel Gorman | [PATCH 2/3] writeback: Record if the congestion was unne ...
If congestion_wait() is called when there is no congestion, the caller
will wait for the full timeout. This can cause unreasonable and
unnecessary stalls. There are a number of potential modifications that
could be made to wake sleepers but this patch measures how serious the
problem is. It keeps count of how many congested BDIs there are. If
congestion_wait() is called with no BDIs congested, the tracepoint will
record that the wait was unnecessary.
Signed-off-by: Mel Gorman ...
| Aug 26, 8:14 am 2010 |
| Mel Gorman | Re: [PATCH 2/3] writeback: Record if the congestion was ...
There is a possibility that the behaviour in that case was due to flusher
threads doing the writes rather than direct reclaim queueing pages for IO
in an inefficient manner. So the stall is stupid but happens to work out
Unfortunately, I strongly suspect that some of the desktop stalls seen during
IO (one of which involved no writes) were due to calling congestion_wait
and waiting the full timeout where no writes are going on.
It gets potentially worse too. Lets say we have a system with ...
| Aug 26, 1:31 pm 2010 |
| Johannes Weiner | Re: [PATCH 2/3] writeback: Record if the congestion was ...
I am not convinced that unnecessary is the right word. On a workload
without any IO (i.e. no congestion_wait() necessary, ever), I noticed
the VM regressing both in time and in reclaiming the right pages when
simply removing congestion_wait() from the direct reclaim paths (the
one in __alloc_pages_slowpath and the other one in
do_try_to_free_pages).
So just being stupid and waiting for the timeout in direct reclaim
while kswapd can make progress seemed to do a better job for that
load.
I ...
| Aug 26, 11:29 am 2010 |
| Mel Gorman | Re: [PATCH 2/3] writeback: Record if the congestion was ...
Not whole backing devs, all backing devs. This is intentional.
If congestion_wait() is called with 0 BDIs congested, we sleep the full timeout
because a wakeup event will not occur - this is a bad scenario. To know if
0 BDIs were congested, one could either walk all the BDIs checking their
status or maintain a counter like nr_bdi_congested which is what I decided on.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick ...
| Aug 26, 10:41 am 2010 |
| Minchan Kim | Re: [PATCH 2/3] writeback: Record if the congestion was ...
Hmm.. Now congestion_wait's semantics "wait for _a_ backing_dev to become uncongested"
But this seems to consider whole backing dev. Is your intention? or Am I missing now?
--
Kind regards,
Minchan Kim
--
| Aug 26, 10:35 am 2010 |
| Mel Gorman | [PATCH 1/3] writeback: Account for time spent congestion ...
There is strong evidence to indicate a lot of time is being spent in
congestion_wait(), some of it unnecessarily. This patch adds a
tracepoint for congestion_wait to record when congestion_wait() occurred
and how long was spent.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
---
include/trace/events/writeback.h | 17 +++++++++++++++++
mm/backing-dev.c | 4 ++++
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/include/trace/events/writeback.h ...
| Aug 26, 8:14 am 2010 |
| Johannes Weiner | Re: [PATCH 1/3] writeback: Account for time spent conges ...
Reviewed-by: Johannes Weiner <hannes@cmpxchg.org>
--
| Aug 26, 11:10 am 2010 |
| Minchan Kim | Re: [PATCH 1/3] writeback: Account for time spent conges ...
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
I think that's enough to add tracepoint until solving this issue at least.
--
Kind regards,
Minchan Kim
--
| Aug 26, 10:23 am 2010 |
| David Howells | [PATCH] NOMMU: Stub out vm_get_page_prot() if there's no MMU
Stub out vm_get_page_prot() if there's no MMU.
This was added by commit:
commit 804af2cf6e7af31d2e664b54e657dddd9b531dbd
Author: Hugh Dickins <hugh@veritas.com>
Date: Wed Jul 26 21:39:49 2006 +0100
Subject: [AGPGART] remove private page protection map
and is used in commit:
commit c07fbfd17e614a76b194f371c5331e21e6cffb54
Author: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Date: Tue Aug 10 18:02:45 2010 -0700
Subject: fbmem: VM_IO set, but not propagated
in the fbmem video ...
| Aug 26, 8:00 am 2010 |
| Borislav Petkov | [PATCH] i915, drm: Fix build dependency on VGA_ARB
I get:
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `intel_modeset_init':
(.text+0xa993f): undefined reference to `vga_get'
drivers/built-in.o: In function `intel_modeset_init':
(.text+0xa9963): undefined reference to `vga_put'
make: *** [.tmp_vmlinux1] Error 1
since CONFIG_AGB_ARB is not being selected. Make I915 driver select it
as the numerous other things it selects.
Signed-off-by: Borislav Petkov <bp@alien8.de>
---
This is on latest Linus git ...
| Aug 26, 7:59 am 2010 |
| Stephane Eranian | [PATCH] perf_events: fixing time tracking for event with ...
Per-thread events with a cpu filter, i.e., cpu != -1, were not reporting
correct timings when the thread never ran on the monitored cpu. The time
enabled was reported as a negative value.
This patch fixes the problem by updating tstamp_stopped, tstamp_running
in event_sched_out() for events with filters and which are marked as
INACTIVE.
The function group_sched_out() is modified to systematically call into
event_sched_out() to avoid duplicating the timing adjustment code twice.
With the ...
| Aug 26, 7:40 am 2010 |
| David Howells | Re: [Uclinux-dist-devel] [PATCH 2/7] Blackfin: Don't red ...
Can you give it to me to apply to my patchset in place of this one?
David
--
| Aug 26, 1:02 pm 2010 |
| Mike Frysinger | Re: [Uclinux-dist-devel] [PATCH 2/7] Blackfin: Don't red ...
we've got a local patch doing pretty much the same thing, but it's
waiting on driver patches being applied. so once those are all set, i
can push up the Blackfin one.
-mike
--
| Aug 26, 12:38 pm 2010 |
| David Howells | [PATCH 1/7] Blackfin: Split PLL code from mach-specific ...
Split the PLL control code from the Blackfin machine-specific cdef headers so
that the irqflags functions can be renamed without incurring a header loop.
Signed-off-by: David Howells <dhowells@redhat.com>
---
.../mach-bf518/include/mach/cdefBF51x_base.h | 50 --------------
arch/blackfin/mach-bf518/include/mach/pll.h | 63 ++++++++++++++++++
.../mach-bf527/include/mach/cdefBF52x_base.h | 50 --------------
arch/blackfin/mach-bf527/include/mach/pll.h | 63 ...
| Aug 26, 7:11 am 2010 |
| David Howells | [PATCH 5/7] Blackfin: Add missing dep to asm/irqflags.h
Add a missing dependency (mach/blackfin.h) to asm/irqflags.h so that
bfin_read_IMASK() can be used by inline functions.
Signed-off-by: David Howells <dhowells@redhat.com>
---
arch/blackfin/include/asm/irqflags.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/arch/blackfin/include/asm/irqflags.h b/arch/blackfin/include/asm/irqflags.h
index 813a1af..f3ed931 100644
--- a/arch/blackfin/include/asm/irqflags.h
+++ b/arch/blackfin/include/asm/irqflags.h
@@ -8,6 ...
| Aug 26, 7:11 am 2010 |
| David Howells | [PATCH 2/7] Blackfin: Don't redefine blackfin serial por ...
Various Blackfin machine-specific headers override Blackfin serial port
symbols from the <asm/bfin_sport.h> header file with exactly the same values.
Remove the duplicates in favour of the master header.
Signed-off-by: David Howells <dhowells@redhat.com>
---
arch/blackfin/include/asm/bfin_sport.h | 16 +++++
arch/blackfin/mach-bf533/include/mach/defBF532.h | 27 ---------
.../mach-bf548/include/mach/defBF54x_base.h | 59 +-------------------
...
| Aug 26, 7:11 am 2010 |
| David Howells | [PATCH 4/7] Blackfin: Rename DES PC2() symbol to avoid c ...
Rename the PC2() symbol in the generic DES crypto module to be prefixed with
DES_ to avoid collision with arch code (Blackfin in this case).
Signed-off-by: David Howells <dhowells@redhat.com>
---
crypto/des_generic.c | 130 +++++++++++++++++++++++++-------------------------
1 files changed, 65 insertions(+), 65 deletions(-)
diff --git a/crypto/des_generic.c b/crypto/des_generic.c
index 249f903..873818d 100644
--- a/crypto/des_generic.c
+++ b/crypto/des_generic.c
@@ -614,7 +614,7 @@ ...
| Aug 26, 7:11 am 2010 |
| David Howells | [PATCH 6/7] Blackfin: Rename IRQ flags handling functions
Rename h/w IRQ flags handling functions to be in line with what is expected for
the irq renaming patch. This renames local_*_hw() to hard_local_*() using the
following perl command:
perl -pi -e 's/local_irq_(restore|enable|disable)_hw/hard_local_irq_\1/ or s/local_irq_save_hw([_a-z]*)[(]flags[)]/flags = hard_local_irq_save\1()/' `find arch/blackfin/ -name "*.[ch]"`
and then fixing up asm/irqflags.h manually.
Additionally, arch/hard_local_save_flags() and arch/hard_local_irq_save() ...
| Aug 26, 7:11 am 2010 |
| David Howells | [PATCH 7/7] Fix IRQ flag handling naming
Fix the IRQ flag handling naming. In linux/irqflags.h under one configuration,
it maps:
local_irq_enable() -> raw_local_irq_enable()
local_irq_disable() -> raw_local_irq_disable()
local_irq_save() -> raw_local_irq_save()
...
and under the other configuration, it maps:
raw_local_irq_enable() -> local_irq_enable()
raw_local_irq_disable() -> local_irq_disable()
raw_local_irq_save() -> local_irq_save()
...
This is quite confusing. There should be one set of names expected of ...
| Aug 26, 7:11 am 2010 |
| David Howells | [PATCH 3/7] Blackfin: Split the BF532 BFIN_*_FIO_FLAG() ...
Split the BF532 machine type BFIN_*_FIO_FLAG() functions to their own header
file to avoid circular #include problems as these functions require IRQ flag
handling, which requires asm/blackfin.h, which otherwise requires the header
file that defines these functions.
For good measure, also get rid of the inclusion of asm/blackfin.h from
mach/cdefBF532.h (which is circular) and defBF532.h (which is included by
asm/blackfin.h before including this header).
Signed-off-by: David Howells ...
| Aug 26, 7:11 am 2010 |
| David Howells | [PATCH 0/7] Name the irq flag handling functions sanely
[Note that this patch only alters X86, FRV, MN10300, ARM and Blackfin at the
moment. The other arches will need altering too as part of this patch].
The final patch of the series makes the naming of the general irq flag
functions sane.
Currently, under one configuration, linux/irqflags.h maps:
local_irq_enable() -> raw_local_irq_enable()
local_irq_disable() -> raw_local_irq_disable()
local_irq_save() -> raw_local_irq_save()
...
and under the other configuration, it ...
| Aug 26, 7:14 am 2010 |
| Thomas Gleixner | Re: [PATCH 7/7] Fix IRQ flag handling naming
Acked-by: Thomas Gleixner <tglx@linutronix.de>
--
| Aug 26, 9:00 am 2010 |
| Mike Frysinger | Re: [Uclinux-dist-devel] [PATCH 4/7] Blackfin: Rename DE ...
unfortunately this is one Blackfin define we cant easily hide away in
a peripheral-specific header and avoid global namespace pollution. it
represents a pin that can be used across different peripherals.
so it'd be nice if the crypto/ guys took this change :)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-mike
--
| Aug 26, 12:40 pm 2010 |
| Borislav Petkov | [GIT PULL] amd64_edac updates for 2.6.36-rc3
From: Borislav Petkov <borislav.petkov@amd.com>
Hi Linus,
please pull the following MCE reporting fixes below.
I'm sending the patches too, for reference, the respective commit
messages contain more info.
Thanks.
The following changes since commit 76be97c1fc945db08aae1f1b746012662d643e97:
Linux 2.6.36-rc2 (2010-08-22 17:43:29 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git for-linus
Borislav Petkov (2):
MCE, AMD: ...
| Aug 26, 7:06 am 2010 |
| Borislav Petkov | [PATCH 2/2] amd64_edac: Do not report error overflow as ...
From: Borislav Petkov <borislav.petkov@amd.com>
When the Overflow MCi_STATUS bit is set, EDAC reports the lost error
with a "no information available" message which often puzzles users
parsing the dmesg. This doesn't make much sense since this error has
been lost anyway so no need for reporting it separately. Thus, report
the overflow bit setting in the MCE dump instead. While at it, remove
reporting of MiscV and ErrorEnable (en) which are superfluous.
Now it looks like this:
[ ...
| Aug 26, 7:06 am 2010 |
| Borislav Petkov | [PATCH 1/2] MCE, AMD: Limit MCE decoding to current fami ...
From: Borislav Petkov <borislav.petkov@amd.com>
Limit MCE error decoding to current and older families only (K8-F11h).
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
---
drivers/edac/edac_mce_amd.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/edac/edac_mce_amd.c b/drivers/edac/edac_mce_amd.c
index bae9351..352dcc6 100644
--- a/drivers/edac/edac_mce_amd.c
+++ b/drivers/edac/edac_mce_amd.c
@@ -426,11 +426,15 @@ static struct ...
| Aug 26, 7:06 am 2010 |
| steiner | [Patch 00/25] GRU - GRU Updates - Production Driver
This patch set contains a collection of patches to the SGI UV GRU
driver. These patches fix various bugs found in the testing
of the driver on real hardware.
No changes are made to non-UV files.
--
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 11/25] GRU - interrupt fix for processors without ...
From: Jack Steiner <steiner@sgi.com>
GRU interrupts for the kernel context are targeted to core 0
of the lowest socket on the blade.
Fix an endcase for 6-socket processors that do not have a
APICID for core 0. (There are potentially 8 cores in the
socket. A 6 core socket has 2 cores disabled. If core 0 was
disabled, the old code did not work).
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grumain.c | 2 +-
1 file changed, 1 insertion(+), 1 ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 15/25] GRU - reorder interrupt processing
From: Jack Steiner <steiner@sgi.com>
Reorder the servicing of CBR completion interrupts & TLB miss interrupts.
There is a small performance gain to service TLB misses first. Completion
interrupts are rare.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grufault.c | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
Index: linux/drivers/misc/sgi-gru/grufault.c
===================================================================
--- ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 16/25] GRU - add refcnt to vdata structure
From: Jack Steiner <steiner@sgi.com>
The GRU vdata structure must have a reference count.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grufile.c | 21 +++++++++++++++++++--
drivers/misc/sgi-gru/grumain.c | 1 +
drivers/misc/sgi-gru/gruprocfs.c | 1 +
drivers/misc/sgi-gru/grutables.h | 2 ++
4 files changed, 23 insertions(+), 2 deletions(-)
Index: ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 01/25] GRU - delete obsolete gru instruction opcodes
From: Jack Steiner <steiner@sgi.com>
Update the GRU instruction macros to match what is actually
implemented in initial silicon.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/gru_instructions.h | 2 --
1 file changed, 2 deletions(-)
Index: linux/drivers/misc/sgi-gru/gru_instructions.h
===================================================================
--- linux.orig/drivers/misc/sgi-gru/gru_instructions.h 2010-06-09 08:11:31.528038315 -0500
+++ ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 23/25] GRU - update driverr version
From: Jack Steiner <steiner@sgi.com>
Update the GRU driver version to 1.0.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grutables.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/drivers/misc/sgi-gru/grutables.h
===================================================================
--- linux.orig/drivers/misc/sgi-gru/grutables.h 2010-06-09 08:11:46.307537752 -0500
+++ linux/drivers/misc/sgi-gru/grutables.h 2010-06-09 08:11:50.819414779 ...
| Aug 26, 6:20 am 2010 |
| steiner | [Patch 13/25] GRU - delete obsolete debug code
From: Jack Steiner <steiner@sgi.com>
SGI UV driver. Delete some debug code that has outlived it's usefullness.
The code is not part of a supported API
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grufile.c | 25 -------------------------
drivers/misc/sgi-gru/grulib.h | 3 ---
2 files changed, 28 deletions(-)
Index: linux/drivers/misc/sgi-gru/grufile.c
===================================================================
--- ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 18/25] GRU - contexts must contain cbrs
From: Jack Steiner <steiner@sgi.com>
Don't allow users to create GRU contexts with 0 CBRs. This does
not make sense & is not allowed by the chiplet. The chiplet will flag this
as an error and fail to allocate the context.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grufile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/drivers/misc/sgi-gru/grufile.c
===================================================================
--- ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 17/25] GRU - no panic on gru malfunction
From: Jack Steiner <steiner@sgi.com>
If the GRU malfunctions, print a message instead of panicing the system.
This simplifies debugging since some of the debug tools can be used on
a live system. Flush the cache on instruction timeouts in case the
malfunction is related to a coherency issue (never seen this but I'm paranoid).
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/gruhandles.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 14/25] GRU - add polling for tlb misses
From: Jack Steiner <steiner@sgi.com>
Currently, the GRU driver processes TLB misses by sending an interrupt to the cpu.
The TLB is updated from the interrupt handler.
Some workloads have unused cpus. This patch (still experimental) uses idle
cpus to poll for TLB misses. When a miss occurs, the TLB is updated directly
w/o having to send interrupts to the cpu.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/gru.h | 1
drivers/misc/sgi-gru/grufault.c | ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 22/25] GRU - gru api cleanup
From: Jack Steiner <steiner@sgi.com>
Header file cleanup & reorganization. A variant of the gru_instructions.h
header file is part of the user API. Move items that are NOT part of the
user API from this header file to internal header files.
- move the CBX definition
- move the exception retrybits
- remove the option for mapped/unmapped mode from the
instruction macros. Users always run in mapped mode; the
kernel always runs in ummapped mode. This option does not
need to an ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 10/25] GRU - eliminate gru contention on mmap_sem
From: Jack Steiner <steiner@sgi.com>
Rework the way the mmap_sem is used by the GRU driver. The old code
had a few pathes that acquired the lock for write. By changing
the place that the mmu_notifier was allocated/freed, the mmap_sem
is no longer acquired for write. This eliminates some contention on the lock
and improves performance of threaded tests that use the gru.
This also eliminates an endcase where zap_vma_range() could be called without
holding the mmap_sem .
Signed-off-by: Jack ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 06/25] GRU - change context stealing
From: Jack Steiner <steiner@sgi.com>
This patch substantially reworks the way the GRU driver steals
contexts from users in order to use the GRU resources for kernel use.
The new version fixes some ugly locking bugs and is overall more efficient.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grufault.c | 2
drivers/misc/sgi-gru/grukservices.c | 271 +++++++++++++++++-------------------
drivers/misc/sgi-gru/gruprocfs.c | 12 +
...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 08/25] GRU - flush gru tlb when driver is loaded
From: Jack Steiner <steiner@sgi.com>
Flush the GRU TLB when the GRU driver is loaded. There may be stale
entries in the TLB if a previous GRU was unloaded since the system
was last reset.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grutlbpurge.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux/drivers/misc/sgi-gru/grutlbpurge.c
===================================================================
--- ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 09/25] GRU - add software reserved bits to cbr de ...
From: Jack Steiner <steiner@sgi.com>
The GRU hardware has reserved a few bits for software use.
Add these "software reserved" fields to the structure definitions.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/gru_instructions.h | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
Index: linux/drivers/misc/sgi-gru/gru_instructions.h
===================================================================
--- ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 20/25] GRU - add gsh information to gru dumps
From: Jack Steiner <steiner@sgi.com>
Add support for dumpping the GRU GSH state. This provides addition debugging information
for GRU failures.
Add missing cache flush instructions. For performance reasons, the CBE does not
alway maintain cache-coherency.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grukdump.c | 17 ++++++++++++++++-
drivers/misc/sgi-gru/grulib.h | 2 ++
2 files changed, 18 insertions(+), 1 deletion(-)
Index: ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 25/25] GRU - update cbrstate definitions
From: Jack Steiner <steiner@sgi.com>
Update the CBRSTATE definitions to match what was actually
implemented in hardware.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/gruhandles.h | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Index: linux/drivers/misc/sgi-gru/gruhandles.h
===================================================================
--- linux.orig/drivers/misc/sgi-gru/gruhandles.h 2010-07-19 10:25:57.000000000 -0500
+++ ...
| Aug 26, 6:20 am 2010 |
| steiner | [Patch 02/25] GRU - skip gru tlb purging of gru contexts:w
From: Jack Steiner <steiner@sgi.com>
Skip purging the GRU TLB if the purge request is for the GRU
itself. The driver will not create TLB mappings for vmas
that map the GRU address space. Purging them is unnecessary.
This is only an optimization and is not functionally required. However, if
GRU resources are oversubscribed (unusual except for stress tests),
purging can be frequent.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grufault.c | 8 ++++----
...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 12/25] GRU - add gru hub number to context status
From: Jack Steiner <steiner@sgi.com>
Add the GRU hub number to the output of the GRU cch_status &
gru_status files (in /proc/sgi_uv/gru).
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/gruprocfs.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Index: linux/drivers/misc/sgi-gru/gruprocfs.c
===================================================================
--- linux.orig/drivers/misc/sgi-gru/gruprocfs.c 2010-06-09 08:11:42.456084620 ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 05/25] GRU - cbe cache flush
From: Jack Steiner <steiner@sgi.com>
In some cases, for performance reasons flushing the SGI GRU cbe
needs to dirty the cacheline before doing the cacheline flush. This ensures
that the dirty cacheline actually goes back to the caching home agent.
Update a reserved field in the CBE instead of a field that might be used. This
_should_ not be required (dirtying any field should be ok) but early
silicon has an issue here.
Note that flushing the CL is not a requirement - only a performance ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 21/25] GRU - delete unused gru statistics structure
From: Jack Steiner <steiner@sgi.com>
Delete unused structure that was left over from debugging.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/gru.h | 15 ---------------
1 file changed, 15 deletions(-)
Index: linux/drivers/misc/sgi-gru/gru.h
===================================================================
--- linux.orig/drivers/misc/sgi-gru/gru.h 2010-06-09 08:11:45.375993599 -0500
+++ linux/drivers/misc/sgi-gru/gru.h 2010-06-09 08:11:48.856038221 ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 03/25] GRU - update gru tlb miss statistics
From: Jack Steiner <steiner@sgi.com>
Update the GRU TLB dropin statistics. Add counts to indicate
number of TLB miss interrupts and a separate count of TLB
entries actually written. Also minor code cleanup of the TLB fault path.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/gru.h | 3 ++-
drivers/misc/sgi-gru/grufault.c | 33 +++++++++++++++++++++++++--------
drivers/misc/sgi-gru/gruprocfs.c | 1 +
drivers/misc/sgi-gru/grutables.h | 1 +
4 ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 24/25] GRU - rename gru pagesize defines
From: Jack Steiner <steiner@sgi.com>
Change the name of GRU_GSEG_PAGESIZE to GRU_MIN_GSEG_PAGESIZE
to more accurately reflect it's use. This is in preparation for
allocating contexts using hugepages.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/gru.h | 10 ++--------
drivers/misc/sgi-gru/gru_instructions.h | 2 +-
2 files changed, 3 insertions(+), 9 deletions(-)
Index: ...
| Aug 26, 6:20 am 2010 |
| steiner | [Patch 04/25] GRU - mmap gru contexts using nonlinear
From: Jack Steiner <steiner@sgi.com>
Add VM_NONLINEAR to the vm_flags used to map the GRU.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grufile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/drivers/misc/sgi-gru/grufile.c
===================================================================
--- linux.orig/drivers/misc/sgi-gru/grufile.c 2010-06-09 08:11:39.751457793 -0500
+++ linux/drivers/misc/sgi-gru/grufile.c 2010-06-09 ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 19/25] GRU - update debug messages and comments
From: Jack Steiner <steiner@sgi.com>
Misc clean:
- update debug messages
- update stale comments in the code
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/grufault.c | 1 -
drivers/misc/sgi-gru/grukservices.h | 3 +--
drivers/misc/sgi-gru/grulib.h | 1 -
drivers/misc/sgi-gru/grumain.c | 26 +++++++++++++-------------
drivers/misc/sgi-gru/grutlbpurge.c | 1 -
5 files changed, 14 insertions(+), 18 deletions(-)
Index: ...
| Aug 26, 6:19 am 2010 |
| steiner | [Patch 07/25] GRU - add context lock flag to gru status
From: Jack Steiner <steiner@sgi.com>
Add a flag to the GRU cch_status file to indicate if the cch is locked.
This is useful for debugging.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/gruprocfs.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Index: linux/drivers/misc/sgi-gru/gruprocfs.c
===================================================================
--- linux.orig/drivers/misc/sgi-gru/gruprocfs.c 2010-06-09 08:11:42.043954832 ...
| Aug 26, 6:19 am 2010 |
| Sergei Shtylyov | Re: [PATCH] mips: irq: add stackoverflow detection
Hello.
You've dropped call check_stack_overflow() call in do_IRQ() -- was that
intentional?
WBR, Sergei
--
| Aug 26, 12:00 pm 2010 |
| Adam Jiang | [PATCH] mips: irq: add stackoverflow detection
Add stackoverflow detection to mips arch
---
arch/mips/Kconfig.debug | 7 +++++++
arch/mips/kernel/irq.c | 19 +++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug
index 43dc279..f1a00a2 100644
--- a/arch/mips/Kconfig.debug
+++ b/arch/mips/Kconfig.debug
@@ -67,6 +67,13 @@ config CMDLINE_OVERRIDE
Normally, you will choose 'N' here.
+config DEBUG_STACKOVERFLOW
+ bool "Check for stack ...
| Aug 26, 6:19 am 2010 |
| Adam Jiang | Re: [PATCH] mips: irq: add stackoverflow detection
Of course NO. It is awful, I have say.
I spent a lot of time to struggle with git yesterday. When I revised the
coding style problem and tried to format-patch to master branch, then I
got 2 patches but not all in one. How could I rebase my working copy and
get an all-in-one patch of this?
I tried to revert my commit and redo this patch, then I lost to calling
it in do_IRQ();
Best regards,
--
| Aug 26, 4:30 pm 2010 |
| Dongdong Deng | [PATCH] perf: fix possible divide-by-zero in perf_sweven ...
The event->hw.last_period is possible to zero, thus it will
cause divide_by_zero later in perf_swevent_set_period().
This patch checks event->hw.last_period before invoke
perf_swevent_set_period() and replaces "event->hw" with "hwc".
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
---
kernel/perf_event.c | ...
| Aug 26, 5:07 am 2010 |
| DDD | Re: [PATCH] perf: fix possible divide-by-zero in perf_sw ...
When I am running the kgdbts to test the hw_breakpoint_layer with kgdb,
I get a call trace as following and this problem is hardly to reproduce.
Maybe the root cause was from kgdb/hw_breakpoint_layer,
but add a checking is good to us and harmless. :-)
Thanks,
Dongdong
------------[ cut here ]------------
WARNING: at /buildarea/ddeng/build/linux/drivers/misc/kgdbts.c:703
run_simple_test+0x1fc/0x2a0()
Hardware name: Moon Creek platform
Modules linked in:
Pid: 668, comm: sh Tainted: ...
| Aug 26, 5:36 am 2010 |
| Peter Zijlstra | Re: [PATCH] perf: fix possible divide-by-zero in perf_sw ...
Yeah, I think there's a bug in the hw_breakpoint stuff, does something
Except that code path is already too bloated and should be reduced not
added to and conditionals are expensive.
---
kernel/hw_breakpoint.c | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/kernel/hw_breakpoint.c b/kernel/hw_breakpoint.c
index d71a987..f57ebee 100644
--- a/kernel/hw_breakpoint.c
+++ b/kernel/hw_breakpoint.c
@@ -600,9 +600,20 @@ static int __init ...
| Aug 26, 5:58 am 2010 |
| Peter Zijlstra | Aug 26, 5:12 am 2010 | |
| Hendrik Brueckner | [PATCH v2 0/2] initramfs: Cleanup and fix initramfs size ...
Done ;-)
The first patch in this series introduces a common initramfs_data.S file
that is shared by the compression variants. The second patch adds the new
initramfs size calculation proposed in the initial patch.
See the patch description for more details.
Kind regards,
Hendrik
--
| Aug 26, 4:41 am 2010 |
| Hendrik Brueckner | [PATCH v2 1/2] initramfs: Generalize initramfs_data.xxx. ...
Remove initramfs_data.{lzo,lzma,gz,bz2}.S variants and use a common
implementation in initramfs_data.S. The common implementation expects
the file name of the initramfs to be defined in INITRAMFS_IMAGE.
Change the Makefile to set the INITRAMFS_IMAGE define symbol according
to the selected compression method.
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
---
usr/Makefile | 6 ++++--
usr/initramfs_data.S | 5 +++--
usr/initramfs_data.bz2.S | 29 ...
| Aug 26, 4:41 am 2010 |
| Hendrik Brueckner | [PATCH v2 2/2] initramfs: Fix initramfs size calculation
The size of a built-in initramfs is calculated in init/initramfs.c by
"__initramfs_end - __initramfs_start". Those symbols are defined in the
linker script include/asm-generic/vmlinux.lds.h:
#define INIT_RAM_FS \
. = ALIGN(PAGE_SIZE); \
VMLINUX_SYMBOL(__initramfs_start) = .; \
*(.init.ramfs) \
...
| Aug 26, 4:41 am 2010 |
| divya | Power machines fail to boot after build being successful
Hi,
After successfully building the kernel version 2.6.36-rc2-git4(commitid d4348c678977c) with the config file attached(used make oldconfig),
P5 and P6 power machines fails to reboot with the following logs
Logs collected while rebooting into today next, same occurs with the upstream kernel too.
Please wait, loading kernel...
Allocated 01a00000 bytes for kernel @ 03500000
Elf64 kernel loaded...
Loading ramdisk...
ramdisk loaded 00841ae7 @ 04f00000
OF stdout device is: ...
| Aug 26, 4:26 am 2010 |
| Aneesh Kumar K.V | [PATCH -V2 1/6] fs/9p: Implement POSIX ACL permission ch ...
The ACL value is fetched as a part of inode initialization
from the server and the permission checking function use the
cached value of the ACL
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/9p/Kconfig | 13 +++++++
fs/9p/Makefile | 1 +
fs/9p/acl.c | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++
fs/9p/acl.h | 27 +++++++++++++++
fs/9p/vfs_inode.c | 11 +++++-
fs/9p/vfs_super.c | 9 ++++-
fs/9p/xattr.c | 48 ...
| Aug 26, 4:19 am 2010 |
| Aneesh Kumar K.V | [PATCH -V2 2/6] fs/9p: Add xattr callbacks for POSIX ACL
This patch implement fetching POSIX ACL from the server
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/9p/acl.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
fs/9p/xattr.c | 4 +++
fs/9p/xattr.h | 2 +
3 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/fs/9p/acl.c b/fs/9p/acl.c
index 5de599b..e122e63 100644
--- a/fs/9p/acl.c
+++ b/fs/9p/acl.c
@@ -93,3 +93,66 @@ int v9fs_check_acl(struct inode *inode, int mask)
}
...
| Aug 26, 4:19 am 2010 |
| Aneesh Kumar K.V | [PATCH -V2 5/6] fs/9p: Implement create time inheritance
Inherit default ACL on create
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/9p/acl.c | 52 +++++++++++++++++++++++++++++++++++++++++
fs/9p/acl.h | 16 ++++++++++++
fs/9p/vfs_inode.c | 67 +++++++++++++++++++++++++++++++++++++++++++++-------
3 files changed, 126 insertions(+), 9 deletions(-)
diff --git a/fs/9p/acl.c b/fs/9p/acl.c
index d717487..e7982a1 100644
--- a/fs/9p/acl.c
+++ b/fs/9p/acl.c
@@ -152,6 +152,58 @@ int v9fs_acl_chmod(struct ...
| Aug 26, 4:19 am 2010 |
| Aneesh Kumar K.V | [PATCH -V2 4/6] fs/9p: Update ACL on chmod
We need update the acl value on chmod
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/9p/acl.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++
fs/9p/acl.h | 5 ++++
fs/9p/vfs_inode.c | 4 +++
3 files changed, 64 insertions(+), 0 deletions(-)
diff --git a/fs/9p/acl.c b/fs/9p/acl.c
index fc06467..d717487 100644
--- a/fs/9p/acl.c
+++ b/fs/9p/acl.c
@@ -97,6 +97,61 @@ int v9fs_check_acl(struct inode *inode, int mask)
return ...
| Aug 26, 4:19 am 2010 |
| Aneesh Kumar K.V | [PATCH -V2 3/6] fs/9p: Implement setting posix acl
This patch also update mode bits, as a normal file system.
I am not sure wether we should do that, considering that
a setxattr on the server will again update the ACL/mode value
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/9p/acl.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
fs/9p/v9fs_vfs.h | 1 +
fs/9p/vfs_inode.c | 2 +-
3 files changed, 76 insertions(+), 2 deletions(-)
diff --git a/fs/9p/acl.c b/fs/9p/acl.c
index ...
| Aug 26, 4:19 am 2010 |
| Aneesh Kumar K.V | [PATCH -V2 6/6] fs/9p: Add access = client option to opt ...
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
Documentation/filesystems/9p.txt | 4 +++-
fs/9p/acl.c | 37 ++++++++++++++++++++++++++++++++++++-
fs/9p/fid.c | 1 +
fs/9p/v9fs.c | 12 ++++++++++++
fs/9p/v9fs.h | 8 ++++++--
fs/9p/vfs_inode.c | 14 ++++++++++----
fs/9p/vfs_super.c | 16 +++++++++++-----
7 files changed, 79 insertions(+), 13 ...
| Aug 26, 4:19 am 2010 |
| Namhyung Kim | [PATCH] h8300: fix a bug on get_user()
current implementation of get_user() lacks parenthesis when it derefers ptr
so usage like get_user(val, addr + i) had a potential bug. Fix it.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
arch/h8300/include/asm/uaccess.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/h8300/include/asm/uaccess.h b/arch/h8300/include/asm/uaccess.h
index 356068c..b0e5cb9 100644
--- a/arch/h8300/include/asm/uaccess.h
+++ b/arch/h8300/include/asm/uaccess.h
@@ -91,7 +91,7 ...
| Aug 26, 3:52 am 2010 |
| Masayuki Ohtake | [PATCH] Gigabit Ethernet driver of Topcliff PCH
---
Gigabit Ethernet driver of Topcliff PCH
Topcliff PCH is the platform controller hub that is going to be used in
Intel's upcoming general embedded platform. All IO peripherals in
Topcliff PCH are actually devices sitting on AMBA bus.
Topcliff PCH has Gigabit Ethernet I/F. Using this I/F, it is able to
access system devices connected to Gigabit Ethernet.
Signed-off-by: Masayuki Ohtake <masa-korg@dsn.okisemi.com>
---
drivers/net/Kconfig | 5 +
drivers/net/Makefile ...
| Aug 26, 2:56 am 2010 |
| Sam Ravnborg | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
Hi Masayuki Ohtake.
Just a few comments after a very quick scan over some of the files.
Sam
"---" is used to truncate your changelog, random comments goes below "---".
Naive readers do not know what PCH is.
Google says it is: Potlatch Corporation
Please elaborate much more.
For new stuff we use "help" - not "---help---".
Use:
ccflags-$(CONFIG_PCH_GBE_DEBUG_CORE) := -DDEBUG
Btw. where do CONFIG_PCH_GBE_DEBUG_CORE come from. It was not in the Kconfig
Please do not use ...
| Aug 26, 3:28 am 2010 |
| Masayuki Ohtake | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
Hi Sam
Thank you for your comment.
The reply's comment was buried in following.
I will modify this patch.
Thanks, Ohtake(OKISEMI)
----- Original Message -----
From: "Sam Ravnborg" <sam@ravnborg.org>
To: "Masayuki Ohtake" <masa-korg@dsn.okisemi.com>
Cc: "LKML" <linux-kernel@vger.kernel.org>; "ML netdev" <netdev@vger.kernel.org>; "Greg Rose" <gregory.v.rose@intel.com>;
"Maxime Bizon" <mbizon@freebox.fr>; "Kristoffer Glembo" <kristoffer@gaisler.com>; "Ralf Baechle" ...
| Aug 26, 5:47 am 2010 |
| Joe Perches | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
Better to use
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
and
pr_debug(fmt, ...);
Trivial: Inconsistent spacing (a few times)
Perhaps:
[]
Convert all the
printk(KERN_<level> KBUILD_MODNAME ": " etc
to
pr_err("ERROR: Registers not mapped\n");
These are more commonly written as:
if (!fn_ptr) {
[ report_error_condition ]
return -ERRNO;
}
rtn = fn_ptr(foo);
if (rtn is err) {
[ report_error_condition ]
return -ERRNO2;
}
return 0;
For more ...
| Aug 26, 7:44 am 2010 |
| Stephen Hemminger | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
Use cpu_relax here to allow other hyper-thread to run.
/* wait busy */
while ((ioread32(&hw->reg->ADDR_MASK) & PCH_GBE_BUSY))
cpu_relax();
--
| Aug 26, 8:45 am 2010 |
| Stephen Hemminger | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
On Thu, 26 Aug 2010 18:56:55 +0900
This is not allowed, you can not just allocate up a network
device structure out of kmalloc space. Not sure what you are doing
with the polling_netdev? Is it left over from when net_device
and NAPI were more closely bound?
--
--
| Aug 26, 8:47 am 2010 |
| Stephen Hemminger | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
+static int pch_gbe_probe(struct pci_dev *pdev,
+ const struct pci_device_id *pci_id)
+{
+ struct net_device *netdev;
+ struct pch_gbe_adapter *adapter;
+ unsigned long mmio_start;
+ unsigned long mmio_len;
+ int i, ret;
+
+ PCH_GBE_DEBUG("pch_gbe_probe\n");
+ ret = pci_enable_device(pdev);
+ if (ret)
+ return ret;
+
+ if (!dma_set_mask(&pdev->dev, DMA_BIT_MASK(64))
+ && !dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(64))) {
+ ;
+ } else {
+ ret = dma_set_mask(&pdev->dev, ...
| Aug 26, 9:05 am 2010 |
| Stephen Hemminger | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
On Thu, 26 Aug 2010 09:16:12 -0700
At this point in process, netdevice isn't registered so it
doesn't have a ethX name. so dev_info would be best.
--
--
| Aug 26, 9:29 am 2010 |
| Stephen Hemminger | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
On Thu, 26 Aug 2010 18:56:55 +0900
Don't invent your own mutex mechanism. Either use spin lock
or mutex.
--
--
| Aug 26, 8:41 am 2010 |
| Stephen Hemminger | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
On Thu, 26 Aug 2010 18:56:55 +0900
Why not something simpler using skb_checksum_help which is
safer since it handles case of shared skb correctly.
if (skb->ip_summed = CHECKSUM_COMPLETE &&
skb->len < PCH_GBE_SHORT_PKT) {
frame_ctrl |=
PCH_GBE_TXD_CTRL_APAD | PCH_GBE_TXD_CTRL_TCPIP_ACC_OFF;
skb->ip_summed = CHECKSUM_NONE;
if (skb_checksum_help(skb))
goto drop; /* could not expand header to find space */
}
--
--
| Aug 26, 8:57 am 2010 |
| Joe Perches | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
or perhaps better still convert to netdev_info
My message logging order preference:
if there's a netif_msg_<type> and a struct net_device
netif_<level> (struct private *, netif_msg_<type>,
struct net_device *, fmt, args...)
if there's a struct net_device
netdev_<level> (struct net_device *, fmt, args...)
if there's a struct device
dev_<level> (struct device *, fmt, args...)
otherwise
pr_<level> (fmt, args...)
--
| Aug 26, 9:16 am 2010 |
| Joe Perches | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
Yes, likely true.
Ideally netdev_<level> is used after register_netdev.
The default "eth%d" is printed after alloc_netdev
but before register_netdev.
Before commmit 256df2f3879efdb2e9808bdb1b54b16fbb11fa38
when netdev_<level>s were converted to functions, they
would also dereference a NULL pointer if used before
register_netdev.
--
| Aug 26, 10:02 am 2010 |
| Stephen Hemminger | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
On Thu, 26 Aug 2010 18:56:55 +0900
Should be const
--
--
| Aug 26, 8:42 am 2010 |
| Stephen Hemminger | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
On Thu, 26 Aug 2010 18:56:55 +0900
can use new %pM printk format here.
--
| Aug 26, 8:43 am 2010 |
| Stephen Hemminger | Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
On Thu, 26 Aug 2010 18:56:55 +0900
No need for cast to u32 on the masking:
ecmd->supported &= ~(SUPPORTED_TP | SUPPORTED_1000baseT_Half);
ecmd->advertising &= ~(ADVERTISED_TP | ADVERTISED_1000baseT_Half);
Awkward use of if, and don't set other bits in duplex
if (!netif_carrier_ok(adapter->netdev))
ecmd->speed = -1;
--
--
| Aug 26, 8:40 am 2010 |
| Christoph Hellwig | [PATCH] block: update documentation for REQ_FLUSH / REQ_FUA
Signed-off-by: Christoph Hellwig <hch@lst.de>
Index: linux-2.6/Documentation/block/barrier.txt
===================================================================
--- linux-2.6.orig/Documentation/block/barrier.txt 2010-08-26 06:46:20.993253858 -0300
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,261 +0,0 @@
-I/O Barriers
-============
-Tejun Heo <htejun@gmail.com>, July 22 2005
-
-I/O barrier requests are used to guarantee ordering around the barrier
-requests. Unless you're ...
| Aug 26, 2:54 am 2010 |
| Chris Mason | Re: [2.6.35.3] BUG: unable to handle kernel NULL pointer ...
Hmmm it is definitely btrfs related. Do you continue to get it after
rebooting?
-chris
--
| Aug 26, 4:53 am 2010 |
| Carlos R. Mafra | [2.6.35.3] BUG: unable to handle kernel NULL pointer der ...
Hi,
I've just got this BUG: message in dmesg which I think is btrfs related.
I have a btrfs filesystem in a memory card which I use to contain the
cache and config of chromium (to avoid writing to much in the SSD):
/dev/mmcblk0p1 on /home/mafra/mmc type btrfs (rw,noexec,nosuid,nodev,noatime,noacl,compress)
and the last message before the bug is about the memory card.
[ 148.149179] mmcblk0: retrying using single block read
[ 148.152014] BUG: unable to handle kernel NULL pointer ...
| Aug 26, 2:53 am 2010 |
| Carlos R. Mafra | Re: [2.6.35.3] BUG: unable to handle kernel NULL pointer ...
No, after rebooting chromium refused to open (like it did during the BUG)
but no BUG: message appeared.
Then I deleted all chromium cache+config from the memory card and chromium
worked again, but after suspending to RAM I noticed this:
[ 6035.423238] PM: Syncing filesystems ... done.
[ 6036.524889] Freezing user space processes ...
[ 6056.533079] Freezing of tasks failed after 20.00 seconds (1 tasks refusing to freeze):
[ 6056.533119] chrome D 00000000ffffffff 0 7028 7015 ...
| Aug 26, 5:16 am 2010 |
| Alexander Shishkin | [PATCH 2/3] save and restore etm state across core OFF modes
This prevents ETM stalls whenever core enters OFF mode. Original patch
author is Richard Woodruff <r-woodruff2@ti.com>.
This version of the patch makes use of the ETM OS save/restore mechanism,
which takes about 55 words in omap3_arm_context[] instead of 128. Also,
saving ETM context can be switched on/off at runtime.
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Cc: Richard Woodruff <r-woodruff2@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Russell King ...
| Aug 26, 2:14 am 2010 |
| Alexander Shishkin | [PATCH 3/3] omap3: make coresight register save across O ...
This adds a sysfs file at /sys/power/coresight_save which is used to
control if the ETM and debug components' states should be saved and
restored across OFF modes.
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: linux-omap@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
...
| Aug 26, 2:14 am 2010 |
| Alexander Shishkin | [PATCH 1/3] omap3: move EMU peripheral addresses to a pl ...
These addresses are also needed for the OFF code to save/restore the
contexts of the EMU peripherals correctly.
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: linux-omap@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
...
| Aug 26, 2:14 am 2010 |
| Tejun Heo | [PATCH UPDATED 24.5/30] jbd2: Modify ASYNC_COMMIT code t ...
Currently JBD2 relies blkdev_issue_flush() draining the queue when ASYNC_COMMIT
feature is set. This property is going away so make JBD2 wait for buffers it
needs on its own before submitting the cache flush.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Tejun Heo <tj@kernel.org>
---
Fixed overindentation noticed by Sergei. git tree updated accordingly.
Thanks.
fs/jbd2/commit.c | 29 ++++++++++++++++-------------
1 files changed, 16 insertions(+), 13 deletions(-)
diff --git ...
| Aug 26, 2:37 am 2010 |
| Sergei Shtylyov | Re: [PATCH 24.5/30] jbd2: Modify ASYNC_COMMIT code to no ...
Hello.
WBR, Sergei
--
| Aug 26, 2:33 am 2010 |
| Tejun Heo | [PATCH 24.5/30] jbd2: Modify ASYNC_COMMIT code to not re ...
From 49f4cef00a1bd3c79fb2fe1f982c5157f0792867 Mon Sep 17 00:00:00 2001
From: Jan Kara <jack@suse.cz>
Currently JBD2 relies blkdev_issue_flush() draining the queue when ASYNC_COMMIT
feature is set. This property is going away so make JBD2 wait for buffers it
needs on its own before submitting the cache flush.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Tejun Heo <tj@kernel.org>
---
This patch is necessary before enabling flush/fua support in jbd2.
The flush-fua git tree has been ...
| Aug 26, 1:23 am 2010 |
| Tino Keitel | Re: 2.6.36-rc2 regression: Wrong screen resolution (1024 ...
On Thu, Aug 26, 2010 at 09:30:39 +0200, Tino Keitel wrote:
It wasn't. Not it is attached.
Regards,
Tino
| Aug 26, 12:55 am 2010 |
| Tino Keitel | 2.6.36-rc2 regression: Wrong screen resolution (1024x768 ...
Hi,
booting 2.6.36-rc2-git4 (commit
d4348c678977c7093438bbbf2067c49396ae941b) results in a screen
resolution of 1024x768 instead of 1680x1050. It works fine with
2.6.35.2.
The framebuffer console uses the correct resolution, but only uses a
part of the screen for text output. Xorg output looks distorted.
Xorg log is attached.
$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA1 disconnected (normal left inverted right x axis y axis)
DVI1 connected ...
| Aug 26, 12:30 am 2010 |
| Dmitry Torokhov | [git pull] Input updates for 2.6.36-rc2
Hi Linus,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus
or
master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus
to receive updates for the input subsystem. The changes consist of
couple bug/regression fixes and also 3 patches dropping 'tty' argument
from SysRq handlers. While the last 3 are not bug fixes I mentioned that
I would be sending them in my -rc0 pull request and so I hope they could
still make it in (I did not send ...
| Aug 26, 12:27 am 2010 |
| Mike Rapoport | Re: [PATCH 0/3] u8500: led and backlight driver
There are drivers/leds/leds-pwm.c and drivers/video/backlight/pwm_bl.c that
implement led and backlight drivers based on generic pwm interface.
--
Sincerely yours,
Mike.
--
| Aug 26, 3:15 am 2010 |
| Arun Murthy | [PATCH 0/3] u8500: led and backlight driver
Arun Murthy (3):
mfd: ab8500-pwm: ab8500 pwm management
backlight: u8500: backlight driver based on ab8500 pwm
leds: ab8500-led: led driver based on ab8500 pwm
drivers/leds/Kconfig | 9 ++
drivers/leds/Makefile | 1 +
drivers/leds/leds-ab8500.c | 201 +++++++++++++++++++++++++++++++
drivers/mfd/Kconfig | 8 ++
drivers/mfd/Makefile | 1 +
drivers/mfd/ab8500-core.c | 7 +-
...
| Aug 25, 11:50 pm 2010 |
| Arun Murthy | [PATCH 1/3] mfd: ab8500-pwm: ab8500 pwm management
This patch exports functions to set and get ab8500 pwm intensity,
which in turn is used by backlight/led driver.
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Acked-by: Mattias Wallin <mattias.wallin@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
---
drivers/mfd/Kconfig | 8 ++
drivers/mfd/Makefile | 1 +
drivers/mfd/ab8500-pwm.c | 191 +++++++++++++++++++++++++++++++++
...
| Aug 25, 11:50 pm 2010 |
| Arun Murthy | [PATCH 2/3] backlight: u8500: backlight driver based on ...
This patch adds backlight driver for u8500 platform.
Backlight intensity is controlled by Analog Baseband Chip AB8500
Pulse Width Modulation(pwm).
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Acked-by: Mattias Wallin <mattias.wallin@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
---
drivers/mfd/ab8500-core.c | 4 +-
drivers/video/backlight/Kconfig | 10 ++
drivers/video/backlight/Makefile | 2 +-
drivers/video/backlight/ab8500_bl.c ...
| Aug 25, 11:50 pm 2010 |
| Arun Murthy | [PATCH 3/3] leds: ab8500-led: led driver based on ab8500 pwm
This patch adds led class driver for controlling u8500 leds and
backlight. LED intensity is controlled by by Ananlog Baseband Chip
AB8500 Pulse Width Modulation(pwm).
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Acked-by: Mattias Wallin <mattias.wallin@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
---
drivers/leds/Kconfig | 9 ++
drivers/leds/Makefile | 1 +
drivers/leds/leds-ab8500.c | 201 ++++++++++++++++++++++++++++++++++++++++++++
...
| Aug 25, 11:50 pm 2010 |
| Hugh Dickins | [PATCH] mm: fix hang on anon_vma->root->lock
After several hours, kbuild tests hang with anon_vma_prepare() spinning on
a newly allocated anon_vma's lock - on a box with CONFIG_TREE_PREEMPT_RCU=y
(which makes this very much more likely, but it could happen without).
The ever-subtle page_lock_anon_vma() now needs a further twist: since
anon_vma_prepare() and anon_vma_fork() are liable to change the ->root
of a reused anon_vma structure at any moment, page_lock_anon_vma()
needs to check page_mapped() again before succeeding, ...
| Aug 25, 11:12 pm 2010 |
| David Miller | Re: [PATCH] mm: fix hang on anon_vma->root->lock
From: Hugh Dickins <hughd@google.com>
Interesting, is the condition which allows this to trigger specific
to this merge window or was it always possible?
--
| Aug 25, 11:41 pm 2010 |
| Hugh Dickins | Re: [PATCH] mm: fix hang on anon_vma->root->lock
Just specific to this merge window, which started using
anon_vma->root->lock in place of anon_vma->lock (anon_vma->root is
often anon_vma itself, but not always). I _think_ that change was
itself a simplification of the locking in 2.6.35, rather than plugging
a particular hole (it's not been backported to -stable), but I may be
wrong on that - Rik?
Hugh
--
| Aug 26, 3:54 am 2010 |
| Andrea Arcangeli | Re: [PATCH] mm: fix hang on anon_vma->root->lock
Hi Hugh,
I don't get it, the anon_vma can be freed and reused only after we run
rcu_read_unlock(). And the anon_vma->root can't change unless the
anon_vma is freed and reused. Last but not the least by the time
page->mapping points to "anon_vma" the "anon_vma->root" is already
initialized and stable.
The page_mapped test is only relevant against the rcu_read_lock, not
the spin_lock, so how it can make a difference to run it twice inside
the same rcu_read_lock protected critical section? ...
| Aug 26, 4:50 pm 2010 |
| Rik van Riel | Re: [PATCH] mm: fix hang on anon_vma->root->lock
Reviewed-by: Rik van Riel <riel@redhat.com>
And yes, AFAIK this code lived just in -mm up to now.
--
All rights reversed
--
| Aug 26, 6:32 am 2010 |
| David Miller | Re: [PATCH] mm: fix hang on anon_vma->root->lock
From: Hugh Dickins <hughd@google.com>
Ok, because I've been seeing mysterious hangs recently on one of my
sparc64 boxes and I was wondering if this might explain them :-)
--
| Aug 26, 12:00 pm 2010 |
| Saravana Kannan | [PATCH] pm_qos: Fix inline documentation.
Change-Id: I32f95b5a7e92236931b38fc4f1474f46ad22e298
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
---
kernel/pm_qos_params.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/kernel/pm_qos_params.c b/kernel/pm_qos_params.c
index 996a4de..132471f 100644
--- a/kernel/pm_qos_params.c
+++ b/kernel/pm_qos_params.c
@@ -212,15 +212,17 @@ EXPORT_SYMBOL_GPL(pm_qos_request_active);
/**
* pm_qos_add_request - inserts new qos request into the list
- * ...
| Aug 25, 10:52 pm 2010 |
| mark gross | Re: [PATCH] pm_qos: Fix inline documentation.
Acked-by: mark gross <markgross@thegnar.org>
thanks!
--mgross
--
| Aug 26, 9:01 am 2010 |
| Rafael J. Wysocki | Re: [PATCH] pm_qos: Fix inline documentation.
Applied to suspend-2.6/pm-fixes .
Thanks,
--
| Aug 26, 11:18 am 2010 |
| Rafi Rubin | [PATCH 4/4] firmware sysfs node
Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
---
drivers/hid/hid-ntrig.c | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/drivers/hid/hid-ntrig.c b/drivers/hid/hid-ntrig.c
index ab0ca7f..e341e88 100644
--- a/drivers/hid/hid-ntrig.c
+++ b/drivers/hid/hid-ntrig.c
@@ -375,6 +375,26 @@ static ssize_t set_deactivate_slack(struct device *dev,
static DEVICE_ATTR(deactivate_slack, S_IWUSR | S_IRUGO, show_deactivate_slack,
...
| Aug 25, 9:54 pm 2010 |
| Rafi Rubin | [PATCH 1/4] Adding documention
The doctumentation includes a brief introduction to the driver and
explanations of the filtering parameters as well as a discussion
of the need for and working of the filters.
Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
---
Documentation/input/ntrig.txt | 126 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 126 insertions(+), 0 deletions(-)
create mode 100644 Documentation/input/ntrig.txt
diff --git a/Documentation/input/ntrig.txt b/Documentation/input/ntrig.txt
new file ...
| Aug 25, 9:54 pm 2010 |
| Rafi Rubin | [PATCH 2/4] a bit of whitespace cleanup
Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
---
drivers/hid/hid-ntrig.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/hid/hid-ntrig.c b/drivers/hid/hid-ntrig.c
index fb69b8c..43e95de 100644
--- a/drivers/hid/hid-ntrig.c
+++ b/drivers/hid/hid-ntrig.c
@@ -377,8 +377,8 @@ static struct attribute_group ntrig_attribute_group = {
*/
static int ntrig_input_mapping(struct hid_device *hdev, struct hid_input *hi,
- struct hid_field ...
| Aug 25, 9:54 pm 2010 |
| Rafi Rubin | [PATCH 3/4] identify firmware version
This adds firmware version polling to the end of probe and reports the
version both in the raw form and proccessed to match the formatting used
by ntrig in windows.
Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
---
drivers/hid/hid-ntrig.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/drivers/hid/hid-ntrig.c b/drivers/hid/hid-ntrig.c
index 43e95de..ab0ca7f 100644
--- a/drivers/hid/hid-ntrig.c
+++ ...
| Aug 25, 9:54 pm 2010 |
| Rafi Rubin | hid-ntrig documentation and firmware id
This adds the requested documentation for the driver and some code to
identify the current running firmware to aid debug and support.
Rafi
--
| Aug 25, 9:54 pm 2010 |
| Ian Munsie | Re: [PATCH] powerpc: Wire up direct socket system calls
I should have mentioned that the base is ppc/next
Also, I've included a simple library below suitable for use with
LD_PRELOAD to allow this to be tested on existing programs.
Cheers,
-Ian
#include <unistd.h>
#include <sys/syscall.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
/* PPC syscall numbers from /arch/powerpc/include/asm/unistd.h */
#define __NR_socket 326
#define ...
| Aug 25, 10:56 pm 2010 |
| Ian Munsie | [PATCH] powerpc: Wire up direct socket system calls
From: Ian Munsie <imunsie@au1.ibm.com>
This patch wires up the various socket system calls on PowerPC so that
userspace can call them directly, rather than by going through the
multiplexed socketcall system call.
Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
---
arch/powerpc/include/asm/systbl.h | 19 +++++++++++++++++++
arch/powerpc/include/asm/unistd.h | 21 ++++++++++++++++++++-
2 files changed, 39 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/include/asm/systbl.h ...
| Aug 25, 9:50 pm 2010 |
| Marek Vasut | Re: [PATCH v3 0/2] added initial support for TPO TD043MT ...
It looks good to me, but the hardware specific goo is up to Haojian/Eric to
check.
Cheers
--
| Aug 25, 9:51 pm 2010 |
| Mark F. Brown | [PATCH v3 0/2] added initial support for TPO TD043MTEA1 ...
Mark F. Brown (2):
pxa168: added framebuffer support code.
pxa168: added initial support for TPO TD043MTEA1 LCD display on
Aspenite
arch/arm/mach-mmp/aspenite.c | 60 +++++++++++++++++++++++++++++++
arch/arm/mach-mmp/include/mach/pxa168.h | 8 ++++
arch/arm/mach-mmp/pxa168.c | 3 ++
3 files changed, 71 insertions(+), 0 deletions(-)
--
| Aug 25, 8:51 pm 2010 |
| Mark F. Brown | [PATCH v3 2/2] pxa168: added initial support for TPO TD0 ...
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/aspenite.c | 60 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c
index 0629394..9e1bd6b 100644
--- a/arch/arm/mach-mmp/aspenite.c
+++ b/arch/arm/mach-mmp/aspenite.c
@@ -23,6 +23,7 @@
#include <mach/mfp-pxa168.h>
#include <mach/pxa168.h>
#include <mach/gpio.h>
+#include <video/pxa168fb.h>
...
| Aug 25, 8:51 pm 2010 |
| Mark F. Brown | [PATCH v3 1/2] pxa168: added framebuffer support code.
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/include/mach/pxa168.h | 8 ++++++++
arch/arm/mach-mmp/pxa168.c | 3 +++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mmp/include/mach/pxa168.h b/arch/arm/mach-mmp/include/mach/pxa168.h
index 27e1bc7..220738f 100644
--- a/arch/arm/mach-mmp/include/mach/pxa168.h
+++ b/arch/arm/mach-mmp/include/mach/pxa168.h
@@ -10,6 +10,7 @@ extern void __init pxa168_init_irq(void);
...
| Aug 25, 8:51 pm 2010 |
| Eric Miao | Aug 26, 2:34 am 2010 | |
| Eric Miao | Aug 26, 2:29 am 2010 | |
| Adam Jiang | [PATCH 3/3] mips: irq: add stackoverflow detection
Add stackoverflow detection to mips arch
---
arch/mips/Kconfig.debug | 7 +++++++
arch/mips/kernel/irq.c | 22 ++++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug
index 43dc279..30c58d4 100644
--- a/arch/mips/Kconfig.debug
+++ b/arch/mips/Kconfig.debug
@@ -67,6 +67,13 @@ config CMDLINE_OVERRIDE
Normally, you will choose 'N' here.
+config DEBUG_STACKOVERFLOW
+ bool "Check for stack ...
| Aug 25, 8:55 pm 2010 |
| Sergei Shtylyov | Re: [PATCH 3/3] mips: irq: add stackoverflow detection
Hello.
WBR, Sergei
--
| Aug 26, 1:27 am 2010 |
| Adam Jiang | Re: [PATCH 3/3] mips: irq: add stackoverflow detection
Thank your, Sergei.
This is my first patch. I realized I have to learn much to summit a
good patch. And yes, I have to pay more attention on my code. Anyway,
I will try to get a good patch and send it here again.
--
| Aug 26, 6:15 am 2010 |
| Jin Dongming | [Patch-next] therm_throt.c: fix missing { and }.
When the feature PTS is not supported by CPU, the sysfile
package_power_limit_count for package should not be generated.
This patch is used for fixing missing { and }. But I have not confirmed
this patch because I don't have such machine.
Signed-off-by: Jin Dongming <jin.dongming@np.css.fujitsu.com>
---
arch/x86/kernel/cpu/mcheck/therm_throt.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/cpu/mcheck/therm_throt.c ...
| Aug 26, 1:29 am 2010 |
| Jin Dongming | [Patch-next] Package Level Power limit: fix the generati ...
I read the source code of therm_throt.c. Most of checking codes for PLN
and PTS are like following:
if (PLN)
....
if (PTS) {
...
if (PLN)
...
}
But there is not checking code for the generation of package_power_limit_count
sysfile. And the code is like following:
if (PLN)
...
if (PTS)
...
if (PLN)
...
I don't think the sysfile package_power_limit_count should be generated,
when the feature PTS of CPU is not supported. The reasons are listed
as following:
1.The sysfile ...
| Aug 25, 7:39 pm 2010 |
| Fenghua Yu | Re: [Patch-next] Package Level Power limit: fix the gene ...
The argument is right. A concise message (e.g. missing { and }) would be better.
Format of this patch is broken. It would be applied to kernel tree. Could you
generate a patch with right format?
Thanks.
-Fenghua
--
| Aug 25, 11:08 pm 2010 |
| Fenghua Yu | Re: [Patch-next] therm_throt.c: fix missing { and }.
Reviewed-by: Fenghua Yu <fenghua.yu@initel.com>
--
| Aug 26, 1:51 pm 2010 |
| "æ½å«å¹³(Peter Pan)" | pwp test
--
潘卫平
Peter Pan
Red Flag Software Co.,Ltd
--
| Aug 25, 7:07 pm 2010 |
| Mark F. Brown | [PATCH v2 1/1] pxa168: added initial support for TPO TD0 ...
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com>
---
arch/arm/mach-mmp/aspenite.c | 60 +++++++++++++++++++++++++++++++
arch/arm/mach-mmp/include/mach/pxa168.h | 8 ++++
arch/arm/mach-mmp/pxa168.c | 4 ++
drivers/video/pxa168fb.c | 4 +-
4 files changed, 74 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c
index 0629394..9e1bd6b 100644
--- a/arch/arm/mach-mmp/aspenite.c
+++ ...
| Aug 25, 7:04 pm 2010 |
| Mark F. Brown | Re: [PATCH v2 1/1] pxa168: added initial support for TPO ...
Hi Marek,
1) I removed the __init because it was causing a section mismatch
warning wth this kernel. Since pxa168fb_probe() is calling
pxa168fb_init_mode(), I cannot declare pxa168fb_init_mode() as an
__init function. If pxa168fb_probe gets called after the __init
section is wiped then it will attempt to run the deleted
pxa168fb_init_mode() code.
WARNING: vmlinux.o(.data+0x17984): Section mismatch in reference from
the variable pxa168fb_driver to the ...
| Aug 25, 8:44 pm 2010 |
| Haojian Zhuang | Re: [PATCH v2 1/1] pxa168: added initial support for TPO ...
Patch #2 should be the first one since it's related to framebuffer
driver. The next one should be platform file.
--
| Aug 25, 8:57 pm 2010 |
| Marek Vasut | Re: [PATCH v2 1/1] pxa168: added initial support for TPO ...
Hi,
Create small patches that do not break stuff and are easy to review. By adding
small touches, you actually create a nice whole picture in the end :)
What I'd like to see is you to keep aspenite.c additions separate from cpu-wide
additions etc. This eventually also simplifies bisection if something goes
wrong.
--
| Aug 25, 9:02 pm 2010 |
| Mark F. Brown | Re: [PATCH v2 1/1] pxa168: added initial support for TPO ...
Makes sense!
Will do!
-- Mark
--
| Aug 25, 9:04 pm 2010 |
| Marek Vasut | Re: [PATCH v2 1/1] pxa168: added initial support for TPO ...
----------------------------------------------
^--- one patch above
SNIP, please split into two patches
v--- another patch below
Cheers
--
| Aug 25, 7:26 pm 2010 |
| Henrik Rydberg | Re: [PATCH v2] input: add multitouch slot support to w8001.
Acked-by: Henrik Rydberg <rydberg@euromail.se>
Yes, thanks, it looks fine now. And thanks for finding the bug in my own
version. :-)
Cheers,
Henrik
--
| Aug 25, 11:42 pm 2010 |
| Peter Hutterer | [PATCH v2] input: add multitouch slot support to w8001.
Some serial wacom devices support two-finger touch. Test for this during
init and parse the touch packets accordingly. Touch packets are
processed using Protocol B (MT Slots).
Note: there are several wacom versions that do touch but not two-finger
touch. These are not catered for here, touch events for these are simply
discarded.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
CC: Henrik Rydberg <rydberg@euromail.se>
---
Changes to v1:
- model MT slot approach after Henrik's ...
| Aug 25, 7:01 pm 2010 |
| Stephen Rothwell | linux-next: Tree for August 26
Hi all,
Changes since 20100825:
The pci-current tree lost its build failure.
The net tree still has its build failure so I reverted a 2 commits.
----------------------------------------------------------------------------
I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/v2.6/next/ ). If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as ...
| Aug 25, 6:51 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH] writeback: remove the internal 5% low bound ...
I agree :)
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
--
| Aug 25, 9:22 pm 2010 |
| Wu Fengguang | Re: [PATCH] writeback: remove the internal 5% low bound ...
OK, the following patch gives users the full freedom. I tested 1
single dirtier and 9 parallel dirtiers, the system remains alive, but
with much slower IO throughput. Maybe not all users care IO performance
in all situations?
Thanks,
Fengguang
---
writeback: remove the internal 5% low bound on dirty_ratio
The dirty_ratio was silently limited in global_dirty_limits() to >= 5%.
This is not a user expected behavior. And it's inconsistent with
calc_period_shift(), which uses the plain ...
| Aug 25, 6:29 pm 2010 |
| Neil Brown | Re: [PATCH] writeback: remove the internal 5% low bound ...
On Thu, 26 Aug 2010 09:29:45 +0800
And ">" fits with the name "exceeded" better than ">=" does. I think it is
an aesthetic improvement as well as a functional one.
Reviewed-by: NeilBrown <neilb@suse.de>
Thanks,
--
| Aug 25, 6:36 pm 2010 |
| Chetan Ahuja | divide by zero bug in find_busiest_group
This has been filed as a bug in the kernel bugzilla
(https://bugzilla.kernel.org/show_bug.cgi?id=16991)
but the visibility on bugzilla seems low ( and the bugizlla server
seems to get overly "stressed" during
certain parts of the day) so here's my "summary" of the discussion so
far. If for nothing else, so it gets
indexed by search engines etc.
We've seen a divide-by-zero crash in the function update_sg_lb_stats
(inlined into find_busiest_group) at the following location :
...
| Aug 25, 6:17 pm 2010 |
| Venkatesh Pallipadi | Re: divide by zero bug in find_busiest_group
There is another potential bug that may cause zero power.
I actually saw similar problem a while back, while I was playing
around with rt_avg stuff. But, I have only seen the problem with my
modified kernel (playing with softirq accouting part) and not with
vanilla kernel. May be your workload includes some RT tasks that
triggers this in vanilla kernel as well.
This is what I saw happening in my case:
scale_rt_power()
- In some corner case total ends up being less than rq->rt_avg.
- As a ...
| Aug 26, 12:19 pm 2010 |
| Chetan Ahuja | Re: divide by zero bug in find_busiest_group
Venkatesh,
Thanks for your detailed response. I admit complete ignorance of
the actual logic of the complicated cpu_power computations (or indeed,
any other part of the scheduler code). I'm just looking at it from the
perspective of bug-hunting in an unfamiliar piece of code. I think the
three ways we've so far identified the cpu_power can be zero so far
(all three would be extremely low probability events admittedly) are
warning signs that the code is trying to do a bit too much. It ...
| Aug 26, 4:52 pm 2010 |
| Stephen Rothwell | linux-next: build warning after merge of the cifs tree
Hi all,
After merging the cifs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
fs/cifs/sess.c: In function 'CIFS_SessSetup':
fs/cifs/sess.c:623: warning: unused variable 'ntlmsspblob'
Introduced by commit 9fbc590860e75785bdaf8b83e48fabfe4d4f7d58 ("[CIFS]
Fix ntlmv2 auth with ntlmssp").
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 25, 6:02 pm 2010 |
| Steve French | Re: linux-next: build warning after merge of the cifs tree
Shirish's patch doesn't use that local variable when experimental is
off - I will talk to him about simply moving the local variable to
eliminate the unused variable warning.
--
Thanks,
Steve
--
| Aug 25, 7:07 pm 2010 |
| Joe Perches | [RFC patch 2.6.37+] printk: Remove KBUILD_MODNAME ":" fr ...
It's possible for modules that use
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
and pr_<level> to reduce image the format string
and use pr_<level> functions to emit the
module name.
This could reduce total image size by about 200KB.
Of course in a 800MB+ image, 200KB is pretty small.
The general idea is to verify any pr_fmt(prefix)
is KBUILD_MODNAME, have the compiler remove it from
the format, then have pr_<level> functions emit it
using the module name derived from the _RET_IP_
of ...
| Aug 25, 5:27 pm 2010 |
| Arnaldo Carvalho de Melo | [GIT PULL 0/6] perf/core new features and improvements
Hi Ingo,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 perf/core
Regards,
- Arnaldo
Arnaldo Carvalho de Melo (4):
perf hists: Fix hist_entry__init_have_children
perf hists browser: replace rb_first() != NULL by !RB_EMPTY_ROOT()
perf hists browser: Init the has_children fields just once
perf hists browser: Introduce "expand/collapse all callchains" action
Srikar Dronamraju (1):
perf symbols: List symbols in a dso in ascending name ...
| Aug 25, 5:07 pm 2010 |
| Joe Perches | Re: [PATCH] Drivers: firewire: Fixed coding style for al ...
Perhaps you could consider it a consistency change for easier grepping
$ grep -rPoh --include=*.[ch] "\blist_for\w+\s*\(" drivers/firewire | sort | uniq -c
3 list_for_each_entry (
21 list_for_each_entry(
10 list_for_each_entry_safe(
--
| Aug 26, 8:41 am 2010 |
| Mark Brown | Re: [PATCH] gpio: Add generic driver for simple memory m ...
I'd suggest naming these resources rather than grabbing by number,
that'll make it easier to plumb the machine driver side in since you
don't have to remember which number corresponds to which function.
--
| Aug 26, 11:38 am 2010 |
| Anton Vorontsov | Re: [PATCH] gpio: Add generic driver for simple memory m ...
I know at least two completely different platforms that
might reuse this driver.
One is PowerPC with ~10 different boards, and another is
an ARM board.
On PowerPC we use arch/powerpc/sysdev/simple_gpio.c, but
the new driver is much more generic, and is aimed to
replace the PowerPC specific one. So it is 'generic' in
this exact sense.
I also think that it is impractical to name the driver
after the particular FPGA IP codename, or even depend
on 'FPGA' word at all (as the GPIOs might be ...
| Aug 25, 10:17 pm 2010 |
| Peter Zijlstra | Re: [PATCH] lglock: make lg_lock_global() actually lock ...
I think its only done because we can, don't use kstopmachine if you
don't have to etc..
We tell people who do RT not to hotplug, not load modules etc..
--
| Aug 26, 3:08 am 2010 |
| Peter Zijlstra | Re: [PATCH] lglock: make lg_lock_global() actually lock ...
How is it required?
Its currently implemented as such, and its sure a lot easier to do that
way, but I could imagine that unplugging a CPU could be done without it.
--
| Aug 26, 4:45 am 2010 |
| Tejun Heo | Re: [PATCH] lglock: make lg_lock_global() actually lock ...
s/unload/load/ :-)
--
tejun
--
| Aug 26, 2:50 am 2010 |
| Peter Zijlstra | Re: [PATCH] lglock: make lg_lock_global() actually lock ...
I would argue against that.. we should try and rid ourselves of
stopmachine, not add more dependencies on it. If you want to sync
against preempt_disable thingies synchronize_sched() is your friend.
--
| Aug 26, 3:08 am 2010 |
| Nick Piggin | Re: [PATCH] lglock: make lg_lock_global() actually lock ...
I don't think it's that easy to do it in hotplug handlers.
Say take a brlock (not the best example because the write side
is a slowpath itself, but I could imagine better cases), then
you actually want to be able to prevent cpu online map from
changing for the entire period of a lock/unlock.
The lock/unlock is preempt disabled. synchronize_sched in the
plug handler will not really do anything, because there could
be subsequent write locks coming in from other CPUs at any
time during the ...
| Aug 26, 4:38 am 2010 |
| Nick Piggin | Re: [PATCH] lglock: make lg_lock_global() actually lock ...
Yep, thanks Jon, I owe a bit more documentation in that file, coming up.
--
| Aug 25, 9:23 pm 2010 |
| Tejun Heo | Re: [PATCH] lglock: make lg_lock_global() actually lock ...
Hello,
We only do stop-machine for cpu downs not ups, so code running w/
preemption disabled is guaranteed that no cpu goes down while it's
running but not the other way around. There are two ways to achieve
synchronization against cpu up/down operations. One is explicitly
using get/put_online_cpus() and the other is via cpu notifiers with
proper synchronization.
So, yeah, given that there's no cpu notifier implemented, the use of
for_each_online_cpu for brlock seems fishy to me. It ...
| Aug 26, 1:55 am 2010 |
| Tejun Heo | Re: [PATCH] lglock: make lg_lock_global() actually lock ...
Hello,
Probably similar rationale of not doing stop_machine() on module
unload, I suppose. Onlining something is usually considered hotter
path than offlining. Performance penalty caused by the difference
between possible and online cpumask or cpu onlining probably only
matters for very large machines and on those machines stop-machine is
very expensive. If there's a pressing need, doing stop_machine for
IMHO, in most configurations the difference between possible and
online cpumasks ...
| Aug 26, 2:49 am 2010 |
| Nick Piggin | Re: [PATCH] lglock: make lg_lock_global() actually lock ...
Oh, I thought we quiesce / preempt all online cpus before adding
another one. That sucks if we don't because then you need a big
heavy get_online_cpus when a simple preempt_disable would have
worked.
Why is that? Don't tell me realtime people want some latency "guarantee"
It should if that's the case, yes.
Thanks,
Nick
--
| Aug 26, 2:46 am 2010 |
| Peter Zijlstra | Re: [PATCH] lglock: make lg_lock_global() actually lock ...
Not that reworking unplug to not use stop_machine is anywhere near my
todo list, but it would be really nice to have ;-)
--
| Aug 26, 4:49 am 2010 |
| H. Peter Anvin | Re: [PATCH] x86: EuroBraille/Iris power off
There is, but that is hardly a reasonable solution.
What other forms of enumerable hardware is on this machine? PCI?
-hpa
--
| Aug 25, 5:06 pm 2010 |
| Samuel Thibault | Re: [PATCH] x86: EuroBraille/Iris power off
Who? This is a very particular kind of device, on which you can install
Linux only through some trick, thus machine coverage will most probably
be very low. Having to activate a module by hand is really not a
I don't remember and will let Shérab answer.
Samuel
--
| Aug 25, 5:19 pm 2010 |
| H. Peter Anvin | Re: [PATCH] x86: EuroBraille/Iris power off
Good grief ... these clowns didn't even program the subsystem ID? Could
you verify with lspci -vv -n?
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
| Aug 25, 11:55 pm 2010 |
| Sebastien Hinderer | Re: [PATCH] x86: EuroBraille/Iris power off
Yes, just PCI I think.
Below is the output of lspci -v if that helps.
Best wishes,
Shérab.
00:00.0 Host bridge: Cyrix Corporation PCI Master
Flags: bus master, medium devsel, latency 0
00:02.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 40)
Subsystem: Davicom Semiconductor, Inc. DM9102A (DM9102AE, SM9102AF) Ethernet 100/10 MBit
Flags: bus master, medium devsel, latency 165, IRQ 11
I/O ports at 1000 [size=256]
Memory at ...
| Aug 25, 11:45 pm 2010 |
| Andreas Mohr | Re: [PATCH] x86: EuroBraille/Iris power off
Given the very non-standard environment as compared to a modern PC,
perhaps it's a good idea to tend towards establishing a standard
"pseudo-DMI" detection method for old-style "PC standard" hardware?
(which could support functions for checking a BIOS signature
at a defined, well-known BIOS memory location,
or functions for a VGA BIOS signature, or detecting certain standardized
BIOS flag words).
If a PC simply lacks all usual modern methods, then it's us (Linux)
who has to provide an utmost ...
| Aug 26, 12:09 am 2010 |
| Sebastien Hinderer | Re: [PATCH] x86: EuroBraille/Iris power off
Hi again,
It's included below.
Shérab.
00:00.0 0600: 1078:0001
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
00:02.0 0200: 1282:9102 (rev 40)
Subsystem: 0291:8212
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- ...
| Aug 26, 2:29 am 2010 |
| Michael Holzheu | Re: [PATCH] Fix initramfs size calculation
Hello Peter,
I think, it is not possible the change that in the compiler. The fact
that the compiler on s390 assumes that symbols are 2 byte aligned was a
design decission and is part of the ABI.
Michael
--
| Aug 26, 1:46 am 2010 |
| Michael Holzheu | Re: [PATCH] Fix initramfs size calculation
Hello Sam,
Then still the unpack_to_rootfs() function will not get the correct size
of the compressed file, because "__initramfs_end - __initramfs_start"
can be bigger than the real file size depending on the used the
alignment. I would assume that not all decompression functions will
work, if a bigger value is passed to decompress_method().
Michael
--
| Aug 26, 1:55 am 2010 |
| Tejun Heo | Re: [PATCH 26/30] ext4: do not send discards as barriers
Patch included in the series before jbd2 conversion patch.
Thanks.
--
tejun
--
| Aug 26, 1:25 am 2010 |
| Srikar Dronamraju | Re: [PATCHv11 2.6.36-rc2-tip 11/15] 11: perf: list symbo ...
Yes, Shall send the refreshed patch now
--
Thanks and Regards
Srikar
--
| Aug 25, 9:32 pm 2010 |
| Masami Hiramatsu | Re: [PATCHv11 2.6.36-rc2-tip 10/15] 10: tracing: config ...
Hmm, without this series, KPROBE_EVENT is set "y" by default.
(PROBE_EVENTS is introduced by 8/15)
I'd like to set this "y" by default, because it doesn't
affect other parts.
--
| Aug 25, 11:02 pm 2010 |
| Len Brown | Re: [PATCH] x86: EuroBraille/Iris power off
According to
www.multitech.com/en_us/news/articles/success_stories/eurobraille.pdf :
"EURObraille’s latest invention is the IRIS portable assistant.
The use of a powerful microprocessor coupled with the most advanced
Microsoft Windows operating system provides the blind with a powerful
computing solution"
What version of Microsoft Windows ships on this box?
Does it run in ACPI mode? Does it power-off successfully?
Does Linux run in ACPI mode?
Please send along the dmesg from a Linux ...
| Aug 26, 11:11 am 2010 |
| H. Peter Anvin | Re: [PATCH] x86: EuroBraille/Iris power off
What about APM?
-hpa
--
| Aug 26, 2:16 pm 2010 |
| Shérab | Re: [PATCH] x86: EuroBraille/Iris power off
I don't know and I don't think it would be possible to determine it,
since one just has access to a dedicated application and not to the
It's attached.
Thanks,
Shérab.
| Aug 26, 2:08 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizat ...
On Wed, 25 Aug 2010 17:52:06 -0700 (PDT)
Hmm. I'll add a text like following to cgroup/memory.txt. O.K. ?
==
Notes on oom_score and oom_score_adj.
oom_score is calculated as
oom_score = (taks's proportion of memory) + oom_score_adj.
Then, when you use oom_score_adj to control the order of priority of oom,
you should know about the amount of memory you can use.
So, an approximate oom_score under memcg can be
memcg_oom_score = (oom_score - oom_score_adj) * system_memory/memcg's ...
| Aug 25, 6:11 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizat ...
On Wed, 25 Aug 2010 19:50:22 -0700 (PDT)
yes. For defineing/understanding priority, oom_score_adj is that.
yes. under 8G system, -250 will allow ingnoring 2G of usage.
== How about this text ? ==
When you set a task's oom_score_adj, it can get priority not to be oom-killed.
oom_score_adj gives priority proportional to the memory limitation.
Assuming you set -250 to oom_score_adj.
Under 4G memory limit, it gets 25% of bonus...1G memory bonus for avoiding OOM.
Under 8G memory ...
| Aug 25, 8:20 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizat ...
On Wed, 25 Aug 2010 03:25:25 -0700 (PDT)
I'm now trying to write a userspace tool to calculate this, for me.
Then, could you update documentation ?
==
3.2 /proc/<pid>/oom_score - Display current oom-killer score
-------------------------------------------------------------
This file can be used to check the current score used by the oom-killer is for
any given <pid>. Use it together with /proc/<pid>/oom_adj to tune which
process should be killed in an out-of-memory situation.
==
add a ...
| Aug 25, 5:39 pm 2010 |
| David Rientjes | Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizat ...
You'll want to look at section 3.1 of Documentation/filesystems/proc.txt,
I'd hesitate to state the formula outside of the implementation and
instead focus on the semantics of oom_score_adj (as a proportion of
available memory compared to other tasks), which I tried doing in section
3.1. Then, the userspace tool only need be concerned about the units of
oom_score_adj rather than whether rss, swap, or later extentions such as
shm are added.
Thanks for working on this, Kame!
--
| Aug 25, 5:52 pm 2010 |
| David Rientjes | Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizat ...
I'd replace "memory" with "memory limit (or memsw limit)" so it's clear
Hmm, you need to know the amount of memory that you can use iff you know
the memcg limit and it's a static value. Otherwise, you only need to know
the "memory usage of your application relative to others in the same
cgroup." An oom_score_adj of +300 adds 30% of that memcg's limit to the
task, allowing all other tasks to use 30% more memory than that task with
it still be killed. An oom_score_adj of -300 allows ...
| Aug 25, 7:50 pm 2010 |
| David Rientjes | Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizat ...
I understand it's a little tricky when dealing with memcg-constrained oom
conditions versus system-wide oom conditions. Think of it this way: if
the system is oom, then every memcg, every cpuset, and every mempolicy is
also oom. That doesn't imply that something in every memcg, every cpuset,
or every mempolicy must be killed, however. What cgroup happens to be
penalized in this scenario isn't necessarily the scope of oom_score_adj's
purpose. oom_score_adj certainly does have a stronger ...
| Aug 25, 8:52 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizat ...
On Wed, 25 Aug 2010 17:52:06 -0700 (PDT)
BTW, why you don't subtract the amount of Hugepages ?
The old code did
"totalrampages - hugepage" as available memory.
IIUC, the number of hugepages is not accounted into mm->rss, so, isn't it
better to subtract # of hugepage ?
Hmm...makes no difference ?
Thanks,
-Kame
--
| Aug 25, 6:03 pm 2010 |
| Mark Brown | Re: [PATCH] ASoC: pxa-ssp: fix a memory leak in pxa_ssp_ ...
It's a memory leak on unload for a driver for a device integrated into
an embedded SoC - I'd be astonished if anyone managed to run into it in
production.
--
| Aug 26, 1:47 am 2010 |
| Axel Lin | Re: [PATCH] ASoC: pxa-ssp: fix a memory leak in pxa_ssp_ ...
Thanks, Mark.
I just thought this fix should be applied to 2.6.36.
And ASoC tree will have this fix after merge 2.6.36.
Regards,
Axel
--
| Aug 25, 11:10 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 1/5] cgroup: do ID allocation under css allocator.
On Wed, 25 Aug 2010 19:45:00 +0530
See Paul Menage's mail. He said "allocating css object under kernel/cgroup.c
Hmm. will look into.
Thanks,
--
| Aug 25, 5:13 pm 2010 |
| Pekka Enberg | Re: linux-next: Tree for August 25 (mm/slub)
Applied, thanks!
--
| Aug 26, 11:17 am 2010 |
| Christoph Lameter | Re: linux-next: Tree for August 25 (mm/slub)
Acked-by: Christoph Lameter <cl@linux.com>
--
| Aug 25, 6:31 pm 2010 |
| Pekka Enberg | Re: linux-next: Tree for August 25 (mm/slub)
Applied, thanks!
--
| Aug 26, 11:17 am 2010 |
| Pekka Enberg | Re: linux-next: Tree for August 25 (mm/slub)
Applied, thanks!
--
| Aug 26, 11:17 am 2010 |
| Stephen Rothwell | Re: linux-next: build failure after merge of the final t ...
Hi Dave,
I have done that ...
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 25, 6:05 pm 2010 |
| Ben Hutchings | Re: [PATCH] tcp: select(writefds) don't hang up when a p ...
On Thu, 2010-08-26 at 12:55 +0900, KOSAKI Motohiro wrote:
You can do that if you like, but it seems a bit long for a commit
message.
By the way, I was able to reproduce this bug in RHEL 3 (kernel based on
2.4.21) so it seems to have been around for a while.
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.
--
| Aug 26, 5:07 am 2010 |
| David Miller | Re: [PATCH] tcp: select(writefds) don't hang up when a p ...
From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Ok, you and Ben Hutchings have convinced me to reconsider.
And this matches what even BSD4.4-Lite does (I checked yesterday before
my initial reply), so I will apply this patch.
Thanks for your patience.
--
| Aug 25, 8:51 pm 2010 |
| Ben Hutchings | Re: [PATCH] tcp: select(writefds) don't hang up when a p ...
[...]
This example seems to have both server (serv, s2) and client (s1) in the
same process for simplicity. The server socket (s2) is closed and the
client cannot be expected to know that. Of course the client ought to
drop the connection after the first EPIPE, but it's reasonable to expect
that this is a sticky condition just as it would be for a pipe.
Here's a similar test case in C:
#include <assert.h>
#include <signal.h>
#include <stdio.h>
#include <sys/select.h>
#include ...
| Aug 25, 6:24 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH] tcp: select(writefds) don't hang up when a p ...
Cool!
Ben, I think your code is cleaner than mine. If you allow me, I hope to
include this one into my patch description.
Thanks.
--
| Aug 25, 8:55 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH] tcp: select(writefds) don't hang up when a p ...
Great!
Thank you!!
--
| Aug 25, 9:02 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH] tcp: select(writefds) don't hang up when a p ...
Hi
Umm??
Probably my example is not so good. That's not my point.
In the example application, client and server socket is in the same process.
But it's NOT generic. usually, client and server are another process. then,
client can't expect when server close socket.
The most big matter is, this is can't be avoided in userland. In addition,
EVERY application don't want application hang up. we don't hesitate
At first, I was thinking two fix plan.
1) this patch
2) adding POLLWRHUP as ...
| Aug 25, 8:09 pm 2010 |
| David Miller | Re: [PATCH] tcp: select(writefds) don't hang up when a p ...
From: Ben Hutchings <bhutchings@solarflare.com>
It's existed since September 1998:
commit 6275af56642b5b9ed9ef15bf5d9718661c5fe79d
Author: freitag <freitag>
Date: Sat Sep 26 06:20:25 1998 +0000
Some small fixes.
- Remove second check for sk->err in poll as discussed with Linus.
- Don't signal writability when the local end has been shut down.
- Comment fixes.
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 5a09639..16d4308 100644
--- a/net/ipv4/tcp.c
+++ ...
| Aug 26, 12:21 pm 2010 |
| David Miller | Re: [PATCH 5/5] net/netfilter/ipvs: Eliminate memory leak
From: Simon Horman <horms@verge.net.au>
Sure, let's do that.
--
| Aug 25, 8:56 pm 2010 |
| Simon Horman | Re: [PATCH 5/5] net/netfilter/ipvs: Eliminate memory leak
I have a handful of other changes queued up,
do you want to take them too?
--
| Aug 25, 5:32 pm 2010 |
| Cesar Eduardo Barros | [PATCH] intel_ips: quieten "power or thermal limit excee ...
On my Dell Inspiron N4010, one of these messages is printed every five
seconds. Change both to dev_dbg to quieten them even more.
Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
---
drivers/platform/x86/intel_ips.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c
index 9024480..7833adc 100644
--- a/drivers/platform/x86/intel_ips.c
+++ b/drivers/platform/x86/intel_ips.c
@@ -607,7 +607,7 @@ ...
| Aug 26, 4:29 pm 2010 |
| tip-bot for H. Peter ... | [tip:x86/bios] x86, bios: Make the x86 early memory rese ...
Commit-ID: 9ea77bdb39b62c9bf9fd3cdd1c25a9420bccd380
Gitweb: http://git.kernel.org/tip/9ea77bdb39b62c9bf9fd3cdd1c25a9420bccd380
Author: H. Peter Anvin <hpa@linux.intel.com>
AuthorDate: Wed, 25 Aug 2010 16:38:20 -0700
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Wed, 25 Aug 2010 17:10:49 -0700
x86, bios: Make the x86 early memory reservation a kernel option
Add a kernel command-line option so the x86 early memory reservation
size can be adjusted at runtime instead of ...
| Aug 25, 5:12 pm 2010 |
| Naoya Horiguchi | Re: [PATCH 7/8] HWPOISON, hugetlb: fix unpoison for hugepage
Great.
I adjusted this patch to real hugetlb code and passed libhugetlbfs test.
Thanks,
Naoya
--
| Aug 26, 1:26 am 2010 |
| Naoya Horiguchi | Re: [PATCH 3/8] hugetlb: rename hugepage allocation functions
When we unify alloc_buddy_huge_page() as commented for patch 2/8,
_vma suffix is not necessary any more. Your suggestion to drop
unused arguments sounds reasonable,
so I merge the attached patch into patch 2/8.
Thanks,
Naoya
--
| Aug 26, 1:25 am 2010 |
| Naoya Horiguchi | Re: [PATCH 2/8] hugetlb: add allocate function for hugep ...
Yes. I did it by adding argument @nid to alloc_buddy_huge_page().
Code gets cleaner and work without problems.
Thanks,
Naoya
--
| Aug 26, 1:24 am 2010 |
| David Miller | Re: net/sctp: Use pr_fmt and pr_<level>
From: Joe Perches <joe@perches.com>
Applied.
--
| Aug 26, 2:12 pm 2010 |
| Greg KH | Re: [49/59] powerpc: Initialise paca->kstack before earl ...
I've now dropped it, please let me know when you want it back in, if at
all, in the future.
thanks,
greg k-h
--
| Aug 26, 4:25 pm 2010 |
| Matt Evans | Re: [49/59] powerpc: Initialise paca->kstack before earl ...
Hi Greg,
I have an objection! We've found a problem, it breaks stuff fairly thoroughly. >:( Mikey has submitted http://patchwork.ozlabs.org/patch/62757/ to Ben's tree to fix it, but it might be easier all round to drop this and we can resubmit the indivisible pair of commits to -stable later? (You'd selected this for {34,35}-stable also.)
Really for the inconvenience,
--
| Aug 26, 12:10 am 2010 |
| Mike Galbraith | Re: 2.6.32 cgroup regression
(sent quilt stack offline, anybody else wants it, holler, and you'll
receive one [absolutely free!] 50k tarball)
--
| Aug 26, 12:51 am 2010 |
| Minchan Kim | Re: [PATCH v2 1/2] compaction: handle active and inactiv ...
I thought it's not urgent and next patch would apply based on this
patch without HUNK.
If Andrew doesn't have a response, I will resend as a standalone.
Thanks.
--
Kind regards,
Minchan Kim
--
| Aug 26, 2:39 am 2010 |
| Mel Gorman | Re: [PATCH v2 1/2] compaction: handle active and inactiv ...
Well it fixes a known bug so I would consider it a little urgent. It's not
Thanks.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Aug 26, 2:43 am 2010 |
| Mel Gorman | Re: [PATCH v2 1/2] compaction: handle active and inactiv ...
Please send this patch on its own as it looks like it should be merged and
arguably is a stable candidate for 2.6.35. Alternatively, Andrew, can you pick
up just this patch? It seems unrelated to the second patch on COMPACTPAGEFAILED.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Aug 26, 2:03 am 2010 |
| Avi Kivity | Re: [PATCH 3/3] KVM: x86 emulator: trap and propagate #D ...
While there's not much difference between X86EMUL_PROPAGATE_FAULT and
X86EMUL_CONTINUE, it's bad form to break things internally. I'll fix
and repost.
--
error compiling committee.c: too many arguments to function
--
| Aug 26, 1:23 am 2010 |
| Christoph Lameter | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
Yes, the slab layer calls the page allocator when there are no objects
available and passes the __GFP_NOFAIL that the user may have set in the
call to the page allocator.
Why then add new functions that do the same?
--
| Aug 25, 6:30 pm 2010 |
| David Rientjes | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
Because we can remove the flag, remove branches from the page allocator
slowpath, and none of these allocations actually are dependent on
__GFP_NOFAIL since they are all under PAGE_ALLOC_COSTLY_ORDER.
--
| Aug 25, 8:12 pm 2010 |
| Dave Chinner | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
I didn't say impossible, just that there's no way we can always
guarantee of forward progress with a specific, bound pool of memory.
Sure, we know what the worst case amount of log space is needed for
each transaction (i.e. how many pages that will be dirtied), but
that does not take into account all the blocks that need to be read
to make those modifications, the memory needed for stuff like btree
cursors, log tickets, transaction commit vectors, btree blocks
needed to do the searches, etc. ...
| Aug 25, 5:09 pm 2010 |
| David Rientjes | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
We certainly hope that nobody will reimplement the same function without
the __deprecated warning, especially for order < PAGE_ALLOC_COSTLY_ORDER
where there's no looping at a higher level. So perhaps the best
alternative is to implement the same _nofail() functions but do a
WARN_ON(get_order(size) > PAGE_ALLOC_COSTLY_ORDER) instead?
I think it's really sad that the caller can't know what the upper bounds
of its memory requirement are ahead of time or at least be able to
implement a ...
| Aug 25, 5:30 pm 2010 |
| Ted Ts'o | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
And what Dave and I are saying is that we'll either need to do our on
loop to avoid the deprecation warning, or the use of the deprecated
function will probably be used forever...
- Ted
--
| Aug 25, 5:19 pm 2010 |
| Ted Ts'o | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
Oh, we can determine an upper bound. You might just not like it.
Actually ext3/ext4 shouldn't be as bad as XFS, which Dave estimated to
be around 400k for a transaction. My guess is that the worst case for
ext3/ext4 is probably around 256k or so; like XFS, most of the time,
it would be a lot less. (At least, if data != journalled; if we are
doing data journalling and every single data block begins with
0xc03b3998U, we'll need to allocate a 4k page for every single data
block written.) We ...
| Aug 25, 6:48 pm 2010 |
| Dave Chinner | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
It would take a handful of concurrent transactions in XFS with
worst case memory allocation requirements to exhaust that pool, and
then we really would be in trouble. Alternatively, it would take a
few allocations from each of a couple of thousand concurrent
transactions to get to the same point.
Bound memory pools only work when serialised access to the pool can
be enforced and there are no dependencies on other operations in
progress for completion of the work and freeing of the ...
| Aug 26, 12:06 am 2010 |
| David Rientjes | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
Ok, and we'll make it a WARN_ON_ONCE() to be nice to the kernel log.
Although the current patchset does this with WARN_ON_ONCE(1, ...) instead,
this serves to ensure that we aren't dependent on the page allocator's
implementation to always loop for order < PAGE_ALLOC_COSTLY_ORDER in which
On my 8GB machine, /proc/zoneinfo says the min watermark for ZONE_NORMAL
is 5086 pages, or ~20MB. GFP_ATOMIC would allow access to ~12MB of that,
so perhaps we should consider this is an acceptable ...
| Aug 25, 8:09 pm 2010 |
| Peter Zijlstra | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
Agreed with the fact that 400k isn't much to worry about.
Not agreed with the GFP_ATOMIC stmt.
Direct reclaim already has PF_MEMALLOC, but then we also need a
concurrency limit on that, otherwise you can still easily blow though
your reserves by having 100 concurrency users of it, resulting in an
upper bound of 40000k instead, which will be too much.
There were patches to limit the direct reclaim contexts, not sure they
ever got anywhere..
It is something to consider in the re-design ...
| Aug 26, 1:29 am 2010 |
| Dave Chinner | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
For a 4k block size filesystem.
If I use 64k block size directories (which XFS can even on 4k page
size machines), the maximum transaction reservation goes up to at
around 3MB, and that's just for blocks being _modified_. It's not
the limit on the amount of memory that may need to be allocated
Right, it usually is a lot less, but one of the big problems is that
during low memory situations memory reclaim of the metadata page
cache actually causes _more_ memory allocation during ...
| Aug 25, 11:38 pm 2010 |
| David Rientjes | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
Yes, that's the intent. We'd like to add the
WARN_ON_ONCE(get_order(size) >= PAGE_ALLOC_COSTLY_ORDER) warning, though,
so we're ensured that redefinition of that #define doesn't cause
allocations to fail to that don't have appropriate error handling or
future callers use higher order allocs. The _nofail() functions help that
and do some due diligence in ensuring that we aren't changing gfp flags
based only on the current page allocator implementation which may later
change with very ...
| Aug 26, 3:31 pm 2010 |
| Christoph Lameter | Re: [patch 1/5] mm: add nofail variants of kmalloc kcall ...
Then we can simply remove __GFP_NOFAIL? Functions are only needed for
higher order allocs that can fail?
--
| Aug 26, 7:16 am 2010 |
| Tejun Heo | Re: linux-next: build failure after merge of the final t ...
Hello,
Yeah, maybe. Then we also can guarantee that percpu allocator always
honors alignment (which wq code currently requires and papers over
with similarly ugly workaround). It would add a mostly redundant
allocator code tho. I'll look into how easily it can be done.
Thanks.
--
tejun
--
| Aug 26, 1:35 am 2010 |
| Christoph Lameter | Re: linux-next: build failure after merge of the final t ...
Right. Patch not refreshed after the last tinzy winzy change. Seems that I
got a bit rusty.
Subject: Slub: UP bandaid
Since the percpu allocator does not provide early allocation in UP
mode (only in SMP configurations) use __get_free_page() to improvise
a compound page allocation that can be later freed via kfree().
Compound pages will be released when the cpu caches are resized.
Signed-off-by: Christoph Lameter <cl@linux.com>
---
mm/slub.c | 16 ++++++++++++++++
1 file ...
| Aug 25, 6:35 pm 2010 |
| David Rientjes | Aug 25, 5:01 pm 2010 | |
| David Rientjes | Re: linux-next: build failure after merge of the final t ...
Acked-by: David Rientjes <rientjes@google.com>
I'm really hoping that we can remove this hack soon when the percpu
allocator can handle these allocations on UP without any specialized slab
behavior.
--
| Aug 25, 8:16 pm 2010 |
| Christoph Lameter | Re: linux-next: build failure after merge of the final t ...
So do I. Here is a slightly less hacky version through using
kmalloc_large instead:
Subject: Slub: UP bandaid
Since the percpu allocator does not provide early allocation in UP
mode (only in SMP configurations) use __get_free_page() to improvise
a compound page allocation that can be later freed via kfree().
Compound pages will be released when the cpu caches are resized.
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
---
mm/slub.c | ...
| Aug 26, 7:41 am 2010 |
| Pekka Enberg | Re: linux-next: build failure after merge of the final t ...
Applied and queued to -next.
--
| Aug 26, 11:16 am 2010 |
| Maciej Rutecki | Re: i915: 2.6.36-rc2 hoses my Intel display
I created a Bugzilla entry at
https://bugzilla.kernel.org/show_bug.cgi?id=17151
for your bug report, please add your address to the CC list in there, thanks!
--
Maciej Rutecki
http://www.maciek.unixy.pl
--
| Aug 26, 12:23 pm 2010 |
| Phil Turmel | Re: Please add generic support for root=UUID= at kernel ...
Hi Eric,
The key word here is "unable". The maintainers aren't *unable* to do this. They are *unwilling* to do this. I don't recall the precise discussion, but basically it boils down to the fact that early userspace (aka initramfs) can do this efficiently, and it needs to be supported in initramfs for other reasons, so it is pointless to duplicate this code in the kernel. I'm sure block folk will chime in if this isn't a fair representation (my apologies in advance if so).
Try dracut. ...
| Aug 26, 12:53 pm 2010 |
| Eric Valette | Re: Please add generic support for root=UUID= at kernel ...
Hi Phil
I found a solution myself using the grub embedded "search --fs-uuid". I
do it once the linux boot partition and also on one partition of the
external disk. If the search on the external disk report an error, I
know root=/dev/sda1 else root=/dev/sdb1. But I really think this should
be linux job!
I also converted my /etc/fstab to LABEL=foo /foo syntax.
Now I'm really puzzled grub2 as a "search by fs uuid" command that linux
is unable to deliver for the root device!
I have ...
| Aug 26, 8:32 am 2010 |
| Eric Dumazet | Re: RFC: MTU for serving NFS on Infiniband
Unfortunately, your infiniband device lacks NETIF_F_SG support.
MTU a bit larger than PAGE_SIZE-overhead will need high order
allocations ?
--
| Aug 26, 4:57 am 2010 |
| Chuck Lever | Re: RFC: MTU for serving NFS on Infiniband
On advanced cluster-area networks with large MTUs, the ACK packets in TCP will probably kill your performance. That's one of the main reasons we keep NFS over UDP on life support! :-)
--
chuck[dot]lever[at]oracle[dot]com
--
| Aug 26, 7:58 am 2010 |
| Marc Aurele La France | Re: RFC: MTU for serving NFS on Infiniband
Generating smaller-than-MTU fragments is better than giving up and
Point of clarification: we're talking about the client here, not the
Steady now. There's no need to YELL nor be arrogant. You and I both know
there's a place for NFS over UDP. That's not changing any time soon. While
I'm aware of the issue you brought up, it is separate from the one at hand in
this discussion.
I do want to thank you, however, for reminding me of TCP. It's something
20/20 hindsight says I ...
| Aug 26, 4:40 am 2010 |
| Stephen Hemminger | Re: RFC: MTU for serving NFS on Infiniband
On Thu, 26 Aug 2010 08:43:42 -0600 (Mountain Daylight Time)
Infiniband device driver needs to be fixed to do SG and checksum offload.
Otherwise it is insane to try and run large MTU over it. I even wonder if
the dev_change_mtu() function should reject > PAGESIZE mtu for devices
that don't do scatter/gather or at least a raise a warning.
--
| Aug 26, 4:53 pm 2010 |
| Matti J. Aaltonen | Re: [PATCH RFC 1/1] MISC: Broadcom BCM4751 GPS driver
Hello.
The interface to user space is MEIF data over a char device. Something
about MEIF can be found at
http://www.forum.nokia.com/info/sw.nokia.com/id/b265d3aa-8198-4eb0-a0e3-077748ccea40/M...
Best Regards,
Matti A.
--
| Aug 26, 2:31 am 2010 |
| Pavel Machek | Re: [PATCH RFC 1/1] MISC: Broadcom BCM4751 GPS driver
Umm, that contains some legaleese, but nothing useful...?
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 26, 1:09 pm 2010 |
| Maciej Rutecki | Re: [PROBLEM] i915/drm: Insufficient FIFO for plane
See:
https://bugzilla.kernel.org/show_bug.cgi?id=17021
Regards
--
Maciej Rutecki
http://www.maciek.unixy.pl
--
| Aug 26, 11:27 am 2010 |
| Gary King | RE: [PATCH 2/2] regulator: tps6586x-regulator - fix bit_ ...
The patch seems fine.
- Gary
________________________________________
From: Liam Girdwood [lrg@slimlogic.co.uk]
Sent: Wednesday, August 25, 2010 2:53 AM
To: Mike Rapoport
Cc: Mark Brown; Gary King; Axel Lin; linux-kernel
Subject: Re: [PATCH 2/2] regulator: tps6586x-regulator - fix bit_mask parameter for tps6586x_set_bits()
Do we have any news on this testing ? I'd like to have these upstream
for rc3.
Thanks
Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator ...
| Aug 26, 2:25 pm 2010 |
| Maciej Rutecki | Re: WARN with 3c905 boomerang NIC
I created a Bugzilla entry at
https://bugzilla.kernel.org/show_bug.cgi?id=17131
for your bug report, please add your address to the CC list in there, thanks!
--
Maciej Rutecki
http://www.maciek.unixy.pl
--
| Aug 26, 11:32 am 2010 |
| Jason Baron | Re: [PATCH] workqueue: Add basic tracepoints to track wo ...
Hi,
it might also be nice to add a workqueue chapter to the traceopint docbook.
Since you've already included kernel-doc style comments, the below is all that
we need.
current book is at: http://www.kernel.org/doc/htmldocs/tracepoint/
thanks,
-Jason
Add a workqueue chapter to the tracepoint docbook
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
Documentation/DocBook/tracepoint.tmpl | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git ...
| Aug 26, 7:35 am 2010 |
| Cyrill Gorcunov | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
On Thu, Aug 26, 2010 at 3:52 AM, Frederic Weisbecker <fweisbec@gmail.com> wrote:
Thanks for info, Frederic!
--
| Aug 26, 2:11 am 2010 |
| Don Zickus | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
It was really in Peter's patch, just a stupid hack for now.
Cheers,
Don
diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
index 4539b4b..9e65a7b 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -777,7 +777,9 @@ again:
done:
intel_pmu_enable_all(0);
- return handled;
+ if (!handled)
+ return handled;
+ return ++handled;
}
static struct event_constraint *
--
| Aug 26, 9:40 am 2010 |
| Cyrill Gorcunov | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
On Thu, Aug 26, 2010 at 1:00 PM, Robert Richter <robert.richter@amd.com> wrote:
Any chance to get it tested on P4 machine since it has a bit
different design?
Cyrill
--
| Aug 26, 2:18 am 2010 |
| Robert Richter | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
This could also be a race in the counter handling code, or we do not
proper count the number of handled counters. Maybe 2 counters actually
fired but we only noticed one counter and then accidentially cleared
the 2nd without processing it.
-Robert
--
Advanced Micro Devices, Inc.
Operating System Research Center
--
| Aug 26, 2:00 am 2010 |
| Don Zickus | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Hmm, I take that back. I guess I can reproduce this on my i5 that I had
using Ingo's config.
Working on Robert's assumption, I added code to perf_event_intel.c that
said if handled !=0 just add one to it (IOW always process handled as 0 or
something >1). That seems to working good and catches the nmis that Ingo
was seeing.
I'll keep looking for the race condition to better fix it.
Cheers,
Don
--
| Aug 26, 8:22 am 2010 |
| Cyrill Gorcunov | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Sounds promising, mind to post new inter-diff? Ie what you have
changed from Robert's patch.
-- Cyrill
--
| Aug 26, 8:34 am 2010 |
| Don Zickus | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
So this patch fixes it, though I haven't convince myself why (perhaps
babysitting my 4 month old isn't helping :-))
The code now enters the loop and reprocesses the new status which properly
increments handled to 2 and thus the new logic takes care of it.
Cheers,
Don
diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
index 4539b4b..d16ebd8 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ ...
| Aug 26, 2:14 pm 2010 |
| Cyrill Gorcunov | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
ok, it seems it just treat any unknown nmi as being came from PMU, no?
-- Cyrill
--
| Aug 26, 11:02 am 2010 |
| Don Zickus | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Well P4 uses a different pmu irq handler, so I am not sure it will give us
much insight. I haven't noticed this on an AMD or an intel i5 either.
Cheers,
Don
--
| Aug 26, 7:31 am 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
I'm aware that grabbing a large chunk at boot time is a bit of waste of
space and because of it I'm hoping to came up with a way of reusing the
space when it's not used by CMA-aware devices. My current idea was to
OK.
--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Michał "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--
| Aug 25, 6:28 pm 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv4 3/6] mm: cma: Added SysFS support
The SysFS CMA interface is meant for development only and because of that
I decided to separate it form the core in a separate patch and enable it
only when explicitly requested.
--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Michał "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--
| Aug 25, 6:20 pm 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
At this point I need to say that I have no experience with hotplug memory but
I think that for this to make sense the regions of memory would have to be
smaller. Unless I'm misunderstanding something, the above would convert
a region of sizes in order of GiBs to use for CMA.
--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Michał "mina86" Nazarewicz (o ...
| Aug 25, 7:12 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
On Wed, 25 Aug 2010 15:58:14 -0700
Hmm, you may not like this..but how about following kind of interface ?
Now, memoyr hotplug supports following operation to free and _isolate_
memory region.
# echo offline > /sys/devices/system/memory/memoryX/state
Then, a region of memory will be isolated. (This succeeds if there are free
memory.)
Add a new interface.
% echo offline > /sys/devices/system/memory/memoryX/state
# extract memory from System RAM and make them invisible from buddy ...
| Aug 25, 5:58 pm 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv4 2/6] mm: cma: Contiguous Memory Allocat ...
No. CMA's designed for systems without IOMMU. If system has IOMMU then
there is no need for contiguous memory blocks since all discontiguousnesses
Essentially that's the idea. Platform init code adds early regions and later
on reserves memory for all of the early regions. For the former some
In the first version I've used unsigned long as return type but then it
was suggested that maybe dma_addr_t would be better. This is easily
If I understood you correctly this is something I'm ...
| Aug 25, 6:22 pm 2010 |
| Pawel Osciak | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
Hi Andrew,
Thank you for your comments and interest in this!
This is encouraging, thanks. Merging a contiguous allocator seems like a
lost cause, with a relative disinterest of non-embedded people, and on
the other hand because of the difficulty to satisfy those actually
interested. With virtually everybody having their own, custom solutions,
I think Zach's work is more focused on IOMMU and on unifying virtual
memory handling. As far as I understand, any physical allocator can be ...
| Aug 25, 6:22 pm 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
Comments are always welcome. :)
--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Michał "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--
| Aug 25, 6:38 pm 2010 |
| Pawel Osciak | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
The main problem is of course fragmentation, for this there is no
solution in CMA. It has a feature intended to at least reduce memory
usage though, if only a little bit. It is region sharing. It allows
platform architects to define regions shared by more than one driver, as
explained by Michal in the RFC. So we can at least try to reuse each
chunk of memory as much as possible and not hold separate regions for
each driver when they are not intended to work simultaneously. Not a
I am ...
| Aug 25, 6:38 pm 2010 |
| Américo Wang | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
Yeah, if we can do this, that will avoid rebooting for kdump to reserve
memory.
Thanks.
--
| Aug 25, 10:54 pm 2010 |
| Minchan Kim | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
I agree. compaction and movable zone will be one of good solutions.
If some driver needs big contiguous chunk to work, it should make sure
to be allowable to have memory size for it before going. To make sure
it, we have to consider compaction of ZONE_MOVABLE zone. But one of
problems is anonymous page which can be has a role of pinned page in
non-swapsystem. Even most of embedded system has no swap.
But it's not hard to solve it.
We needs Mel's opinion, too.
--
Kind regards,
Minchan ...
| Aug 25, 7:49 pm 2010 |
| Minchan Kim | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
I elaborates my statement for preventing confusing due to using _pinned page_.
I means that anon pages isn't not a fragment problem but space problem
for the devices.
--
Kind regards,
Minchan Kim
--
| Aug 25, 8:04 pm 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
On embedded systems it may be like half of the RAM. Or a quarter. So bigger
That's how CMA works at the moment. But if I understand you correctly, what
you are proposing would allow to reserve memory *at* *runtime* long after system
Hibernation was not considered as of yet but I think it's device driver's
responsibility more then CMA's especially since it may make little sense to save
some of the buffers -- ie. no need to keep a frame from camera since it'll be
overwritten just after ...
| Aug 25, 9:01 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
On Thu, 26 Aug 2010 13:06:28 +0900
yes, I think so. But, IIRC, it's own purpose of Chirstoph's work is
for removing zones. please be careful what's really necessary.
Thanks,
-Kame
--
| Aug 25, 9:30 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
On Thu, 26 Aug 2010 06:01:56 +0200
mm/memory_hotplug.c::offline_pages() does
1. disallow new allocation of memory in [start_pfn...end_pfn)
2. move all LRU pages to other regions than [start_pfn...end_pfn)
3. finally, mark all pages as PG_reserved (see __offline_isolated_pages())
What's required for cma will be
a. remove _section_ limitation, which is done as BUG_ON().
b. replace 'step 3' with cma code.
Maybe you can do similar just using compaction logic. The biggest difference ...
| Aug 25, 9:39 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
On Thu, 26 Aug 2010 04:12:10 +0200
Now, x86's section size is
==
#ifdef CONFIG_X86_32
# ifdef CONFIG_X86_PAE
# define SECTION_SIZE_BITS 29
# define MAX_PHYSADDR_BITS 36
# define MAX_PHYSMEM_BITS 36
# else
# define SECTION_SIZE_BITS 26
# define MAX_PHYSADDR_BITS 32
# define MAX_PHYSMEM_BITS 32
# endif
#else /* CONFIG_X86_32 */
# define SECTION_SIZE_BITS 27 /* matt - 128 is convenient right now */
# define MAX_PHYSADDR_BITS 44
# define ...
| Aug 25, 7:50 pm 2010 |
| Minchan Kim | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
Of course, It itself can't meet our requirement but idea of range
allocation seem to be good.
--
Kind regards,
Minchan Kim
--
| Aug 25, 9:14 pm 2010 |
| Minchan Kim | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
On Thu, Aug 26, 2010 at 12:44 PM, KAMEZAWA Hiroyuki
True. Doesn't patch's idea of Christoph helps this ?
http://lwn.net/Articles/200699/
--
Kind regards,
Minchan Kim
--
| Aug 25, 9:06 pm 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
At this moment it seems nothing more then that but they way I see it
is that with a common, standardised, centrally-managed mechanism for
grabbing memory we can start thinking about the ways to reuse the memory.
If each driver were to grab it's own memory in a way know to itself only
the memory is truly lost but with CMA not only regions can be reused among
devices but also the framework can manage the unallocated memory and try to
utilize it in other ways (movable pages? cache? buffers? some ...
| Aug 25, 6:49 pm 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
Hello Andrew,
I think Pawel has replied to most of your comments, so I'll just add my own
I think that the biggest problem is fragmentation here. For instance,
I think that a situation where there is enough free space but it's
fragmented so no single contiguous chunk can be allocated is a serious
problem. However, I would argue that if there's simply no space left,
a multimedia device could fail and even though it's not desirable, it
would not be such a big issue in my eyes.
So, if ...
| Aug 25, 7:40 pm 2010 |
| Michal Nazarewicz | [PATCH/RFCv4.1 2/6] mm: cma: Contiguous Memory Allocator added
The Contiguous Memory Allocator framework is a set of APIs for
allocating physically contiguous chunks of memory.
Various chips require contiguous blocks of memory to operate. Those
chips include devices such as cameras, hardware video decoders and
encoders, etc.
The code is highly modular and customisable to suit the needs of
various users. Set of regions reserved for CMA can be configured
per-platform and it is easy to add custom allocator algorithms if one
has such ...
| Aug 25, 11:25 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
On Thu, 26 Aug 2010 11:50:17 +0900
Ah, I need to clarify what I want to say.
With compaction, it's helpful, but you can't get contiguous memory larger
than MAX_ORDER, I think. To get memory larger than MAX_ORDER on demand,
memory hot-plug code has almost all necessary things.
you may able to add
# echo 0xa0000000-0xa80000000 > /sys/devices/system/memory/cma
to get contiguous isolated memory.
BTW, just curious...the memory for cma need not to be saved at
hibernation ? Or drivers has to ...
| Aug 25, 8:44 pm 2010 |
| Peter Zijlstra | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
Well, compaction can move those around, but if you've got too many of
them its a simple matter of over-commit and for that we've got the
OOM-killer ;-)
--
| Aug 26, 1:20 am 2010 |
| Peter Zijlstra | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
If you'd actually looked at the page allocator you'd see its capable of
doing exactly that!
I has the notion of movable pages, it can defragment free space (called
compaction).
Use it!
--
| Aug 26, 1:18 am 2010 |
| Mel Gorman | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
I'm only taking a quick look at this - slow as ever so pardon me if I
Quick glance tells me that buffer sizes of 20MB are being thrown about
which the core page allocator doesn't handle very well (and couldn't
without major modification). Fragmentation avoidance only works well on
sizes < MAX_ORDER_NR_PAGES which likely will be 2MB or 4MB.
That said, there are things the core VM can do to help. One is related
to ZONE_MOVABLE and the second is on the use of MIGRATE_ISOLATE.
ZONE_MOVABLE is ...
| Aug 26, 3:12 am 2010 |
| Mel Gorman | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
For handling fragmentation, there is the option of ZONE_MOVABLE so it's
usable by normal allocations but the CMA can take action to get it
cleared out if necessary. Another option that is trickier but less
disruptive would be to select a range of memory in a normal zone for CMA
and mark it MIGRATE_MOVABLE so that movable pages are allocated from it.
The trickier part is you need to make that bit stick so that non-movable
pages are never allocated from that range. That would be trickish ...
| Aug 26, 3:18 am 2010 |
| Minchan Kim | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
As I said following mail, I said about free space problem.
Of course, compaction could move anon pages into somewhere.
What's is somewhere? At last, it's same zone.
It can prevent fragment problem but not size of free space.
So I mean it would be better to move it into another zone(ex, HIGHMEM)
rather than OOM kill.
--
Kind regards,
Minchan Kim
--
| Aug 26, 2:29 am 2010 |
| Minchan Kim | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
It's another topic.
I agree highmem isn't a gorgeous. But my desktop isn't real machine?
Important thing is that we already have a highmem and many guys
No. Until now, many embedded devices have used to small memory. In
that case, only there is a DMA zone in system. But as I know, mobile
phone starts to use big(?) memory like 1G or above sooner or later. So
they starts to use HIGHMEM. Otherwise, 2G/2G space configuration.
Some embedded device uses many thread model to port easily from ...
| Aug 26, 3:21 am 2010 |
| Minchan Kim | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
On Thu, Aug 26, 2010 at 1:30 PM, KAMEZAWA Hiroyuki
Ahh. Sorry for missing point.
You're right. The patch can't help our problem.
How about changing following this?
The thing is MAX_ORDER is static. But we want to avoid too big
MAX_ORDER of whole zones to support devices which requires big
allocation chunk.
So let's add MAX_ORDER into each zone and then, each zone can have
different max order.
For example, while DMA[32], NORMAL, HIGHMEM can have normal size 11,
MOVABLE zone could have a ...
| Aug 26, 2:36 am 2010 |
| Peter Zijlstra | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
Real machines don't have highmem, highmem sucks!! /me runs
Does cross zone movement really matter, I though these crappy devices
were mostly used on crappy hardware with very limited memory, so pretty
much everything would be in zone_normal.. no?
But sure, if there's really a need we can look at maybe doing cross zone
movement.
--
| Aug 26, 3:06 am 2010 |
| Mel Gorman | Re: [PATCH/RFCv4 2/6] mm: cma: Contiguous Memory Allocat ...
Please do not consider this a proper review. I'm only glancing through
So more than 6MB of memory means the page allocator cannot automatically
grant the requests. That's fine but I'd still like to be as close to the
An important consideration is if the alignment is always a natural
alignment? i.e. a 64K buffer must be 64K aligned, 128K must be 128K aligned
etc. I ask because the buddy allocator is great at granting natural alignments
If drivers are using bootmem and custom allocators, I ...
| Aug 26, 6:47 am 2010 |
| Peter Zijlstra | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
Right, so to me that looks like going at the problem backwards. That
will complicate the page-cache instead of your bad hardware drivers
(really, hardware should use IOMMUs already).
So why not work on the page allocator to improve its contiguous
allocation behaviour. If you look at the thing you'll find pageblocks
and migration types. If you change it so that you pin the migration type
of one or a number of contiguous pageblocks to say MIGRATE_MOVABLE, so
that they cannot be used for ...
| Aug 26, 1:17 am 2010 |
| Peter Zijlstra | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
Even more offtopic ;-)
I have exactly 0 machines in daily use that use highmem, I had to test
that kmap stuff in a 32bit qemu.
Sadly some hardware folks still think its a sane thing to do, like ARM
announcing 40bit PAE, I mean really?!
At least AMD announced a 64bit tiny-chip and hopefully Intel Atom will
soon be all 64bit too (please?!).
--
| Aug 26, 4:05 am 2010 |
| tip-bot for Haicheng Li | [tip:x86/mm] x86-64, mem: Update all PGDs for direct map ...
Commit-ID: 9b861528a8012e7bc4d1f7bae07395b225331477
Gitweb: http://git.kernel.org/tip/9b861528a8012e7bc4d1f7bae07395b225331477
Author: Haicheng Li <haicheng.li@linux.intel.com>
AuthorDate: Fri, 20 Aug 2010 17:50:16 +0800
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 14:02:33 -0700
x86-64, mem: Update all PGDs for direct mapping and vmemmap mapping changes
When memory hotplug-adding happens for a large enough area
that a new PGD entry is needed for the ...
| Aug 26, 2:34 pm 2010 |
| tip-bot for Haicheng Li | [tip:x86/mm] x86, mm: Separate x86_64 vmalloc_sync_all() ...
Commit-ID: 6afb5157b9eba4092e2f0f54d24a3806409bdde5
Gitweb: http://git.kernel.org/tip/6afb5157b9eba4092e2f0f54d24a3806409bdde5
Author: Haicheng Li <haicheng.li@linux.intel.com>
AuthorDate: Wed, 19 May 2010 17:42:14 +0800
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 14:02:29 -0700
x86, mm: Separate x86_64 vmalloc_sync_all() into separate functions
No behavior change.
Move some of vmalloc_sync_all() code into a new function
sync_global_pgds() that ...
| Aug 26, 2:33 pm 2010 |
| Zachary Amsden | Re: [KVM timekeeping 25/35] Add clock catchup mode
Technically, that may not be quite correct.
<digression into weeds>
The RDTSC instruction will return a monotonically increasing unique
value, but the execution and retirement of the instruction are
unserialized. So technically, two simultaneous RDTSC could be issued to
multiple execution units, and they may either return the same values, or
the earlier one may stall and complete after the latter.
rdtsc
mov %eax, %ebx
mov %edx, %ecx
rdtsc
cmp %edx, %ecx
jb fail
cmp %ebx, ...
| Aug 25, 5:17 pm 2010 |
| Anton Blanchard | Re: [PATCH] audit: speedup for syscalls when auditing is ...
Hi Eric,
Here's another approach Mikey and I were discussing. We allocate the
tsk->audit_context as before, but we avoid setting the TIF_SYSCALL_AUDIT until
the first rule gets added.
We could look at clearing the flag when the rules go back to zero, but this
simple patch covers the most common case I think.
Anton
---
Index: powerpc.git/kernel/auditfilter.c
===================================================================
--- powerpc.git.orig/kernel/auditfilter.c 2010-08-26 ...
| Aug 25, 8:34 pm 2010 |
| Marin Mitov | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Here I disagree with you: "that can be used for any device for a device".
Reserved coherent memory can be only and exclusively used by
the __same__ device whose device->dma_mem is touched. No other devices
are influenced because their device->dma_mem are NULL. and
dma_alloc_from_coherent() is not invoked for them. That is why I think
this hack is not dangerous. If some device driver decide to reserve some
chunk of memory it is for its private use and no other device in the system
Here I ...
| Aug 26, 3:14 am 2010 |
| Marin Mitov | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Please, look at drivers/media/video/videobuf-dma-contig.c. Using coherent memory
is inavoidable for now, there is no alternative for it for now. The two new functions,
which I propose are just helpers for those of us who already use coherent memory
(via videobuf-dma-contig API). May be adding these two functions to
drivers/media/video/videobuf-dma-contig.c will be better solution?
Thanks.
--
| Aug 25, 11:04 pm 2010 |
| FUJITA Tomonori | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Fri, 20 Aug 2010 14:50:12 +0300
Then, we should avoid using coherent memory as I exaplained before. In
addition, dma_alloc_coherent can't provide large enough contigous
memory for some drivers so this patch doesn't help much.
We need the proper API for contiguous memory. Seem that we could have
something:
http://lkml.org/lkml/2010/8/20/167
--
| Aug 25, 10:40 pm 2010 |
| Guennadi Liakhovetski | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
See this reply, and the complete thread too.
Anyway, we need a way to fix the regression.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
| Aug 26, 2:45 am 2010 |
| FUJITA Tomonori | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Thu, 26 Aug 2010 09:04:14 +0300
If you add something to the videobuf-dma-contig API, that's fine by me
because drivers/media/video/videobuf-dma-contig.c uses the own
structure and plays with dma_alloc_coherent. As long as a driver
doesn't touch device->dma_mem directly, it's fine, I think (that is,
dt3155v4l driver is broken). There are already some workarounds for
contigous memory in several drivers anyway.
We will have the proper API for contiguous memory. I don't think that
adding such ...
| Aug 25, 11:24 pm 2010 |
| Marin Mitov | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Why, my understanding is that device->dma_mem is designed exactly for keeping
some chunk of coherent memory for device's private use via dma_alloc_from_coherent()
If you mean that allocating some coherent memory (4MB in case of dt3155v4l) during
pci probe() (during system booting) for device's latter use (that is dead for the rest
of the system) you are right. But this gives me at least 8 full size buffers warranted for
latter use. Without this hack the hardware will not work on strongly ...
| Aug 26, 12:01 am 2010 |
| Guennadi Liakhovetski | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
No, this will not work - this API has to be used from board code and
We have currently a number of boards broken in the mainline. They must be
fixed for 2.6.36. I don't think the mentioned API will do this for us. So,
as I suggested earlier, we need either this or my patch series
http://thread.gmane.org/gmane.linux.ports.sh.devel/8595
for 2.6.36.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
| Aug 26, 2:06 am 2010 |
| FUJITA Tomonori | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Thu, 26 Aug 2010 11:45:58 +0200 (CEST)
Needs to find a different way.
--
| Aug 26, 2:51 am 2010 |
| Uwe Kleine-König | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
The patch that made the problem obvious for ARM is
309caa9cc6ff39d261264ec4ff10e29489afc8f8 aka v2.6.36-rc1~591^2~2^4~12.
So this went in before v2.6.36-rc1. One of the "architectures which
similar restrictions" is x86 BTW.
And no, we won't revert 309caa9cc6ff39d261264ec4ff10e29489afc8f8 as it
addresses a hardware restriction.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | ...
| Aug 26, 2:53 am 2010 |
| Marin Mitov | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
You are right. DT3155_COH_FLAGS should be defined, and a declaration should be
put in the headers.
But it is just RFC :-)
--
| Aug 26, 3:18 am 2010 |
| FUJITA Tomonori | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Thu, 26 Aug 2010 11:53:11 +0200
How these drivers were able to work without hitting the hardware restriction?
--
| Aug 26, 3:00 am 2010 |
| Uwe Kleine-König | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Hello,
this seems to be more mature to me. The original patch in this thread
uses a symbol DT3155_COH_FLAGS which seems misplaced in generic code and
doesn't put the new functions in a header.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
| Aug 26, 2:17 am 2010 |
| FUJITA Tomonori | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Thu, 26 Aug 2010 10:01:52 +0300
I don't think so. device->dma_mem can be accessed only via the
DMA-API. I think that the DMA-API says that
dma_declare_coherent_memory declares coherent memory that can be
access exclusively by a certain device. It's not for reserving
coherent memory that can be used for any device for a device.
Anway, you don't need coherent memory. So using the API for coherent
I don't think that's a good idea. Adding temporary workaround to the
generic API and removing ...
| Aug 26, 2:43 am 2010 |
| FUJITA Tomonori | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Thu, 26 Aug 2010 11:06:20 +0200 (CEST)
Why can't you revert a commit that causes the regression?
The related DMA API wasn't changed in 2.6.36-rc1. The DMA API is not
responsible for the regression. And the patchset even exnteds the
definition of the DMA API (dma_declare_coherent_memory). Such change
shouldn't applied after rc1. I think that DMA-API.txt says that
dma_declare_coherent_memory() handles coherent memory for a particular
device. It's not for the API that reserves coherent memory ...
| Aug 26, 2:30 am 2010 |
| Russell King - ARM Linux | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
No. ioremap on memory mapped by the kernel is just plain not permitted
with ARMv6 and ARMv7 architectures.
It's not something you can say "oh, need to find another way" because there
is _no_ software solution to having physical regions mapped multiple times
with different attributes. It's an architectural restriction.
We can't unmap the kernel's memory mapping either, as I've already explained
several times this month - and I'm getting frustrated at having to keep
on explaining that ...
| Aug 26, 10:49 am 2010 |
| Russell King - ARM Linux | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Well, OMAP processors have experienced lock-ups due to multiple mappings of
memory, so the restriction in the architecture manual is for real.
But more the issue is that the behaviour you get from a region is _totally_
unpredictable (as the arch manual says). With the VIPT caches, they can
be searched irrespective of whether the page tabkes indicate that it's
supposed to be cached or not - which means you can still hit cache lines
for an ioremap'd region.
And if you do, how do you know ...
| Aug 26, 10:54 am 2010 |
| Marin Mitov | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Hi Russell,
Just because ioremap on memory mapped by the kernel is just plain not permitted
I have proposed a new pair of functions: dma_reserve_coherent_memory()/dma_free_reserved_memory()
http://lkml.org/lkml/2010/8/19/200
but it is not quite well accepted from the community.
What is your opinion?
Thanks,
--
| Aug 26, 11:32 am 2010 |
| Arnd Hannemann | Re: Which kernel.org WWW is the master server?
Regards,
Arnd
--
| Aug 26, 8:10 am 2010 |
| Jiri Kosina | Re: Which kernel.org WWW is the master server?
I guess that simply running
finger @kernel.org
will give you exactly the information you are looking for which much less
pain of connecting to www server, parsing html, etc.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Aug 26, 6:37 am 2010 |
| Piotr Hosowicz | Re: Which kernel.org WWW is the master server?
Moreover it is written as the above.
Regards,
Piotr Hosowicz
--
"Bardzo fajna firma, tylko czasami nie płaci. Do jej głównych
zalet należą: ekspres ciśnieniowy (ale tylko na jednym z pię-
ter) oraz fajne widoki z salki konferencyjnej. No i jakieś
pół roku temu odeszło 90% pracowników działu IT, ale może nie
mieli racji ;)"
NP: Peter Green Splinter Group - I Can't Help Myself
NB: 2.6.36-rc2-git4
--
| Aug 26, 8:20 am 2010 |
| Randy Dunlap | Re: Which kernel.org WWW is the master server?
I have a script that reads finger_banner then adds mmotm & its base kernel tree,
& linux-next & its base kernel tree to the finger_banner. (It was written
before finger_banner included linux-next info.)
Output today is:
The latest linux-next version of the Linux kernel is: next-20100826
The latest snapshot 2.6 version of the Linux kernel is: 2.6.36-rc2-git4
The latest mainline 2.6 version of the Linux kernel is: 2.6.36-rc2
The latest stable 2.6.35 version of the Linux ...
| Aug 26, 8:36 am 2010 |
| Bodo Eggert | Re: [PATCH 14/38] fallthru: ext2 fallthru support
You'll also hit it while creating the first whiteout, maybe on creating
the first whiteout since mounting, and on filesystems not supporting
hardlinks (are there some that support attributes but not hardlinks?).
Maybe it will be possible to create immutable whiteout inodes, too.
--
| Aug 26, 2:53 am 2010 |
| Vladislav Bolkhovitin | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
Hmm, I can't understand, if target_core_stgt.c is "NOT being tagged as a
mainline .37 item", then the STGT ABI compatibility for being a drop in
This is exactly what we are discussing.
Thanks,
Vlad
--
| Aug 26, 1:11 pm 2010 |
| Nicholas A. Bellinger | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
Sorry, but I have no idea what you are trying to conjour up here.
To spell out (again) the TCM/LIO<->STGT compatibility stages that have
been persued pubically over the last months:
I) Create proper userspace tgt.git SG_IO and BSG passthrough into
TCM_Loop v4 using high-level multi-fabric WWPN emulation so that TCM
Core SPC-4 kernel emulation is exposed to STGT user fabrics, eg:
userspace fabric module -> kernel backstore passthrough. (DONE
for .37, and STGT passthrough + ...
| Aug 26, 2:23 pm 2010 |
| Randy Dunlap | Re: [RFC] Docbook: allow warning on unused documentation
Yes, I see. That output looks useful.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| Aug 26, 10:11 am 2010 |
| Johannes Berg | Re: [RFC] Docbook: allow warning on unused documentation
Yeah, like to Documentation/DocBook/mac80211.tmpl you could add
johannes
--
| Aug 26, 9:51 am 2010 |
| Johannes Berg | Re: [RFC] Docbook: allow warning on unused documentation
Sure, I can't say I care much, had "all" in mind when I came up with !A.
I fixed up the command, and can change that and resend.
johannes
--
| Aug 26, 10:36 am 2010 |
| Randy Dunlap | Re: [RFC] Docbook: allow warning on unused documentation
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| Aug 26, 9:37 am 2010 |
| Johannes Berg | [PATCH] Docbook: allow warning on unused documentation
From: Johannes Berg <johannes.berg@intel.com>
When you don't use !E or !I but only !F, then
it's very easy to miss including some functions,
structs etc. in documentation. To help finding
which ones were missed, allow printing out the
unused ones as warnings.
For example, using this on mac80211 yields a
lot of warnings like this:
Warning: didn't use docs for DOC: mac80211 workqueue
Warning: didn't use docs for ieee80211_max_queues
Warning: didn't use docs for ieee80211_bss_change
...
| Aug 26, 10:43 am 2010 |
| Randy Dunlap | Re: [PATCH] Docbook: allow warning on unused documentation
Applied, thanks.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| Aug 26, 11:48 am 2010 |
| Corentin Chary | Re: [PATCH 8/8] ideapad: Change the driver name to ideap ...
Probably not very important .. but .. other drivers are called *-laptop.c, not
*_laptop.c ..
asus-laptop.c classmate-laptop.c compal-laptop.c dell-laptop.c eeepc-laptop.c
fujitsu-laptop.c msi-laptop.c panasonic-laptop.c sony-laptop.c topstar-laptop.c
--
Corentin Chary
http://xf.iksaif.net
--
| Aug 25, 10:43 pm 2010 |
| Ike Panhc | Re: [PATCH 8/8] ideapad: Change the driver name to ideap ...
I choose _laptop.c not -laptop.c because when modprobe. We are using
"modprobe asus-laptop", but when removing, using "modprobe asus_laptop".
--
| Aug 25, 11:16 pm 2010 |
| Corentin Chary | Re: [PATCH 8/8] ideapad: Change the driver name to ideap ...
Hum, that's a "bug" in asus-laptop, because I used KBUILD_MODNAME
(asus_laptop) instead
of "asus-laptop" as the driver name. And I don't know if I can change
that now without breaking
backward compatibility.
But other drivers should work (I tested sony-laptop).
--
Corentin Chary
http://xf.iksaif.net
--
| Aug 26, 12:43 am 2010 |
| Kalle Valo | Re: Filesystem corruption with 2.6.36-rc1-wl+ and ecryptfs
(For the archives)
It was ecryptfs, bug report here:
https://bugs.launchpad.net/ecryptfs/+bug/623087
And fix here:
http://git.kernel.org/?p=linux/kernel/git/ecryptfs/ecryptfs-2.6.git;a=commitdiff;h=b4e...
--
Kalle Valo
--
| Aug 25, 11:46 pm 2010 |
| Michal Marek | Re: [PATCH][resend] scripts/mod/modpost.c: fix commentar ...
Applied, thanks.
Michal
--
| Aug 26, 4:56 am 2010 |
| Borislav Petkov | Re: [PATCH -v3] x86, tsc: Remove CPU frequency calibrati ...
From: Alok Kataria <akataria@vmware.com>
That's nice, KVM appears to not hit it either due to unsynchronized
Yeah, I think it is :). Sorry for taking so long but removing code which
is actively executed from the kernel is not such a light decision. But
the hw guys made sure that this bit is always set so we don't need the
calibration. It wouldn't work in all cases anyway (hint: boosted cores).
Thanks.
--
Regards/Gruss,
Boris.
Advanced Micro Devices GmbH
Einsteinring 24, 85609 ...
| Aug 26, 12:19 am 2010 |
| M. Vefa Bicakci | Re: [Bisected Regression in 2.6.35] A full tmpfs filesys ...
Hello!
First of all, thanks a lot for your help - I really appreciate it.
I applied your new patches on top of your old patches. Hopefully that
was okay.
Unfortunately, it didn't work this time. Here's a sample output from the
new patch.
=== 8< ===
[58.050208] PM: Preallocating image memory...
[58.159881] shrink_all_memory start
[58.232411] PM: shrink memory: pass=1, req:312373 reclaimed:15864 free:358420
[58.342041] PM: shrink memory: pass=2, req:296509 reclaimed:21837 ...
| Aug 26, 3:36 am 2010 |
| Maxim Levitsky | Re: [PATCH] fix BUG using smp_processor_id() in touch_nm ...
Was this patch forgotten?
Best regards,
Maxim Levitsky
--
| Aug 26, 3:14 am 2010 |
| Don Zickus | Re: [PATCH] fix BUG using smp_processor_id() in touch_nm ...
Hm, apparently it was separated out by the mail server. Here it is again
with some of the headers removed I guess.
Cheers,
Don
From: Don Zickus <dzickus@redhat.com>
Date: Thu, 19 Aug 2010 22:48:26 -0400
Subject: [PATCH] [lockup detector] sync touch_*_watchdog back to old semantics
During my rewrite, the semantics of touch_nmi_watchdog and
touch_softlockup_watchdog changed enough to break some drivers
(mostly over preemptable regions).
This change brings those touch_*_watchdog ...
| Aug 26, 7:40 am 2010 |
| Len Brown | acpi_os_stall() and touch_nmi_watchdog() (was Re: [PATCH ...
acpi_os_stall() is used in two ways.
The typical way is what triggered this e-mail thread.
It implements the AML "Stall()" operator, and is called
with interrupts enabled with durations <= 100 usec.
So one would expect it to be identical to udelay().
The exception case is when ACPICA calls it with interrupts off
and huge durations when we wrote the poweroff or sleep
register, yet we find outselves still running...
Apparently akpm added touch_nmi_watchdog() to keep the
watchdog from firing ...
| Aug 26, 10:17 am 2010 |
| Shaohua Li | Re: [RFC v2 PATCH 0/6] Btrfs: Add hot data relocation fu ...
Hi,
I'm wondering if the temperature info can be exported to userspace, and
let a daemon to do the relocation (by ioctl). A userspace daemon is more
flexible.
Thanks,
Shaohua
--
| Aug 25, 7:13 pm 2010 |
| Bjørn Mork | Re: [PATCH] V4L/DVB: mantis: Fix IR_CORE dependency
I wonder, am I really the only one who find it somewhat strange that
it's necessary to break the mantis driver by doing changes to code which
is not used at all? Yes, mantis_input.c may be linked into mantis_core,
so it is capable of breaking the build, but there is *nothing* calling
the code.
IMHO mantis_input.c should be removed unless it can be fixed up enough
to be enabled, but one would have to know why it was disabled in the
first place to do that. Dead code can always be ressurrected ...
| Aug 26, 5:34 am 2010 |
| Dmitry Torokhov | Re: [PATCH v2] input: mouse: add qci touchpad driver
Hi Neil,
I concur that since EC firmware does not seem to support full PS/2
protocol we should got with the original driver creating an input device
rather than serio.
Please send me the latest version of your driver and I will apply it to
my .37 queue.
Thanks.
--
Dmitry
--
| Aug 26, 7:49 am 2010 |
| Neil Leeder | Re: [PATCH v2] input: mouse: add qci touchpad driver
I'll check the result.
--
Neil
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
| Aug 26, 11:45 am 2010 |
| Neil Leeder | Re: [PATCH v2] input: mouse: add qci touchpad driver
Thanks - I'll incorporate review comments and post an updated patch.
--
Neil
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
| Aug 26, 2:00 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH] GSoC 2010 - Memory hotplug support for Xen g ...
On Wed, 25 Aug 2010 14:33:06 -0700
IIUC, IBM guys, using LPAR?, does memory hotplug on VM.
The operation is.
1. tell the region of memory to be added to a userland daemon.
2. The daemon write 0xXXXXXX > /sys/devices/system/memory/probe
(This notifies that memory is added physically.)
Here, memory is created.
3. Then, online memory.
I think VM guys can use similar method rather than simulating phyiscal hotplug.
Then, you don't have to worry about udev etc...
No ...
| Aug 25, 6:23 pm 2010 |
| FUJITA Tomonori | Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?)
On Fri, 20 Aug 2010 07:51:52 +1000
Ok.
I've seen that someone submitted a patch to print the dma_mask under
sysfs, I supposed, for debugging to check if a driver misuses the DMA
API or the bus can't do 64bit DMA when the device can support 64bit
DMA but only gets a buffer under 32bit.
But yeah, we can live withtout it.
Lots of drivers call dma_set_coherent_mask with 64bit mask and then
call it with 32bit mask if 64bit mask fails. So we don't have driver's
OK. like dma_set_mask(), we ...
| Aug 26, 4:55 am 2010 |
| Russell King - ARM Linux | Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?)
Ok, in that case lets disable all PCI drivers which do this on IXP4xx
then, because they obviously can't cope with the 64MB window that this
platform has.
Clearly they need to be rewritten such that they can cope with this,
irrespective of the fact that they've worked for ages with the current
solution.
--
| Aug 26, 10:57 am 2010 |
| FUJITA Tomonori | Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?)
On Thu, 26 Aug 2010 20:55:09 +0900
btw, I'm still not sure, letting architectures to clip the dma mask
(and coherent mask) behind a driver is correct by defintion of the DMA
API (it's not a real problem).
DMA-API.txt defines dma_set_mask is "checks to see if the mask is
possible and update the device parameters if it is". It means that
architectures can't clip the mask behind a driver, I think.
Lots of drivers do something like:
if (dma_set_mask(dev, DMA_BIT_MASK(64)))
if ...
| Aug 26, 6:54 am 2010 |
| Krzysztof Halasa | Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?)
Which seems strange to me. If the driver asks for 64-bit mask and the
system can only give it 32-bits, why return an error? Every 32-bit
address is also 64-bit, with the most significant bits simply cleared.
It makes sense the other way around, if the device wants e.g. 24-bit
mask (ISA or something) but the OS doesn't have a memory pool smaller
than e.g. 4 GB then returning with error is ok.
Same with IXP4xx (and perhaps PXA) - the device wants 32 bits and it's
fine, even if the mask is set ...
| Aug 26, 9:02 am 2010 |
| Andrew Morton | Re: [PATCH] UCB1400: Pass ucb1400-gpio data through ac97 bus
On Mon, 9 Aug 2010 06:43:14 +0200
Please don't send unchangelogged patches.
The title tells us what the patch does but provides no hint as to why
He's probably unaware of the patch. Let's cc him.
--
| Aug 26, 4:07 pm 2010 |
| Andrew Morton | Re: [PATCH] hrtimer: make epoll_wait() use the hrtimer r ...
I'd say this is an epoll patch, not an hrtimer patch. So I renamed it
to "epoll: make epoll_wait() use the hrtimer range feature".
Davide looks after epoll, so let's cc him.
On Sun, 8 Aug 2010 17:45:32 -0500
"estimate_accuracy" is a rotten name for a global symbol. I queued a
preparatory patch which renames this to "select_estimate_accuracy".
--
| Aug 26, 3:31 pm 2010 |
| Andrew Morton | Re: [PATCH] percpu: fix a memory leak in pcpu_extend_are ...
On Sun, 08 Aug 2010 14:42:57 +0200
--
| Aug 26, 3:10 pm 2010 |
| Paul Menage | Re: [PATCH] cgroups: fix API thinko
On Wed, Aug 25, 2010 at 2:35 PM, Andrew Morton
AFAICS it shouldn't affect any existing APIs, either in-kernel or to
userspace - it just makes the existing function
cgroup_attach_task_current_cg() a specialization of a more generic new
Other than the language being a bit confusing, it seems fine. I'd
probably word the patch description as:
Add cgroup_attach_task_all()
The existing cgroup_attach_task_current_cg() API is called by a thread
to attach another thread to all of its cgroups; ...
| Aug 25, 7:08 pm 2010 |
| Pavel Machek | Re: [AppArmor #7 0/13] AppArmor security module
It seems that security subsystem has lower standards than rest of the
kernel. Sad.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 26, 12:01 am 2010 |
| tip-bot for Shaohua Li | [tip:x86/mm] x86, mm: Make spurious_fault check explicit ...
Commit-ID: 660a293ea9be709b893d371fbc0328fcca33c33a
Gitweb: http://git.kernel.org/tip/660a293ea9be709b893d371fbc0328fcca33c33a
Author: Shaohua Li <shaohua.li@intel.com>
AuthorDate: Tue, 27 Jul 2010 16:06:28 +0800
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 26 Aug 2010 16:00:21 -0700
x86, mm: Make spurious_fault check explicitly check the PRESENT bit
pte_present() returns true even present bit isn't set but _PAGE_PROTNONE
(global bit) bit is set. While with ...
| Aug 26, 4:13 pm 2010 |
| Maciej W. Rozycki | RE: No link on e1000e with 2.6.35.3 and ThinkPad T60
If that helps -- there's a serial port option available for the T60's
UltraBay too that works as ttyS0.
Maciej
--
| Aug 26, 11:51 am 2010 |
| Marc Haber | Re: No link on e1000e with 2.6.35.3 and ThinkPad T60
Attached, for an interface in the working state. I'll deliver another
Will do in the next days.
I guess it would be better to file two bugs, one for the crashes and
one for the no-link-in-some-situations issue, right? Or is it likely
that they both have the same cause?
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." ...
| Aug 26, 4:27 am 2010 |
| Tantilov, Emil S | RE: No link on e1000e with 2.6.35.3 and ThinkPad T60
[Empty message]
| Aug 26, 10:22 am 2010 |
| Marc Haber | Re: No link on e1000e with 2.6.35.3 and ThinkPad T60
Here we go, with a non-working interface.
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 | Fax: *49 3221 2323190
| Aug 26, 10:14 am 2010 |
| Tantilov, Emil S | RE: No link on e1000e with 2.6.35.3 and ThinkPad T60
After reviewing the output from dmidecode I determined that your model T60 is slightly different than mine. It appears that you have the widescreen version. Is that correct?
Also you seem to be running a fairly old version of the BIOS (1.08). The latest is 1.18:
http://www-307.ibm.com/pc/support/site.wss/MIGR-67020.html
I would recommend that you upgrade your BIOS. If that does not help we can continue with the investigation. I will also try to locate a widescreen T60 that would hopefully help ...
| Aug 26, 2:31 pm 2010 |
| Len Brown | Re: [RFC] - Mapping ACPI tables as CACHED
When would the firmware touch those tables after booting the OS?
We once found a Toshiba laptop where the BIOS
scribbles on the DSDT at run-time.
We presumed from this that Windows
must snapshot the tables at boot and run from a copy.
We decided not to copy the tables, but to use them in-place.
So we added a check for run-time corruption of the tables
and we've seen it fire only on that one Toshiba box
(which now boots with "acpi=copy_dsdt").
thanks,
Len Brown, Intel Open Source ...
| Aug 26, 10:47 am 2010 |
| Jack Steiner | Re: [RFC - V2] - Mapping ACPI tables as CACHED
Map ACPI tables as WB on x86_64. No substantive changes to IA64.
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
V2 - Change the patch to unconditionally map ACPI tables as WB on x86_64.
I'm still some paranoid about this because of the potential imapct on
some platforms with weird BIOSs. However, note that on EFI-enabled
systems (like UV), the ACPI tables are already mapped as WB memory.
This is done in the EFI function efi_enter_virtual_mode().
The ACPI code in ...
| Aug 26, 10:17 am 2010 |
| H. Peter Anvin | Re: [RFC - V2] - Mapping ACPI tables as CACHED
I really think that it's all a consequence of the fact that ioremap()
became implicitly UC when we added PAT support (being the more
conservative choice.)
Len, want to take this one or should I?
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
| Aug 26, 11:08 am 2010 |
| Kevin Hilman | Re: [PATCH 1/5] arm: mach-davinci: check irq2ctlr() result
Sorry for the lag on this one.
Queueing for 2.6.37 in linux-davinci.git
Kevin
--
| Aug 26, 11:25 am 2010 |
| Stephan Diestelhorst | Re: [PATCH] SATA / AHCI: Do not play with the link PM du ...
Just did the following: Rebased Rafaels patch to 2.6.35 and tried it
again (with added prints to make sure I am running the right one) and
did >10 suspend to ram / resume cycles under I/O write load. All of
them worked fine (for comparison: your patch resulted in RO HDD at
first attempt).
(I had some extra prints around the suspend functions changed in
Rafael's patch, tried with and without, no change--works flawlessly.)
What do you make of this?
Thanks,
Stephan
--
Stephan ...
| Aug 26, 9:15 am 2010 |
| Rafael J. Wysocki | Re: [PATCH] SATA / AHCI: Do not play with the link PM du ...
I think my patch actually does more than the Tejun's one. I need to have a
deeper look at them both.
I'm still testing the Tejun's patch on my system where I was able to reproduce
the problem, but so far it's been working.
Thanks,
Rafael
--
| Aug 26, 11:24 am 2010 |
| Rafael J. Wysocki | Re: [PATCH] SATA / AHCI: Do not play with the link PM du ...
Thanks,
Rafael
--
| Aug 26, 4:46 pm 2010 |
| Rafael J. Wysocki | Re: [PATCH] SATA / AHCI: Do not play with the link PM du ...
Well, no luck. I was able to reproduce the issue on my box with this patch
applied on top of 2.6.32-rc2.
Which probably means that the link power management is not really involved
here and seems to turn up this statement:
rc = ata_host_request_pm(host, mesg, 0, ATA_EHI_QUIET, 1);
in ata_host_suspend() as the culprit.
Does it make sense?
Thanks,
Rafael
--
| Aug 26, 4:09 pm 2010 |
| FUJITA Tomonori | Re: [PATCH 8/9] dspbridge: add map support for big buffers
On Wed, 30 Jun 2010 19:20:59 -0500
I don't read the whole thread but the above description is incorrect.
Why can't you use scatter gather chaining? You can create a scatter
list for a buffer larger than 1MB.
--
| Aug 25, 11:55 pm 2010 |
| FUJITA Tomonori | RE: [PATCH 8/9] dspbridge: add map support for big buffers
On Thu, 26 Aug 2010 08:16:24 -0500
I suppose that nobody in ARM has been interested in the feature. It
was invented to improve I/O performance with large I/O requests. No
wonder embeded people aren't interested in it.
fujita@rose:~/git/linux-2.6$ find arch -name 'scatterlist.h'|xargs grep HAS_SG
arch/x86/include/asm/scatterlist.h:#define ARCH_HAS_SG_CHAIN
arch/ia64/include/asm/scatterlist.h:#define ARCH_HAS_SG_CHAIN
arch/sparc/include/asm/scatterlist.h:#define ...
| Aug 26, 7:03 am 2010 |
| FUJITA Tomonori | RE: [PATCH 8/9] dspbridge: add map support for big buffers
On Thu, 26 Aug 2010 07:38:26 -0500
Fix iovmm module is easier than the workaround?
From a quick look, arch/arm/plat-omap/iovmm.c does nothing wrong about
scatter gather chaining. arm/arm/mm/dma-mapping.c looks fine too about
it. Maybe just defining ARCH_HAS_SG_CHAIN works?
--
| Aug 26, 5:56 am 2010 |
| Guzman Lugo, Fernando | RE: [PATCH 8/9] dspbridge: add map support for big buffers
Ok, so let me try SG chain, that should be the correct fix.
Thanks a lot,
Fernando.
--
| Aug 26, 7:13 am 2010 |
| Guzman Lugo, Fernando | RE: [PATCH 8/9] dspbridge: add map support for big buffers
I think you are talking about the issue when there are a lot of reservations and
unreservations of big buffer and the memory is getting fragmented and it is not
possible to allocate more big buffers.
if so, I don't think it is a bug. The thing is because of the algorithm used for
reserve memory is optimized to satisfy the memory requested as soon as possible,
so this algorithm is good where there are too much reservation of memory and
for small buffers, because the algorithm get rid of big ...
| Aug 26, 6:00 am 2010 |
| Guzman Lugo, Fernando | RE: [PATCH 8/9] dspbridge: add map support for big buffers
I have not thought about possible fixes inside iovmm, but now I am reviewing the
patches I will figure out how to fix this inside iovmm. Since he workaround still
I can try, but it looks tricky for me. Maybe someone else can tell us why
SG chain is not supported for ARM or if there is a problem just defining
ARCH_HAS_SG_CHAIN.
Regards,
Fernando.
--
| Aug 26, 6:16 am 2010 |
| Guzman Lugo, Fernando | RE: [PATCH 8/9] dspbridge: add map support for big buffers
Hi Fujita,
The thing is that ARM architecture does not support SG chaining. This patch should be
seen like a workaround until it is fixed in iovmm module.
Thanks and regards,
Fernando.
--
| Aug 26, 5:38 am 2010 |
| Felipe Contreras | Re: [PATCH 8/9] dspbridge: add map support for big buffers
On Wed, Aug 25, 2010 at 10:42 PM, Guzman Lugo, Fernando
But in the meantime the bug is still there, and there's no timeline
When exactly?
--
Felipe Contreras
--
| Aug 26, 3:04 am 2010 |
| Nikhil Sethi (नि ... | Re: [2.6.35-rc1] page alloc failure order:1, mode:0x4020
Thanks Eric. I have not been able to reproduce this problem after
applying your new patch in about 12 hours of operation. Will let you
know if the bug re-appears.
Thanks
Nikhil
--
| Aug 26, 10:53 am 2010 |
| Mike Frysinger | Re: missing .data.shared_align placement in vmlinux
[Empty message]
| Aug 26, 12:19 am 2010 |
| Samo Pogacnik | Re: [PATCH] detour TTY driver - now ttyprintk
Should i resend the patch with CONFIG_EMBEDDED dependency enabled? I do
not have any real objections to that, except that the driver operates
the same way regardless of the (non-)embedded configuration.
regards, Samo
--
| Aug 26, 10:24 am 2010 |
| Greg KH | Re: [PATCH] detour TTY driver - now ttyprintk
No, I can change it when I apply the patch next week (sorry, swamped at
the moment.)
thanks,
greg k-h
--
| Aug 26, 4:02 pm 2010 |
| previous day | today | next day |
|---|---|---|
| August 25, 2010 | August 26, 2010 | August 27, 2010 |
