Re: [PATCH v3 2/2] vfio: platform: Add generic DT reset support

2018-04-12 Thread Simon Horman
On Wed, Apr 11, 2018 at 11:15:49AM +0200, Geert Uytterhoeven wrote: > Vfio-platform requires reset support, provided either by ACPI, or, on DT > platforms, by a device-specific reset driver matching against the > device's compatible value. > > On many SoCs, devices are connected to an SoC-internal

Re: [PATCH] sched/fair: schedutil: update only with all info available

2018-04-12 Thread Vincent Guittot
Hi Joel, On 11 April 2018 at 23:34, Joel Fernandes wrote: > Hi Vincent, > > On Wed, Apr 11, 2018 at 4:56 AM, Vincent Guittot > wrote: >> On 11 April 2018 at 12:15, Patrick Bellasi wrote: >>> On 11-Apr 08:57, Vincent Guittot wrote: On 10 April 2018 at 13:04, Patrick Bellasi wrote: > O

Re: [RFC PATCH v2 1/6] sched/fair: Create util_fits_capacity()

2018-04-12 Thread Viresh Kumar
On 06-04-18, 16:36, Dietmar Eggemann wrote: > The functionality that a given utilization fits into a given capacity > is factored out into a separate function. > > Currently it is only used in wake_cap() but will be re-used to figure > out if a cpu or a scheduler group is over-utilized. > > Cc: I

Re: [PATCH] checkpatch: Add a --strict test for structs with bool member definitions

2018-04-12 Thread Julia Lawall
On Wed, 11 Apr 2018, Joe Perches wrote: > On Thu, 2018-04-12 at 08:22 +0200, Julia Lawall wrote: > > On Wed, 11 Apr 2018, Joe Perches wrote: > > > On Wed, 2018-04-11 at 09:29 -0700, Andrew Morton wrote: > > > > We already have some 500 bools-in-structs > > > > > > I got at least triple that only

Re: [PATCH] vfio: platform: Fix using devices in PM Domains

2018-04-12 Thread Simon Horman
On Wed, Apr 11, 2018 at 11:24:08AM +0200, Geert Uytterhoeven wrote: > If a device is part of a PM Domain (e.g. power and/or clock domain), its > power state is managed using Runtime PM. Without Runtime PM, the device > may not be powered up, causing subtle failures, crashes, or system > lock-ups w

Re: [PATCH 8/9] mtd: nand: qcom: helper function for raw read

2018-04-12 Thread Abhishek Sahu
On 2018-04-10 15:14, Miquel Raynal wrote: Hi Abhishek, On Wed, 4 Apr 2018 18:12:24 +0530, Abhishek Sahu wrote: This patch does minor code reorganization for raw reads. Currently the raw read is required for complete page but for subsequent patches related with erased codeword bit flips detec

Re: x86-tip.today (4cdf573) early instaboot

2018-04-12 Thread Ingo Molnar
* Mike Galbraith wrote: > On Tue, 2018-04-10 at 09:06 -0500, Tom Lendacky wrote: > > > > Just out of curiosity, can you try the following patch and see if it > > fixes your reboot issue: > > Yup, all better. > > > diff --git a/arch/x86/boot/compressed/kaslr.c > > b/arch/x86/boot/compressed/ka

[PATCH 1/2] nohz: Align types to bool for tick_nohz_tick_stopped()

2018-04-12 Thread Ulf Hansson
The intent was likely to also make the inline version a bool, so let's change this. Fixes: a364298359e7 ("nohz: Convert tick_nohz_tick_stopped() to bool") Signed-off-by: Ulf Hansson --- Changes in v2: - Rebased on top of Linus' latest master to apply cleanly. --- include/linux/tick.h |

Re: [PATCH 0/3] Refactor TPM event log code

2018-04-12 Thread Jarkko Sakkinen
On Wed, Apr 11, 2018 at 02:54:58PM +0200, Thiebaud Weksteen wrote: > This patchset implements the proposal from Jarkko Sakkinen [1]. I have > included the feedback from Nayna Jain about the function naming. > > [1] https://lkml.kernel.org/r/20171024222148.gwnkj5vqsyj43...@linux.intel.com You coul

[PATCH 2/2] nohz: Align types to bool for tick_nohz_tick_stopped_cpu()

2018-04-12 Thread Ulf Hansson
The intent was likely to also make the inline version a bool, so let's change this. Fixes: 22ab8bc02a5f ("nohz: Allow to check if remote CPU tick is stopped") Signed-off-by: Ulf Hansson --- Changes in v2: - Rebased on top of Linus' latest master to apply cleanly. --- include/linux/tick

Re: [PATCH 5/9] mtd: nand: qcom: parse read errors for read oob also

2018-04-12 Thread Abhishek Sahu
On 2018-04-10 15:33, Miquel Raynal wrote: Hi Abhishek, On Wed, 4 Apr 2018 18:12:21 +0530, Abhishek Sahu wrote: read_page and read_oob both calls the read_page_ecc function. The QCOM NAND controller protect the OOB available bytes with ECC so read errors should be checked for read_oob also. N

Re: [PATCH 3/3] tpm: Move eventlog declarations to its own header

2018-04-12 Thread Jarkko Sakkinen
On Wed, Apr 11, 2018 at 02:55:01PM +0200, Thiebaud Weksteen wrote: > Reduce the size of tpm.h by moving eventlog declarations to a separate > header. > > Signed-off-by: Thiebaud Weksteen Will be fine with suggested-by added. /Jarkko

[tip:x86/pti] x86/mm: Do not auto-massage page protections

2018-04-12 Thread tip-bot for Dave Hansen
Commit-ID: fb43d6cb91ef57d9e58d5f69b423784ff4a4c374 Gitweb: https://git.kernel.org/tip/fb43d6cb91ef57d9e58d5f69b423784ff4a4c374 Author: Dave Hansen AuthorDate: Fri, 6 Apr 2018 13:55:09 -0700 Committer: Ingo Molnar CommitDate: Thu, 12 Apr 2018 09:04:22 +0200 x86/mm: Do not auto-massage

[tip:x86/pti] x86/mm: Remove extra filtering in pageattr code

2018-04-12 Thread tip-bot for Dave Hansen
Commit-ID: 1a54420aeb4da1ba5b28283aa5696898220c9a27 Gitweb: https://git.kernel.org/tip/1a54420aeb4da1ba5b28283aa5696898220c9a27 Author: Dave Hansen AuthorDate: Fri, 6 Apr 2018 13:55:11 -0700 Committer: Ingo Molnar CommitDate: Thu, 12 Apr 2018 09:05:58 +0200 x86/mm: Remove extra filteri

Re: [GIT PULL] asm-generic fixes for v4.17-rc1

2018-04-12 Thread Arnd Bergmann
On Thu, Apr 12, 2018 at 1:16 AM, Linus Torvalds wrote: > On Wed, Apr 11, 2018 at 8:40 AM, Arnd Bergmann wrote: >> >> are available in the git repository at: >> >> >> git+ssh://gitol...@ra.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git >> tags/asm-generic > > Yeah, no they aren't avai

Re: [PATCH 3/3] tpm: Move eventlog declarations to its own header

2018-04-12 Thread Jarkko Sakkinen
On Thu, Apr 12, 2018 at 10:12:30AM +0300, Jarkko Sakkinen wrote: > On Wed, Apr 11, 2018 at 02:55:01PM +0200, Thiebaud Weksteen wrote: > > Reduce the size of tpm.h by moving eventlog declarations to a separate > > header. > > > > Signed-off-by: Thiebaud Weksteen > > Will be fine with suggested-by

[tip:x86/pti] x86/mm: Comment _PAGE_GLOBAL mystery

2018-04-12 Thread tip-bot for Dave Hansen
Commit-ID: 430d4005b8b41c19966dd3bfdb33004bdb2de01c Gitweb: https://git.kernel.org/tip/430d4005b8b41c19966dd3bfdb33004bdb2de01c Author: Dave Hansen AuthorDate: Fri, 6 Apr 2018 13:55:13 -0700 Committer: Ingo Molnar CommitDate: Thu, 12 Apr 2018 09:05:58 +0200 x86/mm: Comment _PAGE_GLOBAL

[tip:x86/pti] x86/mm: Do not forbid _PAGE_RW before init for __ro_after_init

2018-04-12 Thread tip-bot for Dave Hansen
Commit-ID: 639d6aafe437a7464399d2a77d006049053df06f Gitweb: https://git.kernel.org/tip/639d6aafe437a7464399d2a77d006049053df06f Author: Dave Hansen AuthorDate: Fri, 6 Apr 2018 13:55:14 -0700 Committer: Ingo Molnar CommitDate: Thu, 12 Apr 2018 09:05:59 +0200 x86/mm: Do not forbid _PAGE_

[tip:x86/pti] x86/pti: Enable global pages for shared areas

2018-04-12 Thread tip-bot for Dave Hansen
Commit-ID: 0f561fce4d6979a50415616896512f87a6d1d5c8 Gitweb: https://git.kernel.org/tip/0f561fce4d6979a50415616896512f87a6d1d5c8 Author: Dave Hansen AuthorDate: Fri, 6 Apr 2018 13:55:15 -0700 Committer: Ingo Molnar CommitDate: Thu, 12 Apr 2018 09:05:59 +0200 x86/pti: Enable global pages

[tip:x86/pti] x86/pti: Leave kernel text global for !PCID

2018-04-12 Thread tip-bot for Dave Hansen
Commit-ID: 8c06c7740d191b9055cb9be920579d5ecdd26303 Gitweb: https://git.kernel.org/tip/8c06c7740d191b9055cb9be920579d5ecdd26303 Author: Dave Hansen AuthorDate: Fri, 6 Apr 2018 13:55:18 -0700 Committer: Ingo Molnar CommitDate: Thu, 12 Apr 2018 09:06:00 +0200 x86/pti: Leave kernel text g

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-04-12 Thread Peter Rosin
On 2018-04-11 17:34, Nicolas Ferre wrote: > On 11/04/2018 at 16:44, Peter Rosin wrote: >> Hi Nicolas, >> >> Boris asked for your input on this (the datasheet difference appears to >> have no bearing on the issue) elsewhere in the tree of messages. It's >> now been a week or so and I'm starting to w

RE: [PATCH][v3] tools/power turbostat: if --max_loop, print for specific time of loops

2018-04-12 Thread Doug Smythies
On 2018.04.11 03:31 Yu Chen wrote: > From: Chen Yu > > There's a use case during test to only print specific round of loops > if --iterations is specified, for example, with this patch applied: > > turbostat -i 5 -t 4 > will capture 4 samples with 5 seconds interval. Hi Yu, This would be a ver

[tip:x86/pti] x86/pti: Never implicitly clear _PAGE_GLOBAL for kernel image

2018-04-12 Thread tip-bot for Dave Hansen
Commit-ID: 39114b7a743e6759bab4d96b7d9651d44d17e3f9 Gitweb: https://git.kernel.org/tip/39114b7a743e6759bab4d96b7d9651d44d17e3f9 Author: Dave Hansen AuthorDate: Fri, 6 Apr 2018 13:55:17 -0700 Committer: Ingo Molnar CommitDate: Thu, 12 Apr 2018 09:06:00 +0200 x86/pti: Never implicitly cl

Re: [PATCH v2] usb: typec: ucsi: fix tracepoint related build error

2018-04-12 Thread Heikki Krogerus
On Tue, Apr 10, 2018 at 10:38:06AM +0200, Tobias Regnery wrote: > There is the following build error with CONFIG_TYPEC_UCSI=m, CONFIG_FTRACE=y > and CONFIG_TRACING=n: > > ERROR: "__tracepoint_ucsi_command" [drivers/usb/typec/ucsi/typec_ucsi.ko] > undefined! > ERROR: "__tracepoint_ucsi_register_po

Re: [PATCH][v3] tools/power turbostat: if --max_loop, print for specific time of loops

2018-04-12 Thread Yu Chen
Hi Doug, On Thu, Apr 12, 2018 at 12:18:44AM -0700, Doug Smythies wrote: > On 2018.04.11 03:31 Yu Chen wrote: > > > From: Chen Yu > > > > There's a use case during test to only print specific round of loops > > if --iterations is specified, for example, with this patch applied: > > > > turbostat

Re: [Xen-devel] [PATCH] x86/xen: zero MSR_IA32_SPEC_CTRL before suspend

2018-04-12 Thread Ingo Molnar
* Jan Beulich wrote: > >>> On 11.04.18 at 13:53, wrote: > > * Jan Beulich wrote: > > > >> Additionally, x86 maintainers: is there a particular reason this (or > >> any functionally equivalent patch) isn't upstream yet? As indicated > >> before, I had not been able to find any discussion, and

Re: [PATCH 7/9] mtd: nand: qcom: check for operation errors in case of raw read

2018-04-12 Thread Abhishek Sahu
On 2018-04-10 15:42, Miquel Raynal wrote: Hi Abhishek, On Wed, 4 Apr 2018 18:12:23 +0530, Abhishek Sahu wrote: Currently there is no error checking for raw read. For raw reads, there won’t be any ECC failure but the operational failures are possible so schedule the NAND_FLASH_STATUS read aft

Re: [PATCH v1 0/2] mm: migrate: vm event counter for hugepage migration

2018-04-12 Thread Naoya Horiguchi
On Thu, Apr 12, 2018 at 08:18:59AM +0200, Michal Hocko wrote: > On Wed 11-04-18 17:09:25, Naoya Horiguchi wrote: > > Hi everyone, > > > > I wrote patches introducing separate vm event counters for hugepage > > migration > > (both for hugetlb and thp.) > > Hugepage migration is different from norm

Re: [PATCH] staging: wilc1000: Remove unnecessary braces {} around single statement block

2018-04-12 Thread Claudiu Beznea
On 10.04.2018 17:49, Eyal Ilsar wrote: > Remove unnecessary braces {} around an 'if' statement block with a single > statement. Issue found by checkpatch. You should add an empty line before "Signed-off" line as stated in [1]. I would also add a space b/w your name and your email in Signed-off

Re: [PATCH] checkpatch: Add a --strict test for structs with bool member definitions

2018-04-12 Thread Ingo Molnar
* Peter Zijlstra wrote: > I still have room in my /dev/null mailbox for pure checkpatch patches. > > > (ooh, https://lkml.org/lkml/2017/11/21/384 is working this morning) > > Yes, we really should not use lkml.org for references. Sadly google > displays it very prominently when you search for

Re: [PATCH v1 0/2] mm: migrate: vm event counter for hugepage migration

2018-04-12 Thread Michal Hocko
On Thu 12-04-18 07:40:41, Naoya Horiguchi wrote: > On Thu, Apr 12, 2018 at 08:18:59AM +0200, Michal Hocko wrote: > > On Wed 11-04-18 17:09:25, Naoya Horiguchi wrote: > > > Hi everyone, > > > > > > I wrote patches introducing separate vm event counters for hugepage > > > migration > > > (both for

cifs buffer overflow in kernels before 3.7

2018-04-12 Thread Vlastimil Babka
Hi, we have tracked down (in our 3.0-based kernel) a nasty overflow from cifs_build_path_to_root() calling convert_delimiter() on a kmalloced buffer that's not guaranteed to be null-terminated. AFAIU this happens during mount of a share's subdirectory (vol->prepath is non-zero). This was fixed (un

Re: perf: fuzzer leads to trace_kprobe: Could not insert message flood

2018-04-12 Thread Ingo Molnar
* Song Liu wrote: > > spamming the kernel log ... > > Yeah, the new API allows non-root user to trigger this message. We should > only > allow root to create kprobe with perf_event_open(). > > On the other hand, do we need to fix this for root? In fact, a simple bash > loop > can create s

Re: perf: fuzzer leads to trace_kprobe: Could not insert message flood

2018-04-12 Thread Ingo Molnar
* Song Liu wrote: > diff --git a/kernel/events/core.c b/kernel/events/core.c > index d7af828..2d5fe26 100644 > --- a/kernel/events/core.c > +++ b/kernel/events/core.c > @@ -8400,6 +8400,10 @@ static int perf_kprobe_event_init(struct perf_event > *event) > > if (event->attr.type != perf

Re: [Xen-devel] [PATCH] x86/xen: zero MSR_IA32_SPEC_CTRL before suspend

2018-04-12 Thread Jan Beulich
>>> On 12.04.18 at 09:32, wrote: > * Jan Beulich wrote: > >> >>> On 11.04.18 at 13:53, wrote: >> > * Jan Beulich wrote: >> > >> >> Additionally, x86 maintainers: is there a particular reason this (or >> >> any functionally equivalent patch) isn't upstream yet? As indicated >> >> before, I ha

[tip:x86/pti] x86/pgtable: Don't set huge PUD/PMD on non-leaf entries

2018-04-12 Thread tip-bot for Joerg Roedel
Commit-ID: e3e288121408c3abeed5af60b87b95c847143845 Gitweb: https://git.kernel.org/tip/e3e288121408c3abeed5af60b87b95c847143845 Author: Joerg Roedel AuthorDate: Wed, 11 Apr 2018 17:24:38 +0200 Committer: Ingo Molnar CommitDate: Thu, 12 Apr 2018 09:41:41 +0200 x86/pgtable: Don't set hug

[PATCH] timers: remove tvec_base struct declaration

2018-04-12 Thread Liu, Changcheng
timer wheel is implemented by timer_base. tvec_base is obsoleted, so remove the type declaration. Signed-off-by: Liu Changcheng diff --git a/include/linux/timer.h b/include/linux/timer.h index 2448f9c..7b066fd 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h @@ -8,8 +8,6 @@ #inclu

[PATCH v2] staging: wilc1000: Remove unnecessary braces {} around single statement block

2018-04-12 Thread Eyal Ilsar
Remove unnecessary braces {} around an 'if' statement block with a single statement. Issue found by checkpatch. Signed-off-by: Eyal Ilsar --- Added an empty line before the 'Signed-off-by' line and a space between the name and e-mail address within that line. drivers/staging/wilc1000/wilc_wfi_

Re: [PATCH v4 1/8] arm: shmobile: Add the RZ/N1 arch to the shmobile Kconfig

2018-04-12 Thread Simon Horman
On Tue, Apr 10, 2018 at 09:30:01AM +0100, Michel Pollet wrote: > Add the RZ/N1 Family (Part #R9A06G0xx) ARCH config to the rest of > the Renesas SoC collection. > > Signed-off-by: Michel Pollet > Reviewed-by: Geert Uytterhoeven This change has already been accepted for v4.18.

[GIT PULL] arch/microblaze patches for 4.17-rc1

2018-04-12 Thread Michal Simek
Hi, please pull the following patches to your tree. Thanks, Michal The following changes since commit c698ca5278934c0ae32297a8725ced2e27585d7f: Linux 4.16-rc6 (2018-03-18 17:48:42 -0700) are available in the Git repository at: git://git.monstr.eu/linux-2.6-microblaze.git tags/microblaze-

Re: [PATCH 9/9] mtd: nand: qcom: erased page bitflips detection

2018-04-12 Thread Abhishek Sahu
On 2018-04-10 16:00, Miquel Raynal wrote: Hi Abhishek, On Wed, 4 Apr 2018 18:12:25 +0530, Abhishek Sahu wrote: Some of the newer nand parts can have bit flips in an erased page due to the process technology used. In this case, qpic AFAIK, this has always been possible, it was just rare.

KMSAN: uninit-value in __netif_receive_skb_core

2018-04-12 Thread syzbot
Hello, syzbot hit the following crash on https://github.com/google/kmsan.git/master commit e2ab7e8abba47a2f2698216258e5d8727ae58717 (Fri Apr 6 16:24:31 2018 +) kmsan: temporarily disable visitAsmInstruction() to help syzbot syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=b

KMSAN: uninit-value in netif_skb_features

2018-04-12 Thread syzbot
Hello, syzbot hit the following crash on https://github.com/google/kmsan.git/master commit e2ab7e8abba47a2f2698216258e5d8727ae58717 (Fri Apr 6 16:24:31 2018 +) kmsan: temporarily disable visitAsmInstruction() to help syzbot syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=0

Re: [PATCH] swiotlb: Fix unexpected swiotlb_alloc_coherent() failures

2018-04-12 Thread Takashi Iwai
On Thu, 12 Apr 2018 08:02:27 +0200, Christoph Hellwig wrote: > > On Wed, Apr 11, 2018 at 09:28:54AM +0200, Takashi Iwai wrote: > > > But we should try a GFP_DMA32 allocation first, so this is a bit > > > surprising. > > > > Hm, do we really try that? > > Through a quick glance, dma_alloc_coherent

Re: KMSAN: uninit-value in netif_skb_features

2018-04-12 Thread Dmitry Vyukov
On Thu, Apr 12, 2018 at 10:01 AM, syzbot wrote: > Hello, > > syzbot hit the following crash on https://github.com/google/kmsan.git/master > commit > e2ab7e8abba47a2f2698216258e5d8727ae58717 (Fri Apr 6 16:24:31 2018 +) > kmsan: temporarily disable visitAsmInstruction() to help syzbot > syzbot d

Re: [PATCH] mmap.2: document new MAP_FIXED_NOREPLACE flag

2018-04-12 Thread Michael Kerrisk (man-pages)
Hello Michal, On 04/11/2018 02:04 PM, mho...@kernel.org wrote: > From: Michal Hocko > > 4.17+ kernels offer a new MAP_FIXED_NOREPLACE flag which allows the caller to > atomicaly probe for a given address range. > > [wording heavily updated by John Hubbard ] > Signed-off-by: Michal Hocko Thank

Re: KMSAN: uninit-value in __netif_receive_skb_core

2018-04-12 Thread Dmitry Vyukov
On Thu, Apr 12, 2018 at 10:01 AM, syzbot wrote: > Hello, > > syzbot hit the following crash on https://github.com/google/kmsan.git/master > commit > e2ab7e8abba47a2f2698216258e5d8727ae58717 (Fri Apr 6 16:24:31 2018 +) > kmsan: temporarily disable visitAsmInstruction() to help syzbot > syzbot d

Re: [Xen-devel] [PATCH] x86/xen: zero MSR_IA32_SPEC_CTRL before suspend

2018-04-12 Thread Ingo Molnar
* Jan Beulich wrote: > >>> On 12.04.18 at 09:32, wrote: > > > * Jan Beulich wrote: > > > >> >>> On 11.04.18 at 13:53, wrote: > >> > * Jan Beulich wrote: > >> > > >> >> Additionally, x86 maintainers: is there a particular reason this (or > >> >> any functionally equivalent patch) isn't ups

Re: [PATCH v3 0/5] V3M-Eagle HDMI output enablement

2018-04-12 Thread Simon Horman
On Wed, Apr 11, 2018 at 02:43:05PM +0200, Jacopo Mondi wrote: > Hello, >I have rebased the Eagle display enablement on top of (part of) Sergei's > series: > [PATCH v2 0/5] Add R8A77970/V3MSK LVDS/HDMI support Hi Jacopo, the emails with the patches of this series do not seem to have hit my in

Re: [PATCH] mmap.2: document new MAP_FIXED_NOREPLACE flag

2018-04-12 Thread Michael Kerrisk (man-pages)
On 04/11/2018 06:40 PM, Jann Horn wrote: > On Wed, Apr 11, 2018 at 6:36 PM, Michal Hocko wrote: >> On Wed 11-04-18 17:37:46, Jann Horn wrote: >>> On Wed, Apr 11, 2018 at 2:04 PM, wrote: From: Michal Hocko 4.17+ kernels offer a new MAP_FIXED_NOREPLACE flag which allows the caller

Re: [PATCH] mmap.2: document new MAP_FIXED_NOREPLACE flag

2018-04-12 Thread Michael Kerrisk (man-pages)
Hi Jann, On 04/11/2018 06:40 PM, Jann Horn wrote: > On Wed, Apr 11, 2018 at 6:36 PM, Michal Hocko wrote: >> On Wed 11-04-18 17:37:46, Jann Horn wrote: >>> On Wed, Apr 11, 2018 at 2:04 PM, wrote: From: Michal Hocko 4.17+ kernels offer a new MAP_FIXED_NOREPLACE flag which allows t

Re: [PATCH v3 0/5] V3M-Eagle HDMI output enablement

2018-04-12 Thread jacopo mondi
Hi Simon, On Thu, Apr 12, 2018 at 10:08:27AM +0200, Simon Horman wrote: > On Wed, Apr 11, 2018 at 02:43:05PM +0200, Jacopo Mondi wrote: > > Hello, > >I have rebased the Eagle display enablement on top of (part of) Sergei's > > series: > > [PATCH v2 0/5] Add R8A77970/V3MSK LVDS/HDMI support >

Re: [PATCH] checkpatch: Add a --strict test for structs with bool member definitions

2018-04-12 Thread Peter Zijlstra
On Thu, Apr 12, 2018 at 09:47:19AM +0200, Ingo Molnar wrote: > lkml.org is nice in emails that have a short expected life time and relevance > - I like lkml.org's archive (although it's not without its problems), but the site suffers from serious availability issues -- it is down a lot, which is

[PATCH v3 0/5] V3M-Eagle HDMI output enablement

2018-04-12 Thread Jacopo Mondi
Hello, I have rebased the Eagle display enablement on top of (part of) Sergei's series: [PATCH v2 0/5] Add R8A77970/V3MSK LVDS/HDMI support Simon: you can skip "[1/5] arm64: dts: renesas: r8a77970: add FCPVD support" as you already collected that Sergei: I re-sent your series because there w

Re: [PATCH] checkpatch: Add a --strict test for structs with bool member definitions

2018-04-12 Thread Peter Zijlstra
On Wed, Apr 11, 2018 at 11:42:20PM -0700, Joe Perches wrote: > I personally do not find a significant issue with > uncontrolled sizes of bool in kernel structs as > all of the kernel structs are transitory and not > written out to storage. People that care about cache locality, false sharing and o

[PATCH v3 0/5] V3M-Eagle HDMI output enablement

2018-04-12 Thread Jacopo Mondi
Hello, I have rebased the Eagle display enablement on top of (part of) Sergei's series: [PATCH v2 0/5] Add R8A77970/V3MSK LVDS/HDMI support Simon: you can skip "[1/5] arm64: dts: renesas: r8a77970: add FCPVD support" as you already collected that Sergei: I re-sent your series because there w

[PATCH v3 3/5] arm64: dts: renesas: r8a77970: add DU support

2018-04-12 Thread Jacopo Mondi
From: Sergei Shtylyov Define the generic R8A77970 part of the DU device node. Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Laurent Pinchart --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 29 +

[PATCH v3 5/5] arm64: dts: renesas: eagle: Enable HDMI output

2018-04-12 Thread Jacopo Mondi
Enable HDMI output on Renesas R-Car V3M Eagle board. The HDMI ouput is enabled connecting the DU LVDS output to the transparent LVDS converter THC63LVD1024, and successively routing its RGB output to the ADV7511W HDMI encoder. Signed-off-by: Niklas Söderlund Signed-off-by: Jacopo Mondi Reviewed

[PATCH v3 4/5] arm64: dts: renesas: r8a77970: add LVDS support

2018-04-12 Thread Jacopo Mondi
From: Sergei Shtylyov Define the generic R8A77970 part of the LVDS device node. Signed-off-by: Sergei Shtylyov --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77970.dtsi b/arch/arm64

[PATCH v3 1/5] arm64: dts: renesas: r8a77970: add FCPVD support

2018-04-12 Thread Jacopo Mondi
From: Sergei Shtylyov Describe FCPVD0 in the R8A77970 device tree; it will be used by VSPD0 in the next patch... Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Signed-off-by: Niklas Söderlund --- arch/arm64/boot

[PATCH v3 2/5] arm64: dts: renesas: r8a77970: add VSPD support

2018-04-12 Thread Jacopo Mondi
From: Sergei Shtylyov Describe VSPD0 in the R8A77970 device tree; it will be used by DU in the next patch... Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Signed-off-by: Niklas Söderlund Signed-off-by: Jacopo Mo

Re: [PATCH v2] staging: wilc1000: Remove unnecessary braces {} around single statement block

2018-04-12 Thread Claudiu Beznea
On 12.04.2018 10:59, Eyal Ilsar wrote: > Remove unnecessary braces {} around an 'if' statement block with a single > statement. Issue found by checkpatch. > > Signed-off-by: Eyal Ilsar Reviewed-by: Claudiu Beznea > --- > Added an empty line before the 'Signed-off-by' line and a space betwee

Re: [PATCH] gpio: xra1403: Switch to a fixed upper bound for registers

2018-04-12 Thread Linus Walleij
On Mon, Apr 9, 2018 at 11:07 PM, Laura Abbott wrote: > Geert Uytterhoeven pointed out that the number of register was a > fixed upper bound so there's no need to use a dynamically allocated > array in place of a VLA. Use the defined upper bound. > > Suggested-by: Geert Uytterhoeven > Signed-off-

Re: [PATCH] swiotlb: Fix unexpected swiotlb_alloc_coherent() failures

2018-04-12 Thread Takashi Iwai
On Thu, 12 Apr 2018 10:03:56 +0200, Takashi Iwai wrote: > > On Thu, 12 Apr 2018 08:02:27 +0200, > Christoph Hellwig wrote: > > > > On Wed, Apr 11, 2018 at 09:28:54AM +0200, Takashi Iwai wrote: > > > > But we should try a GFP_DMA32 allocation first, so this is a bit > > > > surprising. > > > > >

Re: [PATCH] block/amiflop: Don't log an error message for an invalid ioctl

2018-04-12 Thread Geert Uytterhoeven
On Thu, Apr 12, 2018 at 3:23 AM, Finn Thain wrote: > Do as the swim3 driver does and just return -ENOTTY. > > Cc: Geert Uytterhoeven > Cc: linux-m...@lists.linux-m68k.org > Signed-off-by: Finn Thain Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert

Re: [RFC PATCH v2 1/6] sched/fair: Create util_fits_capacity()

2018-04-12 Thread Dietmar Eggemann
On 04/12/2018 09:02 AM, Viresh Kumar wrote: On 06-04-18, 16:36, Dietmar Eggemann wrote: The functionality that a given utilization fits into a given capacity is factored out into a separate function. Currently it is only used in wake_cap() but will be re-used to figure out if a cpu or a schedul

Re: [PATCH] mmap.2: document new MAP_FIXED_NOREPLACE flag

2018-04-12 Thread Michal Hocko
On Thu 12-04-18 10:04:06, Michael Kerrisk wrote: > Hello Michal, > > On 04/11/2018 02:04 PM, mho...@kernel.org wrote: > > From: Michal Hocko > > > > 4.17+ kernels offer a new MAP_FIXED_NOREPLACE flag which allows the caller > > to > > atomicaly probe for a given address range. > > > > [wording

[PATCH] perf test: Adapt test case record+probe_libc_inet_pton.sh for s390

2018-04-12 Thread Thomas Richter
perf test case 58 (record+probe_libc_inet_pton.sh) executed on s390x using kernel 4.16.0rc3 displays this result: # ./perf trace --no-syscalls -e probe_libc:inet_pton/call-graph=dwarf/ ping -6 -c 1 ::1 probe_libc:inet_pton: (3ffa0240448) __GI___inet_pton (/usr/lib64/l

Re: [PATCH 24/24] debugfs: Restrict debugfs when the kernel is locked down

2018-04-12 Thread Greg KH
On Wed, Apr 11, 2018 at 07:54:12PM -0700, Andy Lutomirski wrote: > On Wed, Apr 11, 2018 at 1:33 PM, Greg KH wrote: > > On Wed, Apr 11, 2018 at 09:09:16PM +0100, David Howells wrote: > >> Greg KH wrote: > >> > >> > Why not just disable debugfs entirely? This half-hearted way to sorta > >> > lock

Re: [PATCH 4.9 022/310] pidns: disable pid allocation if pid_ns_prepare_proc() is failed in alloc_pid()

2018-04-12 Thread Greg Kroah-Hartman
On Wed, Apr 11, 2018 at 02:27:19PM -0500, Eric W. Biederman wrote: > Greg Kroah-Hartman writes: > > > 4.9-stable review patch. If anyone has any objections, please let me > > know. > > No objections but if you are grabbing that one please check if you > have it's follow on fix. > > c0ee554906c

Re: [PATCH] swiotlb: Fix unexpected swiotlb_alloc_coherent() failures

2018-04-12 Thread Takashi Iwai
On Thu, 12 Apr 2018 10:19:05 +0200, Takashi Iwai wrote: > > On Thu, 12 Apr 2018 10:03:56 +0200, > Takashi Iwai wrote: > > > > On Thu, 12 Apr 2018 08:02:27 +0200, > > Christoph Hellwig wrote: > > > > > > On Wed, Apr 11, 2018 at 09:28:54AM +0200, Takashi Iwai wrote: > > > > > But we should try a G

Re: net_dim() may use uninitialized data

2018-04-12 Thread Tal Gilboa
On 4/5/2018 4:13 PM, Geert Uytterhoeven wrote: Hi Tal, With gcc-4.1.2: drivers/net/ethernet/broadcom/bcmsysport.c: In function ‘bcm_sysport_poll’: include/linux/net_dim.h:354: warning: ‘curr_stats.ppms’ may be used uninitialized in this function include/linux/net_dim.h:354: warni

Re: [PATCHv4] gpio: Remove VLA from gpiolib

2018-04-12 Thread Linus Walleij
On Wed, Apr 11, 2018 at 3:03 AM, Laura Abbott wrote: > The new challenge is to remove VLAs from the kernel > (see https://lkml.org/lkml/2018/3/7/621) to eventually > turn on -Wvla. > > Using a kmalloc array is the easy way to fix this but kmalloc is still > more expensive than stack allocation. I

Re: [PATCH v13 5/6] PCI: Unify wait for link active into generic PCI

2018-04-12 Thread poza
On 2018-04-10 04:55, Keith Busch wrote: On Mon, Apr 09, 2018 at 10:41:53AM -0400, Oza Pawandeep wrote: +/** + * pcie_wait_for_link - Wait for link till it's active/inactive + * @pdev: Bridge device + * @active: waiting for active or inactive ? + * + * Use this to wait till link becomes active or

Re: [PATCH] ARM: omap2: Fix build when using split object directories

2018-04-12 Thread Anders Roxell
On 2018-04-11 16:15, Dave Gerlach wrote: > The sleep33xx and sleep43xx files should not depend on a header file > generated in drivers/memory. Remove this dependency and instead allow > both drivers/memory and arch/arm/mach-omap2 to generate all macros > needed in headers local to their own paths.

Re: [PATCH v6 4/9] dt-bindings: gpio: Add gpio nodes for Actions S900 SoC

2018-04-12 Thread Linus Walleij
On Wed, Mar 28, 2018 at 7:46 PM, Manivannan Sadhasivam wrote: > Add gpio nodes for Actions Semi S900 SoC. > > Signed-off-by: Manivannan Sadhasivam This should probably have Subject "add bindings" rather than "add gpio nodes" but it's fine, I can fix it up when applying if I just get Rob's ACK o

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

2018-04-12 Thread Libin (Huawei)
在 2018/4/11 18:26, Peter Zijlstra 写道: On Tue, Apr 10, 2018 at 06:05:46PM -0400, Steven Rostedt wrote: Peter, Going through my inbox, I stumbled across this one. And it doesn't appear to be addressed. I think this patch is a reasonable solution. Urgh, yeah, also seem to have forgotten about

Re: [PATCH] block: ratelimite pr_err on IO path

2018-04-12 Thread Jinpu Wang
On Wed, Apr 11, 2018 at 7:07 PM, Elliott, Robert (Persistent Memory) wrote: >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >> ow...@vger.kernel.org] On Behalf Of Jack Wang >> Sent: Wednesday, April 11, 2018 8:21 AM >> Subject: [PATCH] block: ratelim

[PATCH] spi: imx: Update MODULE_DESCRIPTION to "SPI Controller driver"

2018-04-12 Thread wangbo
Now i.MX SPI controller can work in Slave mode. Update MODULE_DESCRIPTION to "SPI Controller driver". Signed-off-by: wangbo --- drivers/spi/spi-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c index 6f57592..a056ee8 100644 --

Re: [PATCH] scsi: qla2xxx: reduce the time granularity of qla2x00_eh_wait_on_command

2018-04-12 Thread jianchao.wang
Would anyone please take a review on this ? Thanks in advance Jianchao On 04/10/2018 04:48 PM, Jianchao Wang wrote: > If the cmd has not be returned after aborted by qla2x00_eh_abort, > we have to wait for it. However, the time is 1000ms at least currently. > If there are a lot cmds need to be ab

Re: [PATCH v7 4/9] dt-bindings: gpio: Add gpio nodes for Actions S900 SoC

2018-04-12 Thread Linus Walleij
On Wed, Apr 4, 2018 at 7:22 PM, Manivannan Sadhasivam wrote: > Add gpio nodes for Actions Semi S900 SoC. > > Signed-off-by: Manivannan Sadhasivam Renamed from "gpio nodes" to "gpio bindings" and applied for v4.18 with Rob's ACK. Yours, Linus Walleij

Re: [PATCH v7 3/9] pinctrl: actions: Add Actions S900 pinctrl driver

2018-04-12 Thread Linus Walleij
On Wed, Apr 4, 2018 at 7:22 PM, Manivannan Sadhasivam wrote: > Add pinctrl driver for Actions Semi S900 SoC. The driver supports > pinctrl, pinmux and pinconf functionalities through a range of registers > common to both gpio driver and pinctrl driver. > > Pinmux functionality is available only f

Re: [PATCH v7 7/9] gpio: Add gpio driver for Actions OWL S900 SoC

2018-04-12 Thread Linus Walleij
On Wed, Apr 4, 2018 at 7:22 PM, Manivannan Sadhasivam wrote: > Add gpio driver for Actions Semi OWL family S900 SoC. Set of registers > controlling the gpio shares the same register range with pinctrl block. > > GPIO registers are organized as 6 banks and each bank controls the > maximum of 32 gp

Re: [PATCH v7 9/9] MAINTAINERS: Add Actions Semi S900 pinctrl and gpio entries

2018-04-12 Thread Linus Walleij
On Wed, Apr 4, 2018 at 7:22 PM, Manivannan Sadhasivam wrote: > Add S900 pinctrl and gpio entries under ARCH_ACTIONS > > Signed-off-by: Manivannan Sadhasivam This should probably also go in through the ARM SoC tree. Reviewed-by: Linus Walleij Again, tell me if things get stuck and I will apply

Re: [PATCH v7 8/9] MAINTAINERS: Add reviewer for ACTIONS platforms

2018-04-12 Thread Linus Walleij
On Wed, Apr 4, 2018 at 7:22 PM, Manivannan Sadhasivam wrote: > Since I'll be working on improving support for ACTIONS platforms, adding > myself as the reviewer. > > Signed-off-by: Manivannan Sadhasivam Andreas: are you funneling patches to ARM SoC for the Actions stuff? Or who is? This should

Re: [PATCH] ARM: omap2: Fix build when using split object directories

2018-04-12 Thread Masahiro Yamada
2018-04-12 17:21 GMT+09:00 Anders Roxell : > On 2018-04-11 16:15, Dave Gerlach wrote: >> The sleep33xx and sleep43xx files should not depend on a header file >> generated in drivers/memory. Remove this dependency and instead allow >> both drivers/memory and arch/arm/mach-omap2 to generate all macro

Re: [PATCH v2] readv.2, io_submit.2: Document RWF_APPEND added in Linux 4.16

2018-04-12 Thread Michael Kerrisk (man-pages)
On 04/06/2018 03:51 PM, Jürg Billeter wrote: > Signed-off-by: Jürg Billeter Thanks, Jürg. Patch applied. Cheers, Michael > --- > Changes since version 1: > - Explain offset handling > > man2/io_submit.2 | 13 + > man2/readv.2 | 17 + > 2 files changed, 30 ins

Re: [RFC tip/locking/lockdep v6 19/20] rcu: Equip sleepable RCU with lockdep dependency graph checks

2018-04-12 Thread Peter Zijlstra
On Thu, Apr 12, 2018 at 10:12:33AM +0800, Boqun Feng wrote: > A trivial fix/hack would be adding local_irq_disable() and > local_irq_enable() around srcu_lock_sync() like: > > static inline void srcu_lock_sync(struct lockdep_map *map) > { > local_irq_disable(); >

Re: [PATCH] drm/vc4: Fix leak of the file_priv that stored the perfmon.

2018-04-12 Thread Boris Brezillon
On Mon, 9 Apr 2018 13:58:13 -0700 Eric Anholt wrote: > Signed-off-by: Eric Anholt > Fixes: 65101d8c9108 ("drm/vc4: Expose performance counters to userspace") Reviewed-by: Boris Brezillon > --- > drivers/gpu/drm/vc4/vc4_drv.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/

Re: [PATCH v7] Revert "PCI: hv: Use device serial number as PCI domain"

2018-04-12 Thread Lorenzo Pieralisi
On Thu, Apr 12, 2018 at 02:44:42AM +, Sridhar Pitchai wrote: > When Linux runs as a guest VM in Hyper-V and Hyper-V adds the virtual PCI > bus to the guest, Hyper-V always provides unique PCI domain. > > commit 4a9b0933bdfc ("PCI: hv: Use device serial number as PCI domain") > overrode unique

Potential problem with 31e77c93e432dec7 ("sched/fair: Update blocked load when newly idle")

2018-04-12 Thread Niklas Söderlund
Hi Vincent, I have observed issues running on linus/master from a few days back [1]. I'm running on a Renesas Koelsch board (arm32) and I can trigger a issue by X forwarding the v4l2 test application qv4l2 over ssh and moving the courser around in the GUI (best test case description award...).

[tip:perf/urgent] perf/core: Need CAP_SYS_ADMIN to create k/uprobe with perf_event_open()

2018-04-12 Thread tip-bot for Song Liu
Commit-ID: 32e6e967fb36bf77ed99221ae3ce1909f045d8f9 Gitweb: https://git.kernel.org/tip/32e6e967fb36bf77ed99221ae3ce1909f045d8f9 Author: Song Liu AuthorDate: Wed, 11 Apr 2018 18:02:37 + Committer: Ingo Molnar CommitDate: Thu, 12 Apr 2018 09:55:50 +0200 perf/core: Need CAP_SYS_ADMIN

[PATCH v2] block: ratelimite pr_err on IO path

2018-04-12 Thread Jack Wang
From: Jack Wang This avoid soft lockup below: [ 2328.328429] Call Trace: [ 2328.328433] vprintk_emit+0x229/0x2e0 [ 2328.328436] ? t10_pi_type3_verify_ip+0x20/0x20 [ 2328.328437] printk+0x52/0x6e [ 2328.328439] t10_pi_verify+0x9e/0xf0 [ 2328.328441] bio_integrity_process+0x12e/0x220 [ 2328.32

Re: [PATCH] memory-model: fix cheat sheet typo

2018-04-12 Thread Andrea Parri
On Wed, Apr 11, 2018 at 01:15:58PM +0200, Paolo Bonzini wrote: > On 10/04/2018 23:34, Paul E. McKenney wrote: > > Glad it helps, and I have queued it for the next merge window. Of course, > > if a further improvement comes to mind, please do not keep it a secret. ;-) > > Yes, there are several c

[GIT PULL] pwm: Changes for v4.17-rc1

2018-04-12 Thread Thierry Reding
Hi Linus, The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git tags/pwm/for-4.17-rc1 for you to fetch chang

Re: [PATCH 4/5] dmaengine: sprd: Add Spreadtrum DMA configuration

2018-04-12 Thread Vinod Koul
On Wed, Apr 11, 2018 at 08:13:28PM +0800, Baolin Wang wrote: > Hi Vinod, > > On 11 April 2018 at 17:36, Vinod Koul wrote: > > On Tue, Apr 10, 2018 at 03:46:06PM +0800, Baolin Wang wrote: > > > >> +/* > >> + * struct sprd_dma_config - DMA configuration structure > >> + * @config: dma slave channel

Re: [PATCH] checkpatch: Add a --strict test for structs with bool member definitions

2018-04-12 Thread Andrea Parri
Hi, On Thu, Apr 12, 2018 at 09:47:19AM +0200, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > I still have room in my /dev/null mailbox for pure checkpatch patches. > > > > > (ooh, https://lkml.org/lkml/2017/11/21/384 is working this morning) > > > > Yes, we really should not use lkml.or

[PATCH v2 0/6] MIPS: perf: MT fixes and improvements

2018-04-12 Thread Matt Redfearn
This series addresses a few issues with how the MIPS performance counters code supports the hardware multithreading MT ASE. Firstly, implementations of the MT ASE may implement performance counters per core or per thread(TC). MIPS Techologies implementations signal this via a bit in the implmentat

[PATCH v2 1/6] MIPS: perf: More robustly probe for the presence of per-tc counters

2018-04-12 Thread Matt Redfearn
Processors implementing the MIPS MT ASE may have performance counters implemented per core or per TC. Processors implemented by MIPS Technologies signify presence per TC through a bit in the implementation specific Config7 register. Currently the code which probes for their presence blindly reads a

[PATCH v2 2/6] MIPS: perf: Use correct VPE ID when setting up VPE tracing

2018-04-12 Thread Matt Redfearn
There are a couple of FIXME's in the perf code which state that cpu_data[event->cpu].vpe_id reports 0 for both CPUs. This is no longer the case, since the vpe_id is used extensively by SMP CPS. VPE local counting gets around this by using smp_processor_id() instead. As it happens this does work co

  1   2   3   4   5   6   7   8   >