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: [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] 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: [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: [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

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), >

[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

[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

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 +

[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

[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

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 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

[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

[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 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 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 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 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 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

[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

[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

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

[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

[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

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

[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

[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: 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

[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

[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 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 ---

[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

[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 ---

[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/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->rto_mask memory leak

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

[PATCH 11/14] dt-bindings: phy: Add documentation for NSP USB3 PHY

2017-01-30 Thread Kishon Vijay Abraham I
From: Yendapally Reddy Dhananjaya Reddy Add documentation for USB3 PHY available in Northstar plus SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/phy/brcm,nsp-usb3-phy.txt | 39 1 file changed, 39

[tip:sched/core] sched/core: Optimize pick_next_task() for idle_sched_class

2017-01-30 Thread tip-bot for Peter Zijlstra
Commit-ID: 49ee576809d837442624ac18804b07943267cd57 Gitweb: http://git.kernel.org/tip/49ee576809d837442624ac18804b07943267cd57 Author: Peter Zijlstra AuthorDate: Thu, 19 Jan 2017 18:44:08 +0100 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:46:34 +0100 sched/core: Optimize pick

[PATCH 13/15] 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 10/15] 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

[tip:locking/core] locking/mutex: Fix lockdep_assert_held() fail

2017-01-30 Thread tip-bot for Peter Zijlstra
Commit-ID: b9c16a0e1f733c97e48798b2a9362c485bb3b731 Gitweb: http://git.kernel.org/tip/b9c16a0e1f733c97e48798b2a9362c485bb3b731 Author: Peter Zijlstra AuthorDate: Tue, 17 Jan 2017 16:06:09 +0100 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:42:59 +0100 locking/mutex: Fix lockde

[PATCH 12/15] dt-bindings: phy: Add documentation for NSP USB3 PHY

2017-01-30 Thread Kishon Vijay Abraham I
From: Yendapally Reddy Dhananjaya Reddy Add documentation for USB3 PHY available in Northstar plus SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/phy/brcm,nsp-usb3-phy.txt | 39 1 file changed, 39

[PATCH 14/15] phy: fix rockchip-inno-usb2 build errors

2017-01-30 Thread Kishon Vijay Abraham I
From: Randy Dunlap Fix build errors in phy-rockchip-inno-usb2.c. The driver uses extcon interfaces so it should depend on EXTCON. Fixes these build errors: drivers/built-in.o: In function `rockchip_usb2phy_otg_sm_work': phy-rockchip-inno-usb2.c:(.text+0x2bcb): undefined reference to `extcon_ge

[PATCH 13/14] phy: fix rockchip-inno-usb2 build errors

2017-01-30 Thread Kishon Vijay Abraham I
From: Randy Dunlap Fix build errors in phy-rockchip-inno-usb2.c. The driver uses extcon interfaces so it should depend on EXTCON. Fixes these build errors: drivers/built-in.o: In function `rockchip_usb2phy_otg_sm_work': phy-rockchip-inno-usb2.c:(.text+0x2bcb): undefined reference to `extcon_ge

Re: [PATCH 0/4] phy/mfd/soc: exynos: Header cleanup

2017-01-30 Thread Kishon Vijay Abraham I
On Saturday 28 January 2017 01:35 AM, Krzysztof Kozlowski wrote: > Hi, > > Suggested by Marek, continuation of cleanup of PMU register defines > in headers. > > Let's keep all of them in include/linux/soc/samsung/exynos-regs-pmu.h. > > This is based on: > 1. Marek's recent work around pinctrl/

[PATCH 14/14] phy: qcom-ufs: Fix misplaced jump label

2017-01-30 Thread Kishon Vijay Abraham I
From: Vivek Gautam We want to skip only tx/rx_iface clocks and not ref_clk_src as well. Fix the jump label accordingly. Fixes: 300f96771d78 ("phy: qcom-ufs: Skip obtaining rx/tx_iface_clk for msm8996 based phy") Cc: Subhash Jadavani Cc: Martin K. Petersen Cc: Kishon Vijay Abraham I Cc: sta.

Re: [PATCH 1/2] spi: When no dma_chan map buffers with spi_master's parent

2017-01-30 Thread Robin Murphy
On 28/01/17 22:17, Andy Shevchenko wrote: > On Thu, Jan 26, 2017 at 6:21 PM, Daniel Kurtz wrote: >> Back before commit 1dccb598df54 ("arm64: simplify dma_get_ops"), for >> arm64, devices for which dma_ops were not explicitly set were automatically >> configured to use swiotlb_dma_ops, since this w

[PATCH 10/14] 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

[tip:perf/core] perf/core: Fix use-after-free bug

2017-01-30 Thread tip-bot for Peter Zijlstra
Commit-ID: a76a82a3e38c8d3fb6499e3dfaeb0949241ab588 Gitweb: http://git.kernel.org/tip/a76a82a3e38c8d3fb6499e3dfaeb0949241ab588 Author: Peter Zijlstra AuthorDate: Thu, 26 Jan 2017 16:39:55 +0100 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:41:25 +0100 perf/core: Fix use-after-

Re: [Xen-devel] [PATCH v2] xen, input: try to read screen resolution for xen-kbdfront

2017-01-30 Thread Oleksandr Andrushchenko
On 01/30/2017 01:23 PM, Juergen Gross wrote: On 27/01/17 17:10, Dmitry Torokhov wrote: On January 27, 2017 12:31:19 AM PST, Juergen Gross wrote: On 27/01/17 09:26, Oleksandr Andrushchenko wrote: On 01/27/2017 10:14 AM, Juergen Gross wrote: On 27/01/17 08:53, Oleksandr Andrushchenko wrote: O

[tip:locking/core] locking/rtmutex: Flip unlikely() branch to likely() in __rt_mutex_slowlock()

2017-01-30 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 4009f4b3a9d8b74547269f293e6a920adf278996 Gitweb: http://git.kernel.org/tip/4009f4b3a9d8b74547269f293e6a920adf278996 Author: Steven Rostedt (VMware) AuthorDate: Thu, 19 Jan 2017 11:32:34 -0500 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:42:59 +0100 locking/rtmutex:

[PATCH 02/14] 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

[PATCH 15/15] phy: qcom-ufs: Fix misplaced jump label

2017-01-30 Thread Kishon Vijay Abraham I
From: Vivek Gautam We want to skip only tx/rx_iface clocks and not ref_clk_src as well. Fix the jump label accordingly. Fixes: 300f96771d78 ("phy: qcom-ufs: Skip obtaining rx/tx_iface_clk for msm8996 based phy") Cc: Subhash Jadavani Cc: Martin K. Petersen Cc: Kishon Vijay Abraham I Cc: sta.

[tip:perf/core] perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory

2017-01-30 Thread tip-bot for Peter Zijlstra
Commit-ID: 0b3589be9b98994ce3d5aeca52445d1f5627c4ba Gitweb: http://git.kernel.org/tip/0b3589be9b98994ce3d5aeca52445d1f5627c4ba Author: Peter Zijlstra AuthorDate: Thu, 26 Jan 2017 23:15:08 +0100 Committer: Ingo Molnar CommitDate: Mon, 30 Jan 2017 11:41:26 +0100 perf/core: Fix PERF_RECOR

[PATCH 01/15] phy: rockchip-inno-usb2: Set EXTCON_USB when EXTCON_CHG_USB_SDP was set

2017-01-30 Thread Kishon Vijay Abraham I
From: Baolin Wang According to the documentation, we should set the EXTCON_USB when one SDP charger connector was reported. Signed-off-by: Baolin Wang Reviewed-by: Chanwoo Choi Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-rockchip-inno-usb2.c |7 ++- 1 file changed, 6 in

[GIT PULL] phy: for 4.11

2017-01-30 Thread Kishon Vijay Abraham I
Hi Greg, Please find the phy pull request for 4.11 merge window below. This adds couple of Qualcomm PHY drivers (HSIC and HS) and a USB3 phy driver used in Broadcom NSP SoC. This also includes minor fixes and cleanups. Let me know if I have to change something. Cheers Kishon The following chan

Re: next-20170125 hangs on aarch64

2017-01-30 Thread James Morse
0xffc8 address, which is most probably the >> attempt to dereference the ENOSYS error code as the address. next-20170124 >> works >> fine, at least it boots. >> >> Does anyone have details on that? I hit this with next-20170130 too, in /arch/arm64/kernel/smccc-call.

[PATCH 09/14] mtd: nand: 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

Re: [RFC] [PATCH] audit: log module name on init_module

2017-01-30 Thread Richard Guy Briggs
On 2017-01-30 11:54, Steve Grubb wrote: > On Thu, 26 Jan 2017 14:50:07 -0500 > Richard Guy Briggs wrote: > > > This adds a new auxiliary record MODULE_INIT to the SYSCALL event. > > Thanks, this is definitely needed. Can you provide an example event > generated by this? It's in the wiki RFE, th

[PATCH 03/14] [media] coda: 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 without special cases and to call reset_control_reset un

[PATCH 05/14] [media] rc: sunxi-cir: 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 07/14] mmc: sdhci-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 and to call reset_control_(de)assert unconditionally. S

[PATCH 11/14] serial: 8250_dw: 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 02/14] i2c: mv64xxx: 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 01/14] crypto: sun4i-ss - 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

Re: [PATCH v6 3/5] cpuidle:powernv: Add helper function to populate powernv idle states.

2017-01-30 Thread Gautham R Shenoy
On Mon, Jan 30, 2017 at 10:17:50PM +1100, Michael Ellerman wrote: > "Rafael J. Wysocki" writes: > > > On Mon, Jan 30, 2017 at 4:47 AM, Michael Ellerman > > wrote: > >> "Gautham R. Shenoy" writes: > >> > >>> From: "Gautham R. Shenoy" > >>> > >>> In the current code for powernv_add_idle_states,

Re: [PATCH 1/3] lightnvm: submit erases using the I/O path

2017-01-30 Thread Matias Bjørling
On 01/26/2017 12:47 PM, Javier González wrote: > Until now erases has been submitted as synchronous commands through a > dedicated erase function. In order to allow targets implementing > asynchronous erases, refactor the erase path so that it uses the normal > async I/O submission path. If a targe

Re: [PATCH 05/60] staging: lustre: llite: check request != NULL in ll_migrate

2017-01-30 Thread Dan Carpenter
On Sat, Jan 28, 2017 at 07:04:33PM -0500, James Simmons wrote: > From: wang di > > Check if the request is NULL, before retrieve reply body > from the request. > > Signed-off-by: wang di > Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7396 > Reviewed-on: http://review.whamcloud.com/17079

Re: [PATCH] clockevents: Add a clkevt-of mechanism like clksrc-of

2017-01-30 Thread Daniel Lezcano
On Mon, Jan 30, 2017 at 02:04:42PM +0300, Alexander Kochetkov wrote: > > > 25 янв. 2017 г., в 15:21, Daniel Lezcano > > написал(а): > > > > Hopefully, that can help to do some housework in the directory, perhaps > > split the drivers in to entities, for example: > > - clksrc-rockchip.c > >

[PATCH] 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. Signed-off-by: Colin Ian King --- drivers/acpi/nfit/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d

Re: [PATCH 2/4] irqchip: Add IRQCHIP_DECLARE_DRIVER macro

2017-01-30 Thread Marc Zyngier
On 27/01/17 18:13, Andrey Smirnov wrote: > +Cc linux-kernel@vger.kernel.org since I messed up original distribution list > > On Fri, Jan 27, 2017 at 12:51 AM, Marc Zyngier wrote: >> On 26/01/17 21:56, Andrey Smirnov wrote: >>> Add IRQCHIP_DECLARE_DRIVER macro to allow having driver code that both

Re: [PATCH] I2c: busses - Fix possible NULL derefrence.

2017-01-30 Thread Thierry Reding
On Mon, Jan 30, 2017 at 12:15:53PM +0100, Uwe Kleine-König wrote: > On Mon, Jan 30, 2017 at 09:54:55AM +0100, Thierry Reding wrote: > > On Mon, Jan 30, 2017 at 09:07:15AM +0100, Uwe Kleine-König wrote: > > > Hello, > > > > > > On Mon, Jan 30, 2017 at 08:12:17AM +0100, Thierry Reding wrote: > > > >

Re: [Xen-devel] [PATCH v2] xen, input: try to read screen resolution for xen-kbdfront

2017-01-30 Thread Juergen Gross
On 27/01/17 17:10, Dmitry Torokhov wrote: > On January 27, 2017 12:31:19 AM PST, Juergen Gross wrote: >> On 27/01/17 09:26, Oleksandr Andrushchenko wrote: >>> On 01/27/2017 10:14 AM, Juergen Gross wrote: On 27/01/17 08:53, Oleksandr Andrushchenko wrote: > On 01/27/2017 09:46 AM, Juergen G

Re: BUG at net/sctp/socket.c:7425

2017-01-30 Thread Alexander Popov
On 29.01.2017 13:40, Marcelo Ricardo Leitner wrote: > On Sun, Jan 29, 2017 at 03:35:31AM +0300, Alexander Popov wrote: >> Hello, >> >> I'm running the syzkaller fuzzer for v4.10-rc4 >> (0aa0313f9d576affd7747cc3f179feb097d28990) >> and have such a crash in sctp code: >> > ... >> >> Unfortunately, I

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

2017-01-30 Thread Alexander Kochetkov
> 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 > won't be ever used on the rk3188, right ? No rockchip timers where used on rk3188 b

Re: [PATCH v6 3/5] cpuidle:powernv: Add helper function to populate powernv idle states.

2017-01-30 Thread Michael Ellerman
"Rafael J. Wysocki" writes: > On Mon, Jan 30, 2017 at 4:47 AM, Michael Ellerman wrote: >> "Gautham R. Shenoy" writes: >> >>> From: "Gautham R. Shenoy" >>> >>> In the current code for powernv_add_idle_states, there is a lot of code >>> duplication while initializing an idle state in powernv_sta

Re: [PATCH] i2c: busses: constify i2c_algorithm structures

2017-01-30 Thread Jarkko Nikula
On 01/27/2017 08:06 PM, Bhumika Goyal wrote: Declare i2c_algorithm structures as const as they are only stored in the algo field of an i2c_adapter structure. This field is of type const, so i2c_algorithm structures having this property can be made const too. Done using Coccinelle: ... diff --g

Re: [PATCH] I2c: busses - Fix possible NULL derefrence.

2017-01-30 Thread Uwe Kleine-König
On Mon, Jan 30, 2017 at 09:54:55AM +0100, Thierry Reding wrote: > On Mon, Jan 30, 2017 at 09:07:15AM +0100, Uwe Kleine-König wrote: > > Hello, > > > > On Mon, Jan 30, 2017 at 08:12:17AM +0100, Thierry Reding wrote: > > > On Mon, Jan 30, 2017 at 10:33:07AM +0530, Shailendra Verma wrote: > > > > of_

[PATCH v5 0/3] hv_util: adjust system time smoothly

2017-01-30 Thread Vitaly Kuznetsov
With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause iss

Re: [PATCH v5 0/13] arm64: allwinner: a64: Enable MMC support

2017-01-30 Thread Maxime Ripard
On Fri, Jan 27, 2017 at 10:38:32PM +0100, Maxime Ripard wrote: > Hi, > > Here is a new attempt at getting the MMC controllers running, following the > work done by Andre. > > This has been tested on a board with one SDIO device (a Marvell WiFi chip) > and a Kingston eMMC with 1.8V IOs. > > For S

[PATCH v5 1/3] hv_util: switch to using timespec64

2017-01-30 Thread Vitaly Kuznetsov
do_settimeofday() is deprecated, use do_settimeofday64() instead. Signed-off-by: Vitaly Kuznetsov Acked-by: John Stultz Acked-by: Thomas Gleixner --- drivers/hv/hv_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/hv/hv_util.c b/drivers/hv/hv_util.c index

Re: [PATCH v2 2/2] mfd: lpc_ich: Remove useless comments in core part

2017-01-30 Thread Mika Westerberg
On Sat, Jan 28, 2017 at 04:27:34PM +0200, Andy Shevchenko wrote: > First of all, remove stalled references to datasheets. If someone knows > the document numbers, it would be added later. Yeah, those are kind of useless without the document number. > Second, remove FSF snail address since it's su

[PATCH v5 3/3] hv_utils: implement Hyper-V PTP source

2017-01-30 Thread Vitaly Kuznetsov
With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause iss

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-01-30 Thread Mark Rutland
Hi, On Fri, Jan 27, 2017 at 04:52:23PM -0500, Christopher Covington wrote: > On 01/27/2017 09:38 AM, Mark Rutland wrote: > > On Wed, Jan 25, 2017 at 10:52:30AM -0500, Christopher Covington wrote: > >> Replacing the above sequence with the one below will ensure that no TLB > >> entries with an inc

Re: [PATCH v2 1/2] mfd: lpc_ich: Enable watchdog on Intel Apollo Lake PCH

2017-01-30 Thread Mika Westerberg
On Sat, Jan 28, 2017 at 04:27:33PM +0200, Andy Shevchenko wrote: > From: Tan Jui Nee > > Assign iTCO_version which effectively enables watchdog device on > Intel Apollo Lake PCH. > > Signed-off-by: Tan Jui Nee > Signed-off-by: Andy Shevchenko Acked-by: Mika Westerberg

[PATCH 3/4] drm: bridge: dw-hdmi: Enable CSC even for DVI

2017-01-30 Thread Neil Armstrong
If the input pixel format is not RGB, the CSC must be enabled in order to provide valid pixel to DVI sinks. This patch removes the hdmi only dependency on the CSC enabling. Reviewed-by: Jose Abreu Reviewed-by: Laurent Pinchart Signed-off-by: Neil Armstrong --- drivers/gpu/drm/bridge/dw-hdmi.c

[PATCH 3/6] drivers: firmware: psci: Register with kernel restart handler

2017-01-30 Thread Thierry Reding
From: Guenter Roeck Register with kernel restart handler instead of setting arm_pm_restart directly. This enables support for replacing the PSCI restart handler with a different handler if necessary for a specific board. Select a priority of 129 to indicate a higher than default priority, but ke

[PATCH v5 2/3] hv: export current Hyper-V clocksource

2017-01-30 Thread Vitaly Kuznetsov
As a preparation to implementing Hyper-V PTP device supporting .getcrosststamp we need to export a reference to the current Hyper-V clocksource in use (MSR or TSC page). Signed-off-by: Vitaly Kuznetsov --- arch/x86/hyperv/hv_init.c | 13 + arch/x86/include/asm/mshyperv.h | 3 +

[PATCH 4/4] drm: bridge: dw-hdmi: Take input format from plat_data

2017-01-30 Thread Neil Armstrong
Some display pipelines can only provide non-RBG input pixels to the HDMI TX Controller, this patch takes the pixel format from the plat_data if provided. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/bridge/dw-hdmi.c | 55 include/drm/bridge/dw_hdmi.h

[PATCH 6/6] ARM: Remove arm_pm_restart()

2017-01-30 Thread Thierry Reding
From: Guenter Roeck All users of arm_pm_restart() have been converted to use the kernel restart handler. Acked-by: Arnd Bergmann Reviewed-by: Wolfram Sang Signed-off-by: Guenter Roeck Signed-off-by: Thierry Reding --- arch/arm/include/asm/system_misc.h | 1 - arch/arm/kernel/reboot.c

[PATCH 2/4] drm: bridge: dw-hdmi: Add support for custom PHY handling

2017-01-30 Thread Neil Armstrong
The Synopsys DesignWare HDMI TX Controller support various Transceivers (PHY) attached to the controller, but also allows fully custom PHYs to be connected. Add PHY init and disable functions in phy_ops structure passed in plat_data to handle fully custom PHY init or provide the default one. Some

Re: [PATCH v2 09/10] ARM: dts: STiH407-family: Use new Pinctrl groups

2017-01-30 Thread Patrice CHOTARD
Hi Lee On 01/27/2017 06:28 PM, Lee Jones wrote: > Having just defined some new Pinctrl groups for when when HW flow- double "when" > control is {en,dis}abled, let's reference them for use within the > driver. > > Signed-off-by: Lee Jones > --- > arch/arm/boot/dts/stih407-family.dtsi | 3 +-- >

<    4   5   6   7   8   9   10   11   >