Re: [PATCH 03/10] percpu: expose pcpu_nr_empty_pop_pages in pcpu_stats

2017-07-17 Thread Tejun Heo
On Sat, Jul 15, 2017 at 10:23:08PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > Percpu memory holds a minimum threshold of pages that are populated > in order to serve atomic percpu memory requests. This change makes it > easier to verify that there are a

Re: [PATCH V2] kernel/watchdog: fix spurious hard lockups

2017-07-17 Thread Don Zickus
On Mon, Jul 17, 2017 at 01:24:23AM +, Liang, Kan wrote: > Hi Don & Thomas, > > Sorry for the late response. We just finished the tests for all proposed > patches. > > There are three proposed patches so far. > Patch 1: The patch as above which speed up the hrtimer. > Patch 2: Thomas's first

Re: [PATCH 02/10] percpu: change the format for percpu_stats output

2017-07-17 Thread Tejun Heo
On Sat, Jul 15, 2017 at 10:23:07PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > This makes the debugfs output for percpu_stats a little easier > to read by changing the spacing of the output to be consistent. > > Signed-off-by: Dennis Zhou

Re: [PATCH 3/3] ASoC: codecs: msm8916-wcd-digital: fix dmic support

2017-07-17 Thread Srinivas Kandagatla
On 17/07/17 15:45, Mark Brown wrote: On Mon, Jul 17, 2017 at 03:54:10PM +0200, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch fixes dmic support which was broken in this driver. In what way is DMIC support broken and how does

Re: [PATCHSET for-4.13] cgroup: implement cgroup2 thread mode, v3

2017-07-17 Thread Tejun Heo
On Mon, Jul 17, 2017 at 10:48:44AM -0400, Waiman Long wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git > > review-cgroup2-threads-v3 > > Your new patches don't seem to be pushed to your git tree yet. I > couldn't find them there. Oops, pushed out now. Thanks. -- tejun

Re: [PATCH 2/2] Revert "ASoC: ux500: drop platform DAI assignments"

2017-07-17 Thread Mark Brown
On Wed, Jul 12, 2017 at 05:55:30PM +0200, Johan Hovold wrote: > This reverts commit f1013cdeeeb9 ("ASoC: ux500: drop platform DAI > assignments"), which seems to have been based on a misunderstanding and > prevents the platform driver callbacks from being made (e.g. to > preallocate DMA memory).

Re: [PATCH] rbd: Fix uninitialized variable use in rbd_acquire_lock

2017-07-17 Thread Ilya Dryomov
On Fri, Jul 14, 2017 at 1:25 PM, Kefeng Wang wrote: > > > On 2017/7/14 18:06, Ilya Dryomov wrote: >> On Thu, Jul 13, 2017 at 9:46 AM, Kefeng Wang >> wrote: >>> drivers/block/rbd.c: In function 'rbd_acquire_lock': >>>

Re: [PATCH v2] mm/page_alloc: Wait for oom_lock before retrying.

2017-07-17 Thread Michal Hocko
On Mon 17-07-17 22:50:47, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Sun 16-07-17 19:59:51, Tetsuo Handa wrote: > > > Since the whole memory reclaim path has never been designed to handle the > > > scheduling priority inversions, those locations which are assuming that > > > execution of

Re: [PATCH v2] KVM: arm/arm64: Handle hva aging while destroying the vm

2017-07-17 Thread Andrea Arcangeli
On Mon, Jul 17, 2017 at 04:45:10PM +0200, Christoffer Dall wrote: > I would also very much like to get to the bottom of this, and at the > very least try to get a valid explanation as to how a thread can be > *running* for a process where there are zero references to the struct > mm? A thread

Re: [PATCH 03/10] x86/hyper-v: make hv_do_hypercall() inline

2017-07-17 Thread Greg KH
On Sun, Jun 25, 2017 at 10:06:42AM -0700, k...@exchange.microsoft.com wrote: > From: Vitaly Kuznetsov > > We have only three call sites for hv_do_hypercall() and we're going to > change HVCALL_SIGNAL_EVENT to doing fast hypercall so we can inline this > function for

Re: [PATCHv2 3/6] ASoC: codec: cpcap: new codec

2017-07-17 Thread Mark Brown
On Mon, Jul 17, 2017 at 04:18:08PM +0200, Sebastian Reichel wrote: > On Mon, Jul 17, 2017 at 02:29:29AM -0700, Tony Lindgren wrote: > > Should it also have depends on SND_AUDIO_GRAPH_CARD? > The codec does not depend on audio graph card. You can > also use it with (deprecated) simple card or a

Re: [PATCH] iommu/exynos: Replace non-existing big-endian Kconfig option

2017-07-17 Thread kbuild test robot
Hi Krzysztof, [auto build test WARNING on iommu/next] [also build test WARNING on v4.13-rc1 next-20170717] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Krzysztof-Kozlowski/iommu-exynos

Re: [RFC PATCH] Bluetooth: btusb: Fix memory leak in play_deferred

2017-07-17 Thread Oliver Neukum
Am Mittwoch, den 12.07.2017, 10:27 +0800 schrieb jeffy: > Hi Oliver, > > Thanx for your comments, and sorry for reply late. > > > > If you do that you have to change submit_tx_urb() to be called under a > > spinlock. > > sorry, why we need that? since submit_tx_urb is basically >

Re: [PATCH v2 1/2] livepatch: introduce shadow variable API

2017-07-17 Thread Miroslav Benes
On Wed, 28 Jun 2017, Joe Lawrence wrote: > +Brief API summary > +- > + > +See the full API usage docbook notes in the livepatch/shadow.c > +implementation. > + > +An in-kernel hashtable references all of the shadow variables. These > +references are stored/retrieved through a

Re: [PATCH v2 1/2] livepatch: introduce shadow variable API

2017-07-17 Thread Miroslav Benes
On Thu, 13 Jul 2017, Josh Poimboeuf wrote: > On Wed, Jun 28, 2017 at 11:37:26AM -0400, Joe Lawrence wrote: > > > +Brief API summary > > +- > > + > > +See the full API usage docbook notes in the livepatch/shadow.c > > +implementation. > > + > > +An in-kernel hashtable references

Re: [PATCH 6/8] drm: Allow DSI devices to be registered before the host registers.

2017-07-17 Thread Archit Taneja
On 07/15/2017 04:31 AM, Eric Anholt wrote: Archit Taneja writes: On 06/29/2017 04:09 PM, Andrzej Hajda wrote: On 29.06.2017 07:03, Archit Taneja wrote: On 06/28/2017 01:28 AM, Eric Anholt wrote: When a mipi_dsi_host is registered, the DT is walked to find any

Re: [PATCH v2] mm/page_alloc: Wait for oom_lock before retrying.

2017-07-17 Thread Tetsuo Handa
Michal Hocko wrote: > On Sun 16-07-17 19:59:51, Tetsuo Handa wrote: > > Since the whole memory reclaim path has never been designed to handle the > > scheduling priority inversions, those locations which are assuming that > > execution of some code path shall eventually complete without using > >

Re: [PATCH 5/6] cgroup: implement cgroup v2 thread support

2017-07-17 Thread Peter Zijlstra
On Sun, Jul 16, 2017 at 10:07:20PM -0400, Tejun Heo wrote: > > v4: - Updated to marking each cgroup threaded as suggested by PeterZ. > > +On creation, a cgroup is always a domain cgroup and can be made > +threaded by writing "threaded" to the "cgroup.type" file. The > +operation is single

Re: [PATCHv2 0/6] Motorola Droid 4 Audio Support

2017-07-17 Thread Sebastian Reichel
Hi, On Mon, Jul 17, 2017 at 03:17:10AM -0700, Tony Lindgren wrote: > * Sebastian Reichel [170717 03:13]: > > On Mon, Jul 17, 2017 at 02:29:04AM -0700, Tony Lindgren wrote: > > > * Sebastian Reichel [170712 08:19]: > > > > *

Re: [PATCH 2/4] fs/dcache: Report negative dentry number in dentry-state

2017-07-17 Thread Waiman Long
On 07/17/2017 10:09 AM, Matthew Wilcox wrote: > On Mon, Jul 17, 2017 at 09:39:31AM -0400, Waiman Long wrote: >> @@ -63,9 +63,10 @@ struct qstr { >> struct dentry_stat_t { >> long nr_dentry; >> long nr_unused; >> -long age_limit; /* age in seconds */ >> -long want_pages;

Re: [PATCH 3/3] ASoC: codecs: msm8916-wcd-digital: fix dmic support

2017-07-17 Thread Mark Brown
On Mon, Jul 17, 2017 at 03:54:10PM +0200, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch fixes dmic support which was broken in this driver. In what way is DMIC support broken and how does this patch fix it? signature.asc

Re: [PATCH 1/3] ASoC: codecs: msm8916-wcd-digital: add support to set_sysclk

2017-07-17 Thread Mark Brown
On Mon, Jul 17, 2017 at 03:54:08PM +0200, srinivas.kandaga...@linaro.org wrote: > +static int msm8916_set_dai_sysclk(struct snd_soc_dai *dai, > + int clk_id, unsigned int freq, int dir) > +{ > + struct msm8916_wcd_digital_priv *p =

Re: [PATCH 04/10] percpu: update the header comment and pcpu_build_alloc_info comments

2017-07-17 Thread Tejun Heo
On Sat, Jul 15, 2017 at 10:23:09PM -0400, Dennis Zhou wrote: > * c0 c1 c2 > * --- --- > * | u0 | u1 | u2 | u3 || u0 | u1 | u2 | u3 | | u0 | u1 | u > *

Re: [PATCH 1/3] ASoC: codecs: msm8916-wcd-digital: add support to set_sysclk

2017-07-17 Thread Srinivas Kandagatla
On 17/07/17 15:44, Mark Brown wrote: On Mon, Jul 17, 2017 at 03:54:08PM +0200, srinivas.kandaga...@linaro.org wrote: +static int msm8916_set_dai_sysclk(struct snd_soc_dai *dai, +int clk_id, unsigned int freq, int dir) +{ + struct msm8916_wcd_digital_priv

Re: 4.12 nf_conntrack_expect crash

2017-07-17 Thread Jiri Slaby
On 07/17/2017, 04:49 PM, Jiri Slaby wrote: > Hi, > > on my system, I see a crash in del_timer invoked in nf_conntrack_expect. > See the attached picture. > > I somehow suspect this commit: > > commit ec0e3f01114ad327112432a4da8840eb22fed577 > Author: Gao Feng > Date: Mon Mar

Re: [PATCH v2 4/4] w1: ds1wm: add messages to make incorporation in mfd-drivers easier

2017-07-17 Thread Greg Kroah-Hartman
On Fri, Jun 23, 2017 at 12:47:15PM +0200, Johannes Poehlmann wrote: > Signed-off-by: Johannes Poehlmann > Acked-by: Evgeniy Polyakov > > 141 drivers/w1/masters/ds1wm.c Again, odd changelog text :(

Re: [PATCH v2 3/4] w1: ds1wm: silence interrupts on HW before claiming the interrupt

2017-07-17 Thread Greg Kroah-Hartman
On Fri, Jun 23, 2017 at 12:47:14PM +0200, Johannes Poehlmann wrote: > Signed-off-by: Johannes Poehlmann > Acked-by: Evgeniy Polyakov > > 6 0 drivers/w1/masters/ds1wm.c What is that line for? And I can not take patches without

Re: [PATCH v2 1/4] w1: ds1wm: fix and simplify register access

2017-07-17 Thread Greg Kroah-Hartman
On Fri, Jun 23, 2017 at 12:47:12PM +0200, Johannes Poehlmann wrote: > o Replace incorrect register offsett calculation by > direct configuration of bus_shift in mfd-cell. > Indirect definition of address-shift by resource size > was unobvious and should have used a binary log. > o Make endian

Re: [PATCH 2/3] net: ethernet: bgmac: Make IDM register space optional

2017-07-17 Thread Jon Mason
On Thu, Jul 13, 2017 at 3:04 PM, Abhishek Shah wrote: > IDM operations are usually one time ops and should be done in > firmware itself. Driver is not supposed to touch IDM registers. > > However, for some SoCs', driver is performing IDM read/writes. > So this patch

Re: [PATCH v4 00/10] PCID and improved laziness

2017-07-17 Thread Ingo Molnar
* Mel Gorman wrote: > On Wed, Jul 05, 2017 at 10:56:57AM +0200, Ingo Molnar wrote: > > > > * Andy Lutomirski wrote: > > > > > *** Ingo, even if this misses 4.13, please apply the first patch before > > > *** the merge window. > > > > > Andy Lutomirski (10):

Re: [PATCH 3.16 121/178] kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd

2017-07-17 Thread Suzuki K Poulose
On 16/07/17 14:56, Ben Hutchings wrote: 3.16.46-rc1 review patch. If anyone has any objections, please let me know. -- From: Suzuki K Poulose commit 8b3405e345b5a098101b0c31b264c812bba045d9 upstream. In kvm_free_stage2_pgd() we don't hold the

[PATCH 2/4] fs/dcache: Report negative dentry number in dentry-state

2017-07-17 Thread Waiman Long
The number of negative dentries currently in the system is now reported in the /proc/sys/fs/dentry-state file. Signed-off-by: Waiman Long --- fs/dcache.c| 16 +++- include/linux/dcache.h | 7 --- 2 files changed, 19 insertions(+), 4 deletions(-)

[PATCHv2 2/2] backlight: add TI LMU backlight driver

2017-07-17 Thread Sebastian Reichel
From: Milo Kim This is consolidated driver which supports the following backlight devices: LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697. Structure - It consists of two parts - core and data. Core part supports features below. - Backlight subsystem control

[PATCH resend] Documentation: arm: Replace use of virt_to_phys with __pa_symbol

2017-07-17 Thread Geert Uytterhoeven
All low-level PM/SMP code using virt_to_phys() should actually use __pa_symbol() against kernel symbols. Update the documentation to move away from virt_to_phys(). Cfr. commit 6996cbb2372189f7 ("ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol") Signed-off-by: Geert

[PATCH 4/4] fs/dcache: Protect negative dentry pruning from racing with umount

2017-07-17 Thread Waiman Long
The negative dentry pruning is done on a specific super_block set in the ndblk.prune_sb variable. If the super_block is also being un-mounted concurrently, the content of the super_block may no longer be valid. To protect against such racing condition, a new lock is added to the ndblk structure

[PATCHv2 1/2] dt-bindings: backlight: add ti-lmu-backlight binding

2017-07-17 Thread Sebastian Reichel
From: Milo Kim Add DT binding for ti-lmu devices. Signed-off-by: Milo Kim Signed-off-by: Sebastian Reichel --- .../bindings/leds/backlight/ti-lmu-backlight.txt | 66 ++ 1 file changed, 66 insertions(+)

Re: [PATCH] thermal: tegra: delete unneeded of_node_put

2017-07-17 Thread Jon Hunter
On 15/07/17 09:42, Julia Lawall wrote: > Device node iterators perform an of_node_put on each iteration, so putting > an of_node_put before a continue results in a double put. > > The semantic match that finds this problem is as follows > (http://coccinelle.lip6.fr): > > // > @@ > expression

Re: [PATCH] [PING] Fix TIOCGPTPEER ioctl definition

2017-07-17 Thread Greg Kroah-Hartman
On Mon, Jul 17, 2017 at 04:29:46PM +0300, Gleb Fotengauer-Malinovskiy wrote: > This ioctl does nothing to justify an _IOC_READ or _IOC_WRITE flag > because it doesn't copy anything from/to userspace to access the > argument. > > Fixes: 54ebbfb16034 ("tty: add TIOCGPTPEER ioctl") > Signed-off-by:

Re: [PATCH v2 0/6] drivers/i2c: Add FSI-attached I2C master algorithm

2017-07-17 Thread Greg KH
On Mon, Jul 17, 2017 at 04:20:13PM +0200, Wolfram Sang wrote: > > > This is a driver for the i2c bus master, so I would expect the patches > > to be reviewed and applied through Wolfram's i2c tree? > > Yes, please. > Ok, then why are people sending them to me? I'll gladly let others take them

Re: [PATCH 14/14] [media] fix warning on v4l2_subdev_call() result interpreted as bool

2017-07-17 Thread Arnd Bergmann
On Mon, Jul 17, 2017 at 3:45 PM, Hans Verkuil wrote: > On 14/07/17 11:36, Arnd Bergmann wrote: >> @@ -201,8 +202,9 @@ static int cx18_g_fmt_sliced_vbi_cap(struct file *file, >> void *fh, >>* digitizer/slicer. Note, cx18_av_vbi() wipes the passed in >>*

Re: [PATCH 14/15] kernel: convert futex_pi_state.refcount from atomic_t to refcount_t

2017-07-17 Thread Thomas Gleixner
On Mon, 17 Jul 2017, Elena Reshetova wrote: > Subject: kernel: convert futex_pi_state.refcount from atomic_t to refcount_t Several people including myself told you already, that subjects consist of SUBSYSTEMPREFIX: Concise description It's easy enough to figure the prefix out by looking at the

Re: [f2fs-dev] [PATCH] f2fs: include seq_file.h for sysfs.c

2017-07-17 Thread Chao Yu
Hi Jaegeuk, On 2017/7/14 9:01, Jaegeuk Kim wrote: > This patch includes seq_file.h to avoid compile error. I didn't hit the error, I guess that's because we have included f2fs_fs.h in sysfs.c, the inclusion relation is like this: - sysfs.c - f2fs_fs.h - pagemap.h - fs.h - struct

Re: [PATCH 5/6] cgroup: implement cgroup v2 thread support

2017-07-17 Thread Tejun Heo
Hello, Peter. On Mon, Jul 17, 2017 at 04:14:09PM +0200, Peter Zijlstra wrote: > AFAICT this is not in fact what I suggested... :/ Heh, sorry about misattributing that. I was mostly referring to the overall idea of marking each cgroup domain or threaded rather than subtree. > My proposal did

[PATCH] [v2] [media] usbvision-i2c: fix format overflow warning

2017-07-17 Thread Arnd Bergmann
gcc-7 notices that we copy a fixed length string into another string of the same size, with additional characters: drivers/media/usb/usbvision/usbvision-i2c.c: In function 'usbvision_i2c_register': drivers/media/usb/usbvision/usbvision-i2c.c:190:36: error: '%d' directive writing between 1 and

Re: [PATCH 14/14] [media] fix warning on v4l2_subdev_call() result interpreted as bool

2017-07-17 Thread Dan Carpenter
On Mon, Jul 17, 2017 at 04:26:23PM +0200, Arnd Bergmann wrote: > On Mon, Jul 17, 2017 at 3:45 PM, Hans Verkuil wrote: > > On 14/07/17 11:36, Arnd Bergmann wrote: > >> @@ -201,8 +202,9 @@ static int cx18_g_fmt_sliced_vbi_cap(struct file > >> *file, void *fh, > >>*

Re: [PATCH v2 01/05] drivers/fmc: remove unused variable

2017-07-17 Thread Greg KH
On Wed, Jul 05, 2017 at 09:22:06AM -0500, Pat Riehecky wrote: > From: Federico Vaga > Signed-off-by: Federico Vaga > Tested-by: Pat Riehecky > --- > drivers/fmc/fru-parse.c | 3 +-- > 1 file changed, 1 insertion(+), 2

Re: [PATCH v2 05/05] drivers/fmc: carrier can program FPGA on registration

2017-07-17 Thread Greg KH
On Wed, Jul 05, 2017 at 09:22:10AM -0500, Pat Riehecky wrote: > The initial FPGA may require programming before it is useful. > > From: Federico Vaga > Signed-off-by: Federico Vaga > Tested-by: Pat Riehecky > --- This is not how

Re: [PATCH 14/14] [media] fix warning on v4l2_subdev_call() result interpreted as bool

2017-07-17 Thread Hans Verkuil
On 17/07/17 16:26, Arnd Bergmann wrote: > On Mon, Jul 17, 2017 at 3:45 PM, Hans Verkuil wrote: >> On 14/07/17 11:36, Arnd Bergmann wrote: >>> @@ -201,8 +202,9 @@ static int cx18_g_fmt_sliced_vbi_cap(struct file *file, >>> void *fh, >>>* digitizer/slicer. Note,

Re: [PATCHv5 2/6] dt-bindings: mfd: da9052: support TSI as ADC

2017-07-17 Thread Lee Jones
On Mon, 03 Jul 2017, Sebastian Reichel wrote: > DA9052 allows using the touchscreen input pins as general purpose > analogue input pin by wiring analogue inputs to X+, X-, Y+ and Y- > and providing a reference voltage at TSIREF pin. > > Signed-off-by: Sebastian Reichel

Re: [PATCH 14/14] [media] fix warning on v4l2_subdev_call() result interpreted as bool

2017-07-17 Thread Hans Verkuil
On 17/07/17 16:26, Arnd Bergmann wrote: > On Mon, Jul 17, 2017 at 3:45 PM, Hans Verkuil wrote: >> On 14/07/17 11:36, Arnd Bergmann wrote: >>> @@ -201,8 +202,9 @@ static int cx18_g_fmt_sliced_vbi_cap(struct file *file, >>> void *fh, >>>* digitizer/slicer. Note,

Re: [PATCH] mfd: ab8500-core: constify attribute_group structures.

2017-07-17 Thread Lee Jones
On Mon, 10 Jul 2017, Arvind Yadav wrote: > attribute_groups are not supposed to change at runtime. All functions > working with attribute_groups provided by work with const > attribute_group. So mark the non-const structs as const. > > File size before: >text data bss dec

Re: [f2fs-dev] [PATCH v2] f2fs: avoid cpu lockup

2017-07-17 Thread Chao Yu
On 2017/7/16 9:04, Jaegeuk Kim wrote: > Before retrying to flush data or dentry pages, we need to release cpu in order > to prevent watchdog. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu > --- > Change log from v1: > - timeout more specifically

[PATCH v4 6/6] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation

2017-07-17 Thread Eddie James
From: "Edward A. James" Document the bindings. Signed-off-by: Edward A. James --- Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 +++ 1 file changed, 40 insertions(+) create mode 100644

Re: [PATCH v2 2/6] [media] rockchip/rga: v4l2 m2m support

2017-07-17 Thread Nicolas Dufresne
Le lundi 17 juillet 2017 à 05:37 +0300, Laurent Pinchart a écrit : > Hi Nicolas, > > On Saturday 15 Jul 2017 12:49:13 Personnel wrote: > > You might want to fix your mailer to use your name :-) > > > Le samedi 15 juillet 2017 à 12:42 +0300, Laurent Pinchart a écrit : > > > On Saturday 15 Jul

Re: [PATCH v2] KVM: arm/arm64: Handle hva aging while destroying the vm

2017-07-17 Thread Christoffer Dall
On Mon, Jul 17, 2017 at 3:03 PM, Suzuki K Poulose wrote: > On 16/07/17 20:56, Christoffer Dall wrote: >> >> On Fri, Jul 14, 2017 at 05:40:48PM +0100, Suzuki K Poulose wrote: >>> >>> On 06/07/17 10:42, Christoffer Dall wrote: On Thu, Jul 06, 2017 at 10:34:58AM

[PATCH] tee: add kernel internal client interface

2017-07-17 Thread Jens Wiklander
Adds a kernel internal TEE client interface to be used by other drivers. Signed-off-by: Jens Wiklander --- drivers/tee/tee_core.c | 124 +++- include/linux/tee_drv.h | 73 2 files changed, 186

Re: [PATCH 01/10] percpu: pcpu-stats change void buffer to int buffer

2017-07-17 Thread Tejun Heo
On Sat, Jul 15, 2017 at 10:23:06PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > Changes the use of a void buffer to an int buffer for clarity. > > Signed-off-by: Dennis Zhou Applied to percpu/for-4.14.h Thanks. -- tejun

Re: [PATCH 6/7] staging: fsl-mc: rewrite mc command send/receive to work on 32-bits

2017-07-17 Thread Laurentiu Tudor
Hi Robin, On 07/17/2017 04:43 PM, Robin Murphy wrote: > On 17/07/17 14:26, laurentiu.tu...@nxp.com wrote: >> From: Laurentiu Tudor >> >> Split the 64-bit accesses in 32-bit accesses because there's no real >> constrain in MC to do only atomic 64-bit. There's only one

[PATCH 1/1] netfilter: nf_ct_expect: fix expect removal

2017-07-17 Thread Jiri Slaby
Commit ec0e3f01114a ("netfilter: nf_ct_expect: Add nf_ct_remove_expect()") introduced a helper nf_ct_remove_expect. It was used over the code, but one location used a wrong variable and it resulted in a crash in this call stack: -> nf_ct_expect_related_report -> nf_ct_remove_expect ->

Re: [PATCH] ntb: use correct mw_count function in ntb_tool and ntb_transport

2017-07-17 Thread Jon Mason
On Tue, Jun 27, 2017 at 12:04 PM, Allen Hubbe wrote: > From: Logan Gunthorpe >> After converting to the new API, both ntb_tool and ntb_transport are >> using ntb_mw_count to iterate through ntb_peer_get_addr when they >> should be using ntb_peer_mw_count. >> >> This probably

Re: [PATCH 2/7] staging: fsl-mc: use generic memory barriers

2017-07-17 Thread Robin Murphy
On 17/07/17 14:26, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > No need to use arch-specific memory barriers; switch to using generic > ones. The rmb()s were useless so drop them. > > Signed-off-by: Laurentiu Tudor > --- >

Re: [PATCH net-next v2 1/4] dt-bindings: net: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-07-17 Thread Andrew Lunn
On Mon, Jul 17, 2017 at 06:06:22PM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > The patch adds the supplements in the dt-binding document for MediaTek > MT7622 SoC with extra SGMII system controller and relevant clock consumers > listed as the requirements

Re: [PATCH 2/7] staging: fsl-mc: use generic memory barriers

2017-07-17 Thread Laurentiu Tudor
On 07/17/2017 04:38 PM, Robin Murphy wrote: > On 17/07/17 14:26, laurentiu.tu...@nxp.com wrote: >> From: Laurentiu Tudor >> >> No need to use arch-specific memory barriers; switch to using generic >> ones. The rmb()s were useless so drop them. >> >> Signed-off-by:

Re: [PATCH v16 2/7] power: add power sequence library

2017-07-17 Thread Rafael J. Wysocki
On Monday, July 10, 2017 10:28:15 AM Peter Chen wrote: > On Sat, Jul 08, 2017 at 02:14:56PM +0200, Rafael J. Wysocki wrote: > > On Saturday, July 08, 2017 01:51:15 PM Peter Chen wrote: > > > On Fri, Jul 07, 2017 at 03:03:06PM +0200, Rafael J. Wysocki wrote: > > > > On Friday, July 07, 2017

Re: [PATCH 14/14] [media] fix warning on v4l2_subdev_call() result interpreted as bool

2017-07-17 Thread Hans Verkuil
On 14/07/17 11:36, Arnd Bergmann wrote: > v4l2_subdev_call is a macro returning whatever the callback return > type is, usually 'int'. With gcc-7 and ccache, this can lead to > many wanings like: > > media/platform/pxa_camera.c: In function 'pxa_mbus_build_fmts_xlate': >

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-17 Thread Peter Zijlstra
On Mon, Jul 17, 2017 at 09:24:51PM +0800, Li, Aubrey wrote: > On 2017/7/14 12:05, Paul E. McKenney wrote: > > > > More specifically: rcu_needs_cpu(), rcu_prepare_for_idle(), > > rcu_cleanup_after_idle(), rcu_eqs_enter(), rcu_eqs_enter_common(), > > rcu_dynticks_eqs_enter(),

[PATCH v2 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem

2017-07-17 Thread Jacob Chen
From: Mark Yao Add devicetree nodes for rk3399 VOP (Video Output Processors), and the top level display-subsystem root node. Later patches add endpoints (eDP, HDMI, MIPI, etc) that attach to the VOPs' output ports. Signed-off-by: Mark Yao

[PATCH v2 5/5] arm64: dts: rockchip: add rk3399 hdmi nodes

2017-07-17 Thread Jacob Chen
Add an hdmi node, and also add hdmi endpoints to vopb and vopl output port nodes. Signed-off-by: Jacob Chen --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 37 1 file changed, 37 insertions(+) diff --git

[PATCH v2 3/5] arm64: dts: rockchip: add rk3399 edp nodes

2017-07-17 Thread Jacob Chen
From: Yakir Yang Add an edp node, and also add edp endpoints to vopb and vopl output port nodes. Signed-off-by: Yakir Yang Signed-off-by: Caesar Wang Signed-off-by: Jacob Chen ---

Re: [PATCH v2 0/6] drivers/i2c: Add FSI-attached I2C master algorithm

2017-07-17 Thread Joel Stanley
On Mon, Jul 17, 2017 at 11:41 PM, Greg KH wrote: > On Mon, Jul 10, 2017 at 01:37:56PM -0500, Eddie James wrote: >> From: "Edward A. James" >> >> This series adds an algorithm for an I2C master physically located on an FSI >> slave device. The I2C

[PATCH v2 0/5] arm64: dts: add rk3399 display-related nodes

2017-07-17 Thread Jacob Chen
This series patches add the display-related nodes for rk3399. Tested with kernel base on drm-misc and below patches. https://cgit.freedesktop.org/drm/drm-misc/ "drm: bridge: synopsys/dw-hdmi: Provide default configuration function for HDMI 2.0 PHY" "iommu/rockchip: Enable Rockchip IOMMU on

Re: [RESEND,PATCH v4 3/3] crypto : stm32 - Add STM32F4 CRC32 support

2017-07-17 Thread Lionel DEBIEVE
Hi Cosar, - ret = crypto_register_shashes(algs, ARRAY_SIZE(algs)); + /* For F4 series only CRC32 algorithm will be used */ + if (of_device_is_compatible(crc->dev->of_node, "st,stm32f4-crc")) + algs_size = 1; + else + algs_size =

Re: [PATCH 1/5] iommu/arm-smmu-v3: put off the execution of TLBI* to reduce lock confliction

2017-07-17 Thread Jonathan Cameron
On Mon, 17 Jul 2017 14:06:42 +0100 John Garry wrote: > + > > On 29/06/2017 03:08, Leizhen (ThunderTown) wrote: > > > > > > On 2017/6/28 17:32, Will Deacon wrote: > >> Hi Zhen Lei, > >> > >> Nate (CC'd), Robin and I have been working on something very similar to > >>

Re: [PATCH 6/7] staging: fsl-mc: rewrite mc command send/receive to work on 32-bits

2017-07-17 Thread Laurentiu Tudor
Hi Arnd, On 07/17/2017 04:45 PM, Arnd Bergmann wrote: > On Mon, Jul 17, 2017 at 3:26 PM, wrote: >> From: Laurentiu Tudor >> >> Split the 64-bit accesses in 32-bit accesses because there's no real >> constrain in MC to do only atomic 64-bit.

Re: What differences and relations between SVM, HSA, HMM and Unified Memory?

2017-07-17 Thread Jerome Glisse
On Mon, Jul 17, 2017 at 07:57:23PM +0800, Yisheng Xie wrote: > Hi Jean-Philippe, > > On 2017/6/12 19:37, Jean-Philippe Brucker wrote: > > Hello, > > > > On 10/06/17 05:06, Wuzongyong (Cordius Wu, Euler Dept) wrote: > >> Hi, > >> > >> Could someone explain differences and relations between the

Re: [PATCH 2/4] firwmare: enable a debug print for batched requests

2017-07-17 Thread Greg KH
On Sat, Jul 15, 2017 at 02:18:51PM -0700, Luis R. Rodriguez wrote: > Otherwise there is no easy way this actually happened. > > Signed-off-by: Luis R. Rodriguez You misspelled "firmware" in the subject :(

[PATCH v4 4/6] drivers/i2c: Add I2C master locking to FSI algorithm

2017-07-17 Thread Eddie James
From: "Edward A. James" Since there are many ports per master, each with it's own adapter and chardev, we need some locking to prevent transfers from changing the\ master state while other transfers are in progress. Signed-off-by: Edward A. James ---

[PATCH v4 1/6] drivers/i2c: Add FSI-attached I2C master algorithm

2017-07-17 Thread Eddie James
From: "Edward A. James" Add register definitions for FSI-attached I2C master and functions to access those registers over FSI. Add an FSI driver so that our I2C bus is probed up during an FSI scan. Signed-off-by: Edward A. James ---

[PATCH v4 5/6] drivers/i2c: Add bus recovery for FSI algorithm

2017-07-17 Thread Eddie James
From: "Edward A. James" Bus recovery should reset the engine and force clock the bus 9 times to recover most situations. Signed-off-by: Edward A. James --- drivers/i2c/busses/i2c-fsi.c | 75 1 file changed,

[PATCH v4 0/6] drivers/i2c: Add FSI-attached I2C master algorithm

2017-07-17 Thread Eddie James
From: "Edward A. James" This series adds an algorithm for an I2C master physically located on an FSI slave device. The I2C master has multiple ports, each of which may be connected to an I2C slave. Access to the I2C master registers is achieved over FSI bus. Due to the

Re: [PATCH] thermal: tegra: delete unneeded of_node_put

2017-07-17 Thread Julia Lawall
On Mon, 17 Jul 2017, Jon Hunter wrote: > > On 15/07/17 09:42, Julia Lawall wrote: > > Device node iterators perform an of_node_put on each iteration, so putting > > an of_node_put before a continue results in a double put. > > > > The semantic match that finds this problem is as follows > >

Re: [PATCH RESEND] pty: show associative slave of ptmx in fdinfo

2017-07-17 Thread Greg KH
On Thu, Jul 13, 2017 at 04:34:37AM +0900, Masatake YAMATO wrote: > This patch adds "tty-index" field to /proc/PID/fdinfo/N if N > specifies /dev/ptmx. The field shows the index of associative > slave pts. > > Though a minor number is given for each pts instance, ptmx is not. > It means there is

[BUG] drivers: staging: comedi: do not call blocking ops when !TASK_RUNNING; state=1

2017-07-17 Thread Piotr Gregor
Calling blocking operations from wrong context. Kernel: Linux piotrpc 4.4.70-rt83 #1 SMP PREEMPT RT Thu Jul 13 08:42:02 BST 2017 x86_64 GNU/Linux [ 80.542018] NOHZ: local_softirq_pending 80 [ 125.175471] [ cut here ] [ 125.175491] WARNING: CPU: 0 PID: 1497 at

Re: [PATCHSET for-4.13] cgroup: implement cgroup2 thread mode, v3

2017-07-17 Thread Waiman Long
On 07/16/2017 10:07 PM, Tejun Heo wrote: > Hello, > > This is v3 of cgroup2 thread mode patchset. The changes from v2[L] > are > > * Switched to marking each cgroup threaded instead of doing it > per-subtree as suggested by PeterZ. This allows more flexibility > and removes certain interface

Re: [PATCH resend] checkpatch: Replace __init_refok by __refconst and __refdata

2017-07-17 Thread Joe Perches
On Mon, 2017-07-17 at 15:42 +0200, Geert Uytterhoeven wrote: > As of commit bd721ea73e1f9655 ("treewide: replace obsolete _refok by > __ref"), __init_refok no longer exists, so it can be removed. > While at it, add the modern variants that were still missing. Maybe nicer to add some phrase like

RE: [PATCH V2] kernel/watchdog: fix spurious hard lockups

2017-07-17 Thread Thomas Gleixner
On Mon, 17 Jul 2017, Liang, Kan wrote: > > > > > According to our test, only patch 3 works well. > > > > > The other two patches will hang the system eventually. > > > > Hang the system eventually? Does that mean that the system stops working > > and the watchdog does not catch the problem? > >

[RFC PATCH v3] irqchip: Add support for tango interrupt router

2017-07-17 Thread Mason
This controller maps 128 input lines to 24 output lines. The output lines are routed to GIC SPI 0 to 23. This driver muxes LEVEL_HIGH IRQs onto output line 0, and gives every EDGE_RISING IRQ a dedicated output line. --- I think the driver is mostly finished. It works without errors for my basic

[PATCH] ARM64: dts: fixup libretech cc definition

2017-07-17 Thread Jerome Brunet
The libretech CC derives less from the p212 than initially thought. Several voltage regulators are different and the capabilities of the sdcard and emmc also differ. Deriving from the p212 is not convient anymore so the libretech is now derived from s905x definition directly. Fixes: cd84aff1d981

[PATCH v3] clk: qcom: clk-smd-rpm: Fix the reported rate of branches

2017-07-17 Thread Georgi Djakov
As there is no way to actually query the hardware for the current clock rate, now racalc_rate() just returns the last rate that was previously set. But if the rate was not set yet, we return the bogus rate of 1000Hz. The branch clocks have the same rate as their parent, so in this case we just

[PATCH RESEND] ARM64: dts: meson-gxl-s905x-libretech-cc: fixup board definition

2017-07-17 Thread Jerome Brunet
The libretech CC derives less from the p212 than initially thought. Several voltage regulators are different and the capabilities of the sdcard and emmc also differ. Deriving from the p212 is not convient anymore so the libretech is now derived from s905x definition directly. Fixes: cd84aff1d981

Re: [PATCH][next] ubifs: fix uninitialized error variable err

2017-07-17 Thread Richard Weinberger
Colin, Am 17.07.2017 um 18:00 schrieb Colin King: > From: Colin Ian King > > Variable err is not initialized and so the check to see if it is > non-zero is basically checking a random garbage value. Fix this > by initializing err to zero. > > Detected by CoverityScan,

Applied "spi: pxa2xx: Only claim CS GPIOs when the slave device is created" to the spi tree

2017-07-17 Thread Mark Brown
The patch spi: pxa2xx: Only claim CS GPIOs when the slave device is created 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

Applied "ASoC: samsung: Remove non-existing CONFIG_CPU_S3C2413" to the asoc tree

2017-07-17 Thread Mark Brown
The patch ASoC: samsung: Remove non-existing CONFIG_CPU_S3C2413 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

Applied "spi: loopback-test: provide loop_req option." to the spi tree

2017-07-17 Thread Mark Brown
The patch spi: loopback-test: provide loop_req option. 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

[RESEND RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre Torgue
Initially each pin was declared in "include/dt-bindings/stm32f429-pinfunc.h" and each definition contained SOC names (ex: STM32F429_PA9_FUNC_USART1_TX). Since this approach was approved, the number of supported MCU has increased (STM32F429/STM32F469/STM32f746/STM32H743). To avoid to add a new file

[RESEND RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre Torgue
From: Alexandre TORGUE Initially each pin was declared in "include/dt-bindings/stm32f429-pinfunc.h" and each definition contained SOC names (ex: STM32F429_PA9_FUNC_USART1_TX). Since this approach was approved, the number of supported MCU has increased

Re: [PATCH net] jhash: fix -Wimplicit-fallthrough warnings

2017-07-17 Thread David Miller
From: Jakub Kicinski Date: Fri, 14 Jul 2017 23:03:49 -0700 > GCC 7 added a new -Wimplicit-fallthrough warning. It's only enabled > with W=1, but since linux/jhash.h is included in over hundred places > (including other global headers) it seems worthwhile fixing

Re: [PATCH] ASoC: rsnd: remove unnecessary static in rsnd_ssiu_probe()

2017-07-17 Thread Joe Perches
On Mon, 2017-07-17 at 10:30 -0500, Gustavo A. R. Silva wrote: > Remove unnecessary static on local variable ops. > Such variable is initialized before being used, > on every execution path throughout the function. > The static has no benefit and, removing it reduces > the code size. [] > In the

[PATCHv5 0/3] Add Altera I2C Controller Driver

2017-07-17 Thread thor . thayer
From: Thor Thayer This patch series adds the Altera I2C Controller driver for use in FPGAs. This version includes cleanup and a bug fix noticed by the Linux community. Thor Thayer (3): MAINTAINERS: Add Altera I2C Controller Driver dt-bindings: i2c: Add Altera

[PATCHv5 2/3] dt-bindings: i2c: Add Altera I2C Controller

2017-07-17 Thread thor . thayer
From: Thor Thayer Add the documentation to support the Altera synthesizable logic I2C Controller in FPGA. Signed-off-by: Thor Thayer Acked-by: Rob Herring --- v2 Change the subject to identify dt-bindings Add

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