[PATCH] mfd: t7l66xb: Handle return value of clk_prepare_enable

2017-08-08 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. we must disable clock, if t7l66xb_probe is not successful. Signed-off-by: Arvind Yadav --- drivers/mfd/t7l66xb.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/t7l66xb.c b/d

Re: [PATCH v2 0/2] mm,fork,security: introduce MADV_WIPEONFORK

2017-08-08 Thread Florian Weimer
On 08/07/2017 08:23 PM, Mike Kravetz wrote: > If my thoughts above are correct, what about returning EINVAL if one > attempts to set MADV_DONTFORK on mappings set up for sharing? That's my preference as well. If there is a use case for shared or non-anonymous mappings, then we can implement MADV_

[PATCH v2] perf/core: Avoid context switch overheads

2017-08-08 Thread 石祤
From: "leilei.lin" A performance issue caused by less strickly check in task sched when these tasks were once attached by per-task perf_event. A task will alloc task->perf_event_ctxp[ctxn] when it was called by perf_event_open, and task->perf_event_ctxp[ctxn] would not ever be freed to NULL. __

Re: [ANNOUNCE] v4.11.12-rt9

2017-08-08 Thread Mike Galbraith
On Mon, 2017-08-07 at 10:22 +0200, Mike Galbraith wrote: > On Mon, 2017-08-07 at 09:33 +0200, Sebastian Andrzej Siewior wrote: > > > what timer is it :)? > > kernel/exit.c: > 851 hrtimer_cancel(&tsk->signal->real_timer); > > That one. cb_entry being base.expired (deferred)

Re: [Xen-devel] [PATCH v3] xen: get rid of paravirt op adjust_exception_frame

2017-08-08 Thread Andrew Cooper
On 08/08/17 08:02, Juergen Gross wrote: > On 07/08/17 22:56, Boris Ostrovsky wrote: >>> diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c >>> index 811e4ddb3f37..a3dcd83187ce 100644 >>> --- a/arch/x86/xen/enlighten_pv.c >>> +++ b/arch/x86/xen/enlighten_pv.c >>> @@ -579,6 +579,7

Re: [PATCH] mfd: lp87565: Convert to use devm_mfd_add_devices

2017-08-08 Thread Lee Jones
On Sun, 30 Jul 2017, Axel Lin wrote: > This fixes missing mfd_remove_devices() call when unload the module. > > Signed-off-by: Axel Lin > --- > drivers/mfd/lp87565.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) Applied, thanks. > diff --git a/drivers/mfd/lp87565.c b/drivers/

Re: [Xen-devel] [PATCH v2 3/3] xen: fix hvm guest with kaslr enabled

2017-08-08 Thread Andrew Cooper
On 28/07/17 11:23, Juergen Gross wrote: > A Xen HVM guest running with KASLR enabled will die rather soon today > due to the shared info page mapping is using va() too early. This was As a minor grammar issue, either s/due to/because/ or s/mapping is using/mapping using/ ~Andrew > introduced by

Re: [PATCH 0/3] ARM: dts: am335x-evm: am437xx: dra7xx: Enable NAND DMA prefetch by default

2017-08-08 Thread Roger Quadros
On 26/07/17 05:15, Franklin S Cooper Jr wrote: > Enable NAND DMA prefetch by default for AM335x, AM437x and DRA7x evms that > include NAND. > > The below commit went into additional details regarding performance numbers > seen between the two modes. > > commit aa7abd312c11 ("mtd: nand: omap2: Sup

RE: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC

2017-08-08 Thread Michael Ellerman
Qiang Zhao writes: > On Mon 8/7/2017 3:02 PM, Michael Ellerman wrote: > >> -Original Message- >> From: Michael Ellerman [mailto:m...@ellerman.id.au] >> Sent: Monday, August 07, 2017 3:02 PM >> To: Qiang Zhao ; t...@linutronix.de >> Cc: o...@buserror.net; Qiang Zhao ; linuxppc- >> d...@li

Re: [PATCH] KVM: SVM: Limit PFERR_NESTED_GUEST_PAGE error_code check to L1 guest

2017-08-08 Thread Paolo Bonzini
On 07/08/2017 21:11, Brijesh Singh wrote: > Commit: 1472775 (kvm: svm: Add support for additional SVM NPF error codes) > added new error code to aid nested page fault handling. The commit > unprotect (kvm_mmu_unprotect_page) the page when we get a NFP due to > guest page table walk where the page w

Re: [RFC v5 01/11] mm: Dont assume page-table invariance during faults

2017-08-08 Thread Anshuman Khandual
On 07/10/2017 11:18 PM, Laurent Dufour wrote: > On 07/07/2017 09:07, Balbir Singh wrote: >> On Fri, 2017-06-16 at 19:52 +0200, Laurent Dufour wrote: >>> From: Peter Zijlstra >>> >>> One of the side effects of speculating on faults (without holding >>> mmap_sem) is that we can race with free_pgtabl

[PATCH] NTB: Rename NTB messaging API methods

2017-08-08 Thread Serge Semin
There is a common methods signature form used over all the NTB API like functions naming scheme, arguments names and order, etc. Recently added NTB messaging API IO callbacks were named a bit different so should be renamed to be in compliance with the rest of the API. Signed-off-by: Serge Semin -

[PATCH] IB/core: fix memory leak on ah on error return path

2017-08-08 Thread Colin King
From: Colin Ian King When dmac is NULL, ah is not being freed on the error return path. Fix this by kfree'ing it. Detected by CoverityScan, CID#1452636 ("Resource Leak") Fixes: d8966fcd4c25 ("IB/core: Use rdma_ah_attr accessor functions") Signed-off-by: Colin Ian King --- drivers/infiniband/h

[PATCH] NTB: ntb_tool: Add full multi-port NTB API support

2017-08-08 Thread Serge Semin
NTB API has been updated to support multi-port devices like IDT 89HPESx series or Microsemi Switchtec. Message registers functionality has also been added to new API. In order to keep the new hardware and corresponding capabilities well tested, NTB tool driver is accordingly altered. Signed-off-by

[PATCH] NTB: ntb_pp: Add full multi-port NTB API support

2017-08-08 Thread Serge Semin
NTB API has been updated to support multi-port devices like IDT 89HPESx series or Microsemi Switchtec. Message registers functionality has also been added to new API. In order to keep the new hardware and corresponding capabilities well tested, NTB pingpong driver is accordingly altered. Signed-of

Re: [PATCH] thermal/drivers/hisi: Remove confusing error message

2017-08-08 Thread Daniel Lezcano
On 08/08/2017 09:55, Zhang Rui wrote: > On Fri, 2017-07-07 at 17:03 +0200, Daniel Lezcano wrote: >> The sensor id is unknown at init time and we use all id in the >> authorized >> MAX_SENSORS interval to register the sensor. On this SoC there is one >> thermal-zone with one sensor on it. No need to

[PATCH] NTB: ntb_perf: Add full multi-port NTB API support

2017-08-08 Thread Serge Semin
NTB API has been updated to support multi-port devices like IDT 89HPESx series or Microsemi Switchtec. Message registers functionality has also been added to new API. In order to keep the new hardware and corresponding capabilities well tested, NTB performance driver is accordingly altered. Signed

Re: hotplug support for arch/arc/plat-eznps platform

2017-08-08 Thread Peter Zijlstra
On Tue, Aug 08, 2017 at 06:49:39AM +, Ofer Levi(SW) wrote: > The idea behind implementing hotplug for this arch is to shorten time > to traffic processing. This way instead of waiting ~5 min for all > cpus to boot, application running on cpu 0 will Loop booting other > cpus and assigning the

linux-next 2017-08-08 failure on Nokia N900

2017-08-08 Thread Pavel Machek
Hi! I tried today's linux-next. It boots on n900 (up to X), but then my screen locks and I can't get back. Touchscreen worked, so my guess is keyboard does not...? Ssh connection over usb still works. Best regards, Pavel --

Re: [PATCH] IB/core: fix memory leak on ah on error return path

2017-08-08 Thread Johannes Thumshirn
Shouldn't the subject start with "IB/hns:" given it's touching drivers/infiniband/hw/hns/hns_roce_ah.c? Byte, Johannes -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5

[PATCH 1/1] f2fs: merge equivalent flags F2FS_GET_BLOCK_[READ|DIO]

2017-08-08 Thread sunqiuyang
From: Qiuyang Sun Currently, the two flags F2FS_GET_BLOCK_[READ|DIO] are totally equivalent and can be used interchangably in all scenarios they are involved in. This patch deletes F2FS_GET_BLOCK_READ and uses F2FS_GET_BLOCK_DIO instead. Signed-off-by: Qiuyang Sun --- fs/f2fs/data.c | 2 +- fs

Re: [PATCH v2] scheduler: enhancement to show_state_filter

2017-08-08 Thread Peter Zijlstra
On Tue, Aug 08, 2017 at 04:50:23PM +0800, Yafang Shao wrote: > Hi Peter, > > The point is we call use it as bellow, > show_state_filter(TASK_RUNNING); > because TASK_RUNNING is 0, that will dump all tasks. > > Under some circumstance, we need this to dump only tasks in TASK_RUNNING > state.

Re: [RFC v5 02/11] mm: Prepare for FAULT_FLAG_SPECULATIVE

2017-08-08 Thread Anshuman Khandual
On 06/16/2017 11:22 PM, Laurent Dufour wrote: > From: Peter Zijlstra > > When speculating faults (without holding mmap_sem) we need to validate > that the vma against which we loaded pages is still valid when we're > ready to install the new PTE. > > Therefore, replace the pte_offset_map_lock()

[PATCH v2] iommu/arm-smmu: fix null-pointer dereference in arm_smmu_add_device

2017-08-08 Thread Artem Savkov
Commit c54451a "iommu/arm-smmu: Fix the error path in arm_smmu_add_device" removed fwspec assignment in legacy_binding path as redundant which is wrong. It needs to be updated after fwspec initialisation in arm_smmu_register_legacy_master() as it is dereferenced later. Without this there is a NULL-

Re: [PATCH] IB/core: fix memory leak on ah on error return path

2017-08-08 Thread Colin Ian King
On 08/08/17 11:20, Johannes Thumshirn wrote: > Shouldn't the subject start with "IB/hns:" given it's touching > drivers/infiniband/hw/hns/hns_roce_ah.c? I was using the same subject start as the patch that introduced the memory leak and touched the same portion of code. I can resend if necessary.

Re: Switching to MQ by default may generate some bug reports

2017-08-08 Thread Mel Gorman
On Mon, Aug 07, 2017 at 07:32:41PM +0200, Paolo Valente wrote: > >> global-dhp__io-dbench4-fsync-ext4 was a universal loss across any > >> machine tested. This is global-dhp__io-dbench4-fsync from mmtests using > >> ext4 as a filesystem. The same is not true for XFS so the filesystem > >> matters.

Re: [PATCH] [media] solo6x10: export hardware GPIO pins 8:31 to gpiolib interface

2017-08-08 Thread Anton Sviridenko
On Mon, Aug 07, 2017 at 06:26:44PM +0100, Andrey Utkin wrote: > Hi Anton, > Hi > > @@ -90,16 +93,110 @@ static void solo_gpio_config(struct solo_dev *solo_dev) > > > > > /* Initially set relay status to 0 */ > > Do you mean that relay is initially disabled? > Maybe a rewording would make

Re: linux-next 2017-08-08 failure on Nokia N900

2017-08-08 Thread Pavel Machek
Hi! > I tried today's linux-next. It boots on n900 (up to X), but then my > screen locks and I can't get back. Touchscreen worked, so my guess is > keyboard does not...? Ssh connection over usb still works. Confirmed, its the keyboard. Additionally, battery monitoring fails, because neither /sy

Re: [RFC v5 03/11] mm: Introduce pte_spinlock for FAULT_FLAG_SPECULATIVE

2017-08-08 Thread Anshuman Khandual
On 06/16/2017 11:22 PM, Laurent Dufour wrote: > When handling page fault without holding the mmap_sem the fetch of the > pte lock pointer and the locking will have to be done while ensuring > that the VMA is not touched in our back. It does not change things from whats happening right now, where d

Re: [PATCH v2] scheduler: enhancement to show_state_filter

2017-08-08 Thread Yafang Shao
Hi Peter, In oder to make it readable, I have comment in the patch why this change is made, - if (!state_filter || (p->state & state_filter)) + /* in case we want to set TASK_RUNNING specifically */ + if ((p->state != TASK_RUNNING ? p->state <<

Re: [PATCH] mmc: host: omap_hsmmc: Add CMD23 capability to omap_hsmmc driver

2017-08-08 Thread Ulf Hansson
On 8 August 2017 at 07:18, Kishon Vijay Abraham I wrote: > omap_hsmmc driver always relied on CMD12 to stop transmission. > However if CMD12 is not issued at the correct timing, the card will > indicate a out of range error. With certain cards in some of the > DRA7 based boards, -EIO error is obse

Re: [PATCH v2] mmc: sunxi: fix support for new timings mode only SoCs

2017-08-08 Thread Ulf Hansson
On 8 August 2017 at 09:09, Icenowy Zheng wrote: > The A83T MMC support code introduces the timings mode switch, however > such a switch doesn't exist on new SoCs with only new timings mode. > > Only execute the switch if the SoC really have the timings mode switch, > to fix the regression shown on

Re: [PATCH 1/5] mfd: Add support for TI LMP92001 driver

2017-08-08 Thread Lee Jones
On Tue, 01 Aug 2017, s.abhi...@gmail.com wrote: > From: Abhisit Sangjan > > --- > drivers/mfd/Kconfig| 12 ++ > drivers/mfd/Makefile | 3 + > drivers/mfd/lmp92001-core.c| 311 > + > drivers/mfd/lmp92001-debug.c

Re: [PATCH v2] iommu/arm-smmu: fix null-pointer dereference in arm_smmu_add_device

2017-08-08 Thread Robin Murphy
On 08/08/17 11:26, Artem Savkov wrote: > Commit c54451a "iommu/arm-smmu: Fix the error path in arm_smmu_add_device" > removed fwspec assignment in legacy_binding path as redundant which is > wrong. It needs to be updated after fwspec initialisation in > arm_smmu_register_legacy_master() as it is de

Re: [PATCH v2] perf/core: Avoid context switch overheads

2017-08-08 Thread Peter Zijlstra
On Tue, Aug 08, 2017 at 06:00:45PM +0800, 石祤 wrote: > diff --git a/kernel/events/core.c b/kernel/events/core.c > index 426c2ff..3d86695 100644 > --- a/kernel/events/core.c > +++ b/kernel/events/core.c > @@ -3180,6 +3180,13 @@ static void perf_event_context_sched_in(struct > perf_event_context *ct

Re: [PATCH] mmc: mxcmmc: Handle return value of clk_prepare_enable

2017-08-08 Thread Ulf Hansson
On 8 August 2017 at 07:57, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav Thanks, applied for next! Kind regards Uffe > --- > drivers/mmc/host/mxcmmc.c | 25 +++-- > 1 file changed, 19 insertions

Re: [PATCH] mmc: renesas-sdhi: constify renesas_sdhi_internal_dmac_dma_ops

2017-08-08 Thread Ulf Hansson
On 7 August 2017 at 22:15, Julia Lawall wrote: > The structure renesas_sdhi_internal_dmac_dma_ops is only passed as > the second argument to renesas_sdhi_probe, which is const, so > renesas_sdhi_internal_dmac_dma_ops can be const too. > > Done with the help of Coccinelle. > > Signed-off-by: Julia

Re: [PATCH] mmc: wmt-sdmmc: Handle return value of clk_prepare_enable

2017-08-08 Thread Ulf Hansson
On 8 August 2017 at 07:46, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav Thanks, applied for next! Kind regards Uffe > --- > drivers/mmc/host/wmt-sdmmc.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-)

Re: [PATCH v3 0/2] mmc: sdhci: Add sdma_boundary to sdhci_host

2017-08-08 Thread Ulf Hansson
On 3 August 2017 at 14:46, wrote: > From: Srinivas Kandagatla > > This patchset adds fix to support sdhci controller which have issues > when sdma boundary buffer bits are programmed in Block Size Register (0x04) > when using ADMA. > > First patch adds member to struct sdhci_host to allow driver

Re: [PATCH 0/5] constify sdhci_pltfm_data and sdhci_ops structures

2017-08-08 Thread Ulf Hansson
On 7 August 2017 at 11:50, Julia Lawall wrote: > The sdhci_pltfm_data structures are only passed as the second > argument of sdhci_pltfm_init, which is const, while the sdhci_ops > structures are only stored in the ops field of a sdhci_pltfm_data > structure, which is also const. Thus both kinds

Re: [PATCH v8 02/12] mfd: rk808: add rk805 regs addr and ID

2017-08-08 Thread Lee Jones
On Thu, 03 Aug 2017, Joseph Chen wrote: > From: Elaine Zhang > > Signed-off-by: Elaine Zhang > Signed-off-by: Joseph Chen > --- > include/linux/mfd/rk808.h | 120 > ++ > 1 file changed, 120 insertions(+) For my own reference: Acked-for-MFD-by: L

Re: [PATCH] powerpc: xive: ensure active irqd when setting affinity

2017-08-08 Thread Michael Ellerman
Sukadev Bhattiprolu writes: > From fd0abf5c61b6041fdb75296e8580b86dc91d08d6 Mon Sep 17 00:00:00 2001 > From: Benjamin Herrenschmidt > Date: Tue, 1 Aug 2017 20:54:41 -0500 > Subject: [PATCH] powerpc: xive: ensure active irqd when setting affinity > > Ensure irqd is active before attempting to set

Re: [RFC v5 02/11] mm: Prepare for FAULT_FLAG_SPECULATIVE

2017-08-08 Thread Peter Zijlstra
On Tue, Aug 08, 2017 at 03:54:01PM +0530, Anshuman Khandual wrote: > On 06/16/2017 11:22 PM, Laurent Dufour wrote: > > From: Peter Zijlstra > > > > When speculating faults (without holding mmap_sem) we need to validate > > that the vma against which we loaded pages is still valid when we're > > r

Re: Switching to MQ by default may generate some bug reports

2017-08-08 Thread Ming Lei
Hi Mel Gorman, On Tue, Aug 8, 2017 at 6:30 PM, Mel Gorman wrote: > > o I've queued a subset of tests with Ming's v3 patchset as that was the > latest branch at the time I looked. It'll take quite some time to execute > as the grid I use to collect data is backlogged with other work The

[PATCH][next] x86/intel_rdt: remove redundant assignment to files

2017-08-08 Thread Colin King
From: Colin Ian King The variable files is assigned twice, the first assignment is redundant and can be removed. Detected by CoverityScan, CID#1452634 ("Unused value") Signed-off-by: Colin Ian King --- arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 1 - 1 file changed, 1 deletion(-) diff --git a

Re: [PATCH v8 01/12] mfd: rk808: fix up the chip id get failed

2017-08-08 Thread Lee Jones
On Thu, 03 Aug 2017, Joseph Chen wrote: > From: Elaine Zhang > > the rk8xx chip id is: > ((MSB << 8) | LSB) & 0xfff0 > > Signed-off-by: Elaine Zhang > Signed-off-by: Joseph Chen > --- > drivers/mfd/rk808.c | 21 +++-- > include/linux/mfd/rk808.h | 1 + > 2 files change

Re: [PATCH v8 1/2] mmc: dw_mmc: move controller reset before driver init

2017-08-08 Thread Ulf Hansson
On 2 August 2017 at 05:17, Li Wei wrote: > This commit modifies dw_mci_probe(), it moves reset assertion before > drv_data->init(host) > > Some driver needs to access controller registers in its .init() ops. So, > in order to make such access safe, we should do controller reset before > .init() be

Re: [PATCH v8 04/12] mfd: rk808: Add RK805 support

2017-08-08 Thread Lee Jones
On Thu, 03 Aug 2017, Joseph Chen wrote: > From: Elaine Zhang > > The RK805 chip is a Power Management IC (PMIC) for multimedia and handheld > devices. It contains the following components: > > - Regulators > - RTC > - Clocking > > Both RK808 and RK805 chips are using a similar regi

Re: [PATCH v8 07/12] mfd: dt-bindings: Add RK805 device tree bindings document

2017-08-08 Thread Lee Jones
On Thu, 03 Aug 2017, Joseph Chen wrote: > From: Elaine Zhang > > Add device tree bindings documentation for Rockchip's RK805 PMIC. > > Signed-off-by: Elaine Zhang > Signed-off-by: Joseph Chen > Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/mfd/rk808.txt | 22 ++

Re: [PATCH v8 10/12] mfd: rk808: Add RK805 pinctrl support

2017-08-08 Thread Lee Jones
On Thu, 03 Aug 2017, Joseph Chen wrote: > Signed-off-by: Joseph Chen > Acked-by: Linus Walleij > --- > drivers/mfd/rk808.c | 1 + > 1 file changed, 1 insertion(+) For my own reference: Acked-for-MFD-by: Lee Jones -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open s

Re: [PATCH v8 11/12] mfd: rk808: Add RK805 power key support

2017-08-08 Thread Lee Jones
On Thu, 03 Aug 2017, Joseph Chen wrote: > Signed-off-by: Joseph Chen > --- > drivers/mfd/rk808.c | 17 + > 1 file changed, 17 insertions(+) For my own reference: Acked-for-MFD-by: Lee Jones -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source so

Re: [PATCH v3 1/5] dt-bindings: update the Allwinner GPADC device tree binding for H3

2017-08-08 Thread Lee Jones
On Sun, 23 Jul 2017, Icenowy Zheng wrote: > Allwinner H3 features a thermal sensor like the one in A33, but has its > register re-arranged, the clock divider moved to CCU (originally the > clock divider is in ADC) and added a pair of bus clock and reset. > > Update the binding document to cover H

kernel BUG at kernel/futex.c:679 on v4.13-rc3-ish on arm64

2017-08-08 Thread Mark Rutland
king correctly. The Syzkaller log is huge (1.0M), so rather than attaching it, I've uploaded the log, report, and kernel config to: http://data.yaey.co.uk/bugs/20170808-futex-bug/ I'll continue trying to reproduce and minimize this. Thanks, Mark. [1] git://git.kernel.org/pub/scm/lin

Re: [PATCH 2/5] [media] atomisp: constify videobuf_queue_ops structures

2017-08-08 Thread Sakari Ailus
On Fri, Aug 04, 2017 at 02:09:45PM +0200, Julia Lawall wrote: > These videobuf_queue_ops structures are only passed as the second > argument to videobuf_queue_vmalloc_init, which is declared as const. > Thus the videobuf_queue_ops structures themselves can be const. > > Done with the help of Cocci

Re: powerpc/32: Fix boot failure on non 6xx platforms

2017-08-08 Thread Michael Ellerman
On Tue, 2017-08-08 at 06:37:24 UTC, Christophe Leroy wrote: > commit d300627c6a536 ("powerpc/6xx: Handle DABR match before > calling do_page_fault") breaks non 6xx platforms. > > [6.029556] Failed to execute /init (error -14) > [6.034623] Starting init: /bin/sh exists but couldn't execute

Re: [PATCH v4 6/6] perf: ARM DynamIQ Shared Unit PMU support

2017-08-08 Thread kbuild test robot
-DynamIQ-Shared-Unit-PMU/20170808-124822 config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross

Re: [PATCH v4 6/6] perf: ARM DynamIQ Shared Unit PMU support

2017-08-08 Thread Suzuki K Poulose
/commits/Suzuki-K-Poulose/perf-Support-for-ARM-DynamIQ-Shared-Unit-PMU/20170808-124822 config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [RFC v5 04/11] mm: VMA sequence count

2017-08-08 Thread Anshuman Khandual
On 06/16/2017 11:22 PM, Laurent Dufour wrote: > From: Peter Zijlstra > First of all, please do mention that its adding a new element into the vm_area_struct which will act as a sequential lock element and help in navigating page fault without mmap_sem lock. > Wrap the VMA modifications (vma_adj

Re: [PATCH v2 3/5] thermal: imx: Add support for reading OCOTP through nvmem

2017-08-08 Thread Srinivas Kandagatla
On 08/08/17 08:21, Zhang Rui wrote: On Tue, 2017-07-25 at 16:08 +0800, Shawn Guo wrote: On Fri, Jul 14, 2017 at 05:11:08PM +0300, Leonard Crestez wrote: On newer imx SOCs accessing OCOTP directly is wrong because the ocotp clock needs to be enabled first. Add support for reading those same v

Re: [PATCH v5 06/12] mfd: wm97xx-core: core support for wm97xx Codec

2017-08-08 Thread Lee Jones
On Sun, 06 Aug 2017, Robert Jarzmik wrote: > The WM9705, WM9712 and WM9713 are highly integrated codecs, with an > audio codec, DAC and ADC, GPIO unit and a touchscreen interface. > > Historically the support was spread across drivers/input/touchscreen and > sound/soc/codecs. The sharing was done

Re: [PATCH 0/6] In-kernel QMI handling

2017-08-08 Thread Bjørn Mork
Bjorn Andersson writes: > This series starts by moving the common definitions of the QMUX protocol to > the > uapi header, as they are shared with clients - both in kernel and userspace. > > This series then introduces in-kernel helper functions for aiding the handling > of QMI encoded messages

Re: [PATCH v4 01/17] mfd: madera: Add register definitions for Cirrus Logic Madera codecs

2017-08-08 Thread Lee Jones
On Fri, 28 Jul 2017, Richard Fitzgerald wrote: > This patch adds a header file of register definitions for Cirrus > Logic "Madera" class codecs. These codecs are all based off a common > set of hardware IP so have a common register map (with a few minor > device-to-device variations). > > The reg

Re: [PATCH v8 2/2] mmc: dw_mmc-k3: add sd support for hi3660

2017-08-08 Thread Ulf Hansson
On 2 August 2017 at 05:17, Li Wei wrote: > Add sd card support for hi3660 soc > > Signed-off-by: Li Wei > Signed-off-by: Chen Jun > > Major changes in v3: > - solve review comments from Heiner Kallweit. >*use the GENMASK and FIELD_PREP macros replace the bit shift operation. >*use uslee

Re: [PATCH v2] scheduler: enhancement to show_state_filter

2017-08-08 Thread Peter Zijlstra
On Tue, Aug 08, 2017 at 06:36:41PM +0800, Yafang Shao wrote: > After this change got approved, I will try to make some changes in SysRq. No, that's not how it works. Show the whole work.

Re: [RFC v5 04/11] mm: VMA sequence count

2017-08-08 Thread Peter Zijlstra
On Tue, Aug 08, 2017 at 04:29:32PM +0530, Anshuman Khandual wrote: > On 06/16/2017 11:22 PM, Laurent Dufour wrote: > > From: Peter Zijlstra > > > > First of all, please do mention that its adding a new element into the > vm_area_struct which will act as a sequential lock element and help > in na

[PATCH 0/1] ARM: bcm2836: Send event when onlining other cores

2017-08-08 Thread Phil Elwell
This two-line patch adds the "sev" instruction required to wake the secondary cores, should they be sleeping in a "wfe" instruction. It applies on top of Eric's bcm2835-soc-smp-cleanup branch[1], after Stefan's patchset moving the SMP startup code out of the irqchip driver. [1] - https://github.co

Applied "ASoC: jack: fix snd_soc_codec_set_jack return error" to the asoc tree

2017-08-08 Thread Mark Brown
The patch ASoC: jack: fix snd_soc_codec_set_jack return error has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sen

Re: [v3] ath10k: ath10k_htt_rx_amsdu_allowed() use ath10k_dbg()

2017-08-08 Thread Kalle Valo
Gabriel C wrote: > Each time we get disconnected from AP we get flooded with messages like: > > ... > ath10k_pci :03:00.0: no channel configured; ignoring frame(s)! > > ath10k_warn: 155 callbacks suppressed > ... > > Use ath10k_dbg() here too. > > Signed-off-by: Gabriel Craciunescu > Sig

Applied "spi: cadence: change sequence of calling runtime_enable" to the spi tree

2017-08-08 Thread Mark Brown
The patch spi: cadence: change sequence of calling runtime_enable has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Applied "spi: cadence: Add support for context loss" to the spi tree

2017-08-08 Thread Mark Brown
The patch spi: cadence: Add support for context loss has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus d

Re: [PATCH v2] scheduler: enhancement to show_state_filter

2017-08-08 Thread Yafang Shao
Okay. I will submit the whole work in a new patch later. 2017-08-08 19:04 GMT+08:00 Peter Zijlstra : > On Tue, Aug 08, 2017 at 06:36:41PM +0800, Yafang Shao wrote: >> After this change got approved, I will try to make some changes in SysRq. > > No, that's not how it works. Show the whole work.

[PATCH] binder: let ANDROID_BINDER_IPC_32BIT be selectable on 32bit ARM

2017-08-08 Thread Jisheng Zhang
As noted in commit d0bdff0db809 ("staging: Fix build issues with new binder API"), we can add back the choice for 32bit ARM "once a 64bit __get_user_asm_* implementation is merged." Commit e38361d032f1 ("ARM: 8091/2: add get_user() support for 8 byte types") has added the support, so it's time to l

Re: wcn36xx: Introduce mutual exclusion of fw configuration

2017-08-08 Thread Kalle Valo
Bjorn Andersson wrote: > As the association status changes the driver needs to configure the > hardware. This is done based on information in the "sta" acquired by > ieee80211_find_sta(), which requires the caller to ensure that the "sta" > is valid while its being used; generally by entering an

[PATCH] Bluetooth: Add support of 13d3:3494 RTL8723BE device

2017-08-08 Thread Dmitry Tunin
T: Bus=02 Lev=01 Prnt=01 Port=03 Cnt=03 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 2.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3494 Rev= 2.00 S: Manufacturer=Realtek S: Product=Bluetooth Radio S: SerialNumber=00e04c01 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA I:* If#= 0 Alt= 0 #EP

Re: ath9k: make ath_ps_ops structures as const

2017-08-08 Thread Kalle Valo
Bhumika Goyal wrote: > ath_ps_ops structures are only stored as a reference in the ps_ops > field of a ath_common structure. This field is of type const, so make > the structures as const. > > Signed-off-by: Bhumika Goyal > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git

[PATCH] f2fs: retry to revoke atomic commit in -ENOMEM case

2017-08-08 Thread Chao Yu
During atomic committing, if we encounter -ENOMEM in revoke path, it's better to give a chance to retry revoking. Signed-off-by: Chao Yu --- fs/f2fs/segment.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 45fb53411032..

Re: linux-next 2017-08-08 keyboard failure on Nokia N900

2017-08-08 Thread Pavel Machek
Hi! > > I tried today's linux-next. It boots on n900 (up to X), but then my > > screen locks and I can't get back. Touchscreen worked, so my guess is > > keyboard does not...? Ssh connection over usb still works. > > Confirmed, its the keyboard. > > Additionally, battery monitoring fails, becaus

[PATCH 0/4] ZynqMP PS PCIe DMA Driver

2017-08-08 Thread Ravi Shankar Jonnalagadda
ZynqMP devices have PCIe Bridge along with DMA in PS. These devices can be configured as either PCIe Endpoints or as PCIe Root Complex. This patch series shall provide a driver to initiate transactions using this DMA. Single platform driver shall handle both EndPoint and Root DMA transfers. Patch 1

Re: [PATCH 0/6] In-kernel QMI handling

2017-08-08 Thread Marcel Holtmann
Hi Bjorn, >> This series starts by moving the common definitions of the QMUX protocol to >> the >> uapi header, as they are shared with clients - both in kernel and userspace. >> >> This series then introduces in-kernel helper functions for aiding the >> handling >> of QMI encoded messages in t

[PATCH 1/4] PCI:xilinx-nwl: Enable Root DMA

2017-08-08 Thread Ravi Shankar Jonnalagadda
Enabling Root DMA interrupts Adding Root DMA translations to bridge for Register Access Signed-off-by: Ravi Shankar Jonnalagadda --- drivers/pci/host/pcie-xilinx-nwl.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/pci/host/pcie-xilinx-nwl.c b/drivers/pci/host/pci

[PATCH 3/4] PCI: ZYNQMP PS PCIe DMA driver: Adding support for DMA driver

2017-08-08 Thread Ravi Shankar Jonnalagadda
Adding support for ZynqmMP PS PCIe EP driver. Adding support for ZynqmMP PS PCIe Root DMA driver. Modifying Kconfig and Makefile to add the support. Same platform driver handles transactions for PCIe EP DMA and Root DMA Signed-off-by: Ravi Shankar Jonnalagadda --- drivers/dma/Kconfig

[PATCH 4/4] PCI: ZYNQMP PS PCIe DMA driver: Devicetree binding for Root DMA

2017-08-08 Thread Ravi Shankar Jonnalagadda
Binding explaining devicetree usage for using Root DMA capability of ZynqMPSoC Signed-off-by: Ravi Shankar Jonnalagadda --- .../devicetree/bindings/dma/xilinx/ps-pcie-dma.txt | 67 ++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/x

Re: [PATCH v4 03/17] mfd: madera: Add common support for Cirrus Logic Madera codecs

2017-08-08 Thread Lee Jones
On Fri, 28 Jul 2017, Richard Fitzgerald wrote: > This adds the generic core support for Cirrus Logic "Madera" class codecs. > These are complex audio codec SoCs with a variety of digital and analogue > I/O, onboard audio processing and DSPs, and other features. > > These codecs are all based off

Re: [PATCH v2 1/5] mfd: mt6397: create irq mappings in mfd core driver

2017-08-08 Thread Lee Jones
On Mon, 07 Aug 2017, Chen Zhong wrote: > The core driver should create and manage irq mappings instead of > leaf drivers. This patch change to pass irq domain to > devm_mfd_add_devices() and it will create mapping for irq resources > automatically. And remove irq mapping in rtc driver since this h

[PATCH] omap/hsmmc: constify dev_pm_ops

2017-08-08 Thread Doug Wilson
dev_pm_ops is not supposed to change at runtime. Marking it constant. Signed-off-by: Doug Wilson --- drivers/mmc/host/omap_hsmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 04ff3c9..a280c7f 100644 --- a

[PATCH 2/4] PCI:xilinx-nwl: Correcting Styling checks

2017-08-08 Thread Ravi Shankar Jonnalagadda
Correcting Style checks thrown by checkpatch scripts Signed-off-by: Ravi Shankar Jonnalagadda --- drivers/pci/host/pcie-xilinx-nwl.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/host/pcie-xilinx-nwl.c b/drivers/pci/host/pcie-xilinx-nwl.c index 5766582.

Re: [PATCH] Bluetooth: Add support of 13d3:3494 RTL8723BE device

2017-08-08 Thread Marcel Holtmann
Hi Dmitry, > T: Bus=02 Lev=01 Prnt=01 Port=03 Cnt=03 Dev#= 4 Spd=12 MxCh= 0 > D: Ver= 2.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=13d3 ProdID=3494 Rev= 2.00 > S: Manufacturer=Realtek > S: Product=Bluetooth Radio > S: SerialNumber=00e04c01 > C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=5

Re: [PATCH v2 5/5] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-08-08 Thread Lee Jones
On Mon, 07 Aug 2017, Chen Zhong wrote: > This patch adds compatible strings and interrupts for pmic keys > which serves as child device of MFD. > > Signed-off-by: Chen Zhong > --- > drivers/mfd/mt6397-core.c | 36 +++- > 1 file changed, 35 insertions(+), 1 dele

Re: [RFC v5 05/11] mm: fix lock dependency against mapping->i_mmap_rwsem

2017-08-08 Thread Anshuman Khandual
On 06/16/2017 11:22 PM, Laurent Dufour wrote: > kworker/32:1/819 is trying to acquire lock: > (&vma->vm_sequence){+.+...}, at: [] > zap_page_range_single+0xd0/0x1a0 > > but task is already holding lock: > (&mapping->i_mmap_rwsem){..}, at: [] > unmap_mapping_range+0x7c/0x160 > > which lock a

Applied "spi: qup: allow multiple DMA transactions per spi xfer" to the spi tree

2017-08-08 Thread Mark Brown
The patch spi: qup: allow multiple DMA transactions per spi xfer has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sen

Applied "spi: qup: Fix transaction done signaling" to the spi tree

2017-08-08 Thread Mark Brown
The patch spi: qup: Fix transaction done signaling has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus dur

Applied "spi: qup: Place the QUP in run mode before DMA" to the spi tree

2017-08-08 Thread Mark Brown
The patch spi: qup: Place the QUP in run mode before DMA has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

Applied "spi: qup: Enable chip select support" to the spi tree

2017-08-08 Thread Mark Brown
The patch spi: qup: Enable chip select support has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during

Applied "spi: qup: allow block mode to generate multiple transactions" to the spi tree

2017-08-08 Thread Mark Brown
The patch spi: qup: allow block mode to generate multiple transactions has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) a

Applied "spi: qup: refactor spi_qup_io_config into two functions" to the spi tree

2017-08-08 Thread Mark Brown
The patch spi: qup: refactor spi_qup_io_config into two functions has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Re: [PATCH 3/3] drm/etnaviv: add thermal dependency

2017-08-08 Thread Lucas Stach
Hi Arnd, Am Mittwoch, den 26.07.2017, 15:53 +0200 schrieb Arnd Bergmann: > When CONFIG_THERMAL is enabled as a loadable module, and etnaviv is > built-in, we get a link error: > > drivers/gpu/drm/etnaviv/etnaviv_gpu.o: In function `etnaviv_gpu_bind': > etnaviv_gpu.c:(.text.etnaviv_gpu_bind+0x34):

[PATCH] staging:ccree:constify dev_pm_ops

2017-08-08 Thread Doug Wilson
dev_pm_ops is not supposed to change at runtime. Marking it constant. Signed-off-by: Doug Wilson --- drivers/staging/ccree/ssi_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_driver.c b/drivers/staging/ccree/ssi_driver.c index 78709

Applied "spi: qup: Setup DMA mode correctly" to the spi tree

2017-08-08 Thread Mark Brown
The patch spi: qup: Setup DMA mode correctly has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during th

Applied "spi: qup: Add completion timeout" to the spi tree

2017-08-08 Thread Mark Brown
The patch spi: qup: Add completion timeout has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the

[PATCH] usb/dwc3:constify dev_pm_ops

2017-08-08 Thread Doug Wilson
dev_pm_ops is not supposed to change at runtime. Marking it constant. Signed-off-by: Doug Wilson --- drivers/usb/dwc3/dwc3-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c index 7e995df..54343fb 100644 --- a/dri

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