Re: [PATCH 7/9] ASoC: tegra: move to generic DMA DT binding

2013-07-23 Thread Lars-Peter Clausen
On 07/24/2013 06:10 AM, Richard Zhao wrote: - add tegra_dma_filter_data to specify dma info DMA DT binding needs the device that raise dma request and dma name to request a dma channel. tegra30_i2s is a special case. It should be ahub device and it also has dma name that cannot handled b

Re: [PATCH 12/21] x86, acpi: Try to find if SRAT is overrided earlier.

2013-07-23 Thread Tang Chen
On 07/24/2013 04:27 AM, Tejun Heo wrote: On Fri, Jul 19, 2013 at 03:59:25PM +0800, Tang Chen wrote: As we mentioned in previous patches, to prevent the kernel Prolly best to briefly describe what the overall goal is about. Sure. Here is the overall picture, and will add it to log. Linux can

Re: [PATCH 4/4] x86: properly handle kvm emulation of hyperv

2013-07-23 Thread Jason Wang
On 07/24/2013 12:48 PM, H. Peter Anvin wrote: > On 07/23/2013 09:37 PM, Jason Wang wrote: >> On 07/23/2013 10:48 PM, H. Peter Anvin wrote: >>> On 07/23/2013 06:55 AM, KY Srinivasan wrote: This strategy of hypervisor detection based on some detection order IMHO is not a robust detect

Re: [REVIEW][PATCH] vfs: Lock in place mounts from more privileged users

2013-07-23 Thread Eric W. Biederman
Serge does this patch break lxc? I think all should be well but I want to make certain there is not some hidden case where this fundamentaly breaks some functionality. Andy Lutomirski writes: > On Tue, Jul 23, 2013 at 11:30 AM, Eric W. Biederman > wrote: >> >> When creating a less privileged

Re: Linux 3.11-rc2 (acpi backlight)

2013-07-23 Thread James Hogan
On 24 July 2013 01:05, Rafael J. Wysocki wrote: > I'd like to collect some information on the systems having problems with those > two commits (to see if they are similar somehow). > > It seems that one common symptom is that brightness cannot be controlled > through function keys. Is that correc

Re: [PATCH] ARM: dts: Add USB host node for Exynos4

2013-07-23 Thread Jingoo Han
On Wednesday, July 24, 2013 3:29 PM, Dongjin Kim wrote: > > +Jingoo Han > > Sorry, its my bad. Typo problem. > > I found another patch same with mine, > https://patchwork.kernel.org/patch/2628451, submitted by Jingoo Han > and tested on Exynos4210. Mine is tested on Exynos4412. Both SoC have > s

Re: [microblaze-linux] [RESEND PATCH] microblaze: Fix clone syscall

2013-07-23 Thread Michal Simek
Hi Rich, On 07/24/2013 07:55 AM, Rich Felker wrote: > On Wed, Jul 24, 2013 at 07:34:07AM +0200, Michal Simek wrote: >> Microblaze was assign to CLONE_BACKWARDS type where >> parent tid was passed via 3rd argument. >> Microblaze glibc is using 4th argument for it. >> >> Create new CLONE_BACKWARDS3

Re: [PATCH v5 0/4] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-23 Thread Li Yang
On Wed, Jul 24, 2013 at 2:21 PM, wrote: > From: Hongbo Zhang > > Hi Vinod, Dan, Scott and Leo, please have a look at these V2 patches. Looks fine after the rounds of review. Acked-by: Li Yang PS: The original email was in html and rejected by lists thanks to the new gmail composer. Sorry if

Re: [v3.11-rc2] regression: brightness always on maximum.

2013-07-23 Thread Aaron Lu
On 07/23/2013 03:52 PM, Jörg Otte wrote: > The brightness of my laptop is always on maximum and can't be scaled > down. > Brightness control via function keys was always working on this > laptop, so this is a regression in v3.11-rc2. Please list /sys/class/backlight. If there is a intel_backlight

[PATCH v5 2/4] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-23 Thread hongbo.zhang
From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch add the device tree nodes for them. Signed-off-by: Hongbo Zhang --- .../devicetree/bindings/powerpc/fsl/dma.txt| 66 arch/powerpc/boot/dts/fsl/b4si-post.dtsi |4

linux-next: Tree for Jul 24

2013-07-23 Thread Stephen Rothwell
Hi all, Changes since 20130723: Removed trees: irqdomain-current, spi-current, gpio-current, spi, irqdomain, gpio (at maintainer's request) Renamed trees: spi-mb -> spi gpio-lw -> gpio The wireless-next tree gained a build failure for which I hav

Re: [PATCH v2] PCI: Reset PCIe devices to stop ongoing DMA

2013-07-23 Thread Takao Indoh
Sorry for letting this discussion slide, I was busy on other works:-( Anyway, the summary of previous discussion is: - My patch adds new initcall(fs_initcall) to reset all PCIe endpoints on boot. This expects PCI enumeration is done before IOMMU initialization as follows. (1) PCI enumeratio

Re: [PATCH] x86/mce: Pay no attention to 'F' bit in MCACOD when parsing 'UC' errors.

2013-07-23 Thread Chen Gong
On Tue, Jul 23, 2013 at 01:34:42PM -0700, Luck, Tony wrote: > Date: Tue, 23 Jul 2013 13:34:42 -0700 > From: "Luck, Tony" > To: linux-kernel@vger.kernel.org > Cc: Borislav Petkov , Chen Gong , > "Naveen N. Rao" > Subject: [PATCH] x86/mce: Pay no attention to 'F' bit in MCACOD when > parsing 'UC'

Re: [PATCH 05/13] tile: support PTP using the tilegx mPIPE (IEEE 1588)

2013-07-23 Thread Richard Cochran
On Tue, Jul 23, 2013 at 04:05:48PM -0400, Chris Metcalf wrote: > diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig > index 5be73ba..255ed1a 100644 > --- a/drivers/ptp/Kconfig > +++ b/drivers/ptp/Kconfig > @@ -87,4 +87,14 @@ config PTP_1588_CLOCK_PCH > To compile this driver as a modul

Re: [PATCH] ARM: dts: Add USB host node for Exynos4

2013-07-23 Thread Dongjin Kim
+Jingoo Han Sorry, its my bad. Typo problem. I found another patch same with mine, https://patchwork.kernel.org/patch/2628451, submitted by Jingoo Han and tested on Exynos4210. Mine is tested on Exynos4412. Both SoC have same USB host address space, so I think USB host device nodes can be placed

targetcli -fb now also Apache 2.0 licensed

2013-07-23 Thread Andy Grover
Hi Nick, I just wanted to let you know that I finally received permission from all contributors, and have matched RisingTide's relicensing of targetcli and its dependencies to Apache 2.0, by relicensing the additional contributions in the targetcli-fb branch under the same license. I'm not q

Re: [PATCH 7/8] memory-hotplug: enable memory hotplug to handle hugepage

2013-07-23 Thread Naoya Horiguchi
On Wed, Jul 24, 2013 at 02:10:07PM +0800, Wanpeng Li wrote: ... > >diff --git v3.11-rc1.orig/mm/page_isolation.c v3.11-rc1/mm/page_isolation.c > >index 383bdbb..cf48ef6 100644 > >--- v3.11-rc1.orig/mm/page_isolation.c > >+++ v3.11-rc1/mm/page_isolation.c > >@@ -6,6 +6,7 @@ > > #include > > #includ

Re: [PATCH 05/13] tile: support PTP using the tilegx mPIPE (IEEE 1588)

2013-07-23 Thread Richard Cochran
Chris, This mail is a duplicate to you. I left off the CCs by mistake. On Tue, Jul 23, 2013 at 04:05:48PM -0400, Chris Metcalf wrote: > diff --git a/arch/tile/include/gxio/mpipe.h b/arch/tile/include/gxio/mpipe.h > index b74f470..57f5ca2 100644 > --- a/arch/tile/include/gxio/mpipe.h > +++ b/arch

Re: [PATCH] x86/mce: Pay no attention to 'F' bit in MCACOD when parsing 'UC' errors.

2013-07-23 Thread Chen Gong
On Tue, Jul 23, 2013 at 03:51:14PM -0700, Tony Luck wrote: > Date: Tue, 23 Jul 2013 15:51:14 -0700 > From: Tony Luck > To: Linux Kernel Mailing List > Cc: Borislav Petkov , Chen Gong , > "Naveen N. Rao" > Subject: Re: [PATCH] x86/mce: Pay no attention to 'F' bit in MCACOD when > parsing 'UC' e

RE: [PATCH v3 1/3] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-07-23 Thread Zheng, Lv
Hi, Sorry for the delayed response. > From: Ben Guthro [mailto:benjamin.gut...@citrix.com] > Sent: Tuesday, July 02, 2013 7:43 PM > > > On 07/02/2013 02:19 AM, Zheng, Lv wrote: > > Thanks for your efforts! > > > > I wonder if it is possible to remove the argument - "u8 extended" and > > conver

Re: [PATCH] x86, apic: Enable x2APIC physical when cpu < 256 native

2013-07-23 Thread Gleb Natapov
On Tue, Jul 23, 2013 at 09:24:45PM -0700, Yinghai Lu wrote: > On Thu, Jul 11, 2013 at 6:22 PM, Youquan Song wrote: > > x2APIC extends APICID from 8 bits to 32 bits, but the device interrupt > > routed > > from IOAPIC or delivered in MSI mode will keep 8 bits destination APICID. > > In order to su

Re: [PATCH v4 02/15] DMA: shdma: add r8a7740 DMAC data to the device ID table

2013-07-23 Thread Magnus Damm
Hi Guennadi, On Wed, Jul 24, 2013 at 6:19 AM, Guennadi Liakhovetski wrote: > On Wed, 24 Jul 2013, Magnus Damm wrote: > >> Hi Guennadi, >> >> Thanks for your efforts on this. >> >> On Tue, Jul 23, 2013 at 7:49 PM, Guennadi Liakhovetski >> wrote: >> > This configuration data will be re-used, when

[PATCH v5 4/4] DMA: Freescale: eliminate a compiling warning

2013-07-23 Thread hongbo.zhang
From: Hongbo Zhang The variable cookie is initialized in a list_for_each_entry loop, if(unlikely) the list is empty, this variable will be used uninitialized, so we get a gcc compiling warning about this. This patch fixes this defect by setting an initial value to the varialble cookie. Signed-of

[PATCH v5 3/4] DMA: Freescale: update driver to support 8-channel DMA engine

2013-07-23 Thread hongbo.zhang
From: Hongbo Zhang This patch adds support to 8-channel DMA engine, thus the driver works for both the new 8-channel and the legacy 4-channel DMA engines. Signed-off-by: Hongbo Zhang --- drivers/dma/Kconfig |9 + drivers/dma/fsldma.c |9 ++--- drivers/dma/fsldma.h |2 +

[PATCH v5 1/4] DMA: Freescale: revise device tree binding document

2013-07-23 Thread hongbo.zhang
From: Hongbo Zhang This patch updates the discription of each type of DMA controller and its channels, it is preparation for adding another new DMA controller binding, it also fixes some defects of indent for text alignment at the same time. Signed-off-by: Hongbo Zhang --- .../devicetree/bindi

[PATCH v5 0/4] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-23 Thread hongbo.zhang
From: Hongbo Zhang Hi Vinod, Dan, Scott and Leo, please have a look at these V2 patches. Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch set adds support this DMA engine. V4->V5 changes: - update description in the dt binding document, to make it more resonable - add n

Re: [alsa-devel] [PATCH] ALSA: SoC: Added jack detection kcontrol support

2013-07-23 Thread David Henningsson
On 07/24/2013 02:13 AM, Mark Brown wrote: On Tue, Jul 23, 2013 at 05:10:29PM -0700, Felipe Tonello wrote: On Tue, Jul 23, 2013 at 5:40 AM, Mark Brown wrote: This was the existing kernel API at the time that the code was added - I beleive people had been doing that for simple switches that de

Re: [PATCH] ARM: dts: Add USBPHY nodes to Exynos4x12

2013-07-23 Thread Sachin Kamat
On 24 July 2013 11:29, Dongjin Kim wrote: > Thanks Sachin, > > On Wed, Jul 24, 2013 at 2:12 PM, Sachin Kamat wrote: >> Hi Dongjin, >> >> On 23 July 2013 23:01, Dongjin Kim wrote: >>> This patch adds device nodes for USBPHY to Exynos4x12. >>> >>> Signed-off-by: Dongjin Kim >>> --- >>> arch/arm/

Re: [PATCH 1/3 v6] cpufreq: Add debugfs directory for cpufreq

2013-07-23 Thread Viresh Kumar
On Wed, Jul 24, 2013 at 11:44 AM, Chanwoo Choi wrote: > I considered the parameter type of cpufreq_create_debugfs_symlink() and then > I need following function declaration because this function didn't always > need to > create symbolic link to policy->cpu. This function declaration is capable of

Re: [PATCH 1/3 v6] cpufreq: Add debugfs directory for cpufreq

2013-07-23 Thread Chanwoo Choi
Hi Viresh, >>> + if (!policy->cpu_debugfs[idx]) { >>> + pr_err("creating debugfs directory failed\n"); >>> + return -ENODEV; >>> + } >>> + >>> + return 0; >>> +} >>> + >>> +static int cpufreq_create_debugfs_symlink(struct cpufreq_policy *policy, >>> +

[PATCH resend] shdma: fixup sh_dmae_get_partial() calculation error

2013-07-23 Thread Kuninori Morimoto
sh_desc->hw.tcr is controlling real data size, and, register TCR is controlling data transfer count which was xmit_shifted value of hw.tcr. Current sh_dmae_get_partial() is calculating in different unit. This patch fixes it. Signed-off-by: Kuninori Morimoto --- >> Guennadi Could you please check

[PATCH] Change request_irq() to use struct net_device *dev->name

2013-07-23 Thread Prashant Shah
Signed-off-by: Prashant Shah --- drivers/net/ethernet/8390/wd.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/8390/wd.c b/drivers/net/ethernet/8390/wd.c index 03eb3ee..b43a63f 100644 --- a/drivers/net/ethernet/8390/wd.c +++ b/drivers/net/ethernet/8390

Re: [PATCH 21/48] staging/lustre/obdclass: use a dummy structure for lu_ref_link

2013-07-23 Thread Peng Tao
On Wed, Jul 24, 2013 at 4:35 AM, Greg Kroah-Hartman wrote: > On Tue, Jul 23, 2013 at 12:06:42AM +0800, Peng Tao wrote: >> From: "John L. Hammond" >> >> Move the definition of struct lu_ref_link to lu_ref.h. If USE_LU_REF >> is not defined then define it to be the empty struct. Change the >> ret

Re: [microblaze-linux] [RESEND PATCH] microblaze: Fix clone syscall

2013-07-23 Thread Rich Felker
On Wed, Jul 24, 2013 at 07:34:07AM +0200, Michal Simek wrote: > Microblaze was assign to CLONE_BACKWARDS type where > parent tid was passed via 3rd argument. > Microblaze glibc is using 4th argument for it. > > Create new CLONE_BACKWARDS3 type where stack_size is passed > via 3rd argument, parent

Re: [PATCH 02/48] staging/lustre/obdclass: restore lu_ref

2013-07-23 Thread Peng Tao
On Wed, Jul 24, 2013 at 4:52 AM, Greg Kroah-Hartman wrote: > On Tue, Jul 23, 2013 at 08:31:15PM +, Dilger, Andreas wrote: >> On 2013/07/23 1:37 PM, "Greg Kroah-Hartman" >> wrote: >> >> >On Tue, Jul 23, 2013 at 12:06:23AM +0800, Peng Tao wrote: >> >> lu_ref.[ch] were mistakenly removed by coan

Re: [PATCH 00/48] staging/lustre: minor cleanup and Intel Lustre sync

2013-07-23 Thread Peng Tao
On Wed, Jul 24, 2013 at 4:51 AM, Greg Kroah-Hartman wrote: > On Tue, Jul 23, 2013 at 12:06:21AM +0800, Peng Tao wrote: >> Hi Greg, >> >> The first two of the patchset are minor cleanup of lustre code. And the >> rest of it are patches ported from Intel Lustre tree. Please help to >> queue them. >

Re: [PATCH] video: xilinxfb: Fix compilation warning

2013-07-23 Thread Jingoo Han
On Wednesday, July 24, 2013 2:32 PM, Michal Simek wrote: > > regs_phys is phys_addr_t (u32 or u64). > Lets retype it to u64. > > Fixes compilation warning introduced by: > video: xilinxfb: Use drvdata->regs_phys instead of physaddr > (sha1: c88fafef0135e1e1c3e23c3e32ccbeeabc587f81) CC'ed Stepan

Re: [PATCH] ARM: dts: Add USBPHY nodes to Exynos4x12

2013-07-23 Thread Dongjin Kim
Thanks Sachin, On Wed, Jul 24, 2013 at 2:12 PM, Sachin Kamat wrote: > Hi Dongjin, > > On 23 July 2013 23:01, Dongjin Kim wrote: >> This patch adds device nodes for USBPHY to Exynos4x12. >> >> Signed-off-by: Dongjin Kim >> --- >> arch/arm/boot/dts/exynos4x12.dtsi | 18 ++ >> 1

linux-next: manual merge of the akpm-current tree with the staging tree

2013-07-23 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in drivers/staging/lustre/lustre/ldlm/ldlm_pool.c between commit 91a50030f05e ("staging/lustre/ldlm: split client namespaces into active and inactive") from the staging tree and commit 48a91248649f ("staging/lustre/ldlm: c

Re: [PATCH net-next] tuntap: hardware vlan tx support

2013-07-23 Thread Jason Wang
On 07/23/2013 11:53 PM, Stephen Hemminger wrote: > On Tue, 23 Jul 2013 15:15:48 +0800 > Jason Wang wrote: > >> +struct { >> +__be16 h_vlan_proto; >> +__be16 h_vlan_TCI; >> +} veth; > Don't you want to use struct vlan_hdr here? There

[RESEND PATCH] microblaze: Fix clone syscall

2013-07-23 Thread Michal Simek
Microblaze was assign to CLONE_BACKWARDS type where parent tid was passed via 3rd argument. Microblaze glibc is using 4th argument for it. Create new CLONE_BACKWARDS3 type where stack_size is passed via 3rd argument, parent thread id pointer via 4th, child thread id pointer via 5th and tls value a

Re: [PATCH] drivers: mfd: mfd-core: disable irq_domain related code when 'HAVE_GENERIC_HARDIRQS' disabled.

2013-07-23 Thread Chen Gang
On 07/24/2013 01:02 PM, Heiko Carstens wrote: > On Wed, Jul 24, 2013 at 11:33:04AM +0800, Chen Gang wrote: >> > 'irq_domain' depends on hard irqs, so for the architectures which have >> > no hard irqs, but still need mfd (e.g. s390), need disable the related >> > code, or can not pass compiling. >>

[PATCH] video: xilinxfb: Fix compilation warning

2013-07-23 Thread Michal Simek
regs_phys is phys_addr_t (u32 or u64). Lets retype it to u64. Fixes compilation warning introduced by: video: xilinxfb: Use drvdata->regs_phys instead of physaddr (sha1: c88fafef0135e1e1c3e23c3e32ccbeeabc587f81) Signed-off-by: Michal Simek --- ppc44x_defconfig Fixes regressions in v3.11-rc2 ---

Re: [ 07/11] MAINTAINERS: add stable_kernel_rules.txt to stable maintainer information

2013-07-23 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 06:09:29AM +0100, Ben Hutchings wrote: > On Thu, 2013-07-11 at 15:11 -0700, Greg Kroah-Hartman wrote: > > 3.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Greg Kroah-Hartman > > > > commit 7b175c46720f8e

Re: [PATCH] ARM: dts: Add USBPHY nodes to Exynos4x12

2013-07-23 Thread Sachin Kamat
Hi Dongjin, On 23 July 2013 23:01, Dongjin Kim wrote: > This patch adds device nodes for USBPHY to Exynos4x12. > > Signed-off-by: Dongjin Kim > --- > arch/arm/boot/dts/exynos4x12.dtsi | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos4x12.dts

Re: Linux 3.11-rc2

2013-07-23 Thread Kalle Valo
"Rafael J. Wysocki" writes: > Well, please try to revert commits efaa14c and 8c5bd7a (in this order) and see > if that helps. On 3.11-rc2-wl (from wireless-testing.git) my Thinkpad X230 display went really dark every time during resume and I had to blindly write to sysfs to be able to see anythi

Re: [ 07/11] MAINTAINERS: add stable_kernel_rules.txt to stable maintainer information

2013-07-23 Thread Ben Hutchings
On Thu, 2013-07-11 at 15:11 -0700, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Greg Kroah-Hartman > > commit 7b175c46720f8e6b92801bb634c93d1016f80c62 upstream. > > This hopefully will help point develo

Re: [PATCH 1/3 v6] cpufreq: Add debugfs directory for cpufreq

2013-07-23 Thread Viresh Kumar
On 24 July 2013 06:55, Chanwoo Choi wrote: > On 07/22/2013 07:11 PM, Viresh Kumar wrote: >> On 18 July 2013 16:47, Chanwoo Choi wrote: >>> +static void cpufreq_remove_debugfs_dir(struct cpufreq_policy *policy, >>> + unsigned int cpu) >>> +{ >>> + unsign

Re: [PATCH] drivers: mfd: mfd-core: disable irq_domain related code when 'HAVE_GENERIC_HARDIRQS' disabled.

2013-07-23 Thread Heiko Carstens
On Wed, Jul 24, 2013 at 11:33:04AM +0800, Chen Gang wrote: > 'irq_domain' depends on hard irqs, so for the architectures which have > no hard irqs, but still need mfd (e.g. s390), need disable the related > code, or can not pass compiling. > > The related commit: > > "c94bb23 mfd: Make MFD core

Re: Linux 3.11-rc2 (acpi backlight)

2013-07-23 Thread Steven Newbury
On Wed, 2013-07-24 at 02:05 +0200, Rafael J. Wysocki wrote: > On Tuesday, July 23, 2013 11:46:29 AM Kamal Mostafa wrote: > > On Mon, 2013-07-22 at 21:54 +0200, Rafael J. Wysocki wrote: > > > On Monday, July 22, 2013 11:11:54 AM Linus Torvalds wrote: > > > > On Mon, Jul 22, 2013 at 6:02 AM, Rafael J

Re: [PATCH 1/4] x86: introduce hypervisor_cpuid_base()

2013-07-23 Thread H. Peter Anvin
On 07/23/2013 09:44 PM, Jason Wang wrote: > > Since it's just a minor optimization. How about just keep using the > strcmp()? > It's more that it enables the rest of the cleanup, making the code easier to read. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [PATCH 4/4] x86: properly handle kvm emulation of hyperv

2013-07-23 Thread H. Peter Anvin
On 07/23/2013 09:37 PM, Jason Wang wrote: > On 07/23/2013 10:48 PM, H. Peter Anvin wrote: >> On 07/23/2013 06:55 AM, KY Srinivasan wrote: >>> This strategy of hypervisor detection based on some detection order IMHO is >>> not >>> a robust detection strategy. The current scheme works since the only

Re: Re: [PATCH] ceph: Don't use ceph-sync-mode for synchronous-fs.

2013-07-23 Thread majianpeng
>Hi, > >Sorry for the slow review. The patch looks good, but I have a hard time >understanding your changelog... is it okay if I change it to something >like: > > >Sending reads and writes through the sync read/write paths bypasses the >page cache, which is not expected or generally a good idea

Re: [PATCH 1/4] x86: introduce hypervisor_cpuid_base()

2013-07-23 Thread Jason Wang
On 07/24/2013 12:03 AM, H. Peter Anvin wrote: > On 07/23/2013 04:16 AM, Paolo Bonzini wrote: >> That's nicer, though strcmp is what the replaced code used to do in >> patches 2 and 3. >> >> Note that memcmp requires the caller to use "KVMKVMKVM\0\0" as the >> signature (or alternatively hypervisor_

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

2013-07-23 Thread Stephen Rothwell
pointer from integer without a cast [enabled by default] ldata = vmalloc(sizeof(*ldata)); ^ Caused by commit 20bafb3d23d1 ("n_tty: Move buffers into n_tty_data"). Forgot to include linux/vmalloc.h? I have used the tty tree from next-20130723 for today. -- Cheers, Stephen

Re: [PATCH net-next] tuntap: hardware vlan tx support

2013-07-23 Thread Jason Wang
On 07/23/2013 11:17 PM, Stephen Hemminger wrote: > On Tue, 23 Jul 2013 15:15:48 +0800 > Jason Wang wrote: > >> Inspired by commit f09e2249c4f5c7c13261ec73f5a7807076af0c8e (macvtap: restore >> vlan header on user read). This patch adds hardware vlan tx support for >> tuntap. This is done by copying

Re: [PATCH 4/4] x86: properly handle kvm emulation of hyperv

2013-07-23 Thread Jason Wang
On 07/23/2013 10:48 PM, H. Peter Anvin wrote: > On 07/23/2013 06:55 AM, KY Srinivasan wrote: >> This strategy of hypervisor detection based on some detection order IMHO is >> not >> a robust detection strategy. The current scheme works since the only >> hypervisor emulated >> (by other hypervisor

Re: [PATCH 1/4] x86: introduce hypervisor_cpuid_base()

2013-07-23 Thread Jason Wang
On 07/23/2013 09:48 PM, Gleb Natapov wrote: > On Tue, Jul 23, 2013 at 05:41:02PM +0800, Jason Wang wrote: >> > This patch introduce hypervisor_cpuid_base() which loop test the hypervisor >> > existence function until the signature match and check the number of >> > leaves if >> > required. This co

Re: request for stable inclusion

2013-07-23 Thread Ben Hutchings
On Fri, 2013-06-28 at 17:04 +0800, Yijing Wang wrote: > Hi Greg, Jiri or Liang Li > > 384e301e3519599b000c1a2ecd938b533fc15d85 > pch_uart: fix a deadlock when pch_uart as console > > This looks applicable to stable-3.4, and it > was built successful for me. What do you think? I've queued this up

Re: [RFC PATCH v2] sched: Limit idle_balance()

2013-07-23 Thread Jason Low
On Tue, 2013-07-23 at 16:36 +0530, Srikar Dronamraju wrote: > > > > A potential issue I have found with avg_idle is that it may sometimes be > > not quite as accurate for the purposes of this patch, because it is > > always given a max value (default is 100 ns). For example, a CPU > > could ha

Re: [PATCH] x86, apic: Enable x2APIC physical when cpu < 256 native

2013-07-23 Thread Yinghai Lu
On Thu, Jul 11, 2013 at 6:22 PM, Youquan Song wrote: > x2APIC extends APICID from 8 bits to 32 bits, but the device interrupt routed > from IOAPIC or delivered in MSI mode will keep 8 bits destination APICID. > In order to support x2APIC, the VT-d interrupt remapping is introduced to > translate t

Re: [PATCH v2] mm/hotplug, x86: Disable ARCH_MEMORY_PROBE by default

2013-07-23 Thread Ingo Molnar
* Toshi Kani wrote: > On Tue, 2013-07-23 at 10:01 +0200, Ingo Molnar wrote: > > * Toshi Kani wrote: > > > > > > Could we please also fix it to never crash the kernel, even if stupid > > > > ranges are provided? > > > > > > Yes, this probe interface can be enhanced to verify the firmware > >

RE: [PATCH 04/18] MAINTAINERS: ARM: S3C2410: Update patterns

2013-07-23 Thread Kukjin Kim
Joe Perches wrote: > > commit 85fd6d63bf2 ("ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/") > moved the files, update the patterns. > > Signed-off-by: Joe Perches > cc: Kukjin Kim Acked-by: Kukjin Kim Thanks, Kukjin > --- > MAINTAINERS | 6 +++--- > 1 file changed, 3 insertions(+),

[PATCH 3/9] spi: tegra114: move to generic dma DT binding

2013-07-23 Thread Richard Zhao
- driver: remove use of nvidia,dma-request-selector use dma_request_slave_channel to request channel - if dmas/dma-names are missing, it still supports cpu based transfer - update binding doc and specify dmas/dma-names properties as optional Signed-off-by: Richard Zhao --- .../devicetr

[PATCH 1/9] ARM: dts: add generic DMA DT binding for tegra apbdma

2013-07-23 Thread Richard Zhao
All Tegra device drivers will soon move to generic DMA device tree bindings. Add the required properties to the Tegra DT files to support that. The legacy property nvidia,dma-request-selector will be removed after all drivers have been converted, in order to maintain bisectability. Changes: - Add

[PATCH 5/9] spi: tegra20-sflash: move to generic dma DT binding

2013-07-23 Thread Richard Zhao
update binding doc. Signed-off-by: Richard Zhao --- .../devicetree/bindings/spi/nvidia,tegra20-sflash.txt | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt b/Documentation/devicetree/bindings/s

[PATCH 4/9] spi: tegra20-slink: move to generic dma DT binding

2013-07-23 Thread Richard Zhao
- driver: remove use of nvidia,dma-request-selector use dma_request_slave_channel to request channel - if dmas/dma-names are missing, it still supports cpu based transfer - update binding doc and specify dmas/dma-names properties as optional Signed-off-by: Richard Zhao --- .../devicetr

[PATCH 2/9] dma: tegra20-apbdma: move to generic device tree bindings

2013-07-23 Thread Richard Zhao
Update tegra20-apbdma driver to adopt generic DMA device tree bindings. It calls of_dma_controller_register() with of_dma_simple_xlate to get the generic DMA device tree helper support. The #dma-cells for apbdma must be 1, which is slave ID. The existing nvidia,dma-request-selector still works the

[PATCH 6/9] serial: tegra: move to generic dma DT binding

2013-07-23 Thread Richard Zhao
- driver: remove use of nvidia,dma-request-selector use dma_request_slave_channel to request channel - update binding doc Signed-off-by: Richard Zhao --- .../devicetree/bindings/serial/nvidia,tegra20-hsuart.txt | 8 +--- drivers/tty/serial/serial-tegra.c| 1

[PATCH 7/9] ASoC: tegra: move to generic DMA DT binding

2013-07-23 Thread Richard Zhao
- add tegra_dma_filter_data to specify dma info DMA DT binding needs the device that raise dma request and dma name to request a dma channel. tegra30_i2s is a special case. It should be ahub device and it also has dma name that cannot handled by ASoC dmaengine code. So we pass the info usin

[PATCH 8/9] ARM: dts: tegra: remove legacy nvidia,dma-request-selector properties

2013-07-23 Thread Richard Zhao
All tegra dma client drivers have moved to generic dma binding. Signed-off-by: Richard Zhao --- arch/arm/boot/dts/tegra114.dtsi | 14 -- arch/arm/boot/dts/tegra20.dtsi | 13 - arch/arm/boot/dts/tegra30.dtsi | 12 3 files changed, 39 deletions(-) diff --git

[PATCH 9/9] dma: tegra20-apbdma: remove legacy nvidia,dma-request-selector support

2013-07-23 Thread Richard Zhao
All tegra dma client drivers have moved to generic dma binding. Signed-off-by: Richard Zhao --- drivers/dma/tegra20-apb-dma.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c index 0e12f78..a67d159 100644 --- a/drivers/dma/t

[PATCH 0/9] ARM: tegra: move to generic DMA DT binding

2013-07-23 Thread Richard Zhao
The patch series aim to move apbdma to generic DT binding. Changes: - It add dmas/dma-names properties while leave nvidia,dma-request-selector to be compatible. - update apbdma driver and dma client drivers - ASoC tegra adds a new struct to pass device and dma-name. - at last, remove legacy nvid

[tip:perf/core] sched: Implement smarter wake-affine logic

2013-07-23 Thread tip-bot for Michael Wang
Commit-ID: 62470419e993f8d9d93db0effd3af4296ecb79a5 Gitweb: http://git.kernel.org/tip/62470419e993f8d9d93db0effd3af4296ecb79a5 Author: Michael Wang AuthorDate: Thu, 4 Jul 2013 12:55:51 +0800 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 12:18:41 +0200 sched: Implement smarter wak

[PATCH] ARM: shmobile: r8a7740: add PMU information to r8a7740.dtsi

2013-07-23 Thread Magnus Damm
From: Magnus Damm Add PMU information to r8a7740.dtsi. With this included Armadillo800eva DT reference may use the PMU. Signed-off-by: Magnus Damm --- Dry coded based on data sheet, not runtime tested. arch/arm/boot/dts/r8a7740.dtsi |5 + 1 file changed, 5 insertions(+) --- 0001/ar

[tip:perf/core] perf: Fix broken union in ' struct perf_event_mmap_page'

2013-07-23 Thread tip-bot for Adrian Hunter
Commit-ID: 860f085b74e9f0075de8140ed3a1e5b5e3e39aa8 Gitweb: http://git.kernel.org/tip/860f085b74e9f0075de8140ed3a1e5b5e3e39aa8 Author: Adrian Hunter AuthorDate: Fri, 28 Jun 2013 16:22:17 +0300 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 12:17:10 +0200 perf: Fix broken union in

[tip:x86/apic] x86/acpi: Fix incorrect sanity check in acpi_register_lapic()

2013-07-23 Thread tip-bot for Tang Chen
Commit-ID: 82982d729319e975115d88cae4927dffb02bfea7 Gitweb: http://git.kernel.org/tip/82982d729319e975115d88cae4927dffb02bfea7 Author: Tang Chen AuthorDate: Tue, 23 Jul 2013 16:00:19 +0800 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 10:08:16 +0200 x86/acpi: Fix incorrect sanity

[tip:perf/core] perf: Update perf_event_type documentation

2013-07-23 Thread tip-bot for Peter Zijlstra
Commit-ID: a5cdd40c9877e9aba704c020fd65d26b5cfecf18 Gitweb: http://git.kernel.org/tip/a5cdd40c9877e9aba704c020fd65d26b5cfecf18 Author: Peter Zijlstra AuthorDate: Tue, 16 Jul 2013 17:09:07 +0200 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 12:17:08 +0200 perf: Update perf_event_t

[tip:x86/urgent] x86/iommu/vt-d: Expand interrupt remapping quirk to cover x58 chipset

2013-07-23 Thread tip-bot for Neil Horman
Commit-ID: 803075dba31c17af110e1d9a915fe7262165b213 Gitweb: http://git.kernel.org/tip/803075dba31c17af110e1d9a915fe7262165b213 Author: Neil Horman AuthorDate: Wed, 17 Jul 2013 07:13:59 -0400 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 11:29:30 +0200 x86/iommu/vt-d: Expand inter

[tip:perf/core] sched: Micro-optimize the smart wake-affine logic

2013-07-23 Thread tip-bot for Peter Zijlstra
Commit-ID: 7d9ffa8961482232d964173cccba6e14d2d543b2 Gitweb: http://git.kernel.org/tip/7d9ffa8961482232d964173cccba6e14d2d543b2 Author: Peter Zijlstra AuthorDate: Thu, 4 Jul 2013 12:56:46 +0800 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 12:22:06 +0200 sched: Micro-optimize the

[tip:perf/core] perf tools: Add test for converting perf time to/ from TSC

2013-07-23 Thread tip-bot for Adrian Hunter
Commit-ID: 3bd5a5fc8c6b9fe769777abf74b0ab5fbd7930b4 Gitweb: http://git.kernel.org/tip/3bd5a5fc8c6b9fe769777abf74b0ab5fbd7930b4 Author: Adrian Hunter AuthorDate: Fri, 28 Jun 2013 16:22:19 +0300 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 12:17:59 +0200 perf tools: Add test for c

[tip:perf/core] perf/x86: Add ability to calculate TSC from perf sample timestamps

2013-07-23 Thread tip-bot for Adrian Hunter
Commit-ID: c73deb6aecda2955716f31572516f09d930ef450 Gitweb: http://git.kernel.org/tip/c73deb6aecda2955716f31572516f09d930ef450 Author: Adrian Hunter AuthorDate: Fri, 28 Jun 2013 16:22:18 +0300 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 12:17:45 +0200 perf/x86: Add ability to c

[tip:perf/core] sched: Move h_load calculation to task_h_load()

2013-07-23 Thread tip-bot for Vladimir Davydov
Commit-ID: 685207963be973fbb73550db6edaf920a283e1a7 Gitweb: http://git.kernel.org/tip/685207963be973fbb73550db6edaf920a283e1a7 Author: Vladimir Davydov AuthorDate: Mon, 15 Jul 2013 17:49:19 +0400 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 12:18:41 +0200 sched: Move h_load calc

[tip:core/locking] mutex: Do not unnecessarily deal with waiters

2013-07-23 Thread tip-bot for Davidlohr Bueso
Commit-ID: ec83f425dbca47e19c6737e8e7db0d0924a5de1b Gitweb: http://git.kernel.org/tip/ec83f425dbca47e19c6737e8e7db0d0924a5de1b Author: Davidlohr Bueso AuthorDate: Fri, 28 Jun 2013 13:13:18 -0700 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 11:48:37 +0200 mutex: Do not unnecessar

[tip:perf/core] kprobes/x86: Call out into INT3 handler directly instead of using notifier

2013-07-23 Thread tip-bot for Jiri Kosina
Commit-ID: 17f41571bb2c4a398785452ac2718a6c5d77180e Gitweb: http://git.kernel.org/tip/17f41571bb2c4a398785452ac2718a6c5d77180e Author: Jiri Kosina AuthorDate: Tue, 23 Jul 2013 10:09:28 +0200 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 10:12:57 +0200 kprobes/x86: Call out into I

[tip:x86/asm] x86/ia32/asm: Remove unused argument in macro

2013-07-23 Thread tip-bot for Ramkumar Ramachandra
Commit-ID: d2475b8ff81ebeed88d8fcbc22876aced5a0807a Gitweb: http://git.kernel.org/tip/d2475b8ff81ebeed88d8fcbc22876aced5a0807a Author: Ramkumar Ramachandra AuthorDate: Wed, 10 Jul 2013 23:34:28 +0530 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 11:23:21 +0200 x86/ia32/asm: Remov

[tip:x86/apic] x86/apic: Enable x2APIC physical mode on native hardware too, when there are fewer than 256 CPUs

2013-07-23 Thread tip-bot for Youquan Song
Commit-ID: 3d1acb49d22fbbae96524040e9e2d4cbbb3adbef Gitweb: http://git.kernel.org/tip/3d1acb49d22fbbae96524040e9e2d4cbbb3adbef Author: Youquan Song AuthorDate: Thu, 11 Jul 2013 21:22:39 -0400 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 11:15:42 +0200 x86/apic: Enable x2APIC phy

[PATCH] ARM: shmobile: r8a73a4: Remove ->init_machine() special case

2013-07-23 Thread Magnus Damm
From: Magnus Damm No need to special case r8a73a4 ->init_machine(), so get rid of undesired cpufreq platform device from the generic long term r8a73a4 DT support code. For short term support on APE6EVM the DT reference implementation already adds a "cpufreq-cpu0" platform device so that can be u

Re: [PATCH 11/21] x86: get pg_data_t's memory from other node

2013-07-23 Thread Tang Chen
On 07/24/2013 04:09 AM, Tejun Heo wrote: On Fri, Jul 19, 2013 at 03:59:24PM +0800, Tang Chen wrote: From: Yasuaki Ishimatsu If system can create movable node which all memory of the node is allocated as ZONE_MOVABLE, setup_node_data() cannot allocate memory for the node's pg_data_t. So, use mem

[PATCH] ARM: shmobile: sh73a0: add PMU information to sh73a0.dtsi

2013-07-23 Thread Magnus Damm
From: Magnus Damm Add PMU information to sh73a0.dtsi. With this included KZM9G DT reference may use the PMU. Signed-off-by: Magnus Damm --- arch/arm/boot/dts/sh73a0.dtsi |6 ++ 1 file changed, 6 insertions(+) --- 0001/arch/arm/boot/dts/sh73a0.dtsi +++ work/arch/arm/boot/dts/sh73a0.dt

[PATCH] ARM: shmobile: emev2: add PMU information to emev2.dtsi

2013-07-23 Thread Magnus Damm
From: Magnus Damm Add PMU information to emev2.dtsi. With this included KZM9D DT reference may use the PMU. Signed-off-by: Magnus Damm --- arch/arm/boot/dts/emev2.dtsi |6 ++ 1 file changed, 6 insertions(+) --- 0009/arch/arm/boot/dts/emev2.dtsi +++ work/arch/arm/boot/dts/emev2.dtsi

Re: [PATCH] ARM: dts: Add USB host node for Exynos4

2013-07-23 Thread Sachin Kamat
On 23 July 2013 23:02, Dongjin Kim wrote: > This patch adds EHCI and OHCI host device nodes for Exynos4. > > Signed-off-by: Dongjin Kim > --- > arch/arm/boot/dts/exynos4.dtsi | 20 > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/ar

[PATCH] drivers: mfd: mfd-core: disable irq_domain related code when 'HAVE_GENERIC_HARDIRQS' disabled.

2013-07-23 Thread Chen Gang
'irq_domain' depends on hard irqs, so for the architectures which have no hard irqs, but still need mfd (e.g. s390), need disable the related code, or can not pass compiling. The related commit: "c94bb23 mfd: Make MFD core code Device Tree and IRQ domain aware" The related error: (with allmodc

[PATCH] perf: Add mailing list to MAINTAINERS

2013-07-23 Thread Michael Ellerman
Currently there is no mailing list mentioned for perf, but everyone sends them to lkml, so document that. Signed-off-by: Michael Ellerman --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index bf61e04..2aae970 100644 --- a/MAINTAINERS +++ b/MAINTAINER

Re: [PATCH v2] sched: update_top_cache_domain only at the times of building sched domain.

2013-07-23 Thread Michael Wang
Hi, Rakib On 07/24/2013 01:42 AM, Rakib Mullick wrote: > Currently, update_top_cache_domain() is called whenever schedule domain is > built or destroyed. But, the following > callpath shows that they're at the same callpath and can be avoided > update_top_cache_domain() while destroying schedule

Re: Linux 3.11-rc2

2013-07-23 Thread Dave Chinner
On Mon, Jul 22, 2013 at 05:06:01AM +0100, Al Viro wrote: > On Mon, Jul 22, 2013 at 11:25:17AM +1000, Dave Chinner wrote: > > > I'll just point out that it can make the whole thing worse, too. > > For example, for ext3/4, the tmpfile being created has to be added > > to the orphan inode list which

Re: [PATCH net-next] tuntap: hardware vlan tx support

2013-07-23 Thread Jason Wang
On 07/23/2013 08:12 PM, Sergei Shtylyov wrote: > Hello. > > On 23-07-2013 11:15, Jason Wang wrote: > >> Inspired by commit f09e2249c4f5c7c13261ec73f5a7807076af0c8e (macvtap: >> restore >> vlan header on user read). This patch adds hardware vlan tx support for >> tuntap. This is done by copying vlan

Re: [PATCH 10/21] earlycpio.c: Fix the confusing comment of find_cpio_data().

2013-07-23 Thread Tang Chen
On 07/24/2013 04:02 AM, Tejun Heo wrote: On Fri, Jul 19, 2013 at 03:59:23PM +0800, Tang Chen wrote: - * @offset: When a matching file is found, this is the offset to the - * beginning of the cpio. It can be used to iterate through - * the cpio to find all files inside of a dire

Re: [PATCH 09/21] x86: Make get_ramdisk_{image|size}() global.

2013-07-23 Thread Tang Chen
On 07/24/2013 03:56 AM, Tejun Heo wrote: On Fri, Jul 19, 2013 at 03:59:22PM +0800, Tang Chen wrote: In the following patches, we need to call get_ramdisk_{image|size}() to get initrd file's address and size. So make these two functions global. Signed-off-by: Tang Chen --- arch/x86/include/asm

[PATCH 3/3] msix restore code optimization for dom0

2013-07-23 Thread Zhenzhong Duan
PHYSDEVOP_restore_msi is used to restore all msix entrys in one hypercall in dom0. But it is called multi times in current code. This patch split arch_restore_msi_irqs into two functions. Use arch_restore_msi_irq deal with one entry and avoid call hypercall multi times in __pci_restore_msix_state.

  1   2   3   4   5   6   7   8   9   10   >