Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-10 Thread Kunihiko Hayashi
Hi Florian, On Sat, 9 Sep 2017 09:30:58 -0700 wrote: > > > On 09/08/2017 06:02 AM, Kunihiko Hayashi wrote: > > The UniPhier platform from Socionext provides the AVE ethernet > > controller that includes MAC and MDIO bus supporting RGMII/RMII > > modes. The controller is named AVE. > > > > Sig

Re: [PATCH v4 12/21] camss: vfe: Format conversion support using PIX interface

2017-09-10 Thread Todor Tomov
Hi Geert, On 10.09.2017 12:58, Geert Uytterhoeven wrote: > Hi Todor, > > On Tue, Aug 8, 2017 at 3:30 PM, Todor Tomov wrote: >> Use VFE PIX input interface and do format conversion in VFE. >> >> Supported input format is UYVY (single plane YUV 4:2:2) and >> its different sample order variations.

Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-10 Thread Kunihiko Hayashi
Hi Florian, Thank you for your comments, On Fri, 8 Sep 2017 12:31:18 -0700 wrote: > On 09/08/2017 06:02 AM, Kunihiko Hayashi wrote: > > The UniPhier platform from Socionext provides the AVE ethernet > > controller that includes MAC and MDIO bus supporting RGMII/RMII > > modes. The controller is

Re: [RFC][PATCH] perf: Rewrite enabled/running timekeeping

2017-09-10 Thread Alexey Budankov
Hi, On 05.09.2017 14:19, Peter Zijlstra wrote: > On Tue, Sep 05, 2017 at 01:17:39PM +0300, Alexey Budankov wrote: >> However we can't completely get rid of whole tree iterations because of >> inheritance code on forks in perf_event_init_context() here: > > Right, fork() / inherit needs to iterate

[PATCH] mm: respect the __GFP_NOWARN flag when warning about stalls

2017-09-10 Thread Mikulas Patocka
I am occasionally getting these warnings in khugepaged. It is an old machine with 550MHz CPU and 512 MB RAM. Note that khugepaged has nice value 19, so when the machine is loaded with some work, khugepaged is stalled and this stall produces warning in the allocator. khugepaged does allocations

Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-10 Thread Kunihiko Hayashi
Hi Yamada-san, Thank you for your comments, On Fri, 8 Sep 2017 23:44:13 +0900 wrote: > 2017-09-08 22:02 GMT+09:00 Kunihiko Hayashi : > > > diff --git a/drivers/net/ethernet/socionext/Kconfig > > b/drivers/net/ethernet/socionext/Kconfig > > new file mode 100644 > > index 000..788f26f > > --

[PATCH] sched/rt.c: pick and check task if double_lock_balance() unlock the rq

2017-09-10 Thread Zhou Chengming
push_rt_task() pick the first pushable task and find an eligible lowest_rq, then double_lock_balance(rq, lowest_rq). So if double_lock_balance() unlock the rq (when double_lock_balance() return 1), we have to check if this task is still on the rq. The problem is that the check conditions are not s

Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-10 Thread Kunihiko Hayashi
Hi Andrew, Thank you for your comments. On Fri, 8 Sep 2017 15:50:30 +0200 wrote: > > +static int ave_mdio_busywait(struct net_device *ndev) > > +{ > > + int ret = 1, loop = 100; > > + u32 mdiosr; > > + > > + /* wait until completion */ > > + while (1) { > > + mdiosr = ave_r32(n

Re: [patch 2/2] mm, compaction: persistently skip hugetlbfs pageblocks

2017-09-10 Thread Vlastimil Babka
On 09/11/2017 03:12 AM, David Rientjes wrote: > On Wed, 23 Aug 2017, Vlastimil Babka wrote: > >>> diff --git a/mm/compaction.c b/mm/compaction.c >>> --- a/mm/compaction.c >>> +++ b/mm/compaction.c >>> @@ -217,6 +217,20 @@ static void reset_cached_positions(struct zone *zone) >>>

Re: [PATCH 6/9] arm64: kexec_file: load initrd, device-tree and purgatory segments

2017-09-10 Thread Dave Young
Hi, On 09/08/17 at 12:16pm, AKASHI Takahiro wrote: > load_other_segments() sets up and adds all the memory segments necessary > other than kernel, including initrd, device-tree blob and purgatory. > Most of the code was borrowed from kexec-tools' counterpart. > > In addition, arch_kexec_image_pro

Re: iov_iter_pipe warning.

2017-09-10 Thread Dave Chinner
On Mon, Sep 11, 2017 at 04:32:22AM +0100, Al Viro wrote: > On Mon, Sep 11, 2017 at 10:31:13AM +1000, Dave Chinner wrote: > > > splice does not go down the direct IO path, so iomap_dio_actor() > > should never be handled a pipe as the destination for the IO data. > > Indeed, splice read has to supp

Re: XFS mounted with 'discard' option - deleting fio test files slow

2017-09-10 Thread Christoph Hellwig
On Fri, Sep 08, 2017 at 04:21:52PM -0700, Hao Chen wrote: > This is expected. To get a better performance of XFS on NVMe drive, it > is advised not use use the realtime discard option. > > https://www.intel.com/content/dam/support/us/en/documents/ssdc/data-center-ssds/Intel_Linux_NVMe_Guide_33060

Re: [PATCH] docs: fix location of document that got moved

2017-09-10 Thread Henning Schild
Ping Am Fri, 1 Sep 2017 21:57:21 +0200 schrieb Henning Schild : > 9d85025b0418 renamed the document mentioned in the header. Adjust the > link to point to the right place. > > Signed-off-by: Henning Schild > --- > fs/binfmt_misc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >

Re: [GIT PULL] Security subsystem updates for 4.14

2017-09-10 Thread Christoph Hellwig
On Sun, Sep 10, 2017 at 10:02:42AM -0400, Mimi Zohar wrote: > We need to differentiate between policies and x509 certificates.  In > the policy case, they need to be signed and appraised, while in the > x509 certificate case, the certificate itself is signed so the file > doesn't need to be signed

Re: [patch 1/2] mm, compaction: kcompactd should not ignore pageblock skip

2017-09-10 Thread Vlastimil Babka
On 09/11/2017 03:07 AM, David Rientjes wrote: > On Wed, 23 Aug 2017, Vlastimil Babka wrote: > >> On 08/16/2017 01:39 AM, David Rientjes wrote: >>> Kcompactd is needlessly ignoring pageblock skip information. It is doing >>> MIGRATE_SYNC_LIGHT compaction, which is no more powerful than >>> MIGRATE

Re: [lkp-robot] [sched/fair] 6d46bd3d97: netperf.Throughput_tps -11.3% regression

2017-09-10 Thread Joel Fernandes
Hi Mike, Thanks a lot for sharing the history of this. On Sun, Sep 10, 2017 at 7:55 PM, Mike Galbraith wrote: > On Sun, 2017-09-10 at 09:53 -0700, Joel Fernandes wrote: >> >> Anyone know what in the netperf test triggers use of the sync flag? > > homer:..kernel/linux-master # git grep wake_up_int

Re: [PATCH v3] tracing: Ignore mmiotrace from kernel commandline

2017-09-10 Thread Ziqian SUN (Zamir)
On 09/11/2017 02:26 PM, Ziqian SUN (Zamir) wrote: From: "Ziqian SUN (Zamir)" The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in kernel commandline. With this patch, noboot is added to the tracer struct, and when system boot with a tracer that has noboot=true, it will print out a w

[RESEND PATCH] arm: dts: am33xx: Add spi alias to match SOC schematics

2017-09-10 Thread sunil . m
From: Suniel Mahesh Linux bus numbers should match the numbers defined by the chip manufacturer. This patch add's spi aliases to acheive that bus naming convention. Signed-off-by: Suniel Mahesh Signed-off-by: Karthik Tummala Tested-by: Karthik Tummala --- Note: - Patch was compile tested and

Re: [PATCH v2 00/20] Speculative page faults

2017-09-10 Thread Laurent Dufour
On 11/09/2017 02:45, Sergey Senozhatsky wrote: > On (09/08/17 11:24), Laurent Dufour wrote: >> Hi Sergey, >> >> I can't see where such a chain could happen. >> >> I tried to recreate it on top of the latest mm tree, to latest stack output >> but I can't get it. >> How did you raised this one ? > >

[PATCH v3] tracing: Ignore mmiotrace from kernel commandline

2017-09-10 Thread Ziqian SUN (Zamir)
From: "Ziqian SUN (Zamir)" The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in kernel commandline. With this patch, noboot is added to the tracer struct, and when system boot with a tracer that has noboot=true, it will print out a warning message and continue booting. Signed-off-by:

[tip:sched/urgent] sched/fair: Fix nuisance kernel-doc warning

2017-09-10 Thread tip-bot for Randy Dunlap
Commit-ID: 46123355af729514e6fa8b8a9dd1e645e61a6466 Gitweb: http://git.kernel.org/tip/46123355af729514e6fa8b8a9dd1e645e61a6466 Author: Randy Dunlap AuthorDate: Sun, 10 Sep 2017 09:55:05 -0700 Committer: Ingo Molnar CommitDate: Mon, 11 Sep 2017 08:13:22 +0200 sched/fair: Fix nuisance ke

Re: WARNING in skb_warn_bad_offload

2017-09-10 Thread Michal Kubecek
On Mon, Sep 11, 2017 at 12:20:32PM +0800, Dison River wrote: > I found a warning while fuzzing with Syzkaller on linux 4.13-rc6 on > x86_64. The full stack trace is below: > > [ cut here ] > WARNING: CPU: 3 PID: 32413 at net/core/dev.c:2592 > skb_warn_bad_offload+0x2a9/0x38

Re: [PATCH] mmc: tegra: Mark 64 bit dma broken on Tegra186

2017-09-10 Thread Adrian Hunter
On 08/09/17 22:48, Krishna Reddy wrote: > SDHCI controllers on Tegra186 support 40 bit addressing. > IOVA addresses are 48-bit wide on Tegra186. > SDHCI host common code sets dma mask as either 32-bit or 64-bit. > To avoid access issues when SMMU is enabled, disable 64-bit dma. > > Signed-off-by:

Re: [PATCH] bnx2i: Clean up unused pointers in bnx2i_hwi

2017-09-10 Thread Rangankar, Manish
On 10/09/17 5:48 PM, "Christos Gkekas" wrote: >Pointers bnx2i_cmd are set but never used, so they can be removed. > >Signed-off-by: Christos Gkekas >--- > drivers/scsi/bnx2i/bnx2i_hwi.c | 10 -- > 1 file changed, 10 deletions(-) > >diff --git a/drivers/scsi/bnx2i/bnx2i_hwi.c >b/drivers/s

Re: [PATCH 2/2] x86/hibernate/64: Mask off CR3's PCID bits in the saved CR3

2017-09-10 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Fri, Sep 8, 2017 at 12:59 AM, Jiri Kosina wrote: > > On Thu, 7 Sep 2017, Andy Lutomirski wrote: > > > >> Jiri reported a resume-from-hibernation failure triggered by PCID. > >> The root cause appears to be rather odd. The hibernation asm > >> restores a CR3 value

Re: [PATCH v2 1/2] completion: Add support for initializing completion with lockdep_map

2017-09-10 Thread Byungchul Park
On Fri, Sep 08, 2017 at 05:46:24PM +0900, Byungchul Park wrote: > To peter, > > Does it work? > > Chagnes from v1 > - Add a completion initialization function with a lockdep map > - Enhance readability of the workqueue code Do not you like it becasue it introduces another init_completion_xxx()

Re: [PATCH] sysrq : fix Show Regs call trace on ARM

2017-09-10 Thread Jiri Slaby
On 09/11/2017, 05:11 AM, Jibin Xu wrote: ... > --- a/drivers/tty/sysrq.c > +++ b/drivers/tty/sysrq.c > @@ -245,8 +245,10 @@ static void sysrq_handle_showallcpus(int key) >* architecture has no support for it: >*/ > if (!trigger_all_cpu_backtrace()) { > - struct pt_

Re: btusb "firmware request while host is not available" at resume

2017-09-10 Thread Marcel Holtmann
Hi Linus, >> Yes 81f95076281f is to blame.. After reverting it all is fine again. >> >> 15 resume cycles on the one laptop , 10 on the other without to hit the >> trace. > > Yeah, I think that disable/enable_firmware in the suspend/resume path > is basically just completely random code. There i

Questions about NVMEM

2017-09-10 Thread Masahiro Yamada
Hi Srinivas, I have 3 questions about the nvmem sybsystem. Please correct me if something is missing from my thought. (Q1) How to allocate struct nvmem_config? I see 3 ways in allocating struct nvmem_config. What is a good / bad practice? (A) Allocate statically in .data section

Re: btusb "firmware request while host is not available" at resume

2017-09-10 Thread Linus Torvalds
On Sun, Sep 10, 2017 at 8:49 PM, Gabriel C wrote: > > Yes 81f95076281f is to blame.. After reverting it all is fine again. > > 15 resume cycles on the one laptop , 10 on the other without to hit the > trace. Yeah, I think that disable/enable_firmware in the suspend/resume path is basically just c

Re: [RFC v2 PATCH] x86/boot: Add the secdata section to the setup header

2017-09-10 Thread Gary Lin
On Fri, Sep 08, 2017 at 01:59:00PM -0700, h...@zytor.com wrote: > On September 8, 2017 2:45:10 AM PDT, Gary Lin wrote: > >On Thu, Sep 07, 2017 at 02:16:21PM -0700, h...@zytor.com wrote: > >> On September 7, 2017 2:44:51 AM PDT, Gary Lin wrote: > >> >On Thu, Jun 01, 2017 at 08:46:26AM +, Ard B

Re: btusb "firmware request while host is not available" at resume

2017-09-10 Thread Gabriel C
On 11.09.2017 05:15, Gabriel C wrote: On 11.09.2017 03:25, Greg Kroah-Hartman wrote: On Sun, Sep 10, 2017 at 12:26:02PM -0700, Linus Torvalds wrote: This seems to be a new problem at resume for the Intel btusb driver, but I'm not seeing anything in that driver itself that looks like a likely tr

Re: [PATCH v2 3/5] dmaengine: zynqmp_ps_pcie: Adding PS PCIe DMA driver

2017-09-10 Thread kbuild test robot
Hi Ravi, [auto build test ERROR on linus/master] [also build test ERROR on v4.13 next-20170908] [cannot apply to xlnx/master] [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/Ravi-Shankar-Jonnalag

[PATCH] x86/processor: Remove unused declaration of __generic_processor_info()

2017-09-10 Thread Dou Liyang
Commit: 2b85b3d22920 ("x86/acpi: Restore the order of CPU IDs") ... reverted the __generic_processor_info() to generic_processor_info(), but forgot to remove its declaration in mpspec.h together. Remove the declaration and make the comments consistent. Signed-off-by: Dou Liyang --- arch/x86

[PATCH] f2fs: fix double count on issued discard commands

2017-09-10 Thread Jaegeuk Kim
If issue_cond is true, it does double count for # of issued commands. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 7fd742f747ce..25196ff5d587 100644 --- a/fs/f2fs/segment.c +++ b/f

Re: WARNING: CPU: 2 PID: 4277 at lib/refcount.c:186

2017-09-10 Thread Eric Dumazet
On Fri, 2017-09-08 at 11:46 -0700, Eric Dumazet wrote: > On Fri, 2017-09-08 at 10:21 -0700, Cong Wang wrote: > > (Cc'ing netdev) > > > > On Fri, Sep 8, 2017 at 5:59 AM, Shankara Pailoor > > wrote: > > > Hi, > > > > > > I found a warning while fuzzing with Syzkaller on linux 4.13-rc7 on > > > x86

Re: iov_iter_pipe warning.

2017-09-10 Thread Al Viro
On Mon, Sep 11, 2017 at 10:31:13AM +1000, Dave Chinner wrote: > splice does not go down the direct IO path, so iomap_dio_actor() > should never be handled a pipe as the destination for the IO data. > Indeed, splice read has to supply the pages to be put into the pipe, > which the DIO path does not

Re: [RFC PATCH v5 0/5] vfio-pci: Add support for mmapping MSI-X table

2017-09-10 Thread Alexey Kardashevskiy
On 29/08/17 12:58, Alexey Kardashevskiy wrote: > On 21/08/17 12:47, Alexey Kardashevskiy wrote: >> Folks, >> >> Ok, people did talk, exchanged ideas, lovely :) What happens now? Do I >> repost this or go back to PCI bus flags or something else? Thanks. > > > Anyone, any help? How do we proceed wi

[PATCH v3] dt-bindings: add nutsboard vendor prefix

2017-09-10 Thread Wig Cheng
From: YuanCheng Cheng NutsBoard (http://nutsboard.org/) is an organization and focus on ARM based embedded boards with open source software. Signed-off-by: YuanCheng Cheng --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentatio

Re: btusb "firmware request while host is not available" at resume

2017-09-10 Thread Gabriel C
On 11.09.2017 03:25, Greg Kroah-Hartman wrote: On Sun, Sep 10, 2017 at 12:26:02PM -0700, Linus Torvalds wrote: This seems to be a new problem at resume for the Intel btusb driver, but I'm not seeing anything in that driver itself that looks like a likely trigger, so I wonder if it's some driver

[PATCH] sysrq : fix Show Regs call trace on ARM

2017-09-10 Thread Jibin Xu
When kernel configuration SMP,PREEMPT and DEBUG_PREEMPT are enabled, echo 1 >/proc/sys/kernel/sysrq echo p >/proc/sysrq-trigger kernel will print call trace as below: sysrq: SysRq : Show Regs BUG: using __this_cpu_read() in preemptible [] code: sh/435 caller is __this_cpu_preempt_check+0x1

linux-next: Tree for Sep 11

2017-09-10 Thread Stephen Rothwell
Hi all, Please do not add any v4.15 related material to your linux-next included branches until after v4.14-rc1 has been released. Changes since 20170908: The watchdog tree gained a conflict against the arm-soc tree. The aio tree gained a conflict against the vfs tree. The akpm-current tree st

Re: [lkp-robot] [sched/fair] 6d46bd3d97: netperf.Throughput_tps -11.3% regression

2017-09-10 Thread Mike Galbraith
On Sun, 2017-09-10 at 09:53 -0700, Joel Fernandes wrote: > > Anyone know what in the netperf test triggers use of the sync flag? homer:..kernel/linux-master # git grep wake_up_interruptible_sync_poll net net/core/sock.c:wake_up_interruptible_sync_poll(&wq->wait, POLLIN | POLLPRI

Re: [PATCH 01/10] spi-nor: intel-spi: Fix number of protected range registers for BYT/LPT

2017-09-10 Thread Bin Meng
Hi Marek, On Fri, Sep 1, 2017 at 5:52 PM, Marek Vasut wrote: > On 09/01/2017 10:00 AM, Bin Meng wrote: >> The number of protected range registers is not the same on BYT/LPT/ >> BXT. GPR0 only exists on Apollo Lake and its offset is reserved on >> other platforms. >> >> Signed-off-by: Bin Meng >

Re: [PATCH] scsi: ufs: Make use of UFS_BIT macro wherever possible

2017-09-10 Thread Alim Akhtar
Hi, Ping!!! Should I drop this patch and send another one which removes UFS_BIT() macro? On Tue, Aug 29, 2017 at 4:35 PM, Alim Akhtar wrote: > Hi Bart, > Thanks for your review. > > On 08/28/2017 09:15 PM, Bart Van Assche wrote: >> On Mon, 2017-08-28 at 17:49 +0530, Alim Akhtar wrote: >>> This

[PATCH RFC V2 05/10] perf tools: lock to protect thread list

2017-09-10 Thread kan . liang
From: Kan Liang Add two locks to protect namespaces_list and comm_list. The comm which is used in db-export are not protected. Because the multithread code will not touch it. It can be added later if required. Signed-off-by: Kan Liang --- tools/perf/ui/browsers/hists.c | 2 +- tools/perf/uti

[PATCH RFC V2 04/10] petf tools: introduce a new function to set namespaces id

2017-09-10 Thread kan . liang
From: Kan Liang Finish the namespaces id setting job in thread.c. Signed-off-by: Kan Liang --- tools/perf/util/hist.c | 7 ++- tools/perf/util/thread.c | 10 ++ tools/perf/util/thread.h | 2 ++ 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/tools/perf/util/hist

[PATCH RFC V2 00/10] perf top optimization

2017-09-10 Thread kan . liang
From: Kan Liang The patch series intends to fix the severe performance issue in Knights Landing/Mill, when monitoring in heavy load system. perf top costs a few minutes to show the result, which is unacceptable. With the patch series applied, the latency will reduces to several seconds. machine_

[PATCH RFC V2 03/10] petf tools: using comm_str to replace comm in hist_entry

2017-09-10 Thread kan . liang
From: Kan Liang For hist_entry, it only needs comm_str for cmp. Signed-off-by: Kan Liang --- tools/perf/util/hist.c | 4 ++-- tools/perf/util/sort.c | 8 tools/perf/util/sort.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/perf/util/hist.c b/tools/perf/u

[PATCH RFC V2 08/10] perf top: implement multithreading for perf_event__synthesize_threads

2017-09-10 Thread kan . liang
From: Kan Liang The proc files which is sorted with alphabetical order are evenly assigned to several synthesize threads to be processed in parallel. For perf top, the threads number hard code to online CPU number. The following patch will introduce an option to set it. For other perf tools, the

[PATCH RFC V2 06/10] perf tools: lock to protect comm_str rb tree

2017-09-10 Thread kan . liang
From: Kan Liang Add comm_str_lock to protect comm_str rb tree. Signed-off-by: Kan Liang --- tools/perf/util/comm.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/comm.c b/tools/perf/util/comm.c index 7bc981b..cb7f98c 100644 --- a/tools/pe

[PATCH RFC V2 10/10] perf top: switch back to overwrite mode

2017-09-10 Thread kan . liang
From: Kan Liang perf_top__mmap_read has severe performance issue in Knights Landing/Mill, when monitoring in heavy load system. It costs several minutes to finish, which is unacceptable. perf top was overwrite mode. But it is changed to non overwrite mode since commit 93fc64f14472 ("perf top: Sw

[PATCH RFC V2 01/10] perf tools: hashtable for machine threads

2017-09-10 Thread kan . liang
From: Kan Liang To process any events, it needs to find the thread in the machine first. The machine maintains a rb tree to store all threads. The rb tree is protected by a rw lock. It is not a problem for current perf which serially processing events. However, it will have scalability performanc

[PATCH RFC V2 09/10] perf top: add option to set the number of thread for event synthesize

2017-09-10 Thread kan . liang
From: Kan Liang Using UINT_MAX to indicate the default thread#, which is the max number of online CPU. Signed-off-by: Kan Liang --- tools/perf/builtin-top.c | 5 - tools/perf/util/event.c | 5 - tools/perf/util/top.h| 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --g

[PATCH RFC V2 02/10] perf tools: using scandir to replace readdir

2017-09-10 Thread kan . liang
From: Kan Liang For perf_event__synthesize_threads, perf goes through all proc files serially by readdir. scandir did a snapshoot of proc, which is multithreading friendly. It's possible that some threads which are added during event synthesize. But the number of lost threads should be small. Th

[PATCH RFC V2 07/10] perf tools: change machine comm_exec type to atomic

2017-09-10 Thread kan . liang
From: Kan Liang In case there are two or more threads want to change it. Signed-off-by: Kan Liang --- tools/perf/util/machine.c | 11 ++- tools/perf/util/machine.h | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tools/perf/util/machine.c b/tools/perf/util/machin

[PATCH 2/4] dt-bindings: timer: Add Actions Semi S700

2017-09-10 Thread Andreas Färber
Define a compatible string for the Actions Semi S700 SoC timer. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/timer/actions,owl-timer.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/actions,owl-timer.txt b/Documentation/devic

[PATCH 0/4] arm64: Add initial Actions Semi S700 and CubieBoard7 support

2017-09-10 Thread Andreas Färber
Hello, This series prepares the Actions Semi S700 SoC and Cubietech CubieBoard7. It boots equally far as the S900 based Bubblegum-96 these patches are based on, i.e. into an initrd with serial and all four cores up. I have not yet managed to download the CubieBoard7 sources from Baidu, and the Me

[PATCH 3/4] clocksource: owl: Prepare S700

2017-09-10 Thread Andreas Färber
S700 has two 2Hz timers like S500, and four TIMx timers like S900. Signed-off-by: Andreas Färber --- drivers/clocksource/owl-timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clocksource/owl-timer.c b/drivers/clocksource/owl-timer.c index d19c53c11094..d5f3f72c10ee 100644 --- a

[PATCH 4/4] arm64: dts: actions: Add S700 and CubieBoard7

2017-09-10 Thread Andreas Färber
Add Device Trees for S700 SoC and Cubietech CubieBoard7. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/actions/Makefile | 2 + arch/arm64/boot/dts/actions/s700-cubieboard7.dts | 47 +++ arch/arm64/boot/dts/actions/s700.dtsi| 164 +++ 3 f

[PATCH 1/4] dt-bindings: arm: actions: Add S700 and CubieBoard7

2017-09-10 Thread Andreas Färber
Document the Actions Semi S700 SoC and the Cubietech CubieBoard7. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/actions.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation/devicetree

[PATCH] net: tcp_input: Neaten DBGUNDO

2017-09-10 Thread Joe Perches
Move the #ifdef into the static void function so that the use of DBGUNDO is validated when FASTRETRANS_DEBUG <= 1. Remove the now unnecessary #else and #define DBGUNDO. Signed-off-by: Joe Perches --- net/ipv4/tcp_input.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/

Re: [PATCH] media: i2c: OV5647: gate clock lane before stream on

2017-09-10 Thread Jacob Chen
Hi Luis, 2017-08-07 22:48 GMT+08:00 Luis Oliveira : > Hi all, > > I'm new here, I got to be Maintainer of this driver by the old Maintainer > recommendation. Still getting the hang of it :) > > On 07-Aug-17 13:26, Philipp Zabel wrote: >> Hi Jacob, >> >> On Mon, 2017-08-07 at 19:06 +0800, Jacob Che

Re: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature'

2017-09-10 Thread Max Filippov
On Sun, Sep 10, 2017 at 11:31 AM, Guenter Roeck wrote: > xtensa:allmodconfig fails to build in mainline with compiler errors > as follows. > > drivers/staging/rtl8723bs/core/rtw_ap.c: In function ‘expire_timeout_chk’: > drivers/staging/rtl8723bs/core/rtw_ap.c:442:1: internal compiler error: >

Re: [PATCH v3 1/3] arm64/ras: support sea error recovery

2017-09-10 Thread Xiongfeng Wang
Hi James, Thanks for your comments. On 2017/9/9 2:15, James Morse wrote: > Hi Xie XiuQi, > > (Sorry a few versions of this went past before I caught up with it) > > On 07/09/17 08:45, Xie XiuQi wrote: >> With ARM v8.2 RAS Extension, SEA are usually triggered when memory errors >> are consumed.

[PATCH] media: i2c: OV5647: ensure clock lane in LP-11 state before streaming on

2017-09-10 Thread Jacob Chen
When I was supporting Rpi Camera Module on the ASUS Tinker board, I found this driver have some issues with rockchip's mipi-csi driver. It didn't place clock lane in LP-11 state before performing D-PHY initialisation. >From our experience, on some OV sensors, LP-11 state is not achieved while BIT(

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-10 Thread Andy Lutomirski
On Sun, Sep 10, 2017 at 6:12 PM, Rik van Riel wrote: > On Sat, 2017-09-09 at 12:28 -0700, Andy Lutomirski wrote: >> - >> I propose the following fix. If PCID is on, then, in >> enter_lazy_tlb(), we switch to init_mm with the no-flush flag set. >> (And we give init_mm its own dedicated ASID to kee

Re: [PATCH] scsi: shost->async_scan should be protected by mutex_lock

2017-09-10 Thread Tyrel Datwyler
On 09/07/2017 11:54 PM, Ouyangzhaowei (Charles) wrote: > shost->async_scan should be protected by mutex_lock, otherwise the check > of "called twice" won't work. > > Signed-off-by: Ouyang Zhaowei > --- > drivers/scsi/scsi_scan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -

Re: [PATCH v1 1/4] perf annotate: create a new hists to manage multiple events samples

2017-09-10 Thread Jin, Yao
On 9/8/2017 9:43 PM, Arnaldo Carvalho de Melo wrote: Em Wed, Aug 16, 2017 at 06:18:33PM +0800, Jin Yao escreveu: An issue is found during using perf annotate. perf record -e cycles,branches ... perf annotate main --stdio The result only shows cycles. It should show both cycles and branches o

[git pull] m68knommu changes for v4.14

2017-09-10 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. Only 2 changes. One removes unused code, the other makes local clock code arguments consistent with generic clock code. Regards Greg The following changes since commit cc4a41fe5541a73019a864883297bd5043aa6d98: Linux 4.

linux-next: manual merge of the aio tree with the vfs tree

2017-09-10 Thread Stephen Rothwell
Hi Benjamin, Today's linux-next merge of the aio tree got a conflict in: fs/aio.c between commit: 32ec9f249d65 ("io_getevents: Use timespec64 to represent timeouts") from the vfs tree and commit: eb5263749f68 ("aio: handle integer overflow in io_getevents() timespec usage") from the ai

Re: btusb "firmware request while host is not available" at resume

2017-09-10 Thread Greg Kroah-Hartman
On Sun, Sep 10, 2017 at 12:26:02PM -0700, Linus Torvalds wrote: > This seems to be a new problem at resume for the Intel btusb driver, > but I'm not seeing anything in that driver itself that looks like a > likely trigger, so I wonder if it's some driver core change, a generic > resume path issue,

[GIT PULL 3/3] ARM: arm64: Devicetree updates for v4.14

2017-09-10 Thread Olof Johansson
As usual, device tree updates is the bulk of our material in this merge window. This time around, 559 patches affecting both 32- and 64-bit platforms. Changes are too many to list individually, but some of the larger ones: New platform/SoC support: - Automotive: + Renesas R-Car D3 (R8A77995) + T

[GIT PULL 2/3] ARM: SoC driver updates for v4.14

2017-09-10 Thread Olof Johansson
This branch contains platform-related driver updates for ARM and ARM64. Among them: - Reset driver updates: + New API for dealing with arrays of resets + Make unimplemented {de,}assert return success on shared resets + MSDKv1 driver + Removal of obsolete Gemini reset driver + Misc updates for sun

[GIT PULL 1/3] ARM/arm64: SoC platform updates for v4.14

2017-09-10 Thread Olof Johansson
This branch contains platform updates for 32- and 64-bit ARM, including defconfig updates to enable new options, drivers and platforms. There are also a few fixes and cleanups for some existing vendors. Some of the things worth highlighting here are: - Enabling new crypt drivers on arm64 defconfi

[GIT PULL 0/3] ARM and arm64 platform updates for v4.14

2017-09-10 Thread Olof Johansson
Hi Linus, Here are the ARM-SoC updates for this merge window. This time around, I collapsed down the branches to three main ones and am sending those as our pull requests; We've had less miscellaneous contents this cycle so it seemed like the right level of exposing the work going on. One branch

Re: [patch 2/2] mm, compaction: persistently skip hugetlbfs pageblocks

2017-09-10 Thread David Rientjes
On Fri, 1 Sep 2017, Vlastimil Babka wrote: > The pageblock_skip_persistent() function checks for HugeTLB pages of pageblock > order. When clearing pageblock skip bits for compaction, the bits are not > cleared for such pageblocks, because they cannot contain base pages suitable > for migration, no

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-10 Thread Rik van Riel
On Sat, 2017-09-09 at 12:28 -0700, Andy Lutomirski wrote: > - > I propose the following fix.  If PCID is on, then, in > enter_lazy_tlb(), we switch to init_mm with the no-flush flag set. > (And we give init_mm its own dedicated ASID to keep it simple and > fast > -- no need to use the LRU ASID mapp

Re: [patch 2/2] mm, compaction: persistently skip hugetlbfs pageblocks

2017-09-10 Thread David Rientjes
On Wed, 23 Aug 2017, Vlastimil Babka wrote: > > diff --git a/mm/compaction.c b/mm/compaction.c > > --- a/mm/compaction.c > > +++ b/mm/compaction.c > > @@ -217,6 +217,20 @@ static void reset_cached_positions(struct zone *zone) > > pageblock_start_pfn(zone_end_pfn(zone) -

Re: [patch 1/2] mm, compaction: kcompactd should not ignore pageblock skip

2017-09-10 Thread David Rientjes
On Wed, 23 Aug 2017, Vlastimil Babka wrote: > On 08/16/2017 01:39 AM, David Rientjes wrote: > > Kcompactd is needlessly ignoring pageblock skip information. It is doing > > MIGRATE_SYNC_LIGHT compaction, which is no more powerful than > > MIGRATE_SYNC compaction. > > > > If compaction recently f

[PATCH 0/2] ARM: owl: Add CubieBoard6

2017-09-10 Thread Andreas Färber
Hello, This series prepares the Cubietech CubieBoard6, based on Actions Semi S500. Cf. https://en.opensuse.org/HCL:CubieBoard6 With this Device Tree it starts to boot, but it gets stuck during earlycon: [0.899855] cpuidle: using governor ladder [0.904118] Internal error: Oops - undefine

linux-next: manual merge of the watchdog tree with the arm-soc tree

2017-09-10 Thread Stephen Rothwell
Hi Wim, Today's linux-next merge of the watchdog tree got a conflict in: Documentation/devicetree/bindings/watchdog/mtk-wdt.txt between commit: 275e85971b7d ("ARM: mediatek: dts: Cleanup bindings documentation") from the arm-soc tree and commit: e8a7fc711c9a ("dt-bindings: watchdog: med

[PATCH 2/2] ARM: dts: owl-s500: Add CubieBoard6

2017-09-10 Thread Andreas Färber
Add a Device Tree for Cubietech CubieBoard6. Cc: supp...@cubietech.com Signed-off-by: Andreas Färber --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/owl-s500-cubieboard6.dts | 44 ++ 2 files changed, 45 insertions(+) create mode 100644 arch/a

[PATCH 1/2] dt-bindings: arm: actions: Add CubieBoard6

2017-09-10 Thread Andreas Färber
Define a compatible string for Cubietech CubieBoard6. Cc: supp...@cubietech.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/actions.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation/devicetree/bi

Re: [RFC 1/2] proc: Return if nothing to unmount

2017-09-10 Thread Rik van Riel
On Sat, 2017-09-09 at 19:31 +0100, Al Viro wrote: > On Sat, Sep 09, 2017 at 06:03:16PM +0530, Gargi Sharma wrote: > > If a task exits before procfs is mounted, proc_flush_task_mnt will > > be called with a NULL mnt parameter. In that case, not only is > > there > > nothing to unhash, but trying to

Re: [PATCH] x86: Fix off-by-one error in loop termination.

2017-09-10 Thread Sean Fu
On Mon, Sep 11, 2017 at 08:33:21AM +0800, Sean Fu wrote: > An off-by-one error in loop terminantion conditions in > create_setup_data_nodes will lead to memory leak when > create_setup_data_node return error. > > Signed-off-by: Sean Fu > --- > arch/x86/kernel/ksysfs.c | 2 +- > 1 file changed, 1

Re: [PATCH v2 00/20] Speculative page faults

2017-09-10 Thread Sergey Senozhatsky
On (09/08/17 11:24), Laurent Dufour wrote: > Hi Sergey, > > I can't see where such a chain could happen. > > I tried to recreate it on top of the latest mm tree, to latest stack output > but I can't get it. > How did you raised this one ? Hi Laurent, didn't do anything special, the box even was

Re: [PATCH] extcon: make extcon_info static const, fixes warning

2017-09-10 Thread Chanwoo Choi
On 2017년 09월 10일 01:51, Colin King wrote: > From: Colin Ian King > > The array extcon_info is read only, local to the source and does not > need to be in global scope, so make it static const. > > Cleans up sparse warning: > symbol 'extcon_info' was not declared. Should it be static? > > Signed

[PATCH] x86: Fix off-by-one error in loop termination.

2017-09-10 Thread Sean Fu
An off-by-one error in loop terminantion conditions in create_setup_data_nodes will lead to memory leak when create_setup_data_node return error. Signed-off-by: Sean Fu --- arch/x86/kernel/ksysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/ksysfs.c b/arc

Re: iov_iter_pipe warning.

2017-09-10 Thread Dave Chinner
On Mon, Sep 11, 2017 at 12:07:23AM +0100, Al Viro wrote: > On Mon, Sep 11, 2017 at 08:08:14AM +1000, Dave Chinner wrote: > > On Sun, Sep 10, 2017 at 10:19:07PM +0100, Al Viro wrote: > > > On Mon, Sep 11, 2017 at 07:11:10AM +1000, Dave Chinner wrote: > > > > On Sun, Sep 10, 2017 at 03:57:21AM +0100,

Re: Patch 0727d35de ("Make initramfs honor CONFIG_DEVTMPFS_MOUNT") breaks boot

2017-09-10 Thread Rob Landley
Taking another stab at this old issue from last merge window... > Rob Landley writes: >> On 05/23/2017 03:01 AM, Yury Norov wrote: >>> On Mon, May 22, 2017 at 09:07:54PM -0500, Rob Landley wrote: Your userspace mounted a tmpfs over /dev when it couldn't mount a second identical instance

Re: iov_iter_pipe warning.

2017-09-10 Thread Al Viro
On Mon, Sep 11, 2017 at 12:07:23AM +0100, Al Viro wrote: > BTW, another problem I see there is that iomap_dio_actor() should *NOT* > assume that do-while loop in there will always manage to shove 'length' > bytes out in case of success. That is simply not true for pipe-backed > destination. And

Re: iov_iter_pipe warning.

2017-09-10 Thread Al Viro
On Mon, Sep 11, 2017 at 08:08:14AM +1000, Dave Chinner wrote: > On Sun, Sep 10, 2017 at 10:19:07PM +0100, Al Viro wrote: > > On Mon, Sep 11, 2017 at 07:11:10AM +1000, Dave Chinner wrote: > > > On Sun, Sep 10, 2017 at 03:57:21AM +0100, Al Viro wrote: > > > > On Sat, Sep 09, 2017 at 09:07:56PM -0400,

[PATCH v2 2/5] staging: typec: tcpm: Document data structures

2017-09-10 Thread Guenter Roeck
Document struct tcpc_config and struct tcpc_dev. Drop unused TCPC_USB_SWITCH_RESTORE. Signed-off-by: Guenter Roeck --- v2: No change drivers/staging/typec/tcpm.h | 57 ++-- 1 file changed, 50 insertions(+), 7 deletions(-) diff --git a/drivers/staging/typ

[PATCH v2 4/5] typec: tcpm: Move out of staging

2017-09-10 Thread Guenter Roeck
Move tcpm (USB Type-C Port Manager) out of staging. Signed-off-by: Guenter Roeck --- v2: Use format-patch -M drivers/staging/typec/Kconfig | 8 drivers/staging/typec/Makefile| 1 - drivers/staging/typec/TODO|

[PATCH v2 5/5] usb: typec: fusb302: Move out of staging

2017-09-10 Thread Guenter Roeck
The driver is in good enough shape to be moved out of staging. Do it. Signed-off-by: Guenter Roeck --- v2: Use format-patch -M drivers/staging/typec/Kconfig| 2 -- drivers/staging/typec/Makefile | 1 - drivers/staging/typec/fusb302/TODO

[PATCH v2 3/5] staging: typec: pd: Document struct pd_message

2017-09-10 Thread Guenter Roeck
struct pd_message is the format of a PD message as seen on the wire. Signed-off-by: Guenter Roeck --- v2: No change drivers/staging/typec/pd.h | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/staging/typec/pd.h b/drivers/staging/typec/pd.h index 30b32ad72acd..42a10883a2cb 100644

[PATCH v2 1/5] staging: typec: tcpm: Drop commented out code

2017-09-10 Thread Guenter Roeck
Commented out code can be added as needed. Drop it. Also drop TODO and an obsolete XXX comment. Signed-off-by: Guenter Roeck --- v2: No change drivers/staging/typec/tcpm.c | 37 + 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/drivers/staging/t

Re: [PATCH v2 08/11] staging: typec: tcpm: Set mux to device mode when configured as such

2017-09-10 Thread Guenter Roeck
On 09/05/2017 09:42 AM, Hans de Goede wrote: Setting the mux to TYPEC_MUX_NONE, TCPC_USB_SWITCH_DISCONNECT when the data-role is device is not correct. Plenty of devices support operating as USB device through a (separate) USB device controller. So this commit instead splits out TYPEC_MUX_USB in

Re: [PATCH 2/5] android: binder: Add allocator selftest

2017-09-10 Thread Sherry Yang
Hi Geert, This selftest can't run until userspace has called mmap. Since it is hooked into ioctl, it's probably not worth the effort of making it a module, since ioctl will have to check at runtime whether the selftest module has been loaded, which would add overhead even when the test is not enab

  1   2   3   >