Re: [PATCH 4.4 00/28] 4.4.99-stable review

2017-11-16 Thread Guenter Roeck
On 11/16/2017 09:42 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.99 release. There are 28 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH 4.9 00/39] 4.9.63-stable review

2017-11-16 Thread Guenter Roeck
On 11/16/2017 09:42 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.63 release. There are 39 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [alsa-devel] [PATCH v2 03/14] soundwire: Add Master registration

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 05:30:24PM +, Mark Brown wrote: > On Thu, Nov 16, 2017 at 10:19:44PM +0530, Vinod Koul wrote: > > On Thu, Nov 16, 2017 at 04:05:22PM +, Srinivas Kandagatla wrote: > > > > >+*bus->assigned = ~GENMASK(SDW_BROADCAST_DEV_NUM, > > > >SDW_ENUM_DEV_NUM); > > > >

Re: [PATCH 4.13 00/44] 4.13.14-stable review

2017-11-16 Thread Guenter Roeck
On 11/16/2017 09:42 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.13.14 release. There are 44 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: HiKey boot hangs with Linus' HEAD due to coresight dts changes?

2017-11-16 Thread Leo Yan
Hi John, On Thu, Nov 16, 2017 at 05:58:54PM -0800, John Stultz wrote: > On Thu, Nov 16, 2017 at 5:54 PM, John Stultz wrote: > > Testing with Linus' HEAD today on the HiKey board, I started seeing boot > > hangs: > > ... > > > > [0.677971] Serial: AMBA PL011 UART driver > > [0.694299] pst

[PATCH] quota: propagate error from __dquot_initialize

2017-11-16 Thread Chao Yu
In commit 6184fc0b8dd7 ("quota: Propagate error from ->acquire_dquot()"), we have propagated error from __dquot_initialize to caller, but we forgot to handle such error in add_dquot_ref(), so, currently, during quota accounting information initialization flow, if we failed for some of inodes, we ju

[PATCH 0/2 v3] dmaengine: rcar-dmac: use TCRB instead of TCR

2017-11-16 Thread Kuninori Morimoto
Hi Vinod Cc Geert, Laurent These are v3 of dmaengine fixup for Renesas SoC. Main diffs are fixup typo Kuninori Morimoto (2): dmaengine: rcar-dmac: ensure CHCR DE bit is actually 0 after clearing dmaengine: rcar-dmac: use TCRB instead of TCR for residue drivers/dma/sh/rcar-dmac.c | 44 +

[PATCH 2/2 v3] dmaengine: rcar-dmac: use TCRB instead of TCR for residue

2017-11-16 Thread Kuninori Morimoto
From: Kuninori Morimoto SYS/RT/Audio DMAC includes independent data buffers for reading and writing. Therefore, the read transfer counter and write transfer counter have different values. TCR indicates read counter, and TCRB indicates write counter. The relationship is like below.

[PATCH 1/2 v3] dmaengine: rcar-dmac: ensure CHCR DE bit is actually 0 after clearing

2017-11-16 Thread Kuninori Morimoto
From: Kuninori Morimoto DMAC reads data from source device, and buffered it until transferable size for sink device. Because of this behavior, DMAC is including buffered data . Now, CHCR DE bit is controlling DMA transfer enable/disable. If DE bit was cleared during data transferring, or during

Re: [PATCH] quota: be aware of error from dquot_initialize

2017-11-16 Thread Chao Yu
On 2017/11/14 17:24, Jan Kara wrote: > On Tue 14-11-17 11:43:49, Chao Yu wrote: >> On 2017/11/13 17:18, Jan Kara wrote: >>> On Mon 13-11-17 11:31:48, Chao Yu wrote: Commit 6184fc0b8dd7 ("quota: Propagate error from ->acquire_dquot()") missed to handle error from dquot_initialize in dquot_

Re: [PATCH] drivers: base: cacheinfo: support DT overrides for cache type

2017-11-16 Thread Tan Xiaojun
On 2017/11/16 23:23, Sudeep Holla wrote: > > > On 16/11/17 12:58, Tan Xiaojun wrote: >> Since commit dfea747d2aba ("drivers: base: cacheinfo: support DT >> overrides for cache properties"), we can set the correct cacheinfo >> via DT. But the cache type can't be set in the same way. >> >> I found

Re: [PATCH RESEND v10 00/10] Application Data Integrity feature introduced by SPARC M7

2017-11-16 Thread Anthony Yznaga
> On Nov 16, 2017, at 6:38 AM, Khalid Aziz wrote: > > Changelog v10: > > - Patch 1/10: Updated si_codes definitions for SEGV to match 4.14 > - Patch 2/10: No changes > - Patch 3/10: Updated copyright > - Patch 4/10: No changes > - Patch 5/10: No changes > - P

RE: [PATCH V4 1/8] perf/x86/intel/uncore: customized event_read for client IMC uncore

2017-11-16 Thread Liang, Kan
Hi Thomas, Any comments for this patch series? Thanks, Kan > > From: Kan Liang > > There are two free running counters for client IMC uncore. The custom > event_init() function hardcode their index to 'UNCORE_PMC_IDX_FIXED' and > 'UNCORE_PMC_IDX_FIXED + 1'. To support the 'UNCORE_PMC_IDX_FIXE

Re: [PATCH v3 1/2] dt: bindings: lm3692x: Add bindings for lm3692x LED driver

2017-11-16 Thread Jingoo Han
On Thursday, November 16, 2017 4:42 PM, Dan Murphy wrote: > > Jacek > > On 11/16/2017 02:14 PM, Jacek Anaszewski wrote: > > Hi Dan and Pavel, > > > > On 11/15/2017 11:23 PM, Pavel Machek wrote: > >> Hi! > >> > Shouldn't the driver be targeted for backlight subsystem then? > > Addin

[lkp-robot] [lib/rbtree] c21f87074d: WARNING:at_kernel/events/core.c:#perf_swevent_add

2017-11-16 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-6): commit: c21f87074dc24c9e5a13dc63918b2d30891d190f ("lib/rbtree-test: lower default params") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -

Re: [PATCH] llist: Put parentheses around parameters of llist_for_each_entry_safe()

2017-11-16 Thread Byungchul Park
On Tue, Sep 26, 2017 at 03:54:51PM +0900, Byungchul Park wrote: > It would be somewhat safer to put parentheses around parameters of > a macro with parameters. Put it. Hello Ingo and Peter, Even though Huang said this change is unnecessary, I'm curious about what you think about this fix. As Hua

[git pull] vfs.git compat and uaccess

2017-11-16 Thread Al Viro
{get,put}_compat_sigset() series + assorted compat ioctl stuff + more set_fs() elimination + a few more timespec64 conversions + several removals of pointless access_ok() in places where it was followed only by non-__ variants of primitives. One conflict (in drivers/staging/pi433);

Re: [PATCH] arm64: cpu_errata: Add Kryo to Falkor 1003 errata

2017-11-16 Thread Stephen Boyd
On 11/14, Stephen Boyd wrote: > On 11/10, Catalin Marinas wrote: > > On Wed, Nov 08, 2017 at 11:00:29AM -0800, Stephen Boyd wrote: > > > The Kryo CPUs are also affected by the Falkor 1003 errata, so > > > we need to do the same workaround on Kryo CPUs. The MIDR is > > > slightly more complicated he

Re: [PATCH] of: Document exactly what of_find_node_by_name() puts

2017-11-16 Thread Stephen Boyd
On 11/10, Randy Dunlap wrote: > On 11/10/2017 05:45 PM, Stephen Boyd wrote: > > It isn't clear if this function of_node_put()s the 'from' > > argument, or the node it finds in the search. Clearly indicate > > which variable is touched. > > > > Signed-off-by: Stephen Boyd > > --- > > drivers/of/b

Re: [PATCH v4] dma-debug: fix incorrect pfn calculation

2017-11-16 Thread Andrew Morton
On Fri, 17 Nov 2017 09:23:18 +0800 Miles Chen wrote: > On Thu, 2017-11-16 at 16:13 -0800, Andrew Morton wrote: > > On Fri, 17 Nov 2017 06:56:12 +0800 wrote: > > > > > From: Miles Chen > > > > > > dma-debug reports the following warning: > > > > > > [name:panic&]WARNING: CPU: 3 PID: 298 at ke

[PATCH] virto_net: remove empty file 'virtio_net.'

2017-11-16 Thread Joel Stanley
Looks like this was mistakenly added to the tree as part of commit 186b3c998c50 ("virtio-net: support XDP_REDIRECT"). Signed-off-by: Joel Stanley --- drivers/net/virtio_net. | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 drivers/net/virtio_net. diff --git a/drivers/net

[git pull] vfs.git iov_iter

2017-11-16 Thread Al Viro
* bio_{map,copy}_user_iov() series; those are cleanups - fixes from the same pile went into mainline (and stable) in late September. * fs/iomap.c iov_iter-related fixes * new primitive - iov_iter_for_each_range(); apply a function to kernel-mapped segments of an iov_iter. U

Re: [PATCH] f2fs: let f2fs also gc atomic file to avoid loop gc

2017-11-16 Thread Chao Yu
On 2017/11/17 8:58, Yunlong Song wrote: > Is there any problem if just deleting the judgement condition in this patch? IIRC, dirty node comes from data segment GC can be writebacked & flushed during atomic commit, but related data will still be in inner bio cache, after later SPOR, data would be i

Re: [PATCH v7 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-11-16 Thread Brendan Higgins
Sorry for the delay. I thought all of the comments were straightforward, but there are a couple which need some further discussion. On Fri, Oct 20, 2017 at 12:45 PM, Rob Herring wrote: > On Thu, Oct 19, 2017 at 5:50 PM, Brendan Higgins > wrote: >> Add a common device tree for all Nuvoton NPCM750

Re: [PATCH 1/2] x86,kvm: move qemu/guest FPU switching out to vcpu_run

2017-11-16 Thread Quan Xu
On 2017-11-17 01:50, Paolo Bonzini wrote: On 16/11/2017 15:28, Quan Xu wrote: vcpu->srcu_idx = srcu_read_lock(&kvm->srcu); + kvm_load_guest_fpu(vcpu); + for (;;) { if (kvm_vcpu_running(vcpu)) { r = vcpu_enter_guest(vcpu); <<   as

Re: [PATCH] virto_net: remove empty file 'virtio_net.'

2017-11-16 Thread Jason Wang
On 2017年11月17日 10:46, Joel Stanley wrote: Looks like this was mistakenly added to the tree as part of commit 186b3c998c50 ("virtio-net: support XDP_REDIRECT"). Signed-off-by: Joel Stanley --- drivers/net/virtio_net. | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644

[git pull] vfs.git get_user_pages_fast() conversion

2017-11-16 Thread Al Viro
A bunch of places switched to get_user_pages_fast(). The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.get_u

[git pull] vfs.git work.misc

2017-11-16 Thread Al Viro
Assorted stuff, really no common topic here. The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.misc for you

Re: [PATCH] f2fs: let f2fs also gc atomic file to avoid loop gc

2017-11-16 Thread Yunlong Song
The atomic commit will trigger: -f2fs_do_sync_file(filp, 0, LLONG_MAX, 0, true) -file_write_and_wait_range(file, 0, LLONG_MAX) -fsync_node_pages -__write_node_page -REQ_PREFLUSH | REQ_FUA So data is flushed to non-volatile before last node write wi

[git pull] vfs.git cramfs series

2017-11-16 Thread Al Viro
Nicolas Pitre cramfs work. The following changes since commit 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f: Linux 4.14-rc4 (2017-10-08 20:53:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.cramfs for you to fetch changes

[PATCH] mm/shmem: set default tmpfs size according to memcg limit

2017-11-16 Thread Yafang Shao
Currently the default tmpfs size is totalram_pages / 2 if mount tmpfs without "-o size=XXX". When we mount tmpfs in a container(i.e. docker), it is also totalram_pages / 2 regardless of the memory limit on this container. That may easily cause OOM if tmpfs occupied too much memory when swap is off.

Re: [PATCH] f2fs: let f2fs also gc atomic file to avoid loop gc

2017-11-16 Thread Chao Yu
On 2017/11/17 11:04, Yunlong Song wrote: > The atomic commit will trigger: > -f2fs_do_sync_file(filp, 0, LLONG_MAX, 0, true) > -file_write_and_wait_range(file, 0, LLONG_MAX) > -fsync_node_pages > -__write_node_page > -REQ_PREFLUSH | REQ_FUA > >

Re: [PATCH] f2fs: let f2fs also gc atomic file to avoid loop gc

2017-11-16 Thread Yunlong Song
How about add file_write_and_wait_range in __write_node_page as following: if (atomic && !test_opt(sbi, NOBARRIER)) { file_write_and_wait_range(file, 0, LLONG_MAX); fio.op_flags |= REQ_PREFLUSH | REQ_FUA; } The all the GCed data will be flushed to non-volatile before last node write with

Re: [HMM-v25 19/19] mm/hmm: add new helper to hotplug CDM memory region v3

2017-11-16 Thread chetan L
On Fri, Sep 8, 2017 at 1:43 PM, Dan Williams wrote: > On Thu, Sep 7, 2017 at 6:59 PM, Bob Liu wrote: >> On 2017/9/8 1:27, Jerome Glisse wrote: > [..] >>> No this are 2 orthogonal thing, they do not conflict with each others quite >>> the contrary. HMM (the CDM part is no different) is a set of he

Re: [PATCH v2 02/14] soundwire: Add SoundWire bus type

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 05:24:37PM +, Mark Brown wrote: > On Thu, Nov 16, 2017 at 10:32:21PM +0530, Vinod Koul wrote: > > On Thu, Nov 16, 2017 at 04:05:17PM +, Srinivas Kandagatla wrote: > > > > >+static const struct sdw_device_id * > > > >+sdw_get_device_id(struct sdw_slave *slave, struct

Re: [PATCH v7 02/13] dt-bindings: Add SLIMbus bindings

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 01:40:13PM +, Srinivas Kandagatla wrote: > Thanks for the review comments. > > On 16/11/17 13:09, Vinod Koul wrote: > >On Wed, Nov 15, 2017 at 02:10:32PM +, srinivas.kandaga...@linaro.org > >wrote: > >>From: Sagar Dharia > > > >>+ > >>+Child nodes: > >>+Every SLIM

Re: linux-next: build warning after merge of the akpm-current tree

2017-11-16 Thread Stephen Rothwell
Hi all, On Fri, 17 Nov 2017 09:44:39 +1100 Stephen Rothwell wrote: > > On Mon, 13 Nov 2017 12:43:08 +0100 Arnd Bergmann wrote: > > > > On Mon, Nov 13, 2017 at 9:09 AM, Michal Hocko wrote: > > > On Mon 13-11-17 16:42:06, Stephen Rothwell wrote: > > >> > > >> After merging the akpm-current

Re: [PATCH] regulator: tps65218: Add NULL test for devm_kzalloc call

2017-11-16 Thread Axel Lin
2017-11-16 19:23 GMT+08:00 Keerthy : > > > On Monday 13 November 2017 06:22 PM, Axel Lin wrote: >> Signed-off-by: Axel Lin > > One line commit message would be better than blank commit message. It's just too trivial and checkpatch does not complain.

[git pull] drm amdgpu-dc merge

2017-11-16 Thread Dave Airlie
Hi Linus, This is the pull request for the AMD DC (display code) layer which is a requirement to program the display engines on the new Vega and Raven based GPUs. It also contains support for all amdgpu supported GPUs (CIK, VI, Polaris), which you have to enable. It is also a kms atomic modesettin

Re: [PATCH 2/2] ASoC: fsl_asrc: constify some arrays

2017-11-16 Thread Nicolin Chen
On Thu, Nov 16, 2017 at 08:25:47AM -0800, Joe Perches wrote: > Using const reduces data. > > $ size sound/soc/fsl/fsl_asrc.o* >text data bss dec hex filename > 21691 5872 192 277556c6b sound/soc/fsl/fsl_asrc.o.new > 21435 6128 192 2775

Re: [PATCH] regulator: tps65218: Add NULL test for devm_kzalloc call

2017-11-16 Thread Joe Perches
On Fri, 2017-11-17 at 11:58 +0800, Axel Lin wrote: > 2017-11-16 19:23 GMT+08:00 Keerthy : > > > > > > On Monday 13 November 2017 06:22 PM, Axel Lin wrote: > > > Signed-off-by: Axel Lin > > > > One line commit message would be better than blank commit message. > > It's just too trivial and chec

Re: [PATCH] platform/x86: dell-smbios-wmi: Disable userspace interface if missing hotfix

2017-11-16 Thread Mario.Limonciello
>Is this "hotfix" the same thing as "having the latest firmware >installed" ? >If so, making that clear in the dev_warn messages would be more useful >to the person reading the log. Yes, I'll modify and re-send.

[PATCH v2] platform/x86: dell-smbios-wmi: Disable userspace interface if missing hotfix

2017-11-16 Thread Mario Limonciello
The Dell SMBIOS WMI interface will fail for some more complex calls unless a WMI hotfix has been included. Most platforms have this fix available in a maintenance BIOS release. In the case the driver is loaded on a platform without this fix, disable the userspace interface. A hotfix indicator is

Re: [PATCH] virto_net: remove empty file 'virtio_net.'

2017-11-16 Thread Michael S. Tsirkin
On Fri, Nov 17, 2017 at 01:16:36PM +1030, Joel Stanley wrote: > Looks like this was mistakenly added to the tree as part of > commit 186b3c998c50 ("virtio-net: support XDP_REDIRECT"). > > Signed-off-by: Joel Stanley Acked-by: Michael S. Tsirkin > --- > drivers/net/virtio_net. | 0 > 1 file ch

Re: HiKey boot hangs with Linus' HEAD due to coresight dts changes?

2017-11-16 Thread John Stultz
On Thu, Nov 16, 2017 at 6:06 PM, Leo Yan wrote: > Hi John, > > On Thu, Nov 16, 2017 at 05:58:54PM -0800, John Stultz wrote: >> On Thu, Nov 16, 2017 at 5:54 PM, John Stultz wrote: >> > Testing with Linus' HEAD today on the HiKey board, I started seeing boot >> > hangs: >> > ... >> > >> > [0.6

Re: [RFC PATCH] blk-throttle: add burst allowance.

2017-11-16 Thread Khazhismel Kumykov
On Thu, Nov 16, 2017 at 8:50 AM, Shaohua Li wrote: > On Tue, Nov 14, 2017 at 03:10:22PM -0800, Khazhismel Kumykov wrote: >> Allows configuration additional bytes or ios before a throttle is >> triggered. >> >> This allows implementation of a bucket style rate-limit/throttle on a >> block device. P

Re: [PATCH] x86 / CPU: Always show current CPU frequency in /proc/cpuinfo

2017-11-16 Thread WANG Chao
On 11/16/17 at 02:54P, Rafael J. Wysocki wrote: > On Thursday, November 16, 2017 10:50:36 AM CET WANG Chao wrote: > > On 11/16/17 at 01:24P, Rafael J. Wysocki wrote: > > > On Wednesday, November 15, 2017 10:33:47 AM CET WANG Chao wrote: > > > > On 11/15/17 at 02:13P, Rafael J. Wysocki wrote: > > >

[PATCH V10 1/4] dma-mapping: Rework dma_get_cache_alignment()

2017-11-16 Thread Huacai Chen
Make dma_get_cache_alignment() to accept a 'dev' argument. As a result, it can return different alignments due to different devices' I/O cache coherency. Currently, ARM/ARM64 and MIPS support coherent & noncoherent devices co-exist. This may be extended in the future, so add a new function pointer

[PATCH V10 2/4] MIPS: Implement dma_map_ops::get_cache_alignment()

2017-11-16 Thread Huacai Chen
Currently, MIPS is an architecture which support coherent & noncoherent devices co-exist. So implement get_cache_alignment() function pointer in 'struct dma_map_ops' to return different dma alignments. Signed-off-by: Huacai Chen --- arch/mips/cavium-octeon/dma-octeon.c| 3 ++- arch/m

[PATCH V10 3/4] scsi: Align block queue to dma_get_cache_alignment()

2017-11-16 Thread Huacai Chen
In non-coherent DMA mode, kernel uses cache flushing operations to maintain I/O coherency, so scsi's block queue should be aligned to ARCH_DMA_MINALIGN. Otherwise, If a DMA buffer and a kernel structure share a same cache line, and if the kernel structure has dirty data, cache_invalidate (no writeb

[PATCH V10 4/4] libsas: Align sata_device's rps_resp on a cacheline

2017-11-16 Thread Huacai Chen
The rps_resp buffer in ata_device is a DMA target, but it isn't explicitly cacheline aligned. Due to this, adjacent fields can be overwritten with stale data from memory on non-coherent architectures. As a result, the kernel is sometimes unable to communicate with an SATA device behind a SAS expand

linux-next: Tree for Nov 17

2017-11-16 Thread Stephen Rothwell
Hi all, Please do not add any v4.16 material to your linux-next included trees until v4.15-rc1 has been released. Changes since 20171116: The vfs tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 3321 2505 files changed, 198683 insertions

Re: HiKey boot hangs with Linus' HEAD due to coresight dts changes?

2017-11-16 Thread Leo Yan
On Thu, Nov 16, 2017 at 08:15:15PM -0800, John Stultz wrote: > On Thu, Nov 16, 2017 at 6:06 PM, Leo Yan wrote: > > Hi John, > > > > On Thu, Nov 16, 2017 at 05:58:54PM -0800, John Stultz wrote: > >> On Thu, Nov 16, 2017 at 5:54 PM, John Stultz > >> wrote: > >> > Testing with Linus' HEAD today on

Re: [PATCH v7 04/13] slimbus: core: Add slim controllers support

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 05:29:35PM +, Srinivas Kandagatla wrote: > thanks for the comments. > > > On 16/11/17 16:42, Vinod Koul wrote: > >On Wed, Nov 15, 2017 at 02:10:34PM +, srinivas.kandaga...@linaro.org > >wrote: > > > >>+static void slim_dev_release(struct device *dev) > >>+{ > >>+

Re: [PATCH] mm/shmem: set default tmpfs size according to memcg limit

2017-11-16 Thread Shakeel Butt
On Thu, Nov 16, 2017 at 7:09 PM, Yafang Shao wrote: > Currently the default tmpfs size is totalram_pages / 2 if mount tmpfs > without "-o size=XXX". > When we mount tmpfs in a container(i.e. docker), it is also > totalram_pages / 2 regardless of the memory limit on this container. > That may easil

Re: [PATCH 0/7] Support for automatic checkpatch running in the kernel

2017-11-16 Thread Knut Omang
On Thu, 2017-11-16 at 14:57 -0800, Kees Cook wrote: > On Thu, Nov 16, 2017 at 9:01 AM, Knut Omang wrote: > > The most important checkpatch feature added is the --ignore-cfg feature, > > which > > takes a file argument and parses that file according to this minimal > > language: > > > >#

Towards 4.14 LTS

2017-11-16 Thread Tom Gall
At Linaro we’ve been putting effort into regularly running kernel tests over arm, arm64 and x86_64 targets. On those targets we’re running mainline, -next, 4.4, and 4.9 kernels and yes we are adding to this list as the hardware capacity grows. For test buckets we’re using just LTP, kselftest an

wlcore: wl18xx: Trouble suspending caused by wifi being enabled?

2017-11-16 Thread John Stultz
Hey Folks, So, for awhile recently, I've noticed my HiKey board (which uses the TI WL1835MOD chip for wifi) has had trouble when it tries to suspend. Basically it keeps on waking up while suspending, and then re-suspending over and over until it lucks out in whatever race is going on and manages

Re: [PATCH] rdma: Add Jason as a co-maintainer

2017-11-16 Thread Leon Romanovsky
On Thu, Nov 16, 2017 at 01:44:00PM -0700, Jason Gunthorpe wrote: > As was discussed in September and October, add Jason along with > Doug to have a team maintainership model for the RDMA subystem. > > Mellanox Technologies will be funding Jason's independent work on > the maintainership. > > Signed

Re: [lkp-robot] [fw_cfg] 05b5d5161b: WARNING:at_drivers/firmware/qemu_fw_cfg.c:#fw_cfg_dma_transfer

2017-11-16 Thread Ye Xiaolong
On 11/16, Michael S. Tsirkin wrote: >On Thu, Nov 16, 2017 at 08:58:13AM +0800, kernel test robot wrote: >> >> FYI, we noticed the following commit (built with gcc-6): >> >> commit: 05b5d5161b9e6c72e1d06f36614edbdbfe192cc7 ("fw_cfg: do DMA read >> operation") >> https://git.kernel.org/cgit/linux/

Re: [PATCH] virto_net: remove empty file 'virtio_net.'

2017-11-16 Thread David Miller
From: Jason Wang Date: Fri, 17 Nov 2017 10:55:44 +0800 > > > On 2017年11月17日 10:46, Joel Stanley wrote: >> Looks like this was mistakenly added to the tree as part of >> commit 186b3c998c50 ("virtio-net: support XDP_REDIRECT"). >> >> Signed-off-by: Joel Stanley >> --- >> drivers/net/virtio_ne

[PATCH 3/4] arm64: dts: uniphier: use macros in dt-bindings header

2017-11-16 Thread Masahiro Yamada
The dt-bindings header was applied to the driver subsystem. I had to wait for a merge window to use it from DT. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts | 2 +- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi| 3 ++- arch/arm64/boot/dts/socion

[PATCH 4/4] arm64: dts: uniphier: add GPIO hog definition for PXs3

2017-11-16 Thread Masahiro Yamada
Commit 15e85695e500 ("arm64: dts: uniphier: add GPIO hog definition") missed to update the PXs3 DTS for some reason. Do it now. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH 2/4] arm64: dts: uniphier: remove unnecessary interrupt-parent

2017-11-16 Thread Masahiro Yamada
These were added to make the ARM64 branch self-contained because updates for ARM and ARM64 are supposed to be sent as separate pull requests. Now, they were merged together in Linus' tree and interrupt-parent from the arch/arm/boot/dts/uniphier-support-card.dtsi is visible from ARM64 DT files by t

Re: [PATCH] drivers: base: cacheinfo: support DT overrides for cache type

2017-11-16 Thread Tan Xiaojun
On 2017/11/17 10:13, Tan Xiaojun wrote: > On 2017/11/16 23:23, Sudeep Holla wrote: >> >> >> On 16/11/17 12:58, Tan Xiaojun wrote: >>> Since commit dfea747d2aba ("drivers: base: cacheinfo: support DT >>> overrides for cache properties"), we can set the correct cacheinfo >>> via DT. But the cache typ

Re: [git pull] drm amdgpu-dc merge

2017-11-16 Thread Dave Airlie
gmail for some reason ate my email formatting, apparantly preediting in gedit, then pasting in here doesn't work so well. Dave. On 17 November 2017 at 14:05, Dave Airlie wrote: > Hi Linus, > > This is the pull request for the AMD DC (display code) layer which is > a requirement > to program the

[PATCH 1/4] ARM: dts: uniphier: use macros in dt-bindings header

2017-11-16 Thread Masahiro Yamada
The dt-bindings header was applied to the driver subsystem. I had to wait for a merge window to use it from DT. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ld4-ref.dts | 2 +- arch/arm/boot/dts/uniphier-ld4.dtsi | 2 ++ arch/arm/boot/dts/uniphier-ld6b-ref.dts | 2 +- arc

Re: [PATCH 10/13] x86/alternative: Support indirect call replacement

2017-11-16 Thread Juergen Gross
On 16/11/17 22:19, Josh Poimboeuf wrote: > On Wed, Oct 25, 2017 at 01:25:02PM +0200, Juergen Gross wrote: >> On 04/10/17 17:58, Josh Poimboeuf wrote: >>> Add alternative patching support for replacing an instruction with an >>> indirect call. This will be needed for the paravirt alternatives. >>>

Re: [PATCH] f2fs: let f2fs also gc atomic file to avoid loop gc

2017-11-16 Thread Chao Yu
On 2017/11/17 11:30, Yunlong Song wrote: > How about add file_write_and_wait_range in __write_node_page as following: > if (atomic && !test_opt(sbi, NOBARRIER)) { > file_write_and_wait_range(file, 0, LLONG_MAX); Nope, GCed encrypted data wouldn't be cached in inode page cache. I don't think

Re: [RFC v5 03/11] [media] vb2: add 'ordered_in_driver' property to queues

2017-11-16 Thread Alexandre Courbot
On Thursday, November 16, 2017 2:10:49 AM JST, Gustavo Padovan wrote: From: Gustavo Padovan We use ordered_in_driver property to optimize for the case where the driver can deliver the buffers in an ordered fashion. When it is ordered we can use the same fence context for all fences, but when it

RE: [PATCH 4.4 06/56] dt-bindings: clockgen: Add compatible string for LS1012A

2017-11-16 Thread Harninder Rai
> > No, not at all, if you want a patch in a specific stable tree, just email the > git > commit id to sta...@vger.kernel.org and let me know what > tree(s) it should be applied to. You can drop this patch. Thanks Greg > > thanks, > > greg k-h

Re: [PATCH v3 4/5] remoteproc: qcom: Introduce sysmon

2017-11-16 Thread Bjorn Andersson
On Thu 16 Nov 12:05 PST 2017, Chris Lew wrote: > > + req.event = SSCTL_SSR_EVENT_BEFORE_SHUTDOWN; > > Are there plans to add the other SSR events to sysmon notifiers? I think the > SSCTL service expects to receive events about remote procs starting as well. > We could easily add support here t

Re: [PATCH] Bluetooth: hci_serdev: Init hci_uart proto_lock to avoid oops

2017-11-16 Thread Marcel Holtmann
Hi Lukas, > John Stultz reports a boot time crash with the HiKey board (which uses > hci_serdev) occurring in hci_uart_tx_wakeup(). That function is > contained in hci_ldisc.c, but also called from the newer hci_serdev.c. > It acquires the proto_lock in struct hci_uart and it turns out that we >

Re: [PATCH v3 1/5] soc: qcom: Introduce QMI encoder/decoder

2017-11-16 Thread Bjorn Andersson
On Thu 16 Nov 04:10 PST 2017, Srinivas Kandagatla wrote: > On 15/11/17 20:10, Bjorn Andersson wrote: [..] > > diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig > > index b00bccddcd3b..91b70b170a82 100644 > > --- a/drivers/soc/qcom/Kconfig > > +++ b/drivers/soc/qcom/Kconfig > > @@ -35

Re: [PATCH v3 1/6] PM / core: Add LEAVE_SUSPENDED driver flag

2017-11-16 Thread Ulf Hansson
[...] >> > +++ linux-pm/include/linux/pm.h >> > @@ -559,6 +559,7 @@ struct pm_subsys_data { >> > * NEVER_SKIP: Do not skip system suspend/resume callbacks for the device. >> > * SMART_PREPARE: Check the return value of the driver's ->prepare >> > callback. >> > * SMART_SUSPEND: No need to r

Urgent Circuit Board Prototyping Service

2017-11-16 Thread Sammy
Hi , I haven't heard from you for a long time. How are things with you? Do you have new projects that need PCB? I really hope that we can have chance to make boards for you and I am sure you won't be disappointed. You may have many suppliers but we are glad to send our quotation for your referen

Re: [PATCH v3 2/5] soc: qcom: Introduce QMI helpers

2017-11-16 Thread Bjorn Andersson
On Thu 16 Nov 04:11 PST 2017, Srinivas Kandagatla wrote: > On 15/11/17 20:10, Bjorn Andersson wrote: [..] > > diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig > > index 91b70b170a82..9718f1c41e3d 100644 > > --- a/drivers/soc/qcom/Kconfig > > +++ b/drivers/soc/qcom/Kconfig > > @@ -37

Re: [PATCH V1 1/4] qcom: spmi-wled: Add support for qcom wled driver

2017-11-16 Thread kgunda
On 2017-11-16 22:25, Bjorn Andersson wrote: On Thu 16 Nov 04:18 PST 2017, Kiran Gunda wrote: WLED driver provides the interface to the display driver to adjust the brightness of the display backlight. Hi Kiran, This driver has a lot in common with the already upstream pm8941-wled.c, becau

Re: [PATCH] staging: comedi: ni_atmio: Handle return value of pnp_*

2017-11-16 Thread arvindY
hi, On Thursday 16 November 2017 07:27 PM, Ian Abbott wrote: On 16/11/17 04:32, Arvind Yadav wrote: pnp_irq() and pnp_port_start() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/staging/comedi/drivers/ni_atmio.c | 3 +++ 1 file changed, 3 insertio

Re: [PATCH] mm/shmem: set default tmpfs size according to memcg limit

2017-11-16 Thread Yafang Shao
2017-11-17 12:43 GMT+08:00 Shakeel Butt : > On Thu, Nov 16, 2017 at 7:09 PM, Yafang Shao wrote: >> Currently the default tmpfs size is totalram_pages / 2 if mount tmpfs >> without "-o size=XXX". >> When we mount tmpfs in a container(i.e. docker), it is also >> totalram_pages / 2 regardless of the

Re: [RFC v5 07/11] [media] vb2: add in-fence support to QBUF

2017-11-16 Thread Alexandre Courbot
Hi Gustavo, I am coming a bit late in this series' review, so apologies if some of my comments have already have been discussed in an earlier revision. On Thursday, November 16, 2017 2:10:53 AM JST, Gustavo Padovan wrote: From: Gustavo Padovan Receive in-fence from userspace and add support f

[PATCH] sched: use unsigned int for one-bit bitfield in sched_dl_entity

2017-11-16 Thread Xin Long
This patch is to fix the 'dubious one-bit signed bitfield' error reported by sparse, when using 'make C=2'. Fixes: 799ba82de01e ("sched/deadline: Use C bitfields for the state flags") Signed-off-by: Xin Long --- include/linux/sched.h | 8 1 file changed, 4 insertions(+), 4 deletions(-)

Re: [PATCH 02/13] x86/paravirt: Fix output constraint macro names

2017-11-16 Thread Juergen Gross
On 16/11/17 21:50, Josh Poimboeuf wrote: > On Wed, Oct 25, 2017 at 11:33:43AM +0200, Juergen Gross wrote: >> On 04/10/17 17:58, Josh Poimboeuf wrote: >>> Some of the paravirt '*_CLOBBERS' macros refer to output constraints >>> instead of clobbers, which makes the code extra confusing. Rename the >

Re: [PATCH] pinctrl: intel: save HOSTSW_OWN register over suspend/resume

2017-11-16 Thread Mika Westerberg
On Thu, Nov 16, 2017 at 09:27:51PM +0800, Chris Chiu wrote: > On Thu, Nov 16, 2017 at 8:44 PM, Mika Westerberg > wrote: > > On Wed, Nov 15, 2017 at 06:19:56PM +0800, Chris Chiu wrote: > >> Hi Mika, > >> I've confirmed with Asus and they said it's the latest BIOS for > >> shipment and verified

Re: [PATCH V1 1/4] qcom: spmi-wled: Add support for qcom wled driver

2017-11-16 Thread Bjorn Andersson
On Thu 16 Nov 22:36 PST 2017, kgu...@codeaurora.org wrote: > On 2017-11-16 22:25, Bjorn Andersson wrote: > > On Thu 16 Nov 04:18 PST 2017, Kiran Gunda wrote: > > > > > WLED driver provides the interface to the display driver to > > > adjust the brightness of the display backlight. > > > > > > >

Re: [RFC v5 08/11] [media] vb2: add videobuf2 dma-buf fence helpers

2017-11-16 Thread Alexandre Courbot
On Thursday, November 16, 2017 2:10:54 AM JST, Gustavo Padovan wrote: From: Javier Martinez Canillas Add a videobuf2-fence.h header file that contains different helpers for DMA buffer sharing explicit fence support in videobuf2. v2: - use fence context provided by the caller in vb2_fence_a

Re: [PATCH] mailbox: txdone_method shouldn't always be reset

2017-11-16 Thread Bjorn Andersson
On Thu 16 Nov 22:47 PST 2017, Jassi Brar wrote: > On 16 Nov 2017 23:12, "Bjorn Andersson" wrote: > On Thu 16 Nov 09:06 PST 2017, Jassi Brar wrote: > > diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c > > index 674b35f..95e480e 100644 > > --- a/drivers/mailbox/mailbox.c > > +++ b/

Re: [RFC 00/19] KVM: s390/crypto/vfio: guest dedicated crypto adapters

2017-11-16 Thread Pierre Morel
On 17/11/2017 00:35, Tony Krowiak wrote: On 11/16/2017 03:25 PM, Pierre Morel wrote: On 16/11/2017 18:03, Cornelia Huck wrote: On Thu, 16 Nov 2017 17:06:58 +0100 Pierre Morel wrote: On 16/11/2017 16:23, Tony Krowiak wrote: On 11/14/2017 08:57 AM, Cornelia Huck wrote: On Tue, 31 Oct 2017 15

Re: [alsa-devel] [PATCH v7 05/13] slimbus: core: add support to device tree helper

2017-11-16 Thread Vinod Koul
On Wed, Nov 15, 2017 at 02:10:35PM +, srinivas.kandaga...@linaro.org wrote: > + > + for_each_child_of_node(ctrl->dev->of_node, node) { > + struct slim_device *sbdev; > + struct slim_eaddr e_addr; > + const char *compat = NULL; > + int reg[2],

Re: [RFC v5 08/11] [media] vb2: add videobuf2 dma-buf fence helpers

2017-11-16 Thread Alexandre Courbot
On Friday, November 17, 2017 4:02:56 PM JST, Alexandre Courbot wrote: On Thursday, November 16, 2017 2:10:54 AM JST, Gustavo Padovan wrote: From: Javier Martinez Canillas Add a videobuf2-fence.h header file that contains different helpers for DMA buffer sharing explicit fence support in videob

[PATCH] kmemcheck: add scheduling point to kmemleak_scan

2017-11-16 Thread Yisheng Xie
kmemleak_scan will scan struct page for each node and it can be really large and resulting in a soft lockup. We have seen a soft lockup when do scan while compile kernel: [ 220.561051] watchdog: BUG: soft lockup - CPU#53 stuck for 22s! [bash:10287] [...] [ 220.753837] Call Trace: [ 220.7562

RE: [PATCH 12/16] nsproxy: convert nsproxy.count to refcount_t

2017-11-16 Thread Reshetova, Elena
> The middle of the merge window is the wrong time to send patches as > maintaner attention is going to making certain the merge goes smoothly > and nothing is missed. Sorry Eric, please feel free to ignore the patch until you have time. It is very difficult to figure out the correct time, since

Re: [RFC v5 09/11] [media] vb2: add infrastructure to support out-fences

2017-11-16 Thread Alexandre Courbot
On Thursday, November 16, 2017 2:10:55 AM JST, Gustavo Padovan wrote: From: Gustavo Padovan Add vb2_setup_out_fence() and the needed members to struct vb2_buffer. v3: - Do not hold yet another ref to the out_fence (Brian Starkey) v2: - change it to reflect fd_install at DQEVENT

Re: [PATCH 01/11] Initialize the mapping of KASan shadow memory

2017-11-16 Thread Liuwenliang (Abbott Liu)
On 16/11/17 22:41 Marc Zyngier [mailto:marc.zyng...@arm.com] wrote: >No, it doesn't. It cannot work, because Cortex-A9 predates the invention >of the 64bit accessor. I suspect that you are testing stuff in QEMU, >which is giving you a SW model that always supports LPAE. I suggest you >test this co

Re: [PATCH] kbuild: define KBUILD_MODNAME even if multiple modules share objects

2017-11-16 Thread Cao jin
On 11/16/2017 03:46 PM, Masahiro Yamada wrote: > Currently, KBUILD_MODNAME is defined only when $(modname) contains > just one word. If an object is shared between multiple modules, > undefined KBUILD_MODNAME causes a build error. > > A simple test case is as follows: > > obj-m += foo.o >

Re: [RFC v5 09/11] [media] vb2: add infrastructure to support out-fences

2017-11-16 Thread Alexandre Courbot
On Friday, November 17, 2017 4:19:00 PM JST, Alexandre Courbot wrote: On Thursday, November 16, 2017 2:10:55 AM JST, Gustavo Padovan wrote: From: Gustavo Padovan Add vb2_setup_out_fence() and the needed members to struct vb2_buffer. v3: - Do not hold yet another ref to the out_fence (

Re: [RFC PATCH 1/2] mm: introduce MAP_FIXED_SAFE

2017-11-16 Thread Florian Weimer
On 11/16/2017 11:18 AM, Michal Hocko wrote: + if (flags & MAP_FIXED_SAFE) { + struct vm_area_struct *vma = find_vma(mm, addr); + + if (vma && vma->vm_start <= addr) + return -ENOMEM; + } Could you pick a different error code which ca

Re: [PATCH 01/11] Initialize the mapping of KASan shadow memory

2017-11-16 Thread Christoffer Dall
On Fri, Nov 17, 2017 at 07:18:45AM +, Liuwenliang (Abbott Liu) wrote: > On 16/11/17 22:41 Marc Zyngier [mailto:marc.zyng...@arm.com] wrote: > >No, it doesn't. It cannot work, because Cortex-A9 predates the invention > >of the 64bit accessor. I suspect that you are testing stuff in QEMU, > >whi

Re: [RFC v5 10/11] [media] vb2: add out-fence support to QBUF

2017-11-16 Thread Alexandre Courbot
On Thursday, November 16, 2017 2:10:56 AM JST, Gustavo Padovan wrote: From: Gustavo Padovan If V4L2_BUF_FLAG_OUT_FENCE flag is present on the QBUF call we create an out_fence and send its fd to userspace on the fence_fd field as a return arg for the QBUF call. The fence is signaled on buffer_d

Re: [patch 1/7] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2017-11-16 Thread Philippe Ombredanne
On Thu, Nov 16, 2017 at 4:15 PM, Jonas Oberg wrote: > Hi, > >> One other thing that occurred to me is that documentation files, too, >> are copyrightable and should have license identifiers. > > Would it make sense to take an incremental approach to this? Get the > source code and identifiers work

<    4   5   6   7   8   9   10   >