Re: [PATCH v4 2/2] ksm: provide support to use deferrable timers for scanner thread

2014-08-28 Thread Hugh Dickins
Sorry for holding you up, I'm slow. and needed to think about this more, On Wed, 20 Aug 2014, Chintan Pandya wrote: KSM thread to scan pages is scheduled on definite timeout. That wakes up CPU from idle state and hence may affect the power consumption. Provide an optional support to use

Re: [PATCH 2/3] cpufreq: cpu0: Removes unnecessary IS_ERR check on clk

2014-08-28 Thread Shawn Guo
On Thu, Aug 28, 2014 at 12:00:11AM -0700, Pramod Gurav wrote: This removes unnecessary IS_ERR check on clk when in failure path as execution wont reach till there with clk being a err. CC: Shawn Guo shawn@linaro.org CC: Rafael J. Wysocki r...@rjwysocki.net CC: Viresh Kumar

Re: [PATCH v5 4/6] acerhdf: Use bang-bang thermal governor

2014-08-28 Thread Borislav Petkov
On Thu, Aug 28, 2014 at 09:17:52AM +0800, Zhang Rui wrote: No, I can not apply the whole series. I should take patch 3/6, and the others should goto Matthew Garrett' tree. Or I can take them with Matthew' Acked-by. So put him on CC. Matt, can you please ack those? Btw, I've added the new

Re: [PATCH 3/3] cpufreq: cpu0: Convert pr_ to dev_ as struct device is available

2014-08-28 Thread Shawn Guo
On Thu, Aug 28, 2014 at 12:00:12AM -0700, Pramod Gurav wrote: CC: Shawn Guo shawn@linaro.org CC: Rafael J. Wysocki r...@rjwysocki.net CC: Viresh Kumar viresh.ku...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/cpufreq/cpufreq-cpu0.c | 12 ++--

Re: Re: Re: [RFC PATCH 10/10] scsi/trace: Use scsi_print_command trace point instead of printk

2014-08-28 Thread Yoshihiro YUNOMAE
Hi Hannes, I tried to remove duplicated decoder of SCSI command, but the output format of it in constants.c is different from it in traceevents. I have two questions for it. (Ex1) traceevents: TEST_UNIT_READY constants: Test Unit Ready = Which of XXX_YYY_ZZZ and Xxx Yyy Zzz should the kernel

Re: [PATCH v5] mm: softdirty: enable write notifications on VMAs after VM_SOFTDIRTY cleared

2014-08-28 Thread Cyrill Gorcunov
On Wed, Aug 27, 2014 at 04:12:43PM -0700, Hugh Dickins wrote: Weak argument to me. Yes. However rarely it's modified, we don't want any chance of it corrupting another flag. VM_SOFTDIRTY is special in the sense that it's maintained in a very different way from the other VM_flags.

RE: [PATCH RFC] x86 early_ioremap: increase FIX_BTMAPS_SLOTS to 8

2014-08-28 Thread Zheng, Lv
Hi, From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Dave Young Sent: Tuesday, August 26, 2014 5:07 PM 3.16 kernel boot fail with earlyprintk=efi, it keeps scrolling at the bottom line of screen. Bisected, the first bad commit is below:

Re: [PATCH 0/2] x86: Speed up ioremap operations

2014-08-28 Thread Ingo Molnar
* Andrew Morton a...@linux-foundation.org wrote: On Wed, 27 Aug 2014 17:59:27 -0500 Mike Travis tra...@sgi.com wrote: We have a large university system in the UK that is experiencing very long delays modprobing the driver for a specific I/O device. The delay is from 8-10 minutes per

Re: [PATCH 0/4] x86, fpu: copy_process's FPU paths cleanups

2014-08-28 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: Oleg, this is unacceptable. Last week was Kernel Summit and that was right on the heels of a merge window. We are backlogged like crazy and being rude doesn't help one iota. Also, the previous set of patches was under active review by Linus with

Re: [RFC PATCH 0/9] dt: dependencies (for deterministic driver initialization order based on the DT)

2014-08-28 Thread Alexander Holler
Am 27.08.2014 18:37, schrieb Stephen Warren: Of course, there are probably cases where we could/should add some more phandles/... and likewise cases where we shouldn't. That's why detailed research is needed. Just because I'm curious, I wonder how this research does or shoud look like.

Re: [PATCH 2/2] android: add sync_fence_create_dma

2014-08-28 Thread Maarten Lankhorst
Hey, On 15-08-14 08:46, Greg Kroah-Hartman wrote: On Thu, Aug 14, 2014 at 11:54:52AM +0200, Maarten Lankhorst wrote: This allows users of dma fences to create a android fence. Who is going to use these functions? I need an in-kernel user before I can add new api calls. So I found a

Re: [PATCH 2/2] arm64: take onlined cpus into account when setting irq affinity in migrate_one_irq

2014-08-28 Thread byungchul park
On Wed, Aug 27, 2014 at 7:40 PM, Sudeep Holla sudeep.ho...@arm.com wrote: On 27/08/14 10:30, byungchul.p...@lge.com wrote: From: Byungchul Park byungchul.p...@lge.com This patch ensures that the cpu being offlined is not present in the affinity mask. I agree that this patch fixes the

Re: [PATCH] pinctrl: qcom: Release pin ranges when gpiochip_irqchip_add fails

2014-08-28 Thread Pramod Gurav
On Thursday 28 August 2014 02:54 AM, Bjorn Andersson wrote: On Wed, Aug 27, 2014 at 3:57 AM, Pramod Gurav pramod.gu...@smartplayin.com wrote: This patches adds a call to gpiochip_remove_pin_ranges when gpiochip_irqchip_add fails to release memory allocated for pin_ranges. diff --git

Linux 3.12.27

2014-08-28 Thread Jiri Slaby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm announcing the release of the 3.12.27 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be

Re: [PATCH v2] DRBG: fix maximum value checks on 32 bit systems

2014-08-28 Thread Stephan Mueller
Am Mittwoch, 27. August 2014, 21:35:28 schrieb Herbert Xu: Hi Herbert, On Tue, Aug 26, 2014 at 11:36:54AM +0200, Stephan Mueller wrote: The max_addtllen and max_req are defined in drbg_cores[] in crypto/drbg.c for each DRBG type. As size_t on a 32 bit system is 32 bit the bit shifts would

Re: [PATCH v10 00/21] Support ext4 on NV-DIMMs

2014-08-28 Thread Dave Chinner
On Wed, Aug 27, 2014 at 02:30:55PM -0700, Andrew Morton wrote: On Wed, 27 Aug 2014 16:22:20 -0500 (CDT) Christoph Lameter c...@linux.com wrote: Some explanation of why one would use ext4 instead of, say, suitably-modified ramfs/tmpfs/rd/etc? The NVDIMM contents survive reboot and

DRBG: remove test for uninitialized DRBG handle

2014-08-28 Thread Stephan Mueller
The drbg_healthcheck() contains a test to call the DRBG with an uninitialized DRBG cipher handle. As this is an inappropriate use of the kernel crypto API to try to generate random numbers before initialization, checks verifying for an initialized DRBG during the generate function have been

Re: [PATCH 3/4] watchdog: add driver for Ricoh RN5T618 watchdog

2014-08-28 Thread Lee Jones
On Wed, 27 Aug 2014, Guenter Roeck wrote: On Wed, Aug 27, 2014 at 12:13:56AM +0200, Beniamino Galvani wrote: This adds a driver for the watchdog timer available in Ricoh RN5T618 PMIC. The device supports a programmable expiration time of 1, 8, 32 or 128 seconds. Signed-off-by:

Re: [PATCH 3/3] lpc_ich: Add Device IDs for Intel 9 Series PCH

2014-08-28 Thread Lee Jones
On Wed, 27 Aug 2014, James Ralston wrote: This patch adds the LPC Device IDs for the Intel 9 Series PCH. Signed-off-by: James Ralston james.d.rals...@intel.com --- drivers/mfd/lpc_ich.c | 11 +++ 1 file changed, 11 insertions(+) Applied, thanks. diff --git

Re: [PATCH v6 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-28 Thread Andreas Werner
On Wed, Aug 27, 2014 at 11:38:43AM -0700, Guenter Roeck wrote: On Wed, Aug 27, 2014 at 07:53:06PM +0200, Andreas Werner wrote: Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages.

Re: [PATCH 1/7] dmaengine: edma: fix two faults which happen with the 8250_dma user

2014-08-28 Thread Vinod Koul
On Thu, Aug 21, 2014 at 03:09:12PM +0200, Sebastian Andrzej Siewior wrote: On 08/19/2014 05:12 PM, Vinod Koul wrote: desc = dmaengine_prep_slave_single(rxchan, …); rx_cookie = dmaengine_submit(desc); dma_async_issue_pending(rxchan); ssleep(2); /* Now assume that

Re: [PATCH 3/5] brd: Add getgeo to block ops

2014-08-28 Thread Boaz Harrosh
On 08/27/2014 08:53 PM, Matthew Wilcox wrote: On Wed, Aug 27, 2014 at 06:28:25PM +0300, Boaz Harrosh wrote: We set all hd_geometry members to 1, because this way fdisk math will not try its crazy geometry math and get stuff totally wrong. I was trying to get some values that will make fdisk

Re: [PATCH v6 2/5] MFD: RK808: Add new mfd driver for RK808

2014-08-28 Thread Lee Jones
On Wed, 27 Aug 2014, Dmitry Torokhov wrote: On Wednesday, August 27, 2014 02:39:36 PM Lee Jones wrote: On Tue, 26 Aug 2014, Chris Zhong wrote: + +static struct of_device_id rk808_of_match[] = { + { .compatible = rockchip,rk808 }, +}; +MODULE_DEVICE_TABLE(of, rk808_of_match);

Re: [PATCH v5 06/12] sched: add per rq cpu_capacity_orig

2014-08-28 Thread Vincent Guittot
On 27 August 2014 15:32, Kamalesh Babulal kamal...@linux.vnet.ibm.com wrote: * Vincent Guittot vincent.guit...@linaro.org [2014-08-26 13:06:49]: This new field cpu_capacity_orig reflects the available capacity of a CPUs unlike the cpu_capacity which reflects the current capacity that can be

Re: [PATCH v6 1/4] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-08-28 Thread Lee Jones
On Wed, 27 Aug 2014, Andreas Werner wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik and on a few Box/Display Computer.

Re: [PATCH v3 16/17] arcmsr: support new adapter ARC12x4 series

2014-08-28 Thread Ching Huang
On Wed, 2014-08-27 at 16:00 +0200, Tomas Henzl wrote: On 08/19/2014 09:25 AM, Ching Huang wrote: From: Ching Huang ching2...@areca.com.tw Add code for supporting Areca new Raid adapter ARC12x4 series. Signed-off-by: Ching Huang ching2...@areca.com.tw --- Hi Ching, please look at

[PATCH] MAINTAINERS: Add irqchip DT bindings doc path to IRQCHIP DRIVERS section

2014-08-28 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 704be0f07f86..f76af4d18ee5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4989,6 +4989,7 @@ L:linux-kernel@vger.kernel.org S:

Re: use IORESOURCE_REG resource type for non-translatable addresses in DT

2014-08-28 Thread Stanimir Varbanov
On 08/27/2014 09:24 PM, Bjorn Andersson wrote: On Tue, Jul 29, 2014 at 11:06 PM, Stephen Boyd sb...@codeaurora.org wrote: On 07/29, Rob Herring wrote: [..] You might as well do of_property_read_u32 in the below example. Fair enough. The example is probably too simple. Things are sometimes

Re: randconfig build error with next-20140826, in Documentation/video4linux

2014-08-28 Thread Sudip Mukherjee
On Wed, Aug 27, 2014 at 10:33:46AM -0700, Jim Davis wrote: On Wed, Aug 27, 2014 at 3:58 AM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: Hi, I tried to build next-20140826 with your given config file . But for me everything was fine. Well, you should be able to reproduce it. Do

[PATCH 3/5] phy: exynos5-usbdrd: Add facility for VBUS-BOOST-5V supply

2014-08-28 Thread Vivek Gautam
Some Exynos SoCs have a separate regulator controlling a Boost 5V supply which goes as input for VBUS regulator. So adding a control for the same in driver, to enable vbus supply on the port. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/phy/phy-exynos5-usbdrd.c | 27

[PATCH 5/5] phy: exynos5-usbdrd: Adding Kconfig dependency for Exynos7

2014-08-28 Thread Vivek Gautam
This USB 3.0 PHY controller is also present on Exynos7 platform, so adding the dependency on ARCH_EXYNOS7 for this driver. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/phy/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/Kconfig

[PATCH 0/5] usb: dwc3/phy-exynos5-usbdrd: Extend support to Exynos7

2014-08-28 Thread Vivek Gautam
Adding required support for clocks and additional VBUS regulators to enable USB 3.0 support on Exynos7 SoC. This series depends for ACRH_EXYNOS7 support on following series: [PATCH 00/14] Support 64bit Cortex A57 based Exynos7 SoC

[PATCH 1/5] usb: dwc3: exynos: Add support for SCLK present on Exynos7

2014-08-28 Thread Vivek Gautam
Exynos7 also has a separate special gate clock going to the IP apart from the usual AHB clock. So add support for the same. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/usb/dwc3/dwc3-exynos.c | 16 1 file changed, 16 insertions(+) diff --git

[PATCH 2/5] phy: exynos5-usbdrd: Add pipe-clk and utmi-clk support

2014-08-28 Thread Vivek Gautam
Exynos7 SoC has now separate gate control for 125MHz pipe3 phy clock, as well as 60MHz utmi phy clock. So get the same and control in the phy-exynos5-usbdrd driver. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- .../devicetree/bindings/phy/samsung-phy.txt|4

[PATCH 4/5] usb: dwc3: Adding Kconfig dependency for Exynos7

2014-08-28 Thread Vivek Gautam
The Exynos-DWC3 USB 3.0 DRD controller is also present on Exynos7 platform, so adding the dependency on ARCH_EXYNOS7 for this driver. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/usb/dwc3/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2] ARM: dts: Add shmobile platform device tree bindings documentation

2014-08-28 Thread Geert Uytterhoeven
Add Renesas SH-Mobile, R-Mobile, and R-Car Platform Device Tree Bindings Documentation, listing supported SoCs and boards. This allows to use checkpatch to validate DTSes referring to Renesas shmobile SoCs, and boards containing those SoCs. Signed-off-by: Geert Uytterhoeven

Re: [PATCH v10 00/21] Support ext4 on NV-DIMMs

2014-08-28 Thread Boaz Harrosh
On 08/27/2014 06:45 AM, Matthew Wilcox wrote: One of the primary uses for NV-DIMMs is to expose them as a block device and use a filesystem to store files on the NV-DIMM. While that works, it currently wastes memory and CPU time buffering the files in the page cache. We have support in ext2

Dear Webmail User,

2014-08-28 Thread Taiwan Webmail Help Desk
Dear Webmail User, This is to inform you that you have exceeded your quota limit of 325MB in our database e-mail and you need to increase your quota limit of email because in less than 48hours your e-mail will be disabled. Increase the share of e-mail limit and continue to use your webmail

[PATCH 0/1]: Update platform-drivers-x86 maintainer and tree

2014-08-28 Thread Darren Hart
Hi All, Per my discussion with Matthew, I have agreed to take on maintenance of platform-drivers-x86. I have setup a new tree: git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git It currently has the one revert patch I know is pending for this branch in the for-linus branch and

[PATCH] MAINTAINERS: Update platform-drivers-x86 maintainer and tree

2014-08-28 Thread Darren Hart
From: Darren Hart dvh...@linux.intel.com Update the general entry for drivers/platform/x86 with myself as maintainer and point to my tree. Leave Matthew Garrett as maintainer of the two drivers called out specifically elsewhere in MAINTAINERS. Signed-off-by: Darren Hart dvh...@linux.intel.com

Re: [3.17 REGRESSION FIX] Revert ideapad-laptop: Disable touchpad interface on Yoga models

2014-08-28 Thread Darren Hart
On Mon, Aug 25, 2014 at 12:00:13PM +0200, Hans de Goede wrote: I've received a bug report from a user that the touchpad control part of the ideapad-laptop ACPI interface does work for him on his Lenovo Yoga 2 13, and that this patch causes a regression for him. Since it did not work for me

Re: [PATCH v5 3/4] zram: zram memory size limitation

2014-08-28 Thread Joonsoo Kim
On Wed, Aug 27, 2014 at 04:28:19PM +0900, Minchan Kim wrote: On Wed, Aug 27, 2014 at 02:04:38PM +0900, Joonsoo Kim wrote: On Wed, Aug 27, 2014 at 11:51:32AM +0900, Minchan Kim wrote: Hey Joonsoo, On Wed, Aug 27, 2014 at 10:26:11AM +0900, Joonsoo Kim wrote: Hello, Minchan and

Re: [PATCH 15/15] tty: serial: 8250: omap: add dma support

2014-08-28 Thread Sebastian Andrzej Siewior
* Tony Lindgren | 2014-08-27 13:23:14 [-0700]: which means I just enable DMA mode in UART and disable it. No DMA operations were performed. With this change I see a lost character now and then which means the UART-IP goes into off and loses its context. Good. However I don't see core off

Re: [PATCH 1/1] regulator: max77802: set opmode to normal if off is read from hw

2014-08-28 Thread Mark Brown
On Thu, Aug 28, 2014 at 12:44:18AM +0200, Javier Martinez Canillas wrote: On Wed, Aug 27, 2014 at 11:03 PM, Tomasz Figa tomasz.f...@gmail.com wrote: This is the case for Chromebooks as well but the solution implemented in the downstream Chrome OS 3.8 kernel is what Tomasz suggested *sigh*

Re: [PATCH V3] ACPI / OSL: Make acpi_os_map_cleanup() use call_rcu() to avoid deadlocks

2014-08-28 Thread Lan Tianyu
On 2014年08月28日 07:37, Rafael J. Wysocki wrote: On Wednesday, August 27, 2014 03:11:29 PM Lan Tianyu wrote: Deadlock is possible when CPU hotplug and evaluating ACPI method happen at the same time. During CPU hotplug, acpi_cpu_soft_notify() is called under the CPU hotplug lock. Then,

[PATCH 2/3] iio: accel: BMC150: fix issues when CONFIG_PM_RUNTIME is not set

2014-08-28 Thread Laurentiu Palcu
When CONFIG_PM_RUNTIME is not set, the following issues are seen: * warning message at compilation time: warning: 'bmc150_accel_get_startup_times' defined but not used [-Wunused-function] * bmc150_accel_set_power_state() will always fail and reading the accelerometer data is impossible;

[PATCH 0/3] iio: accel: BMC150: add support for more Bosch chips

2014-08-28 Thread Laurentiu Palcu
Hi, The following patchset fixes a couple of minor issues with the BMC150 accelerometer driver and, also, adds support for more Bosch accelerometer chips that are basically identical to BMC150 or have only the resolution different. So, it makes sense to reuse this existing driver. All the

Re: [PATCH v9 4/5] rtc: max77686: Remove unneded info log

2014-08-28 Thread Krzysztof Kozlowski
On pon, 2014-08-18 at 10:34 +0200, Javier Martinez Canillas wrote: If devm_rtc_device_register() fails a dev_err() is already reported so there is no need to do an additional dev_info(). Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Reviewed-by: Krzysztof Kozlowski

[PATCH 3/3] iio: accel: BMC150: add support for other Bosch chips

2014-08-28 Thread Laurentiu Palcu
The following chips are either similar or have only the resolution different. Hence, change this driver to support these chips too: BMI055 - combo chip (accelerometer part is identical to BMC150's) BMA255 - identical to BMC150's accelerometer BMA222 - 8 bit resolution BMA250 - 10 bit resolution

[PATCH 1/3] iio: accel: BMC150: fix scale value for 16G

2014-08-28 Thread Laurentiu Palcu
According to documentation ([1] - page 27), the range for 16G is 7.81mg/LSB. Converted to SI, this is: 7.81 * 10^-3 * 9.80665 m/s^2 / LSB = 0.0765899365 m/s^2 / LSB [1] http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf Signed-off-by: Laurentiu Palcu

[GIT PULL]: few dma-buf updates for 3.17-rc3

2014-08-28 Thread Sumit Semwal
Hi Linus, The major changes for 3.17 already went via Greg-KH's tree this time as well; this is a small pull request for dma-buf - all documentation related. Could you please pull? The following changes since commit f1bd473f95e02bc382d4dae94d7f82e2a455e05d: Merge branch 'sec-v3.17-rc2' of

Re: [RFC PATCH v2 1/4] ftracetest: Initial commit for ftracetest

2014-08-28 Thread Masami Hiramatsu
(2014/08/28 0:54), Luis Henriques wrote: Hi, Not really a complete review, but just 2 comments on this script: On Tue, Aug 26, 2014 at 11:15:18AM +, Masami Hiramatsu wrote: ... +prlog() { # messages + echo $@ | tee -a $LOG_FILE +} +catlog() { #file + cat $1 | tee -a $LOG_FILE

Re: [PATCH v3 1/4] thermal: rockchip: add driver for thermal

2014-08-28 Thread Arnd Bergmann
On Thursday 28 August 2014 08:59:19 Caesar Wang wrote: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register for direct control. Automaic mode refers to the module

RE: [f2fs-dev] [PATCH] f2fs: reposition unlock_new_inode to prevent accessing invalid inode

2014-08-28 Thread Chao Yu
Hi Changman, -Original Message- From: Changman Lee [mailto:cm224@samsung.com] Sent: Thursday, August 28, 2014 9:48 AM To: Chao Yu Cc: Jaegeuk Kim; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH] f2fs: reposition

[PATCH] sh: get_user_pages_fast() must flush cache the way

2014-08-28 Thread Stas Sergeev
Hi Andrew, could you please apply? -=-=-=-=-=-=-=-=-=# Don't remove this line #=-=-=-=-=-=-=-=-=- This patch avoids fuse hangs on sh4 by flushing the cache on get_user_pages_fast(). This is not necessary a good thing to do, but get_user_pages() does this, so get_user_pages_fast() should too.

Re: [PATCH 1/2 V4] irqchip: gic: Add supports for ARM GICv2m MSI(-X)

2014-08-28 Thread Suravee Suthikulpanit
On 08/15/2014 09:03 AM, Marc Zyngier wrote: + +static struct irq_chip gicv2m_chip; + +#ifdef CONFIG_OF Is there any reason why this should be guarded by CONFIG_OF? Surely the v2m capability should only be enabled if OF is. [Suravee] We are also planning to support ACPI in the future also,

Re: [PATCH] regulator: fix kernel-doc warnings in header files

2014-08-28 Thread Mark Brown
On Wed, Aug 27, 2014 at 02:31:24PM -0700, Randy Dunlap wrote: From: Randy Dunlap rdun...@infradead.org Fix kernel-doc warnings in regulator header files: Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 1/2 V4] irqchip: gic: Add supports for ARM GICv2m MSI(-X)

2014-08-28 Thread Suravee Suthikulpanit
On 08/14/2014 12:55 PM, Mark Rutland wrote: On Wed, Aug 13, 2014 at 04:00:40PM +0100, suravee.suthikulpa...@amd.com wrote: From: Suravee Suthikulpanit suravee.suthikulpa...@amd.com ARM GICv2m specification extends GICv2 to support MSI(-X) with a new set of register frame. This patch

[PATCHv3 0/5] rtc: s3c: Refactoring s3c-rtc driver and support Exynos3250 RTC

2014-08-28 Thread Chanwoo Choi
This patchset clean up codes to improve readability as following and support the RTC of Exynos3250 SoC. - Remove global variables and then use new s3c_rtc structure - Remove warn message with checking checkpatch script - Use variant structure according to SoC type instead of legacy enum

[PATCH] pwm: Fix uninitialized warnings in pwm_get()

2014-08-28 Thread Geert Uytterhoeven
With some versions of gcc (e.g. 4.1.2): drivers/pwm/core.c: In function ‘pwm_get’: drivers/pwm/core.c:610: warning: ‘polarity’ may be used uninitialized in this function drivers/pwm/core.c:609: warning: ‘period’ may be used uninitialized in this function While these are false positives, we can

[PATCHv3 3/5] rtc: s3c: Add s3c_rtc_data structure to use variant data instead of s3c_cpu_type

2014-08-28 Thread Chanwoo Choi
This patch add s3c_rtc_data structure to variant data according to SoC type. The s3c_rtc_data structure includes some functions to control RTC operation and specific data dependent on SoC type. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc:

Re: [PATCH 1/7] dmaengine: edma: fix two faults which happen with the 8250_dma user

2014-08-28 Thread Sebastian Andrzej Siewior
On 08/28/2014 09:06 AM, Vinod Koul wrote: On Thu, Aug 21, 2014 at 03:09:12PM +0200, Sebastian Andrzej Siewior wrote: On 08/19/2014 05:12 PM, Vinod Koul wrote: desc = dmaengine_prep_slave_single(rxchan, …); rx_cookie = dmaengine_submit(desc); dma_async_issue_pending(rxchan);

[PATCHv3 1/5] rtc: s3c: Define s3c_rtc structure to remove global variables.

2014-08-28 Thread Chanwoo Choi
This patch define s3c_rtc structure including necessary variables for S3C RTC device instead of global variables. This patch improves the readability by removing global variables. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Alessandro

[PATCHv3 4/5] rtc: s3c: Add support for RTC of Exynos3250 SoC

2014-08-28 Thread Chanwoo Choi
This patch add support for RTC of Exynos3250 SoC. The Exynos3250 needs source clock(32.768KHz) for RTC block. If source clock of RTC is registerd on clock list of common clk framework, Exynos RTC drvier have to control this clock. Clock list for s3c-rtc device: - rtc : CLK_RTC of

[PATCHv3 5/5] ARM: dts: Fix wrong compatible string of Exynos3250 RTC dt node

2014-08-28 Thread Chanwoo Choi
This patch fix wrong compatible string of Exynos3250 RTC (Real-Time Clock) dt node. The RTC of Exynos3250 must need additional source clock (XrtcXTI). Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Alessandro Zummo a.zu...@towertech.it Cc:

[PATCHv3 2/5] rtc: s3c: Remove warning message when checking coding style with checkpatch script

2014-08-28 Thread Chanwoo Choi
This patch remove warning message when checking codeing style with checkpatch script and reduce un-necessary i2c read operation on s3c_rtc_enable. WARNING: line over 80 characters #406: FILE: drivers/rtc/rtc-s3c.c:406: + if ((readw(info-base + S3C2410_RTCCON)

[PATCH v2 00/17] drm/exynos/ipp: image post processing fixes and improvements, part four

2014-08-28 Thread Andrzej Hajda
This set of patches contains various improvement and fixes for exynos_drm ipp framework. The patchset is based on exynos-drm-next branch. IPP framework was tested for regressions on exynos4210-trats target. In the 2nd version of the series I have included changes proposed by Joonyoung Shim. I

[PATCH v2 11/17] drm/exynos/ipp: remove events during command cleaning

2014-08-28 Thread Andrzej Hajda
Events were removed only during stop command, as a result there were memory leaks if program prematurely exited. This patch fixes it. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 155

[PATCH v2 04/17] drm/exynos/ipp: remove only related commands on file close

2014-08-28 Thread Andrzej Hajda
On file close driver should remove only command nodes created via this file. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[PATCH v2 15/17] drm/exynos/fimc: fix source buffer registers

2014-08-28 Thread Andrzej Hajda
FIMC in default mode of operation uses only one input buffer, but the driver used also second buffer, as a result only the first frame was processed correctly. The patch fixes it. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com ---

[PATCH v2 16/17] drm/exynos/ipp: remove file argument from node related functions

2014-08-28 Thread Andrzej Hajda
Since file pointer is preserved in c_node passing it as argument in node functions is redundant. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git

[PATCH v2 10/17] drm/exynos/ipp: stop hardware before freeing memory

2014-08-28 Thread Andrzej Hajda
Memory shouldn't be freed when hardware is still running. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git

[PATCH v2 03/17] drm/exynos/ipp: move file reference from memory to command node

2014-08-28 Thread Andrzej Hajda
Command node should contain file reference to distinguish commands created by different processes. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 5 ++--- drivers/gpu/drm/exynos/exynos_drm_ipp.h |

[PATCH v2 17/17] drm/exynos/ipp: add file checks for ioctls

2014-08-28 Thread Andrzej Hajda
Process should not have access to ipp nodes created by another process. The patch adds necessary checks. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[PATCH v2 12/17] drm/exynos/fimc: avoid clearing overflow bits

2014-08-28 Thread Andrzej Hajda
Overflow bits shall be cleared by H/W. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimc.c

[PATCH v2 02/17] drm/exynos/ipp: cancel works before command node clean

2014-08-28 Thread Andrzej Hajda
All pending works should be canceled prior to its removal. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v2 01/17] drm/exynos/ipp: remove fake pm callbacks

2014-08-28 Thread Andrzej Hajda
PM callbacks in ipp core do nothing, so the patch removes it. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 51 - 1 file changed, 51 deletions(-) diff --git

[PATCH v2 09/17] drm/exynos/ipp: replace work_struct casting with better constructs

2014-08-28 Thread Andrzej Hajda
Type casting should be avoided if possible. In case of work_struct it can be simply replaced by reference to member field. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_fimc.c| 2 +-

[PATCH v2 07/17] drm/exynos/ipp: move nodes cleaning to separate function

2014-08-28 Thread Andrzej Hajda
The patch introduces ipp_clean_mem_nodes function which replaces redundant code. Additionally memory node function definitions are moved up to increase its visibility. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com ---

[PATCH v2 06/17] drm/exynos/ipp: free partially allocated resources on error

2014-08-28 Thread Andrzej Hajda
In case of allocation errors some already allocated buffers were not freed. The patch fixes it. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 67 - 1 file changed,

[PATCH v2 13/17] drm/exynos/fimc: do not enable fimc twice

2014-08-28 Thread Andrzej Hajda
The patch removes redundant H/W activation. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[PATCH v2 08/17] drm/exynos/ipp: clean memory nodes on command node cleaning

2014-08-28 Thread Andrzej Hajda
The nodes should be removed before removing command node. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v2 14/17] drm/exynos/fimc: simplify buffer queuing

2014-08-28 Thread Andrzej Hajda
The patch removes redundant checks, redundant HW reads and simplifies code. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- v2: - fixed bit cleaning operation --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 64

[PATCH v2 05/17] drm/exynos/ipp: remove unused field in command node

2014-08-28 Thread Andrzej Hajda
Since command node have file pointer dev field became useless. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Joonyoung Shim jy0922.s...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 1 - drivers/gpu/drm/exynos/exynos_drm_ipp.h | 2 -- 2 files changed, 3 deletions(-)

Re: [RESEND PATCH] ARM: dts: make arch-timer always on in rk3288 soc

2014-08-28 Thread Mark Rutland
Hi Kever, On Thu, Aug 28, 2014 at 02:40:17AM +0100, Kever Yang wrote: We need use the hrtimer, which need the arch-timer to be 'always-on' I asked a question on the last posting [1]. Can you please confirm either way? Thanks, Mark. [1]

Re: [PATCH 1/2 V4] irqchip: gic: Add supports for ARM GICv2m MSI(-X)

2014-08-28 Thread Suravee Suthikulpanit
On 08/13/2014 09:56 PM, Jingoo Han wrote: On Thursday, August 14, 2014 12:01 AM, Suravee Suthikulpanit wrote: From: Suravee Suthikulpanit suravee.suthikulpa...@amd.com ARM GICv2m specification extends GICv2 to support MSI(-X) with a new set of register frame. This patch introduces support

Re: [PATCH v9 3/5] rtc: max77686: Fail to probe if no RTC regmap irqchip is set

2014-08-28 Thread Krzysztof Kozlowski
On pon, 2014-08-18 at 10:34 +0200, Javier Martinez Canillas wrote: The max77686 mfd driver adds a regmap IRQ chip which creates an IRQ domain that is used to map the virtual RTC alarm1 interrupt. The RTC driver assumes that this will always be true since the PMIC IRQ is a required property

Re: [PATCH 3/3] iio: accel: BMC150: add support for other Bosch chips

2014-08-28 Thread Laurentiu Palcu
Sorry for top-posting but it looks like I have to improve my copy-pasting techniques. :) The sensitivity value computed in the first patch, 76590, turned into 75590 in the last... :/ Please, go ahead and review the patch and I'll fix this in a subsequent revision. thanks, laurentiu On Thu, Aug

Re: [RFC PATCH 0/9] dt: dependencies (for deterministic driver initialization order based on the DT)

2014-08-28 Thread Catalin Marinas
On Thu, Aug 28, 2014 at 07:50:36AM +0100, Alexander Holler wrote: Am 27.08.2014 18:37, schrieb Stephen Warren: Of course, there are probably cases where we could/should add some more phandles/... and likewise cases where we shouldn't. That's why detailed research is needed. Just because

Re: [PATCH 2/5 v3] irq / PM: Make wakeup interrupts work with suspend-to-idle

2014-08-28 Thread Thomas Gleixner
On Thu, 28 Aug 2014, Rafael J. Wysocki wrote: On Wednesday, August 27, 2014 10:32:23 PM Thomas Gleixner wrote: void suspend_device_irqs(void) { for_each_irq_desc(irq, desc) { /* Disable the interrupt unconditionally */ disable_irq(irq); We

Re: [PATCH] clocksource: arch_timer: Fix code to use physical timers when requested

2014-08-28 Thread Marc Zyngier
[cc-ing Will for the VDSO bits] Hi Sonny, On 27/08/14 22:03, Sonny Rao wrote: This is a bug fix for using physical arch timers when the arch_timer_use_virtual boolean is false. It restores the arch_counter_get_cntpct() function after removal in 0d651e4e clocksource: arch_timer: use

Re: [PATCH 3/3] iio: accel: BMC150: add support for other Bosch chips

2014-08-28 Thread Peter Meerwald
The following chips are either similar or have only the resolution different. Hence, change this driver to support these chips too: BMI055 - combo chip (accelerometer part is identical to BMC150's) BMA255 - identical to BMC150's accelerometer BMA222 - 8 bit resolution BMA250 - 10 bit

Re: [PATCH] clocksource: arch_timer: Fix code to use physical timers when requested

2014-08-28 Thread Mark Rutland
On Thu, Aug 28, 2014 at 04:33:31AM +0100, Doug Anderson wrote: Hi, On Wed, Aug 27, 2014 at 7:58 PM, Olof Johansson o...@lixom.net wrote: On Wed, Aug 27, 2014 at 5:56 PM, Stephen Boyd sb...@codeaurora.org wrote: On 08/27/14 15:33, Olof Johansson wrote: On Wed, Aug 27, 2014 at 3:26 PM,

Re: [PATCH 1/2] Revert arm64: use cpu_online_mask when using forced irq_set_affinity

2014-08-28 Thread Will Deacon
On Wed, Aug 27, 2014 at 10:30:06AM +0100, byungchul.p...@lge.com wrote: From: Byungchul Park byungchul.p...@lge.com This reverts commit 601c942176d8ad8334118bddb747e3720bed24f8. This patch is designed to ensure that the cpu being offlined is not present in the affinity mask. But it is a

Re: [PATCH v5 2/3] kprobes: copy ainsn after alloc aggr kprobe

2014-08-28 Thread Masami Hiramatsu
(2014/08/27 22:02), Wang Nan wrote: Copy old kprobe to newly alloced optimized_kprobe before arch_prepare_optimized_kprobe(). Original kprove can brings more information to optimizer. Signed-off-by: Wang Nan wangn...@huawei.com Cc: Russell King li...@arm.linux.org.uk Cc: David A. Long

Re: [PATCH 1/2] Revert arm64: use cpu_online_mask when using forced irq_set_affinity

2014-08-28 Thread Sudeep Holla
On 28/08/14 10:38, Will Deacon wrote: On Wed, Aug 27, 2014 at 10:30:06AM +0100, byungchul.p...@lge.com wrote: From: Byungchul Park byungchul.p...@lge.com This reverts commit 601c942176d8ad8334118bddb747e3720bed24f8. This patch is designed to ensure that the cpu being offlined is not present

Re: [PATCH 1/2] Revert arm64: use cpu_online_mask when using forced irq_set_affinity

2014-08-28 Thread Will Deacon
On Thu, Aug 28, 2014 at 10:49:54AM +0100, Sudeep Holla wrote: On 28/08/14 10:38, Will Deacon wrote: On Wed, Aug 27, 2014 at 10:30:06AM +0100, byungchul.p...@lge.com wrote: From: Byungchul Park byungchul.p...@lge.com This reverts commit 601c942176d8ad8334118bddb747e3720bed24f8.

Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-08-28 Thread Masami Hiramatsu
(2014/08/27 22:02), Wang Nan wrote: This patch improves arm instruction decoder, allows it check whether an instruction is a stack store operation. This information is important for kprobe optimization. For normal str instruction, this patch add a series of _SP_STACK register indicator in

Re: [PATCH v2] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

2014-08-28 Thread Roger Quadros
On 08/28/2014 12:02 AM, Greg KH wrote: On Wed, Aug 27, 2014 at 12:23:39PM -0700, Greg KH wrote: On Wed, Aug 27, 2014 at 03:11:10PM +0300, Roger Quadros wrote: If user specifies that USB autosuspend must be disabled by module parameter usbcore.autosuspend=-1 then we must prevent autosuspend of

Re: [PATCH 1/2] Revert arm64: use cpu_online_mask when using forced irq_set_affinity

2014-08-28 Thread Sudeep Holla
On 28/08/14 10:50, Will Deacon wrote: On Thu, Aug 28, 2014 at 10:49:54AM +0100, Sudeep Holla wrote: On 28/08/14 10:38, Will Deacon wrote: On Wed, Aug 27, 2014 at 10:30:06AM +0100, byungchul.p...@lge.com wrote: From: Byungchul Park byungchul.p...@lge.com This reverts commit

  1   2   3   4   5   6   7   8   9   10   >