Re: [PATCH 5/8] watchdog: bindings: Provide ST bindings for ST's LPC Watchdog device

2014-12-18 Thread Arnd Bergmann
On Thursday 18 December 2014 08:13:34 Lee Jones wrote: > On Wed, 17 Dec 2014, Arnd Bergmann wrote: > > > On Wednesday 17 December 2014 16:45:24 Lee Jones wrote: > > > +- compatible : Must be one of: "st,stih407-lpc" "st,stih416-lpc" > > > + "st,stih415-lpc" "st,st

Re: [PATCH 1/2] tty: serial: 8250_mtk: Add earlycon

2014-12-18 Thread Matthias Brugger
2014-12-18 9:33 GMT+01:00 Eddie Huang : > Mediatek UART has highspeed register, but 8250_early.c doesn't > support this, so add earlycon in 8250_mtk.c > > Signed-off-by: Eddie Huang > --- > drivers/tty/serial/8250/8250_mtk.c | 33 + > 1 file changed, 33 insertions(

[PATCH v16 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-18 Thread Dudley Du
In order to support multiple different chipsets and communication protocols trackpad devices in one cyapa driver, the new cyapa driver is re-designed with one cyapa driver core and multiple device specific functions component. The cyapa driver core is contained in this patch, it supplies basic func

Re: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Paolo Bonzini
On 18/12/2014 04:14, Wu, Feng wrote: > > >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org >> [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Paolo Bonzini >> Sent: Thursday, December 18, 2014 1:43 AM >> To: Wu, Feng; Thomas Gleixner; Ingo Molnar; H. Peter Anvin

[PATCH 1/3 V3] acpi:soc: merge common codes for creating platform device

2014-12-18 Thread Ken Xue
This patch is supposed to deliver some common codes for AMD APD and intel LPSS. It can help to convert some specific acpi devices to be platform devices. Signed-off-by: Ken Xue --- drivers/acpi/Makefile | 2 +- drivers/acpi/acpi_soc.c | 228

[PATCH v5] usb: gadget: f_fs: add "no_disconnect" mode

2014-12-18 Thread Robert Baldyga
Since we can compose gadgets from many functions, there is the problem related to gadget breakage while FunctionFS daemon being closed. FFS function is userspace code so there is no way to know when it will close files (it doesn't matter what is the reason of this situation, it can be daemon logic,

[PATCH mtd] mtd:devices: Add Altera EPCQ Driver

2014-12-18 Thread vndao
From: Viet Nga Dao Altera EPCQ Controller is a soft IP which enables access to Altera EPCQ and EPCS flash chips. This patch adds driver for these devices. Signed-off-by: Viet Nga Dao --- .../devicetree/bindings/mtd/altera_epcq.txt| 45 ++ drivers/mtd/devices/Kconfig

[PATCH 2/3 V3] acpi:apd:add AMD ACPI2Platform device support

2014-12-18 Thread Ken Xue
This is a new feature to interpret AMD specific ACPI device to platform device such as I2C, UART found on AMD CZ and later chipsets. It based on ACPI SOC. Signed-off-by: Ken Xue --- arch/x86/Kconfig| 11 drivers/acpi/Makefile | 2 +- drivers/acpi/acpi_apd.c | 71 +

Re: [RFC PATCH 2/2] ata: ahci_platform: Add ACPI _CLS matching

2014-12-18 Thread Hans de Goede
Hi, On 18-12-14 00:16, Suravee Suthikulpanit wrote: From: Suravee Suthikulpanit This patch adds ACPI supports for AHCI platform driver, which uses _CLS method to match the device. The following is an example of ASL structure in DSDT for a SATA controller, which contains _CLS package to be mat

Re: [PATCH 5/8] watchdog: bindings: Provide ST bindings for ST's LPC Watchdog device

2014-12-18 Thread Lee Jones
We On Thu, 18 Dec 2014, Arnd Bergmann wrote: > On Thursday 18 December 2014 08:13:34 Lee Jones wrote: > > On Wed, 17 Dec 2014, Arnd Bergmann wrote: > > > > > On Wednesday 17 December 2014 16:45:24 Lee Jones wrote: > > > > +- compatible : Must be one of: "st,stih407-lpc" "st,stih416-lpc" > > >

Re: [PATCH 3/3] i8k: Remove laptop specific config data (fan_mult, fan_max) from driver

2014-12-18 Thread Valdis . Kletnieks
On Wed, 17 Dec 2014 18:20:21 +, Steven Honeyman said: > On 17 December 2014 at 17:54, Pali Rohár wrote: > >> > Dell Latitude E6540 > >> Can somebody else with dell laptops test this patch series? > > > > Steven Honeyman, can you test this autodetection patch on your > > Latitude E6540? I'm

[PATCH 3/3 V2] acpi:lpss:Refine LPSS codes to fit ACPI SOC.

2014-12-18 Thread Ken Xue
ACPI SOC provides common codes to 1)create platform device from ACPI 2)and handle platform bus notification. These common codes can be used by LPSS with this patch. Signed-off-by: Ken Xue --- drivers/acpi/acpi_lpss.c | 604 --- 1 file changed, 251 inse

Re: [STLinux Kernel] [PATCH 6/8] watchdog: st_wdt: Add new driver for ST's LPC Watchdog

2014-12-18 Thread Lee Jones
On Thu, 18 Dec 2014, Peter Griffin wrote: > Hi Lee, > > On Wed, 17 Dec 2014, Lee Jones wrote: > > > Signed-off-by: David Paris > > Signed-off-by: Lee Jones > > --- > > drivers/watchdog/Kconfig | 13 ++ > > drivers/watchdog/Makefile | 1 + > > drivers/watchdog/st_wdt.c | 323 > > +

Re: [PATCH 1/2] tty: serial: 8250_mtk: Add earlycon

2014-12-18 Thread Arnd Bergmann
On Thursday 18 December 2014 09:48:31 Matthias Brugger wrote: > > +static void __init mtk8250_serial_putc(struct uart_port *port, int c) > > +{ > > + while ((readl(port->membase + (UART_LSR << 2)) & BOTH_EMPTY) != > > + BOTH_EMPTY) > > + ; > > Please delete newlin

Re: [PATCH] staging: lustre: lustre: mdc: mdc_lib.c: Removed an unnecessary NULL check

2014-12-18 Thread Dan Carpenter
On Wed, Dec 17, 2014 at 11:42:53PM +0100, Rickard Strandqvist wrote: > Removed an unnecessary NULL check. > I have checked the only place this function is called from. Next time, in the changelog mention that the checking isn't consistent so it creates as static checker warning. That is a good mo

Re: [PATCH 5/8] watchdog: bindings: Provide ST bindings for ST's LPC Watchdog device

2014-12-18 Thread Arnd Bergmann
On Thursday 18 December 2014 09:04:04 Lee Jones wrote: > We > On Thu, 18 Dec 2014, Arnd Bergmann wrote: > > > On Thursday 18 December 2014 08:13:34 Lee Jones wrote: > > > On Wed, 17 Dec 2014, Arnd Bergmann wrote: > > > > > > > On Wednesday 17 December 2014 16:45:24 Lee Jones wrote: > > > > > +-

Re: [Linaro-acpi] [RFC PATCH 2/2] ata: ahci_platform: Add ACPI _CLS matching

2014-12-18 Thread Arnd Bergmann
On Wednesday 17 December 2014 17:16:35 Suravee Suthikulpanit wrote: > +#ifdef CONFIG_ATA_ACPI > +#include > +#endif > #include "ahci.h" > > static const struct ata_port_info ahci_port_info = { > @@ -71,6 +74,10 @@ static const struct of_device_id ahci_of_match[] = { > }; > MODULE_DEVICE_TABL

[PATCH] KVM: PPC: E500: Compile fix in this_cpu_write

2014-12-18 Thread Paolo Bonzini
From: Alexander Graf Commit 69111bac42f5 (powerpc: Replace __get_cpu_var uses) introduced compile breakage to the e500 target by introducing invalid automatically created C syntax. Fix up the breakage and make the code compile again. Signed-off-by: Alexander Graf Signed-off-by: Paolo Bonzini

[GIT PULL] KVM changes for 3.19

2014-12-18 Thread Paolo Bonzini
Linus, The following changes since commit 0df1f2487d2f0d04703f142813d53615d62a1da4: Linux 3.18-rc3 (2014-11-02 15:01:51 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to 2c4aa55a6af070262cca425745e8e54

[PATCH] Staging: rtl8192u: removed an unnecessary else statement

2014-12-18 Thread Karthik Nayak
As per checkpatch warning, removed an unnecessary else statement proceeding an if statement with a return. Signed-off-by: Karthik Nayak --- drivers/staging/rtl8192u/r8192U_dm.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_dm

[PATCH] bochs: ignore device if there isn't enougth memory

2014-12-18 Thread Gerd Hoffmann
The qemu stdvga can be configured with a wide range of video memory, from 1 MB to 256 MB (default is 16 MB). In case it is configured with only 1 or 2 MB it isn't really usable with bochsdrm, due to depths other than 32bpp not being supported so that isn't enough memory for a reasonable sized fram

[PATCH] qxl: catch qxlfb_create_pinned_object failures

2014-12-18 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_fb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_fb.c b/drivers/gpu/drm/qxl/qxl_fb.c index 3d7c1d0..18ef31a 100644 --- a/drivers/gpu/drm/qxl/qxl_fb.c +++ b/drivers/gpu/drm/qxl/qxl_fb.c @@ -521,6 +521,9 @@

RE: [f2fs-dev] [PATCH v2] f2fs: use ra_meta_pages to simplify readahead code in restore_node_summary

2014-12-18 Thread Chao Yu
Hi Changman, > -Original Message- > From: Changman Lee [mailto:cm224@gmail.com] > Sent: Wednesday, December 17, 2014 11:20 PM > To: Chao Yu > Cc: Jaegeuk Kim; Changman Lee; linux-fsde...@vger.kernel.org; > linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subjec

Re: [PATCH 5/8] watchdog: bindings: Provide ST bindings for ST's LPC Watchdog device

2014-12-18 Thread Lee Jones
On Thu, 18 Dec 2014, Arnd Bergmann wrote: > On Thursday 18 December 2014 09:04:04 Lee Jones wrote: > > We > > On Thu, 18 Dec 2014, Arnd Bergmann wrote: > > > > > On Thursday 18 December 2014 08:13:34 Lee Jones wrote: > > > > On Wed, 17 Dec 2014, Arnd Bergmann wrote: > > > > > > > > > On Wednesd

[RFC]kprobes functionality with kernel-hacking disabled

2014-12-18 Thread He Kuang
kprobes is so excellent in performance analysis. But in many practical performance analysis scenarios, performance & debuging related configs maybe disabled. So, we should recompile the kernel for further analysis, this is not so convinient. I've read this thread asked a question to use kprobes a

Re: [PATCH] arm/rpc: avoid static keyword removal via define

2014-12-18 Thread Christian Borntraeger
Am 17.12.2014 um 17:54 schrieb Russell King - ARM Linux: > On Wed, Dec 17, 2014 at 04:29:46PM +0100, Christian Borntraeger wrote: >> Am 16.12.2014 um 12:40 schrieb Russell King - ARM Linux: >>> On Tue, Dec 16, 2014 at 12:15:54PM +0100, Christian Borntraeger wrote: Am 15.12.2014 um 09:48 schrie

RE: [char-misc-next 1/3 V2] mei: add ABI documentation for fw_status exported through sysfs

2014-12-18 Thread Winkler, Tomas
> > Signed-off-by: Tomas Winkler > --- > V2: rephrase the description > Documentation/ABI/testing/sysfs-class-mei | 15 +++ > 1 file changed, 15 insertions(+) > Greg you've included 'mei: export fw status registers through sysfs' to 3.19-rc1 pull request but left this documentat

Re: [PATCH] media: rc: Replace timeval with ktime_t in imon.c

2014-12-18 Thread Chunyan Zhang
On Thu, Dec 18, 2014 at 3:50 PM, Arnd Bergmann wrote: > On Thursday 18 December 2014 11:37:13 Chunyan Zhang wrote: >> This patch changes the 32-bit time type (timeval) to the 64-bit one >> (ktime_t), since 32-bit time types will break in the year 2038. >> >> I use ktime_t instead of all uses of ti

[f2fs-dev] [PATCH v3] f2fs: merge two uchar variable in struct node_info to reduce memory cost

2014-12-18 Thread Chao Yu
This patch moves one member of struct nat_entry: _flag_ to struct node_info, so _version_ in struct node_info and _flag_ which are unsigned char type will merge to one 32-bit space in register/memory. So the size of nat_entry will be reduced from 28 bytes to 24 bytes (for 64-bit machine, reduce its

Re: [RFC PATCH 02/10] sched: Make usage and load tracking cpu scale-invariant

2014-12-18 Thread Vincent Guittot
On 2 December 2014 at 15:06, Morten Rasmussen wrote: > From: Dietmar Eggemann > > Besides the existing frequency scale-invariance correction factor, apply > cpu scale-invariance correction factor to usage and load tracking. > > Cpu scale-invariance takes cpu performance deviations due to > micro-

Re: randconfig build error with next-20141204, in drivers/pwm

2014-12-18 Thread Thierry Reding
On Thu, Dec 04, 2014 at 09:10:55AM -0700, Jim Davis wrote: > Building with the attached random configuration file, > > ERROR: "ilog2_NaN" [drivers/pwm/pwm-atmel-hlcdc.ko] undefined! This took a while to figure out. The attached patch fixes this build failure, though the driver should probably

[PATCH v4 2/3] ARM: at91: sama5d3: Add SFR

2014-12-18 Thread Alexandre Belloni
The sama5d3 has Special Function Registers that allow to manage OHCI, EBI and the UTMI clock. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts

[PATCH v4 3/3] ARM: at91: sama5d4: Add SFR

2014-12-18 Thread Alexandre Belloni
The sama4d4 has Special Function Registers that allow to manage DDR, OHCI, EBI and AIC interrupt redirection. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- arch/arm/boot/dts/sama5d4.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/a

[PATCH v4 1/3] ARM: at91: Add Special Function Registers binding documentation

2014-12-18 Thread Alexandre Belloni
The special function registers gather some registers that allow to tweak features provided by IPs controlled through another register range. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- Changes in v4: - corrected the chip list Documentation/devicetree/bindings/arm/atmel-at91

[PATCH 11/11] xfstests: Test multiple fallocate insert/collapse range calls

2014-12-18 Thread Namjae Jeon
This testcase(043) tries to test finsert range a single alternate block mulitiple times and test merge code of collase range. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan Cc: Brian Foster --- tests/generic/043 | 107 ++ tests/gene

[PATCH v7 2/11] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2014-12-18 Thread Namjae Jeon
This patch implements fallocate's FALLOC_FL_INSERT_RANGE for XFS. 1) Make sure that both offset and len are block size aligned. 2) Update the i_size of inode by len bytes. 3) Compute the file's logical block number against offset. If the computed block number is not the starting block of the ex

Re: randconfig build error with next-20141204, in drivers/pwm

2014-12-18 Thread Thierry Reding
On Thu, Dec 18, 2014 at 10:44:44AM +0100, Thierry Reding wrote: > On Thu, Dec 04, 2014 at 09:10:55AM -0700, Jim Davis wrote: > > Building with the attached random configuration file, > > > > ERROR: "ilog2_NaN" [drivers/pwm/pwm-atmel-hlcdc.ko] undefined! > > This took a while to figure out. Th

Re: [PATCH RFC v3 1/2] PM / Domains: Extend API pm_genpd_dev_need_restore to use restore types

2014-12-18 Thread Sylwester Nawrocki
On 18/12/14 01:58, Rafael J. Wysocki wrote: What's needed to solve this problem is a generalized way to have runtime > >> PM dependencies between devices. Runtime PM already automatically > >> handles parent devices as one type of dependent device (e.g. a parent > >> device nee

Re: sched: odd values for effective load calculations

2014-12-18 Thread Yuyang Du
On Tue, Dec 16, 2014 at 12:29:28AM -0500, Sasha Levin wrote: > On 12/15/2014 08:14 AM, Peter Zijlstra wrote: > [ 787.894288] > > > > > [ 787.897074] UBSan: Undefined behaviour in > > > > kernel/

[PATCH 0/9] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan

2014-12-18 Thread Lukasz Majewski
Presented patches add support for Odroid's U3 optional CPU FAN, which uses PWM subsystem for low level control. After successful probe it registers itself as a cooling device for thermal subsystem. To preserve ability to use this fan as a PWM device a stub for thermal_of_cooling_device_register()

[PATCH 1/9] thermal: Provide stub for thermal_of_cooling_device_register() function

2014-12-18 Thread Lukasz Majewski
Odroid U3 fan can work without being registered as OF cooling device (with CONFIG_THERMAL_OF disabled). In this situation it can be controlled via PWM entry at /sys/class/hwmon/hwmon0/pwm1. Therefore, the thermal_of_cooling_device_register() function needs a stub to allow clean compilation. Signe

[PATCH 3/9] ARM: dts: Add pwm-fan node to the Odroid-U3 board

2014-12-18 Thread Lukasz Majewski
From: Kamil Debski Add pwm-fan node to the Odroid-U3 board file to enable PWM control of the cooling fan. In addition, add the "pwm" label to the pwm@139D node in the exynos4412.dtsi. Signed-off-by: Kamil Debski [Rebased on the newest mainline by l.majew...@samsung.com] --- Changes since v1

[PATCH 2/9] hwmon: dts: Doc: Add DTS doc to explain how to use PWM FAN as a cooling device

2014-12-18 Thread Lukasz Majewski
Several new properties to allow PWM fan working as a cooling device have been combined into this single commit. Signed-off-by: Lukasz Majewski --- .../devicetree/bindings/hwmon/pwm-fan.txt | 28 ++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetr

[PATCH 6/9] hwmon: thermal: Read PWM FAN configuration from device tree

2014-12-18 Thread Lukasz Majewski
Code for reading PWM FAN configuration data via device tree has been added. Signed-off-by: Lukasz Majewski --- drivers/hwmon/pwm-fan.c | 51 - 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/pwm-fan.c b/drivers/hwmon/pwm

[PATCH 4/9] hwmon: thermal: dts: Add properties to use pwm-fan device as a cooling device in Odroid U3

2014-12-18 Thread Lukasz Majewski
With those bindings it is possible to use pwm-fan device available at Odroid U3 as a cooling device. Signed-off-by: Lukasz Majewski --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 33 ++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/

[PATCH 5/9] hwmon: thermal: Extract __set_pwm() function to only modify PWM duty cycle

2014-12-18 Thread Lukasz Majewski
It was necessary to decouple code handling writing to sysfs from the one responsible for setting PWM of the fan. Due to that, new __set_pwm() method was extracted, which is responsible for only setting new PWM duty cycle. Signed-off-by: Lukasz Majewski --- drivers/hwmon/pwm-fan.c | 35 ++

[PATCH 9/9] hwmon: thermal: dts: Disable FAN on boot on the Odroid U3

2014-12-18 Thread Lukasz Majewski
By specifying default-pulse-width to zero, disable FAN on boot. Signed-off-by: Lukasz Majewski --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts index cc50e96..f

[PATCH 7/9] hwmon: thermal: Code for using PWM FAN as a cooling device

2014-12-18 Thread Lukasz Majewski
The PWM FAN device can now be used as a thermal cooling device. Necessary infrastructure has been added in this commit. Signed-off-by: Lukasz Majewski --- drivers/hwmon/pwm-fan.c | 79 - 1 file changed, 78 insertions(+), 1 deletion(-) diff --git a

[PATCH 8/9] hwmon: thermal: Provide 'default-pulse-width' property to setup FAN on boot

2014-12-18 Thread Lukasz Majewski
Up till now the PWM fan was enabled by default in the pwm-fan driver. Now, by defining 'default-pulse-width' device tree property, it is possible to configure the fan RPM on boot. By specifying value of 0, one can disable it. Signed-off-by: Lukasz Majewski --- drivers/hwmon/pwm-fan.c | 34 ++

patch tracking tools (was Re: Maintainer abuse)

2014-12-18 Thread Paolo Bonzini
On 13/12/2014 14:52, One Thousand Gnomes wrote: > Is it the year for a Google summer of code project or similar to turn > patchwork into a proper patch management tool (one that collects the > patches, provides a good maintainer interface, tells people automatically > that their patches are queue

[PATCH v2 00/12] MIPS: OCTEON: Some partial support for Octeon III

2014-12-18 Thread Aleksey Makarov
Changes in v2: - Do not introduce cvmx-rst-defs.h. Define all the required symbols in csrc-octeon.c - The patch "MIPS: Remove unneeded #ifdef __KERNEL__ from asm/processor.h" will be sent separately as it is not OCTEON specific Summary: These patches fix some issues in the Cavium O

[PATCH v2 03/12] MIPS: OCTEON: Save and restore CP2 SHA3 state

2014-12-18 Thread Aleksey Makarov
From: David Daney Allocate new save space, and then save/restore the registers if OCTEON III. Signed-off-by: David Daney Signed-off-by: Aleksey Makarov --- arch/mips/include/asm/processor.h | 2 ++ arch/mips/kernel/asm-offsets.c| 1 + arch/mips/kernel/octeon_switch.S | 43 +

[PATCH v2 01/12] MIPS: OCTEON: Save/Restore wider multiply registers in OCTEON III CPUs

2014-12-18 Thread Aleksey Makarov
From: David Daney The wide multiplier is twice as wide, so we need to save twice as much state. Detect the multiplier type (CPU type) at start up and install model specific handlers. Signed-off-by: David Daney Signed-off-by: Leonid Rosenboim [aleksey.maka...@auriga.com: conflict resol

[PATCH v2 02/12] MIPS: OCTEON: Fix FP context save.

2014-12-18 Thread Aleksey Makarov
From: David Daney It wasn't being saved on task switch. Signed-off-by: David Daney Signed-off-by: Aleksey Makarov --- arch/mips/kernel/octeon_switch.S | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/arch/mips/kernel/octeon_switch.S b/arch/mips/kernel/o

[PATCH v2 07/12] MIPS: OCTEON: Don't do acknowledge operations for level triggered irqs.

2014-12-18 Thread Aleksey Makarov
From: David Daney The acknowledge bits don't exist for level triggered irqs, so setting them causes the simulator to terminate. Signed-off-by: David Daney Signed-off-by: Leonid Rosenboim Signed-off-by: Aleksey Makarov --- arch/mips/cavium-octeon/octeon-irq.c | 45

[PATCH v2 06/12] MIPS: OCTEON: Implement the core-16057 workaround

2014-12-18 Thread Aleksey Makarov
From: David Daney Disable ICache prefetch for certian Octeon II processors. Signed-off-by: David Daney Signed-off-by: Aleksey Makarov --- .../asm/mach-cavium-octeon/kernel-entry-init.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/mips/include/asm/mach-c

[PATCH v2 05/12] MIPS: OCTEON: Delete unused COP2 saving code

2014-12-18 Thread Aleksey Makarov
Commit 2c952e06e4f5 ("MIPS: Move cop2 save/restore to switch_to()") removes assembler code to store COP2 registers. Commit a36d8225bceb ("MIPS: OCTEON: Enable use of FPU") mistakenly restores it Fixes: a36d8225bceb ("MIPS: OCTEON: Enable use of FPU") Signed-off-by: Aleksey Makarov --- arch/mips

[PATCH v2 04/12] MIPS: OCTEON: Use correct instruction to read 64-bit COP0 register

2014-12-18 Thread Aleksey Makarov
From: Chandrakala Chavva Use dmfc0/dmtc0 instructions for reading CvmMemCtl COP0 register, its a 64-bit wide. Signed-off-by: Chandrakala Chavva Signed-off-by: Aleksey Makarov --- arch/mips/kernel/octeon_switch.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mi

[PATCH v2 08/12] MIPS: OCTEON: Add ability to used an initrd from a named memory block.

2014-12-18 Thread Aleksey Makarov
From: David Daney If 'rd_name=xxx' is passed to the kernel, the named block with name 'xxx' is used for the initrd. Signed-off-by: David Daney Signed-off-by: Leonid Rosenboim [aleksey.maka...@auriga.com: conflict resolution] Signed-off-by: Aleksey Makarov --- arch/mips/cavium-octeon/setup.c

[PATCH v2 09/12] MIPS: OCTEON: Add little-endian support to asm/octeon/octeon.h

2014-12-18 Thread Aleksey Makarov
From: David Daney Also update union octeon_cvmemctl with new OCTEON II fields. Signed-off-by: David Daney [aleksey.maka...@auriga.com: use __BITFIELD_FIELD] Signed-off-by: Aleksey Makarov --- arch/mips/include/asm/octeon/octeon.h | 135 ++ 1 file changed, 105 i

[PATCH v2 12/12] MIPS: OCTEON: Handle OCTEON III in csrc-octeon.

2014-12-18 Thread Aleksey Makarov
From: David Daney The clock divisors are kept in different registers on OCTEON III. Signed-off-by: David Daney Signed-off-by: Aleksey Makarov --- arch/mips/cavium-octeon/csrc-octeon.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/mips/cavium-octe

[PATCH v2 11/12] MIPS: OCTEON: Update octeon-model.h code for new SoCs.

2014-12-18 Thread Aleksey Makarov
From: David Daney Add coverage for OCTEON III models. Signed-off-by: David Daney Signed-off-by: Aleksey Makarov --- arch/mips/include/asm/octeon/octeon-model.h | 65 - 1 file changed, 63 insertions(+), 2 deletions(-) diff --git a/arch/mips/include/asm/octeon/octeo

Re: Weird/Unneeded call to msleep in exynos_mipi_dsi_wr_data in exynos_mipi_dsi_common.c

2014-12-18 Thread Krzysztof Kozłowski
On 17.12.2014 23:57, nick wrote: > Greetings Fellow Maintainers, > Sorry if I wasting your time but it seems there is a unneeded call to msleep Hi, 1. Please describe exactly why do you think this is not needed. 2. Do you have Exynos-based hardware to test your changes? Best regards, Krzysztof

[f2fs-dev] [PATCH v3] f2fs: use ra_meta_pages to simplify readahead code in restore_node_summary

2014-12-18 Thread Chao Yu
Use more common function ra_meta_pages() with META_POR to readahead node blocks in restore_node_summary() instead of ra_sum_pages(), hence we can simplify the readahead code there, and also we can remove unused function ra_sum_pages(). changes from v2: o use invalidate_mapping_pages as before sug

Re: [PATCH RFC v2 05/14] ARM: imx6q: clk: Add the video_27m clock

2014-12-18 Thread Philipp Zabel
Am Donnerstag, den 18.12.2014, 15:11 +0800 schrieb Liu Ying: > This patch supports the video_27m clock which is a fixed factor > clock of the pll3_pfd1_540m clock. > > Signed-off-by: Liu Ying > --- > v1->v2: > * None. > > arch/arm/mach-imx/clk-imx6q.c | 1 + > include/dt-bindings/c

Re: [PATCH RFC v2 06/14] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-18 Thread Philipp Zabel
Am Donnerstag, den 18.12.2014, 15:11 +0800 schrieb Liu Ying: > The MIPI DSI node contains some ports which represent possible DRM CRTCs > it can connect with. Each port has a 'reg' property embedded. This > property will be wrongly interpretted by the MIPI DSI bus driver, because > the driver wil

Re: [RFC 0/4] Stop maintainer abuse

2014-12-18 Thread Paolo Bonzini
On 16/12/2014 19:09, Jonathan Corbet wrote: > In general, I worry about trying to codify things too much just because > different maintainers have different expectations. As Linus noted, some > maintainers have their work done by the time the merge window starts and > can take patches just fine

Re: [PATCH 2/9] hwmon: dts: Doc: Add DTS doc to explain how to use PWM FAN as a cooling device

2014-12-18 Thread Sjoerd Simons
On Thu, 2014-12-18 at 11:13 +0100, Lukasz Majewski wrote: > Several new properties to allow PWM fan working as a cooling device have been > combined into this single commit. > > Signed-off-by: Lukasz Majewski > --- > .../devicetree/bindings/hwmon/pwm-fan.txt | 28 >

Re: [RFC 0/4] Stop maintainer abuse

2014-12-18 Thread Borislav Petkov
On Thu, Dec 18, 2014 at 11:35:40AM +0100, Paolo Bonzini wrote: > But a mail from your manager asking to merge a large feature after rc6 > will definitely make me more grumpy. I sincerely hope it'll never be the case where managers dictate the development on lkml. If this happens, we're terminally

[PULL] vhost: cleanups and fixes

2014-12-18 Thread Michael S. Tsirkin
The following changes since commit f01a2a811ae04124fc9382925038fcbbd2f0b7c8: virtio_ccw: finalize_features error handling (2014-12-09 21:42:06 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes u

[PATCH] tick/powerclamp: Remove tick_nohz_idle abuse

2014-12-18 Thread Thomas Gleixner
commit 4dbd27711cd9 "tick: export nohz tick idle symbols for module use" was merged via the thermal tree without an explicit ack from the relevant maintainers. The exports are abused by the intel powerclamp driver which implements a fake idle state from a sched FIFO task. This causes all kinds of

[alsa-devel] [PATCH v2 2/2] mfd: arizona: Update DT binding to support OUTn_MONO init_data

2014-12-18 Thread Inha Song
This patch update DT binding to support OUTn_MONO init_data. Each output signal can be configurated as a mono differential output. The mono differential configuration is selected using the OUTn_MONO registers. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 7 +++

[alsa-devel] [PATCH v2 0/2] mfd: arizona: Add support for OUTn_MONO register control

2014-12-18 Thread Inha Song
This patch series add support for OUTn_MONO register control using platform data. Each output signal can be configurated as a mono differential output. The mono differential configuration is selected using the OUTn_MONO registers. Changes in v2: - fix coding style issue - use ">=" instead of "=

[alsa-devel] [PATCH v2 1/2] mfd: arizona: Add support for OUTn_MONO register control

2014-12-18 Thread Inha Song
Some boards need to set the OUTn_MONO register to configurates the output signal path as a mono differential output. This wlf,out-mono property is optional. If present, values must be specified less than or equal to the number of output signals. If values less than the number of output signals, ele

Re: [RFC 0/4] Stop maintainer abuse

2014-12-18 Thread Paolo Bonzini
On 18/12/2014 11:42, Borislav Petkov wrote: > > But a mail from your manager asking to merge a large feature after rc6 > > will definitely make me more grumpy. > > I sincerely hope it'll never be the case where managers dictate the > development on lkml. If this happens, we're terminally screwed.

[PATCH v16 10/12] input: cyapa: add gen5 trackpad device read baseline function support

2014-12-18 Thread Dudley Du
Add read baseline function supported for gen5 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.h | 2 + drivers/input/mouse/cyapa_gen5.c | 640 +++ 2 files

[PATCH v16 04/12] input: cyapa: add runtime power management interfaces support for the device

2014-12-18 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 171 +

[PATCH v16 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-18 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Kconfig | 1 + drivers/input/mouse/cyapa_gen5.c | 385 +++

[PATCH v16 05/12] input: cyapa: add sysfs interfaces support in the cyapa driver

2014-12-18 Thread Dudley Du
Add device's basic control and features supported in cyapa driver through sysfs file system interfaces. These interfaces are commonly used in pre- and after production, for trackpad device state checking, managing and firmware image updating. These interfaces including mode, firmware_version and pr

[PATCH v16 06/12] input: cyapa: add gen3 trackpad device firmware update function support

2014-12-18 Thread Dudley Du
Add firmware image update function supported for gen3 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 288 +++ 1 file changed, 288 insertions(+) diff

[PATCH v16 07/12] input: cyapa: add gen3 trackpad device read baseline function support

2014-12-18 Thread Dudley Du
Add read baseline function supported for gen3 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 72 1 file changed, 72 insertions(+) diff --git a/dr

[PATCH v16 03/12] input: cyapa: add power management interfaces support for the device

2014-12-18 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 111 +

[PATCH v16 12/12] input: cyapa: add acpi device id support

2014-12-18 Thread Dudley Du
Add acpi device tree support. acpi device id "CYAP" is for old gen3 trackpad devices. acpi device id "CYAP0001" is for new gen5 trackpad devices. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 13 + 1 file changed, 13 insertions(+) diff --gi

[PATCH v16 11/12] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-12-18 Thread Dudley Du
Add force re-calibrate function supported for gen5 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65 insertions(+) diff --gi

[PATCH v16 08/12] input: cyapa: add gen3 trackpad device force re-calibrate function support

2014-12-18 Thread Dudley Du
Add force re-calibrate function supported for gen3 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 59 1 file changed, 59 insertions(+) diff --gi

Re: [PATCH] media: rc: Replace timeval with ktime_t in imon.c

2014-12-18 Thread Mauro Carvalho Chehab
Em Thu, 18 Dec 2014 17:38:14 +0800 Chunyan Zhang escreveu: > On Thu, Dec 18, 2014 at 3:50 PM, Arnd Bergmann wrote: > > On Thursday 18 December 2014 11:37:13 Chunyan Zhang wrote: > >> This patch changes the 32-bit time type (timeval) to the 64-bit one > >> (ktime_t), since 32-bit time types will

[PATCH] MIPS: Remove unneeded #ifdef __KERNEL__ from asm/processor.h

2014-12-18 Thread Aleksey Makarov
From: David Daney Signed-off-by: David Daney Signed-off-by: Aleksey Makarov --- arch/mips/include/asm/processor.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h index f1df4cb..6c10e94 100644 --- a/arch/mips/includ

[PATCH] staging: gdm724x: remove prohibited space before the comma

2014-12-18 Thread Karthik Nayak
Remove checkpatch error of prohibited space before the comma. Signed-off-by: Karthik Nayak --- drivers/staging/gdm724x/gdm_mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gdm724x/gdm_mux.c b/drivers/staging/gdm724x/gdm_mux.c index b5b063a..d1ab996 10064

[PATCH v16 00/12] input: cyapa: instruction of cyapa patches

2014-12-18 Thread Dudley Du
V16 patches have below updates, details of other updates see history list: 1) Fix all miss-spelling and space issue. 2) Rename variables and functions with much more clearer names. 3) Initialize and document tries near where it will be used. 4) Modify cmd buffer to struct for more descriptive way.

[PATCH v16 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-18 Thread Dudley Du
In order to support multiple different chipsets and communication protocols trackpad devices in one cyapa driver, the new cyapa driver is re-designed with one cyapa driver core and multiple device specific functions component. The cyapa driver core is contained in this patch, it supplies basic func

[PATCH v16 02/12] input: cyapa: add gen5 trackpad device basic functions support

2014-12-18 Thread Dudley Du
Based on the cyapa core, add the gen5 trackpad device's basic functions supported, so gen5 trackpad device can work with kernel input system. And also based on the state parse interface, the cyapa driver can automatically determine the attached is gen3 or gen5 protocol trackpad device, then set the

Re: [LKP] [sb_edac] 50d1bb93672: EDAC sbridge: ECC is disabled. Aborting

2014-12-18 Thread Mauro Carvalho Chehab
Hi Huang, Em Thu, 18 Dec 2014 16:13:26 +0800 Huang Ying escreveu: > FYI, we noticed the below changes on > > commit 50d1bb93672fa2f42cec6e06ce799fbe864f57e9 ("sb_edac: add support for > Haswell based systems") > > Something new in kernel log. This may be expected. Just FYI. > > [ 12.4906

RE: [PATCH v16 00/12] input: cyapa: instruction of cyapa patches

2014-12-18 Thread Dudley Du
Jeremiah, I re-sent the v16 patches through the new internal email server with my emal d...@cypress.com. Could you help check if all patches were fine and not broken. Thanks, Dudley > -Original Message- > From: Dudley Du [mailto:d...@cypress.com] > Sent: 2014?12?18? 18:01 > To: dmitry.t

Re: [PATCH v2] Staging: wlan-ng: hfa384x_usb: fixed an 'else' statement coding style issue

2014-12-18 Thread Eduardo Barretto
Thank you for your feedback Greg! I wonder if I should send a patch v3 or patch v2.1 with a better description. Is there any standard that I should follow when sending another version of a patch? Thanks, Best regards, Eduardo dos Santos Barretto On Thu, Dec 18, 2014 at 1:11 AM, Greg KH wrote:

Re: [PATCH 3/3] i8k: Remove laptop specific config data (fan_mult, fan_max) from driver

2014-12-18 Thread Pali Rohár
On Wednesday 10 December 2014 14:32:16 Gabriele Mazzotta wrote: > On Wednesday 10 December 2014 12:51:30 Pali Rohár wrote: > > On Tuesday 09 December 2014 21:07:01 Pali Rohár wrote: > > > Now we have autodetection code for fan multiplier and > > > maximal fan speed so we do not need to have those >

Re: [PATCH 3/3] i8k: Remove laptop specific config data (fan_mult, fan_max) from driver

2014-12-18 Thread Pali Rohár
On Wednesday 17 December 2014 19:20:21 Steven Honeyman wrote: > On 17 December 2014 at 17:54, Pali Rohár wrote: > > On Wednesday 10 December 2014 12:51:30 Pali Rohár wrote: > >> On Tuesday 09 December 2014 21:07:01 Pali Rohár wrote: > >> > Now we have autodetection code for fan multiplier and > >

Re: [PATCH 2/3] i8k: Autodetect maximal fan speed and fan RPM multiplier

2014-12-18 Thread Pali Rohár
On Wednesday 10 December 2014 15:08:11 Guenter Roeck wrote: > On 12/10/2014 03:50 AM, Pali Rohár wrote: > > On Tuesday 09 December 2014 23:42:08 Guenter Roeck wrote: > >> On Tue, Dec 09, 2014 at 09:23:22PM +0100, Pali Rohár wrote: > >>> On Tuesday 09 December 2014 21:20:23 Guenter Roeck wrote: > >>

[PATCH] regulator: rt5033-regulator: Use regulator_nodes/of_match in the descriptor

2014-12-18 Thread Beomho Seo
This patch is add regulator_nodes/of_match in the regulator descriptor for using information from DT instead of sppecific codes. Cc: Liam Girdwood Cc: Mark Brown Signed-off-by: Beomho Seo --- drivers/regulator/rt5033-regulator.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-)

[tip:x86/urgent] x86/tls: Don't validate lm in set_thread_area() after all

2014-12-18 Thread tip-bot for Andy Lutomirski
Commit-ID: 3fb2f4237bb452eb4e98f6a5dbd5a445b4fed9d0 Gitweb: http://git.kernel.org/tip/3fb2f4237bb452eb4e98f6a5dbd5a445b4fed9d0 Author: Andy Lutomirski AuthorDate: Wed, 17 Dec 2014 14:48:30 -0800 Committer: Ingo Molnar CommitDate: Thu, 18 Dec 2014 12:12:26 +0100 x86/tls: Don't validate

Re: [v2 PATCH 1/2] powerpc32: adds handling of _PAGE_RO

2014-12-18 Thread Scott Wood
On Thu, 2014-12-18 at 08:11 +0100, leroy christophe wrote: > Le 18/12/2014 03:14, Scott Wood a écrit : > > On Wed, 2014-12-17 at 10:14 +0100, Christophe Leroy wrote: > >> Some powerpc like the 8xx don't have a RW bit in PTE bits but a RO (Read > >> Only) bit. > >> This patch implements the handlin

<    1   2   3   4   5   6   7   >