Re: [PATCH v5 3/4] kvm: Create kvm_clear_irq()

2012-07-17 Thread Michael S. Tsirkin
On Mon, Jul 16, 2012 at 02:34:03PM -0600, Alex Williamson wrote: > This is an alternative to kvm_set_irq(,,,0) which returns the previous > assertion state of the interrupt and does nothing if it isn't changed. > > Signed-off-by: Alex Williamson > --- > > include/linux/kvm_host.h |3 ++ > v

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Paolo Bonzini
Il 17/07/2012 11:45, Michael S. Tsirkin ha scritto: >> So it begs the question, is it going to be used in production, or just a >> useful reference tool? > > Sticking to raw already makes virtio-blk faster, doesn't it? > In that vhost-blk looks to me like just another optimization option. > Ideall

Re: [PATCH v5 3/4] kvm: Create kvm_clear_irq()

2012-07-17 Thread Michael S. Tsirkin
On Mon, Jul 16, 2012 at 02:34:03PM -0600, Alex Williamson wrote: > This is an alternative to kvm_set_irq(,,,0) which returns the previous > assertion state of the interrupt and does nothing if it isn't changed. > > Signed-off-by: Alex Williamson > --- > > include/linux/kvm_host.h |3 ++ > v

Re: [PATCH v3 5/6] mmc: dw_mmc: add device tree support

2012-07-17 Thread Thomas Abraham
On 16 July 2012 09:45, Girish K S wrote: > On 12 July 2012 18:24, Thomas Abraham wrote: [...] >> >> +#ifdef CONFIG_OF >> +static struct dw_mci_drv_data synopsis_drv_data = { >> + .ctrl_type = DW_MCI_TYPE_SYNOPSIS, >> +}; >> + >> +static const struct of_device_id dw_mci_pltfm_match[]

Re: [PATCH v5 2/4] kvm: KVM_EOIFD, an eventfd for EOIs

2012-07-17 Thread Michael S. Tsirkin
On Mon, Jul 16, 2012 at 02:33:55PM -0600, Alex Williamson wrote: > + if (args->flags & KVM_EOIFD_FLAG_LEVEL_IRQFD) { > + struct _irqfd *irqfd = _irqfd_fdget_lock(kvm, args->irqfd); > + if (IS_ERR(irqfd)) { > + ret = PTR_ERR(irqfd); > +

Re: linux-next: Tree for July 17 (mfd: AB3100 - ab3100_probe: undefined reference to `rand_initialize_irq')

2012-07-17 Thread Sedat Dilek
On Tue, Jul 17, 2012 at 11:47 AM, Sedat Dilek wrote: > On Tue, Jul 17, 2012 at 7:41 AM, Stephen Rothwell > wrote: >> Hi all, >> >> Changes since 20120716: >> >> The vfs tree lost its build failure. >> >> The l2-mtd tree gained a conflict against the mtd tree. >> >> The battery tree tree lost its

Re: [PATCH v3 5/6] mmc: dw_mmc: add device tree support

2012-07-17 Thread Thomas Abraham
On 16 July 2012 09:53, Chris Ball wrote: > Hi, > > On Thu, Jul 12 2012, Thomas Abraham wrote: >> diff --git a/Documentation/devicetree/bindings/mmc/synposis-dw-mshc.txt >> b/Documentation/devicetree/bindings/mmc/synposis-dw-mshc.txt >> new file mode 100644 >> index 000..3acd6c9 >> --- /dev/nu

[PATCH 5/9] mmc: dw_mmc: add device tree support

2012-07-17 Thread Thomas Abraham
Add device tree based discovery support. Signed-off-by: Thomas Abraham --- .../devicetree/bindings/mmc/synposis-dw-mshc.txt | 99 ++ drivers/mmc/host/dw_mmc-pltfm.c| 23 +++ drivers/mmc/host/dw_mmc.c | 201 +++- drivers/

Re: [PATCH net-next] r8169: Remove rtl_ocpdr_cond

2012-07-17 Thread Francois Romieu
hayeswang : [...] > rtt min/avg/max/mdev = 0.028/0.040/0.101/0.011 ms, pipe 4, ipg/ewma > 0.021/0.035 > rtt min/avg/max/mdev = 0.151/0.173/0.247/0.020 ms, pipe 4, ipg/ewma > 0.048/0.168 [...] > The attached file is my log. It seems fine. A few percents packet loss at this rate does not exactly

[PATCH 3/9] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-07-17 Thread Thomas Abraham
Some platforms allow for clock gating and control of bus interface unit clock and card interface unit clock. Add support for clock lookup of optional biu and ciu clocks for clock gating and clock speed determination. Signed-off-by: Abhilash Kesavan Signed-off-by: Thomas Abraham --- drivers/mmc/

Re: [Xen-devel] incorrect layout of globals from head_64.S during kexec boot

2012-07-17 Thread Olaf Hering
On Mon, Jul 16, Konrad Rzeszutek Wilk wrote: > On Sun, Jul 15, 2012 at 06:06:53PM +0200, Olaf Hering wrote: > > -void __ref xen_hvm_init_shared_info(void) > > +static struct shared_info *hvm_shared_info; > > +static unsigned long hvm_shared_info_pfn; > > + > > Please include a big comment explain

Re: [PATCH] sched/cpu hotplug: Don't traverse sched domain tree of cpus going offline

2012-07-17 Thread Srivatsa S. Bhat
Hi Peter, On 06/20/2012 03:47 PM, Peter Zijlstra wrote: > On Wed, 2012-06-20 at 15:20 +0530, Srivatsa S. Bhat wrote: >> Any thoughts on this patch? >> > Yeah, I stared at it for a while and got a head-ache.. the idle-balance > part if ok, the rt.c part needs a little more-thinking. > Could you ki

Re: linux-next: Tree for July 17 (mfd: AB3100 - ab3100_probe: undefined reference to `rand_initialize_irq')

2012-07-17 Thread Sedat Dilek
On Tue, Jul 17, 2012 at 12:21 PM, Sedat Dilek wrote: > On Tue, Jul 17, 2012 at 11:47 AM, Sedat Dilek wrote: >> On Tue, Jul 17, 2012 at 7:41 AM, Stephen Rothwell >> wrote: >>> Hi all, >>> >>> Changes since 20120716: >>> >>> The vfs tree lost its build failure. >>> >>> The l2-mtd tree gained a co

Re: [PATCH 03/27] iommu/amd: Fix sparse warnings

2012-07-17 Thread Joerg Roedel
On Wed, Jul 11, 2012 at 03:38:48PM +0200, Joerg Roedel wrote: > A few sparse warnings fire in drivers/iommu/amd_iommu_init.c. > Fix most of them with this patch. Also fix the sparse > warnings in drivers/iommu/irq_remapping.c while at it. > > Signed-off-by: Joerg Roedel To reduce the size of thi

RE: [PATCH] [media] davinci: vpfe: Add documentation

2012-07-17 Thread Hadli, Manjunath
Hi Laurent, Thank you for your comments. On Sun, Jul 15, 2012 at 18:16:25, Laurent Pinchart wrote: > Hi Manjunath, > > Thanks for the patch. > > On Wednesday 11 July 2012 21:09:26 Manjunath Hadli wrote: > > Add documentation on the Davinci VPFE driver. Document the subdevs, > > and private I

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-17 Thread Catalin Marinas
Hi, On Mon, Jul 16, 2012 at 01:16:51PM +0100, Pavel Machek wrote: > > > > The AArch32 execution mode is optional, so it depends on the actual CPU > > > > implementation (while AArch64 is mandatory). If the implementation > > > > supports it, the most likely scenario for AArch32 at kernel level is

Re: [PATCH RESEND v7 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-07-17 Thread Yaniv Gardi
Hi Jens, Can you approve this patch? Thanks, Yaniv > Looks good to me. > Reviewed-by: Maya Erez > > On Thu, June 28, 2012 1:32 am, Yaniv Gardi wrote: >> Adding a new ioctl to support sanitize operation in eMMC >> cards version 4.5. >> The sanitize ioctl support helps performing this operation >>

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Michael S. Tsirkin
On Tue, Jul 17, 2012 at 12:14:33PM +0200, Paolo Bonzini wrote: > Il 17/07/2012 11:45, Michael S. Tsirkin ha scritto: > >> So it begs the question, is it going to be used in production, or just a > >> useful reference tool? > > > > Sticking to raw already makes virtio-blk faster, doesn't it? > > In

[PATCH RESEND v4] USB: host: Add Device tree support for ohci-exynos & ehci-s5p

2012-07-17 Thread Vivek Gautam
Adding Greg KH, and Jingoo Han in the mail thread. Reworked third patch; other two got applied to 'usb-next' branch. Changes from v3: 1) Change the function name from s5p_ehci_setup_gpio() to s5p_setup_vbus_gpio(). 2) Make s5p_setup_vbus_gpio() function to return void instead of int. 3) Return vo

[PATCH RESEND v4] USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer

2012-07-17 Thread Vivek Gautam
This patch retrieves and configures the vbus control gpio via the device tree. The suspend/resume callbacks will be later modified for vbus control. Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam --- drivers/usb/host/ehci-s5p.c | 21 + 1 files changed, 21 inse

Re: [PATCH RESEND v7 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-17 Thread Yaniv Gardi
Hi Chris, Can you push this patch to mmc-next? Thanks, Yaniv > Looks good to me. > Reviewed-by: Maya Erez > > On Thu, June 28, 2012 1:32 am, Yaniv Gardi wrote: >> This feature delete the unmap memory region of the eMMC card, >> by writing to a specific register in the EXT_CSD >> unmap region is

Re: Kerneloops.org defunct?

2012-07-17 Thread Anton Arapov
On Tue, 2012-07-17 at 11:02 +0100, Alan Cox wrote: > > The reporting tool(Abrt) complicated the reporting and kerneloops.org > > DNS still doesn't associated with the required ip address. ( Arjan? ) > Anton - just talk to the kernel.org maintainers and get oops.kernel.org > set up somewhere and b

[PATCH 2/2] Staging: ipack: change naming convention in TODO file

2012-07-17 Thread Samuel Iglesias Gonsálvez
Use the ANSI/VITA 4.0-1995 (S2011) naming convention for the mezzanine or daughter boards. They are called IP modules in the Standard. Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/TODO |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/stagin

[PATCH 1/2] Staging: ipack: added development mailing list in TODO file

2012-07-17 Thread Samuel Iglesias Gonsálvez
Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/TODO |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/ipack/TODO b/drivers/staging/ipack/TODO index 0f8bf20..25ed7ae 100644 --- a/drivers/staging/ipack/TODO +++ b/drivers/staging/ipack/TODO

Re: [PATCH] mm/memcg: remove redundant checking on root memcg

2012-07-17 Thread Michal Hocko
On Tue 17-07-12 17:42:27, Wanpeng Li wrote: > Function __mem_cgroup_cancel_local_charge is only called by > mem_cgroup_move_parent. For this case, root memcg has been > checked by mem_cgroup_move_parent. So we needn't check that > again in function __mem_cgroup_cancel_local_charge and just > remove

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Paolo Bonzini
Il 17/07/2012 12:49, Michael S. Tsirkin ha scritto: >> Ok, that would make more sense. One difference between vhost-blk and >> vhost-net is that for vhost-blk there are also management actions that >> would trigger the switch, for example a live snapshot. >> So a prerequisite for vhost-blk would b

Re: uprobe: checking probe event include directory

2012-07-17 Thread Frederic Weisbecker
On Tue, Jul 17, 2012 at 06:12:28PM +0800, Jovi Zhang wrote: > From 16ed13ee9098ae01705e8456005d1ad6d9909128 Mon Sep 17 00:00:00 2001 > From: Jovi Zhang > Date: Wed, 18 Jul 2012 01:16:23 +0800 > Subject: [PATCH] uprobe: checking probe event include directory > > Currently below command run success

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Michael S. Tsirkin
On Tue, Jul 17, 2012 at 12:56:31PM +0200, Paolo Bonzini wrote: > Il 17/07/2012 12:49, Michael S. Tsirkin ha scritto: > >> Ok, that would make more sense. One difference between vhost-blk and > >> vhost-net is that for vhost-blk there are also management actions that > >> would trigger the switch,

[GIT PULL] rpmsg: 1-liner fix for 3.5

2012-07-17 Thread Ohad Ben-Cohen
Hi Linus, The following changes since commit 84a1caf1453c3d44050bd22db958af4a7f99315c: Linux 3.5-rc7 (2012-07-14 15:40:28 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/rpmsg.git tags/single-rpmsg-3.5-fix for you to fetch changes up to 963

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Stefan Hajnoczi
On Tue, Jul 17, 2012 at 10:21 AM, Asias He wrote: > On 07/17/2012 04:52 PM, Paolo Bonzini wrote: >> >> Il 17/07/2012 10:29, Asias He ha scritto: >>> >>> So, vhost-blk at least saves ~6 syscalls for us in each request. >> >> >> Are they really 6? If I/O is coalesced by a factor of 3, for example >

Re: [PATCH 2/8] regmap: Add the indexed cache support

2012-07-17 Thread Mark Brown
On Fri, Sep 02, 2011 at 10:16:06PM +0200, Lars-Peter Clausen wrote: > I have some patches for the rbtree register cache code, which reduce some of > it's complexity and also implements the adjacent node merging and allows > smaller holes in the rbnodes register block if the block is smaller then a

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Michael S. Tsirkin
On Tue, Jul 17, 2012 at 12:11:15PM +0100, Stefan Hajnoczi wrote: > On Tue, Jul 17, 2012 at 10:21 AM, Asias He wrote: > > On 07/17/2012 04:52 PM, Paolo Bonzini wrote: > >> > >> Il 17/07/2012 10:29, Asias He ha scritto: > >>> > >>> So, vhost-blk at least saves ~6 syscalls for us in each request. > >

[PATCH -next] random: Remove remaining relicts of rand_initialize_irq()

2012-07-17 Thread Sedat Dilek
rand_initialize_irq() was removed here: commit 946672f548682905d8ecdab33bb6e2c705418505 "random: remove rand_initialize_irq()" The AB3100 mfd-driver is the only driver still using it and breaks with the following error-messages in linux-next (next-20120717): ... drivers/built-in.o: I

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Stefan Hajnoczi
On Tue, Jul 17, 2012 at 9:29 AM, Asias He wrote: > On 07/16/2012 07:58 PM, Stefan Hajnoczi wrote: >> Does the vhost-blk implementation do anything fundamentally different >> from userspace? Where is the overhead that userspace virtio-blk has? > > > > Currently, no. But we could play with bio dire

RE: [PATCH v7 2/5] powerpc/85xx: add HOTPLUG_CPU support

2012-07-17 Thread Zhao Chenhui-B35336
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Friday, July 13, 2012 8:15 PM > To: Zhao Chenhui-B35336 > Cc: linuxppc-...@lists.ozlabs.org; Wood Scott-B07421; > linux-kernel@vger.kernel.org; Li Yang-R58472 > Subject: Re: [PATCH v7 2/5] powerpc/85xx: add

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Stefan Hajnoczi
On Tue, Jul 17, 2012 at 12:26 PM, Michael S. Tsirkin wrote: > On Tue, Jul 17, 2012 at 12:11:15PM +0100, Stefan Hajnoczi wrote: >> On Tue, Jul 17, 2012 at 10:21 AM, Asias He wrote: >> > On 07/17/2012 04:52 PM, Paolo Bonzini wrote: >> >> >> >> Il 17/07/2012 10:29, Asias He ha scritto: >> >>> >> >>>

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Stefan Hajnoczi
On Tue, Jul 17, 2012 at 12:42 PM, Stefan Hajnoczi wrote: > On Tue, Jul 17, 2012 at 12:26 PM, Michael S. Tsirkin wrote: >> On Tue, Jul 17, 2012 at 12:11:15PM +0100, Stefan Hajnoczi wrote: >>> On Tue, Jul 17, 2012 at 10:21 AM, Asias He wrote: >>> > On 07/17/2012 04:52 PM, Paolo Bonzini wrote: >>>

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Michael S. Tsirkin
On Tue, Jul 17, 2012 at 12:42:13PM +0100, Stefan Hajnoczi wrote: > On Tue, Jul 17, 2012 at 12:26 PM, Michael S. Tsirkin wrote: > > On Tue, Jul 17, 2012 at 12:11:15PM +0100, Stefan Hajnoczi wrote: > >> On Tue, Jul 17, 2012 at 10:21 AM, Asias He wrote: > >> > On 07/17/2012 04:52 PM, Paolo Bonzini w

Re: [alsa-devel] [PATCH 1/2] MFD: twl6040: Fix revision information

2012-07-17 Thread Gabriel M. Beddingfield
On 07/17/2012 01:39 AM, Rajeev kumar wrote: diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index a36e9fc..2786de2 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c @@ -653,7 +653,7 @@ int twl6040_get_hs_step_size(struct snd_soc_codec *codec) {

Re: mm,numad,rcu: hang on OOM

2012-07-17 Thread Paul E. McKenney
On Tue, Jul 17, 2012 at 10:15:46AM +0200, Sasha Levin wrote: > Hi Paul, > > I've been running with your patch below for a while now, and haven't > encountered the issue again. Thank you for the testing, Sasha! I have the full OOM patch queued for 3.7.

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Stefan Hajnoczi
On Tue, Jul 17, 2012 at 12:54 PM, Michael S. Tsirkin wrote: >> Knowing the answer to that is important before anyone can say whether >> this approach is good or not. >> >> Stefan > > Why is it? Because there might be a fix to kvmtool which closes the gap. It would be embarassing if vhost-blk was

Re: [PATCH] sd: do not set changed flag on all unit attention conditions

2012-07-17 Thread James Bottomley
On Tue, 2012-07-17 at 11:28 +0200, Paolo Bonzini wrote: > Il 17/07/2012 11:11, James Bottomley ha scritto: > > We don't do stuff just because the standards allows it; just the > > opposite: we try to use the smallest implementations from the standards > > we can get away with just because the more

Re: [PATCH] xhci: EHCI/xHCI ports switching on Intense-PC.

2012-07-17 Thread Sergei Shtylyov
Hello. On 16-07-2012 20:46, Denis Turischev wrote: Intense-PC is Compulab's mini-desktop with Intel Panther Point chipset. Unconditional ports switching provided by function usb_enable_xhci_ports() leads to surprising results, after shutdown system powered-on again after a few seconds. On Wi

Re: 3.4.4: Oops in snd_hda_codec_realtek (alc_auto_create_multi_out_ctls)

2012-07-17 Thread Takashi Iwai
At Mon, 9 Jul 2012 13:40:09 -0600, Robert Hancock wrote: > > I've got a sort of industrial portable PC that uses a Supermicro C2SBX > motherboard. Running an RHEL6 kernel (2.6.32-ish) it works fine, but > if I run a 3.4.4 kernel (using the kernel-ml builds provided by ELRepo > for RHEL6) it blows

Re: [PATCH v2 02/11] arm/dts: omap: Add omap-usb2 dt data

2012-07-17 Thread Sergei Shtylyov
Hello. On 17-07-2012 12:10, Kishon Vijay Abraham I wrote: Add omap-usb2 data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/

Re: [PATCH] sd: do not set changed flag on all unit attention conditions

2012-07-17 Thread Paolo Bonzini
Il 17/07/2012 14:21, James Bottomley ha scritto: >> Yes, I realize failing only on specific sense codes as I did it in the >> patch is not going to work. However, the other way round is not >> problematic (explicitly allow some sense codes, fail on all others). > > Heh, I once thought that, but t

Re: [Xen-devel] incorrect layout of globals from head_64.S during kexec boot

2012-07-17 Thread Olaf Hering
On Tue, Jul 17, Olaf Hering wrote: To make this robust against allocation errors I will change it to do { > + /* Allocate new mfn for previous pfn */ > + rc = HYPERVISOR_memory_op(XENMEM_populate_physmap, &reservation); } while (rc == 0); > + > + /* Make sure the prev

[PATCH 1/4 v2] mm: correct return value of migrate_pages() and migrate_huge_pages()

2012-07-17 Thread Joonsoo Kim
migrate_pages() should return number of pages not migrated or error code. When unmap_and_move return -EAGAIN, outer loop is re-execution without initialising nr_failed. This makes nr_failed over-counted. So this patch correct it by initialising nr_failed in outer loop. migrate_huge_pages() is ide

[PATCH 2/4 v2] mm: fix possible incorrect return value of migrate_pages() syscall

2012-07-17 Thread Joonsoo Kim
do_migrate_pages() can return the number of pages not migrated. Because migrate_pages() syscall return this value directly, migrate_pages() syscall may return the number of pages not migrated. In fail case in migrate_pages() syscall, we should return error value. So change err to -EBUSY Additional

[PATCH 4/4 v2] mm: fix possible incorrect return value of move_pages() syscall

2012-07-17 Thread Joonsoo Kim
move_pages() syscall may return success in case that do_move_page_to_node_array return positive value which means migration failed. This patch changes return value of do_move_page_to_node_array for not returning positive value. It can fix the problem. Signed-off-by: Joonsoo Kim Cc: Brice Goglin

[PATCH 3/4 v2] mm: fix return value in __alloc_contig_migrate_range()

2012-07-17 Thread Joonsoo Kim
migrate_pages() would return positive value in some failure case, so 'ret > 0 ? 0 : ret' may be wrong. This fix it and remove one dead statement. Signed-off-by: Joonsoo Kim Cc: Michal Nazarewicz Cc: Marek Szyprowski Cc: Minchan Kim Cc: Christoph Lameter Acked-by: Christoph Lameter diff --gi

Re: [PATCH 2/2] arm/dts: omap4: Add ocp2scp data

2012-07-17 Thread Sergei Shtylyov
Hello. On 16-07-2012 18:13, Kishon Vijay Abraham I wrote: Add ocp2scp data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi

Re: [char-misc-next] mei: use module_pci_driver

2012-07-17 Thread Arnd Bergmann
On Tuesday 17 July 2012, Tomas Winkler wrote: > > Change-Id: I960feed4157ad1b178f68f4a0b3968e185ed0b36 The change log got mangled. Please make sure the text you have here actually describes what the patch does and why. > Signed-off-by: Tomas Winkler > --- > drivers/misc/mei/main.c | 39 +

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Michael S. Tsirkin
On Tue, Jul 17, 2012 at 01:03:39PM +0100, Stefan Hajnoczi wrote: > On Tue, Jul 17, 2012 at 12:54 PM, Michael S. Tsirkin wrote: > >> Knowing the answer to that is important before anyone can say whether > >> this approach is good or not. > >> > >> Stefan > > > > Why is it? > > Because there might

Re: [PATCH 1/1] Add Wondermedia Technologies (wmt) to docs/devicetree/vendor-bindings.txt

2012-07-17 Thread Arnd Bergmann
On Tuesday 17 July 2012, Tony Prisk wrote: > From 756ae5c2f475d679649adff99058679b651af8d9 Mon Sep 17 00:00:00 2001 > From: Tony Prisk > Date: Tue, 17 Jul 2012 19:09:31 +1200 > Subject: [PATCH] Add Wondermedia Technologies (wmt) to vendor-prefixes.txt > Signed-off-by: Tony Prisk Something went

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-17 Thread Mike Galbraith
On Tue, 2012-07-17 at 06:18 +0200, Mike Galbraith wrote: > On Mon, 2012-07-16 at 13:03 -0400, Steven Rostedt wrote: > > On Mon, 2012-07-16 at 18:36 +0200, Mike Galbraith wrote: > > > > > > > > Ouch, you just turned the rt_read_lock() into a spin lock. If a higher > > > > > priority process pree

Re: [PATCH v2 11/11] MAINTAINERS: add fblog entry

2012-07-17 Thread Geert Uytterhoeven
On Mon, Jul 9, 2012 at 8:38 PM, David Herrmann wrote: >>> diff --git a/MAINTAINERS b/MAINTAINERS >>> index ae8fe46..249b02a 100644 >>> --- a/MAINTAINERS >>> +++ b/MAINTAINERS >>> @@ -2854,6 +2854,12 @@ F: drivers/video/ >>> F: include/video/ >>> F: include/linux/fb.h >>> >>> +FRAME

Re: [PATCH] Input: eeti_ts: Mark as CONFIG_BROKEN

2012-07-17 Thread Daniel Mack
On 13.07.2012 09:01, Dmitry Torokhov wrote: > On Wed, May 02, 2012 at 09:36:51PM -0700, Dmitry Torokhov wrote: >> Hi Sven, >> >> On Sat, Apr 07, 2012 at 08:38:33PM +0200, Sven Neumann wrote: >>> Hi, >>> >>> On 07.04.12 09:02, Dmitry Torokhov wrote: On Fri, Apr 06, 2012 at 10:40:07PM -0700, Olo

Re: [alsa-devel] [PATCH 1/2] MFD: twl6040: Fix revision information

2012-07-17 Thread Peter Ujfalusi
On 07/17/2012 08:39 AM, Rajeev kumar wrote: >> #define TWL6040_REV_ES1_00x00 >> -#define TWL6040_REV_ES1_10x01 >> -#define TWL6040_REV_ES1_20x02 >> +#define TWL6040_REV_ES1_10x01 /* Rev ES1.1 and ES1.2 */ >> +#define TWL6040_REV_ES1_30x02 >> >> #define TW

Re: [PATCH 2/3] mm: fix possible incorrect return value of migrate_pages() syscall

2012-07-17 Thread Michal Nazarewicz
On Mon, 16 Jul 2012 19:59:18 +0200, JoonSoo Kim wrote: 2012/7/17 Michal Nazarewicz : Joonsoo Kim writes: do_migrate_pages() can return the number of pages not migrated. Because migrate_pages() syscall return this value directly, migrate_pages() syscall may return the number of pages not migr

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Paolo Bonzini
Il 17/07/2012 14:48, Michael S. Tsirkin ha scritto: > On Tue, Jul 17, 2012 at 01:03:39PM +0100, Stefan Hajnoczi wrote: >> On Tue, Jul 17, 2012 at 12:54 PM, Michael S. Tsirkin wrote: Knowing the answer to that is important before anyone can say whether this approach is good or not. >

RE: [char-misc-next] mei: use module_pci_driver

2012-07-17 Thread Winkler, Tomas
> > On Tuesday 17 July 2012, Tomas Winkler wrote: > > > > Change-Id: I960feed4157ad1b178f68f4a0b3968e185ed0b36 > > The change log got mangled. Please make sure the text you have here > actually describes what the patch does and why. > Hmm, something went wrong with my scripts. Will look at that

PROBLEM: Can ping address, but traceroute gets ENETDOWN

2012-07-17 Thread Terry Phelps
I'm seeing, to me, totally illogical behavior with my IPv4 networking. Can someone please help me isolate the problem better? I have at least EIGHT servers with the same symptom. All are running Oracle "Unbreakable Enterprise Kernel 2". Oracle numbers this kernel 2.6.39.*, but it is "based on the

Re: linux-next: manual merge of the arm-soc tree with the i2c-embedded tree

2012-07-17 Thread Mark Brown
On Mon, Jul 16, 2012 at 12:31:08PM +0100, Lee Jones wrote: > I agree with what you say to some extent, but I believe that it is > more important to have a working solution now than to ensure that > each bindings are as unique as possible. After any suggestion of > consolidation, a move from vendor

Re: Deadlocks due to per-process plugging

2012-07-17 Thread Mike Galbraith
On Mon, 2012-07-16 at 12:19 +0200, Thomas Gleixner wrote: > > @@ -647,8 +648,11 @@ static inline void rt_spin_lock_fastlock > > > > if (likely(rt_mutex_cmpxchg(lock, NULL, current))) > > rt_mutex_deadlock_account_lock(lock, current); > > - else > > + else { > > + if

Re: linux-next: manual merge of the arm-soc tree with the i2c-embedded tree

2012-07-17 Thread Mark Brown
On Mon, Jul 16, 2012 at 02:35:50PM +0200, Wolfram Sang wrote: > I do know both sides. I easily agree that we have to find a balance > somewhere to meet both interests. Though, currently my impressions from > maintaining I2C are: > a) it is not balanced, but too far on the "let's deploy stuff" sid

Re: [PATCH] xfs: fix comment typo of struct xfs_da_blkinfo.

2012-07-17 Thread Jeff Liu
On 07/17/2012 05:33 PM, Chen Baozi wrote: > > On Jul 17, 2012, at 3:06 PM, Christoph Hellwig wrote: > >> On Tue, Jul 17, 2012 at 11:33:33AM +0800, Chen Baozi wrote: >>> I'd really love to. Right now, I am working on syslinux to support booting >>> on xfs partition (under pcacjr's mentoring)???

Re: [PATCH v2 11/11] MAINTAINERS: add fblog entry

2012-07-17 Thread David Herrmann
Hi Geert On Tue, Jul 17, 2012 at 2:57 PM, Geert Uytterhoeven wrote: > On Mon, Jul 9, 2012 at 8:38 PM, David Herrmann > wrote: diff --git a/MAINTAINERS b/MAINTAINERS index ae8fe46..249b02a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2854,6 +2854,12 @@ F: drivers/

Re: [PATCH 3/3] mm: fix return value in __alloc_contig_migrate_range()

2012-07-17 Thread Michal Nazarewicz
On Mon, 16 Jul 2012 20:40:56 +0200, JoonSoo Kim wrote: 2012/7/17 Michal Nazarewicz : Joonsoo Kim writes: migrate_pages() would return positive value in some failure case, so 'ret > 0 ? 0 : ret' may be wrong. This fix it and remove one dead statement. Signed-off-by: Joonsoo Kim Cc: Michal

Re: [PATCH] clk: fix compile for OF && !COMMON_CLK

2012-07-17 Thread Rajendra Nayak
Rob, Mike, On Tuesday 17 July 2012 07:38 AM, Rob Herring wrote: On 07/16/2012 07:12 PM, Mike Turquette wrote: On 20120716-16:46, Rob Herring wrote: From: Rob Herring With commit 766e6a4ec602d0c107 (clk: add DT clock binding support), compiling with OF&& !COMMON_CLK is broken. Hi Rob, Tha

Re: [PATCH 3/4 v2] mm: fix return value in __alloc_contig_migrate_range()

2012-07-17 Thread Michal Nazarewicz
On Tue, 17 Jul 2012 14:33:34 +0200, Joonsoo Kim wrote: migrate_pages() would return positive value in some failure case, so 'ret > 0 ? 0 : ret' may be wrong. This fix it and remove one dead statement. How about the following message: --- >8

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Michael S. Tsirkin
On Tue, Jul 17, 2012 at 03:02:45PM +0200, Paolo Bonzini wrote: > Il 17/07/2012 14:48, Michael S. Tsirkin ha scritto: > > On Tue, Jul 17, 2012 at 01:03:39PM +0100, Stefan Hajnoczi wrote: > >> On Tue, Jul 17, 2012 at 12:54 PM, Michael S. Tsirkin > >> wrote: > Knowing the answer to that is impo

Re: linux-next: manual merge of the arm-soc tree with the i2c-embedded tree

2012-07-17 Thread Lee Jones
On 17/07/12 14:06, Mark Brown wrote: On Mon, Jul 16, 2012 at 12:31:08PM +0100, Lee Jones wrote: I agree with what you say to some extent, but I believe that it is more important to have a working solution now than to ensure that each bindings are as unique as possible. After any suggestion of c

Re: PROBLEM: Can ping address, but traceroute gets ENETDOWN

2012-07-17 Thread Eric Dumazet
On Tue, 2012-07-17 at 09:04 -0400, Terry Phelps wrote: > I'm seeing, to me, totally illogical behavior with my IPv4 networking. > Can someone please help me isolate the problem better? > > I have at least EIGHT servers with the same symptom. All are running > Oracle "Unbreakable Enterprise Kernel

Re: [PATCH 1/1] Add Wondermedia Technologies (wmt) to docs/devicetree/vendor-bindings.txt

2012-07-17 Thread Alexey Charkov
2012/7/17 Arnd Bergmann : > It would also be helpful to describe why the specific string is used here. > Normally we use the stock ticker symbol and "wmt" refers to Wal-Mart, > which would be unlikely but not impossible to produce their own hardware > in the future. The same thing applies to "via",

Re: [PATCH] sd: do not set changed flag on all unit attention conditions

2012-07-17 Thread James Bottomley
On Tue, 2012-07-17 at 14:31 +0200, Paolo Bonzini wrote: > Il 17/07/2012 14:21, James Bottomley ha scritto: > >> Yes, I realize failing only on specific sense codes as I did it in the > >> patch is not going to work. However, the other way round is not > >> problematic (explicitly allow some sense

Re: [PATCH] clk: fix compile for OF && !COMMON_CLK

2012-07-17 Thread Rajendra Nayak
On Tuesday 17 July 2012 06:49 PM, Rajendra Nayak wrote: struct clk *clk_get(struct device *dev, const char *con_id) { const char *dev_id = dev ? dev_name(dev) : NULL; struct clk *clk; if (dev) { > Any reason why this isn't if (dev->of_node) { > Or r

Re: linux-next: manual merge of the arm-soc tree with the i2c-embedded tree

2012-07-17 Thread Mark Brown
On Tue, Jul 17, 2012 at 02:30:01PM +0100, Lee Jones wrote: > On 17/07/12 14:06, Mark Brown wrote: > >It's not just about having generic bindings, it's also about having > >bindings which have some abstraction and hope of reusability. An awful > >lot of bindings are just straight dumps of Linux dat

Re: PROBLEM: Can ping address, but traceroute gets ENETDOWN

2012-07-17 Thread Terry Phelps
On Tue, Jul 17, 2012 at 9:30 AM, Eric Dumazet wrote: > On Tue, 2012-07-17 at 09:04 -0400, Terry Phelps wrote: >> I'm seeing, to me, totally illogical behavior with my IPv4 networking. >> Can someone please help me isolate the problem better? >> >> I have at least EIGHT servers with the same sympto

Re: [patch] Rename CAP_EPOLLWAKEUP to CAL_BLOCK_SUSPEND

2012-07-17 Thread Serge E. Hallyn
Quoting Michael Kerrisk (mtk.manpa...@gmail.com): > Rafael, > > As discussed in > http://thread.gmane.org/gmane.linux.kernel/1249726/focus=1288990, > the capability introduced in 4d7e30d98939a0340022ccd49325a3d70f7e0238 > to govern EPOLLWAKEUP seems misnamed: this capability is about governing > t

Re: [PATCH] clk: fix compile for OF && !COMMON_CLK

2012-07-17 Thread Rob Herring
On 07/17/2012 08:19 AM, Rajendra Nayak wrote: > Rob, Mike, > > On Tuesday 17 July 2012 07:38 AM, Rob Herring wrote: >> On 07/16/2012 07:12 PM, Mike Turquette wrote: >>> On 20120716-16:46, Rob Herring wrote: From: Rob Herring With commit 766e6a4ec602d0c107 (clk: add DT clock binding

Re: [Ksummit-2012-discuss] Kernel Summit Invitations Status

2012-07-17 Thread Josh Boyer
On Wed, Jul 04, 2012 at 09:00:17AM +0400, James Bottomley wrote: > The Programme Committee has completed the first round, selecting about > 56 people for invitation to the kernel summit; the invitation emails > will be going out over the next few days. We should be holding the next > round selecti

[PATCH 1/9] KVM: x86: remvoe unnecessary mark_page_dirty

2012-07-17 Thread Xiao Guangrong
fix: [ 132.474633] 3.5.0-rc1+ #50 Not tainted [ 132.474634] --- [ 132.474635] include/linux/kvm_host.h:369 suspicious rcu_dereference_check() usage! [ 132.474636] [ 132.474636] other info that might help us debug this: [ 132.474636] [ 132.474638] [ 132.474638] r

[PATCH 2/9] KVM: x86: simplify read_emulated

2012-07-17 Thread Xiao Guangrong
No need split mmio read region into 8-bits pieces since we do it in emulator_read_write_onepage Signed-off-by: Xiao Guangrong --- arch/x86/kvm/emulate.c | 29 - 1 files changed, 12 insertions(+), 17 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/em

[PATCH 3/9] KVM: x86: introduce set_mmio_exit_info

2012-07-17 Thread Xiao Guangrong
Introduce set_mmio_exit_info to cleanup the common code Signed-off-by: Xiao Guangrong --- arch/x86/kvm/x86.c | 33 + 1 files changed, 17 insertions(+), 16 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 875b8d8..8171836 100644 --- a/arch

[PATCH 4/9] KVM: MMU: track the refcount when unmap the page

2012-07-17 Thread Xiao Guangrong
It will trigger a WARN_ON if the page has been freed but it is still used in mmu, it can help us to detect mm bug early Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c ind

[PATCH 5/9] KVM: MMU: fask check write-protect for direct mmu

2012-07-17 Thread Xiao Guangrong
If it have no indirect shadow pages we need not protect any gfn, this is always true for direct mmu without nested Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 28b12e2

Re: [PATCH] xfs: fix comment typo of struct xfs_da_blkinfo.

2012-07-17 Thread Chen Baozi
On Jul 17, 2012, at 9:11 PM, Jeff Liu wrote: > On 07/17/2012 05:33 PM, Chen Baozi wrote: > >> >> On Jul 17, 2012, at 3:06 PM, Christoph Hellwig wrote: >> >>> On Tue, Jul 17, 2012 at 11:33:33AM +0800, Chen Baozi wrote: I'd really love to. Right now, I am working on syslinux to support boot

[PATCH 6/9] KVM: using get_fault_pfn to get the fault pfn

2012-07-17 Thread Xiao Guangrong
Using get_fault_pfn to cleanup the code Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c |6 ++ include/linux/kvm_host.h |5 + virt/kvm/kvm_main.c | 13 - 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kv

Re: [PATCH] clk: fix compile for OF && !COMMON_CLK

2012-07-17 Thread Rajendra Nayak
On Tuesday 17 July 2012 07:16 PM, Rob Herring wrote: So how is this expected to work on platforms (like OMAP) which have > CONFIG_OF enabled but not CONFIG_COMMON_CLK? > As I mentioned in my other reply, this really belongs with Shawn's patch that changes the return value checking from NULL to

Re: [patch] Rename CAP_EPOLLWAKEUP to CAL_BLOCK_SUSPEND

2012-07-17 Thread Michael Kerrisk (man-pages)
On Tue, Jul 17, 2012 at 3:46 PM, Serge E. Hallyn wrote: > Quoting Michael Kerrisk (mtk.manpa...@gmail.com): >> Rafael, >> >> As discussed in >> http://thread.gmane.org/gmane.linux.kernel/1249726/focus=1288990, >> the capability introduced in 4d7e30d98939a0340022ccd49325a3d70f7e0238 >> to govern EP

[PATCH 7/9] KVM: mark do not extern bad_pfn

2012-07-17 Thread Xiao Guangrong
bad_pfn is not used out of kvm_main.c, so mark it static, also move it near hwpoison_pfn and fault_pfn Signed-off-by: Xiao Guangrong --- include/linux/kvm_host.h |1 - virt/kvm/kvm_main.c |6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/linux/kvm_hos

[PATCH 8/9] KVM: remove is_error_hpa

2012-07-17 Thread Xiao Guangrong
Remove them since they are not used anymore Signed-off-by: Xiao Guangrong --- include/linux/kvm_host.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index bafcc56..f1ef5fc 100644 --- a/include/linux/kvm_host.h +++

Re: [PATCH v5 3/4] kvm: Create kvm_clear_irq()

2012-07-17 Thread Alex Williamson
On Tue, 2012-07-17 at 13:14 +0300, Michael S. Tsirkin wrote: > On Mon, Jul 16, 2012 at 02:34:03PM -0600, Alex Williamson wrote: > > This is an alternative to kvm_set_irq(,,,0) which returns the previous > > assertion state of the interrupt and does nothing if it isn't changed. > > > > Signed-off-b

[PATCH 9/9] KVM: remove the unused parameter of gfn_to_pfn_memslot

2012-07-17 Thread Xiao Guangrong
The parameter, 'kvm', is not used in gfn_to_pfn_memslot, we can happily remove it Signed-off-by: Xiao Guangrong --- arch/powerpc/kvm/e500_tlb.c |2 +- arch/x86/kvm/mmu.c |2 +- include/linux/kvm_host.h|5 ++--- virt/kvm/iommu.c| 10 +- virt/kvm/kvm_

Re: [PATCH v3 2/3] cgroup: revise how we re-populate root directory

2012-07-17 Thread Aristeu Rozanski
Hi Tejun, On Tue, Jul 10, 2012 at 03:27:22PM -0400, Aristeu Rozanski wrote: > Hi Tejun, > On Mon, Jul 09, 2012 at 10:28:31AM -0700, Tejun Heo wrote: > > On Mon, Jul 09, 2012 at 10:22:20AM -0700, Tejun Heo wrote: > > > > Changing subsys_bits via remount is being deprecated. No need to > > > > worry

Re: [patch] Rename CAP_EPOLLWAKEUP to CAL_BLOCK_SUSPEND

2012-07-17 Thread Serge E. Hallyn
Quoting Michael Kerrisk (man-pages) (mtk.manpa...@gmail.com): > On Tue, Jul 17, 2012 at 3:46 PM, Serge E. Hallyn wrote: > > Quoting Michael Kerrisk (mtk.manpa...@gmail.com): > >> Rafael, > >> > >> As discussed in > >> http://thread.gmane.org/gmane.linux.kernel/1249726/focus=1288990, > >> the capab

Re: [PATCH v5 2/4] kvm: KVM_EOIFD, an eventfd for EOIs

2012-07-17 Thread Alex Williamson
On Tue, 2012-07-17 at 13:21 +0300, Michael S. Tsirkin wrote: > On Mon, Jul 16, 2012 at 02:33:55PM -0600, Alex Williamson wrote: > > + if (args->flags & KVM_EOIFD_FLAG_LEVEL_IRQFD) { > > + struct _irqfd *irqfd = _irqfd_fdget_lock(kvm, args->irqfd); > > + if (IS_ERR(irqfd)) { >

Re: linux-next: manual merge of the arm-soc tree with the i2c-embedded tree

2012-07-17 Thread Lee Jones
On 17/07/12 14:35, Mark Brown wrote: On Tue, Jul 17, 2012 at 02:30:01PM +0100, Lee Jones wrote: On 17/07/12 14:06, Mark Brown wrote: It's not just about having generic bindings, it's also about having bindings which have some abstraction and hope of reusability. An awful lot of bindings are j

Re: [PATCH 0/8] KVM: Optimize MMU notifier's THP page invalidation -v4

2012-07-17 Thread Takuya Yoshikawa
On Thu, 5 Jul 2012 10:08:07 -0300 Marcelo Tosatti wrote: > Neat. > > Andrea can you please ACK? > ping -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.

<    1   2   3   4   5   6   7   >