Re: [RFC][PATCH 0/3] variuos perf fixes

2015-09-13 Thread Peter Zijlstra
On Sun, Sep 13, 2015 at 07:10:56PM -0400, Vince Weaver wrote: > On Thu, 10 Sep 2015, Peter Zijlstra wrote: > > > Vince reported some fail here: > > > > > > lkml.kernel.org/r/alpine.deb.2.20.1509021227380.32...@vincent-weaver-1.umelst.maine.edu > > > > These patches are the result of me trying

Re: [PATCH] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-13 Thread Fengguang Wu
On Mon, Sep 14, 2015 at 06:51:36AM +, Yuantian Tang wrote: > The ARCH should have been ARM for this driver. > Do you think this warning would go away if adding a dependency on ARM? Yes, that may work. Thanks, Fengguang > > -Original Message- > > From: Fengguang Wu [mailto:fengguang..

RE: [PATCH] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-13 Thread Yuantian Tang
The ARCH should have been ARM for this driver. Do you think this warning would go away if adding a dependency on ARM? Regards, Yuantian > -Original Message- > From: Fengguang Wu [mailto:fengguang...@intel.com] > Sent: Monday, September 14, 2015 12:05 PM > To: Tang Yuantian-B29983 > Cc: T

[PATCH RESEND 0/2] arm: berlin: add cpu hotplug support

2015-09-13 Thread Jisheng Zhang
These patches try to add cpu hotplug support for Marvell BG2, BG2Q SoCs. These SoCs can't power off cpu independently, but we still want cpu hotplug support for them. However, we need to address "CPU still sat on kernel text" as pointed out by Mark Rutland[1]. We achieved this by putting the dying

[PATCH RESEND 1/2] arm: berlin: use non-self-cleared reset register to reset cpu

2015-09-13 Thread Jisheng Zhang
In Berlin SoCs, there are two kinds of cpu reset control registers: the first one's corresponding bits will be self-cleared after some cycles, while the second one's bits won't. Previously the first kind of reset control register is used, this patch uses the second kind one to prepare for the next

[PATCH RESEND 2/2] arm: berlin: add CPU hotplug support

2015-09-13 Thread Jisheng Zhang
Add cpu hotplug support for berlin SoCs such as BG2 and BG2Q. These SoC don't support power off cpu independently, but we also want cpu hotplug support in these SoCs. We achieve this goal by putting the dying CPU in WFI state after the coherency is disabled, then asserting the dying CPU reset bit t

[PATCH] ASoC: mediatek: Increase periods_min in capture

2015-09-13 Thread Koro Chen
In capture, there is chance that hw_ptr reported at IRQ is a little smaller than period_size due to internal AFE buffer. In the case of ping-pong buffer: |--|-| hw_ptr < period_size This available buffer will not

[PATCH] ARM: ls1021a: Add dma-coherent property for eTSEC nodes

2015-09-13 Thread Alison Wang
This patch adds dma-coherent property for eTSEC nodes, so coherent DMA operations are supported. Signed-off-by: Alison Wang Signed-off-by: Shawn Guo --- arch/arm/boot/dts/ls1021a.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls102

[PATCH RESEND 2/2] arm: dts: berlin: use stdout-path

2015-09-13 Thread Jisheng Zhang
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts| 3 ++- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 3 ++- arch/arm/boot/dts/berlin2q-marvell-dmp.dts

[PATCH RESEND 1/2] arm: dts: berlin: add aliases for serial

2015-09-13 Thread Jisheng Zhang
This is to prepare for the using stdout-path in next commit. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2.dtsi | 6 ++ arch/arm/boot/dts/berlin2cd.dtsi | 5 + arch/arm/boot/dts/berlin2q.dtsi | 5 + 3 files changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/ber

[PATCH RESEND 0/2] arm: dts: berlin: use stdout-path

2015-09-13 Thread Jisheng Zhang
These two simple patches use stdout-path to specify the console. The first patch add aliases for serial uarts. The second patch removes the console argument from the command line, uses stdout-path instead. Jisheng Zhang (2): arm: dts: berlin: add aliases for serial arm: dts: berlin: use stdout

[rhashtable-test] RIP: 0010:[] [] arch_local_irq_save

2015-09-13 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit f4a3e90ba5739cfd761b6befadae9728bd3641ed Author: Phil Sutter AuthorDate: Sat Aug 15 00:37:15 2015 +0200 Commit: David S.

[PATCH 1/4] Staging: rtl8192u: space required before open parentheses

2015-09-13 Thread mike dupuis
From: Mike Dupuis This is a patch to add spaces where required before open parentheses in ieee80211_softmac_wx.c Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/sta

[PATCH 3/4] Staging: rtl8192u: do not use C99 // comments

2015-09-13 Thread mike dupuis
From: Mike Dupuis This is a patch to convert C99-style comments to C89-style comments in ieee80211_softmac_wx.c. Signed-off-by: Mike Dupuis --- .../rtl8192u/ieee80211/ieee80211_softmac_wx.c | 28 +++--- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/driver

[PATCH 4/4] Staging: rlt8192u: Remove spaces at the start of lines

2015-09-13 Thread mike dupuis
From: Mike Dupuis This is a patch to remove spaces at the start of lines in ieee80211_softmac_wx.c. Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee

[PATCH 2/4] Staging: rtl8192u: suspect code indent for conditional statment

2015-09-13 Thread mike dupuis
From: Mike Dupuis This is a patch to correct an improperly indented block of code in ieee80211_softmac_wx.c Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u

[PATCH 0/4] Staging: rtl8192u: fix checkpatch.pl issues

2015-09-13 Thread mike dupuis
From: Mike Dupuis This is a series of patches to fix several checkpatch.pl issues in ieee80211_softmac_wx.c. Signed-off-by: Mike Dupuis Checkpatch.pl output before: total: 34 errors, 29 warnings, 605 lines checked Checkpatch.pl output after: total: 14 errors, 24 warnings, 604 lines checked m

Re: [PATCH 1/2] ASoC: atmel-classd: add the Audio Class D Amplifier code

2015-09-13 Thread Wu, Songjun
On 9/11/2015 18:34, Mark Brown wrote: On Thu, Sep 10, 2015 at 10:31:04AM +0800, Wu, Songjun wrote: On 9/9/2015 17:52, Mark Brown wrote: Yes, that's what's going to end up happening but it's not how controls are expected to behave - applications will expect changing one control to leave othe

[PATCH v2 2/2] Documentation: bindings: add description of phy for sdhci-of-arasan

2015-09-13 Thread Shawn Lin
This patch adds phys and phy-names for sdhci-of-arasan as required properties for arasan,sdhci-5.1, and details the example as well. Signed-off-by: Shawn Lin --- Changes in v2: - Keep phy as a mandatory requirement for arasan,sdhci-5.1 .../devicetree/bindings/mmc/arasan,sdhci.txt | 20

[PATCH v2 1/2] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2015-09-13 Thread Shawn Lin
This patch adds Generic PHY access for sdhci-of-arasan. Driver can get PHY handler from dt-binding, and power-on/init the PHY. Also we add pm ops for PHY here if CONFIG_PM_SLEEP is enabled. Currently, it's just mandatory for arasan,sdhci-5.1. Signed-off-by: Shawn Lin Serise-changes: 2 - Keep phy

Re: Chipidea ULPI driver

2015-09-13 Thread Peter Chen
On Fri, Sep 11, 2015 at 11:34:10AM +, Subbaraya Sundeep Bhatta wrote: > Hi, > > > -Original Message- > > From: Peter Chen [mailto:peter.c...@freescale.com] > > Sent: Friday, September 11, 2015 6:52 AM > > To: Punnaiah Choudary Kalluri > > Cc: ba...@ti.com; Subbaraya Sundeep Bhatta; lin

[PATCH v2 0/3] ARM: uniphier: add outer cache support and rework SMP operations

2015-09-13 Thread Masahiro Yamada
Hi Olof, Now Linux 4.3-rc1 is out, so I am back to this. 1/3: add outer cache support 2/3: rework SMP operations 3/3: add device tree nodes Because 2/3 highly depends on 1/3, I hope whole of this series is applied through ARM-SOC tree. Changes in v2: - Use pr_fmt() to have pr_ are automatica

[PATCH v2 1/3] ARM: uniphier: add outer cache support

2015-09-13 Thread Masahiro Yamada
This commit adds support for UniPhier outer cache controller. All the UniPhier SoCs are equipped with the L2 cache, while the L3 cache is currently only integrated on PH1-Pro5 SoC. Signed-off-by: Masahiro Yamada --- .../bindings/arm/uniphier/cache-uniphier.txt | 48 ++ MAINTAINERS

[PATCH v2 3/3] ARM: dts: uniphier: add outer cache controller nodes

2015-09-13 Thread Masahiro Yamada
Add L2 cache controller nodes for all the UniPhier SoC DTSI. Also, add an L3 cache controller node for PH1-Pro5 DTSI. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 13 + arch/arm/boot/dts/uniphier-ph1-pro4.dtsi| 14 ++ arch/arm/boot

[PATCH v2 2/3] ARM: uniphier: rework SMP operations to use trampoline code

2015-09-13 Thread Masahiro Yamada
The complexity of the boot sequence of UniPhier SoC family is a PITA due to the following hardware limitations: [1] No dedicated on-chip SRAM SoCs in general have small SRAM, on which a tiny firmware or a boot loader can run before SDRAM is initialized. As UniPhier SoCs do not have any dedicated

[PATCH] numa-balancing: fix confusion in /proc/sys/kernel/numa_balancing

2015-09-13 Thread Xishi Qiu
We can only echo 0 or 1 > "/proc/sys/kernel/numa_balancing", usually 1 means enable and 0 means disable. But when echo 1, it shows the value is 65536, this is confusion. Signed-off-by: Xishi Qiu --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sc

[PATCH v3] powerpc32: memset: only use dcbz once cache is enabled

2015-09-13 Thread Christophe Leroy
memset() uses instruction dcbz to speed up clearing by not wasting time loading cache line with data that will be overwritten. Some platform like mpc52xx do no have cache active at startup and can therefore not use memset(). Allthough no part of the code explicitly uses memset(), GCC may makes call

Re: [PATCH] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-13 Thread Fengguang Wu
Yuantian, It's cross compiling on ARCH=openrisc. Thanks, Fengguang On Mon, Sep 14, 2015 at 03:02:27AM +, Yuantian Tang wrote: > Hello Tejun, > > The toolchain I used is: > gcc version 4.8.3 20140401 (prerelease) (Linaro GCC 4.8-2014.04) > > I have not found this warning using this tool cha

[PATCH] Staging: wilc1000: Use NULL instead of zero

2015-09-13 Thread Ronit Halder
This patch fixes the warning generated by sparse "Using plain integer as NULL pointer" by using NULL instead of zero. Signed-off-by: Ronit halder --- drivers/staging/wilc1000/coreconfigurator.c | 14 +++--- drivers/staging/wilc1000/linux_wlan.c | 6 +++--- 2 files changed, 10 inse

Re: [PATCH-v5 RESEND 3/5] i2c: pxa: Add support for pxa910/988 & new configuration features

2015-09-13 Thread Vaibhav Hiremath
On Saturday 12 September 2015 12:36 AM, Wolfram Sang wrote: On Mon, Aug 24, 2015 at 11:29:36AM +0530, Vaibhav Hiremath wrote: TWSI_ILCR & TWSI_IWCR registers are used to adjust clock rate of standard & fast mode in pxa910/988; so this patch adds these two new entries to "struct pxa_reg_layout"

Re: Build regressions/improvements in v4.3-rc1

2015-09-13 Thread Michael Ellerman
On Sun, 2015-09-13 at 22:23 +0200, Geert Uytterhoeven wrote: > On Sun, Sep 13, 2015 at 5:19 PM, Guenter Roeck wrote: > > arm64:allmodconfig: > > > > drivers/firmware/qcom_scm-32.c:196:4: error: expected string literal before > > ‘__asmeq’ > > drivers/firmware/qcom_scm-32.c:221:2: error: implicit

[PATCH] cpufreq : powernv: Report Pmax throttling if capped below nominal frequency

2015-09-13 Thread Shilpasri G Bhat
Log a 'critical' message if the max frequency is reduced below nominal frequency. We already log 'info' message if the max frequency is capped below turbo frequency. CPU should guarantee atleast nominal frequency, but not turbo frequency in all system configurations and environments. So report the

Re: [PATCH-v5 RESEND 2/5] i2c: pxa: enable/disable i2c module across msg xfer

2015-09-13 Thread Vaibhav Hiremath
On Saturday 12 September 2015 12:23 AM, Wolfram Sang wrote: On Mon, Aug 24, 2015 at 11:29:35AM +0530, Vaibhav Hiremath wrote: From: Yi Zhang Enable i2c module/unit before transmission and disable when it finishes. why? It's because the i2c bus may be disturbed if the slave device, typically

Re: [PATCH] staging: dgnc: Fixed line over 80 characters long

2015-09-13 Thread Greg KH
On Sun, Sep 13, 2015 at 04:22:00PM +0530, Anjali Menon wrote: > This is a patch that fixes line over 80 characters coding style > warning detected by checkpatch.pl. > > WARNING: line over 80 characters > > Signed-off-by: Anjali Menon > --- > drivers/staging/dgnc/dgnc_mgmt.c | 3 ++- > 1 file ch

Re: [PATCH] staging: wilc1000: Added a new line

2015-09-13 Thread Greg KH
On Sun, Sep 13, 2015 at 04:31:33PM +0530, Aparna Karuthodi wrote: > Added a new line after declaration to remove a coding style warning > detected by checkpatch. The warning is given below > WARNING: Missing a blank line after declarations > > Signed-off-by: Aparna Karuthodi > --- > drivers/stag

Re: drivers: staging: wilc1000 - NULL pointer dereference

2015-09-13 Thread Greg KH
On Sun, Sep 13, 2015 at 06:17:26PM +0530, Chandra Gorentla wrote: > Hi, > > At this point I do not have the hardware. > > NULL pointer deference is observed in the wilc1000.ko module on x86 target > with bus type SPI and when SPI is not ready. Following are the steps to > reproduce. > > $ sudo

Re: linux-next: manual merge of the kdbus tree with Linus' tree

2015-09-13 Thread Greg KH
On Mon, Sep 14, 2015 at 10:53:56AM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the kdbus tree got a conflict in: > > tools/testing/selftests/Makefile > > between commit: > > b6d973441675 ("selftests: add membarrier syscall test") > > from Linus' tree and commi

Re: [PATCH v4 5/7] Watchdog: introduce ARM SBSA watchdog driver

2015-09-13 Thread Pratyush Anand
On 10/09/2015:06:45:17 PM, Jon Masters wrote: > On 06/03/2015 02:53 PM, Timur Tabi wrote: > > On 06/03/2015 01:25 PM, Guenter Roeck wrote: > >> In general the idea here would be to use a crashdump kernel, which, > >> when loaded, would reset the watchdog before it fires. This kernel > >> would then

Re: [RFC PATCH 3/3] devicetree: macb: Add optional property tsu-clk

2015-09-13 Thread Harini Katakam
On Fri, Sep 11, 2015 at 10:22 PM, Sören Brinkmann wrote: > Hi Harini, > > On Fri, 2015-09-11 at 01:27PM +0530, Harini Katakam wrote: >> Add TSU clock frequency to be used for 1588 support in macb driver. >> >> Signed-off-by: Harini Katakam >> --- >> Documentation/devicetree/bindings/net/macb.txt

[GIT PULL] Thermal-SoC management updates for v4.3-rc2

2015-09-13 Thread Eduardo Valentin
Hello Rui, (apologize for duplicates, now copying the mailing lists) Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal fixes to receive Thermal-SoC Management updates for v4.3-rc2 with top-most eba4f88d5af84e0fcaa5d6eb4fe35a75c47203cb: thermal: cpu_

Re: [PATCH 02/39] nilfs2: drop null test before destroy functions

2015-09-13 Thread Ryusuke Konishi
On Sun, 13 Sep 2015 14:14:55 +0200, Julia Lawall wrote: > Remove unneeded NULL test. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ expression x; @@ > -if (x != NULL) > \(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x); > //

[PATCH v5 0/4] iio: new chemical sensor framework and channel types

2015-09-13 Thread Matt Ranostay
Changes from v4: * Add IIO_MOD_CO2 and IIO_MOD_VOC modifiers * Updated IIO_RESISTANCE and IIO_CONCENTRATION documentation * Moved the decimal point shifting to the scale value versus the reading Matt Ranostay (4): iio: chemical: Add IIO_CONCENTRATION channel type iio: resistance: add IIO_RESIS

[PATCH v5 4/4] iio: chemical: add SGX VZ89x VOC sensor support

2015-09-13 Thread Matt Ranostay
Add support for VZ89X sensors VOC and CO2 reporting channels in percentage which can be converted to part per million. Signed-off-by: Matt Ranostay --- .../ABI/testing/sysfs-bus-iio-chemical-vz89x | 7 + .../devicetree/bindings/i2c/trivial-devices.txt| 1 + drivers/iio/Kconfig

[PATCH v5 3/4] devicetree: add SGX Sensortech vendor id

2015-09-13 Thread Matt Ranostay
Signed-off-by: Matt Ranostay --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index ac5f0c3..281e8f0 100644 --- a/Documentati

[PATCH v5 1/4] iio: chemical: Add IIO_CONCENTRATION channel type

2015-09-13 Thread Matt Ranostay
There are air quality sensors that report data back in parts per million of VOC (Volatile Organic Compounds) which are usually indexed from CO2 or another common pollutant. This patchset adds an IIO_CONCENTRATION type that returns a percentage of substance because no other channels types fit this

[PATCH v5 2/4] iio: resistance: add IIO_RESISTANCE channel type

2015-09-13 Thread Matt Ranostay
Signed-off-by: Matt Ranostay --- Documentation/ABI/testing/sysfs-bus-iio | 8 drivers/iio/industrialio-core.c | 1 + include/uapi/linux/iio/types.h | 1 + 3 files changed, 10 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing

Re: The default value of enable_gpio in pwm-backlight driver?

2015-09-13 Thread Yingjoe Chen
Hi Alexandre, Thierry, On Thu, 2015-09-03 at 21:08 +0800, YH Huang wrote: <...> > From Alexandre Courbot <> > Subject [PATCH 2/2] pwm-backlight: switch to gpiod interface > Date Thu, 27 Feb 2014 14:53:34 +0900 > > Switch to the new gpiod interface, which allows to handle GPIO > properti

Re: [PATCH 2/2] Documentation: bindings: add description of phy for sdhci-of-arasan

2015-09-13 Thread Sören Brinkmann
Hi Shawn, On Fri, 2015-09-11 at 04:55PM +0800, Shawn Lin wrote: > This patch adds phys and phy-names for sdhci-of-arasan as optional > properties, and details the example as well. > > Signed-off-by: Shawn Lin > --- > > Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 10 -- > 1

RE: [PATCH] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-13 Thread Yuantian Tang
Hello Tejun, The toolchain I used is: gcc version 4.8.3 20140401 (prerelease) (Linaro GCC 4.8-2014.04) I have not found this warning using this tool chain with -Wuninitialized flag. Regards, Yuantian > -Original Message- > From: Tejun Heo [mailto:hte...@gmail.com] On Behalf Of Tejun He

[Bugfix 1/3] eata: Use IDA to manage eata board IDs

2015-09-13 Thread Jiang Liu
Use IDA to manage eata board IDs, so we could dynamically allocate and free board IDs later. Signed-off-by: Jiang Liu --- drivers/scsi/eata.c | 46 ++ 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/drivers/scsi/eata.c b/drivers/scsi/

[PATCH] thermal: imx: register irq handler later in probe

2015-09-13 Thread Bai Ping
The irq handler should be registered after the tempmon module has been initialized in a known state and the thermal_zone and cpu_cooling device have been registered successfully. Otherwise, if the irq is triggled earlier before thermal probe has been finished, it may lead to 'NULL' pointer kernel p

[Bugfix 3/3] eata: Enhance eata driver to support PCI device hot-removal

2015-09-13 Thread Jiang Liu
Due to having no hardware for testing, this is just a sample code to support PCI device hot-removal. It just passing compilation, no any tests. Signed-off-by: Jiang Liu --- drivers/scsi/eata.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/scsi/eata.c b

[Bugfix 0/3] Convert eata driver to a normal PCI device driver

2015-09-13 Thread Jiang Liu
Hi Authur, As suggested by Bjorn, patch 1-2 set implement a PCI device driver to manage eata PCI devices. And patch 3 tries to support PCI device hot-removal for eata, but I have no change to test due to limited knowledge about scsi subsystem and lacking of hardware for tests. So y

[Bugfix 2/3] eata: Implement PCI driver to manage eata PCI devices

2015-09-13 Thread Jiang Liu
Previously the eata driver just grabs and accesses eata PCI devices without implementing a PCI device driver, that causes troubles with latest IRQ related Commit 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()") changes the way to allocate PCI legacy IRQ for PCI devic

Re: [PATCH v4 0/5] Let the power allocator thermal governor run on any thermal zone

2015-09-13 Thread Eduardo Valentin
Javi, On Wed, Aug 26, 2015 at 02:26:39PM +0100, Javi Merino wrote: > Relax the thermal governor requirements of sustainable_power and at > least two trip points so that it can be bound to any thermal zone. > Its behavior won't be optimal, it would be the best it can with the > data provided. > >

Re: [PATCH 2/2] Documentation: bindings: add description of phy for sdhci-of-arasan

2015-09-13 Thread Shawn Lin
在 2015/9/14 10:47, Sören Brinkmann 写道: Hi Shawn, On Fri, 2015-09-11 at 04:55PM +0800, Shawn Lin wrote: This patch adds phys and phy-names for sdhci-of-arasan as optional properties, and details the example as well. Signed-off-by: Shawn Lin --- Documentation/devicetree/bindings/mmc/arasan,s

[PATCH] clk: add CS2000 Fractional-N driver

2015-09-13 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch adds CS2000 Fractional-N driver as clock provider. It is useful if it supports runtime clock setting, but it supports fixed clock rate only at this point. Signed-off-by: Kuninori Morimoto --- .../devicetree/bindings/clock/cs2000-cp.txt| 20 ++ driver

Re: List corruption on epoll_ctl(EPOLL_CTL_DEL) an AF_UNIX socket

2015-09-13 Thread Eric Wong
+cc Jason Baron since he might be able to provide more insight into epoll. Mathias Krause wrote: > Hi, > > this is an attempt to resurrect the thread initially started here: > > http://thread.gmane.org/gmane.linux.network/353003 > > As that patch fixed the issue for the mentioned reproducer,

linux-next: Tree for Sep 14

2015-09-13 Thread Stephen Rothwell
Hi all, Changes since 20150912: Dropped tree: akpm-current (build conflict) I used the h8300 tree from next-20150828 since the current tree has been rebased onto something very old :-( The bluetooth tree gained an expected build failure from an interaction with a patch from Andrew's series. I

[PATCHv2 00/10] thermal: add COMPILE_TEST (on drivers)

2015-09-13 Thread Eduardo Valentin
Hi, This is v2. Now I tested the series with bfin as target, to avoid false positives. The difference from V1: - Added acked-bys - Removed patches that could cause compilation issues BR, Eduardo Valentin (10): thermal: hisi: allow compile test thermal: spear: allow compile test thermal: r

[PATCHv2 01/10] thermal: hisi: allow compile test

2015-09-13 Thread Eduardo Valentin
Adding COMPILE_TEST flag to hisi driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig

[PATCHv2 02/10] thermal: spear: allow compile test

2015-09-13 Thread Eduardo Valentin
Adding COMPILE_TEST flag to spear driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Acked-by: Viresh Kumar Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCHv2 04/10] thermal: kirkwood: allow compile test

2015-09-13 Thread Eduardo Valentin
Adding COMPILE_TEST flag to kirkwood driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kcon

[PATCHv2 07/10] thermal: exynos: allow compile test

2015-09-13 Thread Eduardo Valentin
Adding COMPILE_TEST flag to exynos driver to facilitate maintenance. Cc: Lukasz Majewski Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-samsung-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 inser

[PATCHv2 05/10] thermal: dove: allow compile test

2015-09-13 Thread Eduardo Valentin
Adding COMPILE_TEST flag to dove driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig

[PATCHv2 03/10] thermal: rockchip: allow compile test

2015-09-13 Thread Eduardo Valentin
Adding COMPILE_TEST flag to rockchip driver to facilitate maintenance. Cc: Zhang Rui Cc: Heiko Stuebner Cc: linux...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/ther

[PATCHv2 09/10] thermal: ti-soc: allow compile test

2015-09-13 Thread Eduardo Valentin
Adding COMPILE_TEST flag to ti-soc driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-o...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/ti-soc-thermal/Kconfig | 8 1 file changed, 4 insertions(+

[PATCHv2 08/10] thermal: qcom_spmi: allow compile test

2015-09-13 Thread Eduardo Valentin
Adding COMPILE_TEST flag to qcom_spmi driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kco

[PATCHv2 06/10] thermal: armada: allow compile test

2015-09-13 Thread Eduardo Valentin
Adding COMPILE_TEST flag to armada driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfi

[PATCHv2 10/10] thermal: ti-soc: Kconfig fix to avoid menu showing wrongly

2015-09-13 Thread Eduardo Valentin
Move the dependencies to menu, so we avoid showing it wrongly. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-o...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig| 1 + drivers/thermal/ti-soc-thermal/Kconfig | 2

Re: AGP cards in PCI mode (fake slots like AGPro, AGP Express, AGI, AGX, XGP)

2015-09-13 Thread Alex Deucher
On Sun, Sep 13, 2015 at 2:57 PM, Ondrej Zary wrote: > Hello, > I have a PC Chips A31G board with AGPro slot and found that nouveau does not > work properly with it. Console works but reverts to software mode, X11 hangs > with mouse cursor only. > > The slot is physically AGP 1.5V but is wired to P

Re: [PATCH] platform-msi: Do not cache msi_desc in handler_data

2015-09-13 Thread Jiang Liu
On 2015/9/13 20:37, Marc Zyngier wrote: > The current implementation of platform MSI caches the msi_desc > pointer in irq_data::handler_data. This is a bit silly, as > we also have irq_data::msi_desc, which is perfectly valid. > > Remove the useless assignment and simplify the whole flow. > > Rep

Re: [PATCH] CMA: fix CONFIG_CMA_SIZE_MBYTES overflow in 64bit

2015-09-13 Thread Tan Xiaojun
Hi, please review and give some suggestions. Any suggestion by anyone is fine to me. Thanks Xiaojun On 2015/9/7 12:21, Tan Xiaojun wrote: > In 64bit system, if you set CONFIG_CMA_SIZE_MBYTES>=2048, it will > overflow and size_bytes will be a big wrong number. > > Set CONFIG_CMA_SIZE_MBYTES=2048

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-13 Thread Dongsheng Yang
On 09/12/2015 07:22 AM, Davidlohr Bueso wrote: On Fri, 11 Sep 2015, Vinson Lee wrote: Hi. With the latest Linux 4.3-rc1, I am hitting this build error on CentOS 5.11. HOSTCC scripts/sign-file scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory #include fwiw/r

Re: Use (two) different compilers at build-time?

2015-09-13 Thread Fengguang Wu
On Sun, Sep 13, 2015 at 05:21:41PM +0200, Sedat Dilek wrote: > On Thu, Sep 10, 2015 at 2:25 AM, Fengguang Wu wrote: > > On Mon, Sep 07, 2015 at 09:12:58PM +0200, Sedat Dilek wrote: > >> Hi, > >> > >> is it possible to use a different compiler at build-time? > > > > btw, it'd be great if clang can

Re: [PATCH 15/17] thermal: st: allow compile test

2015-09-13 Thread Eduardo Valentin
On Fri, Sep 11, 2015 at 10:23:35AM +0100, Lee Jones wrote: > On Wed, 09 Sep 2015, Eduardo Valentin wrote: > > > Adding COMPILE_TEST flag to st driver to facilitate > > maintenance. > > > > Cc: Zhang Rui > > Cc: Nicolas Boichat > > Cc: Mark Brown > > Cc: Fabian Frederick > > Cc: Wolfram Sang

[PATCH V2] kasan: use IS_ALIGNED in memory_is_poisoned_8()

2015-09-13 Thread Xishi Qiu
Use IS_ALIGNED() to determine whether the shadow span two bytes. It generates less code and more readable. Add some comments in shadow check functions. Please apply "kasan: fix last shadow judgement in memory_is_poisoned_16()" first. Signed-off-by: Xishi Qiu --- mm/kasan/kasan.c | 21 +

Re: [PATCH] misc: add CS2000 Fractional-N driver

2015-09-13 Thread Kuninori Morimoto
Hi Arnd Thank you for your feedback > > From: Kuninori Morimoto > > > > This patch adds CS2000 Fractional-N driver as clock provider. > > It is useful if it supports runtime clock setting, but it supports > > fixed clock rate at this point. > > > > Signed-off-by: Kuninori Morimoto > > --- >

Re: [PATCH V2 3/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-09-13 Thread chenfeng
On 2015/9/11 16:41, Arnd Bergmann wrote: > On Friday 11 September 2015 16:18:38 Chen Feng wrote: >> +static int __init hi6220_reset_init(void) >> +{ >> +int ret; >> +struct device_node *np; >> +struct hi6220_reset_data *data; >> + >> +data = kzalloc(sizeof(*data), GFP_KERNEL); >>

Re: [PATCH V2 3/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-09-13 Thread chenfeng
On 2015/9/12 14:06, xuyiping wrote: > > > On 2015/9/11 16:18, Chen Feng wrote: >> Add reset driver for hi6220-hikey board,this driver supply deassert >> of IP. on hi6220 SoC. >> >> Signed-off-by: Chen Feng >> --- >> drivers/reset/Kconfig | 1 + >> drivers/reset/Makefile

[PATCH v9 5/5] QE: Move QE from arch/powerpc to drivers/soc

2015-09-13 Thread Zhao Qiang
ls1 has qe and ls1 has arm cpu. move qe from arch/powerpc to drivers/soc/fsl to adapt to powerpc and arm Signed-off-by: Zhao Qiang --- Changes for v2: - move code to driver/soc Changes for v3: - change drivers/soc/qe to drivers/soc/fsl-qe Changes for v4: - move drivers/soc

[PATCH v9 4/5] CPM: modify cpm_muram_* functions

2015-09-13 Thread Zhao Qiang
CPM and QE have the same muram, shared the same muram management functions. Delete cpm_muram_* functions, using qe_muram_*. Signed-off-by: Zhao Qiang --- Changes for v9: - splitted from patch 3/5, modify cpm muram management functions. arch/powerpc/include/asm/cpm.h | 59

[PATCH v9 3/5] qe_common: add qe_muram_ functions to manage muram

2015-09-13 Thread Zhao Qiang
muram is used for qe, add qe_muram_ functions to manage muram. Signed-off-by: Zhao Qiang --- Changes for v2: - no changes Changes for v3: - no changes Changes for v4: - no changes Changes for v5: - no changes Changes for v6: - using genalloc instead rheap t

[PATCH v9 2/5] genalloc:support allocating specific region

2015-09-13 Thread Zhao Qiang
Add new algo for genalloc, it reserve a specific region of memory matching the size requirement (no alignment constraint) Signed-off-by: Zhao Qiang --- Changes for v9: - reserve a specific region, if the return region - is not during the specific region, return fail. include/lin

[PATCH v9 1/5] genalloc:support memory-allocation with bytes-alignment to genalloc

2015-09-13 Thread Zhao Qiang
Bytes alignment is required to manage some special RAM, so add gen_pool_first_fit_align to genalloc, meanwhile add gen_pool_alloc_data to pass data to gen_pool_first_fit_align(modify gen_pool_alloc as a wrapper) Signed-off-by: Zhao Qiang --- Changes for v6: - patches set v6 include a new

Re: [PATCH v6 0/6] Altera PCIe host controller driver with MSI support

2015-09-13 Thread Ley Foon Tan
On Tue, Sep 1, 2015 at 6:40 PM, Marc Zyngier wrote: > On 01/09/15 11:30, Ley Foon Tan wrote: >> This is the 6th version of patch set to add support for Altera PCIe host >> controller with MSI feature on Altera FPGA device families. This patchset >> mainly resolve comments from Marc Zyngier in v5 a

RE: [PATCH v5 1/2] mfd: update Intel soc PMIC header file to support Broxton WC PMIC

2015-09-13 Thread Zha, Qipeng
> > >> > > >> +#define INIT_REGMAP_IRQ(_irq, _off, _mask) \ > > >> +[_irq] = { .reg_offset = (_off), .mask = (_mask) } > > >> + > > > > >No, that's not what I asked. > > > > >Either this macro is going to be useful to *everyone*, or it's probably > > >not useful to *anyone

Re: [RFC 00/13] perf_env/CPU socket reorg/fixes

2015-09-13 Thread Wangnan (F)
On 2015/9/11 21:36, Arnaldo Carvalho de Melo wrote: Em Fri, Sep 11, 2015 at 10:30:52AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Sep 11, 2015 at 10:29:37AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Sep 11, 2015 at 10:03:39AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, S

Re: Build regressions/improvements in v4.3-rc1

2015-09-13 Thread Guenter Roeck
Russell, On 09/13/2015 09:57 AM, Russell King - ARM Linux wrote: On Sun, Sep 13, 2015 at 08:19:26AM -0700, Guenter Roeck wrote: arm:rpc_defconfig: fs/fat/dir.c: In function 'fat_ioctl_filldir': fs/fat/dir.c:752:43: internal compiler error: Max. number of generated reload insns per insn is ach

Re: [RFC 00/13] perf_env/CPU socket reorg/fixes

2015-09-13 Thread Wangnan (F)
On 2015/9/11 21:03, Arnaldo Carvalho de Melo wrote: Em Fri, Sep 11, 2015 at 08:20:54PM +0800, Wangnan (F) escreveu: I have tested patch 1 to 10. They looks good to me except patch 4/13. Please Ok, I'll take that as a Tested-by: you for 1-10 with 4/13 having the checks added, ok? Sure. Test

Re: [PATCH] kasan: use IS_ALIGNED in memory_is_poisoned_8()

2015-09-13 Thread Xishi Qiu
On 2015/9/12 6:47, Andrew Morton wrote: > On Fri, 11 Sep 2015 10:02:29 +0800 Xishi Qiu wrote: > >> Use IS_ALIGNED() to determine whether the shadow span two bytes. >> It generates less code and more readable. >> > > Please cc Andrey Ryabinin on kasan patches. Sorry, my mistake. > >> --- a/mm

Re: Please remove commit 6609b638353c99c5736e05abd17197f1cb776e0e as it makes me feel miserable

2015-09-13 Thread Diego Viola
On Sun, Sep 13, 2015 at 9:24 PM, Ken Moffat wrote: > On Sun, Sep 13, 2015 at 08:06:02PM -0300, Diego Viola wrote: >> Hello, >> >> Can someone please remove this commit from the repo: >> >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/README?id=6609b638353c99c5736e05abd171

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

2015-09-13 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the kdbus tree got a conflict in: tools/testing/selftests/Makefile between commit: b6d973441675 ("selftests: add membarrier syscall test") from Linus' tree and commit: b7270dd9f7d4 ("kdbus: add selftests") from the kdbus tree. I fixed it up (see be

[PATCH v3 2/2] ARM: dts: Add exynos5422-odroidxu4 board

2015-09-13 Thread Krzysztof Kozlowski
Add Hardkernel Odroid XU4 board Device Tree sources. The board differs from Odroid XU3 and XU3-Lite by: 1. No green and red LEDs (except standard red power LED). 2. Only two PWM outputs are used (fan and blue LED) 3. No audio codec. 4. Two USB3 ports in host mode (no micro USB3 connector for OTG).

[PATCH v3 1/2] ARM: dts: Split audio configuration to separate exynos5422-odroidxu3-audio

2015-09-13 Thread Krzysztof Kozlowski
The Odroid XU4 board does not have audio codec so before adding DTS for new board split the audio codec to separate DTSI file. Include the audio codec DTSI in Odroid XU3 and XU3-Lite boards. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas --- Changes since v2: 1. Add Ja

linux-next: stats (Was: Linux 4.3-rc1 - merge window closed)

2015-09-13 Thread Stephen Rothwell
Hi all, As usual, the executive friendly graph is at http://neuling.org/linux-next-size.html :-) (No merge commits counted, next-20150831 was the first linux-next after the merge window opened.) Commits in v4.3-rc1 (relative to v4.2):10756 Commits in next-20150831:

Re: [Xen-devel] [PATCH 0/2] block/xen-blkfront: Support non-indirect with 64KB page granularity

2015-09-13 Thread Bob Liu
On 09/14/2015 01:47 AM, Julien Grall wrote: > > > On 13/09/2015 13:44, Bob Liu wrote: >> I may misunderstood here. >> But I think same changes are also required even if backend supports indirect >> grant when frontend is using 64KB page granularity. >> Else >> 1) How to set up the grant map fo

Re: Please remove commit 6609b638353c99c5736e05abd17197f1cb776e0e as it makes me feel miserable

2015-09-13 Thread Ken Moffat
On Sun, Sep 13, 2015 at 08:06:02PM -0300, Diego Viola wrote: > Hello, > > Can someone please remove this commit from the repo: > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/README?id=6609b638353c99c5736e05abd17197f1cb776e0e > > I made a huge grammar mistake in my com

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

2015-09-13 Thread Stephen Rothwell
Hi Gustavo, On Mon, 14 Sep 2015 10:14:28 +1000 Stephen Rothwell wrote: > > I applied the patches that Andrew has had in his post merge series > (but I think you were sent a rolled up version): Actually it was sent by Alexander to Marcel: From: Alexander Aring To: mar...@holtmann.org Cc: Andre

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

2015-09-13 Thread Stephen Rothwell
Hi Gustavo, After merging the bluetooth tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/ieee802154/at86rf230.c: In function 'at86rf230_s tats_show': drivers/net/ieee802154/at86rf230.c:1650:6: error: void value not ignored as it ought to be ret = seq_printf(fi

  1   2   3   4   >