[PATCH 03/15] phy: rcar-gen3-usb2: Replace the deprecated extcon API

2017-01-30 Thread Kishon Vijay Abraham I
From: Chanwoo Choi This patch replaces the deprecated extcon API as following: - extcon_set_cable_state_() -> extcon_set_state_sync() Signed-off-by: Chanwoo Choi Acked-by: Yoshihiro Shimoda Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-rcar-gen3-usb2.c |8 1 file cha

[tip:sched/core] sched/core: Fix &rd->cpudl memory leak

2017-01-30 Thread tip-bot for Mathieu Poirier
Commit-ID: 4b12db939166042eb78e592bdf94ef113c14e379 Gitweb: http://git.kernel.org/tip/4b12db939166042eb78e592bdf94ef113c14e379 Author: Mathieu Poirier AuthorDate: Tue, 24 Jan 2017 14:11:35 -0700 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:46:37 +0100 sched/core: Fix &rd->cpu

[tip:sched/core] sched/rt: Add a missing rescheduling point

2017-01-30 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 619bd4a71874a8fd78eb6ccf9f272c5e98bcc7b7 Gitweb: http://git.kernel.org/tip/619bd4a71874a8fd78eb6ccf9f272c5e98bcc7b7 Author: Sebastian Andrzej Siewior AuthorDate: Tue, 24 Jan 2017 15:40:06 +0100 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:46:37 +0100 sched/rt: Add

[PATCH 03/14] phy: sun4i-usb: Replace the deprecated extcon API

2017-01-30 Thread Kishon Vijay Abraham I
From: Chanwoo Choi This patch replaces the deprecated extcon API as following: - extcon_set_cable_state_() -> extcon_set_state_sync() Cc: Kishon Vijay Abraham I Cc: Maxime Ripard Cc: Chen-Yu Tsai Acked-by: Chen-Yu Tsai Signed-off-by: Chanwoo Choi Signed-off-by: Kishon Vijay Abraham I ---

[PATCH 05/14] phy: Add support for Qualcomm's USB HSIC phy

2017-01-30 Thread Kishon Vijay Abraham I
From: Stephen Boyd The HSIC USB controller on qcom SoCs has an integrated all digital phy controlled via the ULPI viewport. Cc: Kishon Vijay Abraham I Acked-by: Rob Herring Cc: Signed-off-by: Stephen Boyd Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/phy/qcom,usb-hsic-p

[tip:perf/core] perf/core: Make cgroup switch visit only cpuctxs with cgroup events

2017-01-30 Thread tip-bot for David Carrillo-Cisneros
Commit-ID: 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8 Gitweb: http://git.kernel.org/tip/058fe1c0440e68a1ba3c2270ae43e9f0298b27d8 Author: David Carrillo-Cisneros AuthorDate: Wed, 18 Jan 2017 11:24:53 -0800 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 12:01:13 +0100 perf/core: Make

[PATCH 02/15] phy: sun4i-usb: add support for V3s USB PHY

2017-01-30 Thread Kishon Vijay Abraham I
From: Icenowy Zheng Allwinner V3s come with a USB PHY controller slightly different to other SoCs, with only one PHY. Add support for it. Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/phy/sun4i-usb-phy.txt |1

[PATCH 04/15] phy: sun4i-usb: Replace the deprecated extcon API

2017-01-30 Thread Kishon Vijay Abraham I
From: Chanwoo Choi This patch replaces the deprecated extcon API as following: - extcon_set_cable_state_() -> extcon_set_state_sync() Cc: Kishon Vijay Abraham I Cc: Maxime Ripard Cc: Chen-Yu Tsai Acked-by: Chen-Yu Tsai Signed-off-by: Chanwoo Choi Signed-off-by: Kishon Vijay Abraham I ---

[tip:perf/core] perf/core: Remove perf_cpu_context::unique_pmu

2017-01-30 Thread tip-bot for David Carrillo-Cisneros
Commit-ID: 1fd7e416995401ec082fc0fe6090a223969beda5 Gitweb: http://git.kernel.org/tip/1fd7e416995401ec082fc0fe6090a223969beda5 Author: David Carrillo-Cisneros AuthorDate: Wed, 18 Jan 2017 11:24:54 -0800 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 12:01:14 +0100 perf/core: Remov

[tip:perf/core] perf/core: Don't re-schedule CPU flexible events needlessly

2017-01-30 Thread tip-bot for Alexander Shishkin
Commit-ID: fe45bafbd0e1b5e828aa9d44d07e569df85869a2 Gitweb: http://git.kernel.org/tip/fe45bafbd0e1b5e828aa9d44d07e569df85869a2 Author: Alexander Shishkin AuthorDate: Thu, 19 Jan 2017 18:43:29 +0200 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 12:01:14 +0100 perf/core: Don't re-s

[tip:perf/core] perf/core: Optimize event rescheduling on active contexts

2017-01-30 Thread tip-bot for Alexander Shishkin
Commit-ID: 487f05e18aa4efacee6357480f293a5afe6593b5 Gitweb: http://git.kernel.org/tip/487f05e18aa4efacee6357480f293a5afe6593b5 Author: Alexander Shishkin AuthorDate: Thu, 19 Jan 2017 18:43:30 +0200 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 12:01:15 +0100 perf/core: Optimize e

Re: WARNING: CPU: 1 PID: 15 at kernel/sched/sched.h:804 assert_clock_updated.isra.62.part.63+0x25/0x27

2017-01-30 Thread Matt Fleming
On Sat, 28 Jan, at 08:21:05AM, Mike Galbraith wrote: > Running Steven's hotplug stress script in tip.today. Config is > NOPREEMPT, tune for maximum build time (enterprise default-ish). > > [ 75.268049] x86: Booting SMP configuration: > [ 75.268052] smpboot: Booting Node 0 Processor 1 APIC 0x2

[PATCH 05/15] drivers: phy: constify phy_ops structures

2017-01-30 Thread Kishon Vijay Abraham I
From: Bhumika Goyal Declare phy_ops structures as const as they are only passed as an argument to the function devm_phy_create. This argument is of type const struct phy_ops *, so phy_ops structures having this property can be declared as const. Done using Coccinelle: Signed-off-by: Bhumika Goya

[PATCH 04/14] drivers: phy: constify phy_ops structures

2017-01-30 Thread Kishon Vijay Abraham I
From: Bhumika Goyal Declare phy_ops structures as const as they are only passed as an argument to the function devm_phy_create. This argument is of type const struct phy_ops *, so phy_ops structures having this property can be declared as const. Done using Coccinelle: Signed-off-by: Bhumika Goya

[tip:perf/core] perf/core: Try parent PMU first when initializing a child event

2017-01-30 Thread tip-bot for Kan Liang
Commit-ID: 40999312c703f80e8d31bc77cf00e6e84d36e091 Gitweb: http://git.kernel.org/tip/40999312c703f80e8d31bc77cf00e6e84d36e091 Author: Kan Liang AuthorDate: Wed, 18 Jan 2017 08:21:01 -0500 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 12:01:16 +0100 perf/core: Try parent PMU firs

Your Urgent Response Is Highly Anticipated!!!,

2017-01-30 Thread Mr. Khan Moosa
Salam I'm Khan Moosa, From Ouagadougou Burkina Faso. I need your assistance to validate your name in our Bank System to enable the Bank transfer the sum of $7.5 Million Unclaimed fund into your nominated bank accounts for onward investment (Hotel industries and Estate Building management) or any p

[tip:perf/core] perf/x86/amd/uncore: Rename 'L2' to 'LLC'

2017-01-30 Thread tip-bot for Janakarajan Natarajan
Commit-ID: a83f4c00dd6a646ac3c7604ee255d732fc5e0e0b Gitweb: http://git.kernel.org/tip/a83f4c00dd6a646ac3c7604ee255d732fc5e0e0b Author: Janakarajan Natarajan AuthorDate: Mon, 16 Jan 2017 17:36:21 -0600 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 12:01:16 +0100 perf/x86/amd/uncor

[tip:perf/core] perf/x86/amd/uncore: Update the number of uncore counters

2017-01-30 Thread tip-bot for Janakarajan Natarajan
Commit-ID: bc1daef6b5da574bca0a2ec7f9b4d0c5fe0c7d11 Gitweb: http://git.kernel.org/tip/bc1daef6b5da574bca0a2ec7f9b4d0c5fe0c7d11 Author: Janakarajan Natarajan AuthorDate: Mon, 16 Jan 2017 17:36:22 -0600 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 12:01:17 +0100 perf/x86/amd/uncor

[PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally. S

[PATCH 08/14] mmc: sunxi: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally. S

[PATCH 06/14] mmc: dw_mmc: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally. S

[PATCH 10/14] phy: meson8b-usb2: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional_shared and to call reset_control_reset unconditionally.

[PATCH 14/14] ASoC: sunxi: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_deassert unconditionally. Sig

[PATCH 13/14] usb: host: ehci-st: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional_shared unconditionally. Signed-off-by: Philipp Zabel C

[PATCH 01/14] phy: sun4i-usb: add support for V3s USB PHY

2017-01-30 Thread Kishon Vijay Abraham I
From: Icenowy Zheng Allwinner V3s come with a USB PHY controller slightly different to other SoCs, with only one PHY. Add support for it. Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/phy/sun4i-usb-phy.txt |1

[PATCHv4 0/5] Fix compatible mmap() return pointer over 4Gb

2017-01-30 Thread Dmitry Safonov
Changes since v3: - fixed usage of 64-bit random mask for 32-bit mm->mmap_compat_base, during introducing mmap_compat{_legacy,}_base Changes since v2: - don't distinguish native and compat tasks by TIF_ADDR32, introduced mmap_compat{_legacy,}_base which allows to treat them the same - fixed

[PATCHv4 2/5] x86/mm: introduce mmap{,_legacy}_base

2017-01-30 Thread Dmitry Safonov
In the following patch they will be used to compute: - mmap{,_legacy}_base for 64-bit mmap() - mmap_compat{,_legacy}_base for 32-bit mmap() This patch makes it possible to calculate mmap bases for any specified task_size, which is needed to correctly choose the base address for mmap in 32-bit sysc

Re: [PATCH v5 3/8] ARM: dts: rockchip: add timer entries to rk3188 SoC

2017-01-30 Thread Daniel Lezcano
On Mon, Jan 30, 2017 at 02:20:13PM +0300, Alexander Kochetkov wrote: > > > 30 янв. 2017 г., в 14:04, Daniel Lezcano > > написал(а): > > > > t is up to the RTC to wake up the system from suspend and there is no > > idle state stopping the local timers on these SoCs. So, the rockchip timers > > w

[PATCHv4 1/5] x86/mm: split arch_mmap_rnd() on compat/native versions

2017-01-30 Thread Dmitry Safonov
I need those arch_{native,compat}_rnd() to compute separately random factor for mmap() in compat syscalls for 64-bit binaries and vice-versa for native syscall in 32-bit compat binaries. They will be used in the following patches. Signed-off-by: Dmitry Safonov --- arch/x86/mm/mmap.c | 25 +++

[PATCHv4 3/5] x86/mm: fix 32-bit mmap() for 64-bit ELF

2017-01-30 Thread Dmitry Safonov
Fix 32-bit compat_sys_mmap() mapping VMA over 4Gb in 64-bit binaries and 64-bit sys_mmap() mapping VMA only under 4Gb in 32-bit binaries. Introduced new bases for compat syscalls in mm_struct: mmap_compat_base and mmap_compat_legacy_base for top-down and bottom-up allocations accordingly. Taught ar

[PATCHv4 4/5] x86/mm: check in_compat_syscall() instead TIF_ADDR32 for mmap(MAP_32BIT)

2017-01-30 Thread Dmitry Safonov
At this momet, logic in arch_get_unmapped_area{,_topdown} for mmaps with MAP_32BIT flag checks TIF_ADDR32 which means: o if 32-bit ELF changes mode to 64-bit on x86_64 and then tries to mmap() with MAP_32BIT it'll result in addr over 4Gb (as default is top-down allocation) o if 64-bit ELF chang

[PATCH 11/15] phy: qcom-ufs: Suppress extraneous logging

2017-01-30 Thread Kishon Vijay Abraham I
From: Bjorn Andersson The error paths of the common qcom-ufs functions for registering the phy, acquiring clocks and acquiring regulators all print specific error messages before returning an error, so there is no value in printing yet another - more generic - message when this occur. Reviewed-b

Re: [PATCH] acpi: nfit: use %u format string specifier for unsigned ints

2017-01-30 Thread walter harms
Am 30.01.2017 12:25, schrieb Colin King: > From: Colin Ian King > > scrub_mode and scrub_count are both unsigned ints, however, the %d > format string specifier is being used instead of %u. Trivial fix, > use %u. > > Signed-off-by: Colin Ian King > --- > drivers/acpi/nfit/core.c | 4 ++-- >

[PATCH 12/14] phy: Add USB3 PHY support for Broadcom NSP SoC

2017-01-30 Thread Kishon Vijay Abraham I
From: Yendapally Reddy Dhananjaya Reddy This patch adds support for Broadcom NSP USB3 PHY Signed-off-by: Yendapally Reddy Dhananjaya Reddy Reviewed-by: Florian Fainelli Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/Kconfig|8 ++ drivers/phy/Makefile |1 +

[PATCH 04/14] [media] st_rc: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from reset_control_get_optional and to call reset_control_(de)assert unconditionally. Signed

[PATCH][V2] acpi: nfit: use %u format string specifier for unsigned ints

2017-01-30 Thread Colin King
From: Colin Ian King scrub_mode and scrub_count are both unsigned ints, however, the %d format string specifier is being used instead of %u. Trivial fix, use %u. Also move the \n into the format string rather in both literal strings. Signed-off-by: Colin Ian King --- drivers/acpi/nfit/core.c

What should the default lockdown mode be if the bootloader sentinel triggers sanitization?

2017-01-30 Thread David Howells
Hi all, There's an interesting issue with the way the x86 boot parameters are passed into the kernel if we want to store the secure-boot mode flag in there. My patches add boot_params->secure_boot, into which is placed the secure boot mode as deduced by the EFI boot wrapper, if it is invoked. Th

Re: [PATCH 3/4] ARM: nommu: display vectors base

2017-01-30 Thread Russell King - ARM Linux
On Thu, Jan 19, 2017 at 06:46:32PM +0530, Afzal Mohammed wrote: > Hi, > > On Wed, Jan 18, 2017 at 10:13:15PM +, Russell King - ARM Linux wrote: > > On Thu, Jan 19, 2017 at 02:08:37AM +0530, afzal mohammed wrote: > > > > + MLK_ROUNDUP(vectors_base, vectors_base + PAGE_SIZE), >

Re: [3/8] x86/tsc: Store and check TSC ADJUST MSR

2017-01-30 Thread Henning Schild
On Mon, 30 Jan 2017 11:20:25 +0100 Thomas Gleixner wrote: > Henning, > > On Fri, 27 Jan 2017, Henning Schild wrote: > > > > did you by any chance look into TSC synchronization by adjusting the > > absolute value (MSR_IA32_TSC) as well? As far as i have seen Linux > > did that a long time ago an

Re: [PATCH] Mmc: host - Fix possible NULL derefrence.

2017-01-30 Thread Marek Vasut
On 01/30/2017 05:48 AM, Shailendra Verma wrote: > of_match_device could return NULL, and so can cause a NULL > pointer dereference later. > > Signed-off-by: Shailendra Verma > --- > drivers/mmc/host/mxs-mmc.c |5 + > 1 file changed, 5 insertions(+) > > diff --git a/drivers/mmc/host/mxs-

Re: [PATCH] iio: adc - Fix possible NULL derefrence.

2017-01-30 Thread Marek Vasut
On 01/30/2017 05:47 AM, Shailendra Verma wrote: > of_match_device could return NULL, and so can cause a NULL > pointer dereference later. > > Signed-off-by: Shailendra Verma a) this should be two patches b) same question as in case of the mmc patch -- The probe won't be called if OF match doesn'

Re: [RFC PATCH] scsi, block: fix duplicate bdi name registration crashes

2017-01-30 Thread Christoph Hellwig
Hi Dan, this looks mostly fine to me. A few code comments below, but except for this there is another issue with it: We still have drivers that share a single request_queue for multiple gendisks, so I wonder Also I think you probably want one patch for the block framework, and one to switch SCS

Re: [PATCH 0/7] Fix issues and factorize arm/arm64 capacity information code

2017-01-30 Thread Juri Lelli
Hi, ping. I'd need more advice on this set, especially on how and if patch 6 could fly. Thanks, - Juri On 19/01/17 14:37, Juri Lelli wrote: > Hi, > > arm and arm64 topology.c share a lot of code related to parsing of capacity > information. This set of patches proposes a solution (based on Wi

Re: [PATCH 14/14] ASoC: sunxi: simplify optional reset handling

2017-01-30 Thread Mark Brown
On Mon, Jan 30, 2017 at 12:41:16PM +0100, Philipp Zabel wrote: > As of commit bb475230b8e5 ("reset: make optional functions really > optional"), the reset framework API calls use NULL pointers to describe > optional, non-present reset controls. I've only got this patch from the series, what's the

[PATCH v5 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2017-01-30 Thread George Cherian
Enable the Physical Function driver for the Cavium Crypto Engine (CPT) found in Octeon-tx series of SoC's. CPT is the Cryptographic Accelaration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asymmetric engines (AEs). Signed-off-by: George Cherian Reviewed-by: David Daney -

[PATCH v5 0/3] Add Support for Cavium Cryptographic Acceleration Unit

2017-01-30 Thread George Cherian
This series adds the support for Cavium Cryptographic Accelerarion Unit (CPT) CPT is available in Cavium's Octeon-Tx SoC series. The series was tested with ecryptfs and dm-crypt for in kernel

[PATCH v5 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-30 Thread George Cherian
Enable the CPT VF driver. CPT is the cryptographic Acceleration Unit in Octeon-tx series of processors. Signed-off-by: George Cherian Reviewed-by: David Daney --- drivers/crypto/cavium/cpt/Makefile | 3 +- drivers/crypto/cavium/cpt/cptvf.h| 135 drivers/crypto/caviu

Re: [PATCHv2] x86/mm/cpa: avoid wbinvd() for PREEMPT

2017-01-30 Thread Peter Zijlstra
On Mon, Jan 30, 2017 at 09:41:21AM +0100, John Ogness wrote: > Although wbinvd() is faster than flushing many individual pages, it > blocks the memory bus for "long" periods of time (>100us), thus > directly causing unusually large latencies on all CPUs, regardless > of any CPU isolation features t

[PATCH v5 3/3] drivers: crypto: Enable CPT options crypto for build

2017-01-30 Thread George Cherian
Add the CPT options in crypto Kconfig and update the crypto Makefile Signed-off-by: George Cherian Reviewed-by: David Daney --- drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 7956

Re: [PATCH 04/14] [media] st_rc: simplify optional reset handling

2017-01-30 Thread Patrice CHOTARD
On 01/30/2017 12:41 PM, Philipp Zabel wrote: > As of commit bb475230b8e5 ("reset: make optional functions really > optional"), the reset framework API calls use NULL pointers to describe > optional, non-present reset controls. > > This allows to return errors from reset_control_get_optional and t

[PATCH v3 7/7] mfd: exynos-lpass: Add runtime PM support

2017-01-30 Thread Marek Szyprowski
Convert exisitng lpass-suspend/resume callbacks into runtime PM callbacks. This way Exynos LPASS driver will be ready for use with power domains enabled. LPASS will be runtime resumed/suspended as a result of its child devices runtime PM transitions. Signed-off-by: Marek Szyprowski Acked-by: Krzy

[PATCH v3 1/7] soc: smasung: pmu: Add register defines for pad retention control

2017-01-30 Thread Marek Szyprowski
Add PMU defines related to pad retention control. Will be later used by the Exynos pin controller driver. Signed-off-by: Marek Szyprowski --- include/linux/soc/samsung/exynos-regs-pmu.h | 16 1 file changed, 16 insertions(+) diff --git a/include/linux/soc/samsung/exynos-regs-pm

[PATCHv4 5/5] selftests/x86: add test to check compat mmap() return addr

2017-01-30 Thread Dmitry Safonov
We can't just add segfault handler and use addr, returned by compat mmap() syscall, because the lower 4 bytes can be the same as already existed VMA. So, the test parses /proc/self/maps file, founds new VMAs those appeared after compatible sys_mmap() and checks if mmaped VMA is in that list. On fa

Re: [PATCH 0/2] HID: cp2112: fix sleep-while-atomic regression

2017-01-30 Thread Benjamin Tissoires
On Jan 30 2017 or thereabouts, Johan Hovold wrote: > These patches fix a sleep-while-atomic and an error-handling issue > introduced by a patch that went into 4.9. > > Note that this series has only been compile tested. Tested the series, and: Reviewed-by: Benjamin Tissoires Thanks for spotting

Re: [PATCH 13/60] staging: lustre: obdclass: health_check to report unhealthy upon LBUG

2017-01-30 Thread Dan Carpenter
Wat? I'm sorry but this patch makes no sense at all. On Sat, Jan 28, 2017 at 07:04:41PM -0500, James Simmons wrote: > From: Bruno Faccini > > When a LBUG has occurred, without panic_on_lbug being set, > health_check sysfs file must return an unhealthy state. Why? > > Signed-off-by: Bruno Fac

Re: [PATCH -next] mtd: nand: mediatek: remove redundant dev_err call in mtk_nfc_probe()

2017-01-30 Thread Boris Brezillon
On Tue, 17 Jan 2017 14:22:46 + Wei Yongjun wrote: > From: Wei Yongjun > > There is a error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > Applied. Thanks, Boris > Signed-off-by: Wei Yongjun > --- > drivers/mtd/nand/mtk

Re: [PATCH] perf tools: Create for_each_event{_system, _file} macros for tracepoints iteration

2017-01-30 Thread Jiri Olsa
On Mon, Jan 30, 2017 at 07:32:03PM +0900, Taeung Song wrote: SNIP > > looks almost the same as for_each_event_system macro, > > what's the difference other than 'ftrace' check? > > Little thing. > In parse-events.c for_each_event macro contains > tp_event_has_id() function But this function isn'

Re: [PATCH 1/2] perf tools: Use zfree() instead of free() in parse-events.c

2017-01-30 Thread Jiri Olsa
On Mon, Jan 30, 2017 at 07:37:58PM +0900, Taeung Song wrote: > > > On 01/30/2017 06:01 PM, Jiri Olsa wrote: > > On Mon, Jan 30, 2017 at 02:23:38PM +0900, Taeung Song wrote: > > > Currently there are several parts not checking NULL > > > after allocating with zalloc() or asigning NULL value > > >

[PATCH v16 3/3] usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY

2017-01-30 Thread Heikki Krogerus
This adds driver for the USB Type-C PHY on Intel WhiskeyCove PMIC which is available on some of the Intel Broxton SoC based platforms. Signed-off-by: Heikki Krogerus Reviewed-by: Mika Westerberg Reviewed-by: Felipe Balbi --- drivers/usb/typec/Kconfig | 14 ++ drivers/usb/typec/Makefile

[PATCH v16 0/3] USB Type-C Connector class

2017-01-30 Thread Heikki Krogerus
The USB Type-C class is meant to provide unified interface to the userspace to present the USB Type-C ports in a system. Changes since v15: - "stingification" as proposed by Felipe - Checking ARRAY_SIZE in supported_accessory_modes() as proposed by Guenter Changes since v14: - Fixes proposed by M

[PATCH v3 6/7] mfd: exynos-lpass: Add missing remove() function

2017-01-30 Thread Marek Szyprowski
Disable device on driver remove and release allocated regmap. Signed-off-by: Marek Szyprowski Reviewed-by: Krzysztof Kozlowski Acked-by: Sylwester Nawrocki --- drivers/mfd/exynos-lpass.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/mfd/exynos-lpass.c b/drivers/mfd/e

[PATCH v3 3/7] pinctrl: samsung: Add support for pad retention control for Exynos5433 SoCs

2017-01-30 Thread Marek Szyprowski
This patch adds support for retention control for Exynos5433 SoCs. Three groups of pins has been defined for retention control: common shared group for ALIVE, CPIF, eSE, FINGER, IMEM, NFC, PERIC, TOUCH pin banks and separate control for FSYS and AUD pin banks, for which PMU retention registers matc

[PATCH v16 2/3] usb: USB Type-C connector class

2017-01-30 Thread Heikki Krogerus
The purpose of USB Type-C connector class is to provide unified interface for the user space to get the status and basic information about USB Type-C connectors on a system, control over data role swapping, and when the port supports USB Power Delivery, also control over power role swapping and Alt

[PATCH v16 1/3] lib/string: add sysfs_match_string helper

2017-01-30 Thread Heikki Krogerus
Make a simple helper for matching strings with sysfs attribute files. In most parts the same as match_string(), except sysfs_match_string() uses sysfs_streq() instead of strcmp() for matching. This is more convenient when used with sysfs attributes. Signed-off-by: Heikki Krogerus Reviewed-by: Mik

Re: [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings

2017-01-30 Thread Cyrille Pitchen
Le 27/01/2017 à 23:29, Rob Herring a écrit : > On Wed, Jan 25, 2017 at 11:38:34AM +0800, Guochun Mao wrote: >> Add "mediatek,mt2701-nor" for nor flash node's compatible. >> >> Signed-off-by: Guochun Mao >> --- >> .../devicetree/bindings/mtd/mtk-quadspi.txt|8 +++- >> 1 file change

[PATCH v3 5/7] mfd: exynos-lpass: Add support for clocks

2017-01-30 Thread Marek Szyprowski
Exynos LPASS requires some clocks to be enabled to make any access to its registers. This patch adds code for handling such clocks. For current set of registers it is enough to keep sfr0_ctrl clock enabled. Till now it worked only because those clocks were enabled by bootloader and driver probe() h

[PATCH v3 4/7] mfd: exynos-lpass: Remove pad retention control

2017-01-30 Thread Marek Szyprowski
Pad retention should be controlled from pin control driver, so remove it from Exynos LPASS driver. After this change, no more access to PMU regmap is needed, so remove also the code for handling PMU regmap. Signed-off-by: Marek Szyprowski Acked-by: Krzysztof Kozlowski Acked-by: Sylwester Nawrock

[PATCH v2 0/2] iio: distance: devantech srf04 us ranger

2017-01-30 Thread Andreas Klinger
This patch series adds support for the devantech srf04 ultrasonic ranger as IIO device. The device is able to recognize objects in a range of 1 cm and 3 meters. The theoretical resolution is about 3 mm, practically more or less 1 cm. Use cases for this device are level metering in tanks or distan

[PATCH v3 2/7] pinctrl: samsung: Ensure that pad retention is disabled on driver init

2017-01-30 Thread Marek Szyprowski
When pin controller device is a part of power domain, there is no guarantee that the power domain was not turned off and then on during boot process before probing of the pin control driver. If it happened, then pin control driver should ensure that pad retention is turned off during its probe call

[PATCH v2 1/2] iio: distance: add dt binding for devantech-srf04

2017-01-30 Thread Andreas Klinger
This patch adds dt binding for devantech ultrasonic ranger srf04. The vendor "devantech" was already added to the vendor list with "[PATCH v4 1/3] iio: distance: srf08: add trivial DT binding" Signed-off-by: Andreas Klinger --- .../bindings/iio/proximity/devantech-srf04.txt | 28 +++

Re: [PATCH v2 2/2] prctl: propagate has_child_subreaper flag to every descendant

2017-01-30 Thread Oleg Nesterov
On 01/27, Pavel Tikhomirov wrote: > > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -1725,6 +1725,8 @@ struct task_struct { > struct signal_struct *signal; > struct sighand_struct *sighand; > > + struct list_head csr_descendant; > + You forgot to remove this part

Re: next-20170125 hangs on aarch64

2017-01-30 Thread Yury Norov
5 kernel, and found it hanged on boot. The exact > >> reason is > >> panic on dereferencing of the 0xffc8 address, which is most probably > >> the > >> attempt to dereference the ENOSYS error code as the address. next-20170124 > >> works > >> f

Re: [PATCH] Gpu: drm: exynos - Fix possible NULL derefrence.

2017-01-30 Thread Javier Martinez Canillas
Hello Shailendra, The subject line is wrong, please always use the convention used in previous commits, i.e: git log --oneline drivers/gpu/drm/exynos/ On 01/30/2017 02:02 AM, Shailendra Verma wrote: > of_device_get_match_data could return NULL, and so can cause > a NULL pointer dereference later.

Re: [PATCH 09/14] mtd: nand: sunxi: simplify optional reset handling

2017-01-30 Thread Boris Brezillon
Hi Philipp, On Mon, 30 Jan 2017 12:41:11 +0100 Philipp Zabel wrote: > As of commit bb475230b8e5 ("reset: make optional functions really > optional"), the reset framework API calls use NULL pointers to describe > optional, non-present reset controls. > > This allows to return errors from devm_re

[PATCH v2 2/2] iio: distance: add devantech us ranger srf04

2017-01-30 Thread Andreas Klinger
This patch adds support for the ultrasonic ranger srf04 of devantech. This device is measuring the distance of objects in a range between 1 cm and 3 meters and a theoretical resolution of 3 mm. There are two GPIOs used: - trigger: set as output to the device when the measurement should start

Re: [PATCH] sysctl: add proper unsigned int support

2017-01-30 Thread Alexey Dobriyan
On Sun, Jan 29, 2017 at 10:29 PM, Luis R. Rodriguez wrote: > Commit e7d316a02f6838 ("sysctl: handle error writing UINT_MAX to u32 fields") > added proc_douintvec() to start help adding support for unsigned int, > this however was only half the work needed, all these issues are present > with the c

Need a second set of eyeballs for a possible startup race condition in vc04_services/vchiq.

2017-01-30 Thread Michael Zoran
Resending to a larger e-mail list... On Mon, 2017-01-30 at 04:57 -0800, Michael Zoran wrote: > I'm looking at linux-next: > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.c > > First it looks this is some kind of startup notification mechanism > and > it is used by the custom R

Re: [3/8] x86/tsc: Store and check TSC ADJUST MSR

2017-01-30 Thread Thomas Gleixner
On Mon, 30 Jan 2017, Henning Schild wrote: > On Mon, 30 Jan 2017 11:20:25 +0100 > Thomas Gleixner wrote: > > There is nothing you can ever be sure about, but I doubt that the > > ADJUST MSR is going to vanish. > > That sounds very much like i expected. But assuming the MSR has come to > stay, the

[PATCH 07/14] phy: qcom-ufs: Don't kfree devres resource

2017-01-30 Thread Kishon Vijay Abraham I
From: Bjorn Andersson Upon failing to acquire regulator supplies the qcom-ufs driver calls kfree() on the devm allocated memory used to store the name of the regulator, leading to devres corruption. Rather than switching to using the appropriate free function the patch acknowledge the fact that

Re: [PATCH V2 3/3] mtd: spi-nor: add support for ESMT_f25l32qa and ESMT_f25l64qa

2017-01-30 Thread Cyrille Pitchen
Hi all, Le 21/12/2016 à 08:23, John Crispin a écrit : > From: "Larry D. Pinney" > > Add Support for the ESMT_F25L32QA and ESMT_F25L64QA > These are 4MB and 8MB SPI NOR Chips from Elite Semiconductor Memory > Technology > > Acked-by: Marek Vasut > Signed-off-by: John Crispin > Signed-off-by: L

Re: [PATCH 00/10] Add binding from PS/2 to SMBus for Synaptics and Elan

2017-01-30 Thread Benjamin Tissoires
Hi Dmitri, On Tue, Jan 10, 2017 at 5:11 PM, Benjamin Tissoires wrote: > Hi, > > Well, this is the last series which enables RMI4 over SMBus for the Thinkpad > t*40, t*50, t*60 series. Few comments on the patches: > > patches 1 to 3 allows the re-routing of the trackstick buttons from the > touch

Re: [PATCH v3 00/24] i.MX Media Driver

2017-01-30 Thread Russell King - ARM Linux
> The central issue seems to be that I think media pad links / media bus > formats should describe physical links, such as parallel or serial > buses, and the formats of pixels flowing through them, whereas Steve > would like to extend them to describe software transports and in-memory > formats.

[PATCH v3 0/7] Pad retentions support for Exynos5433

2017-01-30 Thread Marek Szyprowski
g new PMU register defines to separate patch (requested by Krzysztof Kozlowski) - rebased onto Linux next-20170130 (removed "soc: samsung: pmu: Add dummy support for Exynos5433 SoC" and "arm64: dts: exynos: Add clocks to Exynos5433 LPASS module" patches, which are already

Re: [REGRESSION] EFI mixed mode patch triggers boot failure

2017-01-30 Thread Jiri Kosina
On Sat, 28 Jan 2017, Laura Abbott wrote: > > > Was out for a few days, reporter says the below patch does not work. > > > There was some confusion with secure boot so I've asked them to re-test > > > with efi=old_map and secure boot off. > > > > FYI, you may want to ask the reporter to try out Ji

Re: [PATCH] acpi: nfit: use %u format string specifier for unsigned ints

2017-01-30 Thread Colin Ian King
On 30/01/17 11:58, walter harms wrote: > > > Am 30.01.2017 12:25, schrieb Colin King: >> From: Colin Ian King >> >> scrub_mode and scrub_count are both unsigned ints, however, the %d >> format string specifier is being used instead of %u. Trivial fix, >> use %u. >> >> Signed-off-by: Colin Ian Ki

Re: [PATCH v5 3/8] ARM: dts: rockchip: add timer entries to rk3188 SoC

2017-01-30 Thread Alexander Kochetkov
> 30 янв. 2017 г., в 15:04, Daniel Lezcano > написал(а): > > There is no case when the rockchip timer is used for the clockevent. The is already timer entry for rk3228 in the DT. And it act as clockevent. I guess it work as backup, but I cannot test it also. In order to not break DT compatibil

Re: [PATCH v5 5/8] clocksource/drivers/rockchip_timer: split bc_timer into rk_timer and rk_clock_event_device

2017-01-30 Thread Daniel Lezcano
On Tue, Jan 24, 2017 at 03:16:40PM +0300, Alexander Kochetkov wrote: > The patch move ce field out of struct bc_timer into struct > rk_clock_event_device and rename struct bc_timer to struct rk_timer. > > The main idea for the commit is to exctact low level timer > routines from current implementa

Re: [PATCH] spi - Fix possible NULL derefrence.

2017-01-30 Thread Mark Brown
On Mon, Jan 30, 2017 at 11:00:28AM +0100, Geert Uytterhoeven wrote: > On Mon, Jan 30, 2017 at 5:55 AM, Shailendra Verma > wrote: > > of_match_device could return NULL, and so can cause a NULL > > pointer dereference later. > Can it? The driver uses DT exclusively. > There is no legacy platform co

[PATCH 09/14] phy: qcom-ufs: Remove -always-on property

2017-01-30 Thread Kishon Vijay Abraham I
From: Bjorn Andersson The fact that a regulator is always-on is a property of the regulator, not a specific consumer. Implementing this in the driver leads to a system behaviour that is dependent on if the Qualcomm UFS PHY was ever (partially) probed. If the specific regulator should be always o

[PATCH] dt-bindings: mmc: sunxi: Document A64 eMMC compatible

2017-01-30 Thread Maxime Ripard
We introduced recently a new compatible to deal with the A64 eMMC controller, let's document its binding. Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/mmc/sunxi-mmc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/sunxi-mmc.txt

Re: irq domain hierarchy vs. chaining w/ PCI MSI-X...

2017-01-30 Thread Thomas Gleixner
On Fri, 13 Jan 2017, David Daney wrote: > At the point where the handle_*_irq() functions call handle_irq_event(), we > need to 9optionally) do something both immediately before and after the call > to handle_irq_event(). > > In irq_chip add a function: > > void (*irq_handle)(struct irq_data

Re: [alsa-devel] [PATCH] Sound: soc: samsung - Fix possible NULL derefrence.

2017-01-30 Thread Sylwester Nawrocki
On 01/30/2017 06:04 AM, Shailendra Verma wrote: > of_device_get_match_data could return NULL, and so can cause > a NULL pointer dereference later. > > Signed-off-by: Shailendra Verma > --- > sound/soc/samsung/i2s.c |7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git

Re: [PATCH v5 3/8] ARM: dts: rockchip: add timer entries to rk3188 SoC

2017-01-30 Thread Daniel Lezcano
On Mon, Jan 30, 2017 at 04:13:07PM +0300, Alexander Kochetkov wrote: > > > 30 янв. 2017 г., в 15:04, Daniel Lezcano > > написал(а): > > > > There is no case when the rockchip timer is used for the clockevent. > The is already timer entry for rk3228 in the DT. And it act as clockevent. I > gues

Re: DRM Atomic property for color-space conversion

2017-01-30 Thread Ville Syrjälä
On Fri, Jan 27, 2017 at 05:23:24PM +, Brian Starkey wrote: > Hi, > > We're looking to enable the per-plane color management hardware in > Mali-DP with atomic properties, which has sparked some conversation > around how to handle YCbCr formats. > > As it stands today, it's assumed that a drive

Re: [PATCH] printk: fix printk.devkmsg sysctl

2017-01-30 Thread Petr Mladek
On Fri 2017-01-27 19:19:30, Borislav Petkov wrote: > + printk folk. > > On Fri, Jan 27, 2017 at 04:42:30PM +0100, Rabin Vincent wrote: > > proc_dostring() eats the '\n' and stops > > Not a problem, see diff below. > > Please do it this way instead because after a month no one will remember > wha

[PATCH v3 1/3] Add DT bindings documentation for NS2 USB DRD phy

2017-01-30 Thread Raviteja Garimella
This patch adds documentation for NS2 DRD Phy driver DT bindings Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy

Re: [RFC][PATCH 7/7] kref: Implement using refcount_t

2017-01-30 Thread Peter Zijlstra
On Fri, Jan 27, 2017 at 01:07:35PM -0800, Kees Cook wrote: > On Fri, Jan 27, 2017 at 1:58 AM, Peter Zijlstra wrote: > > Nothing much, except lack of time. I spend the last several days hunting > > bugs, that trumps new features on my todo list. > > Totally understood. I was just trying to see if

[PATCH v3 3/3] DT nodes for Broadcom Northstar2 USB DRD Phy

2017-01-30 Thread Raviteja Garimella
This patch adds device tree nodes for USB Dual Role Device Phy for Broadcom's Northstar2 SoC. Signed-off-by: Raviteja Garimella --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64/boot/d

[PATCH v3 0/3] Support for USB DRD Phy driver for NS2

2017-01-30 Thread Raviteja Garimella
Changes from v2: === Remove unnecessary checks for poweron as suggested in review. Changes from v1: === 1. Initialize file operations .owner field with THIS_MODULE. 2. Remove unnecessary gpio example in DT bindings documentation. This is previously acked by Rob Herring

[PATCH v3 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-01-30 Thread Raviteja Garimella
This is driver for USB DRD Phy used in Broadcom's Northstar2 SoC. The phy can be configured to be in Device mode or Host mode based on the type of cable connected to the port. The driver registers to extcon framework to get appropriate connect events for Host/Device cables connect/disconnect state

<    4   5   6   7   8   9   10   11   >