[PATCH V2] tick/broadcast: Make movement of broadcast hrtimer robust against hotplug

2015-01-20 Thread Preeti U Murthy
Today if the cpu handling broadcasting of wakeups goes offline, the job of broadcasting is handed over to another cpu in the CPU_DEAD phase. The CPU_DEAD notifiers are run only after the offline cpu sets its state as CPU_DEAD. Meanwhile, the kthread doing the offline is scheduled out while waiting

[PATCH] crypto: replace scatterwalk_sg_next with sg_next

2015-01-20 Thread Cristian Stoica
Modify crypto drivers to use the generic SG helper since both of them are equivalent and the one from crypto is redundant. See also: 468577abe37ff7b453a9ac613e0ea155349203ae reverted in b2ab4a57b018aafbba35bff088218f5cc3d2142e Signed-off-by: Cristian Stoica cristian.sto...@freescale.com

[PATCH 07/12] pm: at91: the standby mode uses the same sram function as the suspend to memory mode

2015-01-20 Thread Wenyou Yang
To simply the PM code, the suspend to standby mode uses the same sram function as the suspend to memory mode, running in the internal SRAM, instead of the respective code for each mode. But for the suspend to standby mode, the master clock doesn't switch to the slow clock, and the main

RE: [f2fs-dev] [RFC PATCH 01/10] f2fs: move ext_lock out of struct extent_info

2015-01-20 Thread Chao Yu
Ping, any comments on this RFC patch set? Thanks, -Original Message- From: Chao Yu [mailto:chao2...@samsung.com] Sent: Monday, January 12, 2015 3:09 PM To: Jaegeuk Kim; Changman Lee Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: [f2fs-dev] [RFC

Re: [PATCH v5 5/5] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-20 Thread Orson Zhai
On Tue, Jan 20, 2015 at 3:37 PM, Lyra Zhang zhang.l...@gmail.com wrote: Hi, Rob I still have a question to be conform, specific describes below: On Mon, Jan 19, 2015 at 10:11 PM, Rob Herring robherri...@gmail.com wrote: On Mon, Jan 19, 2015 at 3:55 AM, Lyra Zhang zhang.l...@gmail.com wrote:

Re: [PATCH v2 1/3] Drivers: hv: check vmbus_device_create() return value in vmbus_process_offer()

2015-01-20 Thread Vitaly Kuznetsov
Dan Carpenter dan.carpen...@oracle.com writes: On Mon, Jan 19, 2015 at 05:56:11PM +0100, Vitaly Kuznetsov wrote: vmbus_device_create() result is not being checked in vmbus_process_offer() and it can fail if kzalloc() fails. Add the check and do minor cleanup to avoid additional duplication

Re: [PATCH 5/5] KVM: nVMX: Enable nested posted interrupt processing.

2015-01-20 Thread Paolo Bonzini
On 20/01/2015 08:54, Wincy Van wrote: On Tue, Jan 20, 2015 at 3:34 PM, Paolo Bonzini pbonz...@redhat.com wrote: Hence, we can disable local interrupts while delivering nested posted interrupts to make sure we are faster than the destination vcpu. This is a bit tricky but it an avoid that

[PATCH 09/12] pm: at91: rename function name: at91_slow_clock()--at91_pm_suspend_sram_fn

2015-01-20 Thread Wenyou Yang
As the file name's renaming, rename the file name at91_slow_clock()-- at91_pm_suspend_sram_fn, rename the function handler's name at the same time. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/pm.c

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Chanwoo Choi
Hi Viresh, I explained the relation between memory bus group and memory bus block on following patch[1]. - [1] https://lkml.org/lkml/2015/1/8/642 On 01/20/2015 04:19 PM, Viresh Kumar wrote: On 9 January 2015 at 02:48, Rob Herring robherri...@gmail.com wrote: Adding Viresh. Sorry for being

[PATCH 08/12] pm: at91: rename file name: pm_slowclock.S --pm_suspend.S

2015-01-20 Thread Wenyou Yang
Because the sram function is used for the suspend to standby mode as well, more than suspend to memory, so renaming is more elegant. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/Makefile |2 +-

[PATCH 06/12] pm: at91: remove the config item CONFIG_AT91_SLOW_CLOCK

2015-01-20 Thread Wenyou Yang
The slow clock always exists, for the suspend to memory mode, the master clock always switch to the slow clock. To simplify the PM config, remove this config item, remove the definition code as well. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Alexandre Belloni

Re: Proposal about reorganize struct irq_data and struct irq_desc

2015-01-20 Thread Thomas Gleixner
On Mon, 19 Jan 2015, Jiang Liu wrote: Hi Thomas and Marc, During working on the generic MSI support, I have some proposal about reorganizing struct irq_data and struct irq_desc. The proposed changes are: 1) Add a pointer struct irq_desc * to struct irq_data, so we could quickly get

Re: [PATCH] BLACKFIN MEDIA DRIVER: rewrite the blackfin style of read/write into common style

2015-01-20 Thread Steven Miao
Hi Hans, On Mon, Jan 19, 2015 at 5:45 PM, Hans Verkuil hverk...@xs4all.nl wrote: On 01/19/2015 04:13 AM, Hao Liang wrote: Hi Hans, Thank you for your reply. This change comes largely from a non-blackfin architecture dsp processor of ADI want to reuse this driver. And i have tested common

[PATCH 04/12] pm: at91: move the copying the sram function to the sram initializationi phase

2015-01-20 Thread Wenyou Yang
To decrease the suspend time, move the copying the sram function to the sram initialization phase, instead of every time go to suspend. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/pm.c |7 +++ 1

Re: [PATCH RESEND v2 5/7] mfd: cros_ec: Instantiate ChromeOS EC character device

2015-01-20 Thread Lee Jones
On Fri, 02 Jan 2015, Javier Martinez Canillas wrote: The ChromeOS EC character device is an user-space interface to allow applications to access the Embedded Controller. Add a cell for this device so it's spawned from the mfd driver. Signed-off-by: Javier Martinez Canillas

[PATCH 05/12] ARM: at91: move select SRAM to ARCH_AT91

2015-01-20 Thread Wenyou Yang
Because the CONFIG_AT91_SLOW_CLOCK will be removed to simply the PM config, so move select SRAM. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com --- arch/arm/mach-at91/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/Kconfig

[PATCH 11/12] pm: at91: remove the struct ramc_ids .data at91_xxx_standby members

2015-01-20 Thread Wenyou Yang
Because the at91_xxx_standby function is removed, remove the struct ramc_ids .data members code. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/pm.c | 19 --- 1 file changed, 4

Re: [PATCH] bluetooth: Add hci_h4p driver

2015-01-20 Thread Johan Hedberg
Hi Pavel, On Tue, Dec 23, 2014, Pavel Machek wrote: + while (1) { + int cmd, len; + + fw_pos += cmd_len; + + if (fw_pos = fw_entry-size) + break; + + if (fw_pos + 2 fw_entry-size) { +

[PATCH 12/12] pm: at91: amend the pm_suspend entry for at91_cpuidle_device

2015-01-20 Thread Wenyou Yang
Because the at91_xxx_standby() function is substitued by the at91_pm_suspend(), the pm_suspend entry for at91_cpuidle_device changes as well. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/pm.c | 17

Re: [PATCH] ARM: vf610: use zero based naming for GPIO nodes

2015-01-20 Thread Shawn Guo
On Fri, Jan 16, 2015 at 06:06:15PM +0100, Stefan Agner wrote: On Vybrid, all peripherals are numbered starting with zero, including the GPIO and PORT module. However, the labels of the corresponding device tree nodes start with one, which is confusing. Fix that by renaming the labels of the

Re: [PATCH 3.19-rc2 v15 5/8] arm: omap1: Migrate debug_ll macros to use 8250.S

2015-01-20 Thread Daniel Thompson
On 19/01/15 21:38, Tony Lindgren wrote: * Daniel Thompson daniel.thomp...@linaro.org [150105 04:49]: The omap1's debug-macro.S is similar to the generic 8250 code. Compared to the 8520 code the omap1 macro automatically determines what UART to use based on breadcrumbs left by the bootloader

Re: [PATCH v3 2/3] dt-bindings: Add pinctrl bindings for mt65xx/mt81xx.

2015-01-20 Thread Linus Walleij
On Fri, Jan 16, 2015 at 11:23 AM, Yingjoe Chen yingjoe.c...@mediatek.com wrote: On Fri, 2015-01-16 at 10:53 +0100, Linus Walleij wrote: On Tue, Jan 13, 2015 at 5:16 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue, Jan 13, 2015 at 11:05:22AM +0100, Linus Walleij wrote: You often talk

Re: [PATCH RESEND v2 3/7] mfd: cros_ec: Add cros_ec_lpc driver for x86 devices

2015-01-20 Thread Lee Jones
On Fri, 02 Jan 2015, Javier Martinez Canillas wrote: From: Bill Richardson wfric...@chromium.org This adds the LPC interface to the Chrome OS EC. Like the I2C and SPI drivers, this allows userspace access to the EC. I'm fairly certain that this is _not_ an MFD device. Please locate it to

Re: kdbus: add documentation

2015-01-20 Thread Michael Kerrisk (man-pages)
Daniel, David, On 11/30/2014 06:23 PM, Florian Weimer wrote: * David Herrmann: On Sun, Nov 30, 2014 at 10:02 AM, Florian Weimer f...@deneb.enyo.de wrote: * Greg Kroah-Hartman: +7.4 Receiving messages What happens if this is not possible because the file descriptor limit of the

[PATCH 03/12] pm: at91: pm_slowclock: remove the unused code related with SLOWDOWN_MASTER_CLOCK

2015-01-20 Thread Wenyou Yang
The SLOWDOWN_MASTER_CLOCK definition is not used, remove the redundant code. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/pm_slowclock.S | 37 - 1 file changed, 37

Re: [PATCH net-next v8 2/4] net: netcp: Add Keystone NetCP core ethernet driver

2015-01-20 Thread Paul Bolle
Murali, Wingman, On Thu, 2015-01-15 at 19:12 -0500, Murali Karicheri wrote: The network coprocessor (NetCP) is a hardware accelerator available in Keystone SoCs that processes Ethernet packets. NetCP consists of following hardware components 1 Gigabit Ethernet (GbE) subsystem with a

[PATCH 02/12] pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.

2015-01-20 Thread Wenyou Yang
From: Peter Rosin p...@axentia.se The DDRSDR controller fails miserably to put LPDDR1 memories in self-refresh. Force the controller to think it has DDR2 memories during the self-refresh period, as the DDR2 self-refresh spec is equivalent to LPDDR1, and is correctly implemented in the controller.

[PATCH 10/12] pm: at91: remove the at91_xxx_standby() function definitions in the pm.h

2015-01-20 Thread Wenyou Yang
Because the the suspend to standby mode uses the sram function, these functions will not used, remove the redundant code. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/pm.h | 110

Re: kdbus: add documentation

2015-01-20 Thread Daniel Mack
Hi Michael, On 01/20/2015 09:09 AM, Michael Kerrisk (man-pages) wrote: On 11/30/2014 06:23 PM, Florian Weimer wrote: * David Herrmann: On Sun, Nov 30, 2014 at 10:02 AM, Florian Weimer f...@deneb.enyo.de wrote: * Greg Kroah-Hartman: +7.4 Receiving messages What happens if this is not

[PATCH v2 5/5] KVM: nVMX: Enable nested posted interrupt processing.

2015-01-20 Thread Wincy Van
If vcpu has a interrupt in vmx non-root mode, we will kick that vcpu to inject interrupt timely. With posted interrupt processing, the kick intr is not needed, and interrupts are fully taken care of by hardware. In nested vmx, this feature avoids much more vmexits than non-nested vmx. This patch

[PATCH] mtd: update ops-oobretlen in concat_write_oob

2015-01-20 Thread Niklas Cassel
In concat_read_oob both retlen and oobretlen is updated. concat_write_oob previously only updated retlen. Signed-off-by: Niklas Cassel nikl...@axis.com --- drivers/mtd/mtdconcat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/mtdconcat.c

[GIT PULL] pin control fixes for the v3.19 series

2015-01-20 Thread Linus Walleij
Hi Linus, here is a (hopefully final) slew of pin control fixes for the v3.19 series. The deadlock fix is kind of serious and tagged for stable, the rest is business as usual. Please pull them in! Yours, Linus Walleij The following changes since commit

[PATCH] Selinux/hooks.c: Fix a NULL pointer dereference caused by semop()

2015-01-20 Thread Ethan Zhao
A NULL pointer dereference was observed as following panic: BUG: unable to handle kernel NULL pointer dereference at (null) IP: [812735eb] ipc_has_perm+0x4b/0x60 ... Process opcmon (pid: 30712, threadinfo 880237f2a000, task 88022ac70e40) Stack: 880237f2bc04 01020953

Michael Wang got a new mail address

2015-01-20 Thread Yun Wang
Hi, folks And this is my new mail address ;-) Regards, Michael Wang -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

[PATCH 0/3] pinctrl: Qualcomm msm8916 pinctrl driver

2015-01-20 Thread Stanimir Varbanov
This series adds a pinctrl driver for Snapdragon 410 (msm8916) SoC. The first patch increase the register address variable size, next adds a binding document and the last patch adds the pinctrl driver Comments are welcome! regards, Stan Joonwoo Park (2): pinctrl: qcom: increase variable size

[PATCH 3/3] phy: ulpi: add driver for TI TUSB1210

2015-01-20 Thread Heikki Krogerus
TUSB1210 ULPI PHY has vendor specific register for eye diagram tuning. On some platforms the system firmware has set optimized value to it. In order to not loose the optimized value, the driver stores it during probe and restores it every time the PHY is powered back on. Signed-off-by: Heikki

[PATCH 1/3] pinctrl: qcom: increase variable size for register addresses

2015-01-20 Thread Stanimir Varbanov
From: Joonwoo Park joonw...@codeaurora.org Newer MSM SoCs have TLMM hardware block upper than 16 bit. Increase to 32 bit registers to hold addresses correctly. Signed-off-by: Joonwoo Park joonw...@codeaurora.org Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com ---

[PATCH 0/3] phy: ulpi bus

2015-01-20 Thread Heikki Krogerus
Heikki Krogerus (3): phy: add bus for USB ULPI PHYs usb: dwc3: add ULPI interface support phy: ulpi: add driver for TI TUSB1210 MAINTAINERS| 7 ++ drivers/phy/Kconfig| 2 + drivers/phy/Makefile | 1 + drivers/phy/ulpi/Kconfig

[PATCH 3/3] pinctrl: qcom: Add msm8916 pinctrl driver

2015-01-20 Thread Stanimir Varbanov
From: Joonwoo Park joonw...@codeaurora.org Add initial pinctrl driver to support pin configuration with pinctrl framework for msm8916. Signed-off-by: Joonwoo Park joonw...@codeaurora.org Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com --- drivers/pinctrl/qcom/Kconfig |8 +

[PATCH 2/3] DT: pinctrl: Document Qualcomm MSM8916 pinctrl binding

2015-01-20 Thread Stanimir Varbanov
Adds devicetree binding documentation. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com --- .../bindings/pinctrl/qcom,msm8916-pinctrl.txt | 186 1 files changed, 186 insertions(+), 0 deletions(-) create mode 100644

Re: [PATCH v2] ARM: dts: exynos5422-odroidxu3: add on-board INA231 sensors

2015-01-20 Thread Sjoerd Simons
On Wed, 2015-01-14 at 17:08 -0800, Kevin Hilman wrote: From: Kevin Hilman khil...@linaro.org The odroid-xu3 has 4 INA231 current sensors on board which can be accessed from the Linux via the hwmon interface. There is one sensor for each of these power rails: - A15 cluster: VDD_ARM - A7

[PATCH 1/3] phy: add bus for USB ULPI PHYs

2015-01-20 Thread Heikki Krogerus
UTMI+ Low Pin Interface (ULPI) is a commonly used PHY interface for USB 2.0. It describe a standard set of registers which the vendors can extend for their specific needs. ULPI registers are accessed from the controller. The purpose of the bus is to provide nice way for the controller drivers to

[PATCH 2/3] usb: dwc3: add ULPI interface support

2015-01-20 Thread Heikki Krogerus
Registers ULPI interface with the ULPI bus if HSPHY type is ULPI. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/dwc3/Kconfig | 7 drivers/usb/dwc3/Makefile | 4 ++ drivers/usb/dwc3/core.c | 9 +++-

[PATCH v2] ARM: clk: add clk-asm9260 driver

2015-01-20 Thread Oleksij Rempel
Provide CLK support for Alphascale ASM9260 SoC. Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/clk/Makefile | 1 + drivers/clk/clk-asm9260.c | 348 + include/dt-bindings/clock/alphascale,asm9260.h | 97

Re: [PATCH 5/7] ARM: at91: move debug-macro.S into the common space

2015-01-20 Thread Paul Bolle
debug-macro.S into the common space) in today's linux-next (ie, next-20150120). I noticed because a script I use to check linux-next spotted a problem in it. MAINTAINERS | 1 + arch/arm/Kconfig.debug| 9

Re: [PATCH 5/5] ARM: omap2plus_defconfig: Enable PCF857X and EXTCON_GPIO_USB

2015-01-20 Thread Roger Quadros
On 19/01/15 21:38, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [150119 10:52]: * Roger Quadros rog...@ti.com [150119 09:55]: Both are needed for USB cable type detection on dra7-evm. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/configs/omap2plus_defconfig | 2 ++ 1

[PATCH] staging: iio: tsl2x7x_core: fix format string warnings

2015-01-20 Thread Asaf Vertz
Fixed the following warnings (reported by cppcheck): [drivers/staging/iio/light/tsl2x7x_core.c:1150]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/staging/iio/light/tsl2x7x_core.c:1150]: (warning) %d in format string (no. 2) requires

Re: [PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-20 Thread Hanjun Guo
On 2015年01月20日 02:01, Mark Rutland wrote: On Mon, Jan 19, 2015 at 05:52:33PM +, Catalin Marinas wrote: On Mon, Jan 19, 2015 at 04:59:47PM +, Jon Masters wrote: On 01/19/2015 10:13 AM, Grant Likely wrote: On Mon, 19 Jan 2015 13:51:45 + , Catalin Marinas catalin.mari...@arm.com

Re: Logged messages from i915 using kernel 3.19-rc4

2015-01-20 Thread Borislav Petkov
On Tue, Jan 20, 2015 at 01:17:10AM -0600, Larry Finger wrote: Hi, I just discovered almost 100 of the following entries in my log: [drm:intel_uncore_check_errors [i915]] *ERROR* Unclaimed register before interrupt Those were accumulated in about 12 hours of operation. I also have one

staging: fbtft: CONFIG_ARCH_BCM2708?

2015-01-20 Thread Paul Bolle
Thomas, Noralf, Your commit c296d5f9957c (staging: fbtft: core support) is included in today's linux-next (ie, next-20150120). I noticed because a script I use to check linux-next spotted a problem in it. See, that commit adds two checks for CONFIG_ARCH_BCM2708. But there's no Kconfig symbol

Re: Behaviour of smp_mb__{before,after}_spin* and acquire/release

2015-01-20 Thread Peter Zijlstra
On Tue, Jan 13, 2015 at 04:33:54PM +, Will Deacon wrote: Hi Paul, I started dusting off a series I've been working to implement a relaxed atomic API in Linux (i.e. things like atomic_read(v, ACQUIRE)) but I'm having trouble making sense of the ordering semantics we have in mainline

[PATCH] microblaze: Remove *.dtb files in make clean

2015-01-20 Thread Michal Simek
dts/Makefile is called only for simpleImage target which is causing that *.dtb are not removed. This patch fix it. Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/microblaze/boot/Makefile | 3 +-- arch/microblaze/boot/dts/Makefile | 2 -- 2 files changed, 1 insertion(+), 4

Re: [PATCH] staging: iio: ad5933: fix format string warnings

2015-01-20 Thread Lars-Peter Clausen
On 01/20/2015 08:25 AM, Asaf Vertz wrote: Fixed the following warnings (reported by cppcheck): [drivers/staging/iio/impedance-analyzer/ad5933.c:363]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.

Re: [PATCH 1/2] cpufreq-dt: check CPU clock/power domain during initializing

2015-01-20 Thread Pi-Cheng Chen
On 20 January 2015 at 15:39, Viresh Kumar viresh.ku...@linaro.org wrote: On 20 January 2015 at 13:03, Pi-Cheng Chen pi-cheng.c...@linaro.org wrote: I will also try to add intermediate frequency support in next version. Sure BTW, do you think it's a good idea to add a new device tree binding

Re: [RFC PATCH 0/5] compaction: changing initial position of scanners

2015-01-20 Thread Vlastimil Babka
On 01/19/2015 11:05 AM, Vlastimil Babka wrote: Preliminary testing with THP-like allocations has shown similar improvements, which is somewhat surprising, because THP allocations do not use sync and thus do not defer compaction; but changing the pivot is currently tied to restarting from

ARM: OMAP3: MACH_OMAP3517EVM?

2015-01-20 Thread Paul Bolle
Tony, Your commit 4d62dbda8561 (ARM: OMAP3: Remove legacy support for am3517-evm) is included in today's linux-next (ie, next-20150120). I noticed because a script I use to check linux-next spotted a problem caused by it. See, your commit removes the Kconfig symbol MACH_OMAP3517EVM. But there's

pull-request: wireless-drivers 2015-01-20

2015-01-20 Thread Kalle Valo
Hi Dave, more fixes for 3.19, I hope these are still appropriate. Please let me know if there are any issues. Kalle The following changes since commit 16dde0d6ac159531a5e03cd3f8bc8a401d9f3fb6: be2net: Allow GRE to work concurrently while a VxLAN tunnel is configured (2015-01-15 01:55:05

Re: [PATCH V3] mm/thp: Allocate transparent hugepages on local node

2015-01-20 Thread Vlastimil Babka
On 01/20/2015 06:52 AM, Aneesh Kumar K.V wrote: Vlastimil Babka vba...@suse.cz writes: On 01/17/2015 01:02 AM, Andrew Morton wrote: On Fri, 16 Jan 2015 12:56:36 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: This make sure that we try to allocate hugepages from local node

[PATCH 00/12] AT91 pm cleanup for 3.20

2015-01-20 Thread Wenyou Yang
Hi Nicolas, This patch set is based on Alexandre's patch set of AT91 cleanup for 3.20 #2. It also includes the patches from Peter Rosin and Sylvain Rochet. Removes CONFIG_AT91_SLOW_CLOCK config item to simply the PM config, The suspend to standby mode uses the same sram function as the suspend

[PATCH 01/12] pm: at91: pm_slowclock: improve reliability of suspend/resume

2015-01-20 Thread Wenyou Yang
From: Sylvain Rochet sylvain.roc...@finsecur.com Assume USB PLL and PLL B are already stopped before entering sleep mode, print a warning if this isn't the case. Removed timeout on XTAL, PLL lock and Master Clock Ready, hang if something went wrong instead of continuing in unknown condition.

[PATCH 09/12] pm: at91: rename function name: at91_slow_clock()--at91_pm_suspend_sram_fn

2015-01-20 Thread Wenyou Yang
As the file name's renaming, rename the file name at91_slow_clock()-- at91_pm_suspend_sram_fn, rename the function handler's name at the same time. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/pm.c

[PATCH 7/8] mfd: Add support for the MediaTek MT6397 PMIC

2015-01-20 Thread Sascha Hauer
From: Flora Fu flora...@mediatek.com This adds support for the MediaTek MT6397 PMIC. This is a multifunction device with the following sub modules: - Regulator - RTC - Audio codec - GPIO - Clock It is interfaced to the host controller using SPI interface by a proprietary hardware called PMIC

[PATCH 4/8] soc: mediatek: Add PMIC wrapper for MT8135 and MT6397 SoC

2015-01-20 Thread Sascha Hauer
From: Flora Fu flora...@mediatek.com This adds support for the PMIC wrapper found on MediaTek MT8135 and MT8173 SoCs. On MediaTek MT8135, MT8173 and other SoCs the PMIC is connected via SPI. The SPI master interface is not directly visible to the CPU, but only through the PMIC wrapper inside the

[PATCH v2 07/11] powerpc/8xx: macro for handling CPU15 errata

2015-01-20 Thread Christophe Leroy
Having a macro will help keep clear code. Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- v2: no change arch/powerpc/kernel/head_8xx.S | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S

[PATCH v2 00/11] powerpc8xx: Further optimisation of TLB handling

2015-01-20 Thread Christophe Leroy
This patchset provides a further optimisation of TLB handling in the 8xx. Main changes are based on: - Using processor handling of PGD/PTE Validity bits instead of testing ourselves the entries validity - Aligning PGD address to allow direct bit manipulation - Not saving registers like CR when not

Re: [PATCH v4 1/3] pinctrl: add driver for Amlogic Meson SoCs

2015-01-20 Thread Linus Walleij
On Sat, Jan 17, 2015 at 7:15 PM, Beniamino Galvani b.galv...@gmail.com wrote: This is a driver for the pinmux and GPIO controller available in Amlogic Meson SoCs. It currently supports only Meson8, however the common code should be generic enough to work also for other SoCs after having

[PATCH RFC 0/6] epoll: Introduce new syscall epoll_mod_wait

2015-01-20 Thread Fam Zheng
This adds a new system call, epoll_mod_wait. It's described as below: NAME epoll_mod_wait - modify and wait for I/O events on an epoll file descriptor SYNOPSIS int epoll_mod_wait(int epfd, int flags, int ncmds, struct epoll_mod_cmd

[PATCH v2 08/11] powerpc/8xx: Handle CR out of exception PROLOG/EPILOG

2015-01-20 Thread Christophe Leroy
In order to be able to reduce scope during which CR is saved, we take CR saving/restoring out of exception PROLOG and EPILOG Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- v2: no change arch/powerpc/kernel/head_8xx.S | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-)

Re: [PATCH 2/8] gpio/-mm-lantiq: Use devm_kzalloc

2015-01-20 Thread Linus Walleij
On Sun, Jan 18, 2015 at 12:39 PM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: Replace kzalloc with the device managed devm_kzalloc Cc: Linus Walleij linus.wall...@linaro.org Cc: Alexandre Courbot gnu...@gmail.com Cc: John Crispin blo...@openwrt.org Signed-off-by: Ricardo

[PATCH v5 3/5] power: max77693: Add charger driver for Maxim 77693

2015-01-20 Thread Krzysztof Kozlowski
Add new driver for Maxim 77693 switch-mode charger (part of max77693 MFD driver) providing power supply class information to userspace. The charger has +20V tolerant input. Current input can be set from 0 to 2.58 A. The charger can deliver up to 2.1 A to the battery or 3.5 A to the system (when

Re: [PATCH 3/8] gpio/mm-lantiq: Do not replicate code

2015-01-20 Thread Linus Walleij
On Sun, Jan 18, 2015 at 12:39 PM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: Do not replicate code from of_mm_gpiochip_add. Cc: Linus Walleij linus.wall...@linaro.org Cc: Alexandre Courbot gnu...@gmail.com Cc: John Crispin blo...@openwrt.org Signed-off-by: Ricardo Ribalda

[PATCH v5 1/5] devicetree: power/mfd: max77693: Document new bindings for charger

2015-01-20 Thread Krzysztof Kozlowski
Document new device tree bindings for Maxim 77693 charger driver. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- Documentation/devicetree/bindings/mfd/max77693.txt | 45 ++ 1 file changed, 45 insertions(+) diff --git

Re: [PATCH 3.19-rc2 v14 0/7] arm: Implement arch_trigger_all_cpu_backtrace

2015-01-20 Thread Daniel Thompson
On 13/01/15 10:26, Daniel Thompson wrote: Hi Thomas, Hi Jason: Patches 1 to 3 are for you (and should be separable from the rest of the series). The patches haven't changes since the last time I posted them. The changes in v14 tidy up the later part of the patch set in order

Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board

2015-01-20 Thread Lee Jones
On Mon, 19 Jan 2015, Robert Jarzmik wrote: Lee Jones lee.jo...@linaro.org writes: On Fri, 16 Jan 2015, Robert Jarzmik wrote: [...] + res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); platform_get_irq()? No. I need the flags. Where are they used? [...] + if (ret) { +

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-20 Thread Tomasz Nowicki
Hi Marc, On 16.01.2015 12:15, Marc Zyngier wrote: On 14/01/15 15:05, Hanjun Guo wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and distributor addresses and call

[PATCH 21/36] drm/tegra: dc: Do not needlessly deassert reset

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Commit 9c0127004ff4 (drm/tegra: dc: Add powergate support) changed the driver's -probe() implementation to deassert the module reset, and with there being nobody else to assert it until -remove() there is no need to deassert again later on. Signed-off-by:

Re: [PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-20 Thread Catalin Marinas
On Tue, Jan 20, 2015 at 09:29:14AM +, Hanjun Guo wrote: On 2015年01月20日 02:01, Mark Rutland wrote: On Mon, Jan 19, 2015 at 05:52:33PM +, Catalin Marinas wrote: On Mon, Jan 19, 2015 at 04:59:47PM +, Jon Masters wrote: On 01/19/2015 10:13 AM, Grant Likely wrote: On Mon, 19 Jan

[PATCH 23/36] drm/tegra: Atomic conversion, phase 2

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Hook up the default -reset() and -atomic_duplicate_state() helpers. This ensures that state objects are properly created and framebuffer reference counts correctly maintained. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/gpu/drm/tegra/dc.c

Re: [PATCH v3 00/13] Add kdbus implementation

2015-01-20 Thread Johannes Stezenbach
On Tue, Jan 20, 2015 at 09:13:59AM +0800, Greg Kroah-Hartman wrote: On Tue, Jan 20, 2015 at 12:38:12AM +0100, Johannes Stezenbach wrote: Those automotive applications you were talking about, what was the OS they were ported from and what was the messaging API they used? They were ported

[PATCH 12/36] drm/tegra: output: Make -setup_clock() optional

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com In order to transition output drivers to using the struct tegra_output as a helper rather than midlayer, make this callback optional. Instead drivers should implement the equivalent as part of -mode_fixup(). For the conversion to atomic modesetting a new

[PATCH 25/36] drm/tegra: dc: Store clock setup in atomic state

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This allows the clock setup to be separated from the clock programming and better matches the expectations of the atomic modesetting where no code paths must fail during modeset. Signed-off-by: Thierry Reding tred...@nvidia.com ---

[PATCH 26/36] drm/tegra: rgb: Implement -atomic_check()

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The implementation of the -atomic_check() callback precomputes all parameters to check if the given configuration can be applied. If so the precomputed values are stored in the atomic state object for the encoder and applied during modeset. In that way the

[PATCH 24/36] drm/tegra: Atomic conversion, phase 3, step 1

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Switch out the regular plane helpers for the atomic plane helpers. Also use the default atomic helpers to implement the -atomic_check() and -atomic_commit() callbacks. The driver now exclusively uses the atomic interfaces. Signed-off-by: Thierry Reding

Re: [PATCH v3 04/16] virtio/console: verify device has config space

2015-01-20 Thread Michael S. Tsirkin
On Tue, Jan 20, 2015 at 04:10:40PM +0530, Amit Shah wrote: On (Wed) 14 Jan 2015 [19:27:35], Michael S. Tsirkin wrote: Some devices might not implement config space access (e.g. remoteproc used not to - before 3.9). virtio/console needs config space access so make it fail gracefully if not

Re: [PATCH 05/36] drm/atomic: Add drm_atomic_plane_get_crtc_state()

2015-01-20 Thread Daniel Vetter
On Tue, Jan 20, 2015 at 11:48:24AM +0100, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com This function is useful to obtain the state of the CRTC that a plane is being attached to. Signed-off-by: Thierry Reding tred...@nvidia.com --- include/drm/drm_atomic.h | 21

Re: [PATCH 02/36] drm/plane: Make -atomic_update() mandatory

2015-01-20 Thread Daniel Vetter
On Tue, Jan 20, 2015 at 11:48:21AM +0100, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com There is no use-case where it would be useful for drivers not to implement this function and the transitional plane helpers already require drivers to provide an implementation.

Re: [PATCH 34/36] drm/tegra: Track active planes in CRTC state

2015-01-20 Thread Daniel Vetter
On Tue, Jan 20, 2015 at 11:48:53AM +0100, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com Wrap struct drm_crtc_state in a driver-specific structure and add the planes field which keeps track of which planes are updated or disabled during a modeset. This allows atomic updates of

Re: [PATCH 1/2] if_link: Add VF multicast promiscuous mode control

2015-01-20 Thread Bjørn Mork
Hiroshi Shimamoto h-shimam...@ct.jp.nec.com writes: From: Hiroshi Shimamoto h-shimam...@ct.jp.nec.com Add netlink directives and ndo entry to control VF multicast promiscuous mode. Intel ixgbe and ixgbevf driver can handle only 30 multicast MAC addresses per VF. It means that we cannot

[tip:x86/urgent] x86, irq: Properly tag virtualization entry in / proc/interrupts

2015-01-20 Thread tip-bot for Jan Beulich
Commit-ID: 4a0d3107d6b19125f21172c2b7d95f9c30ecaf6f Gitweb: http://git.kernel.org/tip/4a0d3107d6b19125f21172c2b7d95f9c30ecaf6f Author: Jan Beulich jbeul...@suse.com AuthorDate: Fri, 16 Jan 2015 15:47:07 + Committer: Thomas Gleixner t...@linutronix.de CommitDate: Tue, 20 Jan 2015

[tip:x86/urgent] x86, boot: Skip relocs when load address unchanged

2015-01-20 Thread tip-bot for Kees Cook
Commit-ID: f285f4a21c3253887caceed493089ece17579d59 Gitweb: http://git.kernel.org/tip/f285f4a21c3253887caceed493089ece17579d59 Author: Kees Cook keesc...@chromium.org AuthorDate: Thu, 15 Jan 2015 16:51:46 -0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Tue, 20 Jan 2015

Re: Re: Re: [PATCH tip 0/9] tracing: attach eBPF programs to tracepoints/syscalls/kprobe

2015-01-20 Thread Masami Hiramatsu
(2015/01/20 12:55), Alexei Starovoitov wrote: On Mon, Jan 19, 2015 at 6:58 PM, Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: it's done already... one can do the same skb-dev-name logic in kprobe attached program... so from bpf program point of view, tracepoints and kprobes

Re: [PATCH 13/14] mfd: twl-core: Constify struct regmap_config and reg_default array

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Make array of struct reg_default const as well. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Tony

Re: [PATCH v5 5/5] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-20 Thread Orson Zhai
Hi, Peter, Thank you for reviewing our code! Some discussion below. On 2015年01月16日 23:20, Peter Hurley wrote: On 01/16/2015 05:00 AM, Chunyan Zhang wrote: Add a full sc9836-uart driver for SC9836 SoC which is based on the spreadtrum sharkl64 platform. This driver also support earlycon. This

[PATCH v5] arm: perf: Directly handle SMP platforms with one SPI

2015-01-20 Thread Daniel Thompson
Some ARM platforms mux the PMU interrupt of every core into a single SPI. On such platforms if the PMU of any core except 0 raises an interrupt then it cannot be serviced and eventually, if you are lucky, the spurious irq detection might forcefully disable the interrupt. On these SoCs it is not

[PATCH 2/2] ARM: l2c: Maintain CPU endianness for early resume function

2015-01-20 Thread Dmitry Osipenko
In big endian CPU mode l2x0_saved_regs structure stores registers values in BE format. In order to maintain BE CPU mode, these values and immediate constants must be converted back to LE format before writing them to cache controller. Signed-off-by: Dmitry Osipenko dig...@gmail.com ---

Re: [PATCH v3 2/4] clk: mediatek: Add initial common clock support for Mediatek SoCs.

2015-01-20 Thread Matthias Brugger
2015-01-08 3:55 GMT+01:00 James Liao jamesjj.l...@mediatek.com: Hi Matthias, On Wed, 2015-01-07 at 18:22 +0100, Matthias Brugger wrote: 2015-01-07 4:25 GMT+01:00 James Liao jamesjj.l...@mediatek.com: [...] + +extern spinlock_t *get_mtk_clk_lock(void); + +#define mtk_clk_lock(flags)

Re: [PATCH/RFC v10 05/19] mfd: max77693: Modify flash cell name identifiers

2015-01-20 Thread Jacek Anaszewski
On 01/20/2015 12:13 PM, Lee Jones wrote: On Fri, 09 Jan 2015, Jacek Anaszewski wrote: Change flash cell identifiers from max77693-flash to max77693-led to avoid confusion with NOR/NAND Flash. This is okay by me, but aren't these ABI yet? No, the led driver using it hasn't been merged yet.

Re: [PATCH RFC 5/6] epoll: Add implementation for epoll_mod_wait

2015-01-20 Thread Michael Kerrisk (man-pages)
Hello Fam Zheng, On 01/20/2015 10:57 AM, Fam Zheng wrote: This syscall is a sequence of 1) a number of epoll_ctl calls 2) a epoll_pwait, with timeout enhancement. The epoll_ctl operations are embeded so that application doesn't have to use separate syscalls to insert/delete/update the

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-20 Thread Thomas Gleixner
On Thu, 15 Jan 2015, Rob Herring wrote: On Thu, Jan 15, 2015 at 3:11 AM, Thomas Gleixner t...@linutronix.de wrote: On Wed, 14 Jan 2015, Rob Herring wrote: We do not change shared interrupts in any way. We provide an alternative mechanism for braindead hardware. And if the at91 folks are

Re: [PATCH v2 5/5] KVM: nVMX: Enable nested posted interrupt processing.

2015-01-20 Thread Paolo Bonzini
On 20/01/2015 09:48, Wincy Van wrote: +static int vmx_deliver_nested_posted_interrupt(struct kvm_vcpu *vcpu, + int vector) +{ + int r = 0; + struct vmcs12 *vmcs12; + + /* +* Since posted intr delivery is async, +

  1   2   3   4   5   6   7   8   9   10   >