[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

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

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,

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

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 > --- >

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

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

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 >> --- >>

[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:

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

[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 ---

[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

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 >

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 -- >

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

[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

[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

[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

[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

[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

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 ---

[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 ++

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

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:

[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

[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

[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

[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 ---

[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

[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

[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

[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

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. > >

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

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

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

[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

[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.

[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

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

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,

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

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.

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. > >> ---

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: >> >>

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

[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

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

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

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:

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 =

[PATCH v5 10/10] ASoC: rockchip_i2s: modify DMA max burst to 1

2015-09-13 Thread Shawn Lin
From: Yiwei Cai Test with command - arecord -D hw:0,0 /tmp/a.wav, there are the error dump: dma-pl330 ffb2.dma-controller: fill_queue:2251 Bad Desc(7) This error is happening when no a multiple of burst size * burst length are coming in. The root cause is pl330 dma controller on Rockchips'

[PATCH] userfaultfd: add missing mmput() in error path

2015-09-13 Thread Eric Biggers
Signed-off-by: Eric Biggers --- fs/userfaultfd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/userfaultfd.c b/fs/userfaultfd.c index 634e676..f9aeb40 100644 --- a/fs/userfaultfd.c +++ b/fs/userfaultfd.c @@ -1287,8 +1287,10 @@ static struct file

Re: linux-next: bad base of the h8300 tree

2015-09-13 Thread Stephen Rothwell
Hi Yoshinori, On Tue, 1 Sep 2015 07:40:33 +1000 Stephen Rothwell wrote: > > On Mon, 31 Aug 2015 07:43:04 +1000 Stephen Rothwell > wrote: > > > > The h8300 tree today has been based on linux-next. This cannto work. > > Please rebase this onto Linus' tree (or some other stable base). > > > >

[PATCH v5 08/10] spi: rockchip: modify DMA max burst to 1

2015-09-13 Thread Shawn Lin
From: Addy Ke Generic dma controller on Rockchips' platform cannot support DMAFLUSHP instruction which make dma to flush the req of non-aligned or non-multiple of what we need. That will cause an unrecoverable dma bus error. The saftest way is to set dma max burst to 1. Signed-off-by: Addy ke

[PATCH v5 09/10] snd: dmaengine-pcm: add snd_dmaengine_pcm_get_quirks interface

2015-09-13 Thread Shawn Lin
Add snd_dmaengine_pcm_get_quirks for I2S devices to query dma controller's quirks if they need it to make special workaround due to broken dma controller design Signed-off-by: Shawn Lin --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: None

[PATCH v5 07/10] DMA: pl330: implement dmaengine_get_quirks hook

2015-09-13 Thread Shawn Lin
By adding this function, slave device can query quirks from pl330 if they need special settings for dmaengine. Signed-off-by: Shawn Lin --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: None drivers/dma/pl330.c | 9 + 1 file changed, 9

[PATCH v5 06/10] dmaengine: add API for getting dma controller's quirk

2015-09-13 Thread Shawn Lin
Add dmaengine_get_quirks API for peripheral devices to query quirks if they need it to make special workaround due to broken dma controller design. Signed-off-by: Shawn Lin --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: None

[PATCH v5 05/10] ARM: dts: Add arm,pl330-broken-no-flushp quirk for rk3xxx platform

2015-09-13 Thread Shawn Lin
Pl330 integrated in rk3xxx platform doesn't support DMAFLUSHP function. So we add arm,pl330-broken-no-flushp quirk for it. Signed-off-by: Shawn Lin cc: Heiko Stuebner cc: Doug Anderson cc: Olof Johansson --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[PATCH v5 04/10] ARM: dts: Add arm,pl330-broken-no-flushp quirk for rk3288 platform

2015-09-13 Thread Shawn Lin
From: Addy Ke Pl330 integrated in rk3288 platform doesn't support DMAFLUSHP function. So we add arm,pl330-broken-no-flushp quirk for it. Signed-off-by: Addy Ke Signed-off-by: Shawn Lin cc: Heiko Stuebner cc: Olof Johansson cc: Sonny Rao Reviewed-by: Doug Anderson Reviewed-by: Sonny Rao

[PATCH v5 03/10] DMA: pl330: add quirk for broken no flushp

2015-09-13 Thread Shawn Lin
From: Addy Ke This patch add "arm,pl330-broken-no-flushp" quirk to avoid execute DMAFLUSHP if Soc doesn't support it. Signed-off-by: Addy Ke Signed-off-by: Shawn Lin cc: Doug Anderson cc: Heiko Stuebner cc: Olof Johansson Reviewed-by: Sonny Rao --- Changes in v5: None Changes in v4:

[PATCH v5 01/10] DMA: pl330: support burst mode for dev-to-mem and mem-to-dev transmit

2015-09-13 Thread Shawn Lin
From: Boojin Kim This patch adds to support burst mode for dev-to-mem and mem-to-dev transmit. Signed-off-by: Boojin Kim Signed-off-by: Addy Ke Signed-off-by: Shawn Lin cc: Heiko Stuebner cc: Doug Anderson cc: Olof Johansson Reviewed-by: Sonny Rao --- Changes in v5: - add Mark's tag

[PATCH v5 02/10] Documentation: arm-pl330: add description of arm,pl330-broken-no-flushp

2015-09-13 Thread Shawn Lin
Signed-off-by: Shawn Lin Reviewed-by: Doug Anderson Reviewed-by: Sonny Rao --- Changes in v5: None Changes in v4: None Changes in v3: - add Reviewed-by: Sonny Rao Changes in v2: - add Reviewed-by: Doug Anderson Changes in v1: - rename broken-no-flushp to "arm,pl330-broken-no-flushp"

[PATCH v5 0/10] Fix broken DMAFLUSHP on Rockchips platform

2015-09-13 Thread Shawn Lin
The purpose of the DMAFLUSHP instruction: - Tell the peripheral to clear its status and control registers. - Send a message to the peripheral to resend its level status. There are 3 timings described in PL330 Technical Reference Manual: - Timing 1: Burst request, can work well without DMAFLUSHP.

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-13 Thread Dave Chinner
On Sat, Sep 12, 2015 at 07:00:27PM -0400, Chris Mason wrote: > On Fri, Sep 11, 2015 at 04:36:39PM -0700, Linus Torvalds wrote: > > On Fri, Sep 11, 2015 at 4:16 PM, Chris Mason wrote: > > > > > > For 4.3 timeframes, what runs do you want to see numbers for: > > > > > > 1) revert > > > 2) my hack >

Please remove commit 6609b638353c99c5736e05abd17197f1cb776e0e as it makes me feel miserable

2015-09-13 Thread Diego Viola
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 commit message that I can't forget, it makes me feel terrible and I can't

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

2015-09-13 Thread Vince Weaver
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 to fix it. > > Compile tested only, I'll try them after a sleep.. Sorry

Re: [PATCH 2/2] ARM: dts: rockchip: Add dtb for the Radxa Rock 2 Square board

2015-09-13 Thread Javier Martinez Canillas
Hello Sjoerd, On Sat, Sep 12, 2015 at 12:36 AM, Sjoerd Simons wrote: [snip] > + > + regulators { > + vcc_ddr: REG1 { > + regulator-name = "VCC_DDR"; > + regulator-min-microvolt = <120>; > +

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-13 Thread Dave Chinner
On Sun, Sep 13, 2015 at 09:12:44AM -0400, Chris Mason wrote: > On Sat, Sep 12, 2015 at 07:46:32PM -0400, Chris Mason wrote: > > I don't think the XFS numbers can be trusted too much since it was > > basically bottlenecked behind that single pegged CPU. It was bouncing > > around and I couldn't

Re: [PATCH v2] atomics,cmpxchg: Privatize the inclusion of asm/cmpxchg.h

2015-09-13 Thread Davidlohr Bueso
On Wed, 09 Sep 2015, Boqun Feng wrote: After commit: atomics: add acquire/release/relaxed variants of some atomic operations Architectures may only provide {cmp,}xchg_relaxed definitions in asm/cmpxchg.h. Other variants, such as {cmp,}xchg, may be built in linux/atomic.h, which means simply

[PATCH] [media] lnbh25: Fix lnbh25_attach() function return type

2015-09-13 Thread Javier Martinez Canillas
If CONFIG_DVB_LNBH25 is disabled, a stub static inline function is defined that just prints a warning about the driver being disabled but the function return type was wrong which caused a build error. Fixes: e025273b86fb ("[media] lnbh25: LNBH25 SEC controller driver") Reported-by: Fengguang Wu

[PATCH v2] [media] horus3a: Fix horus3a_attach() function parameters

2015-09-13 Thread Javier Martinez Canillas
If CONFIG_DVB_HORUS3A is disabled a stub static inline function is defined that just prints a warning about the driver being disabled but the function parameters were wrong which caused a build error. Fixes: a5d32b358254f ("[media] horus3a: Sony Horus3A DVB-S/S2 tuner driver") Reported-by:

[PATCH] [media] horus3a: Fix horus3a_attach() function parameters

2015-09-13 Thread Javier Martinez Canillas
If CONFIG_DVB_HORUS3A is disabled a stub static inline function is defined that just prints a warning about the driver being disabled but the function parameters were wrong which caused a build error. Reported-by: Fengguang Wu Signed-off-by: Javier Martinez Canillas ---

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

2015-09-13 Thread Ilia Mirkin
On Sun, Sep 13, 2015 at 6:01 PM, Ondrej Zary wrote: > On Sunday 13 September 2015 21:12:25 Ilia Mirkin wrote: >> 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.

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

2015-09-13 Thread Ondrej Zary
On Sunday 13 September 2015 21:12:25 Ilia Mirkin wrote: > 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

Re: [PATCH 1/6] scripts/kernel-doc: Replacing highlights hash by an array

2015-09-13 Thread Lukas Wunner
Hi, On Sun, Sep 13, 2015 at 02:36:47PM -0600, Jonathan Corbet wrote: > On Mon, 7 Sep 2015 17:01:59 -0300 > Danilo Cesar Lemes de Paula wrote: > > The "highlight" code is very sensible to the order of the hash keys, > > but the order of the keys cannot be predicted. It generates > > faulty

[PATCH v2] hwmon: (nct7802) hwmon: (nct7802) Add device tree support

2015-09-13 Thread Constantine Shulyupin
Introduced properties sensorX-type with string values "disabled", "thermal diode", "thermistor" and "voltage". Signed-off-by: Constantine Shulyupin --- Changed in v2: - removed tempX_type - introduced nuvoton,sensorX-type with string values Changed in v1: - Introduced tempX_type with numerical

Re: [PATCH 0/6] scripts/kernel-doc: Kernel-doc improvements

2015-09-13 Thread Daniel Vetter
On Sun, Sep 13, 2015 at 9:13 PM, Jonathan Corbet wrote: > On Sun, 13 Sep 2015 12:36:07 +0200 > Daniel Vetter wrote: > >> Personally I don't care which kind of text markup we pick and wich >> converter, as long as the project looks reasonable far away from >> immeninent death (way too many

Re: [BUG] Kernel error when first driver unbind with empty MMC slot

2015-09-13 Thread Petr Cvek
Dne 13.9.2015 v 11:56 Robert Jarzmik napsal(a): > Petr Cvek writes: > >> During testing of these patches >> >> [PATCH] mmc: pxamci: fix card detect threaded interrupt >> [PATCH 1/3] dmaengine: virt-dma: don't always free descriptor upon >> completion >> >> I have found unrelated

  1   2   3   4   5   6   7   >