[PATCH] page owners: correct page->order when to free page

2014-03-11 Thread Jungsoo Son
When I use PAGE_OWNER in mmotm tree, I found a problem that mismatches the number of allocated pages. When I investigate, the problem is that set_page_order is called for only a head page if freed page is merged to a higher order page in the buddy allocator so tail pages of the higher order page co

Re: [PATCH RFC net-next v1 0/9] ptp: dynamic pin control

2014-03-11 Thread Christian Riesch
Hi Richard, --On March 10, 2014 14:42 +0100 Richard Cochran wrote: On Mon, Mar 10, 2014 at 12:52:57PM +, Sørensen, Stefan wrote: What are the n_ext_ts and n_per_out supposed to be set to now? The number of pins configured for the relevant function or the number of channels that are ava

[PATCH] sched: clean up task_hot function

2014-03-11 Thread Alex Shi
task_hot doesn't need the 'sched_domain' parameter, so remove it. Signed-off-by: Alex Shi --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 7947c86..00153ad 100644 --- a/kernel/sched/fair.c +++ b/kernel

Re: is printk() safe within a timekeeper_seq write section?

2014-03-11 Thread Peter Zijlstra
On Tue, Mar 11, 2014 at 02:54:13PM -0700, John Stultz wrote: > Ok, so a generic solution is probably not going to be worth it then. My > thought was that since we do a very limited amount of informational > printks in the timekeeping code, we can be fairly safe delaying the > print-out until we dro

Re: is printk() safe within a timekeeper_seq write section?

2014-03-11 Thread Peter Zijlstra
On Tue, Mar 11, 2014 at 10:32:26PM +0100, Thomas Gleixner wrote: > > Peter/Thomas: Any thoughts on the deferred printk buffer? Does printk > > already have something like this? Any other ideas here? > > I was thinking about something like that for RT as on RT printk is a > complete nightmare. It's

Re: [PATCH v2] pwm: add support for Intel Low Power Subsystem PWM

2014-03-11 Thread Mika Westerberg
On Fri, Feb 28, 2014 at 10:50:57PM +0800, Chew Chiau Ee wrote: > From: Mika Westerberg > > Add support for Intel Low Power I/O subsystem PWM controllers found on > Intel BayTrail SoC. > > Signed-off-by: Mika Westerberg > Signed-off-by: Chew, Kean Ho > Signed-off-by: Chang, Rebecca Swee Fun >

Re: [RFC PATCH] mmc: core: Invoke sdio func driver's PM callbacks from the sdio bus

2014-03-11 Thread Aaron Lu
On 03/12/2014 11:44 AM, Dong, Chuanxiao wrote: > Hi Aaron, > > This patch is tested on Intel platform, and SDIO function driver's > suspend/resume callback will only be called once, which fixed this issue. > Previously, they can be called twice. > > Here is the tested-by: > > Tested-by: xiaomi

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-11 Thread Peter Zijlstra
On Tue, Mar 11, 2014 at 11:17:46PM -0400, Waiman Long wrote: > Except that I do a single atomic short integer write to switch the bits > instead of 2 byte write. D'0h why didn't I think of that. A single short write is much better than the 2 byte writes. In any case; can you try and keep the stru

[PATCHv2 3/5] ARM: dts: exynos4x12: Add GPS_ALIVE power domain

2014-03-11 Thread Chanwoo Choi
This patch add GPS_ALIVE power domain for Exynos4x12 SoC. GPS_ALIVE power domain include GPS_BLK for GPS IP. Exynos SoC used generic power-domain driver to control power domain. After completed kernel booting, Exynos power-domain driver disable un-used power domain to reduce power-consumption/leak.

[PATCH v2] drivers: mfd: silence compiler warning in sec-core.c

2014-03-11 Thread Pankaj Dubey
When used 64bit compiler GCC warns as drivers/mfd/sec-core.c:199:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Signed-off-by: Pankaj Dubey --- drivers/mfd/sec-core.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/sec

[PATCHv2 0/5] ARM: dts: exynos: Add missing dt data to bring kernel of Exynos4x12

2014-03-11 Thread Chanwoo Choi
This patch add missing dt data of Exynos4x12 to bring up kernel feature and code clean. This patchset is based on 'v3.15-next/dt-clk-exynos' branch. - git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git exynos4x12/exynos4412/exynos4212.dtsi - Add ADC (Analog and Digital Converter

[PATCHv2 4/5] ARM: dts: exynos: Move common dt data for interrupt combiner controller

2014-03-11 Thread Chanwoo Choi
This patch move common dt data of interrupt combiner controller to exynos4x12.dtsi. Each Exynos4x12 SoC has different number of interrput combiner as following: - Exynos4212 : interrput combiner 18(0 ~ 17) - Exynos4412 : interrput combiner 20(0 ~ 19) The exynos combiner driver initialize interrupt

[PATCHv2 1/5] ARM: dts: exynos4x12: Add ADC's dt data to read raw data

2014-03-11 Thread Chanwoo Choi
This patch add ADC(Analog to Digital Converter)'s dt data to get raw data with IIO subsystem. Usually, ADC is used to check temperature, jack type and so on. Signed-off-by: Chanwoo Choi Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4x12.dtsi | 12 1 file changed, 12 inse

[PATCHv2 5/5] ARM: dts: exynos4412-trats2: Add ADC/themistor dt data to get temperature of SoC/battery

2014-03-11 Thread Chanwoo Choi
This patch use ADC to get the temperature of SoC/battery by using NTC thermistor driver in hwmon. NTC thermistor driver covnvert ADC's raw data to temperature by using following variables: Signed-off-by: Chanwoo Choi --- arch/arm/boot/dts/exynos4412-trats2.dts | 21 + 1 file

[PATCHv2 2/5] ARM: dts: exynos4x12: Add PMU dt data to support PMU(Perforamnce Monitoring Unit)

2014-03-11 Thread Chanwoo Choi
ARM CPU has its own performance profiling unit(PMU, Perforamnce Monitoring Unit). This patch add PMU dt data to support PMU which count cache hit and miss events. PMU interrput list of Exynos4212 - <2 2> : INTG2[2] - PMUIRQ[0] for CPU0 - <3 2> : INTG3[2] - PMUIRQ[1] for CPU1 PMU interrput list o

Re: [PATCH v2 0/2] x86: Relocate the compat vdso per process

2014-03-11 Thread H. Peter Anvin
There is one sensible address: end of address space perhaps minus some small offset. Unlikely to be used by anything specific. On March 11, 2014 11:09:11 PM PDT, Andy Lutomirski wrote: >On Mar 11, 2014 10:02 PM, "H. Peter Anvin" wrote: >> >> On 03/11/2014 03:15 PM, Andy Lutomirski wrote: >>> >

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-11 Thread Peter Zijlstra
On Wed, Mar 12, 2014 at 01:31:53PM +1100, Dave Chinner wrote: > With the queuing spinlock, I expected to see somewhat better > results, but I didn't at first. Turns out if you have any sort of > lock debugging turned on, then the code doesn't ever go into the > lock slow path and hence does not eve

Re: [PATCH v2 0/2] x86: Relocate the compat vdso per process

2014-03-11 Thread Andy Lutomirski
On Mar 11, 2014 10:02 PM, "H. Peter Anvin" wrote: > > On 03/11/2014 03:15 PM, Andy Lutomirski wrote: >> >> The meat of this patch series is in patch 1. Patch 2 is split out for >> improved bisectability. >> >> Changes from v1: Split into two patches and fixed a comment. >> >> Andy Lutomirski (2):

Re: [PATCH 5/5] ARM: dts: exynos4412-trats2: Add ADC's dt data to get temperature of SoC/battery

2014-03-11 Thread Chanwoo Choi
Hi Tomasz, On 03/11/2014 10:09 PM, Tomasz Figa wrote: > Hi Chanwoo, > > On 11.03.2014 08:54, Chanwoo Choi wrote: >> This patch use ADC to get the temperature of SoC/battery by using NTC >> thermistor >> driver in hwmon. NTC thermistor driver covnvert ADC's raw data to temperature >> by using fol

Re: [PATCH v2 7/7] ARM: zynq: DT: Migrate UART to Cadence binding

2014-03-11 Thread Michal Simek
On 03/11/2014 04:48 PM, Sören Brinkmann wrote: > On Tue, 2014-03-11 at 09:52AM +0100, Michal Simek wrote: >> On 03/10/2014 10:40 PM, Soren Brinkmann wrote: >>> The Zynq UART is Cadence IP and the driver has been renamed accordingly. >>> Migrate the DT to use the new binding for the UART driver. >>>

Re: [PATCH 9/9] powerpc/pm: support deep sleep feature on T1040

2014-03-11 Thread Kevin Hao
On Tue, Mar 11, 2014 at 08:10:24PM -0500, Scott Wood wrote: > > + FSL_DIS_ALL_IRQ > > + > > + /* > > +* Place DDR controller in self refresh mode. > > +* From here on, DDR can't be access any more. > > +*/ > > + lwz r10, 0(r13) > > + orisr10, r10, CCSR_DDR_SDRAM_CFG_2_FR

RE: Subject: [PATCH] mm: use vm_map_ram for only temporal object

2014-03-11 Thread Gioh Kim
Hello, I got a mail from Andrew Morton that he fixed my typo and poor English like this: http://ozlabs.org/~akpm/mmots/broken-out/mm-vmallocc-enhance-vm_map_ram-comment-fix.patch Thank you for your attention. > -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:lin

Re: [RESEND v2 PATCH 1/2] aio, memory-hotplug: Fix confliction when migrating and accessing ring pages.

2014-03-11 Thread Tang Chen
Hi Ben, Sorry for the delay. On 03/12/2014 02:46 AM, Benjamin LaHaise wrote: On Mon, Mar 10, 2014 at 04:15:33PM +0800, Tang Chen wrote: IO ring page migration has been implemented by the following patch: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/aio.

RE: [PATCH v2 3/4] ASoC: simple-card: accept many DAI links

2014-03-11 Thread li.xi...@freescale.com
> Subject: [PATCH v2 3/4] ASoC: simple-card: accept many DAI links > > Some simple audio cards may have many DAI links. > This patch extends the simple-card driver for handling such cards. > > Signed-off-by: Jean-Francois Moine > --- > sound/soc/generic/simple-card.c | 132 +

Re: [PATCH v2 0/2] x86: Relocate the compat vdso per process

2014-03-11 Thread H. Peter Anvin
On 03/11/2014 03:15 PM, Andy Lutomirski wrote: The meat of this patch series is in patch 1. Patch 2 is split out for improved bisectability. Changes from v1: Split into two patches and fixed a comment. Andy Lutomirski (2): x86: Dynamically relocate the compat vdso x86_32: Remove user bit

Re: [PATCH v3 0/5] Add USB nodes for am43xx epos and gp evm

2014-03-11 Thread George Cherian
Hi Tony, On 3/7/2014 5:26 PM, George Cherian wrote: The patch series adds USB dt nodes for am43xx epos and gp evm Boot tested with Benoit's for_3.15 + following patches https://patchwork.kernel.org/patch/3600821/ https://patchwork.kernel.org/patch/3600831/ https://patchwork.kernel.org/patch/3

Re: [RFC 4/6] sched: powerpc: create a dedicated topology table

2014-03-11 Thread Preeti U Murthy
On 03/11/2014 06:48 PM, Vincent Guittot wrote: > On 11 March 2014 11:08, Preeti U Murthy wrote: >> Hi Vincent, >> >> On 03/05/2014 12:48 PM, Vincent Guittot wrote: >>> Create a dedicated topology table for handling asymetric feature. >>> The current proposal creates a new level which describes whi

Re: [PATCH] poll/wait/md: allow module to safely support 'poll' on /proc files

2014-03-11 Thread NeilBrown
On Tue, 11 Mar 2014 21:19:24 -0700 Andrew Morton wrote: > On Wed, 12 Mar 2014 14:10:25 +1100 NeilBrown wrote: > > > On Tue, 11 Mar 2014 20:03:31 -0700 Andrew Morton > > wrote: > > > > > On Wed, 12 Mar 2014 13:36:38 +1100 NeilBrown wrote: > > > > > > > > > > > The md driver currently suppor

Re: [PATCH 4/9] powerpc/85xx: support CPU hotplug for e500mc and e5500

2014-03-11 Thread Chenhui Zhao
On Tue, Mar 11, 2014 at 06:48:13PM -0500, Scott Wood wrote: > On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao wrote: > > diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c > > index ac2621a..f3f4401 100644 > > --- a/arch/powerpc/kernel/smp.c > > +++ b/arch/powerpc/kernel/smp.c > > @

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-11 Thread Dave Chinner
On Tue, Mar 11, 2014 at 11:11:59PM -0400, Steven Rostedt wrote: > On Wed, 12 Mar 2014 13:31:53 +1100 > Dave Chinner wrote: > > > > So either this patchset doesn't work right now, or there's something > > else broken in the tip/master tree... > > I've found a few things broken with the tip maste

[PATCH v2 4/4] ARM: S3C24XX: remove S3C24XX specific clock Kconfig options

2014-03-11 Thread Pankaj Dubey
This patch removes S3C24XX specific clock Kconfig options as it has been moved into "drivers/clk/samsung/Kconfig" also removes COMMON_CLK selection as COMMON_CLK_SAMSUNG is selecting it's dependency. CC: Ben Dooks CC: Kukjin Kim CC: Russell King Signed-off-by: Pankaj Dubey --- arch/arm/mach-s

[PATCH v2 3/4] ARM: select COMMON_CLK_SAMSUNG for ARCH_EXYNOS and ARCH_S3C64XX

2014-03-11 Thread Pankaj Dubey
This patch selects COMMON_CLK_SAMSUNG for EXYNOS and S3C64XX SoC and removes COMMON_CLK selection as COMMON_CLK_SAMSUNG selects it's dependency. CC: Russell King Signed-off-by: Pankaj Dubey --- arch/arm/Kconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/

[PATCH v2 1/4] clk: samsung: add new Kconfig for Samsung common clock options

2014-03-11 Thread Pankaj Dubey
This patch adds new Kconfig file for adding new config option as COMMON_CLK_SAMSUNG for Samsung common clock. This patch also moves S3C24XX specific clock options here in this file. Signed-off-by: Pankaj Dubey --- drivers/clk/samsung/Kconfig | 11 +++ 1 file changed, 11 insertions(+)

[PATCH v2 2/4] drivers: clk: use CONFIG_COMMON_CLK_SAMSUNG for Samsung clock support

2014-03-11 Thread Pankaj Dubey
This patch includes Samsung clock Kconfig file, and replaces PLAT_SAMSUNG with COMMON_CLK_SAMSUNG for Samsung common clock support. Any Samsung SoC want to use Samsung common clock infrastructure can simply select COMMON_CLK_SAMSUNG. Signed-off-by: Pankaj Dubey --- drivers/clk/Kconfig |2 ++

[PATCH v2 0/4] Introduce new Kconfig for Samsung common clock

2014-03-11 Thread Pankaj Dubey
Introduce a new Kconfig file for Samsung common clock infrastructure related config options. As current Samsung common clock gets compiled based on PLAT_SAMSUNG, but moving ahead with ARM64 we can not have any more such config options, so this patch introduce new COMMON_CLK_SAMSUNG invisible option

Re: [PATCH] poll/wait/md: allow module to safely support 'poll' on /proc files

2014-03-11 Thread Andrew Morton
On Wed, 12 Mar 2014 14:10:25 +1100 NeilBrown wrote: > On Tue, 11 Mar 2014 20:03:31 -0700 Andrew Morton > wrote: > > > On Wed, 12 Mar 2014 13:36:38 +1100 NeilBrown wrote: > > > > > > > > The md driver currently supports 'poll' on /proc/mdstat. > > > This is unsafe as if the md-mod module is r

Re: [PATCH net] r8169: fix the incorrect tx descriptor version

2014-03-11 Thread David Miller
From: Hayes Wang Date: Tue, 11 Mar 2014 15:11:59 +0800 > The tx descriptor version of RTL8111B belong to RTL_TD_0. > > Signed-off-by: Hayes Wang Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH net-next] r8152: support dumping the hw counters

2014-03-11 Thread David Miller
From: Hayes Wang Date: Tue, 11 Mar 2014 16:24:19 +0800 > Add dumping the tally counter by ethtool. > > Signed-off-by: Hayes Wang Applied, thanks. -- 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

Re: [PATCH v2] tools/net/Makefile: Define PACKAGE to fix build problems

2014-03-11 Thread David Miller
From: Markos Chandras Date: Tue, 11 Mar 2014 08:49:39 + > Fixes the following build problem with binutils-2.24 > > gcc -Wall -O2 -c -o bpf_jit_disasm.o bpf_jit_disasm.c > In file included from bpf_jit_disasm.c:25:0: > /usr/include/bfd.h:35:2: error: #error config.h must be included > befor

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai->fmt

2014-03-11 Thread Kuninori Morimoto
Hi Nicolin > > static struct asoc_simple_card_info fsi_wm8978_info = { > > ... > > .daifmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBM_CFM, > > .cpu_dai = { > > ... > > .fmt= SND_SOC_DAIFMT_IB_NF, > > }, > > .codec_dai = { > > ...

Re: [PATCH 3/9] powerpc/rcpm: add RCPM driver

2014-03-11 Thread Chenhui Zhao
On Tue, Mar 11, 2014 at 06:42:51PM -0500, Scott Wood wrote: > On Fri, 2014-03-07 at 12:57 +0800, Chenhui Zhao wrote: > > diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c > > b/arch/powerpc/platforms/85xx/corenet_generic.c > > index b756f3d..3fdf9f3 100644 > > --- a/arch/powerpc/platforms

Re: [RESEND] Fast TSC calibration fails with v3.14-rc1 and later

2014-03-11 Thread joeyli
Hi Julian, 於 二,2014-03-11 於 18:15 +0100,Julian Wollrath 提到: > Am Tue, 11 Mar 2014 14:56:41 +0100 (CET) > schrieb Thomas Gleixner : > > > Ok, via bisecting I found commit > > > 73f7d1ca32638028e3271f54616773727e2f9f26 (see below) to be the one > > > that introduced this regression. > > > > Intere

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

2014-03-11 Thread Benjamin Herrenschmidt
On Tue, 2014-03-11 at 18:50 -0700, Greg KH wrote: > On Wed, Mar 12, 2014 at 12:51:52AM +, Mark Brown wrote: > > Hi Greg, > > > > After merging the driver-core tree, today's linux-next build () > > failed like this on a PowerPC defconfig: > > > > HEAD is now at ceb98e684dec Merge remote-tracki

[PATCH] x86, smp: fix misleading native_stop_other_cpus() description

2014-03-11 Thread Xie XiuQi
The description should be for native_stop_other_cpus() instead of smp_reboot_interrupt(). Signed-off-by: Xie XiuQi --- arch/x86/kernel/smp.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/smp.c b/arch/x86/kernel/smp.c index 7c3a5a6..f295a18 100644

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai->fmt

2014-03-11 Thread Nicolin Chen
Hi Morimoto-san, On Tue, Mar 11, 2014 at 08:36:22PM -0700, Kuninori Morimoto wrote: > > Hi Mark > > > > > asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 > > > > asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000 > > > > asoc-simple-card sound-cs42888.1

RE: [RFC PATCH] mmc: core: Invoke sdio func driver's PM callbacks from the sdio bus

2014-03-11 Thread Dong, Chuanxiao
Hi Aaron, This patch is tested on Intel platform, and SDIO function driver's suspend/resume callback will only be called once, which fixed this issue. Previously, they can be called twice. Here is the tested-by: Tested-by: xiaoming wang Tested-by: Chuanxiao Dong Thanks Chuanxiao > -Ori

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai->fmt

2014-03-11 Thread Kuninori Morimoto
Hi Mark > > > asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 > > > asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000 > > > asoc-simple-card sound-cs42888.12: cs42888 <-> 2024000.esai mapping ok > > > cpu = 4003 : SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAI

Re: [PATCH 1/5] ARM: dts: exynos4x12: Add ADC's dt data to read raw data

2014-03-11 Thread Chanwoo Choi
Hi Tomasz, On 03/11/2014 09:20 PM, Tomasz Figa wrote: > Hi Chanwoo, > > On 11.03.2014 08:54, Chanwoo Choi wrote: >> This patch add ADC(Analog to Digital Converter)'s dt data to get raw data >> with IIO subsystem. Usually, ADC is used to check temperature, jack type, and >> so on. >> > > 8< --- >

Re: [PATCH 3/5] ARM: dts: exynos4x12: Add GPS_ALIVE power domain

2014-03-11 Thread Chanwoo Choi
Hi Tomasz, On 03/11/2014 09:28 PM, Tomasz Figa wrote: > Hi Chanwoo, > > On 11.03.2014 08:54, Chanwoo Choi wrote: >> This patch add GPS_ALIVE power domain for Exynos4x12 SoC. GPS_ALIVE power >> domain >> include GPS_BLK for GPS IP. Exynos SoC used generic power-domain driver to >> control power d

Re: [PATCHv2 2/2] bridge: multicast: enable snooping on general queries only

2014-03-11 Thread David Miller
From: Linus Lüssing Date: Mon, 10 Mar 2014 22:25:25 +0100 > Without this check someone could easily create a denial of service > by injecting multicast-specific queries to enable the bridge > snooping part if no real querier issuing periodic general queries > is present on the link which would re

Re: [PATCHv2 1/2] bridge: multicast: add sanity check for general query destination

2014-03-11 Thread David Miller
From: Linus Lüssing Date: Mon, 10 Mar 2014 22:25:24 +0100 > General IGMP and MLD queries are supposed to have the multicast > link-local all-nodes address as their destination according to RFC2236 > section 9, RFC3376 section 4.1.12/9.1, RFC2710 section 8 and RFC3810 > section 5.1.15. > > Withou

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-11 Thread Waiman Long
On 03/11/2014 06:45 AM, Ingo Molnar wrote: * Peter Zijlstra wrote: Hi Waiman, I promised you this series a number of days ago; sorry for the delay I've been somewhat unwell :/ That said, these few patches start with a (hopefully) simple and correct form of the queue spinlock, and then gradua

RE: [PATCHv3 resend 1/3] ASoC: codec: Simplify ASoC probe code.

2014-03-11 Thread li.xi...@freescale.com
> Subject: Re: [PATCHv3 resend 1/3] ASoC: codec: Simplify ASoC probe code. > > On Tue, Mar 11, 2014 at 12:43:20PM +0800, Xiubo Li wrote: > > For some CODEC drivers like who act as the MFDs children are ignored > > by this patch. > > Applied all, thanks. I'd generally recommend about putting thin

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-11 Thread Steven Rostedt
On Wed, 12 Mar 2014 13:31:53 +1100 Dave Chinner wrote: > So either this patchset doesn't work right now, or there's something > else broken in the tip/master tree... I've found a few things broken with the tip master tree. Anyway, I'm not sure the patches are even there. The last I saw, the pat

Re: [PATCH] poll/wait/md: allow module to safely support 'poll' on /proc files

2014-03-11 Thread NeilBrown
On Tue, 11 Mar 2014 20:03:31 -0700 Andrew Morton wrote: > On Wed, 12 Mar 2014 13:36:38 +1100 NeilBrown wrote: > > > > > The md driver currently supports 'poll' on /proc/mdstat. > > This is unsafe as if the md-mod module is removed while a 'poll' > > or 'select' is outstanding on /proc/mdstat,

Re: [PATCH] hwmon, k10temp: Add support for AMD F16 M30h processor

2014-03-11 Thread Guenter Roeck
On 03/11/2014 02:25 PM, Aravind Gopalakrishnan wrote: Adding new PCI ID to support AMD F16 M30h processor (Mullins). While at it, modify Kconfig and Doc files to reflect the support for newer processors Note: PCI ID for this processor will make it into pci_ids.h as part of this patch: http://mar

[PATCH v2] ASoC: simple-card: overwrite cpu_dai->fmt with codec_dai->fmt

2014-03-11 Thread Nicolin Chen
The current simple-card driver separates the daimft for cpu_dai and codec_dai. So we might get different values for them (0x4003 and 0x1003 for example): asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000 as

Re: [PATCH] poll/wait/md: allow module to safely support 'poll' on /proc files

2014-03-11 Thread Andrew Morton
On Wed, 12 Mar 2014 13:36:38 +1100 NeilBrown wrote: > > The md driver currently supports 'poll' on /proc/mdstat. > This is unsafe as if the md-mod module is removed while a 'poll' > or 'select' is outstanding on /proc/mdstat, an oops occurs > when the syscall completes. > poll_freewait() will ca

[PATCH] poll/wait/md: allow module to safely support 'poll' on /proc files

2014-03-11 Thread NeilBrown
The md driver currently supports 'poll' on /proc/mdstat. This is unsafe as if the md-mod module is removed while a 'poll' or 'select' is outstanding on /proc/mdstat, an oops occurs when the syscall completes. poll_freewait() will call remove_wait_queue() on a wait_queue_head_t which was local to t

Re: [RFC PATCH] mmc: core: Invoke sdio func driver's PM callbacks from the sdio bus

2014-03-11 Thread Aaron Lu
Hi Chuansheng & Chuanxiao, Can you please help us testing this patch on your platform and let us know the test result? Thanks. -Aaron On 02/28/2014 07:49 PM, Ulf Hansson wrote: > The sdio func device is added to the driver model after the card > device. > > This means the sdio func device will

Re: [PATCH 3.4 00/99] 3.4.83-stable review

2014-03-11 Thread Guenter Roeck
On 03/11/2014 05:04 PM, Greg Kroah-Hartman wrote: Can you possibly add me to the cc: of your introductory e-mail announcing new stable releases ? Sometimes it seems to get lost and isn't available on any of the 'common' archives (this one did not make it to lkml, for example, and many of the in

Re: [PATCH v2] x86, calgary: use 8M TCE table size by default

2014-03-11 Thread WANG Chao
On 03/10/14 at 10:26pm, Jon Mason wrote: > On Mon, Mar 10, 2014 at 8:54 AM, Muli Ben-Yehuda > wrote: > > Patch looks good to me. > > > > Acked-by: Muli Ben-Yehuda > > Me too (just in case you want us both). > > Acked-by: Jon Mason Thanks for review and helping push this change, to all of you

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-11 Thread Dave Chinner
On Mon, Mar 10, 2014 at 04:42:36PM +0100, Peter Zijlstra wrote: > Hi Waiman, > > I promised you this series a number of days ago; sorry for the delay I've been > somewhat unwell :/ > > That said, these few patches start with a (hopefully) simple and correct form > of the queue spinlock, and then

Re: [PATCH 1/6] cputime: Fix nsecs_to_cputime() return type cast

2014-03-11 Thread Frederic Weisbecker
On Thu, Mar 06, 2014 at 01:57:17PM -0500, Rik van Riel wrote: > On 03/06/2014 12:56 PM, Frederic Weisbecker wrote: > >Even though nsec based cputime_t maps to u64, nsecs_to_cputime() must > >return a cputime_t value. We want to enforce this kind of cast in order > >to track down buggy manipulations

Re: [PATCH v2] ASoC: cs42888: Add codec driver support

2014-03-11 Thread Austin, Brian
>> On Mar 11, 2014, at 13:46, "Mark Brown" wrote: >> >> On Tue, Mar 11, 2014 at 04:55:58PM +0100, Lars-Peter Clausen wrote: >> On 03/11/2014 04:41 PM, Brian Austin wrote: > >>> So WRT the CS42888, this is one device in a series of 2 devices that are >>> register compatible with the only differ

Re: [PATCH v2] ASoC: cs42888: Add codec driver support

2014-03-11 Thread Nicolin Chen
Hi Brian, On Wed, Mar 12, 2014 at 02:05:00AM +, Austin, Brian wrote: > > > >> On Mar 11, 2014, at 13:46, "Mark Brown" wrote: > >> > >> On Tue, Mar 11, 2014 at 04:55:58PM +0100, Lars-Peter Clausen wrote: > >> On 03/11/2014 04:41 PM, Brian Austin wrote: > > > >>> So WRT the CS42888, this is

[GIT PULL] timers updates for 3.15

2014-03-11 Thread Frederic Weisbecker
Ingo, Thomas, Please pull the timers/cputime-fix-steal-v2 branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/cputime-fix-steal-v2 It's based on tip:timers/core. The patches are essentially unchanged since the last version (https:

[PATCH 1/6] cputime: Fix nsecs_to_cputime() return type cast

2014-03-11 Thread Frederic Weisbecker
Even though nsec based cputime_t maps to u64, nsecs_to_cputime() must return a cputime_t value. We want to enforce this kind of cast in order to track down buggy manipulations of cputime_t such as direct access of its values under wrong assumptions on its backend type (nsecs, jiffies, etc...) by co

[PATCH 3/6] cputime: Bring cputime -> nsecs conversion

2014-03-11 Thread Frederic Weisbecker
We already have nsecs_to_cputime(). Now we need to be able to convert the other way around in order to fix a bug on steal time accounting. Cc: Ingo Molnar Cc: Marcelo Tosatti Cc: Peter Zijlstra Cc: Thomas Gleixner Acked-by: Rik van Riel Signed-off-by: Frederic Weisbecker --- include/asm-gen

Re: [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai->fmt

2014-03-11 Thread Nicolin Chen
On Tue, Mar 11, 2014 at 01:25:53PM +, Mark Brown wrote: > On Tue, Mar 11, 2014 at 08:54:32PM +0800, Nicolin Chen wrote: > > Adding Jyri who's been looking at this as well but not added anyone else > working on simple-card so you might've missed his mails. > > > It's pretty fair to do it for D

[PATCH 5/6] sched: Remove needless round trip nsecs <-> tick conversion of steal time

2014-03-11 Thread Frederic Weisbecker
When update_rq_clock_task() accounts the pending steal time for a task, it converts the steal delta from nsecs to tick then from tick to nsecs. There is no apparent good reason for doing that though because both the task clock and the prev steal delta are u64 and store values in nsecs. So lets re

[PATCH 2/6] cputime: Default implementation of nsecs -> cputime conversion

2014-03-11 Thread Frederic Weisbecker
The architectures that override cputime_t (s390, ppc) don't provide any version of nsecs_to_cputime(). Indeed this cputime_t implementation by backend only happens when CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y under which the core code doesn't make any use of nsecs_to_cputime(). At least for now. We a

[PATCH 6/6] arch: Remove stub cputime.h headers

2014-03-11 Thread Frederic Weisbecker
Many architectures have a stub cputime.h that only include the default cputime.h Lets remove the useless headers, we only need to mention that we want the default headers on the Kbuild files. Cc: Archs Cc: Ingo Molnar Cc: Marcelo Tosatti Cc: Peter Zijlstra Cc: Thomas Gleixner Acked-by: Rik v

[PATCH 4/6] cputime: Fix jiffies based cputime assumption on steal accounting

2014-03-11 Thread Frederic Weisbecker
The steal guest time accounting code assumes that cputime_t is based on jiffies. So when CONFIG_NO_HZ_FULL=y, which implies that cputime_t is based on nsecs, steal_account_process_tick() passes the delta in jiffies to account_steal_time() which then accounts it as if it's a value in nsecs. As a re

Re: [PATCH v2] ASoC: cs42888: Add codec driver support

2014-03-11 Thread Nicolin Chen
On Tue, Mar 11, 2014 at 06:46:06PM +, Mark Brown wrote: > On Tue, Mar 11, 2014 at 04:55:58PM +0100, Lars-Peter Clausen wrote: > > On 03/11/2014 04:41 PM, Brian Austin wrote: > > > >So WRT the CS42888, this is one device in a series of 2 devices that are > > >register compatible with the only d

Re: [PATCH v5 0/7] arm64: Add ftrace support

2014-03-11 Thread Steven Rostedt
On Wed, 12 Mar 2014 10:47:20 +0900 AKASHI Takahiro wrote: > This happens when a header file, elf.h, on "your host machine" does not have > definitions of EM_AARCH64 nor R_AARCH64_ABS64 because "recordmcount" is a > binary > utility on host(x86), not target. It is very likely for most distros. >

Re: [PATCH v5 0/7] arm64: Add ftrace support

2014-03-11 Thread Steven Rostedt
On Wed, 12 Mar 2014 10:47:20 +0900 AKASHI Takahiro wrote: > This happens when a header file, elf.h, on "your host machine" does not have > definitions of EM_AARCH64 nor R_AARCH64_ABS64 because "recordmcount" is a > binary > utility on host(x86), not target. It is very likely for most distros. >

Re: [PATCH 1/3] spi: add xtfpga SPI controller driver

2014-03-11 Thread Mark Brown
On Wed, Mar 12, 2014 at 05:43:49AM +0400, Max Filippov wrote: > On Wed, Mar 12, 2014 at 5:08 AM, Mark Brown wrote: > > That's buggy, drivers should never configure anything more than 8 bits > > per word with regmap. > Ok, so the driver should allow for 8 bit transfers and regmap will arrange > t

linux-next: build failure after merge of the driver-core tree

2014-03-11 Thread Mark Brown
Hi Greg, After merging the driver-core tree, today's linux-next build () failed like this on a PowerPC defconfig: HEAD is now at ceb98e684dec Merge remote-tracking branch 'driver-core/driver-core-next' GEN /home/broonie/next/powerpc_ppc64_defconfig/Makefile # # configuration written to .co

Re: [PATCH 3.4 00/99] 3.4.83-stable review

2014-03-11 Thread Greg Kroah-Hartman
On Sat, Mar 08, 2014 at 09:10:00AM -0800, Guenter Roeck wrote: > On 03/08/2014 08:18 AM, Greg Kroah-Hartman wrote: > > On Sat, Mar 08, 2014 at 06:35:52AM -0800, Guenter Roeck wrote: > >> On 03/08/2014 01:47 AM, Satoru Takeuchi wrote: > >>> At Fri, 7 Mar 2014 17:06:56 -0800, > >>> Greg Kroah-Hartma

Re: [PATCH 1/3] spi: add xtfpga SPI controller driver

2014-03-11 Thread Mark Brown
On Wed, Mar 12, 2014 at 12:20:49AM +0400, Max Filippov wrote: > On Tue, Mar 11, 2014 at 11:49 PM, Mark Brown wrote: > > On Tue, Mar 11, 2014 at 04:44:49PM +0400, Max Filippov wrote: > >> + unsigned long timeout = jiffies + msecs_to_jiffies(100); > >> + while (xtfpga_spi_read32(xspi, XTFPG

Re: [PATCH 3.4 30/99] PCI: Enable INTx if BIOS left them disabled

2014-03-11 Thread Greg Kroah-Hartman
On Sat, Mar 08, 2014 at 06:50:30AM -0700, Bjorn Helgaas wrote: > [+cc Andreas] > > On Fri, Mar 7, 2014 at 6:07 PM, Greg Kroah-Hartman > wrote: > > 3.4-stable review patch. If anyone has any objections, please let me know. > > Let's hold off on this for a bit. Andreas found that this patch > br

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai->fmt

2014-03-11 Thread Mark Brown
On Tue, Mar 11, 2014 at 06:32:32PM -0700, Kuninori Morimoto wrote: > > The current simple-card driver separates the daimft for cpu_dai and > > codec_dai. > > So we might get different values for them (0x4003 and 0x1003 for example): > > > > asoc-simple-card sound-cs42888.12: cpu : 2024000.esai /

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

2014-03-11 Thread Greg KH
On Wed, Mar 12, 2014 at 12:51:52AM +, Mark Brown wrote: > Hi Greg, > > After merging the driver-core tree, today's linux-next build () > failed like this on a PowerPC defconfig: > > HEAD is now at ceb98e684dec Merge remote-tracking branch > 'driver-core/driver-core-next' > GEN /home/br

Re: [PATCH v2] PM: Add missing "freeze" state

2014-03-11 Thread Rafael J. Wysocki
On Tuesday, March 11, 2014 02:13:59 PM Geert Uytterhoeven wrote: > Hi Pavel, > > On Tue, Mar 11, 2014 at 1:40 PM, Pavel Machek wrote: > > On Tue 2014-03-11 12:08:11, Geert Uytterhoeven wrote: > >> From: Geert Uytterhoeven > >> > >> Signed-off-by: Geert Uytterhoeven > > > > Acked-by: Pavel Mache

Re: [PATCH 1/3] spi: add xtfpga SPI controller driver

2014-03-11 Thread Max Filippov
On Wed, Mar 12, 2014 at 5:11 AM, Mark Brown wrote: > On Wed, Mar 12, 2014 at 04:59:47AM +0400, Max Filippov wrote: > >> And tlv320aic23 has the following regmap: > >> const struct regmap_config tlv320aic23_regmap = { >> .reg_bits = 7, >> .val_bits = 9, > >> and its SPI interface ac

Re: linux-next: manual merge of the staging tree with the tree

2014-03-11 Thread Greg KH
On Wed, Mar 12, 2014 at 01:32:59AM +, Mark Brown wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflict in > drivers/staging/cxt1e1/linux.c between commit 084b6e7765b95 > ("staging/cxt1e1/linux.c: Correct arbitrary memory write in c4_ioctl()") from > Linus' tree a

Re: [PATCH] power: add an API to log wakeup reasons

2014-03-11 Thread Ruchi Kandoi
This API would be called from the platform specific code, or the driver for the interrupt controller, when the system resumes from the suspend because of an IRQ. We track the reasons for which systems wake up from the low power suspend mode. This is especially important on battery-powered consumer

[PATCH v2] usb: gadget: tcm_usb_gadget: stop format strings

2014-03-11 Thread Kees Cook
This makes sure that the name coming out of configfs cannot be used accidentally as a format string. Signed-off-by: Kees Cook Cc: sta...@vger.kernel.org --- v2: - with stable cc; Felipe Balbi. --- drivers/usb/gadget/tcm_usb_gadget.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH] PNPACPI: proper handling ACPI IO/Memory resources

2014-03-11 Thread Rafael J. Wysocki
On Tuesday, March 11, 2014 10:40:27 PM Zhang Rui wrote: > Before commit b355cee88e3b1a193f0e9a81db810f6f83ad728b, > if acpi_dev_resource_memory()/acpi_dev_resource_io() returns false, > it means the the resource is not a memeory/IO resource. > > But after commit b355cee88e3b1a193f0e9a81db810f6f83a

Re: [PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Mark Brown
On Tue, Mar 11, 2014 at 07:25:45PM -0400, Matt Porter wrote: > On Tue, Mar 11, 2014 at 10:45:17PM +, Lee Jones wrote: > > Are there any inter-patch dependencies in the set? If so, we should > > know about them so we can coordinate a sensible solution. > Yes, the regulator driver (3/5) that Ma

Re: [PATCH 1/2] Tracepoint API doc update: data argument

2014-03-11 Thread Mathieu Desnoyers
- Original Message - > From: "Steven Rostedt" > To: "Mathieu Desnoyers" > Cc: linux-kernel@vger.kernel.org, "Ingo Molnar" , "Frederic > Weisbecker" , > "Andrew Morton" > Sent: Tuesday, March 11, 2014 7:34:50 PM > Subject: Re: [PATCH 1/2] Tracepoint API doc update: data argument > > On

Re: [PATCH 9/9] powerpc/pm: support deep sleep feature on T1040

2014-03-11 Thread Scott Wood
On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao wrote: > From: Zhao Chenhui > > T1040 supports deep sleep feature, which can switch off most parts of > the SoC when it is in deep sleep mode. This way, it becomes more > energy-efficient. > > The DDR controller will also be powered off in deep sle

Re: [PATCH 3/9] powerpc/rcpm: add RCPM driver

2014-03-11 Thread Scott Wood
On Fri, 2014-03-07 at 12:57 +0800, Chenhui Zhao wrote: > diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c > b/arch/powerpc/platforms/85xx/corenet_generic.c > index b756f3d..3fdf9f3 100644 > --- a/arch/powerpc/platforms/85xx/corenet_generic.c > +++ b/arch/powerpc/platforms/85xx/corenet_ge

Linux 3.4.83

2014-03-11 Thread Greg KH
I'm announcing the release of the 3.4.83 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: [powerpc:next 45/53] warning: (PPC_C2K && ..) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || ..)

2014-03-11 Thread Fengguang Wu
On Tue, Mar 11, 2014 at 10:32:29AM -0400, Paul Gortmaker wrote: > On 14-03-11 12:54 AM, Fengguang Wu wrote: > > On Mon, Mar 10, 2014 at 10:49:24AM -0400, Paul Gortmaker wrote: > >> On 14-03-08 03:07 AM, kbuild test robot wrote: > >>> tree: git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerp

Re: [PATCH 6/9] powerpc/85xx: support sleep feature on QorIQ SoCs with RCPM

2014-03-11 Thread Scott Wood
On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao wrote: > In sleep mode, the clocks of e500 cores and unused IP blocks is > turned off. The IP blocks which are allowed to wake up the processor > are still running. > > The sleep mode is equal to the Standby state in Linux. Use the > command to enter

Re: [PATCH 1/3] spi: add xtfpga SPI controller driver

2014-03-11 Thread Mark Brown
On Wed, Mar 12, 2014 at 04:59:47AM +0400, Max Filippov wrote: > On Wed, Mar 12, 2014 at 4:34 AM, Mark Brown wrote: > > This driver is not actually compatible with the tlv320aic23 driver since > > it needs 8 bit words, you need to at least support that. You don't need > That's strange, because t

Re: [PATCH 3.4 00/99] 3.4.83-stable review

2014-03-11 Thread Greg Kroah-Hartman
On Sun, Mar 09, 2014 at 05:50:21AM +0900, Satoru Takeuchi wrote: > At Sat, 08 Mar 2014 09:10:00 -0800, > Guenter Roeck wrote: > > > > On 03/08/2014 08:18 AM, Greg Kroah-Hartman wrote: > > > On Sat, Mar 08, 2014 at 06:35:52AM -0800, Guenter Roeck wrote: > > >> On 03/08/2014 01:47 AM, Satoru Takeuch

Re: [PATCH 1/5] PCI: Don't check resource_size() in pci_bus_alloc_resource()

2014-03-11 Thread Yinghai Lu
On Tue, Mar 11, 2014 at 3:02 PM, Bjorn Helgaas wrote: > On Tue, Mar 11, 2014 at 3:39 PM, Yinghai Lu wrote: >> how about replacing that with: >> >> if (avail.start > avail.end) >> continue; >> >> so we do not need to go deep into allocate_resource() > > We could, but why

  1   2   3   4   5   6   7   8   9   >