Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Byungchul Park
On Tue, Aug 22, 2017 at 11:06:03AM +0200, Peter Zijlstra wrote: > So I did the below little hack, which basically wipes the entire lock > history when we start a work and thereby disregards/looses the > dependency on the work 'lock'. > > It makes my test box able to boot and build a kernel on

Re: [PATCH 1/3] mfd: Add support for Cherry Trail Dollar Cove TI PMIC

2017-08-22 Thread Andy Shevchenko
On Tue, 2017-08-22 at 07:57 +0200, Takashi Iwai wrote: > This patch adds the MFD driver for Dollar Cove TI PMIC (ACPI INT33F5) > that is found on some Intel Cherry Trail devices. > The driver is based on the original work by Intel, found at: >   https://github.com/01org/ProductionKernelQuilts > >

Re: [PATCH 0/3] constify drm i2c_device_id

2017-08-22 Thread Arvind Yadav
Hi Daniel, On Tuesday 22 August 2017 12:01 PM, Daniel Vetter wrote: On Sat, Aug 19, 2017 at 11:58:17PM +0530, Arvind Yadav wrote: i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by work with const i2c_device_id. So mark the non-const

[PATCH] ravb: make mdiobb_ops const

2017-08-22 Thread Bhumika Goyal
Make these const as they are only stored in a const field of a mdiobb_ctrl structure. Signed-off-by: Bhumika Goyal --- drivers/net/ethernet/renesas/ravb_main.c | 2 +- drivers/net/ethernet/renesas/sh_eth.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v5 2/6] perf: hisi: Add support for HiSilicon SoC uncore PMU driver

2017-08-22 Thread Shaokun Zhang
This patch adds support HiSilicon SoC uncore PMU driver framework and interfaces. Reviewed-by: Jonathan Cameron Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- drivers/perf/Kconfig | 7

[PATCH v5 3/6] perf: hisi: Add support for HiSilicon SoC L3C PMU driver

2017-08-22 Thread Shaokun Zhang
This patch adds support for L3C PMU driver in HiSilicon SoC chip, Each L3C has own control, counter and interrupt registers and is an separate PMU. For each L3C PMU, it has 8-programable counters and each counter is free-running. Interrupt is supported to handle counter (48-bits) overflow.

[PATCH] net: mdio-gpio: make mdiobb_ops const

2017-08-22 Thread Bhumika Goyal
Make this const as it is only stored in a const field of a mdiobb_ctrl structure. Signed-off-by: Bhumika Goyal --- drivers/net/phy/mdio-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c index

[PATCH v5 4/6] perf: hisi: Add support for HiSilicon SoC HHA PMU driver

2017-08-22 Thread Shaokun Zhang
L3 cache coherence is maintained by Hydra Home Agent (HHA) in HiSilicon SoC. This patch adds support for HHA PMU driver, Each HHA has own control, counter and interrupt registers and is an separate PMU. For each HHA PMU, it has 16-programable counters and each counter is free-running. Interrupt is

[PATCH 02/11] crypto: caam - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/caam/caamalg.c | 10 +- drivers/crypto/caam/compat.h | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git

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

2017-08-22 Thread Daniel Lezcano
On 22/08/2017 10:04, Leo Yan wrote: > Hi Daniel, > > On Mon, Aug 21, 2017 at 12:06:17PM +0200, Daniel Lezcano wrote: > > [...] > >> Hi Leo, >> >> a cleanest solution would be either: >> >> - add the 3 missing thermal sensors in the DT and default to the id 2 > > Yeah, so do you think below

Re: [PATCH v2 05/19] perf, tools: Support weak groups

2017-08-22 Thread Jiri Olsa
On Fri, Aug 11, 2017 at 04:26:20PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Setting up groups can be complicated due to the > complicated scheduling restrictions of different PMUs. > User tools usually don't understand all these restrictions. > Still in many cases it

Re: [PATCH v2 10/19] perf, tools: Dedup events in expression parsing

2017-08-22 Thread Jiri Olsa
On Fri, Aug 11, 2017 at 04:26:25PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Avoid adding redundant events while parsing an expression. > When we add an "other" event check first if it already exists. > > v2: Fix perf test failure. > Signed-off-by: Andi Kleen

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Byungchul Park
On Tue, Aug 22, 2017 at 09:52:38AM +0200, Peter Zijlstra wrote: > That wouldn't work. That annotation is to help find deadlocks like: > > > mutex_lock() > > mutex_lock() > > flush_work() > I meant: mutex_lock()

Re: [PATCH V2] spmi: pmic-arb: Enforce the ownership check optionally

2017-08-22 Thread Shawn Guo
On Mon, Aug 21, 2017 at 04:18:58PM -0700, Stephen Boyd wrote: > On 08/18/2017 08:28 AM, Kiran Gunda wrote: > > The peripheral ownership check is not necessary on single master > > platforms. Hence, enforce the peripheral ownership check optionally. > > > > Signed-off-by: Kiran Gunda

Re: [PATCH v2 3/3] eeprom: at24: enable runtime pm support

2017-08-22 Thread Sakari Ailus
Hi Divagar, Thanks for the patch. Please see my comments below. On Tue, Aug 15, 2017 at 12:11:59AM +0530, Divagar Mohandass wrote: > Currently the device is kept in D0, there is an opportunity > to save power by enabling runtime pm. > > Device can be daisy chained from PMIC and we can't rely on

Re: [PATCH 10/18] rpmsg: glink: Add support for TX intents

2017-08-22 Thread Arun Kumar Neelakantam
On 8/16/2017 10:49 PM, Sricharan R wrote: Intents are nothing but pre-allocated buffers of appropriate size that are allocated on the local side and communicated to the remote side and the remote stores the list of intent ids that it is informed. Later when remote side is intenting to send

Re: [PATCH 4.12 55/65] pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver

2017-08-22 Thread Chen-Yu Tsai
On Sat, Aug 19, 2017 at 4:07 AM, Ben Hutchings wrote: > On Mon, 2017-08-14 at 18:19 -0700, Greg Kroah-Hartman wrote: >> 4.12-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: Icenowy Zheng >> >>

Re: [PATCH v2 2/3] eeprom: at24: add support to fetch eeprom device property "size"

2017-08-22 Thread Sakari Ailus
Hi Divagar, On Tue, Aug 15, 2017 at 12:11:58AM +0530, Divagar Mohandass wrote: > This adds support to fetch device property "size" from _DSD. > > There is a CAT24C16/GT24C16S NVMEM chip part of the OV13858 > camera module and it is connected to i2c bus on Intel KBL board. > This device will use

[PATCH] Revert "xhci: Limit USB2 port wake support for AMD Promontory hosts"

2017-08-22 Thread Kai-Heng Feng
This reverts commit dec08194ffeccfa1cf085906b53d301930eae18f. Commit dec08194ffec ("xhci: Limit USB2 port wake support for AMD Promontory hosts") makes all high speed USB ports on ASUS PRIME B350M-A cease to function after enabling runtime PM. All boards with this chipsets will be affected, so

Re: [PATCH v9 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-22 Thread Juri Lelli
Hi, On 22/08/17 17:30, Byungchul Park wrote: > It would be better to try to check other siblings first if > SD_PREFER_SIBLING is flaged when pushing tasks - migration. > > Signed-off-by: Byungchul Park > Suggested-by: Peter Zijlstra ^ This

Re: [PATCH 11/18] rpmsg: glink: Use the local intents when receiving data

2017-08-22 Thread Arun Kumar Neelakantam
On 8/16/2017 10:49 PM, Sricharan R wrote: So previously on request from remote side, we allocated local intent buffers and passed the ids to the remote. Now when we receive data buffers from remote directed to that intent id, copy the data to the corresponding preallocated intent buffer.

Re: [PATCH v5 6/9] ASoC: rockchip: Parse dai links from dts

2017-08-22 Thread jeffy
Hi Donglin, On 08/22/2017 05:08 PM, Donglin Peng wrote: > card->dev = >dev; > platform_set_drvdata(pdev, card); There is no need to call platform_set_drvdata, because devm_snd_soc_register_card will do it. right, will remove it in next version, thanks:)

Re: [PATCH] drivers: net: wireless: atmel: check memory allocation failure

2017-08-22 Thread Himanshu Jha
On Tue, Aug 22, 2017 at 10:41:45AM +0200, Matteo Croce wrote: > Il giorno mar, 22/08/2017 alle 13.41 +0530, Himanshu Jha ha scritto: > > Check memory allocation failure and return -ENOMEM if failure > > occurs. > > > > Signed-off-by: Himanshu Jha > > --- > >

Re: [PATCH] HID: core: assign usbhid to handle EETI PID=0x0001 HID device

2017-08-22 Thread Benjamin Tissoires
On Aug 11 2017 or thereabouts, JamChen wrote: > From: Jam Chen > > The vendor used the same PID(0x0001) for multiple touch IC controllers. > The newer ICs can support HID class and report the multitouch collection > in the descriptor. So they were handled by the

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Byungchul Park
On Tue, Aug 22, 2017 at 11:21:41AM +0200, Peter Zijlstra wrote: > On Tue, Aug 22, 2017 at 05:51:00PM +0900, Byungchul Park wrote: > > On Tue, Aug 22, 2017 at 09:52:38AM +0200, Peter Zijlstra wrote: > > > That wouldn't work. That annotation is to help find deadlocks like: > > > > > > > > >

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Peter Zijlstra
On Tue, Aug 22, 2017 at 06:22:36PM +0900, Byungchul Park wrote: > On Tue, Aug 22, 2017 at 11:06:03AM +0200, Peter Zijlstra wrote: > > So I did the below little hack, which basically wipes the entire lock > > history when we start a work and thereby disregards/looses the > > dependency on the work

Re: [PATCH 5/5] defconfig: msm: Enable CONFIG_MMC_SDHCI_IO_ACCESSORS

2017-08-22 Thread Ulf Hansson
On 18 August 2017 at 07:19, Vijay Viswanath wrote: > Enable CONFIG_MMC_SDHCI_IO_ACCESSORS so that SDHC controller specific > register read and write APIs, if registered, can be used. > > Signed-off-by: Vijay Viswanath > --- >

[PATCH v6] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-22 Thread Andrea Adami
The Sharp SL Series (Zaurus) PXA handhelds have 16/64/128M of NAND flash and share the same layout of the first 7M partition, managed by Sharp FTL. The purpose of this self-contained patch is to add a common parser and remove the hardcoded sizes in the board files (these devices are not yet

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Peter Zijlstra
TJ, afaict the workqueue stuff doesn't in fact use signals, right? Should we do the below? That is, the only reason it appears to use INTERRUPTIBLE is to avoid increasing the loadavg, and we've introduced IDLE for that a while back: 80ed87c8a9ca ("sched/wait: Introduce TASK_NOLOAD and

Re: [PATCH 2/3] input/keyboard: Add support for Dollar Cove TI power button

2017-08-22 Thread Andy Shevchenko
On Tue, 2017-08-22 at 07:57 +0200, Takashi Iwai wrote: > This provides a new input driver for supporting the power button on > Dollar Cove TI PMIC, found on Cherrytrail-based devices. > The patch is based on the original work by Intel, found at: >   https://github.com/01org/ProductionKernelQuilts

Re: [RFC v1 2/6] platform/x86: intel_pmc_ipc: Use devm_* calls in driver probe

2017-08-22 Thread Andy Shevchenko
On Tue, Aug 22, 2017 at 8:05 AM, sathya wrote: > On 08/18/2017 05:24 AM, Andy Shevchenko wrote: >> On Tue, Aug 1, 2017 at 9:13 PM, >> wrote: >>> This patch cleans up unnecessary free/alloc calls in this driver >>> by using devm_*

Re: [PATCH 1/2] arm64: mm: abort uaccess retries upon fatal signal

2017-08-22 Thread Will Deacon
On Mon, Aug 21, 2017 at 02:42:03PM +0100, Mark Rutland wrote: > On Tue, Jul 11, 2017 at 03:58:49PM +0100, Will Deacon wrote: > > On Tue, Jul 11, 2017 at 03:19:22PM +0100, Mark Rutland wrote: > > > When there's a fatal signal pending, arm64's do_page_fault() > > > implementation returns 0. The

Re: [PATCH] vsock: only load vmci transport on VMware hypervisor by default

2017-08-22 Thread Stefan Hajnoczi
On Fri, Aug 18, 2017 at 11:07:37PM +, Dexuan Cui wrote: > > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > > > CID is not really used by us, because we only support guest<->host > > communication, > > > and don't support guest<->guest communication. The Hyper-V host > > references > > >

[PATCH v3 17/17] dmaengine: bcm-sba-raid: Remove redundant SBA_REQUEST_STATE_COMPLETED

2017-08-22 Thread Anup Patel
The SBA_REQUEST_STATE_COMPLETED state was added to keep track of sba_request which got completed but cannot be freed because underlying Async Tx descriptor was not ACKed by DMA client. Instead of above, we can free the sba_request with non-ACKed Async Tx descriptor and sba_alloc_request() will

[PATCH v3 16/17] dmaengine: bcm-sba-raid: Explicitly ACK mailbox message after sending

2017-08-22 Thread Anup Patel
We should explicitly ACK mailbox message because after sending message we can know the send status via error attribute of brcm_message. This will also help SBA-RAID to use "txdone_ack" method whenever mailbox controller supports it. Signed-off-by: Anup Patel

[PATCH v5] FlexRM support in VFIO platform

2017-08-22 Thread Anup Patel
This patchset primarily adds Broadcom FlexRM reset module for VFIO platform driver. The patches are based on Linux-4.13-rc3 and can also be found at flexrm-vfio-v5 branch of https://github.com/Broadcom/arm64-linux.git Changes since v4: - Use "--timeout" instead of "timeout--" in

[PATCH 2/2] rtc: puv3: make alarms useful

2017-08-22 Thread Alexandre Belloni
Currently, the driver unregisters the IRQs when the rtc character device is closed. This means that the device needs to stay open to get alarms while the usual use case will open the device, set the alarm and close the device. Move the IRQ requests to puv3_rtc_probe() and use the devm managed

[PATCH 1/2] rtc: puv3: switch to devm_rtc_allocate_device()/rtc_register_device()

2017-08-22 Thread Alexandre Belloni
Use managed RTC device allocation as this allows for further cleanup. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-puv3.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/rtc/rtc-puv3.c

Re: [GIT PULL 00/13] perf/core improvements and fixes

2017-08-22 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit 9881223c6cc0644cc3aeea41e1f19ea7e3041f33: > > Merge tag

Re: device tree bindings for lp5523 leds on N950?

2017-08-22 Thread Sebastian Reichel
Hi, On Tue, Aug 15, 2017 at 09:15:28AM -0400, Sebastian Reichel wrote: > Hi Pavel, > > On Mon, Aug 14, 2017 at 03:38:16PM +0200, Pavel Machek wrote: > > I'm (still) trying to debug "N950 not booting" situation. I'm stuck > > with black screen, so I thought it would be cool to use RGB led for > >

Re: [PATCH 3/3] ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC

2017-08-22 Thread Takashi Iwai
On Tue, 22 Aug 2017 11:58:35 +0200, Andy Shevchenko wrote: > > On Tue, 2017-08-22 at 07:57 +0200, Takashi Iwai wrote: > > This patch adds the opregion driver for Dollar Cove TI PMIC on Intel > > Cherry Trail devices.  The patch is based on the original work by > > Intel, found at: > >   

[tip:perf/core] perf jevents: Support FCMask and PortMask

2017-08-22 Thread tip-bot for Andi Kleen
Commit-ID: c73881eeb1a0ee9b45d8bc9f45ab02e23d81c5c5 Gitweb: http://git.kernel.org/tip/c73881eeb1a0ee9b45d8bc9f45ab02e23d81c5c5 Author: Andi Kleen AuthorDate: Wed, 16 Aug 2017 15:02:00 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 17

Re: [PATCH 13/18] rpmsg: glink: Add rx done command

2017-08-22 Thread Arun Kumar Neelakantam
On 8/16/2017 10:49 PM, Sricharan R wrote: Send RX data receive ack to remote and also inform that local intent buffer is used and freed. This informs the remote to request for next set of intent buffers before doing a send operation. Signed-off-by: Sricharan R

[tip:perf/core] perf events parse: Use just one parse events state struct

2017-08-22 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d17d0878f456c8227345b6c76b918ec068fa0abd Gitweb: http://git.kernel.org/tip/d17d0878f456c8227345b6c76b918ec068fa0abd Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 17 Aug 2017 14:22:50 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf tools: Use default CPUINFO_PROC where it fits

2017-08-22 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 9a57eaf1d2443d34cce0562f425228c37a8ec019 Gitweb: http://git.kernel.org/tip/9a57eaf1d2443d34cce0562f425228c37a8ec019 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 17 Aug 2017 16:58:21 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf tools: Remove unused cpu_relax() macros

2017-08-22 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4717e03cc7e826818c3f9bd60e9c304a3309c3ad Gitweb: http://git.kernel.org/tip/4717e03cc7e826818c3f9bd60e9c304a3309c3ad Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 17 Aug 2017 16:44:36 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf events parse: Rename parse_events_parse arguments

2017-08-22 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5d9cdc1181c34f959e9fb8e24624223172071871 Gitweb: http://git.kernel.org/tip/5d9cdc1181c34f959e9fb8e24624223172071871 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 17 Aug 2017 16:13:34 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[PATCH v2 0/9] Mediatek MT2712 clock and scpsys support

2017-08-22 Thread Weiyi Lu
This series is based on v4.13-next-soc and composed of clock control (PATCH 1-4) and scpsys control (PATCH 5-9) changes since v1: - Rebase to v4.13-next-soc. - Refine scpsys and infracfg for bus protection. Weiyi Lu (9): dt-bindings: ARM: Mediatek: Document bindings for MT2712 clk: mediatek:

Re: 答复: [PATCH v3] mfd: Add support for RTS5250S power saving

2017-08-22 Thread Lee Jones
You have dropped the Mailing List off. Please don't do that. On Tue, 22 Aug 2017, 冯锐 wrote: > Dear Jones: > > > +struct rtsx_cr_option { > > + u32 dev_flags; > > + bool force_clkreq_0; > > + bool ltr_en; > > + bool ltr_enabled; > > + bool ltr_active; > > + u32 ltr_active_latency; >

[PATCH 7/9] soc: mediatek: add dependent clock jpgdec/audio for scpsys

2017-08-22 Thread Weiyi Lu
There are dependent clock jpgdec/audio in scpsys on MT2712, and will exist three dependent clocks on MT2712 VDEC. Signed-off-by: Weiyi Lu --- drivers/soc/mediatek/mtk-scpsys.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH 4/9] arm: dts: mt2712: Add clock controller device nodes

2017-08-22 Thread Weiyi Lu
Add clock controller nodes for MT2712, include topckgen, infracfg, pericfg, mcucfg and apmixedsys. This patch also add six oscillators that provide clocks for MT2712. Signed-off-by: Weiyi Lu --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 115

Re: [PATCH 1/2] mmc: sdhci-msm: Utilize bulk clock API

2017-08-22 Thread Ulf Hansson
On 18 August 2017 at 19:55, Bjorn Andersson wrote: > By stuffing the runtime controlled clocks into a clk_bulk_data array we > can utilize the newly introduced bulk clock operations and clean up the > error paths. This allow us to handle additional clocks in subsequent

Re: [PATCH 2/2] arm: mm: abort uaccess retries upon fatal signal

2017-08-22 Thread Mark Rutland
On Tue, Jul 11, 2017 at 03:19:23PM +0100, Mark Rutland wrote: > When there's a fatal signal pending, arm's do_page_fault() > implementation returns 0. The intent is that we'll return to the > faulting userspace instruction, delivering the signal on the way. > > However, if we take a fatal signal

Re: isofs: One check less in isofs_read_inode() after error detection

2017-08-22 Thread Jan Kara
On Mon 21-08-17 16:18:14, SF Markus Elfring wrote: > > I agree that > > > > fail: > > goto out; > > > > in the original code is awkward and we can get rid of it. > > How would you like to change this place instead? Just do 'goto out' directly.

Re: [PATCH v2 04/16] mmc: meson-gx: use _irqsave variant of spinlock

2017-08-22 Thread Ulf Hansson
On 21 August 2017 at 18:02, Jerome Brunet wrote: > spinlock used in interrupt handler should use the _irqsave variant Exactly why is that needed? > > Fixes: 51c5d8447bd7 ("MMC: meson: initial support for GX platforms") > Reviewed-by: Kevin Hilman >

Re: [PATCH 1/2] ext4: fix warning about stack corruption

2017-08-22 Thread Anton Blanchard
Hi Arnd, > After commit 62d1034f53e3 ("fortify: use WARN instead of BUG for > now"), we get a warning about possible stack overflow from a memcpy > that was not strictly bounded to the size of the local variable: > > inlined from 'ext4_mb_seq_groups_show' at > fs/ext4/mballoc.c:2322:2:

Re: [PATCH RESEND 1/2] net: enable high resolution timer mode to timeout datagram sockets

2017-08-22 Thread Vallish Vaidyeshwara
On Mon, Aug 21, 2017 at 01:10:34PM -0700, Cong Wang wrote: > On Fri, Aug 18, 2017 at 11:44 AM, Vallish Vaidyeshwara > wrote: > > - *timeo_p = schedule_timeout(*timeo_p); > > + /* Wait using highres timer */ > > + expires = ktime_add_ns(ktime_get(),

Re: [PATCH RFC v3 3/9] KVM: remember position in kvm->vcpus array

2017-08-22 Thread David Hildenbrand
On 21.08.2017 22:35, Radim Krčmář wrote: > Signed-off-by: Radim Krčmář > --- > include/linux/kvm_host.h | 11 +++ > virt/kvm/kvm_main.c | 5 - > 2 files changed, 7 insertions(+), 9 deletions(-) > > diff --git a/include/linux/kvm_host.h

[PATCH v3 08/17] dmaengine: bcm-sba-raid: Increase number of free sba_request

2017-08-22 Thread Anup Patel
Currently, we have only 1024 free sba_request created by sba_prealloc_channel_resources(). This is too low and the prep_xxx() callbacks start failing more often at time of RAID array setup over NVMe disks. This patch sets number of free sba_request created by sba_prealloc_channel_resources() to

[PATCH v3 14/17] dmaengine: bcm-sba-raid: Remove redundant SBA_REQUEST_STATE_RECEIVED

2017-08-22 Thread Anup Patel
The SBA_REQUEST_STATE_RECEIVED state is now redundant because received sba_request are immediately freed or moved to completed list in sba_process_received_request(). This patch removes redundant SBA_REQUEST_STATE_RECEIVED state. Signed-off-by: Anup Patel ---

[PATCH v3 11/17] dmaengine: bcm-sba-raid: Peek mbox when we have no free requests

2017-08-22 Thread Anup Patel
When setting up RAID array on several NVMe disks we observed that sba_alloc_request() start failing (due to no free requests left) and RAID array setup becomes very slow. To improve performance, we do mbox channel peek when we have no free requests. This improves performance of RAID array setup

[PATCH v3 10/17] dmaengine: bcm-sba-raid: Alloc resources before registering DMA device

2017-08-22 Thread Anup Patel
We should allocate DMA channel resources before registering the DMA device in sba_probe() because we can get DMA request soon after registering the DMA device. If DMA channel resources are not allocated before first DMA request then SBA-RAID driver will crash. Signed-off-by: Anup Patel

[PATCH v3 09/17] dmaengine: bcm-sba-raid: Improve sba_issue_pending() run duration

2017-08-22 Thread Anup Patel
The pending sba_request list can become very long in real-life usage (e.g. setting up RAID array) which can cause sba_issue_pending() to run for long duration. This patch adds common sba_process_deferred_requests() to process few completed and pending requests so that it finishes in short

[PATCH v3 12/17] dmaengine: bcm-sba-raid: Pre-ack async tx descriptor

2017-08-22 Thread Anup Patel
We should pre-ack async tx descriptor at time of allocating sba_request (just like other RAID drivers). Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/dma/bcm-sba-raid.c | 1 + 1

[PATCH v3 15/17] dmaengine: bcm-sba-raid: Add debugfs support

2017-08-22 Thread Anup Patel
This patch adds debugfs support to report stats via debugfs which in-turn will help debug hang or error situations. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden ---

[PATCH v3 13/17] dmaengine: bcm-sba-raid: Re-factor sba_process_deferred_requests()

2017-08-22 Thread Anup Patel
Currently, sba_process_deferred_requests() handles both pending and completed sba_request which is unnecessary overhead for sba_issue_pending() because completed sba_request handling is not required in sba_issue_pending(). This patch breaks sba_process_deferred_requests() into two parts

Re: [PATCH 1/4] bitops: Introduce assign_bit()

2017-08-22 Thread Lukas Wunner
On Tue, Aug 22, 2017 at 11:27:31AM +0200, Peter Zijlstra wrote: > On Tue, Aug 22, 2017 at 10:30:50AM +0200, Lukas Wunner wrote: > > diff --git a/include/linux/bitops.h b/include/linux/bitops.h > > index a83c822c35c2..097af36887c0 100644 > > --- a/include/linux/bitops.h > > +++

Re: [PATCH v2 1/4] staging: pi433: Style fix - Correct long lines

2017-08-22 Thread Dan Carpenter
On Tue, Aug 22, 2017 at 02:57:49PM +0530, Rishabh Hardas wrote: > On Sat, Aug 19, 2017 at 09:47:28PM -0700, Joe Perches wrote: > > On Wed, 2017-08-16 at 10:31 +0300, Dan Carpenter wrote: > > > On Wed, Aug 16, 2017 at 10:53:18AM +0530, Rishabh Hardas wrote: > > > > @@ -143,10 +142,13 @@ struct

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Peter Zijlstra
On Tue, Aug 22, 2017 at 06:33:37PM +0900, Byungchul Park wrote: > On Tue, Aug 22, 2017 at 11:21:41AM +0200, Peter Zijlstra wrote: > > On Tue, Aug 22, 2017 at 05:51:00PM +0900, Byungchul Park wrote: > > > On Tue, Aug 22, 2017 at 09:52:38AM +0200, Peter Zijlstra wrote: > > > > That wouldn't work.

[PATCH 3/9] clk: mediatek: Add MT2712 clock support

2017-08-22 Thread Weiyi Lu
Add MT2712 clock support, include topckgen, apmixedsys, infracfg, pericfg, mcucfg and subsystem clocks. Signed-off-by: Weiyi Lu --- drivers/clk/mediatek/Kconfig | 50 ++ drivers/clk/mediatek/Makefile|8 + drivers/clk/mediatek/clk-mt2712-bdp.c

[PATCH 9/9] arm: dts: Add power controller device node of MT2712

2017-08-22 Thread Weiyi Lu
add power controller node for MT2712 Signed-off-by: Weiyi Lu --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index

[PATCH 1/9] dt-bindings: ARM: Mediatek: Document bindings for MT2712

2017-08-22 Thread Weiyi Lu
This patch adds the binding documentation for apmixedsys, bdpsys, imgsys, imgsys, infracfg, mcucfg, mfgcfg, mmsys, pericfg, topckgen, vdecsys and vencsys for Mediatek MT2712. Acked-by: Rob Herring Signed-off-by: Weiyi Lu ---

Re: [PATCH v2 1/4] staging: pi433: Style fix - Correct long lines

2017-08-22 Thread Marcus Wolf
Hi everybody, from my point of view, we should stay with the old implementation. Ok - line is too long according to style guide. But these long lines are IMHO easy to read: All four are pretty similar. By having all Tokens in exact the same length and having one below other, you can easily

[PATCH 5/9] dt-bindings: soc: add MT2712 power dt-bindings

2017-08-22 Thread Weiyi Lu
Add power dt-bindings for MT2712. Acked-by: Rob Herring Signed-off-by: Weiyi Lu --- .../devicetree/bindings/soc/mediatek/scpsys.txt| 3 +++ include/dt-bindings/power/mt2712-power.h | 26 ++ 2 files changed, 29

[PATCH 2/9] clk: mediatek: Add dt-bindings for MT2712 clocks

2017-08-22 Thread Weiyi Lu
Add MT2712 clock dt-bindings, include topckgen, apmixedsys, infracfg, pericfg, mcucfg and subsystem clocks. Signed-off-by: Weiyi Lu --- include/dt-bindings/clock/mt2712-clk.h | 427 + 1 file changed, 427 insertions(+) create mode 100644

[PATCH 6/9] soc: mediatek: extend bus protection API

2017-08-22 Thread Weiyi Lu
MT2712 add "set/clear" bus control register to each control register set instead of providing only one "enable" control register, we could avoid the read-modify-write racing by using extend API with such new design. By improving the mtk-infracfg bus protection implementation to support set/clear

[PATCH 8/9] soc: mediatek: add MT2712 scpsys support

2017-08-22 Thread Weiyi Lu
add scpsys driver for MT2712 Signed-off-by: Weiyi Lu --- drivers/soc/mediatek/mtk-scpsys.c | 112 -- 1 file changed, 106 insertions(+), 6 deletions(-) diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c

Re: [PATCH v5 1/9] ASoC: rockchip: Remove obsolete dmic-delay

2017-08-22 Thread Mark Brown
On Tue, Aug 22, 2017 at 03:57:20PM +0800, Jeffy Chen wrote: > This property is no longer used. I would still rather keep the existing property documented (the binding does need to be fixed) than remove it. It's better practice and it's not costing a huge amount. signature.asc Description: PGP

Re: [PATCH v2 1/4] staging: pi433: Style fix - Correct long lines

2017-08-22 Thread Dan Carpenter
I'm skeptical that these are the absolute platonic ideal of what the code should look like... You may be right that it's mathematically impossible to make these lines more readable, but we can't really debate alternate versions of this until someone sends us a patch. regards, dan carpenter

possible circular locking dependency detected [was: linux-next: Tree for Aug 22]

2017-08-22 Thread Sergey Senozhatsky
Hello, == WARNING: possible circular locking dependency detected 4.13.0-rc6-next-20170822-dbg-00020-g39758ed8aae0-dirty #1746 Not tainted -- fsck.ext4/148 is trying to acquire lock: (>bd_mu

Re: [PATCH 3/3] ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC

2017-08-22 Thread Andy Shevchenko
On Tue, 2017-08-22 at 07:57 +0200, Takashi Iwai wrote: > This patch adds the opregion driver for Dollar Cove TI PMIC on Intel > Cherry Trail devices.  The patch is based on the original work by > Intel, found at: >   https://github.com/01org/ProductionKernelQuilts > with many cleanups and

Re: [PATCH net-next 3/3] hv_sock: implements Hyper-V transport for Virtual Sockets (AF_VSOCK)

2017-08-22 Thread Stefan Hajnoczi
On Fri, Aug 18, 2017 at 10:23:54PM +, Dexuan Cui wrote: > > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > > Sent: Thursday, August 17, 2017 07:56 > > To: Dexuan Cui > > On Tue, Aug 15, 2017 at 10:18:41PM +, Dexuan Cui wrote: > > > +static u32

Re: [PATCH 2/2] sched/fair: Fix use of NULL with find_idlest_group

2017-08-22 Thread Brendan Jackman
On Tue, Aug 22 2017 at 04:34, Joel Fernandes wrote: > Hi Peter, > > On Mon, Aug 21, 2017 at 2:14 PM, Peter Zijlstra wrote: >> On Mon, Aug 21, 2017 at 04:21:28PM +0100, Brendan Jackman wrote: >>> The current use of returning NULL from find_idlest_group is broken in >>> two

Re: [PATCH 2/2] mmc: sdhci-msm: Enable delay circuit calibration clocks

2017-08-22 Thread Ulf Hansson
[...] > diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c > index 71e01cbc38b6..7b47906ba447 100644 > --- a/drivers/mmc/host/sdhci-msm.c > +++ b/drivers/mmc/host/sdhci-msm.c > @@ -131,7 +131,7 @@ struct sdhci_msm_host { > struct clk *pclk; /* SDHC peripheral

Re: [PATCH 2/2] sched/fair: Fix use of NULL with find_idlest_group

2017-08-22 Thread Brendan Jackman
On Tue, Aug 22 2017 at 10:39, Brendan Jackman wrote: > On Tue, Aug 22 2017 at 04:34, Joel Fernandes wrote: >> Hi Peter, >> >> On Mon, Aug 21, 2017 at 2:14 PM, Peter Zijlstra wrote: >>> On Mon, Aug 21, 2017 at 04:21:28PM +0100, Brendan Jackman wrote: The current use of

Re: [PATCH v5 1/9] ASoC: rockchip: Remove obsolete dmic-delay

2017-08-22 Thread jeffy
Hi Mark, On 08/22/2017 06:32 PM, Mark Brown wrote: On Tue, Aug 22, 2017 at 03:57:20PM +0800, Jeffy Chen wrote: This property is no longer used. I would still rather keep the existing property documented (the binding does need to be fixed) than remove it. It's better practice and it's not

Re: [PATCH 3/3] ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC

2017-08-22 Thread Takashi Iwai
On Tue, 22 Aug 2017 12:25:12 +0200, Takashi Iwai wrote: > > On Tue, 22 Aug 2017 11:58:35 +0200, > Andy Shevchenko wrote: > > > > On Tue, 2017-08-22 at 07:57 +0200, Takashi Iwai wrote: > > > This patch adds the opregion driver for Dollar Cove TI PMIC on Intel > > > Cherry Trail devices.  The

Re: [PATCH 2/2] sched/fair: Fix use of NULL with find_idlest_group

2017-08-22 Thread Peter Zijlstra
On Tue, Aug 22, 2017 at 11:39:26AM +0100, Brendan Jackman wrote: > However the code movement helps - I'll combine it with Vincent's > suggestions and post a v2. Please also split into multiple patches, as I feel this 2/2 does too many things. Fixing that this_*_load initialization stuff for

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

2017-08-22 Thread Jonathan Cameron
On Mon, 21 Aug 2017 18:55:09 +0100 Suzuki K Poulose wrote: > Add support for the Cluster PMU part of the ARM DynamIQ Shared Unit (DSU). > The DSU integrates one or more cores with an L3 memory system, control > logic, and external interfaces to form a multicore cluster.

Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket

2017-08-22 Thread Vallish Vaidyeshwara
On Tue, Aug 22, 2017 at 08:23:11AM +0200, Richard Cochran wrote: > On Mon, Aug 21, 2017 at 06:22:10PM +, Vallish Vaidyeshwara wrote: > > AWS Lambda is affected by this change in behavior in > > system call. Following links has more information: > > https://en.wikipedia.org/wiki/AWS_Lambda > >

Re: [PATCH RFC v3 1/9] KVM: s390: optimize detection of started vcpus

2017-08-22 Thread David Hildenbrand
On 21.08.2017 22:35, Radim Krčmář wrote: > We can add a variable instead of scanning all online VCPUs to know how > many are started. We can't trivially tell which VCPU is the last one, > though. You could keep the started vcpus in a list. Then you might drop unsigned started_vcpus; No started

[PATCH] Add config option to build fanotify with debug messages

2017-08-22 Thread ariel
From: Ariel Zelivansky Signed-off-by: Ariel Zelivansky --- fs/notify/fanotify/Kconfig | 9 + fs/notify/fanotify/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/fs/notify/fanotify/Kconfig b/fs/notify/fanotify/Kconfig index

Re: [PATCH 3/3] ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC

2017-08-22 Thread Andy Shevchenko
On Tue, 2017-08-22 at 13:01 +0200, Takashi Iwai wrote: > On Tue, 22 Aug 2017 12:25:12 +0200, > Takashi Iwai wrote: > > > > On Tue, 22 Aug 2017 11:58:35 +0200, > > Andy Shevchenko wrote: > > > > > > On Tue, 2017-08-22 at 07:57 +0200, Takashi Iwai wrote: > > > > This patch adds the opregion driver

Re: [PATCH v2 04/16] mmc: meson-gx: use _irqsave variant of spinlock

2017-08-22 Thread Jerome Brunet
On Tue, 2017-08-22 at 13:08 +0200, Ulf Hansson wrote: > On 21 August 2017 at 18:02, Jerome Brunet wrote: > > spinlock used in interrupt handler should use the _irqsave variant > > Exactly why is that needed? That's a mistake left over from a debugging session. Thx for

Re: [PATCH RFC v3 2/9] KVM: arm/arm64: fix vcpu self-detection in vgic_v3_dispatch_sgi()

2017-08-22 Thread David Hildenbrand
On 21.08.2017 22:35, Radim Krčmář wrote: > The index in kvm->vcpus array and vcpu->vcpu_id are very different > things. Comparing struct kvm_vcpu pointers is a sure way to know. > > Signed-off-by: Radim Krčmář > --- > virt/kvm/arm/vgic/vgic-mmio-v3.c | 3 +-- > 1 file

Re: [RFC v1 4/6] platform: x86: Add generic Intel IPC driver

2017-08-22 Thread Andy Shevchenko
On Tue, Aug 22, 2017 at 8:09 AM, sathya wrote: > On 08/18/2017 05:38 AM, Andy Shevchenko wrote: >> On Tue, Aug 1, 2017 at 9:13 PM, >> wrote: >>> +struct intel_ipc_dev_cfg { >>> + void __iomem *base; >>> + void __iomem

[PATCH v2] mtd: spi-nor: add support for Microchip sst26vf064b QSPI memory

2017-08-22 Thread Claudiu Beznea
Add support for Microchip sst26vf064b QSPI memory. Signed-off-by: Claudiu Beznea --- Changes since v1: - use 64K sector size; changing the sector size the number of sectors was changed to 128 drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+)

[PATCH v3 01/17] dmaengine: bcm-sba-raid: Minor improvments in comments

2017-08-22 Thread Anup Patel
This patch does following improvments to comments: 1. Make section comments consistent across the driver by avoiding " SBA " in some of the comments 2. Add/update few more section comments Signed-off-by: Anup Patel --- drivers/dma/bcm-sba-raid.c | 9 ++--- 1 file

[PATCH v3 02/17] dmaengine: bcm-sba-raid: Reduce locking context in sba_alloc_request()

2017-08-22 Thread Anup Patel
We don't require to hold "sba->reqs_lock" for long-time in sba_alloc_request() because lock protection is not required when initializing members of "struct sba_request". Signed-off-by: Anup Patel --- drivers/dma/bcm-sba-raid.c | 22 +++--- 1 file

[PATCH v3 03/17] dmaengine: bcm-sba-raid: Common flags for sba_request state and fence

2017-08-22 Thread Anup Patel
This patch merges sba_request state and fence into common sba_request flags. The sba_request flags not only saves memory but it can also be extended in-future without adding new members. We also make each sba_request state as separate bit in sba_request flags to help debugging situations where a

<    3   4   5   6   7   8   9   10   11   12   >