[PATCH 1/3] efi: Add support for a UEFI variable filesystem

2012-10-04 Thread Jeremy Kerr
From: Matthew Garrett The existing EFI variables code only supports variables of up to 1024 bytes. This limitation existed in version 0.99 of the EFI specification, but was removed before any full releases. Since variables can now be larger than a single page, sysfs isn't the best interface for t

Re: [PATCH 2/3] efi: add efivars kobject to efi sysfs folder

2012-10-04 Thread joeyli
Hi Jeremy, 於 五,2012-10-05 於 13:54 +0800,Jeremy Kerr 提到: > > diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c > index 4174f1b..e1253d6 100644 > --- a/drivers/firmware/efivars.c > +++ b/drivers/firmware/efivars.c > @@ -1487,6 +1487,7 @@ void unregister_efivars(struct efivars *e

[PATCH 3/5] perf trace: Explicitly enable system-wide mode if no option is given

2012-10-04 Thread Namhyung Kim
From: Namhyung Kim When no target cpu/user/task option is given, perf trace will do its job system wide for all online cpus. Make it explicit to reduce possible confusion when reading code. No functional changes intended. Signed-off-by: Namhyung Kim --- tools/perf/builtin-trace.c | 3 +++ 1

[PATCH 2/5] perf trace: Validate target task/user/cpu argument

2012-10-04 Thread Namhyung Kim
From: Namhyung Kim Those target options are mutually exclusive so check it before setting up target thread/cpu maps. Signed-off-by: Namhyung Kim --- tools/perf/builtin-trace.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-trace.c b/tools/perf/bu

[PATCH 5/5] perf trace: Add support for tracing workload given by command line

2012-10-04 Thread Namhyung Kim
From: Namhyung Kim Now perf trace is able to trace specified workload by forking it like perf record does. And also finish the tracing if the workload quits or gets SIGINT. Signed-off-by: Namhyung Kim --- tools/perf/builtin-trace.c | 43 --- 1 file chan

[PATCH 4/5] perf trace: Add -a switch for --all-cpus option

2012-10-04 Thread Namhyung Kim
From: Namhyung Kim Other perf subcommands like record, top and stat use '-a' as a shortcut for --all-cpus option. Just follow the convention. :) Signed-off-by: Namhyung Kim --- tools/perf/builtin-trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-tr

Re: [PATCH] net: Fix skb_under_panic oops in neigh_resolve_output

2012-10-04 Thread Eric Dumazet
On Thu, 2012-10-04 at 20:05 -0700, ramesh.naga...@gmail.com wrote: > From: Ramesh Nagappa > > The retry loop in neigh_resolve_output() and neigh_connected_output() > call dev_hard_header() with out reseting the skb to network_header. > This causes the retry to fail with skb_under_panic. The fix i

[PATCH 1/5] perf trace: Setup pager before running

2012-10-04 Thread Namhyung Kim
From: Namhyung Kim Since perf trace emits lots of messages on terminal, it'd better using a pager. Signed-off-by: Namhyung Kim --- tools/perf/builtin-trace.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index dec8ced61fb0..9fc4b

[PATCH 2/3] efi: add efivars kobject to efi sysfs folder

2012-10-04 Thread Jeremy Kerr
From: Lee, Chun-Yi UEFI variable filesystem need a new mount point, so this patch add efivars kobject to efi_kobj for create a /sys/firmware/efi/efivars folder. Cc: Matt Fleming Cc: Jeremy Kerr Cc: Matthew Garrett Cc: H. Peter Anvin Signed-off-by: Lee, Chun-Yi Signed-off-by: Jeremy Kerr -

Re: [PATCH 11/11] net: xilinx: Show csum in bootlog

2012-10-04 Thread Michal Simek
On 10/04/2012 09:15 PM, Ben Hutchings wrote: On Thu, 2012-10-04 at 20:14 +0200, Michal Simek wrote: Just show current setting in bootlog. [...] --- a/drivers/net/ethernet/xilinx/ll_temac_main.c +++ b/drivers/net/ethernet/xilinx/ll_temac_main.c @@ -1052,12 +1052,14 @@ static int __devinit temac

Re: [PATCH 19/20] drivers/net/ethernet/marvell/skge.c: fix error return code

2012-10-04 Thread Julia Lawall
On Thu, 4 Oct 2012, Joe Perches wrote: On Thu, 2012-10-04 at 14:54 -0400, David Miller wrote: From: Peter Senna Tschudin On Thu, Oct 4, 2012 at 8:23 PM, David Miller wrote: We want to know the implications of the bug being fixed. Does it potentially cause an OOPS? Bad reference counting an

Re: [PATCH 08/11] net: ll_temac: Do not use fixed mtu size

2012-10-04 Thread Michal Simek
On 10/04/2012 09:22 PM, Ben Hutchings wrote: On Thu, 2012-10-04 at 20:14 +0200, Michal Simek wrote: Use max mtu instead. [...] MTU does not include the Ethernet header so I have no idea how this is expected to work... Right. This is wrong fix. It should be the same as is in axienet. There is

Re: [PATCH 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-04 Thread Matt Fleming
On Fri, 2012-10-05 at 07:39 +0100, Jan Beulich wrote: > >>> On 04.10.12 at 23:08, "H. Peter Anvin" wrote: > > On 10/03/2012 06:31 AM, Jan Beulich wrote: > > Matt Fleming 10/03/12 2:59 PM >>> > >>> +static int insert_identity_mapping(resource_size_t paddr, unsigned long > > vaddr, > >>> +

[GIT PULL] ARM: soc: defconfig updates

2012-10-04 Thread Olof Johansson
Hi Linus, The following changes since commit 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d: Linux 3.6-rc4 (2012-09-01 10:39:58 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/defconfig for you to fetch changes up to 3536c27c0fbe

Re: [PATCH] CPU hotplug, debug: Detect imbalance between get_online_cpus() and put_online_cpus()

2012-10-04 Thread Srivatsa S. Bhat
On 10/05/2012 08:54 AM, Yasuaki Ishimatsu wrote: > 2012/10/04 15:16, Srivatsa S. Bhat wrote: >> On 10/04/2012 02:43 AM, Andrew Morton wrote: >>> On Wed, 03 Oct 2012 18:23:09 +0530 >>> "Srivatsa S. Bhat" wrote: >>> The synchronization between CPU hotplug readers and writers is achieved by

Re: Re: [PATCH v4 0/3] devfreq: Add support for devices which can idle

2012-10-04 Thread MyungJoo Ham
> On 4 October 2012 18:06, MyungJoo Ham wrote: > >> This patchset updates devfreq core to add support for devices > >> which can idle. When device idleness is detected perhaps > >> through runtime-pm, need some mechanism to suspend devfreq > >> load monitoring and resume when device is back online

Re: [PATCH] ARM: Push selects for TWD/SCU into machine entries

2012-10-04 Thread Santosh Shilimkar
On Friday 05 October 2012 06:42 AM, Simon Horman wrote: On Thu, Oct 04, 2012 at 02:41:46PM +0530, Santosh Shilimkar wrote: On Thursday 04 October 2012 02:20 PM, Stephen Boyd wrote: The TWD and SCU configs are selected by default as long as SCORPIONMP is false and/or MCT is false. Implementing t

RE: [PATCH v2 0/7] uio_pruss cleanup and platform support

2012-10-04 Thread Hebbar, Gururaja
Matt, On Wed, Oct 03, 2012 at 20:30:58, Porter, Matt wrote: > On Fri, Sep 28, 2012 at 03:37:45PM -0400, Matt Porter wrote: > > Changes since v1: > > - Replaced uio_pruss private SRAM API use with genalloc > > - Added DA850 platform device and clock support > > - Added DA850 L3 RAM gen_

Re: [PATCH] pidns: remove recursion from free_pid_ns

2012-10-04 Thread Cyrill Gorcunov
On Fri, Oct 05, 2012 at 01:21:02AM +0400, Andrew Vagin wrote: > Here is a stack trace of recursion: > free_pid_ns(parent) > put_pid_ns(parent) > kref_put(&ns->kref, free_pid_ns); > free_pid_ns > > This patch turns recursion into loops. > > pidns can be nested many times, so in case of

Module xattr signatures

2012-10-04 Thread Rusty Russell
Hi all, Had a talk with Mimi, and IMA still wants xattr signatures on modules like they have for other files with EVM. With Kees' patches now merged into my modules-wip branch (warning, rebases frequently), this should be pretty simple. Dmitry? The question of whether this falls

[PULL] virtio

2012-10-04 Thread Rusty Russell
The following changes since commit 925a6f0bf8bd122d5d2429af7f0ca0fecf4ae71f: Merge tag 'hwspinlock-3.6-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/hwspinlock (2012-09-18 11:58:54 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ru

Re: linux-next: build failure after merge of the input tree

2012-10-04 Thread Dmitry Torokhov
: > move children to struct usb_port") that is now in Linus' tree. > > I have used the input tree from next-20121004 for today. Sorry about this. I pulled the offending patch and another one depending on it out of my next branch pending my next pull from mainline. Thanks.

Re: [PATCH 1/3] mfd: dbx500: Export prmcu_request_ape_opp_100_voltage

2012-10-04 Thread Linus Walleij
On Mon, Sep 24, 2012 at 4:43 PM, Ulf Hansson wrote: > From: Ulf Hansson > > This function needs to be exported to let clients be able to > request the ape opp 100 voltage. > > Cc: Samuel Ortiz > Signed-off-by: Ulf Hansson Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from t

Re: [PATCH 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-04 Thread Jan Beulich
>>> On 04.10.12 at 23:08, "H. Peter Anvin" wrote: > On 10/03/2012 06:31 AM, Jan Beulich wrote: > Matt Fleming 10/03/12 2:59 PM >>> >>> +static int insert_identity_mapping(resource_size_t paddr, unsigned long > vaddr, >>> +unsigned long size) >>> +{ >>> +unsigned long

[GIT PULL] ARM: soc: late platform updates

2012-10-04 Thread Olof Johansson
Hi Linus, This branch contains late updates to OMAP and Marvell platforms (kirkwood, dove, mvebu) that came in after we had done the big multiplatform merges, so they were kept separate from the rest, and not separated into the traditional topics of cleanup/driver/platform features. They have been

linux-next: manual merge of the arm-soc tree with the arm64 tree

2012-10-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm64/include/asm/unistd32.h between commit cce72b4219ee ("arm64: Use the generic compat_sys_sendfile() implementation") from the arm64 tree and commit 890139529d45 ("UAPI: Fix the guards on various asm/unistd.h files") fr

Re: [PATCH] CPU hotplug, debug: Detect imbalance between get_online_cpus() and put_online_cpus()

2012-10-04 Thread Yasuaki Ishimatsu
2012/10/04 15:16, Srivatsa S. Bhat wrote: On 10/04/2012 02:43 AM, Andrew Morton wrote: On Wed, 03 Oct 2012 18:23:09 +0530 "Srivatsa S. Bhat" wrote: The synchronization between CPU hotplug readers and writers is achieved by means of refcounting, safe-guarded by the cpu_hotplug.lock. get_onlin

[GIT PULL] linux-pstore.git

2012-10-04 Thread Anton Vorontsov
Hello Linus, Please also pull a few pstore updates, The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git repository at: git://git.infradead.org/users/cbou/linux-pstore.git tags/for-v3.7 for you to f

[GIT PULL] battery-2.6.git

2012-10-04 Thread Anton Vorontsov
Hello Linus, Here are some battery tree updates for 3.7... The following changes since commit 0848c94fb4a5cc213a7fb0fb3a5721ad6e16f096: mfd: core: Push irqdomain mapping out into devices (2012-09-15 23:22:04 +0200) are available in the git repository at: git://git.infradead.org/battery-2.6

[PATCH] net: Fix skb_under_panic oops in neigh_resolve_output

2012-10-04 Thread ramesh . nagappa
From: Ramesh Nagappa The retry loop in neigh_resolve_output() and neigh_connected_output() call dev_hard_header() with out reseting the skb to network_header. This causes the retry to fail with skb_under_panic. The fix is to reset the network_header within the retry loop. Signed-off-by: Ramesh N

linux-next: manual merge of the kvm-ppc tree with Linus' tree

2012-10-04 Thread Stephen Rothwell
Hi Alexander, Today's linux-next merge of the kvm-ppc tree got a conflict in include/linux/kvm.h between commit 7a84428af7ca ("KVM: Add resampling irqfds for level triggered interrupts") from Linus' tree and commit 2b3ac3d5956c ("KVM: PPC: booke: Add watchdog emulation") from the kvm-ppc tree. I

[PATCH 10/10] memory-hotplug : remove sysfs file of node

2012-10-04 Thread Yasuaki Ishimatsu
From: Wen Congyang This patch introduces a new function try_offline_node() to remove sysfs file of node when all memory sections of this node are removed. If some memory sections of this node are not removed, this function does nothing. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Chris

[PATCH 9/10] memory-hotplug : memory_hotplug: clear zone when removing the memory

2012-10-04 Thread Yasuaki Ishimatsu
When a memory is added, we update zone's and pgdat's start_pfn and spanned_pages in the function __add_zone(). So we should revert them when the memory is removed. The patch adds a new function __remove_zone() to do this. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Christoph Lameter Cc

[PATCH 8/10] memory-hotplug : remove page table of x86_64 architecture

2012-10-04 Thread Yasuaki Ishimatsu
From: Wen Congyang For hot removing memory, we sholud remove page table about the memory. So the patch searches a page table about the removed memory, and clear page table. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Christoph Lameter Cc: Minchan Kim CC: Andrew Morton CC: KOSAKI Mot

[PATCH 7/10] memory-hotplug : remove memmap of sparse-vmemmap

2012-10-04 Thread Yasuaki Ishimatsu
All pages of virtual mapping in removed memory cannot be freed, since some pages used as PGD/PUD includes not only removed memory but also other memory. So the patch checks whether page can be freed or not. How to check whether page can be freed or not? 1. When removing memory, the page structs o

[PATCH 6/10] memory-hotplug : implement register_page_bootmem_info_section of sparse-vmemmap

2012-10-04 Thread Yasuaki Ishimatsu
For removing memmap region of sparse-vmemmap which is allocated bootmem, memmap region of sparse-vmemmap needs to be registered by get_page_bootmem(). So the patch searches pages of virtual mapping and registers the pages by get_page_bootmem(). Note: register_page_bootmem_memmap() is not implement

[PATCH 5/10] memory-hotplug : memory-hotplug: check page type in get_page_bootmem

2012-10-04 Thread Yasuaki Ishimatsu
The function get_page_bootmem() may be called more than one time to the same page. There is no need to set page's type, private if the function is not the first time called to the page. Note: the patch is just optimization and does not fix any problem. CC: David Rientjes CC: Jiang Liu CC: Len B

[PATCH 4/10] memory-hotplug : unregister memory section on SPARSEMEM_VMEMMAP

2012-10-04 Thread Yasuaki Ishimatsu
Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But even if we use SPARSEMEM_VMEMMAP, we can unregister the memory_section. So the patch add unregister_memory_section() into __remove_section(). CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Christoph Lameter Cc: Minchan Kim

[PATCH 3/10] memory-hotplug : introduce new function arch_remove_memory() for removing page table depends on architecture

2012-10-04 Thread Yasuaki Ishimatsu
From: Wen Congyang For removing memory, we need to remove page table. But it depends on architecture. So the patch introduce arch_remove_memory() for removing page table. Now it only calls __remove_pages(). Note: __remove_pages() for some archtecuture is not implemented (I don't know how t

[PATCH 2/10] memory-hotplug : remove /sys/firmware/memmap/X sysfs

2012-10-04 Thread Yasuaki Ishimatsu
When (hot)adding memory into system, /sys/firmware/memmap/X/{end, start, type} sysfs files are created. But there is no code to remove these files. The patch implements the function to remove them. Note : The code does not free firmware_map_entry since there is no way to free memory which i

[PATCH 1/10] memory-hotplug : check whether memory is offline or not when removing memory

2012-10-04 Thread Yasuaki Ishimatsu
When calling remove_memory(), the memory should be offline. If the function is used to online memory, kernel panic may occur. So the patch checks whether memory is offline or not. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Christoph Lameter Cc: Minchan Kim CC: Andrew Morton CC: KOSA

[PATCH 0/10] memory-hotplug: hot-remove physical memory

2012-10-04 Thread Yasuaki Ishimatsu
The patch-set was divided from following thread's patch-set. https://lkml.org/lkml/2012/9/5/201 If you want to know the reason, please read following thread. https://lkml.org/lkml/2012/10/2/83 The patch-set has only the function of kernel core side for physical memory hot remove. So if you use

[GIT PULL] please pull infiniband.git

2012-10-04 Thread Roland Dreier
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git tags/rdma-for-linus Second batch of changes for the 3.7 merge window: - Late-breaking fix for IPoIB on mlx4 SR-IOV VFs. - Fix fo

linux-next: build failure after merge of the input tree

2012-10-04 Thread Stephen Rothwell
27;children' Caused by commit 316f18bba311 ("Input: wacom - handle split-sensor devices with internal hubs") interacting with commit ff823c79a5c3 ("usb: move children to struct usb_port") that is now in Linus' tree. I have used the input tree from next-20121004

Re: Seems like "sched: Add missing call to calc_load_exit_idle()" should be reverted in 3.5 branch

2012-10-04 Thread Jonathan Nieder
Peter Zijlstra wrote: > I can't find wtf went wrong either, the initial patch 5167e8d5417bf5c > contains both hunks, but in that case the fixup 749c8814f0 doesn't make > sense, not can I find anything in merge commits using: > > git log -S calc_load_exit_idle kernel/time/tick-sched.c git log -

Re: [PATCH 14/24] USB: ohci: merge ohci_finish_controller_resume with ohci_resume

2012-10-04 Thread Jingoo Han
On Friday, October 05, 2012 12:18 AM Florian Fainelli wrote > > Merge ohci_finish_controller_resume with ohci_resume as suggested by Alan > Stern. Since ohci_finish_controller_resume no longer exists, update the > various OHCI drivers to call ohci_resume() instead. Some drivers used to set > thems

Re: The 10ms averager in fair.c + granularity

2012-10-04 Thread el es
Hello, Uwaysi, Uwaysi Bin Kareem paradoxuncreated.com> writes: > > Ok at 100hz, granularity seems to work as expected. Actually 1000hz for > desktop seems to be a myth. I have less jitter with 100hz. Very nice. I > think jitter is 99.99% eliminated from doom 3 now. > > Peace Be With You! >

Re: Seems like "sched: Add missing call to calc_load_exit_idle()" should be reverted in 3.5 branch

2012-10-04 Thread 陈华才
My opinion: The original patch "sched/nohz: Rewrite and fix load-avg computation -- again" is designed for 3.5-branch and calc_load_exit_idle() is called directly in tick_nohz_idle_exit(). So, the patch can be fully applied in 3.5 and doesn't need to fix (Add the missing call), but not fully applie

[PATCH v4] dma-debug: New interfaces to debug dma mapping errors

2012-10-04 Thread Shuah Khan
A recent dma mapping error analysis effort showed that a large percentage of dma_map_single() and dma_map_page() returns are not checked for mapping errors. Reference: http://linuxdriverproject.org/mediawiki/index.php/DMA_Mapping_Error_Analysis Adding support for tracking dma mapping and unmappin

Re: [PATCH] ARM: Push selects for TWD/SCU into machine entries

2012-10-04 Thread Simon Horman
On Thu, Oct 04, 2012 at 01:50:44AM -0700, Stephen Boyd wrote: > The TWD and SCU configs are selected by default as long as > SCORPIONMP is false and/or MCT is false. Implementing the logic > this way certainly saves lines in the Kconfig but it precludes > those machines which select SCORPIONMP or M

Re: [PATCH] ARM: Push selects for TWD/SCU into machine entries

2012-10-04 Thread Simon Horman
On Thu, Oct 04, 2012 at 02:41:46PM +0530, Santosh Shilimkar wrote: > On Thursday 04 October 2012 02:20 PM, Stephen Boyd wrote: > >The TWD and SCU configs are selected by default as long as > >SCORPIONMP is false and/or MCT is false. Implementing the logic > >this way certainly saves lines in the Kc

Re: [PATCH 2/4] memory-hotplug: add node_device_release

2012-10-04 Thread Yasuaki Ishimatsu
Hi Kosaki-san, 2012/10/02 3:12, KOSAKI Motohiro wrote: On Mon, Oct 1, 2012 at 2:54 AM, Yasuaki Ishimatsu wrote: Hi Kosaki-san, 2012/09/29 7:19, KOSAKI Motohiro wrote: I don't understand it. How can we get rid of the warning? See cpu_device_release() for example. If we implement a fun

Re: [PATCH] fs: handle failed audit_log_start properly

2012-10-04 Thread Al Viro
On Thu, Oct 04, 2012 at 07:57:31PM -0400, Sasha Levin wrote: > audit_log_start() may return NULL, this is unchecked by the caller in > audit_log_link_denied() and could cause a NULL ptr deref. > > Introduced by commit a51d9eaa ("fs: add link restriction audit reporting"). Again, -stable fodder.

Re: [PATCH] fs: prevent use after free in auditing when symlink following was denied

2012-10-04 Thread Al Viro
On Thu, Oct 04, 2012 at 07:56:40PM -0400, Sasha Levin wrote: > Commit "fs: add link restriction audit reporting" has added auditing of failed > attempts to follow symlinks. Unfortunately, the auditing was being done after > the struct path structure was released earlier. Applied, and it's -stable

Re: [GIT PULL] Disintegrate UAPI for avr32

2012-10-04 Thread Håvard Skinnemoen
Hi David, On Thu, Oct 4, 2012 at 12:51 PM, David Howells wrote: > Can you merge the following branch into the avr32 tree please. I don't really have an avr32 tree anymore. Can you ask Linus to pull this directly? Havard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: kernel BUG at fs/buffer.c:3205

2012-10-04 Thread Jan Kara
On Wed 03-10-12 00:03:13, Jochen Katz wrote: > Hi, > > there is currently a thread "kernel BUG at fs/buffer.c:3205 (stable 3.5.3)" > on this list. > > I have reached the same BUG_ON(), but in an older kernel and with a different > environment, so maybe the following information is helpfull. >

Re: [PATCH] fs: prevent use after free in auditing when symlink following was denied

2012-10-04 Thread Kees Cook
On Thu, Oct 04, 2012 at 07:56:40PM -0400, Sasha Levin wrote: > Commit "fs: add link restriction audit reporting" has added auditing of failed > attempts to follow symlinks. Unfortunately, the auditing was being done after > the struct path structure was released earlier. > > Signed-off-by: Sasha L

Re: [PATCH] MAINTAINERS: Add myself as the SWIOTLB maintainer.

2012-10-04 Thread H. Peter Anvin
On 10/04/2012 08:49 AM, Konrad Rzeszutek Wilk wrote: Now that I've an IA64 box on top of the other boxes (IBM with Calgary-X, Intel VT-d, AMD Vi, and AMD GART - that can use SWIOTLB as fallback) I can reliably do regression testing. CC: FUJITA Tomonori Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc:

Re: [PATCH 19/20] drivers/net/ethernet/marvell/skge.c: fix error return code

2012-10-04 Thread Joe Perches
On Thu, 2012-10-04 at 14:54 -0400, David Miller wrote: > From: Peter Senna Tschudin > > On Thu, Oct 4, 2012 at 8:23 PM, David Miller wrote: > >> We want to know the implications of the bug being fixed. > >> Does it potentially cause an OOPS? Bad reference counting and thus > >> potential leaks o

[PATCH] staging/comedi: Use dev_ printks in drivers/adl_pci8164.c

2012-10-04 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/comedi/drivers/adl_pci8164.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH] staging/comedi: Use dev_ printks in drivers/me_daq.c

2012-10-04 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: quoted string split across lines Signed-off-by: YAMANE Toshiaki --- drivers/staging/comedi/drivers/me_daq.c | 26 +++--- 1 fil

[PATCH] staging/comedi: Use dev_ printks in kcomedilib/kcomedilib_main.c

2012-10-04 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: YAMANE Toshiaki --- .../staging/comedi/kcomedilib/kcomedilib_main.c|5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH] net, TTY: initialize tty->driver_data before usage

2012-10-04 Thread Sasha Levin
Commit 9c650ffc ("TTY: ircomm_tty, add tty install") split _open() to _install() and _open(). It also moved the initialization of driver_data out of open(), but never added it to install() - causing a NULL ptr deref whenever the driver was used. Signed-off-by: Sasha Levin --- net/irda/ircomm/irc

[PATCH] net, bluetooth: don't attempt to free a channel that wasn't created

2012-10-04 Thread Sasha Levin
We may currently attempt to free a channel which wasn't created due to an error in the initialization path, this would cause a NULL ptr deref. Introduced in commit 61d6ef3e ("Bluetooth: Make better use of l2cap_chan reference counting"). Signed-off-by: Sasha Levin --- net/bluetooth/l2cap_sock.c

[PATCH] fs: handle failed audit_log_start properly

2012-10-04 Thread Sasha Levin
audit_log_start() may return NULL, this is unchecked by the caller in audit_log_link_denied() and could cause a NULL ptr deref. Introduced by commit a51d9eaa ("fs: add link restriction audit reporting"). Signed-off-by: Sasha Levin --- kernel/audit.c | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH] fs: prevent use after free in auditing when symlink following was denied

2012-10-04 Thread Sasha Levin
Commit "fs: add link restriction audit reporting" has added auditing of failed attempts to follow symlinks. Unfortunately, the auditing was being done after the struct path structure was released earlier. Signed-off-by: Sasha Levin --- fs/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[GIT PULL] UAPI disintegration fixes

2012-10-04 Thread David Howells
Hi Linus, Could you pull this branch please? There are three main parts: (1) I found I needed some more fixups in the wake of testing Arm64 (some asm/unistd.h files had weird guards that caused problems - mostly in arches for which I don't have a compiler) and some __KERNEL__ splitti

Re: [ 133/180] cciss: fix incorrect scsi status reporting

2012-10-04 Thread Willy Tarreau
On Thu, Oct 04, 2012 at 11:49:50PM +0100, Ben Hutchings wrote: > On Tue, Oct 02, 2012 at 12:54:10AM +0200, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Stephen M. Cameron > > > > commit b0

Re: [ 147/180] udf: Fortify loading of sparing table

2012-10-04 Thread Willy Tarreau
On Fri, Oct 05, 2012 at 12:15:57AM +0100, Ben Hutchings wrote: > On Tue, Oct 02, 2012 at 12:54:24AM +0200, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Jan Kara > > > > commit 1df2ae31c724

Re: [PATCH] gpio: add TS-5500 DIO headers support

2012-10-04 Thread Vivien Didelot
Hi, Grant, Linus, any feedback? Thanks, Vivien On Wed, 2012-09-26 at 11:37 -0400, Vivien Didelot wrote: > > +config GPIO_TS5500 > > + tristate "TS-5500 DIO Headers" > > + depends on TS5500 > > + help > > + This driver supports the 3 Digital I/O headers of the > Technologic > >

Re: [ 147/180] udf: Fortify loading of sparing table

2012-10-04 Thread Ben Hutchings
On Tue, Oct 02, 2012 at 12:54:24AM +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > > From: Jan Kara > > commit 1df2ae31c724e57be9d7ac00d78db8a5dabdd050 upstream. > > Add sanity checks when loading sparin

[PATCH] usb: gadget: ncm: correct endianess conversion

2012-10-04 Thread Dmytro Milinevskyy
Signed-off-by: Dmytro Milinevskyy --- drivers/usb/gadget/f_ncm.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/gadget/f_ncm.c b/drivers/usb/gadget/f_ncm.c index b651b52..fce45ab 100644 --- a/drivers/usb/gadget/f_ncm.c +++ b/drivers/usb/gadget/f_ncm.c

virtio build breakage.

2012-10-04 Thread Dave Jones
After linking, I see this.. ERROR: "virtqueue_kick" [net/9p/9pnet_virtio.ko] undefined! ERROR: "virtqueue_get_buf" [net/9p/9pnet_virtio.ko] undefined! ERROR: "virtqueue_add_buf" [net/9p/9pnet_virtio.ko] undefined! ERROR: "virtqueue_notify" [drivers/scsi/virtio_scsi.ko] undefined! ERROR: "virtqueue

Re: [ 133/180] cciss: fix incorrect scsi status reporting

2012-10-04 Thread Ben Hutchings
On Tue, Oct 02, 2012 at 12:54:10AM +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > > From: Stephen M. Cameron > > commit b0cf0b118c90477d1a6811f2cd2307f6a5578362 upstream. > > Delete code which sets SCSI

Re: RNG: is it possible to spoil /dev/random by seeding it from (evil) TRNGs

2012-10-04 Thread Theodore Ts'o
On Thu, Oct 04, 2012 at 03:32:35PM +0200, Christoph Anton Mitterer wrote: > > When seeding the kernels entropy cache (which is then ultimately used > for /dev/random), e.g. by (semi-)TRNGs like haveged[0], > audio-entropyd[1], Simtec’s Entropy Key[2] or friends... can one spoil > the randomness by

Re: [PATCH 0/4] ACPI: kill acpi_pci_root_start

2012-10-04 Thread Yinghai Lu
On Thu, Oct 4, 2012 at 3:36 PM, Rafael J. Wysocki wrote: > On Thursday 04 of October 2012 15:01:21 Yinghai Lu wrote: >> during adding pci root bus hotplug, Bjorn found some unsafe searching >> that caused by pci_bus_add_devices. > > Do you have a link to a description of that problem? Maybe bjorn

PRJQUOTA case not handled in need_print_warning()

2012-10-04 Thread Jiri Kosina
Hi, commit e8a3e4719b7ec19288c56f22623f537cb78885c1 Author: Eric W. Biederman Date: Sun Sep 16 01:11:45 2012 -0700 userns: Implement struct kqid causes this warning: fs/quota/dquot.c: In function ‘need_print_warning’: fs/quota/dquot.c:1158: warning: enumeration value ‘PRJQUOTA’ not handl

Re: [PATCH 0/4] ACPI: kill acpi_pci_root_start

2012-10-04 Thread Rafael J. Wysocki
On Thursday 04 of October 2012 15:01:21 Yinghai Lu wrote: > On Thu, Oct 4, 2012 at 2:53 PM, Rafael J. Wysocki wrote: > > On Thursday 04 of October 2012 14:31:46 Yinghai Lu wrote: > >> On Thu, Oct 4, 2012 at 2:23 PM, Rafael J. Wysocki wrote: > >> >> > >> >> At last we could remove all acpi_bus_sta

[PATCH v2] mmc: core: Add support for idle time BKOPS

2012-10-04 Thread Maya Erez
Devices have various maintenance operations need to perform internally. In order to reduce latencies during time critical operations like read and write, it is better to execute maintenance operations in other times - when the host is not being serviced. Such operations are called Background operat

Re: Re: 3.4.10 i915 [GM45] regression

2012-10-04 Thread Greg KH
On Tue, Oct 02, 2012 at 09:17:22AM +0200, Daniel Vetter wrote: > On Mon, Oct 1, 2012 at 11:56 PM, Andreas Sturmlechner > wrote: > >> Andreas, can you please check whether 3.5.x works for you, just to > >> make sure that this particular elephant is only wreaking havoc in 3.4 > >> and earlier? > > >

Re: Seems like "sched: Add missing call to calc_load_exit_idle()" should be reverted in 3.5 branch

2012-10-04 Thread Greg Kroah-Hartman
On Thu, Oct 04, 2012 at 08:31:59PM +0200, Peter Zijlstra wrote: > On Thu, 2012-10-04 at 10:46 -0700, Greg Kroah-Hartman wrote: > > On Thu, Oct 04, 2012 at 12:11:01PM +0800, Huacai Chen wrote: > > > Hi, Greg > > > > > > I found that Linux-3.5.5 accept this commit "sched: Add missing call > > > to c

Re: [GIT PULL] SLAB changes for v3.7-rc0

2012-10-04 Thread Jiri Kosina
On Thu, 4 Oct 2012, Pekka Enberg wrote: > Hi Linus, > > Please pull the latest SLAB tree from: > > git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux.git > slab/for-linus > > New and noteworthy: > > * More SLAB allocator unification patches from Christoph Lameter and > others

Re: [PATCH v3] dma-debug: New interfaces to debug dma mapping errors

2012-10-04 Thread Shuah Khan
On Thu, 2012-10-04 at 13:38 -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Oct 03, 2012 at 08:55:59AM -0600, Shuah Khan wrote: > > A recent dma mapping error analysis effort showed that a large percentage > > of dma_map_single() and dma_map_page() returns are not checked for mapping > > errors. > >

[ 04/56] USB: option: blacklist QMI interface on ZTE MF683

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit 160c9425ac52cb30502be2d9c5e848cec91bb115 upstream. Interface #5 on ZTE MF683 is a QMI/wwan interface. Signed-off-by: Bjørn Mork Cc: Shawn J. Goff Signed-off-by: Greg Kroah-

[ 08/56] usb: host: xhci: Fix Null pointer dereferencing with 71c731a for non-x86 systems

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Vivek Gautam commit 457a73d346187c2cc5d599072f38676f18f130e0 upstream. In 71c731a: usb: host: xhci: Fix Compliance Mode on SN65LVPE502CP Hardware when extracting DMI strings (vendor or product_

[ 10/56] staging: speakup_soft: Fix reading of init string

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 40fe4f89671fb3c7ded94190fb267402a38b0261 upstream. softsynth_read() reads a character at a time from the init string; when it finds the null terminator it sets the initiali

[ 12/56] staging: r8712u: Do not queue cloned skb

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit fa16e5ea25d7dd83f663f333e70713aa2fa5dffe upstream. Some post-3.4 kernels have a problem when a cloned skb is used in the RX path. This patch handles one such case for r8712u

Re: [PATCH v3] dma-debug: New interfaces to debug dma mapping errors

2012-10-04 Thread Shuah Khan
On Thu, 2012-10-04 at 10:01 -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Oct 03, 2012 at 02:45:11PM -0700, Andrew Morton wrote: > > On Wed, 03 Oct 2012 08:55:59 -0600 > > Shuah Khan wrote: > > > > > A recent dma mapping error analysis effort showed that a large percentage > > > of dma_map_single

[ 18/56] TTY: ttyprintk, dont touch behind tty->write_buf

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit ee8b593affdf893012e57f4c54a21984d1b0d92e upstream. If a user provides a buffer larger than a tty->write_buf chunk and passes '\r' at the end of the buffer, we touch an out-of-

[ 19/56] serial: omap: fix software flow control

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Vikram Pandita commit 957ee7270d632245b43f6feb0e70d9a5e9ea6cf6 upstream. Software flow control register bits were not defined correctly. Also clarify the IXON and IXOFF logic to reflect what u

[ 20/56] serial: pl011: handle corruption at high clock speeds

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit c5dd553b9fd069892c9e2de734f4f604e280fa7a upstream. This works around a few glitches in the ST version of the PL011 serial driver when using very high baud rates, as we do i

[ 14/56] staging: comedi: jr3_pci: fix iomem dereference

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit e1878957b4676a17cf398f7f5723b365e9a2ca48 upstream. Correct a direct dereference of I/O memory to use an appropriate I/O memory access function. Note that the pointer being de

[ 25/56] b43legacy: Fix crash on unload when firmware not available

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 2d838bb608e2d1f6cb4280e76748cb812dc822e7 upstream. When b43legacy is loaded without the firmware being available, a following unload generates a kernel NULL pointer derefere

[ 26/56] firmware: Add missing attributes to EFI variable attribute print out from sysfs

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Khalid Aziz commit 7083909023bbe29b3176e92d2d089def1aa7aa1e upstream. Some of the EFI variable attributes are missing from print out from /sys/firmware/efi/vars/*/attributes. This patch adds th

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-04 Thread Kirill A. Shutemov
On Tue, Oct 02, 2012 at 05:59:11PM +0100, Will Deacon wrote: > On x86 memory accesses to pages without the ACCESSED flag set result in the > ACCESSED flag being set automatically. With the ARM architecture a page access > fault is raised instead (and it will continue to be raised until the ACCESSED

[ 32/56] Increase XHCI suspend timeout to 16ms

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Michael Spang commit a6e097dfdfd189b6929af6efa1d289af61858386 upstream. The Intel XHCI specification says that after clearing the run/stop bit the controller may take up to 16ms to halt. We've

[ 33/56] HID: keep dev_rdesc unmodified and use it for comparisons

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Kevin Daughtridge commit 86e6b77eb7cf9ca2e9c7092b4dfd588f0a3307b6 upstream. The dev_rdesc member of the hid_device structure is meant to store the original report descriptor received from the d

[ 35/56] xen/pciback: Restore the PCI config space after an FLR.

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit c341ca45ce56143804ef5a8f4db753e554e640b4 upstream. When we do an FLR, or D0->D3_hot we may lose the BARs as the device has turned itself off (and on). This means th

[ 29/56] xHCI: add aborting command ring function

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Elric Fu commit b92cc66c047ff7cf587b318fe377061a353c120f upstream. Software have to abort command ring and cancel command when a command is failed or hang. Otherwise, the command ring will hang

[ 41/56] UBI: fix autoresize handling in R/O mode

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit abb3e01103eb4e2ea5c15e6fedbc74e08bd4cc2b upstream. Currently UBI fails in autoresize when it is in R/O mode (e.g., because the underlying MTD device is R/O). This patch

  1   2   3   4   5   6   7   8   9   >