Re: [PATCH v3 2/2] KVM: make crash_clear_loaded_vmcss valid when loading kvm_intel module

2012-10-31 Thread zhangyanfei
于 2012年10月31日 17:01, Hatayama, Daisuke 写道: > > >> -Original Message- >> From: kexec-boun...@lists.infradead.org >> [mailto:kexec-boun...@lists.infradead.org] On Behalf Of zhangyanfei >> Sent: Wednesday, October 31, 2012 12:34 PM >> To: x...@kernel.org; ke...@lists.infradead.org; Avi

[net-next v5 7/7] tuntap: choose the txq based on rxq

2012-10-31 Thread Jason Wang
This patch implements a simple multiqueue flow steering policy - tx follows rx for tun/tap. The idea is simple, it just choose the txq based on which rxq it comes. The flow were identified through the rxhash of a skb, and the hash to queue mapping were recorded in a hlist with an ageing timer to

[net-next v5 6/7] tuntap: add ioctl to attach or detach a file form tuntap device

2012-10-31 Thread Jason Wang
Sometimes usespace may need to active/deactive a queue, this could be done by detaching and attaching a file from tuntap device. This patch introduces a new ioctls - TUNSETQUEUE which could be used to do this. Flag IFF_ATTACH_QUEUE were introduced to do attaching while IFF_DETACH_QUEUE were

[net-next v5 5/7] tuntap: multiqueue support

2012-10-31 Thread Jason Wang
This patch converts tun/tap to a multiqueue devices and expose the multiqueue queues as multiple file descriptors to userspace. Internally, each tun_file were abstracted as a queue, and an array of pointers to tun_file structurs were stored in tun_structure device, so multiple tun_files were

[net-next v5 4/7] tuntap: introduce multiqueue flags

2012-10-31 Thread Jason Wang
Add flags to be used by creating multiqueue tuntap device. Signed-off-by: Jason Wang --- include/uapi/linux/if_tun.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/uapi/linux/if_tun.h b/include/uapi/linux/if_tun.h index 25a585c..8ef3a87 100644 ---

[net-next v5 3/7] tuntap: RCUify dereferencing between tun_struct and tun_file

2012-10-31 Thread Jason Wang
RCU were introduced in this patch to synchronize the dereferences between tun_struct and tun_file. All tun_{get|put} were replaced with RCU, the dereference from one to other must be done under rtnl lock or rcu read critical region. This is needed for the following patches since the one of the

[net-next v5 2/7] tuntap: move socket to tun_file

2012-10-31 Thread Jason Wang
Current tuntap makes use of the socket receive queue as its tx queue. To implement multiple tx queues for tuntap and enable the ability of adding and removing queues during workload, the first step is to move the socket related structures to tun_file. Then we could let multiple fds/sockets to be

[net-next v5 1/7] tuntap: log the unsigned informaiton with %u

2012-10-31 Thread Jason Wang
Signed-off-by: Jason Wang --- drivers/net/tun.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 3157519..f830b1b 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -1419,7 +1419,7 @@ static long

[net-next v5 0/7] Multiqueue support in tuntap

2012-10-31 Thread Jason Wang
Hello All: This is an update of multiqueue support in tuntap from V3. Please consider to merge. The main idea for this series is to let tun/tap device to be benefited from multiqueue network cards and multi-core host. We used to have a single queue for tuntap which could be a bottleneck in a

[PATCH -next] Staging: silicom: remove unused including

2012-10-31 Thread Wei Yongjun
From: Wei Yongjun Remove including that don't need it. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- drivers/staging/silicom/bp_mod.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/silicom/bp_mod.c

[PATCH -next] Staging: silicom: bypasslib: remove unused including

2012-10-31 Thread Wei Yongjun
From: Wei Yongjun Remove including that don't need it. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- drivers/staging/silicom/bypasslib/bplibk.h | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PART2 Patch] node: cleanup node_state_attr

2012-10-31 Thread Wen Congyang
At 11/01/2012 02:29 AM, David Rientjes Wrote: > On Wed, 31 Oct 2012, Wen Congyang wrote: > >> diff --git a/drivers/base/node.c b/drivers/base/node.c >> index af1a177..5d7731e 100644 >> --- a/drivers/base/node.c >> +++ b/drivers/base/node.c >> @@ -614,23 +614,23 @@ static ssize_t

[patch] x86, xen: fix build dependency when USB_SUPPORT is not enabled

2012-10-31 Thread David Rientjes
CONFIG_XEN_DOM0 must depend on CONFIG_USB_SUPPORT, otherwise there is no definition of xen_dbgp_reset_prep() and xen_dbgp_external_startup() resulting in the following link error: drivers/built-in.o: In function `dbgp_reset_prep': (.text+0x1e03c5): undefined reference to `xen_dbgp_reset_prep'

[patch] mm: fix build warning for uninitialized value

2012-10-31 Thread David Rientjes
do_wp_page() sets mmun_called if mmun_start and mmun_end were initialized and, if so, may call mmu_notifier_invalidate_range_end() with these values. This doesn't prevent gcc from emitting a build warning though: mm/memory.c: In function ‘do_wp_page’: mm/memory.c:2530: warning: ‘mmun_start’

linux-next: Tree for Nov 1

2012-10-31 Thread Stephen Rothwell
Hi all, New trees: rr-fixes and swiotlb Changes since 20121031: The v4l-dvb tree still had its build failure so I used the version from next-20121026. The tmem tree gained conflicts against the xen-two tree. The akpm tree lost a patch that turned up elsewhere

[PATCH -next] CLK: clk-twl6040: fix return value check in twl6040_clk_probe()

2012-10-31 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function clk_register() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun

RE: [PATCH] mtip32xx: remove unused variables from mtip32xx.c

2012-10-31 Thread yongjun_...@trendmicro.com.cn
Hi all Sorry, please ignore this mail, this mail just be resend by my mistake. Regards, Yongjun Wei -Original Message- From: Wei Yongjun [mailto:weiyj...@gmail.com] Sent: 2012年11月1日 13:09 To: ax...@kernel.dk Cc: Yongjun Wei (RD-CN); linux-kernel@vger.kernel.org Subject: [PATCH]

Re: [net-next v4 0/7] Multiqueue support in tuntap

2012-10-31 Thread Jason Wang
On 10/31/2012 07:52 AM, Stephen Hemminger wrote: I am testing BQL for tuntap. It wouldn't be hard to do BQL in the multi-queue version. Yes, if BQL for tuntap is in first, I will rebase and convert it to multiqueue version. Thanks -- To unsubscribe from this list: send the line "unsubscribe

Re: [net-next resend v4 5/7] tuntap: multiqueue support

2012-10-31 Thread Jason Wang
On 11/01/2012 02:16 AM, David Miller wrote: From: Jason Wang Date: Mon, 29 Oct 2012 14:15:49 +0800 @@ -110,6 +110,11 @@ struct tap_filter { unsigned char addr[FLT_EXACT_COUNT][ETH_ALEN]; }; +/* 1024 is probably a high enough limit: modern hypervisors seem to support on + * the

Re: [PATCH v2 4/5] mm, highmem: makes flush_all_zero_pkmaps() return index of first flushed entry

2012-10-31 Thread Minchan Kim
On Thu, Nov 01, 2012 at 01:56:36AM +0900, Joonsoo Kim wrote: > In current code, after flush_all_zero_pkmaps() is invoked, > then re-iterate all pkmaps. It can be optimized if flush_all_zero_pkmaps() > return index of first flushed entry. With this index, > we can immediately map highmem page to

Re: [RFC] Second attempt at kernel secure boot support

2012-10-31 Thread joeyli
於 三,2012-10-31 於 19:53 +0100,Takashi Iwai 提到: > At Wed, 31 Oct 2012 17:37:28 +, > Matthew Garrett wrote: > > > > On Wed, Oct 31, 2012 at 06:28:16PM +0100, Takashi Iwai wrote: > > > > > request_firmware() is used for microcode loading, too, so it's fairly > > > a core part to cover, I'm

RE: [PATCH] To crash dump, we need keep other memory type except E820_RAM, because other type come from BIOS or firmware is used by other code(for example: PCI_MMCONFIG).

2012-10-31 Thread H. Peter Anvin
2) would make most sense to me, but I'd be okay with 3) as well. "Zhang, Jun" wrote: >Hello, Anvin > >I want to explain why I modify in this place. In kexec, it pass three >parameters, memmap=exactmap memmap=544K@64K memmap=64964K@32768K >I think my patch modify the least code. >Actually,

Re: [PATCH v3 1/3] Use acpi_os_hotplug_execute() instead of alloc_acpi_hp_work().

2012-10-31 Thread Yinghai Lu
On Wed, Oct 31, 2012 at 12:27 AM, Tang Chen wrote: > Hi Yinghai, > > alloc_acpi_hp_work() just puts the hutplug work onto kacpi_hotplug_wq. > As mentioned by Toshi Kani, this job has been done in > acpi_os_hotplug_execute(). > So we should use it instead of alloc_acpi_hp_work(). > > This patch

Re: [PATCH V4 0/4] ARM: tegra: Enable SLINK controller driver

2012-10-31 Thread Laxman Dewangan
On Thursday 01 November 2012 12:46 AM, Stephen Warren wrote: On 10/31/2012 11:31 AM, Laxman Dewangan wrote: On Wednesday 31 October 2012 09:59 PM, Stephen Warren wrote: On 10/31/2012 03:02 AM, Laxman Dewangan wrote: This series modify the dts file to add the slink addresses, make AUXDATA in

linux-next: build warning after merge of the tmem tree

2012-10-31 Thread Stephen Rothwell
Hi Konrad, After merging the tmem tree, today's linux-next build (x86_64 allmodconfig) produced this warning: arch/x86/xen/enlighten.c:109:0: warning: "xen_pvh_domain" redefined [enabled by default] include/xen/xen.h:23:0: note: this is the location of the previous definition Probably caused

Re: [PATCH 3/9] net: xfrm: use this_cpu_ptr per-cpu helper

2012-10-31 Thread Herbert Xu
On Wed, Oct 31, 2012 at 05:35:46PM +, Christoph Lameter wrote: > On Wed, 31 Oct 2012, Shan Wei wrote: > > > - > > list_for_each_entry(pos, _tfms_list, list) { > > struct crypto_comp *tfm; > > > > tfms = pos->tfms; > > - tfm = *per_cpu_ptr(tfms, cpu); > >

linux-next: manual merge of the tmem tree with the xen-two tree

2012-10-31 Thread Stephen Rothwell
Hi Konrad, Today's linux-next merge of the tmem tree got a conflict in arch/x86/xen/smp.c between commits 1ba23a0f2605 ("xen/smp: Move the common CPU init code a bit to prep for PVH patch") and 6c6067f26388 ("xen/pvh: Extend vcpu_guest_context, p2m, event, and XenBus") from the xen-two tree and

linux-next: manual merge of the tmem tree with the xen-two tree

2012-10-31 Thread Stephen Rothwell
Hi Konrad, Today's linux-next merge of the tmem tree got a conflict in arch/x86/xen/setup.c between commit 6056726e851a ("xen/pvh: bootup and setup (E820) related changes") from the xen-two tree and commit 7282a68f5aea ("PVH: Basic and preparatory changes") from the tmem tree. I fixed it up (by

linux-next: manual merge of the tmem tree with the xen-two tree

2012-10-31 Thread Stephen Rothwell
Hi Konrad, Today's linux-next merge of the tmem tree got conflicts in arch/x86/include/asm/xen/interface.h and drivers/xen/cpu_hotplug.c between commit 6c6067f26388 ("xen/pvh: Extend vcpu_guest_context, p2m, event, and XenBus") from the xen-two tree and commit 7282a68f5aea ("PVH: Basic and

RE: [PATCH] staging: ste_rmi4: Convert to Type-B support

2012-10-31 Thread Alexandra Chin
Hi Henrik, I see what you mean. Input subsystem handles multi-touch tracking for input driver. I will update reporting process, and resubmit a patch against 3.7-rcX. Greatly appreciate your comments. Alexandra Chin

[Consult] "gifts" to Red Hat.

2012-10-31 Thread Chen Gang
Hello linux-kernel@vger.kernel.org: 1) Sorry for bothering you, firstly. A) Asianux have found, analysed, and also provided the solving ways to the issues which only relative with Red Hat (public kernel not have), we can call them in short words "gifts". B) The relative members of Red Hat

Re: [Patch v4 3/8] memory-hotplug: fix NR_FREE_PAGES mismatch

2012-10-31 Thread Wen Congyang
At 10/31/2012 09:41 PM, Jianguo Wu Wrote: > On 2012/10/31 19:23, Wen Congyang wrote: >> NR_FREE_PAGES will be wrong after offlining pages. We add/dec >> NR_FREE_PAGES like this now: >> >> 1. move all pages in buddy system to MIGRATE_ISOLATE, and dec NR_FREE_PAGES >> >> 2. don't add NR_FREE_PAGES

[PATCH] memory-hotplug: fix NR_FREE_PAGES mismatch's fix

2012-10-31 Thread Wen Congyang
When a page is freed and put into pcp list, get_freepage_migratetype() doesn't return MIGRATE_ISOLATE even if this pageblock is isolated. So we should use get_pageblock_migratetype() instead of mt to check whether it is isolated. Cc: David Rientjes Cc: Jiang Liu Cc: Len Brown Cc: Benjamin

Re: How about a gpio_get(device *, char *) function?

2012-10-31 Thread Alex Courbot
On Wednesday 31 October 2012 23:25:41 Stephen Warren wrote: > On 10/31/2012 03:04 AM, Alex Courbot wrote: > > Hi, > > > > Would anyone be opposed to having a gpio_get() function that works > > similarly to e.g. regulator_get() and clk_get()? > > One major stumbling block is that with device

Re: [PATCH v3 0/3] zram/zsmalloc promotion

2012-10-31 Thread Minchan Kim
On Wed, Oct 31, 2012 at 09:19:00AM -0700, Greg Kroah-Hartman wrote: > On Wed, Oct 31, 2012 at 04:02:02PM +0900, Minchan Kim wrote: > > On Tue, Oct 30, 2012 at 07:43:07PM -0700, Greg Kroah-Hartman wrote: > > > On Wed, Oct 31, 2012 at 11:39:48AM +0900, Minchan Kim wrote: > > > > Greg, what do you

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

2012-10-31 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: printk() should include KERN_ facility level Signed-off-by: YAMANE Toshiaki --- drivers/staging/comedi/drivers/ni_mio_cs.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git

[PATCH 2/3] staging/comedi: fix the initialize statics issue in drivers/ni_mio_cs.c

2012-10-31 Thread YAMANE Toshiaki
fixed below checkpatch error. - ERROR: do not initialise statics to 0 or NULL Signed-off-by: YAMANE Toshiaki --- drivers/staging/comedi/drivers/ni_mio_cs.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_mio_cs.c

[PATCH 1/3] staging/comedi: fix the spaces issue at the start of line in drivers/ni_mio_cs.c

2012-10-31 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: please, no spaces at the start of a line Signed-off-by: YAMANE Toshiaki --- drivers/staging/comedi/drivers/ni_mio_cs.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_mio_cs.c

Re: [PATCH] thermal: solve compilation errors in rcar_thermal

2012-10-31 Thread Fengguang Wu
On Tue, Oct 30, 2012 at 08:21:09PM -0700, Kuninori Morimoto wrote: > > Hi Zhang, Andrew > > This patch is needed on latest linus/master branch. > Please re-check this patch. Rui, it'd be better to send Andrew a finalized patch with your Acked-by or Signed-off-by (because you passed it on),

RE: [PATCH] thermal: solve compilation errors in rcar_thermal

2012-10-31 Thread Zhang, Rui
Hi, Andrew, Can you take this patch? It fixes a real build error, and IMO, we should merge it ASAP. Thanks. > -Original Message- > From: kuninori morimoto [mailto:kuninori.morimoto...@gmail.com] On > Behalf Of Kuninori Morimoto > Sent: Wednesday, October 31, 2012 4:46 PM > To: Zhang, Rui

RE: [PATCH] To crash dump, we need keep other memory type except E820_RAM, because other type come from BIOS or firmware is used by other code(for example: PCI_MMCONFIG).

2012-10-31 Thread Zhang, Jun
Hello, Anvin I want to explain why I modify in this place. In kexec, it pass three parameters, memmap=exactmap memmap=544K@64K memmap=64964K@32768K I think my patch modify the least code. Actually, there are some choise to fix it. 1) my patch. 2) modify kexec, only pass two parameters --

Re: [PATCH] arm-dt: Enable DT proc updates.

2012-10-31 Thread Rob Herring
On 10/31/2012 10:57 AM, Pantelis Antoniou wrote: > This simple patch enables dynamic changes of the DT tree on runtime > to be visible to the device-tree proc interface. > > Signed-off-by: Pantelis Antoniou Acked-by: Rob Herring > --- > arch/arm/include/asm/prom.h | 2 ++ > 1 file changed, 2

Re: [RFC v2] Support volatile range for anon vma

2012-10-31 Thread KOSAKI Motohiro
>> - making zero page daemon and avoid pagesize zero fill at page fault >> - making new vma or page flags and mark as discardable w/o swap and >> vmscan treat it. (like this and/or MADV_FREE) > > Thanks for the information. > I realized by you I'm not first people to think of this idea. > Rik

Re: [PATCH v3 0/3] ACPI: container hot remove support.

2012-10-31 Thread Tang Chen
Hi Yinghai, How do you think the 1st patch ? Is the idea OK with you ? And about the memory hotplug thing, so far as I know, we are trying to limit kernel memory in some nodes, and only support to hot-remove the nodes with out kernel memory. This functionality is called online_movable. And some

Re: [PATCH 2/2] kvm, svm: Update MAINTAINERS entry

2012-10-31 Thread Marcelo Tosatti
On Mon, Oct 29, 2012 at 07:08:21PM +0100, Joerg Roedel wrote: > I have no access to my AMD email address anymore. Update > entry in MAINTAINERS to the new address. > > Cc: Avi Kivity > Cc: Marcelo Tosatti > Signed-off-by: Joerg Roedel > --- > MAINTAINERS |4 ++-- > 1 file changed, 2

Re: [PATCH v3 0/3] ACPI: container hot remove support.

2012-10-31 Thread Tang Chen
On 10/31/2012 07:09 PM, Yasuaki Ishimatsu wrote: > Hi Tang, > > If container device contains memory device, the function is > very danger. As you know, we are developing a memory hotplug. > If memory has kernel memory, memory hot remove operations fails. > But container_device_remove() cannot

Re: [RFC v2] Support volatile range for anon vma

2012-10-31 Thread Minchan Kim
On Wed, Oct 31, 2012 at 06:15:33PM -0700, Paul Turner wrote: > On Wed, Oct 31, 2012 at 3:56 PM, KOSAKI Motohiro > wrote: > >>> > Allocator should call madvise(MADV_NOVOLATILE) before reusing for > >>> > allocating that area to user. Otherwise, accessing of volatile range > >>> > will meet SIGBUS

Re: [PATCH] ARM: Fix the "WFI" instruction opcode definition.

2012-10-31 Thread Rob Herring
On 10/31/2012 08:24 PM, Yangfei (Felix) wrote: > The current "WFI" opcode definiton causes CPU hot-plug feature fails to work > if the kernel is built with CONFIG_THUMB2_KERNEL/CONFIG_CPU_ENDIAN_BE8 being > defined. An invalid instruction exception will be generated. > > Signed-off-by:

Re: [RFC v2] Support volatile range for anon vma

2012-10-31 Thread Minchan Kim
On Wed, Oct 31, 2012 at 06:22:58PM -0700, Paul Turner wrote: > On Wed, Oct 31, 2012 at 5:50 PM, Minchan Kim wrote: > > Hello, > > > > On Wed, Oct 31, 2012 at 02:59:07PM -0700, Paul Turner wrote: > >> On Wed, Oct 31, 2012 at 2:35 PM, Andrew Morton > >> wrote: > >> > > >> > On Tue, 30 Oct 2012

[PATCH] ARM: Fix the "WFI" instruction opcode definition.

2012-10-31 Thread Yangfei (Felix)
The current "WFI" opcode definiton causes CPU hot-plug feature fails to work if the kernel is built with CONFIG_THUMB2_KERNEL/CONFIG_CPU_ENDIAN_BE8 being defined. An invalid instruction exception will be generated. Signed-off-by: yangfei.ker...@gmail.com --- arch/arm/mach-exynos/hotplug.c |

Re: [RFC v2] Support volatile range for anon vma

2012-10-31 Thread Paul Turner
On Wed, Oct 31, 2012 at 5:50 PM, Minchan Kim wrote: > Hello, > > On Wed, Oct 31, 2012 at 02:59:07PM -0700, Paul Turner wrote: >> On Wed, Oct 31, 2012 at 2:35 PM, Andrew Morton >> wrote: >> > >> > On Tue, 30 Oct 2012 10:29:54 +0900 >> > Minchan Kim wrote: >> > >> > > This patch introudces new

Re: [RFC v2] Support volatile range for anon vma

2012-10-31 Thread Minchan Kim
Hi KOSAKI, On Wed, Oct 31, 2012 at 06:56:05PM -0400, KOSAKI Motohiro wrote: > >> > Allocator should call madvise(MADV_NOVOLATILE) before reusing for > >> > allocating that area to user. Otherwise, accessing of volatile range > >> > will meet SIGBUS error. > >> > >> Well, why? It would be easy

Re: [RFC v2] Support volatile range for anon vma

2012-10-31 Thread Paul Turner
On Wed, Oct 31, 2012 at 3:56 PM, KOSAKI Motohiro wrote: >>> > Allocator should call madvise(MADV_NOVOLATILE) before reusing for >>> > allocating that area to user. Otherwise, accessing of volatile range >>> > will meet SIGBUS error. >>> >>> Well, why? It would be easy enough for the fault

Re: [PATCH] [PATCH] x86: Don't clobber top of pt_regs in nested NMI

2012-10-31 Thread Steven Rostedt
On Mon, 2012-10-01 at 17:29 -0700, Salman Qazi wrote: > The nested NMI modifies the place (instruction, flags and stack) > that the first NMI will iret to. However, the copy of registers > modified is exactly the one that is the part of pt_regs in > the first NMI. This can change the behaviour

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-31 Thread Rusty Russell
Kees Cook writes: > Rusty, > > I haven't seen this land in your modules-next tree. I just wanted to > make sure it hadn't gotten lost. I'd like to do some kmod tests > against linux-next, but I've been waiting for this to appear. Yes, sorting that out now, they should be in tomorrow's

Re: [PATCH] ARM: plat-versatile: move FPGA irq driver to drivers/irqchip

2012-10-31 Thread Rob Herring
On 10/31/2012 04:31 PM, Linus Walleij wrote: > This moves the Versatile FPGA interrupt controller driver, used in > the Integrator/AP, Integrator/CP and some Versatile boards, out > of arch/arm/plat-versatile and down to drivers/irqchip where we > have consensus that such drivers belong. The

Re: [PATCH 14/16] virtio: Convert dev_printk(KERN_ to dev_(

2012-10-31 Thread Rusty Russell
Joe Perches writes: > dev_ calls take less code than dev_printk(KERN_ > and reducing object size is good. > Convert if (printk_ratelimit()) dev_printk to dev__ratelimited. > > Signed-off-by: Joe Perches Applied. Thanks, Rusty. -- To unsubscribe from this list: send the line "unsubscribe

Re: [RFC 1/7] capebus: Core capebus support

2012-10-31 Thread Russ Dill
On Wed, Oct 31, 2012 at 3:07 PM, Pantelis Antoniou wrote: > > On Oct 31, 2012, at 11:55 PM, Russ Dill wrote: > >> On Wed, Oct 31, 2012 at 9:52 AM, Pantelis Antoniou >> wrote: >>> Introducing capebus; a bus that allows small boards (capes) to connect >>> to a complex SoC using simple expansion

Re: [RFC v2] Support volatile range for anon vma

2012-10-31 Thread Minchan Kim
Hello, On Wed, Oct 31, 2012 at 02:59:07PM -0700, Paul Turner wrote: > On Wed, Oct 31, 2012 at 2:35 PM, Andrew Morton > wrote: > > > > On Tue, 30 Oct 2012 10:29:54 +0900 > > Minchan Kim wrote: > > > > > This patch introudces new madvise behavior MADV_VOLATILE and > > > MADV_NOVOLATILE for

Re: [PATCH v3] epoll: Support for disabling items, and a self-test app.

2012-10-31 Thread Michael Wang
On 11/01/2012 02:57 AM, Paton J. Lewis wrote: > On 10/30/12 11:32 PM, Michael Wang wrote: >> On 10/26/2012 08:08 AM, Paton J. Lewis wrote: >>> From: "Paton J. Lewis" >>> >>> It is not currently possible to reliably delete epoll items when >>> using the >>> same epoll set from multiple threads.

Re: [PATCH 0/2] Removing the use of VLAIS from the Linux Kernel

2012-10-31 Thread Herbert Xu
On Wed, Oct 31, 2012 at 12:41:32PM -0400, David Miller wrote: > > I don't think imposing the limitations of a non-gcc compiler > is rasonable. I agree. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe

Re: [RFC v2] Support volatile range for anon vma

2012-10-31 Thread Minchan Kim
Hi Andrew, On Wed, Oct 31, 2012 at 02:35:24PM -0700, Andrew Morton wrote: > On Tue, 30 Oct 2012 10:29:54 +0900 > Minchan Kim wrote: > > > This patch introudces new madvise behavior MADV_VOLATILE and > > MADV_NOVOLATILE for anonymous pages. It's different with > > John Stultz's version which

Re: [PATCH] emulator test: add "rep ins" mmio access test

2012-10-31 Thread Marcelo Tosatti
On Fri, Oct 19, 2012 at 03:39:08PM +0800, Xiao Guangrong wrote: > Add the test to trigger the bug that "rep ins" causes vcpu->mmio_fragments > overflow overflow while move large data from ioport to MMIO > > Signed-off-by: Xiao Guangrong > --- > x86/emulator.c | 14 ++ > 1 files

Re: [PATCH] proc: add "Seccomp" to status

2012-10-31 Thread Andrew Morton
On Wed, 31 Oct 2012 13:09:27 -0700 Kees Cook wrote: > Adds the seccomp mode to the /proc/$pid/status file so the state of > seccomp can be externally examined. There's no reason here for anyone to apply this patch to anything. Presumably you see some value to our users - please share your

Re: [PATCH v11] kvm: notify host when the guest is panicked

2012-10-31 Thread Marcelo Tosatti
On Tue, Oct 30, 2012 at 10:30:02PM -0400, Sasha Levin wrote: > On Tue, Oct 30, 2012 at 9:48 PM, Wen Congyang wrote: > > At 10/31/2012 09:12 AM, Marcelo Tosatti Wrote: > >> It has been asked earlier why a simple virtio device is not usable > >> for this (with no response IIRC). > > > > 1. We can't

RE: [PATCH 1/3] alarmtimer: Replace the spinlock rtcdev_lock with mutex

2012-10-31 Thread Liu, Chuansheng
> -Original Message- > From: Oliver Neukum [mailto:oneu...@suse.de] > Sent: Wednesday, October 31, 2012 5:03 PM > To: Liu, Chuansheng > Cc: john.stu...@linaro.org; t...@linutronix.de; gre...@linuxfoundation.org; > linux-kernel@vger.kernel.org; Liu, Chuansheng > Subject: Re: [PATCH 1/3]

[GIT PULL] KVM fixes for 3.7-rc3

2012-10-31 Thread Marcelo Tosatti
Linus, Please pull from git://git.kernel.org/pub/scm/virt/kvm/kvm.git master To receive the following KVM bug fixes Xiao Guangrong (1): KVM: x86: fix vcpu->mmio_fragments overflow arch/x86/kvm/x86.c | 60 ++-

[PATCH v2] r8169: Fix WoL on RTL8168d/8111d.

2012-10-31 Thread Cyril Brulebois
This regression was spotted between Debian squeeze and Debian wheezy kernels (respectively based on 2.6.32 and 3.2). More info about Wake-on-LAN issues with Realtek's 816x chipsets can be found in the following thread: http://marc.info/?t=13207921944 Probable regression from

Re: [PATCH] device_cgroup: fix unchecked cgroup parent usage

2012-10-31 Thread Andrew Morton
On Wed, 31 Oct 2012 12:04:30 -0400 Aristeu Rozanski wrote: > In 4cef7299b4786879a3e113e84084a72b24590c5b the cgroup parent usage is > unchecked. root will not have a parent and trying to use > device.{allow,deny} will cause problems. >From my reading of the code "problems" means "kernel null

Re: [PATCH v3 2/6] PM / Runtime: introduce pm_runtime_set[get]_memalloc_noio()

2012-10-31 Thread Ming Lei
On Wed, Oct 31, 2012 at 11:41 PM, Alan Stern wrote: > > Sorry, I misread your message. You are setting the device's flag, not > the thread's flag. Never mind. > > This still doesn't help in this case where CONFIG_PM_RUNTIME is > disabled. I think it will be simpler to set the noio flag during

[PATCH 4/8] ARM: zynq: dts: split up device tree

2012-10-31 Thread Josh Cartwright
The purpose of the created zynq-7000.dtsi file is to describe the hardware common to all Zynq 7000-based boards. Also, get rid of the zynq-ep107 device tree, since it is not hardware anyone can purchase. Add a zc702 dts file based on the zynq-7000.dtsi. Add it to the dts/Makefile so it is built

[PATCH 1/8] ARM: zynq: move arm-specific sys_timer out of ttc

2012-10-31 Thread Josh Cartwright
Move the sys_timer definition out of ttc driver and make it part of the common zynq code. This is preparation for renaming and COMMON_CLK support. Signed-off-by: Josh Cartwright --- arch/arm/mach-zynq/common.c | 13 + arch/arm/mach-zynq/common.h | 4 +---

[PATCH 7/8] serial: xilinx_uartps: get clock rate info from dts

2012-10-31 Thread Josh Cartwright
Add support for specifying clock information for the uart clk via the device tree. This eliminates the need to hardcode rates in the device tree. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/zynq-7000.dtsi | 4 ++-- drivers/tty/serial/xilinx_uartps.c | 30

[PATCH 5/8] ARM: zynq: add COMMON_CLK support

2012-10-31 Thread Josh Cartwright
Add support for COMMON_CLK, and provide simplified models for the necessary clocks on the zynq-7000. Currently, the PLLs, the CPU clock network, and the basic peripheral clock networks (for SDIO, SMC, SPI, QSPI, UART) are modelled. Signed-off-by: Josh Cartwright ---

[PATCH 0/8] zynq COMMON_CLK support

2012-10-31 Thread Josh Cartwright
This patchset implements COMMON_CLK support for the zynq. At this point, only the basic fundamental clocks are modelled, and only passively; for rate calculation. of_clk bindings are implemented to allow specifying clock/peripheral relationships in the device tree. Patch 1 and 2 are a followup

[PATCH 2/8] ARM: zynq: move ttc timer code to drivers/clocksource

2012-10-31 Thread Josh Cartwright
Suggested cleanup by Arnd Bergmann. Move the ttc timer.c code to drivers/clocksource, and out of the mach-zynq directory. The common.h (which only held the timer declaration) was renamed to xilinx_ttc.h and moved into include/linux. Signed-off-by: Josh Cartwright Cc: Arnd Bergmann ---

[PATCH 6/8] serial: xilinx_uartps: kill CONFIG_OF conditional

2012-10-31 Thread Josh Cartwright
The Zynq platform requires the use of CONFIG_OF. Remove the #ifdef conditionals in the uartps driver. Signed-off-by: Josh Cartwright --- drivers/tty/serial/xilinx_uartps.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/tty/serial/xilinx_uartps.c

[PATCH 8/8] clocksource: xilinx_ttc: add OF_CLK support

2012-10-31 Thread Josh Cartwright
Add support for retrieving TTC configuration from device tree. This includes the ability to pull information about the driving clocks from the of_clk bindings. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/zynq-7000.dtsi | 53 arch/arm/boot/dts/zynq-zc702.dts | 10 ++

[PATCH 3/8] ARM: zynq: dts: add description of the second uart

2012-10-31 Thread Josh Cartwright
The zynq-7000 has an additional UART at 0xE0001000. Describe it in the device tree. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/zynq-ep107.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/zynq-ep107.dts b/arch/arm/boot/dts/zynq-ep107.dts index

Re: [RFC v2] Support volatile range for anon vma

2012-10-31 Thread KOSAKI Motohiro
>> > Allocator should call madvise(MADV_NOVOLATILE) before reusing for >> > allocating that area to user. Otherwise, accessing of volatile range >> > will meet SIGBUS error. >> >> Well, why? It would be easy enough for the fault handler to give >> userspace a new, zeroed page at that address. > >

Re: [PATCH 1/2] x86: Provide a comment in uapi/asm/hw_breakpoint.h

2012-10-31 Thread David Howells
Ingo Molnar wrote: > Just wanted to inquire about the current status of it, as I'd > rather not pull anything that introduces breakages and is still > work in progress. Once it's all sorted out I'll have a look. Should I pull the x86 disintegration and perf fixes onto a tree derived from

Re: [PATCH 16/17 v2] f2fs: move proc files to debugfs

2012-10-31 Thread 'Greg KH'
On Thu, Nov 01, 2012 at 07:38:12AM +0900, Jaegeuk Kim wrote: > From: Greg Kroah-Hartman > > This moves all of the f2fs debugging files into debugfs. The files are > located in /sys/kernel/debug/f2fs/ > > Note, I think we are generating all of the same information in each of > the files for

Re: [PATCH 3/3] checkpatch: Emit a warning when decimal values are used

2012-10-31 Thread Andrew Morton
On Wed, 31 Oct 2012 11:37:03 +0100 Pavel Machek wrote: > Hi! > > > Linux kernel doesn't like decimals, say so. > > ?! > > Linux surely supports decimal constants, like "100". Did you mean > "octal"? > > If you wanted to add warning for something... I never want to see > > #define

[RFC virtio-next 1/4] virtio: Move definitions to header file vring.h

2012-10-31 Thread Sjur Brændeland
From: Sjur Brændeland Move the vring_virtqueue structure, memory barrier and debug macros out from virtio_ring.c to the new header file vring.h. This is done in order to allow other kernel modules to access the virtio internal data-structures. Signed-off-by: Sjur Brændeland --- Tis patch

[RFC virtio-next 2/4] include/vring.h: Add support for reversed vritio rings.

2012-10-31 Thread Sjur Brændeland
From: Sjur Brændeland Add last avilable index to the vring_virtqueue structure, this is done to prepare for implementation of the reversed vring. Signed-off-by: Sjur Brændeland --- drivers/virtio/vring.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/virtio/vring.h

[RFC virtio-next 4/4] caif_virtio: Add CAIF over virtio

2012-10-31 Thread Sjur Brændeland
From: Sjur Brændeland Add the CAIF Virtio Link layer, used for communicating with a modem over shared memory. Virtio is used as the transport mechanism. In the TX direction the virtio rings are used in the normal fashion, sending data in the available ring. But in the rx direction the the we

[RFC virtio-next 3/4] virtio_ring: Call callback function even when used ring is empty

2012-10-31 Thread Sjur Brændeland
From: Sjur Brændeland Enable option to force call of callback function even if used ring is empty. This is needed for reversed vring. Add a helper function __vring_interrupt and add extra boolean argument for forcing callback when interrupt is called. The original vring_interrupt semantic and

Re: [RFC PATCH] dt: describe base reset signal binding

2012-10-31 Thread Stephen Warren
On 10/31/2012 04:32 AM, Mike Turquette wrote: > Quoting Stephen Warren (2012-10-30 11:02:05) >> On 10/29/2012 12:32 PM, Mike Turquette wrote: >>> Quoting Stephen Warren (2012-10-23 14:45:56) What do people think of this? Does it sound like a good idea to go ahead with a reset subsystem?

[RFC virtio-next 0/4] Introduce CAIF Virtio and reversed Vrings

2012-10-31 Thread Sjur Brændeland
This patch-set introduces the CAIF Virtio Link layer. The purpose is to communicate with a remote processor (a modem) over shared memory. Virtio is used as the transport mechanism, and the Remoteproc framework provides configuration and management of the Virtio rings and devices. The modem and

Re: [PATCH] Sometimes, there is OOPS happened when we use oprofile.

2012-10-31 Thread Robert Richter
On 31.10.12 14:33:17, H. Peter Anvin wrote: > I'm vaguely concerned about the following: > > + * To always return a non-null > + * stack pointer we fall back to regs as stack if no previous stack > + * exists. > > The logic being that if there is no stack pointer and the stack is > too empty, to

Re: [PATCH v2 RESEND] ACPI: Add ACPI CPU hot-remove support

2012-10-31 Thread Toshi Kani
On Wed, 2012-10-31 at 23:27 +0100, Rafael J. Wysocki wrote: > On Friday, October 19, 2012 01:09:53 PM Toshi Kani wrote: > > Added CPU hot-remove support through an ACPI eject notification. > > It calls acpi_bus_hot_remove_device(), which shares the same code > > path with the sysfs eject

[PATCH 16/17 v2] f2fs: move proc files to debugfs

2012-10-31 Thread Jaegeuk Kim
From: Greg Kroah-Hartman This moves all of the f2fs debugging files into debugfs. The files are located in /sys/kernel/debug/f2fs/ Note, I think we are generating all of the same information in each of the files for every unique f2fs filesystem in the machine. This copies the functionality

[PATCH] add Marvell 88W8688 support to libertas_sdio

2012-10-31 Thread Harro Haan
This chip is for example used in the GuruPlug. This patch avoids the following error: libertas_sdio: failed to load firmware libertas_sdio: probe of mmc0:0001:1 failed with error -5 The fix is based on code in: drivers/net/wireless/libertas_uap/uap_sdio_mmc.c This file can for example be found

Re: [PATCH v2 RESEND] ACPI: Add ACPI CPU hot-remove support

2012-10-31 Thread Rafael J. Wysocki
On Friday, October 19, 2012 01:09:53 PM Toshi Kani wrote: > Added CPU hot-remove support through an ACPI eject notification. > It calls acpi_bus_hot_remove_device(), which shares the same code > path with the sysfs eject operation. acpi_os_hotplug_execute() > serializes hot-remove operations

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-10-31 Thread Felipe Balbi
Hi, On Wed, Oct 31, 2012 at 11:36:25PM +0200, Pantelis Antoniou wrote: > > * Pantelis Antoniou [121031 13:14]: > >> On Oct 31, 2012, at 9:55 PM, Benoit Cousson wrote: > >>> > >>> Yeah, I do agree. I'm confused as well. Only OMAP IPs under PRCM control > >>> could have an hwmod and thus must be

Re: [RFC] Second attempt at kernel secure boot support

2012-10-31 Thread Oliver Neukum
On Wednesday 31 October 2012 15:58:05 Chris Friesen wrote: > On 10/31/2012 02:14 PM, Oliver Neukum wrote: > > That would do it on my system. > > Maybe in theory you could solve this by the kernel invalidating images > > it hasn't written itself and forbidding to change the resume partition from

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-10-31 Thread Tony Lindgren
* Pantelis Antoniou [121031 15:02]: > > So when device's node is 'disabled' of_platform_device_create_pdata() > will not create the device. > > Now, of course it is possible to re-trigger the platform's probe method > to be called, and in fact I do so in the capebus patches. You should fix

Re: [BUG] perf report: different reports when run on terminal as opposed to script

2012-10-31 Thread Dhaval Giani
On Wed, Oct 31, 2012 at 3:12 AM, Namhyung Kim wrote: > On Tue, 30 Oct 2012 08:05:45 -0400, Dhaval Giani wrote: >> On Tue, Oct 30, 2012 at 3:42 AM, Namhyung Kim wrote: >>> Hi Dhaval, >>> >>> On Mon, 29 Oct 2012 12:45:53 -0400, Dhaval Giani wrote: On Mon, Oct 29, 2012 at 12:01 PM, Dhaval

[PATCH V5 1/2] kbuild: centralize .dts->.dtb rule

2012-10-31 Thread Stephen Warren
From: Stephen Warren All architectures that use cmd_dtc do so in the same way. Move the build rule to a central location to avoid duplication. Update Documentation/kbuild to remove the explicit call to cmd_dtc from the example, now that the rule exists in a centralized location, and in fact

[PATCH V5 2/2] kbuild: run the pre-processor on *.dts files

2012-10-31 Thread Stephen Warren
From: Stephen Warren Modify cmd_dtc to run the C pre-processor on the input .dts file before passing it to dtc for final compilation. This allows the use of #define and #include within the .dts file. Signed-off-by: Stephen Warren --- v5: * Update Documentation/kbuild for the new command and

  1   2   3   4   5   6   7   8   9   10   >