Re: [Bugfix 1/3] xen/pci: Kill function xen_setup_acpi_sci()

2015-01-20 Thread David Vrabel
On 20/01/15 02:21, Jiang Liu wrote: Currently Xen Domain0 has special treatment for ACPI SCI interrupt, that is initialize irq for ACPI SCI at early stage in a special way as: xen_init_IRQ() -pci_xen_initial_domain() -xen_setup_acpi_sci() Allocate

[PATCH RFC 6/6] x86: Hook up epoll_mod_wait syscall

2015-01-20 Thread Fam Zheng
Signed-off-by: Fam Zheng f...@redhat.com --- arch/x86/syscalls/syscall_32.tbl | 1 + arch/x86/syscalls/syscall_64.tbl | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index b3560ec..52aead3 100644 ---

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

2015-01-20 Thread Fam Zheng
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 fds before poll. It is more efficient if the set of fds varies from

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

2015-01-20 Thread Thomas Gleixner
On Tue, 20 Jan 2015, Preeti U Murthy wrote: --- a/kernel/time/tick-broadcast.c +++ b/kernel/time/tick-broadcast.c @@ -675,8 +675,8 @@ static void broadcast_move_bc(int deadcpu) if (!bc || !broadcast_needs_cpu(bc, deadcpu)) return; - /* This moves the broadcast

[PATCH RFC 3/6] epoll: Add definition for epoll_mod_wait structures

2015-01-20 Thread Fam Zheng
Two structs involved in the coming syscall is defined. Flags in epoll_mod_cmd are reserved, which makes better word alignment and may allow future extension. Signed-off-by: Fam Zheng f...@redhat.com --- include/uapi/linux/eventpoll.h | 20 1 file changed, 20 insertions(+)

[PATCH RFC 2/6] epoll: Specify clockid explicitly

2015-01-20 Thread Fam Zheng
Later we will add clockid in the interface, so let's start using explicit clockid internally. Now we specify CLOCK_MONOTONIC, which is the same as before. Signed-off-by: Fam Zheng f...@redhat.com --- fs/eventpoll.c | 27 +++ 1 file changed, 15 insertions(+), 12

[PATCH RFC 4/6] epoll: Extract ep_ctl_do

2015-01-20 Thread Fam Zheng
This is a common part from epoll_ctl implementation which will be shared with the coming epoll_mod_wait. Signed-off-by: Fam Zheng f...@redhat.com --- fs/eventpoll.c | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/fs/eventpoll.c b/fs/eventpoll.c

Re: [PATCH v2 4/8] gpio-mm-lantiq: Use of_property_read_u32

2015-01-20 Thread Linus Walleij
On Mon, Jan 19, 2015 at 12:27 PM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: Instead of parsing manually the shadow content, use the much simpler helper of_property_read_u32. Cc: Linus Walleij linus.wall...@linaro.org Cc: Alexandre Courbot gnu...@gmail.com Cc: Grant Likely

[PATCH v2 05/11] powerpc/8xx: Optimise access to swapper_pg_dir

2015-01-20 Thread Christophe Leroy
All accessed to PGD entries are done via 0(r11). By using lower part of swapper_pg_dir as load index to r11, we can remove the ori instruction. Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- v2: fixed/added comments to explain what is the real content of M_TW

Re: [RFC PATCH 5/5] arm: perf: Use FIQ to handle PMU events.

2015-01-20 Thread Daniel Thompson
On 19/01/15 17:48, Russell King - ARM Linux wrote: On Tue, Jan 13, 2015 at 04:35:31PM +, Daniel Thompson wrote: +/* + * This handler is called *unconditionally* from the default NMI/FIQ + * handler. The irq may not be anything to do with us so the main + * job of this function is to

Re: [PATCH 8/8] gpio/mpc8xxx: Use of_mm_gpiochip_remove

2015-01-20 Thread Ricardo Ribalda Delgado
Hello Linus I am waiting from the confirmation of Peter if that is what he really needs. It seems to me that the code should continue even if there is no irqdomain created. If we need to abort if there is no irqdomain I would rather create a new patch with this change, since it it is a change

[PATCH 1/2] clk: exynos5420: Add IDs for clocks used in DISP1 power domain

2015-01-20 Thread Javier Martinez Canillas
When a power domain is powered off on Exynos5420 SoC, the input clocks of the devices attached to this power domain are re-parented to oscclk and restored to the original parent after powering on the power domain. So a reference to the input and parent clocks for the devices attached to a power

[PATCH 2/2] ARM: dts: Add DISP1 power domain for exynos5420

2015-01-20 Thread Javier Martinez Canillas
The DISP1 power domain on Exynos5420 SoC includes the FIMD1, MIXER and HDMI modules. Add a device node for this power domain and mark these modules as consumer of the DISP1 power domain. When a power domain is powered on and off, the input clocks of the devices attached to it are reparented. So a

[PATCH V3] 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 0/2] Add HDMI support for Exynos5420 platform

2015-01-20 Thread Javier Martinez Canillas
Hello, This series adds HDMI support for Exynos5420/5422/5800 machines by adding a node for the DISP1 power domain which is used by the HDMI and MIXER modules. It also adds IDs for the attached devices parent and input clocks that are used by the Exynos power domain driver to re-parent the

Re: [PATCH V2 1/2] mfd: da9063: Add device tree support

2015-01-20 Thread Lee Jones
On Mon, 19 Jan 2015, Steve Twiss wrote: From: Steve Twiss stwiss.opensou...@diasemi.com Add device tree support for DA9063 regulators; Real-Time Clock and Watchdog. This patch is dependent on PATCH V2 2/2 Signed-off-by: Steve Twiss stwiss.opensou...@diasemi.com --- This patch

[PATCH 33/36] drm/tegra: Remove unused -mode_fixup() callbacks

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com All output drivers have now been converted to use the -atomic_check() callback, so the -mode_fixup() callbacks are no longer used. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/gpu/drm/tegra/dsi.c | 87

[PATCH 36/36] drm/tegra: dc: Unify enabling the display controller

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Previously output drivers would enable continuous display mode and power up the display controller at various points during the initialization. This is suboptimal because it accesses display controller registers in output drivers and duplicates a bit of

[PATCH 08/36] drm/tegra: dc: Wait for idle when disabled

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com When disabling the display controller, stop it and wait for it to become idle. Doing so ensures that no further accesses to the framebuffer occur and the buffers can be safely unmapped or freed. Signed-off-by: Thierry Reding tred...@nvidia.com ---

[PATCH 07/36] drm/tegra: Stop CRTC at CRTC disable time

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Previously output drivers would all stop the display controller in their disable path. However with the transition to atomic modesetting the display controller needs to be kept running until all planes have been disabled so that software can properly

[PATCH 10/36] drm/tegra: dc: No longer disable planes at CRTC disable

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The DRM core should take care of disabling all unneeded planes, so there is no need to do this explicitly. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/gpu/drm/tegra/dc.c | 14 -- 1 file changed, 14 deletions(-) diff --git

Re: [PATCH 1/2] mfd: rtsx_usb: Fix runtime PM deadlock

2015-01-20 Thread Roger Tseng
On Mon, 2015-01-19 at 09:45 +, Lee Jones wrote: On Thu, 15 Jan 2015, Roger Tseng wrote: sd_set_power_mode() in derived module drivers/mmc/host/rtsx_usb_sdmmc.c acquires dev_mutex and then calls pm_runtime_get_sync() to make sure the device is awake while initializing a newly inserted

Re: [PATCH 03/36] drm/plane: Add optional -atomic_disable() callback

2015-01-20 Thread Daniel Vetter
On Tue, Jan 20, 2015 at 11:48:22AM +0100, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com In order to prevent drivers from having to perform the same checks over and over again, add an optional -atomic_disable callback which the core calls under the right circumstances. v2:

Re: [PATCH/RFC v10 04/19] dt-binding: mfd: max77693: Add DT binding related macros

2015-01-20 Thread Lee Jones
On Fri, 09 Jan 2015, Jacek Anaszewski wrote: Add macros for max77693 led part related binding. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Lee Jones lee.jo...@linaro.org Cc: Chanwoo Choi cw00.c...@samsung.com ---

[PATCH 1/2] perf: convert: fix duplicate field names.

2015-01-20 Thread Wang Nan
Some parameters of syscall tracepoints named as 'nr', 'event', etc. When dealing with them, perf convert to ctf meets some problems: 1. If a parameter with name 'nr', it duplicate syscall's common field 'nr'. One example syscall is io_submit(). 2. If a parameter with name 'event', it is

[PATCH 2/2] perf: convert: fix signess of value.

2015-01-20 Thread Wang Nan
When converting int values, perf first extractes it to a ulonglong, then feeds it to babeltrace as a signed value. For negative 32 bit values (for example, return values of failed syscalls), the extracted data should be something like 0xfffe (-2). It becomes a large int64 value. Babeltrace

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

2015-01-20 Thread leroy christophe
Le 20/01/2015 12:09, David Laight a écrit : From Christophe Leroy Having a macro will help keep clear code. It might remove an #if but it doesn't really help. All it means is that anyone reading the code has to hunt for the definition before proceeding. Some comment about what (and why) the

Re: [PATCH RFC] page_writeback: cleanup mess around cancel_dirty_page()

2015-01-20 Thread Konstantin Khlebnikov
On Fri, Jan 16, 2015 at 4:18 PM, Константин Хлебников khlebni...@yandex-team.ru wrote: 16.01.2015, 04:16, Andrew Morton a...@linux-foundation.org: On Thu, 15 Jan 2015 18:57:31 +0300 Konstantin Khebnikov khlebni...@yandex-team.ru wrote: This patch replaces cancel_dirty_page() with helper

Re: [PATCH v6 3/6] mfd: ti_am335x_tscadc: Remove unwanted reg_se_cache save

2015-01-20 Thread Lee Jones
On Wed, 07 Jan 2015, Vignesh R wrote: In one shot mode, sequencer automatically disables all enabled steps at the end of each cycle. (both ADC steps and TSC steps) Hence these steps need not be saved in reg_se_cache for clearing these steps at a later stage. Also, when ADC wakes up Sequencer

Re: [PATCH 14/14] mfd: twl6040: 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

[alsa-devel][PATCH 2/3] ASoC: fsl_sai: Add support for tdm slots operation

2015-01-20 Thread Zidan Wang
slots and slot width is set from set_dai_tdm_slot in machine driver. We should calculate the actual slots per channel using slots/channels. When using tdm slots, we should generate bclk depends channels, slots and slot width. And there may be unused BCLK cycles before each LRCLK transition. Set

[PATCH 04/11] hso: fix memory leak in hso_create_rfkill()

2015-01-20 Thread Olivier Sobrie
When the rfkill interface was created, a buffer containing the name of the rfkill node was allocated. This buffer was never freed when the device disappears. To fix the problem, we put the name given to rfkill_alloc() in the hso_net structure. Signed-off-by: Olivier Sobrie oliv...@sobrie.be ---

[PATCH 03/11] hso: fix memory leak when device disconnects

2015-01-20 Thread Olivier Sobrie
In the disconnect path, tx_buffer should freed like tx_data to avoid a memory leak when the device disconnects. Signed-off-by: Olivier Sobrie oliv...@sobrie.be --- drivers/net/usb/hso.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index

[PATCH 00/11] hso: fix some problems with reset/disconnect path

2015-01-20 Thread Olivier Sobrie
These patches attempt to fix some problems I observed when the hso device is disconnected or when a usb reset is queued by the hso driver Several patches of this serie are fixing crashes or memleaks in hso. The last patch of this serie fix a race condition occurring when multiple usb resets are

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
I just realised I had an old USB BT-dongle so I tried it, and the trackpad was working fine with `auto` in `power/control`, so, yes, sounds like the builtin BT adapter is faulty. But here is a strange thing again: as with the keyboard I had to set `power/control` of the hub to `on` in order for

[PATCH repost] virtio_rng: drop extra empty line

2015-01-20 Thread Michael S. Tsirkin
makes code look a bit prettier. Cc: linux-cry...@vger.kernel.org. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- drivers/char/hw_random/virtio-rng.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c index

[PATCH v3] hrtimers: calculate expires_next after all timers are executed

2015-01-20 Thread Stanislav Fomichev
Hi Thomas, There was a problem awhile ago regarding hrtimer interrupt missing tick reprogramming: https://lkml.org/lkml/2014/3/17/323 This is the last version of the patch rebased on top of 3.19-rc5 and lightly tested. Could you please apply it? --- I think I'm hitting particularly subtle

[tip:x86/fpu] x86, fpu: Fix math_state_restore() race with kernel_fpu_begin()

2015-01-20 Thread tip-bot for Oleg Nesterov
Commit-ID: 7575637ab293861a799f3bbafe0d8c597389f4e9 Gitweb: http://git.kernel.org/tip/7575637ab293861a799f3bbafe0d8c597389f4e9 Author: Oleg Nesterov o...@redhat.com AuthorDate: Thu, 15 Jan 2015 20:20:28 +0100 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Tue, 20 Jan 2015

Re: [PATCH] doubletalk: probe failure causes OOPS

2015-01-20 Thread Jiri Kosina
On Mon, 15 Dec 2014, Alan Cox wrote: The code bothers to probe for the device, but on failing to find it proceeds to try and release a NULL resource, thereby ruining it's prior good behaviour Resolves-Bug: https://bugzilla.kernel.org/show_bug.cgi?id=88581 Signed-off-by: Alan Cox

Re: [PATCH/RFC v10 07/19] mfd: max77693: Adjust FLASH_EN_SHIFT and TORCH_EN_SHIFT macros

2015-01-20 Thread Jacek Anaszewski
On 01/20/2015 12:17 PM, Lee Jones wrote: On Fri, 09 Jan 2015, Jacek Anaszewski wrote: Modify FLASH_EN_SHIFT and TORCH_EN_SHIFT macros to work properly when passed enum max77693_fled values (0 for FLED1 and 1 for FLED2) from leds-max77693 driver. Off-by-one ay? Wasn't the original code

Re: [PATCH 0/2] perf: convert: two patches for converting syscall tracepoitns.

2015-01-20 Thread Jiri Olsa
On Tue, Jan 20, 2015 at 07:07:07PM +0800, Wang Nan wrote: This 2 patches are based on Jiri Olsa's perf repository: https://git.kernel.org/cgit/linux/kernel/git/jolsa/perf.git/log/?h=perf/core_ctf_convert Perf data convert to failes when converting perf.data recorded with # perf record

[PATCH 8/8] regulator: MT6397: Add support for MT6397 regulator

2015-01-20 Thread Sascha Hauer
From: Flora Fu flora...@mediatek.com This adds support for the regulators on the MediaTek MT6397 Multifunction device. Signed-off-by: Flora Fu, MediaTek Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Cc: Liam Girdwood lgirdw...@gmail.com Cc: Mark Brown broo...@kernel.org ---

MediaTek PMIC support

2015-01-20 Thread Sascha Hauer
This series adds initial support for the MediaTek MT6397 PMIC and the necessary infrastructure to attach it on the MT8135 / MT8173 SoCs. The infrastructure includes: - pericfg / infracfg controller support The pericfg / infracfg controllers contain miscellaneous registers for reset

[PATCH v2 06/11] powerpc/8xx: Remove duplicated code in set_context()

2015-01-20 Thread Christophe Leroy
Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- v2: no change arch/powerpc/kernel/head_8xx.S | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index a485ad7..a1571b3 100644 ---

[PATCH v2 02/11] powerpc/8xx: remove tests on PGDIR entry validity

2015-01-20 Thread Christophe Leroy
Kernel MMU handling code handles validity of entries via _PMD_PRESENT which corresponds to V bit in MD_TWC and MI_TWC. When the V bit is not set, MPC8xx triggers TLBError exception. So we don't have to check that and branch ourself to TLBError. We can set TLB entries with non present entries,

[PATCH v5 0/5] power: Add max77693 charger driver

2015-01-20 Thread Krzysztof Kozlowski
Dear Sebastian, You already acked some earlier version of this patch. In that time there were more dependencies on MFD tree. Now the MFD patch (2/5) is acked by Lee Jones so could you pick up everything? Changes since v4 1. Add patch 5/5: Update MAINTAINERS (with Sebastian's

[PATCH v5 5/5] MAINTAINERS: Add entry for Maxim chargers on Samsung boards

2015-01-20 Thread Krzysztof Kozlowski
Add myself as supporter to help in reviewing patches for Maxim 14577 and 77693 MUIC charger drivers. These are used on Exynos-based boards (Trats 2, Gear 1 and Gear 2). Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Sebastian Reichel s...@kernel.org Cc: Dmitry Eremin-Solenikov

[PATCH v5 4/5] Documentation: power: max77693-charger: Document exported sysfs entry

2015-01-20 Thread Krzysztof Kozlowski
Document the settings exported by max77693 charger driver through sysfs entries: - fast_charge_timer - top_off_threshold_current - top_off_timer Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- Documentation/ABI/testing/sysfs-class-power | 42 + 1

[PATCH v5 0/2] Initial support for voltage ADC

2015-01-20 Thread Ivan T. Ivanov
This type of volatage ADC could be found in Qualcomm's SPMI PMIC's. I'm sorry that it took me so long to send the updated version. Changes since v4. - Addressed review comments from Hartmut Knaack and Jonathan Cameron: Fixed spelling errors in DT description files. Removed unused structure

Re: [PATCH v9 2/3] clk: Make clk API return per-user struct clk instances

2015-01-20 Thread Tomeu Vizoso
On 19 January 2015 at 21:59, Stephen Boyd sb...@codeaurora.org wrote: On 01/19, Tomeu Vizoso wrote: diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 97f3425..f2a1ff3 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -694,32 +751,32 @@ long __clk_mux_determine_rate(struct

Re: [PATCH 7/8] gpio/mpc8xxx: Convert to platform device interface.

2015-01-20 Thread Linus Walleij
On Sun, Jan 18, 2015 at 12:39 PM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: This way we do not need to transverse the device tree manually. Cc: Linus Walleij linus.wall...@linaro.org Cc: Alexandre Courbot gnu...@gmail.com Cc: Grant Likely grant.lik...@linaro.org Cc: Rob

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

2015-01-20 Thread Wincy Van
On Tue, Jan 20, 2015 at 5:54 PM, Paolo Bonzini pbonz...@redhat.com wrote: 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

Re: [PATCH 1/1] arch/x86/kvm/vmx.c: Fix external interrupts inject directly bug with guestos RFLAGS.IF=0

2015-01-20 Thread Paolo Bonzini
On 20/01/2015 11:34, Li Kaihang wrote: Li kaihang: I think I make a mistake here that IDT-vectoring information field is not written by vectored event but is done by Event Delivery. vm exit during Event Delivery is not triggered by external interrupt delivery, only vm exit due

Re: [PATCH 8/8] gpio/mpc8xxx: Use of_mm_gpiochip_remove

2015-01-20 Thread Peter Korsgaard
Ricardo == Ricardo Ribalda Delgado ricardo.riba...@gmail.com writes: Hello Peter -hwirq = irq_of_parse_and_map(np, 0); -if (hwirq == NO_IRQ) +mpc8xxx_gc-irqn = irq_of_parse_and_map(np, 0); +if (mpc8xxx_gc-irqn == NO_IRQ) return 0; With

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

2015-01-20 Thread Fam Zheng
On Tue, 01/20 11:37, Rasmus Villemoes wrote: On Tue, Jan 20 2015, Fam Zheng f...@redhat.com wrote: DESCRIPTION The epoll_mod_wait() system call can be seen as an enhanced combination of several epoll_ctl(2) calls, which are followed by an epoll_pwait(2)

[PATCH 31/36] drm/tegra: Atomic conversion, phase 3, step 2

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Replace drm_crtc_helper_set_config() by drm_atomic_helper_set_config(). All drivers have now been converted to use -atomic_check() to set the atomic state, therefore the atomic mode setting helpers can be used. Signed-off-by: Thierry Reding

Re: [PATCH v2 1/2] clocksource: track usage

2015-01-20 Thread Thomas Gleixner
On Fri, 16 Jan 2015, Alexandre Belloni wrote: diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h index abcafaa20b86..7735902fc5f6 100644 --- a/include/linux/clocksource.h +++ b/include/linux/clocksource.h @@ -210,6 +210,8 @@ struct clocksource { #define

[PATCH 30/36] drm/tegra: dc: Use atomic clock state in modeset

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com All clock state is now stored in the display controller's atomic state, so the output drivers no longer need to call back into the display controller driver to set up the clock. This is also required to make sure no hardware changes are made before

Re: [PATCH] mmc: OCTEON: Add host driver for OCTEON MMC controller

2015-01-20 Thread Mark Rutland
On Mon, Jan 19, 2015 at 07:01:51PM +, David Daney wrote: On 01/19/2015 06:28 AM, Mark Rutland wrote: Hi, On Mon, Jan 19, 2015 at 01:46:36PM +, Aleksey Makarov wrote: The OCTEON MMC controller is currently found on cn61XX and cnf71XX devices. Device parameters are configured

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

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Provide a custom -atomic_commit() implementation which supports async commits. The generic atomic page-flip helper can use this to implement page-flipping. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/gpu/drm/tegra/dc.c | 129

[PATCH] ARM: at91: fix Kconfig.debug by adding DEBUG_AT91_UART option

2015-01-20 Thread Nicolas Ferre
The DEBUG_AT91_UART Kconfig option was forgotten when moving the AT91 debug-macro.S file. Add it and use it for the at91.S compilation. Reported-by: Paul Bolle pebo...@tiscali.nl Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- Hi Alexandre, Please tell me if this patch makes sense to fix

Re: [PATCH v8 0/2] Imagination Technologies PWM support

2015-01-20 Thread Ezequiel Garcia
On 01/09/2015 02:54 PM, Ezequiel Garcia wrote: A new round for the IMG PWM driver. The IMG PWM controller is muxed with a PDM controller, through a shared so-called periph register bit, which sets the output as PWM or PDM. Because this register is not part of the pin controller block, but

Re: [PATCH 8/8] regulator: MT6397: Add support for MT6397 regulator

2015-01-20 Thread Sascha Hauer
On Tue, Jan 20, 2015 at 11:07:04AM +0100, Paul Bolle wrote: On Tue, 2015-01-20 at 10:47 +0100, Sascha Hauer wrote: From: Flora Fu flora...@mediatek.com This adds support for the regulators on the MediaTek MT6397 Multifunction device. Signed-off-by: Flora Fu, MediaTek

Re: [RFC 2/3] regmap: Use the enhancement of i2c API to address circular dependency problem

2015-01-20 Thread Paul Osmialowski
On Mon, 19 Jan 2015, Mark Brown wrote: On Mon, Jan 19, 2015 at 10:31:22AM +0100, Paul Osmialowski wrote: On Fri, 16 Jan 2015, Mark Brown wrote: What I'm saying is that I want to understand this change from a point of view that isn't tied to I2C - at the regmap level what is this doing,

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

2015-01-20 Thread Lee Jones
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? Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park

Re: [PATCH v2 2/2] clocksource: don't suspend/resume when unused

2015-01-20 Thread Thomas Gleixner
On Fri, 16 Jan 2015, Alexandre Belloni wrote: There is no point in calling suspend/resume for unused clocksources. That's true, but Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- kernel/time/clocksource.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH] idle/tick-broadcast: Exit cpu idle poll loop when cleared from tick_broadcast_force_mask

2015-01-20 Thread Thomas Gleixner
On Mon, 19 Jan 2015, Preeti U Murthy wrote: An idle cpu enters cpu_idle_poll() if it is set in the tick_broadcast_force_mask. This is so that it does not incur the overhead of entering idle states when it is expected to be woken up anytime then through a broadcast IPI. The condition that

Re: [RFC PATCH] fs: file freeze support

2015-01-20 Thread Jan Kara
On Mon 19-01-15 22:07:01, Namjae Jeon wrote: When this state is set, any process which tries to modify the file's address space, either by pagefault mmap writes or using write(2), will block until the this state is cleared. I_WRITE_FREEZED is set by calling FS_IOC_FWFREEZE

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

2015-01-20 Thread Viresh Kumar
On 20 January 2015 at 13:53, Chanwoo Choi cw00.c...@samsung.com wrote: But, the frequency of OPPs is only used for devfreq ondemand governor. After deciding the proper frequency of memory bus on ondemand governor, exynos-bus.c (exynos memory bus frequency driver) use the frequency table of

Re: [alsa-devel] [RESEND PATCH] mfd: wm8994: set mfd id-base for regulator devs creation to avoid conflicts

2015-01-20 Thread Lee Jones
On Thu, 08 Jan 2015, Inha Song wrote: After commit: 6e3f62f0793e (mfd: core: Fix platform-device id generation) We must set the id base when register a duplicate name of mfd_cell. If not, duplicate filename error was reported. - sysfs: cannot create duplicate filename

[tip:x86/platform] x86: pmc_atom: don%27t check for NULL twice

2015-01-20 Thread tip-bot for Andy Shevchenko
Commit-ID: d5df8fe34bec4539e259525feabd16efccf16750 Gitweb: http://git.kernel.org/tip/d5df8fe34bec4539e259525feabd16efccf16750 Author: Andy Shevchenko andriy.shevche...@linux.intel.com AuthorDate: Wed, 14 Jan 2015 18:39:32 +0200 Committer: Thomas Gleixner t...@linutronix.de CommitDate:

[tip:x86/platform] x86: pmc-atom: Assign debugfs node as soon as possible

2015-01-20 Thread tip-bot for Andy Shevchenko
Commit-ID: 1b43d7125f3b6f7d46e72da64f65f3187a83b66b Gitweb: http://git.kernel.org/tip/1b43d7125f3b6f7d46e72da64f65f3187a83b66b Author: Andy Shevchenko andriy.shevche...@linux.intel.com AuthorDate: Wed, 14 Jan 2015 18:39:31 +0200 Committer: Thomas Gleixner t...@linutronix.de CommitDate:

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

2015-01-20 Thread David Laight
From: Hiroshi Shimamoto 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 assign over 30 IPv6 addresses

[PATCH 10/11] hso: add missing cancel_work_sync in disconnect()

2015-01-20 Thread Olivier Sobrie
For hso serial devices, two cancel_work_sync were missing in the disconnect method. Signed-off-by: Olivier Sobrie oliv...@sobrie.be --- drivers/net/usb/hso.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index c916ab5..c14fc80 100644 ---

[PATCH 09/11] hso: update serial_table in usb disconnect method

2015-01-20 Thread Olivier Sobrie
The serial_table is used to map the minor number of the usb serial device to its associated context. The table is updated in the probe method and in hso_serial_ref_free() which is called either from the tty cleanup method or from the usb disconnect method. This patch ensures that the serial_table

[PATCH 1/2] bitops.h: improve documentation for sign_extend32()

2015-01-20 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger mart...@posteo.de --- include/linux/bitops.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/bitops.h b/include/linux/bitops.h index 5d858e0..336f22b 100644 --- a/include/linux/bitops.h +++ b/include/linux/bitops.h @@ -164,6 +164,8 @@ static

[PATCH 11/11] usb: core: fix a race with usb_queue_reset_device()

2015-01-20 Thread Olivier Sobrie
When usb_queue_reset() is called it schedules a work in view of resetting the usb interface. When the reset work is running, it can be scheduled again (e.g. by the usb disconnect method of the driver). Consider that the reset work is queued again while the reset work is running and that this work

[PATCH v3 0/2] bitops.h: add sign_extend64() API and improve doc

2015-01-20 Thread Martin Kepplinger
Thanks for reviewing. I propose the following additions instead. -- 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

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

2015-01-20 Thread Leif Lindholm
On Tue, Jan 20, 2015 at 11:10:32AM +, Mark Rutland wrote: diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 54e39e3..8268c7b 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -371,6 +371,31 @@ static void __init

[PATCH 2/2] bitops.h: Add sign_extend64() API

2015-01-20 Thread Martin Kepplinger
Add sign_extend64() for sign extending any (hardware-)given signed value greater than 32 bits to s64. Suggested-by: Christoph Muellner christoph.muell...@theobroma-systems.com Suggested-by: Peter Zijlstra pet...@infradead.org Signed-off-by: Martin Kepplinger mart...@posteo.de ---

[PATCH 02/11] hso: fix crash when device disappears while serial port is open

2015-01-20 Thread Olivier Sobrie
When the device disappear, the function hso_disconnect() is called to perform cleanup. In the cleanup function, hso_free_interface() calls tty_port_tty_hangup() in view of scheduling a work to hang up the tty if needed. If the port was not open then hso_serial_ref_free() is called directly to

[alsa-devel][PATCH 3/3] ASoC: fsl_sai: Add support for Right-J mode

2015-01-20 Thread Zidan Wang
Add Right-J mode and set TCR5 FBT bit to let data right justify. Signed-off-by: Zidan Wang zidan.w...@freescale.com --- sound/soc/fsl/fsl_sai.c | 14 +++--- sound/soc/fsl/fsl_sai.h | 1 + 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/sound/soc/fsl/fsl_sai.c

[alsa-devel][PATCH 0/3] Add master mode, tmd and right-j mode support

2015-01-20 Thread Zidan Wang
Add sai master mode support. Add tdm slots support. Add Right-J mode support. Zidan Wang (3): SoC: fsl_sai: add sai master mode support ASoC: fsl_sai: Add support for tdm slots operation ASoC: fsl_sai: Add support for Right-J mode sound/soc/fsl/fsl_sai.c | 164

Re: [LTP] The Linux Test Project has been released for JANUARY 2015

2015-01-20 Thread Sedat Dilek
On Tue, Jan 20, 2015 at 12:56 PM, Cyril Hrubis chru...@suse.cz wrote: Hi! I will check my iniza setup of Linux v3.19-rc5 the (runltp-)lite way. Attached are the runltp-lite result and my kernel-config. I see a lot of unexpected failures, can you comment on them? Most of the failures

Re: [PATCH/RFC v10 04/19] dt-binding: mfd: max77693: Add DT binding related macros

2015-01-20 Thread Jacek Anaszewski
On 01/20/2015 12:12 PM, Lee Jones wrote: On Fri, 09 Jan 2015, Jacek Anaszewski wrote: Add macros for max77693 led part related binding. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Lee Jones lee.jo...@linaro.org Cc: Chanwoo

Re: [PATCH v7 10/17] ARM64 / ACPI: Parse MADT for SMP initialization

2015-01-20 Thread Hanjun Guo
Hi Lorenzo, Sorry for the late reply, I was updating this patch according to your comments and see if it works, inline reply below. On 2015年01月17日 02:18, Lorenzo Pieralisi wrote: Hi Hanjun, On Wed, Jan 14, 2015 at 03:04:58PM +, Hanjun Guo wrote: [...] diff --git

[PATCH 3/8] dt: bindings: Add MediaTek MT8135/MT8173 reset controller defines

2015-01-20 Thread Sascha Hauer
This adds the reset defines for the MT8135/MT8173 pericfg and infracfg controllers. Needed for device trees to specify the reset numbers in pericfg / infracfg reset consumers Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- .../dt-bindings/reset-controller/mt8135-resets.h | 64

[PATCH 1/8] soc: Add MediaTek infracfg controller support

2015-01-20 Thread Sascha Hauer
This adds support for the MediaTek infracfg controller found on the MT8135/MT8173 SoCs. The infracfg controller contains miscellaneous registers for controlling peripheral resets and clocks. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- .../devicetree/bindings/soc/mediatek/infracfg.txt

[PATCH 2/8] soc: Add MediaTek pericfg controller support

2015-01-20 Thread Sascha Hauer
This adds support for the MediaTek pericfg controller found on the MT8135/MT8173 SoCs. The pericfg controller contains miscellaneous registers for controlling peripheral resets and clocks. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- .../devicetree/bindings/soc/mediatek/pericfg.txt

Re: [Bugfix 3/3] xen/irq: Override ACPI IRQ management callback __acpi_unregister_gsi

2015-01-20 Thread David Vrabel
On 20/01/15 02:21, Jiang Liu wrote: Xen overrides __acpi_register_gsi and leaves __acpi_unregister_gsi as is. That means, an IRQ allocated by acpi_register_gsi_xen_hvm() or acpi_register_gsi_xen() will be freed by acpi_unregister_gsi_ioapic(), which may cause undesired effects. So override

Re: [PATCH 8/8] regulator: MT6397: Add support for MT6397 regulator

2015-01-20 Thread Paul Bolle
On Tue, 2015-01-20 at 10:47 +0100, Sascha Hauer wrote: From: Flora Fu flora...@mediatek.com This adds support for the regulators on the MediaTek MT6397 Multifunction device. Signed-off-by: Flora Fu, MediaTek Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Cc: Liam Girdwood

Re: [PATCH 1/8] gpio/mpc5200: Use of_mm_gpiochip_remove

2015-01-20 Thread Linus Walleij
On Sun, Jan 18, 2015 at 12:39 PM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: Since d621e8bae5ac9c67 (Create of_mm_gpiochip_remove), there is a counterpart for of_mm_gpiochip_add. This patch implements the remove function of the driver making use of it. Cc: Linus Walleij

Re: [PATCH] s390: char: Free memory on error path.

2015-01-20 Thread Heiko Carstens
On Mon, Jan 19, 2015 at 11:02:00PM +0100, Christophe Jaillet wrote: Free allocated page in case of error returned by hmcdrv_ftp_startup. Signed-off-by: Christophe Jaillet christophe.jail...@wanadoo.fr Thanks, I applied the version below. From e38409df9fdbe8b4667cc2ee0e44ff5825ed7049 Mon Sep

Re: [PATCH 0/2] x86: earlyprintk cleanup

2015-01-20 Thread Thomas Gleixner
On Mon, 19 Jan 2015, Alexander Kuleshov wrote: The following two patches remove unused macro definitions from early_serial_console and early_printk x86 code. Sigh. These mechanical 'follow the output of some code analyzer' changes are really horrible. Why not doing the obvious: Move the

[PATCH v2 11/11] powerpc/8xx: Add support for TASK_SIZE greater than 0x80000000

2015-01-20 Thread Christophe Leroy
By default, TASK_SIZE is set to 0x8000 for PPC_8xx, which is most likely sufficient for most cases. However, kernel configuration allows to set TASK_SIZE to another value, so the 8xx shall handle it. Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- v2: no change

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

2015-01-20 Thread Amit Shah
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 there. Do we know any such devices? Wondering what prompted

[PATCH v2 10/11] powerpc/8xx: Use SPRG2 instead of DAR for saving r3

2015-01-20 Thread Christophe Leroy
We now have SPRG2 available as in it not used anymore for saving CR, so we don't need to crash DAR anymore for saving r3 for CPU6 ERRATA handling. Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- v2: no change arch/powerpc/kernel/head_8xx.S | 9 - 1 file changed, 4

Re: [PATCH 7/8] gpio/mpc8xxx: Convert to platform device interface.

2015-01-20 Thread Peter Korsgaard
Ricardo == Ricardo Ribalda Delgado ricardo.riba...@gmail.com writes: Hello Peter I thought the logic behind the original driver was: 1) Create gpiochip so it can be used by other modules/userland 2) if there is also a irq available for it, create a irqdomain. otherwise continue.

[PATCH 13/36] drm/tegra: Add tegra_dc_setup_clock() helper

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This is a small helper that performs the basic steps required by all output drivers to prepare the display controller for use with a given encoder. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/gpu/drm/tegra/dc.c | 20

[PATCH 16/36] drm/tegra: dsi: Demidlayer

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Implement encoder and connector within the DSI driver itself using the Tegra output helpers rather than using the Tegra output as midlayer. By doing so one level of indirection is removed and output drivers become more flexible while keeping the majority of

<    1   2   3   4   5   6   7   8   9   10   >