Re: [PATCH 2/5] rhashtable: don't hold lock on first table throughout insertion.

2018-07-30 Thread NeilBrown
On Fri, Jul 27 2018, Paul E. McKenney wrote: > On Thu, Jul 26, 2018 at 08:18:15PM -0700, Paul E. McKenney wrote: >> On Fri, Jul 27, 2018 at 11:04:37AM +1000, NeilBrown wrote: >> > On Wed, Jul 25 2018, Paul E. McKenney wrote: >> > >> >> > >> Looks good ... except ... naming is hard. >> > >> >> >

Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask)

2018-07-30 Thread Guenter Roeck
havioral change, especially if and since the code worked just fine up to now. To reiterate, that particular side-effect was an unintentional oversight, and I was simply (un)lucky enough that none of the drivers I did test depended on that default mask. Sorry for the blip; please check whether it&#x

Re: [PATCH v3] Add BPF_SYNCHRONIZE_MAP_TO_MAP_REFERENCES bpf(2) command

2018-07-30 Thread Daniel Colascione
On Mon, Jul 30, 2018 at 5:45 PM, Jakub Kicinski wrote: > On Mon, 30 Jul 2018 17:33:39 -0700, Daniel Colascione wrote: >> On Mon, Jul 30, 2018 at 5:26 PM, Jakub Kicinski wrote: >> > On Mon, 30 Jul 2018 03:25:43 -0700, Daniel Colascione wrote: >> > > On Mon, Jul 30, 2018 at 3:04 AM, Daniel Borkmann

Re: [V9fs-developer] [PATCH 1/2] net/9p: embed fcall in req to round down buffer allocs

2018-07-30 Thread piaojun
Hi Dominique, This is really a *big* patch, but the modification seems no harm. And I suggest running testcases to cover this. Please see my comments below. On 2018/7/30 17:34, Dominique Martinet wrote: > From: Dominique Martinet > > 'msize' is often a power of two, or at least page-aligned, so

[PATCH RESEND] exec: don't force_sigsegv processes with a pending fatal signal

2018-07-30 Thread Ivan Delalande
We were seeing unexplained segfaults in coreutils processes and other basic utilities that we tracked down to binfmt_elf failing to load segments for ld.so. Digging further, the actual problem seems to occur when a process gets sigkilled while it is still being loaded by the kernel. In our case whe

Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]

2018-07-30 Thread Theodore Y. Ts'o
On Mon, Jul 30, 2018 at 04:58:49PM -0700, Matthew Wilcox wrote: > > Way to poison the well by calling it VMS-style error reporting! As I > understand it though, VMS reported errors in English with an error code > that could be looked up in The Wall of documentation. I'd see David's > proposal as

[QUESTION] llist: Comment releasing 'must delete' restriction before traversing

2018-07-30 Thread Byungchul Park
Hello folks, I'm careful in saying.. and curious about.. In restrictive cases like only addtions happen but never deletion, can't we safely traverse a llist? I believe llist can be more useful if we can release the restriction. Can't we? If yes, we may add another function traversing starting fr

Re: Linux 4.18-rc7

2018-07-30 Thread Linus Torvalds
On Mon, Jul 30, 2018 at 2:53 PM Hugh Dickins wrote: > > I have no problem with reverting -rc7's vma_is_anonymous() series. I don't think we need to revert the whole series: I think the rest are all fairly obvious cleanups, and shouldn't really have any semantic changes. It's literally only that

Re: [PATCH v5 1/3] tracing: kprobes: Prohibit probing on notrace function

2018-07-30 Thread Masami Hiramatsu
On Mon, 30 Jul 2018 18:40:10 -0400 Steven Rostedt wrote: > On Mon, 30 Jul 2018 19:20:14 +0900 > Masami Hiramatsu wrote: > > > Prohibit kprobe-events probing on notrace function. > > Since probing on the notrace function can cause recursive > > event call. In most case those are just skipped, bu

Re: [PATCH v2 11/11] mm,sched: conditionally skip lazy TLB mm refcounting

2018-07-30 Thread Rik van Riel
On Mon, 2018-07-30 at 18:26 +0200, Peter Zijlstra wrote: > > So for ARCH_NO_ACTIVE_MM we never touch ->active_mm and therefore > ->active_mm == ->mm. Close, but not true for kernel threads, which have a NULL ->mm, but a non-null ->active_mm that gets passed to enter_lazy_tlb(). I stuck to the s

Re: [V9fs-developer] [PATCH 1/2] net/9p: embed fcall in req to round down buffer allocs

2018-07-30 Thread Dominique Martinet
piaojun wrote on Tue, Jul 31, 2018: > This is really a *big* patch, but the modification seems no harm. And I > suggest running testcases to cover this. Please see my comments below. I'm always running tests, but more never hurt - please help ;) For reference I'm running a subset of cthon04[1], l

Problems with Zen under Xen and recent Linux kernel improvements

2018-07-30 Thread Adam Novak
Hello, I was advised to take this here, and to Boris Ostrovsky and Juergen Gross, by Thomas Gleixner. I am having some trouble with the new speculation control code that has been added to the Linux kernel, for AMD Zen CPUs. I am running an AMD Ryzen 7 1700, and I am running Linux as a Xen dom0 (w

Re: [V9fs-developer] [PATCH 2/2] net/9p: add a per-client fcall kmem_cache

2018-07-30 Thread piaojun
Hi Dominique, Could you help paste some test result before-and-after the patch applied? And I have a little suggestion in comments below. On 2018/7/30 17:34, Dominique Martinet wrote: > From: Dominique Martinet > > Having a specific cache for the fcall allocations helps speed up > allocations a

Re: [PATCH] mips:sgi-ip22:Check return value from kzalloc

2018-07-30 Thread Paul Burton
Hi Raghu, On Tue, Jul 17, 2018 at 05:11:45PM +0530, RAGHU Halharvi wrote: > Signed-off-by: RAGHU Halharvi > --- > arch/mips/sgi-ip22/ip22-gio.c | 2 ++ > 1 file changed, 2 insertions(+) You should write a commit message, even for trivial patches, which describes the motivation for the patch. Fo

Re: [V9fs-developer] [PATCH 1/2] net/9p: embed fcall in req to round down buffer allocs

2018-07-30 Thread piaojun
On 2018/7/31 9:12, Dominique Martinet wrote: > piaojun wrote on Tue, Jul 31, 2018: >> This is really a *big* patch, but the modification seems no harm. And I >> suggest running testcases to cover this. Please see my comments below. > > I'm always running tests, but more never hurt - please help

Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function

2018-07-30 Thread Agrawal, Akshu
On 7/30/2018 9:20 PM, Mark Brown wrote: > On Mon, Jul 30, 2018 at 05:32:21PM +0200, Takashi Iwai wrote: > >> That said, if delay callback of CPU dai provides the additional delay, >> the patch does correct thing. OTOH, if CPU dai provides the base >> delay instead, we need to clarify that it's

Re: [V9fs-developer] [PATCH 2/2] net/9p: add a per-client fcall kmem_cache

2018-07-30 Thread Dominique Martinet
piaojun wrote on Tue, Jul 31, 2018: > Could you help paste some test result before-and-after the patch applied? The only performance tests I did were sent to the list a couple of mails earlier, you can find it here: http://lkml.kernel.org/r/20180730093101.GA7894@nautica In particular, the results

Re: [QUESTION] llist: Comment releasing 'must delete' restriction before traversing

2018-07-30 Thread Huang, Ying
Byungchul Park writes: > Hello folks, > > I'm careful in saying.. and curious about.. > > In restrictive cases like only addtions happen but never deletion, can't > we safely traverse a llist? I believe llist can be more useful if we can > release the restriction. Can't we? > > If yes, we may add

[PATCH 1/2] fs/quota: Replace XQM_MAXQUOTAS usage with MAXQUOTAS

2018-07-30 Thread Jeremy Cline
XQM_MAXQUOTAS and MAXQUOTAS are, it appears, equivalent. Replace all usage of XQM_MAXQUOTAS and remove it along with the unused XQM_*QUOTA definitions. Signed-off-by: Jeremy Cline --- fs/quota/quota.c | 12 +--- include/linux/quota.h | 8 +--- include/uapi/lin

[PATCH 0/2] fs/quota: Fix potential spectre v1 gadgets

2018-07-30 Thread Jeremy Cline
Hi folks, This series unifies XQM_MAXQUOTAS with MAXQUOTAS, which were both being used to perform bounds checks on arrays, and then sanitizes 'type' so it can't be used in speculative out-of-bounds array access. Jeremy Cline (2): fs/quota: Replace XQM_MAXQUOTAS usage with MAXQUOTAS fs/quota:

[PATCH 2/2] fs/quota: Fix spectre gadget in do_quotactl

2018-07-30 Thread Jeremy Cline
'type' is user-controlled, so sanitize it after the bounds check to avoid using it in speculative execution. This covers the following potential gadgets detected with the help of smatch: * fs/ext4/super.c:5741 ext4_quota_read() warn: potential spectre issue 'sb_dqopt(sb)->files' [r] * fs/ext4/su

Re: [V9fs-developer] [PATCH 2/2] net/9p: add a per-client fcall kmem_cache

2018-07-30 Thread piaojun
On 2018/7/31 9:35, Dominique Martinet wrote: > piaojun wrote on Tue, Jul 31, 2018: >> Could you help paste some test result before-and-after the patch applied? > > The only performance tests I did were sent to the list a couple of mails > earlier, you can find it here: > http://lkml.kernel.org/

Re: [PATCH 0/3] introduce memory.oom.group

2018-07-30 Thread David Rientjes
On Mon, 30 Jul 2018, Roman Gushchin wrote: > This is a tiny implementation of cgroup-aware OOM killer, > which adds an ability to kill a cgroup as a single unit > and so guarantee the integrity of the workload. > > Although it has only a limited functionality in comparison > to what now resides i

Re: [LKP] [lkp-robot] [confidence: ] 7757d607c6 [ 56.996267] BUG: Bad page map in process trinity-c2 pte:0d755065 pmd:0d55b067

2018-07-30 Thread Ye Xiaolong
Hi, On 07/27, Joerg Roedel wrote: >Hey, > >thanks for the report! It did a lot of testing and the issue is fixed >now with this patch: > > > https://lore.kernel.org/lkml/1532533683-5988-4-git-send-email-j...@8bytes.org/ > >I did 2150 runs of your reproducer with the reproducer attached to t

Re: [LKP] [mm, oom] c1e4c54f9c: BUG:KASAN:null-ptr-deref_in_d

2018-07-30 Thread Rong Chen
On 07/30/2018 05:56 PM, Michal Hocko wrote: On Mon 30-07-18 17:03:20, kernel test robot wrote: [...] [9.034310] BUG: KASAN: null-ptr-deref in dump_header+0x10c/0x448 Could you faddr2line on the offset please? The result is: dump_header+0x10c/0x448: __read_once_size at include/linux/com

Re: [LKP] [mm, oom] c1e4c54f9c: BUG:KASAN:null-ptr-deref_in_d

2018-07-30 Thread David Rientjes
On Mon, 30 Jul 2018, Michal Hocko wrote: > On Mon 30-07-18 17:03:20, kernel test robot wrote: > [...] > > [9.034310] BUG: KASAN: null-ptr-deref in dump_header+0x10c/0x448 > > Could you faddr2line on the offset please? > It's possible that p is NULL when calling dump_header(). In this case

Richard & Angela Maxwell Congratulates You..

2018-07-30 Thread Richard & Angela Maxwell
My wife and I won the Euro Millions Lottery of 53 Million British Pounds and we have voluntarily decided to donate 1,000,000GBP(One Million British Pounds) to 5 individuals randomly as part of our own charity project. To verify our lottery winnings,please see our interview by visiting the web pa

Re: [PATCH 2/2] net/9p: add a per-client fcall kmem_cache

2018-07-30 Thread Matthew Wilcox
On Mon, Jul 30, 2018 at 11:34:23AM +0200, Dominique Martinet wrote: > -static int p9_fcall_alloc(struct p9_fcall *fc, int alloc_msize) > +static int p9_fcall_alloc(struct p9_client *c, struct p9_fcall *fc, > + int alloc_msize) > { > - fc->sdata = kmalloc(alloc_msize, GFP_

[PATCH V5] mmc: core: improve reasonableness of bus width setting for HS400es

2018-07-30 Thread Hongjie Fang
mmc_select_hs400es() calls mmc_select_bus_width() which will continue to set 4bit transfer mode if fail to set 8bit mode. The bus width should not be set to 4bit in HS400es. When fail to set 8bit mode, need return error directly for HS400es. Signed-off-by: Hongjie Fang --- drivers/mmc/core/mmc.

Re: [PATCH] MAINTAINERS: Add .clang-format entry

2018-07-30 Thread Jason Gunthorpe
On Mon, Jul 30, 2018 at 06:24:31PM +0200, Miguel Ojeda wrote: > As discussed in https://lkml.org/lkml/2018/6/25/877 > > Signed-off-by: Miguel Ojeda > --- > MAINTAINERS | 5 + > 1 file changed, 5 insertions(+) Thanks! Did you setup a tree? Can you take the patch I sent as well? Do you want m

linux-next: build failure after merge of the block tree

2018-07-30 Thread Stephen Rothwell
prepare/dif_complete functions to block layer") # CONFIG_BLK_DEV_INTEGRITY is not set CONFIG_BLK_DEV_SD=y I have used the block tree from next-20180730 for today. -- Cheers, Stephen Rothwell pgpjrOERVN37P.pgp Description: OpenPGP digital signature

[PATCH char-misc 1/1] Drivers: hv: vmbus: Make synic_initialized flag per-cpu

2018-07-30 Thread mhkelley58
From: Michael Kelley The synic_initialized flag is part of the global hv_context structure. But the Hyper-V synthetic interrupt controller is fundamentally a per-cpu device, and other synic related fields are in hv_per_cpu_context. In a multi-CPU system, synic_initialized gets set multiple time

答复: Re: [PATCH v2] sched/numa: do not balance tasks onto isolated cpus

2018-07-30 Thread cheng.lin130
>On Thu, Jul 26, 2018 at 04:19:08PM +0800, Cheng Lin wrote: >> -if (!cpumask_test_cpu(arg.dst_cpu, &arg.src_task->cpus_allowed)) >> +if ((!cpumask_test_cpu(arg.dst_cpu, &arg.src_task->cpus_allowed)) >> +|| !housekeeping_test_cpu(arg.dst_cpu, HK_FLAG_DOMAIN)) >> goto o

Re: [PATCH] selftests: membarrier: fix test by checking supported commands

2018-07-30 Thread Rafael David Tinoco
Hello Shuah, On Mon, Jul 30, 2018 at 05:32:30PM -0600, Shuah Khan wrote: > Hi Rafael, > > On 07/30/2018 10:05 AM, Rafael David Tinoco wrote: > > Makes membarrier_test compatible with older kernels (LTS) by checking if > > the membarrier features exist before running the tests. > > > > Link: https:

Re: [PATCH 7/9] irqchip: add a RISC-V PLIC driver

2018-07-30 Thread Atish Patra
On 7/27/18 5:04 PM, Atish Patra wrote: On 7/26/18 7:38 AM, Christoph Hellwig wrote: This patch adds a driver for the Platform Level Interrupt Controller (PLIC) specified as part of the RISC-V supervisor level ISA manual, in the memory layout implemented by SiFive and qemu. The PLIC connects glo

Re: Linux 4.18-rc7

2018-07-30 Thread Hugh Dickins
On Mon, 30 Jul 2018, Linus Torvalds wrote: > On Mon, Jul 30, 2018 at 2:53 PM Hugh Dickins wrote: > > > > I have no problem with reverting -rc7's vma_is_anonymous() series. > > I don't think we need to revert the whole series: I think the rest are > all fairly obvious cleanups, and shouldn't reall

Re: [PATCH mmc-next v2 3/3] mmc: sdhci-of-dwcmshc: solve 128MB DMA boundary limitation

2018-07-30 Thread Jisheng Zhang
Hi Robin, On Mon, 30 Jul 2018 12:06:08 +0100 Robin Murphy wrote: > Hi Jisheng, > > On 26/07/18 08:14, Jisheng Zhang wrote: > > When using DMA, if the DMA addr spans 128MB boundary, we have to split > > the DMA transfer into two so that each one doesn't exceed the boundary. > > Out of interest

Re: [PATCH 06/11] sched/irq: add irq utilization tracking

2018-07-30 Thread Wanpeng Li
On Tue, 31 Jul 2018 at 00:43, Vincent Guittot wrote: > > Hi Wanpeng, > > On Thu, 26 Jul 2018 at 05:09, Wanpeng Li wrote: > > > > Hi Vincent, > > On Fri, 29 Jun 2018 at 03:07, Vincent Guittot > > wrote: > > > > > > interrupt and steal time are the only remaining activities tracked by > > > rt_avg

Re: [PATCH 1/2] leds: core: Introduce LED pattern trigger

2018-07-30 Thread Bjorn Andersson
On Mon 30 Jul 05:29 PDT 2018, Baolin Wang wrote: > Some LED controllers have support for autonomously controlling > brightness over time, according to some preprogrammed pattern or > function. > > This patch adds pattern trigger that LED device can configure the > pattern and trigger it. > > Sig

[PATCH v7 4/6] Uprobes/sdt: Prevent multiple reference counter for same uprobe

2018-07-30 Thread Ravi Bangoria
We assume to have only one reference counter for one uprobe. Don't allow user to register multiple uprobes having same inode+offset but different reference counter. Signed-off-by: Ravi Bangoria --- kernel/events/uprobes.c | 9 + 1 file changed, 9 insertions(+) diff --git a/kernel/events

[PATCH v7 6/6] perf probe: Support SDT markers having reference counter (semaphore)

2018-07-30 Thread Ravi Bangoria
With this, perf buildid-cache will save SDT markers with reference counter in probe cache. Perf probe will be able to probe markers having reference counter. Ex, # readelf -n /tmp/tick | grep -A1 loop2 Name: loop2 ... Semaphore: 0x10020036 # ./perf buildid-cache --add /tmp/tic

[PATCH v7 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-07-30 Thread Ravi Bangoria
Userspace Statically Defined Tracepoints[1] are dtrace style markers inside userspace applications. Applications like PostgreSQL, MySQL, Pthread, Perl, Python, Java, Ruby, Node.js, libvirt, QEMU, glib etc have these markers embedded in them. These markers are added by developer at important places

[PATCH v7 2/6] Uprobe: Additional argument arch_uprobe to uprobe_write_opcode()

2018-07-30 Thread Ravi Bangoria
Add addition argument 'arch_uprobe' to uprobe_write_opcode(). We need this in later set of patches. Signed-off-by: Ravi Bangoria --- arch/arm/probes/uprobes/core.c | 2 +- arch/mips/kernel/uprobes.c | 2 +- include/linux/uprobes.h| 2 +- kernel/events/uprobes.c| 9 +

[PATCH v7 0/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-07-30 Thread Ravi Bangoria
v7 changes: - Don't allow both zero and non-zero reference counter offset at the same time. It's painful and error prone. - Don't call delayed_uprobe_install() if vma->vm_mm does not have any breakpoint installed. v6: https://lkml.org/lkml/2018/7/16/353 Description: Userspace Statically

[PATCH v7 5/6] trace_uprobe/sdt: Prevent multiple reference counter for same uprobe

2018-07-30 Thread Ravi Bangoria
We assume to have only one reference counter for one uprobe. Don't allow user to add multiple trace_uprobe entries having same inode+offset but different reference counter. Ex, # echo "p:sdt_tick/loop2 /home/ravi/tick:0x6e4(0x10036)" > uprobe_events # echo "p:sdt_tick/loop2_1 /home/ravi/tick:0

[PATCH v7 1/6] Uprobes: Simplify uprobe_register() body

2018-07-30 Thread Ravi Bangoria
Simplify uprobe_register() function body and let __uprobe_register() handle everything. Also move dependency functions around to fix build failures. Signed-off-by: Ravi Bangoria --- kernel/events/uprobes.c | 69 ++--- 1 file changed, 36 insertions(+),

Re: [PATCH] hwspinlock: Fix incorrect return pointers

2018-07-30 Thread Bjorn Andersson
On Mon 30 Jul 04:34 PDT 2018, Baolin Wang wrote: > Hi Bjorn, > > On 28 June 2018 at 10:32, Baolin Wang wrote: > > The commit 4f1acd758b08 ("hwspinlock: Add devm_xxx() APIs to request/free > > hwlock") introduces one bug, that will return one error pointer if failed > > to request one hwlock, but

Re: [PATCH] arch/x86: Fix boot_cpu_data.microcode version output

2018-07-30 Thread Borislav Petkov
On Mon, Jul 30, 2018 at 01:53:50PM -0400, Prarit Bhargava wrote: > I think this has to be > > boot_cpu_data.microcode = mc_amd->hdr.patch_id; Yes, it does. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --

Do you know how long we need to clean carbon? D92EA61E-DAC1-400F-A050-3730030563A3

2018-07-30 Thread kingkarcar...@sina.com
Dear, Do you know what is a HHO Carbon Cleaner ? We combine HHO carbon machine with HHO carbon cleaning. Thus achieving: 1. Reduce clean time, only 20 minutes. 2. Thoroughly clean the clean parts. 3. Cleaning effect increased by more than 30%. 4. Achieve the dual purpose of cleaning an

RE: [PATCH V2] x86/speculation: Support Enhanced IBRS on future CPUs

2018-07-30 Thread Prakhya, Sai Praneeth
> There is no reason not to use indentation and quotation marks in a changelog. > Squeezing it into square brackets does not really improve readability. > > From the specification [1]: > > "With enhanced IBRS, the predicted targets of indirect branches executed >cannot be controlled by sof

What is the best way for car care? B1A336FA-3326-49FF-9579-DDD500C851D3

2018-07-30 Thread arthur_king...@sina.com
Dear Manager, Are you interested in clean car through below way? 1. Clean one car just using 2 liters water, 2. Just using water for car cleaning, no chemical, 3. Killing car bacteria and bad smelling in the car, 4. 360o comprehensive cleaning car, include car interior and exter

Re: [PATCH] remoteproc: Reset table_ptr in rproc_start() failure paths

2018-07-30 Thread Bjorn Andersson
On Thu 26 Jul 18:15 PDT 2018, Suman Anna wrote: > Unwind the modified table_ptr and restore it to the local copy > upon any subsequent failures in the rproc_start() function. This > keeps the function to remain balanced on failures without the need > to balance any modified variables elsewhere. >

Re: [PATCH 34/38] vfs: syscall: Add fsinfo() to query filesystem information [ver #10]

2018-07-30 Thread Al Viro
On Fri, Jul 27, 2018 at 06:35:10PM +0100, David Howells wrote: > params->request indicates the attribute/attributes to be queried. This can > be one of: > > fsinfo_attr_statfs - statfs-style info > fsinfo_attr_fsinfo - Information about fsinfo() > fsinf

Re: [PATCH 2/2] net/9p: add a per-client fcall kmem_cache

2018-07-30 Thread Dominique Martinet
Matthew Wilcox wrote on Mon, Jul 30, 2018: > On Mon, Jul 30, 2018 at 11:34:23AM +0200, Dominique Martinet wrote: > > -static int p9_fcall_alloc(struct p9_fcall *fc, int alloc_msize) > > +static int p9_fcall_alloc(struct p9_client *c, struct p9_fcall *fc, > > + int alloc_msize) >

Re: [PATCH] remoteproc: qcom: fix Q6V5_WCSS dependencies

2018-07-30 Thread Bjorn Andersson
On Wed 18 Jul 04:16 PDT 2018, Arnd Bergmann wrote: > A new driver got added that depends on QCOM_SMD and fails to link > as built-in with CONFIG_QCOM_SMD=m: > > drivers/remoteproc/qcom_common.o: In function `smd_subdev_stop': > qcom_common.c:(.text+0x674): undefined reference to `qcom_smd_unregis

Re: [PATCH v0 3/4] drivers: edac: Add cache erp driver for Last Level Cache Controller (LLCC)

2018-07-30 Thread Borislav Petkov
On Mon, Jul 30, 2018 at 02:38:01PM -0700, vnkgu...@codeaurora.org wrote: > Do you mean the Signed-off-by lines above? That's because > Channagoud is the one who is the original author of this driver, > and I'm the one who did the incremental changes (changes in llcc) > and uploading it upstream. >

linux-next: manual merge of the kvms390 tree with the kvm-arm tree

2018-07-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvms390 tree got a conflict in: include/uapi/linux/kvm.h between commit: be26b3a73413 ("arm64: KVM: export the capability to set guest SError syndrome") from the kvm-arm tree and commit: a449938297e5 ("KVM: s390: Add huge page enablement control"

Re: Linux 4.18-rc7

2018-07-30 Thread John Stultz
On Mon, Jul 30, 2018 at 8:26 PM, Hugh Dickins wrote: > On Mon, 30 Jul 2018, Linus Torvalds wrote: >> On Mon, Jul 30, 2018 at 2:53 PM Hugh Dickins wrote: >> > >> > I have no problem with reverting -rc7's vma_is_anonymous() series. >> >> I don't think we need to revert the whole series: I think the

Re: [PATCH v7 1/4] remoteproc/davinci: use the reset framework

2018-07-30 Thread Bjorn Andersson
On Thu 21 Jun 00:37 PDT 2018, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Switch to using the reset framework instead of handcoded reset routines > we used so far. > > Signed-off-by: Bartosz Golaszewski > Reviewed-by: Sekhar Nori > Reviewed-by: Philipp Zabel Acked-by: Bjorn A

Re: [RFC] dmaengine: Add metadat_ops for dma_async_tx_descriptor

2018-07-30 Thread Vinod
On 30-07-18, 12:46, Peter Ujfalusi wrote: > Vinod, > > On 2018-07-24 14:14, Vinod wrote: > Clients must not mix the two way of handling the metadata. > The set_len() is intended to tell the DMA driver the client provided > metadata size (in MEM_TO_DEV case mostly). > > MEM

Re: [PATCH] timers: Clear must_forward_clk inside base lock

2018-07-30 Thread Kohli, Gaurav
Hi John, Thomas, Can you please review below patch and update your comments: Regards Gaurav On 7/26/2018 2:12 PM, Gaurav Kohli wrote: While migrating timer to new base, there is a need to update base clk by calling forward_timer_base to avoid stale clock , but at the same time if run_timer is

Re: [QUESTION] llist: Comment releasing 'must delete' restriction before traversing

2018-07-30 Thread Paul E. McKenney
On Tue, Jul 31, 2018 at 09:58:36AM +0900, Byungchul Park wrote: > Hello folks, > > I'm careful in saying.. and curious about.. > > In restrictive cases like only addtions happen but never deletion, can't > we safely traverse a llist? I believe llist can be more useful if we can > release the rest

Re: [PATCH v7 0/4] ARM: davinci: complete the conversion to using the reset framework

2018-07-30 Thread Bjorn Andersson
On Mon 02 Jul 05:08 PDT 2018, Sekhar Nori wrote: > Hi Bjorn, > > On Thursday 21 June 2018 05:11 PM, Bartosz Golaszewski wrote: > > 2018-06-21 12:52 GMT+02:00 Sekhar Nori : > >> Hi Bartosz, > >> > >> On Thursday 21 June 2018 01:07 PM, Bartosz Golaszewski wrote: > >>> From: Bartosz Golaszewski > >

Re: [PATCH 0/2] dt: thermal: Fix broken cooling-maps

2018-07-30 Thread Viresh Kumar
On 05-07-18, 10:39, Viresh Kumar wrote: > Hi, > > This is an attempt to fix the broken or partially defined DT bindings > for cooling-maps. We should list every device that participates in > cooling down at a certain trip point, instead of just the first in the > list as that depends on certain or

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-07-30 Thread Michal Hocko
On Tue 31-07-18 06:01:48, Tetsuo Handa wrote: > On 2018/07/31 4:10, Michal Hocko wrote: > > Since should_reclaim_retry() should be a natural reschedule point, > > let's do the short sleep for PF_WQ_WORKER threads unconditionally in > > order to guarantee that other pending work items are started. T

[tip:perf/urgent] perf/x86/intel/uncore: Fix hardcoded index of Broadwell extra PCI devices

2018-07-30 Thread tip-bot for Kan Liang
Commit-ID: 99811294b063eb44185df9a58923928fccdbe122 Gitweb: https://git.kernel.org/tip/99811294b063eb44185df9a58923928fccdbe122 Author: Kan Liang AuthorDate: Mon, 30 Jul 2018 08:28:08 -0400 Committer: Ingo Molnar CommitDate: Mon, 30 Jul 2018 20:13:58 +0200 perf/x86/intel/uncore: Fix ha

Re: [RFC] blk-mq: clean up the hctx restart

2018-07-30 Thread jianchao.wang
Hi Ming On 07/31/2018 12:58 PM, Ming Lei wrote: > On Tue, Jul 31, 2018 at 12:02:15PM +0800, Jianchao Wang wrote: >> Currently, we will always set SCHED_RESTART whenever there are >> requests in hctx->dispatch, then when request is completed and >> freed the hctx queues will be restarted to avoid I

linux-next: manual merge of the mux tree with the battery tree

2018-07-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mux tree got a conflict in: MAINTAINERS between commit: fe8e81b7e899 ("adp5061: New driver for ADP5061 I2C battery charger") from the battery tree and commit: 703160ff3e50 ("dt-bindings: mux: add adi,adgs1408") from the mux tree. I fixed it up (

Re: [PATCH] clk: scmi: Fix the rounding of clock rate

2018-07-30 Thread Amit Daniel Kachhap
On Mon, Jul 30, 2018 at 5:10 PM, Sudeep Holla wrote: > On Mon, Jul 30, 2018 at 11:03:51AM +0530, Amit Daniel Kachhap wrote: >> Hi, >> >> On Fri, Jul 27, 2018 at 10:07 PM, Stephen Boyd wrote: >> > Quoting Amit Daniel Kachhap (2018-07-27 07:01:52) >> >> This fix rounds the clock rate properly by us

Re: [QUESTION] llist: Comment releasing 'must delete' restriction before traversing

2018-07-30 Thread Byungchul Park
On Tue, Jul 31, 2018 at 09:37:50AM +0800, Huang, Ying wrote: > Byungchul Park writes: > > > Hello folks, > > > > I'm careful in saying.. and curious about.. > > > > In restrictive cases like only addtions happen but never deletion, can't > > we safely traverse a llist? I believe llist can be more

Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function

2018-07-30 Thread Takashi Iwai
On Tue, 31 Jul 2018 03:25:06 +0200, Agrawal, Akshu wrote: > > > > On 7/30/2018 9:20 PM, Mark Brown wrote: > > On Mon, Jul 30, 2018 at 05:32:21PM +0200, Takashi Iwai wrote: > > > >> That said, if delay callback of CPU dai provides the additional delay, > >> the patch does correct thing. OTOH, i

Contact my secretary in Burkina-Faso

2018-07-30 Thread Dr. Gilmore Carson
Dear Friend, Good day, this is Mr. Henri Zongo, I'm happy to inform you about my success in getting the fund $29.6Million transferred under the co-operation of a new partner from Dubai, Presently I'm in Dubai for investment projects with my own share of the total sum. Meanwhile,I didn't forget

[PATCH v4 04/10] dt-bindings: ARM: Mediatek: Document bindings for MT8183

2018-07-30 Thread Erin Lo
From: Weiyi Lu This patch adds the binding documentation for apmixedsys, audiosys, camsys, imgsys, infracfg, mfgcfg, mmsys, topckgen, vdecsys, vencsys and ipu for Mediatek MT8183. Signed-off-by: Weiyi Lu Signed-off-by: Erin Lo --- .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 1 + ...

[PATCH v4 02/10] dt-bindings: mtk-sysirq: Add compatible for Mediatek MT8183

2018-07-30 Thread Erin Lo
This adds dt-binding documentation of SYSIRQ for Mediatek MT8183 SoC Platform. Signed-off-by: Erin Lo Acked-by: Rob Herring --- .../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interru

[PATCH v4 07/10] clk: mediatek: Add MT8183 clock support

2018-07-30 Thread Erin Lo
From: Weiyi Lu Add MT8183 clock support, include topckgen, apmixedsys, infracfg and subsystem clocks. Signed-off-by: Weiyi Lu Signed-off-by: Erin Lo --- drivers/clk/mediatek/Kconfig | 74 ++ drivers/clk/mediatek/Makefile | 12 + drivers/clk/mediatek/clk-mt8183-a

[PATCH v4 09/10] dt-bindings: serial: Add compatible for Mediatek MT8183

2018-07-30 Thread Erin Lo
This adds dt-binding documentation of uart for Mediatek MT8183 SoC Platform. Signed-off-by: Erin Lo Acked-by: Rob Herring --- Documentation/devicetree/bindings/serial/mtk-uart.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt b/Docume

[PATCH v4 05/10] clk: mediatek: Add dt-bindings for MT8183 clocks

2018-07-30 Thread Erin Lo
From: Weiyi Lu Add MT8183 clock dt-bindings, include topckgen, apmixedsys, infracfg and subsystem clocks. Signed-off-by: Weiyi Lu Signed-off-by: Erin Lo --- include/dt-bindings/clock/mt8183-clk.h | 413 + 1 file changed, 413 insertions(+) create mode 100644 in

[PATCH v4 08/10] arm64: dts: mt8183: Add clock controller device nodes

2018-07-30 Thread Erin Lo
From: Weiyi Lu Add clock controller nodes for MT8183, include topckgen, infracfg, apmixedsys and subsystem. Signed-off-by: Weiyi Lu Signed-off-by: Erin Lo --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 92 1 file changed, 92 insertions(+) diff --git a/arch/ar

[PATCH v4 06/10] clk: mediatek: Add flags support for mtk_gate data

2018-07-30 Thread Erin Lo
From: Weiyi Lu On some Mediatek platforms, there are critical clocks of clock gate type. To register clock gate with flags CLK_IS_CRITICAL, we need to add the flags field in mtk_gate data and register APIs. Signed-off-by: Weiyi Lu Signed-off-by: Erin Lo --- drivers/clk/mediatek/clk-gate.c | 5

[PATCH v4 10/10] dts: arm64: mt8183: add uart node

2018-07-30 Thread Erin Lo
From: Weiyi Lu Add uart node with correct uart clocks. Signed-off-by: Erin Lo Signed-off-by: Weiyi Lu --- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 8 arch/arm64/boot/dts/mediatek/mt8183.dtsi| 30 + 2 files changed, 38 insertions(+) diff --git a/

[PATCH v4 00/10] Add basic and clock support for Mediatek MT8183 SoC

2018-07-30 Thread Erin Lo
MT8183 is a SoC based on 64bit ARMv8 architecture. It contains 4 CA53 and 4 CA73 cores. MT8183 share many HW IP with MT65xx series. This patchset was tested on MT8183 evaluation board and use correct clock to shell. This series contains document bindings, device tree including interrupt, uart, c

[PATCH v4 01/10] dt-bindings: arm: Add bindings for Mediatek MT8183 SoC Platform

2018-07-30 Thread Erin Lo
This adds dt-binding documentation of cpu for Mediatek MT8183. Signed-off-by: Erin Lo Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devic

[PATCH v4 03/10] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2018-07-30 Thread Erin Lo
From: Ben Ho Add basic chip support for Mediatek 8183 Signed-off-by: Ben Ho Signed-off-by: Erin Lo --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 23 + arch/arm64/boot/dts/mediatek/mt8183.dtsi| 146

linux-next: manual merge of the pinctrl tree with the devicetree tree

2018-07-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pinctrl tree got a conflict in: Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt between commit: 791d3ef2e111 ("dt-bindings: remove 'interrupt-parent' from bindings") from the devicetree tree and commit: de1d08b22974 ("dt-bindings: p

Re: [QUESTION] llist: Comment releasing 'must delete' restriction before traversing

2018-07-30 Thread Huang, Ying
Byungchul Park writes: > On Tue, Jul 31, 2018 at 09:37:50AM +0800, Huang, Ying wrote: >> Byungchul Park writes: >> >> > Hello folks, >> > >> > I'm careful in saying.. and curious about.. >> > >> > In restrictive cases like only addtions happen but never deletion, can't >> > we safely traverse a

Re: [PATCH mmc-next v2 3/3] mmc: sdhci-of-dwcmshc: solve 128MB DMA boundary limitation

2018-07-30 Thread Jisheng Zhang
On Tue, 31 Jul 2018 11:29:24 +0800 Jisheng Zhang wrote: > Hi Robin, > > On Mon, 30 Jul 2018 12:06:08 +0100 Robin Murphy wrote: > > > Hi Jisheng, > > > > On 26/07/18 08:14, Jisheng Zhang wrote: > > > When using DMA, if the DMA addr spans 128MB boundary, we have to split > > > the DMA transfer

[PATCH] clk: scmi: Fix the rounding of clock rate

2018-07-30 Thread Amit Daniel Kachhap
This fix rounds the clock rate properly by using quotient and not remainder in the calculation. This issue was found while testing HDMI in the Juno platform. Fixes: 6d6a1d82eaef7 ("clk: add support for clocks provided by SCMI") Acked-by: Sudeep Holla Signed-off-by: Amit Daniel Kachhap --- drive

[PATCH v4 2/4] arm64: dts: rockchip: add GRF GPIO controller to rk3328

2018-07-30 Thread djw
From: Levin Du Adding a GRF GPIO controller labled "grf_gpio" to rk3328, currently providing access to the GPIO_MUTE pin, which is manupulated by the GRF_SOC_CON10 register. The GPIO_MUTE pin is referred to as <&grf_gpio 0>. Signed-off-by: Levin Du --- Changes in v4: - Use binding of "rockch

[PATCH v4 0/4] Add sdmmc UHS support to ROC-RK3328-CC board.

2018-07-30 Thread djw
From: Levin Du Hi all, this is an attemp to add sdmmc UHS support to the ROC-RK3328-CC board. This patch series adds a new compatible `rockchip,rk3328-grf-gpio` to the gpio-syscon driver, which currently only support for the access of the GPIO_MUTE pin in RK3328. Support for HDMI pins can be ad

[PATCH v4 1/4] gpio: syscon: rockchip: add GRF GPIO support for rk3328

2018-07-30 Thread djw
From: Levin Du In Rockchip RK3328, the output only GPIO_MUTE pin, originally for codec mute control, can also be used for general purpose. It is manipulated by the GRF_SOC_CON10 register in GRF. Aside from the GPIO_MUTE pin, the HDMI pins can also be set in the same way. Currently this GRF GPIO

[PATCH v4 3/4] arm64: dts: rockchip: add io-domain to roc-rk3328-cc

2018-07-30 Thread djw
From: Levin Du It is necessary for the io domain setting of the SoC to match the voltage supplied by the regulators. Signed-off-by: Levin Du --- Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: - Split from V0. arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 12 ++

[PATCH v4 4/4] arm64: dts: rockchip: add sdmmc UHS support for roc-rk3328-cc

2018-07-30 Thread djw
From: Levin Du In roc-rk3328-cc board, the signal voltage of sdmmc is supplied by the vcc_sdio regulator, which is a mux between 1.8V and 3.3V, controlled by a special output only gpio pin labeled "gpiomut_pmuio_iout", corresponding bit 1 of the syscon GRF_SOC_CON10. This special pin can now be

Re: [PATCH 0/2] dt: thermal: Fix broken cooling-maps

2018-07-30 Thread Zhang Rui
On 二, 2018-07-31 at 10:21 +0530, Viresh Kumar wrote: > On 05-07-18, 10:39, Viresh Kumar wrote: > > > > Hi, > > > > This is an attempt to fix the broken or partially defined DT > > bindings > > for cooling-maps. We should list every device that participates in > > cooling down at a certain trip po

[tip:perf/urgent] tools headers uapi: Refresh linux/bpf.h copy

2018-07-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: fc73bfd6005c7fe5c3a2f04d4db7fa5d37cd3ebd Gitweb: https://git.kernel.org/tip/fc73bfd6005c7fe5c3a2f04d4db7fa5d37cd3ebd Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 30 Jul 2018 11:56:13 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 30 Jul 2018 12:35:45 -0300 t

[tip:perf/urgent] tools headers powerpc: Update asm/unistd.h copy to pick new

2018-07-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7def16d1d2668a4a3663291c9ace307b81934704 Gitweb: https://git.kernel.org/tip/7def16d1d2668a4a3663291c9ace307b81934704 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 30 Jul 2018 11:48:19 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 30 Jul 2018 11:51:13 -0300 t

[tip:perf/urgent] tools headers uapi: Update tools's copy of linux/perf_event.h

2018-07-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2c3ee0e1779d2e08bc08734bc8475daaf94d0ba4 Gitweb: https://git.kernel.org/tip/2c3ee0e1779d2e08bc08734bc8475daaf94d0ba4 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 30 Jul 2018 11:41:56 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 30 Jul 2018 11:41:56 -0300 t

[tip:perf/urgent] perf tools: Fix the build on the alpine:edge distro

2018-07-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 44fe619b1418ff4e9d2f9518a940fbe2fb686a08 Gitweb: https://git.kernel.org/tip/44fe619b1418ff4e9d2f9518a940fbe2fb686a08 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 30 Jul 2018 13:15:03 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 30 Jul 2018 13:15:03 -0300 p

[tip:perf/urgent] tools arch: Update arch/x86/lib/memcpy_64.S copy used in 'perf bench mem memcpy'

2018-07-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1f27a050fc679d16e68a40e0bb575364a89fad66 Gitweb: https://git.kernel.org/tip/1f27a050fc679d16e68a40e0bb575364a89fad66 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 30 Jul 2018 12:26:54 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 30 Jul 2018 12:36:51 -0300 t

[tip:perf/urgent] perf/x86/intel/uncore: Fix hardcoded index of Broadwell extra PCI devices

2018-07-30 Thread tip-bot for Kan Liang
Commit-ID: 156c8b58ef5cfd97245928c95669fd4cb0f9c388 Gitweb: https://git.kernel.org/tip/156c8b58ef5cfd97245928c95669fd4cb0f9c388 Author: Kan Liang AuthorDate: Mon, 30 Jul 2018 08:28:08 -0400 Committer: Ingo Molnar CommitDate: Tue, 31 Jul 2018 07:43:37 +0200 perf/x86/intel/uncore: Fix ha

Re: [PATCH] PCI: let pci_request_irq properly deal with threaded interrupts

2018-07-30 Thread Marc Zyngier
On Mon, 30 Jul 2018 23:36:57 +0100, Thomas Gleixner wrote: > > On Mon, 30 Jul 2018, Bjorn Helgaas wrote: > > > [+cc Thomas, Christoph, LKML] > > + Marc > > > On Mon, Jul 30, 2018 at 12:03:42AM +0200, Heiner Kallweit wrote: > > > If we have a threaded interrupt with the handler being NULL, then

<    2   3   4   5   6   7   8   >