Re: [PATCH] clk: prevent __of_clk_get_hw_from_provider() from returning NULL

2016-08-12 Thread Masahiro Yamada
Hi. (+CC Russell, perhaps he may have some comments on this topic.) 2016-08-11 8:23 GMT+09:00 Stephen Boyd : > On 08/10, Masahiro Yamada wrote: >> 2016-08-05 5:57 GMT+09:00 Stephen Boyd : >> > On 07/19, Masahiro Yamada wrote: >> >> The .get(_hw) callback of an OF clock provider can return a NULL

Re: of_clk_add_(hw_)providers multipule times for one node?

2016-08-12 Thread Masahiro Yamada
2016-08-11 8:08 GMT+09:00 Stephen Boyd : > On 08/10, Masahiro Yamada wrote: >> Hi Stephen, >> >> >> >> 2016-08-09 8:37 GMT+09:00 Stephen Boyd : >> > On 08/08, Masahiro Yamada wrote: >> >> Hi Stephen, >> >> >> >> >> >> 2016-08-05 6:25 GMT+09:00 Stephen Boyd : >> > >> >> >> >> of_clk_add_provider() c

Re: [PATCH] time,virt: resync steal time when guest & host lose sync

2016-08-12 Thread Wanpeng Li
2016-08-12 10:44 GMT+08:00 Rik van Riel : > On Thu, 2016-08-11 at 18:11 +0800, Wanpeng Li wrote: >> 2016-08-11 0:52 GMT+08:00 Rik van Riel : >> > On Wed, 10 Aug 2016 07:39:08 +0800 >> > Wanpeng Li wrote: >> > >> > > The regression is caused by your commit "sched,time: Count >> > > actually >> > >

Re: WARNING: CPU: 0 PID: 1271 at drivers/mmc/core/core.c:991 mmc_release_host+0xa0/0xa8

2016-08-12 Thread John Stultz
On Thu, Aug 4, 2016 at 9:52 PM, John Stultz wrote: > Hey Ulf, > Since moving my HiKey branch to pre-v4.8-rc1 (linus's HEAD), I've > been seeing the following warning occasionally. Usually after seeing > it, the system will refuse to reboot (system does the "Emergency > remount complete" but then

[PATCH] smartreflex: Neaten logging

2016-08-12 Thread Joe Perches
Use a more common logging style. Miscellanea: o Use pr_warn o Coalesce formats adding missing spaces o Argument alignment o Remove unnecessary OOM messages as k.alloc does stack dumps Signed-off-by: Joe Perches --- drivers/power/avs/smartreflex.c | 115 +++-

Re: [PATCH 1/4] befs: check allocation_group number before use

2016-08-12 Thread Salah Triki
On Thu, Aug 11, 2016 at 11:56:16AM +0100, Luis de Bethencourt wrote: > On 10/08/16 23:12, Salah Triki wrote: > > Check that the allocation group number is not greater or equal to the > > number of allocations group in the file system and return BEF_ERR in the > > case of error. > > > > Signed-off-

Re: [PATCH] befs: fix typos in btree.c

2016-08-12 Thread Salah Triki
On Thu, Aug 11, 2016 at 10:15:16PM +0100, Luis de Bethencourt wrote: > Fixing typos in kernel-doc function descriptions in fs/befs/btree.c. > > Signed-off-by: Luis de Bethencourt > --- > > Hi, > > Noticed the typo of "actuall" below and decided to fix all typos in the > btree.c file. > > Thank

[Patch v2] x86, ACPI: Fix the wrong assignment when Handle apic/x2apic entries

2016-08-12 Thread Baoquan He
By pure accident the bug makes no functional difference, because the only expression where we are using these values is (!count && !x2count), in which the variables are interchangeable, but it makes sense to fix the bug nevertheless. Signed-off-by: Baoquan He [Ingo rewrote changelog] --- v1-v2:

Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-12 Thread Hans Verkuil
One quick question: On 08/11/2016 09:06 AM, Songjun Wu wrote: > The Image Sensor Controller driver includes two parts. > 1) Driver code to implement the ISC function. > 2) Device tree binding documentation, it describes how >to add the ISC in device tree. > > Test result with v4l-utils. > # v

Re: [Patch v4 6/9] driver/edac/fsl_ddr: Add support of little endian

2016-08-12 Thread Borislav Petkov
On Tue, Aug 09, 2016 at 02:55:43PM -0700, York Sun wrote: > Get endianness from device tree. Both big endian and little endian > are supported. Default to big endian for backward compatibility to > MPC85xx. > > Signed-off-by: York Sun > > --- > Change log > v4: Absorb name changes by "Rename m

Kernel 4.4.16 issue? AMD-Vi: Event logged [IO_PAGE_FAULT device=00:12.0 domain=0x0006 address=0x0000000000000080 flags=0x0020]

2016-08-12 Thread Udo van den Heuvel
Hello, My dmesg shows a lot of these: [920255.822392] AMD-Vi: Event logged [IO_PAGE_FAULT device=00:12.0 domain=0x0006 address=0x0080 flags=0x0020] [920255.823404] AMD-Vi: Event logged [IO_PAGE_FAULT device=00:12.0 domain=0x0006 address=0x0080 flags=0x0020] # cat /sys/bus

Re: musb: am3358: having problem with high-speed on usb1 at peripheral

2016-08-12 Thread Greg KH
On Fri, Aug 12, 2016 at 10:23:15AM +0800, ayaka wrote: > Hello all: > I recently add a support for customize am3358 board using the branch > processor-sdk-linux-03.00.00 from Ti git. But I meet a problem with musb > at the peripheral mode. Then you are going to have to get support from TI for th

[PATCH] fs: remove unnecessary setting of error

2016-08-12 Thread Salah Triki
setting error to -EINVAL is unnecessary. It is already set, above. Signed-off-by: Salah Triki --- fs/open.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/open.c b/fs/open.c index 4fd6e25..b438edc 100644 --- a/fs/open.c +++ b/fs/open.c @@ -176,7 +176,6 @@ static long do_sys_ftruncate(unsi

Re: WARNING: CPU: 0 PID: 1271 at drivers/mmc/core/core.c:991 mmc_release_host+0xa0/0xa8

2016-08-12 Thread Jaehoon Chung
On 08/12/2016 04:13 PM, John Stultz wrote: > On Thu, Aug 4, 2016 at 9:52 PM, John Stultz wrote: >> Hey Ulf, >> Since moving my HiKey branch to pre-v4.8-rc1 (linus's HEAD), I've >> been seeing the following warning occasionally. Usually after seeing >> it, the system will refuse to reboot (system

Wrong "nollp" DW DMAC parameter value on ARC SDP.

2016-08-12 Thread Eugeniy Paltsev
Hi, "nollp" parameter defines if DW DMAC channel supports multi block transfer or not. It is calculated in runtime, but differently depending on on availability of pdata. If pdata is absent "nollp" is calculated using autoconfig hardware registers. Otherwise "nollp" is calculated using the next c

[PATCH v3 2/4] arm64: vdso: constify vm_special_mapping used for aarch32 vectors page

2016-08-12 Thread Jisheng Zhang
The vm_special_mapping spec which is used for aarch32 vectors page is never modified, so mark it as const. Signed-off-by: Jisheng Zhang --- arch/arm64/kernel/vdso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/vdso.c b/arch/arm64/kernel/vdso.c index e320e

[PATCH v3 0/4] arm64: put objects into proper sections

2016-08-12 Thread Jisheng Zhang
This series tries to put some objects into proper sections. patch1 puts alloc_vectors_page() into .init section. This is a clean up patch. patch2 constify vm_special_mapping used for aarch32 vectors page. patch3 fix the incorrect placement of __initdata and __read_mostly patch4 apply __ro_after_in

[PATCH v3 1/4] arm64: vdso: add __init section marker to alloc_vectors_page

2016-08-12 Thread Jisheng Zhang
It is not needed after booting, this patch moves the alloc_vectors_page function to the __init section. Signed-off-by: Jisheng Zhang --- arch/arm64/kernel/vdso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/vdso.c b/arch/arm64/kernel/vdso.c index 076312b.

[PATCH v3 3/4] arm64: kaslr: Fix incorrect placement of __initdata and __read_mostly

2016-08-12 Thread Jisheng Zhang
__initdata and __read_mostly should be placed after the variable name for the variable to be placed in the intended section. Signed-off-by: Jisheng Zhang --- arch/arm64/kernel/kaslr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/kernel/kaslr.c b/arch/arm64/k

Re: [PATCH v3 4/7] clk: rockchip: rk3399: fix incorrect aclk_emmc source gate bits

2016-08-12 Thread Heiko Stübner
Am Dienstag, 2. August 2016, 15:19:58 schrieb Xing Zheng: > Dues to incorrect diagram, we need to fix incorrect bits for > (c/g)pll_aclk_emmc_src: > cpll_aclk_emmc_src --> G6[13] > gpll_aclk_emmc_src --> G6[12] > > Signed-off-by: Xing Zheng > Reviewed-by: Shawn Lin applied to my clk-fixes branc

[PATCH v3 4/4] arm64: apply __ro_after_init to some objects

2016-08-12 Thread Jisheng Zhang
These objects are set during initialization, thereafter are read only. Previously I only want to mark vdso_pages, vdso_spec, vectors_page and cpu_ops as __read_mostly from performance point of view. Then inspired by Kees's patch[1] to apply more __ro_after_init for arm, I think it's better to mark

Re: [PATCH] get_maintainer: Quiet noisy implicit -f vcs_file_exists checking

2016-08-12 Thread Wolfram Sang
On Thu, Aug 11, 2016 at 03:46:03PM -0700, Joe Perches wrote: > Checking command line filenames that are outside the git tree > can emit a noisy and confusing message. > > Quiet that message by redirecting stderr. > Verify that the command was executed successfully. > > Fixes: 4cad35a7ca69 ("get_m

[PATCH v2] sched/deadline: Fix the intention to re-evalute tick dependency for offline cpu

2016-08-12 Thread Wanpeng Li
From: Wanpeng Li The dl task will be replenished after dl task timer fire and start a new period. It will be enqueued and to re-evaluate its dependency on the tick in order to restart it. However, if cpu is hot-unplug, irq_work_queue will splash since the target cpu is offline. As a result:

Re: [PATCH v9 01/10] clk: fix initial state of critical clock's parents

2016-08-12 Thread James Liao
On Wed, 2016-08-10 at 14:09 -0700, Stephen Boyd wrote: > (Including lists) > > On 08/09, James Liao wrote: > > On Wed, 2016-08-03 at 13:46 +0800, James Liao wrote: > >> > >> Hi Mike, > >> > >> Do you have new patches to fix new clock parents? If not, I think we can > >> use my patch first. Is it o

Re: [PATCH v2 2/2] kexec: extend kexec_file_load system call

2016-08-12 Thread Balbir Singh
On Thu, Aug 11, 2016 at 08:03:58PM -0300, Thiago Jung Bauermann wrote: > From: AKASHI Takahiro > > Device tree blob must be passed to a second kernel on DTB-capable > archs, like powerpc and arm64, but the current kernel interface > lacks this support. > > This patch extends kexec_file_load syst

Re: [PATCH v3 2/9] hwmon: (core) New hwmon registration API

2016-08-12 Thread Keerthy
On Monday 25 July 2016 09:02 AM, Guenter Roeck wrote: Up to now, each hwmon driver has to implement its own sysfs attributes. This requires a lot of template code, and distracts from the driver's core function to read and write chip registers. To be able to reduce driver complexity, move sensor

[PATCH v3] ARM: VDSO: put RO and RO after init objects into proper sections

2016-08-12 Thread Jisheng Zhang
vdso_data_mapping is never modified, so mark it as const. vdso_total_pages, vdso_data_page, vdso_text_mapping and cntvct_ok are initialized by vdso_init(), thereafter are read only. The fact that they are read only after init makes them candidates for __ro_after_init declarations. Signed-off-by:

Re: [PATCH RESEND v2 1/3] dt: bindings: add bindings for Allwinner A64 usb phy

2016-08-12 Thread Hans de Goede
Hi, On 12-08-16 05:06, Icenowy Zheng wrote: Signed-off-by: Icenowy Zheng Series is still: Reviewed-by: Hans de Goede Regards, Hans --- Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/sun4

[tip:locking/core] locking/Documentation: Fix wrong section reference

2016-08-12 Thread tip-bot for SeongJae Park
Commit-ID: d7cab36db83be458e8987ae352902958977e7925 Gitweb: http://git.kernel.org/tip/d7cab36db83be458e8987ae352902958977e7925 Author: SeongJae Park AuthorDate: Thu, 11 Aug 2016 11:17:41 -0700 Committer: Ingo Molnar CommitDate: Fri, 12 Aug 2016 08:24:13 +0200 locking/Documentation: Fix

[tip:locking/core] locking/Documentation: Maintain consistent blank line

2016-08-12 Thread tip-bot for SeongJae Park
Commit-ID: dfeccea61716d3ca1bf3477610d1f29abf6d99ca Gitweb: http://git.kernel.org/tip/dfeccea61716d3ca1bf3477610d1f29abf6d99ca Author: SeongJae Park AuthorDate: Thu, 11 Aug 2016 11:17:40 -0700 Committer: Ingo Molnar CommitDate: Fri, 12 Aug 2016 08:24:13 +0200 locking/Documentation: Mai

[tip:locking/core] locking/Documentation: Fix a typo of example result

2016-08-12 Thread tip-bot for SeongJae Park
Commit-ID: 8b9e771555745a029557a0a481e760fb84376a35 Gitweb: http://git.kernel.org/tip/8b9e771555745a029557a0a481e760fb84376a35 Author: SeongJae Park AuthorDate: Thu, 11 Aug 2016 11:17:42 -0700 Committer: Ingo Molnar CommitDate: Fri, 12 Aug 2016 08:24:13 +0200 locking/Documentation: Fix

[tip:perf/urgent] perf/x86/intel/uncore: Add enable_box for client MSR uncore

2016-08-12 Thread tip-bot for Kan Liang
Commit-ID: 95f3be798472f63b495ca4712af005ea5ac7aa47 Gitweb: http://git.kernel.org/tip/95f3be798472f63b495ca4712af005ea5ac7aa47 Author: Kan Liang AuthorDate: Thu, 11 Aug 2016 07:31:14 -0700 Committer: Ingo Molnar CommitDate: Fri, 12 Aug 2016 08:35:05 +0200 perf/x86/intel/uncore: Add ena

Re: WARNING: CPU: 0 PID: 1271 at drivers/mmc/core/core.c:991 mmc_release_host+0xa0/0xa8

2016-08-12 Thread Shawn Lin
在 2016/8/12 16:01, Jaehoon Chung 写道: On 08/12/2016 04:13 PM, John Stultz wrote: On Thu, Aug 4, 2016 at 9:52 PM, John Stultz wrote: Hey Ulf, Since moving my HiKey branch to pre-v4.8-rc1 (linus's HEAD), I've been seeing the following warning occasionally. Usually after seeing it, the system wi

[tip:perf/urgent] perf/x86/intel/uncore: Fix uncore num_counters

2016-08-12 Thread tip-bot for Kan Liang
Commit-ID: 10e9e7bd598f9a66a11a22514c68c13c41fc821b Gitweb: http://git.kernel.org/tip/10e9e7bd598f9a66a11a22514c68c13c41fc821b Author: Kan Liang AuthorDate: Thu, 11 Aug 2016 07:30:20 -0700 Committer: Ingo Molnar CommitDate: Fri, 12 Aug 2016 08:35:04 +0200 perf/x86/intel/uncore: Fix unc

[tip:perf/urgent] uprobes/x86: Fix RIP-relative handling of EVEX-encoded instructions

2016-08-12 Thread tip-bot for Denys Vlasenko
Commit-ID: 68187872c76a96ed4db7bfb064272591f02e208b Gitweb: http://git.kernel.org/tip/68187872c76a96ed4db7bfb064272591f02e208b Author: Denys Vlasenko AuthorDate: Thu, 11 Aug 2016 17:45:21 +0200 Committer: Ingo Molnar CommitDate: Fri, 12 Aug 2016 08:29:24 +0200 uprobes/x86: Fix RIP-rela

Re: [RFC 0/4] doc: dma-buf: sphinx conversion and cleanup

2016-08-12 Thread Daniel Vetter
On Fri, Aug 12, 2016 at 12:05:04PM +0530, Sumit Semwal wrote: > Hi Jon! > > On 11 August 2016 at 20:06, Jonathan Corbet wrote: > > On Thu, 11 Aug 2016 16:17:56 +0530 > > Sumit Semwal wrote: > > > >> Convert dma-buf documentation over to sphinx; also cleanup to > >> address sphinx warnings. > >>

Re: [PATCH RESEND] phy: brcm-sata: Return proper error if brcm_sata_phy_init fails

2016-08-12 Thread Kishon Vijay Abraham I
On Wednesday 10 August 2016 03:34 PM, Axel Lin wrote: > Return proper error instead of 0 if brcm_sata_phy_init fails. merged now, thanks. -Kishon > > Signed-off-by: Axel Lin > --- > It was sent on https://lkml.org/lkml/2016/5/23/12 . > drivers/phy/phy-brcm-sata.c | 2 +- > 1 file changed, 1

[PATCH] timer: Make msleep(0) a nop

2016-08-12 Thread ville . syrjala
From: Ville Syrjälä Thanks to the msecs_to_jiffies()+1 msleep(0) may actually sleep for up to one jiffy. Presumably the caller should be satisfied if we "sleep" for 0 jiffies instead of 0-1 jiffies, so let's just turn msleep(0) into a nop. This can simplify some callers as they don't have to che

Re: [PATCH] phy: sun9i-usb: fix error handling

2016-08-12 Thread Kishon Vijay Abraham I
On Wednesday 06 July 2016 11:36 AM, Chen-Yu Tsai wrote: > On Wed, Jul 6, 2016 at 2:00 PM, Christophe JAILLET > wrote: >> This is likely that checking 'phy->hsic_clk' instead of 'phy->clk' is >> expected here. >> >> Signed-off-by: Christophe JAILLET > > Acked-by: Chen-Yu Tsai merged, thanks

[PATCH v5 1/2] Documentation: synopsys-dw-mshc: add binding for resets

2016-08-12 Thread Guodong Xu
Add resets property to synopsys-dw-mshc bindings. It is intended to represent the hardware reset signal present internally in some host controller IC designs. See Documentation/devicetree/bindings/reset/reset.txt for details. Signed-off-by: Guodong Xu Reviewed-by: Shawn Lin Acked-by: Rob Herrin

[PATCH v5 0/2] mmc: dw_mmc: host controller reset support

2016-08-12 Thread Guodong Xu
mmc host controller registers may in abnormal state if mmc is used in bootloader, eg. to load kernel from eMMC. Some controllers cann't clear their registers when clk is set. They use dedicated reset logics to do this. In this patch, a 'resets' property is added into dw_mmc dts node. When driver d

[PATCH v5 2/2] mmc: dw_mmc: add reset support to dwmmc host controller

2016-08-12 Thread Guodong Xu
Dwmmc host controller may in unknown state when entering kernel boot. One example is when booting from eMMC, bootloader need initialize MMC host controller into some state so it can read. In order to make sure MMC host controller in a clean initial state, this reset support is added. With this pat

Re: [PATCH v4 2/2] mmc: dw_mmc: add reset support to dwmmc host controller

2016-08-12 Thread Guodong Xu
On 11 August 2016 at 18:30, Jaehoon Chung wrote: > Hi Guodong, > > On 08/11/2016 11:23 AM, Shawn Lin wrote: >> On 2016/8/10 16:03, Guodong Xu wrote: >>> Dwmmc host controller may in unknown state when entering kernel boot. One >>> example is when booting from eMMC, bootloader need initialize MMC h

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-12 Thread Ye Xiaolong
On 08/12, Ye Xiaolong wrote: >On 08/12, Dave Chinner wrote: [snip] >>lkp-folk: the patch I've just tested it attached below - can you >>feed that through your test and see if it fixes the regression? >> > >Hi, Dave > >I am verifying your fix patch in lkp environment now, will send the >result onc

Re: [PATCH v2] sched/deadline: Fix the intention to re-evalute tick dependency for offline cpu

2016-08-12 Thread kbuild test robot
-intention-to-re-evalute-tick-dependency-for-offline-cpu/20160812-162528 config: x86_64-randconfig-x013-201632 (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones

Re: [RFC 2/4] dma-buf/fence: kerneldoc: remove spurious section header

2016-08-12 Thread Daniel Vetter
On Thu, Aug 11, 2016 at 04:17:58PM +0530, Sumit Semwal wrote: > Commit e941759c74a44d6ac2eed21bb0a38b21fe4559e2 ("fence: dma-buf > cross-device synchronization (v18)") had a spurious kerneldoc section > header that caused Sphinx to complain. Fix it. > > Fixes: e941759c74a4 ("fence: dma-buf cross-d

Re: [PATCH v2] sched/deadline: Fix the intention to re-evalute tick dependency for offline cpu

2016-08-12 Thread kbuild test robot
-intention-to-re-evalute-tick-dependency-for-offline-cpu/20160812-162528 config: x86_64-randconfig-x019-201632 (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones

Re: [v10 PATCH 2/5] phy: Add USB Type-C PHY driver for rk3399

2016-08-12 Thread Kishon Vijay Abraham I
Hi, On Wednesday 10 August 2016 05:02 AM, Chris Zhong wrote: > Add a PHY provider driver for the rk3399 SoC Type-c PHY. The USB > Type-C PHY is designed to support the USB3 and DP applications. The > PHY basically has two main components: USB3 and DisplyPort. USB3 > operates in SuperSpeed mode and

Donation of $ 1.5 million Dollars

2016-08-12 Thread Chris Colin & Weir
My wife and I have awarded you with a donation of $ 1.5 million Dollars from part of our Jackpot Lottery of 161,653,000 Million Pounds, send your name,address, phone for claims. View http://www.bbc.co.uk/news/uk-scotland-glasgow-west-18801698 We await your earliest response and God Bless you.

Re: [Patch v4 9/9] arm64: Update device tree for Layerscape SoCs

2016-08-12 Thread Borislav Petkov
On Tue, Aug 09, 2016 at 02:59:39PM -0700, York Sun wrote: > Add DDR memory controller nodes to enable EDAC driver. > > Signed-off-by: York Sun > > --- > Change log > v4: no change > v3: no change > v2: no change > > arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 7 +++ > arch/arm6

[PATCH] time: alarmtimer: Add the trcepoints for alarmtimer

2016-08-12 Thread Baolin Wang
For system debugging, we usually want to know who sets one alarm timer, the time of the timer, when the timer started and fired and so on. Thus adding tracepoints can help us trace the alarmtimer information. Signed-off-by: Baolin Wang --- include/trace/events/alarmtimer.h | 135 ++

Re: [Patch v4 8/9] driver/edac/layerscape_edac: Add Layerscape EDAC support

2016-08-12 Thread Borislav Petkov
On Tue, Aug 09, 2016 at 02:55:45PM -0700, York Sun wrote: > Add DDR EDAC for ARM-based compatible controllers. Both big-endian > and little-endian are supported, as specified in device tree. > > Signed-off-by: York Sun > > --- > Change log > v4: Drop adding atomic_scrub() for arm64 > Dro

Re: [PATCH v5 0/2] mmc: dw_mmc: host controller reset support

2016-08-12 Thread Jaehoon Chung
Hi Guodong, On 08/12/2016 05:51 PM, Guodong Xu wrote: > mmc host controller registers may in abnormal state if mmc is used in > bootloader, eg. to load kernel from eMMC. Some controllers cann't > clear their registers when clk is set. They use dedicated reset > logics to do this. > > In this patc

Re: [PATCH] regulator: Add LTC3676 support

2016-08-12 Thread Mark Brown
On Thu, Aug 11, 2016 at 01:48:21PM -0700, Tim Harvey wrote: > regulators must have a non-null ops field or they will fail > registration so I can't just not assign it. What would be an > appropriate ops structure for a always-on fixed regulator? OK, empty is fine there. signature.asc Descriptio

[GIT PULL] Please pull powerpc/linux.git powerpc-4.8-3 tag

2016-08-12 Thread Michael Ellerman
Hi Linus, Please pull some powerpc fixes for 4.8: The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-4.8

Re: [PATCH v4 9/9] arm64: dts: mediatek: Add Video Decoder for MT8173

2016-08-12 Thread Tiffany Lin
Hi Matthias, On Thu, 2016-08-11 at 17:44 +0200, Matthias Brugger wrote: > > On 10/08/16 16:48, Tiffany Lin wrote: > > Add video decoder node for MT8173 > > > > Signed-off-by: Tiffany Lin > > --- > > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 44 > > ++ > > 1 file

Re: [PATCH v1] x86/power/64: Restore processor state before using per-cpu variables

2016-08-12 Thread Jiri Kosina
On Fri, 12 Aug 2016, Jiri Kosina wrote: > One thing is still beyond me though ... how the heck this doesn't happen > without DEBUG_LOCK_ALLOC? The percpu area pointer should be corrupted > nevertheless, shouldn't it? The reason is that turning DEBUG_LOCK_ALLOC changing trace_suspend_resume() f

[PATCH v3] sched/deadline: Fix the intention to re-evalute tick dependency for offline cpu

2016-08-12 Thread Wanpeng Li
From: Wanpeng Li The dl task will be replenished after dl task timer fire and start a new period. It will be enqueued and to re-evaluate its dependency on the tick in order to restart it. However, if cpu is hot-unplug, irq_work_queue will splash since the target cpu is offline. As a result:

[PATCH] mfd: arizona: Add sensible return value to some error paths

2016-08-12 Thread Charles Keepax
There are some cases in arizona_dev_init, such as where we don't recognise the chip ID, in which we head to the error path without setting a sensible error code in ret. This would lead to the chip silently failing probe, as it would still return 0. Fix this up by adding appropriate sets of the retu

[PATCH RESEND] phy: exynos5-usbdrd: Remove "static" from local variable

2016-08-12 Thread Axel Lin
The 'reg' local variable does not need to be static. Signed-off-by: Axel Lin --- This patch was sent on http://www.spinics.net/lists/linux-samsung-soc/msg51405.html drivers/phy/phy-exynos5-usbdrd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-exynos5-

Re: [PATCH RESEND] phy: exynos5-usbdrd: Remove "static" from local variable

2016-08-12 Thread Krzysztof Kozlowski
On 08/12/2016 11:27 AM, Axel Lin wrote: > The 'reg' local variable does not need to be static. > > Signed-off-by: Axel Lin > --- > This patch was sent on > http://www.spinics.net/lists/linux-samsung-soc/msg51405.html > > drivers/phy/phy-exynos5-usbdrd.c | 4 ++-- > 1 file changed, 2 insertions

[GIT PULL] sound fixes for 4.8-rc2

2016-08-12 Thread Takashi Iwai
Linus, please pull sound fixes for v4.8-rc2 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.8-rc2 The topmost commit is a52ff34e5ec61749c62c6618b76a9d6dbecee450 sound fixes for 4.8-rc2 A regre

Re: [PATCH v6 0/5] /dev/random - a new approach

2016-08-12 Thread Stephan Mueller
Am Donnerstag, 11. August 2016, 17:36:32 CEST schrieb Theodore Ts'o: Hi Theodore, > On Thu, Aug 11, 2016 at 02:24:21PM +0200, Stephan Mueller wrote: > > The following patch set provides a different approach to /dev/random which > > I call Linux Random Number Generator (LRNG) to collect entropy w

[PATCH] crypto: fix ctx pointer and digest copy in sha256-mb

2016-08-12 Thread Xiaodong Liu
1. fix ctx pointer Use req_ctx which is the ctx for the next job that have been completed in the lanes instead of the first completed job rctx, whose completion could have been called and released. 2. fix digest copy Use XMM register to copy another 16 bytes sha256 digest instead of a regular regis

Re: Resend: Another 4.4 to 4.5 floppy issue

2016-08-12 Thread Jiri Kosina
On Thu, 11 Aug 2016, Mark Hounschell wrote: > I just tested what is currently in Linus' tree and it does NOT work for > me. Is there some minimalized reproducer you are seeing the regression with that you could share? Thanks, -- Jiri Kosina SUSE Labs

Re: [PATCH 1/4] befs: check allocation_group number before use

2016-08-12 Thread Luis de Bethencourt
On 12/08/16 08:26, Salah Triki wrote: > On Thu, Aug 11, 2016 at 11:56:16AM +0100, Luis de Bethencourt wrote: >> On 10/08/16 23:12, Salah Triki wrote: >>> Check that the allocation group number is not greater or equal to the >>> number of allocations group in the file system and return BEF_ERR in th

[PATCH] crypto: fix ctx pointer in sha512-mb

2016-08-12 Thread Xiaodong Liu
Signed-off-by: Xiaodong Liu --- arch/x86/crypto/sha512-mb/sha512_mb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/crypto/sha512-mb/sha512_mb.c b/arch/x86/crypto/sha512-mb/sha512_mb.c index f4cf5b7..d210174 100644 --- a/arch/x86/crypto/sha512-mb/sha512_mb.c ++

Re: [RFC PATCH] kernel/fork: fix CLONE_CHILD_CLEARTID regression in nscd

2016-08-12 Thread Michal Hocko
On Wed 03-08-16 23:08:04, Oleg Nesterov wrote: > sorry for delay, I am travelling till the end of the week. Same here... > On 08/01, Michal Hocko wrote: > > > > fec1d0115240 ("[PATCH] Disable CLONE_CHILD_CLEARTID for abnormal exit") > > almost 10 years ago ;) Yes, it's been a while... I guess n

Re: [PATCH 2/2] KVM: nVMX: postpone VMCS changes on MSR_IA32_APICBASE write

2016-08-12 Thread Radim Krčmář
2016-08-12 14:07+0800, Wanpeng Li: > 2016-08-09 2:16 GMT+08:00 Radim Krčmář : >> If vmcs12 does not intercept APIC_BASE writes, then KVM will handle the >> write with vmcs02 as the current VMCS. >> This will incorrectly apply modifications intended for vmcs01 to vmcs02 >> and L2 can use it to gain

Re: [PATCH v8 10/10] Input: sur40 - use new V4L2 touch input type

2016-08-12 Thread Hans Verkuil
Hi Nick, On 07/18/2016 11:10 PM, Nick Dyer wrote: > Support both V4L2_TCH_FMT_TU08 and V4L2_PIX_FMT_GREY for backwards > compatibility. > > Note: I have not tested these changes (I have no access to the hardware) > so not signing off. I can't merge this without your Signed-off. The Signed-off ha

Re: [PATCH v10 1/2] printk: Make printk() completely async

2016-08-12 Thread Petr Mladek
On Wed 2016-08-10 14:17:55, Viresh Kumar wrote: > +Vladi/Greg, > > On Wed, Apr 6, 2016 at 1:27 AM, Jan Kara wrote: > > On Mon 04-04-16 15:51:49, Andrew Morton wrote: > > >> > +static int __init init_printk_kthread(void) > >> > +{ > >> > + struct task_struct *thread; > >> > + > >> > + if (pri

Re: [PATCH RESEND v2 2/3] phy: sun4i: add support for A64 usb phy

2016-08-12 Thread Kishon Vijay Abraham I
On Friday 12 August 2016 08:36 AM, Icenowy Zheng wrote: > There's something unknown in the pmu part that shared with H3. > It's renamed as PMU_UNK1 from PMU_UNK_H3. > > Signed-off-by: Icenowy Zheng Fixed the following checkpatch warning and merged this to linux-phy tree. WARNING: line over 80

Re: [PATCH V4] phy: bcm-ns-usb3: new driver for USB 3.0 PHY on Northstar

2016-08-12 Thread Kishon Vijay Abraham I
Hi, On Friday 12 August 2016 03:58 AM, Rafał Miłecki wrote: > From: Rafał Miłecki > > Northstar is a family of SoCs used in home routers. They have USB 2.0 > and 3.0 controllers with PHYs that need to be properly initialized. > This driver provides PHY init support in a generic way and can be bo

A potential data race in drivers/net/ethernet/smsc/smc91c92_cs.ko

2016-08-12 Thread Pavel Andrianov
Hi! There is a potential data race in drivers/net/ethernet/smsc/smc91c92_cs.ko. Regard two threads: Thread 1Thread 2 ... ... ->smc_open ->smc_tx_timeout ->mod_timer -> smc_reset

Re: Correct modules for Bay Trail MAX98090 soc?

2016-08-12 Thread Mark Brown
On Thu, Aug 11, 2016 at 06:31:27PM -0500, Pierre-Louis Bossart wrote: > On 8/11/16 3:42 PM, Laura Abbott wrote: > > which changed the dependencies for CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH. > > The set of options Fedora selects means that > > CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH > > can't be se

[PATCH stable-4.4 0/3] backport memcg id patches

2016-08-12 Thread Michal Hocko
Hi, this is my attempt to backport Johannes' 73f576c04b94 ("mm: memcontrol: fix cgroup creation failure after many small jobs") to 4.4 based stable kernel. The backport is not straightforward and there are 2 follow up fixes on top of this commit. I would like to integrate these to our SLES based ke

[PATCH stable-4.4 3/3] mm: memcontrol: fix memcg id ref counter on swap charge move

2016-08-12 Thread Michal Hocko
From: Vladimir Davydov commit 615d66c37c755c49ce022c9e5ac0875d27d2603d upstream. Since commit 73f576c04b94 ("mm: memcontrol: fix cgroup creation failure after many small jobs") swap entries do not pin memcg->css.refcnt directly. Instead, they pin memcg->id.ref. So we should adjust the referenc

[PATCH stable-4.4 1/3] mm: memcontrol: fix cgroup creation failure after many small jobs

2016-08-12 Thread Michal Hocko
From: Johannes Weiner commit 73f576c04b9410ed19660f74f97521bee6e1c546 upstream. The memory controller has quite a bit of state that usually outlives the cgroup and pins its CSS until said state disappears. At the same time it imposes a 16-bit limit on the CSS ID space to economically store IDs

[PATCH stable-4.4 2/3] mm: memcontrol: fix swap counter leak on swapout from offline cgroup

2016-08-12 Thread Michal Hocko
From: Vladimir Davydov commit 1f47b61fb4077936465dcde872a4e5cc4fe708da upstream. An offline memory cgroup might have anonymous memory or shmem left charged to it and no swap. Since only swap entries pin the id of an offline cgroup, such a cgroup will have no id and so an attempt to swapout its

Re: [PATCH RESEND v2 1/3] dt: bindings: add bindings for Allwinner A64 usb phy

2016-08-12 Thread Kishon Vijay Abraham I
On Friday 12 August 2016 08:36 AM, Icenowy Zheng wrote: > Signed-off-by: Icenowy Zheng Added "Update sun4i usb phy dt binding documentation to include support for Allwinner A64 usb phy." and then merged this. Thanks Kishon > --- > Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt | 1 +

Re: [RFCv3 2/2] perf: util: support sysfs supported_cpumask file

2016-08-12 Thread Jiri Olsa
On Thu, Aug 11, 2016 at 05:36:06PM +0100, Mark Rutland wrote: > The perf tools can read a cpumask file for a PMU, describing a subset of > CPUs which that PMU covers. So far this has only been used to cater for > uncore PMUs, which in practice happen to only have a single CPU > described in the mas

[PATCH 2/2] be2iscsi: Fix some error messages

2016-08-12 Thread Christophe JAILLET
This fixes: - missing spaces in string split on several lines - extra spaces after ':' - missing '\n' at the end of some messages - too long lines Signed-off-by: Christophe JAILLET --- drivers/scsi/be2iscsi/be_main.c | 83 + 1 file changed, 43

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-12 Thread Dave Chinner
On Fri, Aug 12, 2016 at 04:51:24PM +0800, Ye Xiaolong wrote: > On 08/12, Ye Xiaolong wrote: > >On 08/12, Dave Chinner wrote: > > [snip] > > >>lkp-folk: the patch I've just tested it attached below - can you > >>feed that through your test and see if it fixes the regression? > >> > > > >Hi, Dave >

[PATCH 1/2] be2iscsi: Fix error return code

2016-08-12 Thread Christophe JAILLET
We know that 'ret' is not an error code because it has been tested a few lines above. So, if one of these function fails, 0 will be returned instead of an error code. Return -ENOMEM instead. Signed-off-by: Christophe JAILLET --- drivers/scsi/be2iscsi/be_main.c | 11 +-- 1 file changed, 9

Re: [PATCH 07/11 v2] phy: qcom-ufs: use of_property_read_bool

2016-08-12 Thread Kishon Vijay Abraham I
On Friday 05 August 2016 04:55 PM, Julia Lawall wrote: > Use of_property_read_bool to check for the existence of a property. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > expression e1,e2,x; > @@ > - if (of_get_property(e1,e2,NULL

Re: kmemleak: Cannot insert 0xff7f1000 into the object search tree (overlaps existing)

2016-08-12 Thread Catalin Marinas
On Fri, Aug 12, 2016 at 09:45:05AM +0530, Vignesh R wrote: > On Thursday 11 August 2016 10:38 PM, Catalin Marinas wrote: > > diff --git a/mm/memblock.c b/mm/memblock.c > > index 483197ef613f..7d3361d53ac2 100644 > > --- a/mm/memblock.c > > +++ b/mm/memblock.c > > @@ -723,7 +723,8 @@ int __init_memb

[PATCH v1] power: reset: reboot mode: fix build error of missing ioremap/iounmap on UM

2016-08-12 Thread Andy Yan
commit 4fcd504edbf7 ("power: reset: add reboot mode driver") uses api from syscon, and syscon uses ioremap/iounmap which depends on HAS_IOMEM, so let's depend on MFD_SYSCON instead of selecting it directly to avoid the um-allyesconfig like build error on archs that without iomem: drivers/mfd/sysco

Re: [PATCH] Documentation: add support for V4L touch devices

2016-08-12 Thread Hans Verkuil
Hi Nick, On 07/18/2016 11:11 PM, y...@shmanahar.org wrote: > From: Nick Dyer > > Signed-off-by: Nick Dyer I'm missing documentation for the new V4L2_CAP_TOUCH capability and the V4L2_INPUT_TYPE_TOUCH define. > diff --git a/Documentation/media/uapi/v4l/pixfmt-tch-tu08.rst > b/Documentation/me

Re: [PATCH] SAS: use sas_rphy instead of sas_end_device to obtain address.

2016-08-12 Thread Johannes Thumshirn
On Thu, Aug 11, 2016 at 11:00:07AM -0700, James Bottomley wrote: > On Thu, 2016-08-11 at 18:43 +0200, Johannes Thumshirn wrote: > > On Thu, Aug 11, 2016 at 08:09:35AM -0700, James Bottomley wrote: > > > On Thu, 2016-08-11 at 09:59 +0200, Johannes Thumshirn wrote: > > > > Since commit 3f8d6f2a0 ('se

[PATCH] befs: return BEFS_ERR if validation of ag_shift fails

2016-08-12 Thread Salah Triki
ag_shift is used by blockno2iaddr() to get allocation group number from block. If ag_shift is inconsistent with block_per_ag, an out of bounds allocation group may occur [1]. So add return BEFS_ERR and update comment and error message to reflect this change. [1] https://lkml.org/lkml/2016/8/12/42

Re: [PATCH 2/2] KVM: nVMX: postpone VMCS changes on MSR_IA32_APICBASE write

2016-08-12 Thread Wanpeng Li
2016-08-12 17:44 GMT+08:00 Radim Krčmář : > 2016-08-12 14:07+0800, Wanpeng Li: >> 2016-08-09 2:16 GMT+08:00 Radim Krčmář : >>> If vmcs12 does not intercept APIC_BASE writes, then KVM will handle the >>> write with vmcs02 as the current VMCS. >>> This will incorrectly apply modifications intended fo

Re: [PATCH 1/4] befs: check allocation_group number before use

2016-08-12 Thread Salah Triki
On Fri, Aug 12, 2016 at 10:38:58AM +0100, Luis de Bethencourt wrote: > On 12/08/16 08:26, Salah Triki wrote: > > On Thu, Aug 11, 2016 at 11:56:16AM +0100, Luis de Bethencourt wrote: > >> On 10/08/16 23:12, Salah Triki wrote: > >>> Check that the allocation group number is not greater or equal to th

Re: [PATCH v9 2/4] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-08-12 Thread Kishon Vijay Abraham I
Hi, On Friday 22 July 2016 12:30 PM, Frank Wang wrote: > The newer SoCs (rk3366, rk3399) take a different usb-phy IP block > than rk3288 and before, and most of phy-related registers are also > different from the past, so a new phy driver is required necessarily. > > Signed-off-by: Frank Wang >

Re: [Regression] "irqdomain: Don't set type when mapping an IRQ" breaks nexus7 gpio buttons

2016-08-12 Thread Marc Zyngier
On Thu, 11 Aug 2016 14:23:53 -0700 Bjorn Andersson wrote: Hi Bjorn, > On Thu 11 Aug 05:46 PDT 2016, Marc Zyngier wrote: > > > On 11/08/16 10:47, Jon Hunter wrote: > > > > > > On 11/08/16 09:37, Marc Zyngier wrote: > > >> On 08/08/16 22:48, Linus Walleij wrote: > > >>> On Sat, Aug 6, 2016

Re: [PATCH 2/2] be2iscsi: Fix some error messages

2016-08-12 Thread Julia Lawall
On Fri, 12 Aug 2016, Christophe JAILLET wrote: > This fixes: >- missing spaces in string split on several lines >- extra spaces after ':' >- missing '\n' at the end of some messages >- too long lines I think that the strings should be concatenated, even if they go past 80 chars.

Re: [PATCH v2] w1: fix typo in parameter description

2016-08-12 Thread Evgeniy Polyakov
Hi 11.08.2016, 03:03, "Wei Yongjun" : > Fix typo in parameter description. > > Signed-off-by: Wei Yongjun Looks good to me, thank you Greg, please pull it into your tree Acked-by: Evgeniy Polyakov > --- > v1 -> v2: make it as one line, comments from Evgeniy Polyakov > --- >  drivers/w1/w1.c |

[PATCH] arm64: defconfig: enable BERLIN_BG4CT pinctrl support

2016-08-12 Thread Jisheng Zhang
This patch enables pinctrl support required to boot Marvell BG4CT boards. Signed-off-by: Jisheng Zhang --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 0555b7c..52fff49 100644 --- a/arch/arm64/c

Re: [PATCH 1/2] genirq: Generic chip: add irq_unmap_generic_chip

2016-08-12 Thread Sebastian Frias
Hi, I don't know if somebody has had the time to look at these patches, but if you have comments (even if related to removing the "fixes" tag if you don't consider this a fix) please let me know. Best regards, Sebastian On 08/01/2016 04:27 PM, Sebastian Frias wrote: > Without this patch irq_dom

Re: [PATCH v8 10/10] Input: sur40 - use new V4L2 touch input type

2016-08-12 Thread Nick Dyer
Signed-off-by: Nick Dyer On 12 August 2016 10:41:08 BST, Hans Verkuil wrote: >Hi Nick, > >On 07/18/2016 11:10 PM, Nick Dyer wrote: >> Support both V4L2_TCH_FMT_TU08 and V4L2_PIX_FMT_GREY for backwards >> compatibility. >> >> Note: I have not tested these changes (I have no access to the >hardwa

Re: kmemleak: Cannot insert 0xff7f1000 into the object search tree (overlaps existing)

2016-08-12 Thread Vignesh R
On Friday 12 August 2016 03:34 PM, Catalin Marinas wrote: > On Fri, Aug 12, 2016 at 09:45:05AM +0530, Vignesh R wrote: >> On Thursday 11 August 2016 10:38 PM, Catalin Marinas wrote: [...] > From b8b9141fffc1fd3c73583c1fd50a724c4a6452e1 Mon Sep 17 00:00:00 2001 > From: Catalin Marinas > Date: Fri

  1   2   3   4   5   6   7   >