[PATCH] arch/tile: extend syscall ABI to set r1 on return as well. Until now, the tile architecture ABI for syscall return has just been that r0 holds the return value, and an error is only signalled like it is for kernel code, with a negative small number. However, this means that in multiple places in userspace we end up writing the same three-cycle idiom that tests for a smal... 13 Aug 2010 16:52
[PATCH 3/3] kfifo: add explicit error checking in all the examples Provide a check in all the kfifo examples to validate the correct execution of each testcase. [ Andrew: this depends on kfifo-add-explicit-error-checking-in-byte-stream-example.patch ] Signed-off-by: Andrea Righi <arighi(a)develer.com> --- samples/kfifo/bytestream-example.c | 7 ++- samples/kfifo/dma-examp... 13 Aug 2010 16:52
[PATCH 2/3] kfifo: fix a memory leak in dma example We use a dynamically allocated kfifo in the dma example, so we need to free it when unloading the module. Signed-off-by: Andrea Righi <arighi(a)develer.com> --- samples/kfifo/dma-example.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/samples/kfifo/dma-example.c b/samples/kfifo/dma... 13 Aug 2010 16:52
[PATCH 1/3] kfifo: fix kernel BUG in dma example The scatterlist is used uninitialized in kfifo_dma_in_prepare(). This triggers the following bug if CONFIG_DEBUG_SG=y: ------------[ cut here ]------------ kernel BUG at include/linux/scatterlist.h:65! invalid opcode: 0000 [#1] PREEMPT SMP ... Call Trace: [<ffffffff810a1eab>] setup_sgl+0x6b/0xe0 ... 13 Aug 2010 16:51
[patch 0/3] sched: fixes related to scaling down cpu power with RT tasks First patch in the series fixes the main problem reported in the https://bugzilla.kernel.org/show_bug.cgi?id=15559 (Bad performance after suspend on Intel i7 and i5) And the next two patches in the series are for issues identified during the above root cause. Some reporters of the Bug 15559 still report some u... 13 Aug 2010 16:51
[patch 2/3] sched: fix minimum power returned by update_cpu_power() Default cpu_power needs to be multiples of SCHED_LOAD_SCALE and not '1'. Fix it. Signed-off-by: Suresh Siddha <suresh.b.siddha(a)intel.com> --- kernel/sched_fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: tree/kernel/sched_fair.c =========================================================... 13 Aug 2010 16:51
[patch 3/3] sched: move sched_avg_update() to update_cpu_load() Currently sched_avg_update() (which updates rt_avg stats in the rq) is getting called from scale_rt_power() (in the load balance context) which doesn't take rq->lock. Fix it by moving the sched_avg_update() to more appropriate update_cpu_load() where the CFS load gets updated aswell. Signed-off-by: Suresh Sidd... 13 Aug 2010 16:51
[PATCH] time: Workaround gcc loop optimization that causes 64bit div errors Early 4.3 versions of gcc apparently aggressively optimize the raw time accumulation loop, replacing it with a divide. On 32bit systems, this causes the following link errors: undefined reference to `__umoddi3' undefined reference to `__udivdi3' The gcc issue has been fixed in 4.4 and greater. This patch ... 13 Aug 2010 14:40
kfifo: fix DMA sample driver On Fri, Aug 13, 2010 at 11:32:11AM -0700, Ira W. Snyder wrote: The kfifo DMA sample driver is broken. It does not properly initialize the scatterlist, and therefore causes a kernel BUG with CONFIG_DEBUG_SG=y. Signed-off-by: Ira W. Snyder <iws(a)ovro.caltech.edu> --- Whoops, forgot to CC Stefani Seib... 13 Aug 2010 14:40
[PATCH 1/1] kfifo: fix DMA sample driver The kfifo DMA sample driver is broken. It does not properly initialize the scatterlist, and therefore causes a kernel BUG with CONFIG_DEBUG_SG=y. Signed-off-by: Ira W. Snyder <iws(a)ovro.caltech.edu> --- samples/kfifo/dma-example.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/samp... 13 Aug 2010 14:40 |