Re: [PATCH 1/3] regulator: core: fix boot-on regulators use_count usage

2019-09-23 Thread Doug Anderson
Hi, On Tue, Sep 17, 2019 at 8:40 AM Marco Felsch wrote: > > Since commit 1fc12b05895e ("regulator: core: Avoid propagating to > supplies when possible") regulators marked with boot-on can't be > disabled anymore because the commit handles always-on and boot-on > regulators the same way. > > Now

Re: [PATCH] pinctrl: devicetree.c: remove orphan pinctrl_dt_has_hogs()

2019-09-23 Thread Tony Lindgren
* Rasmus Villemoes [190923 14:20]: > The helper pinctrl_dt_has_hogs() was introduced in > 99e4f67508e1 (pinctrl: core: Use delayed work for hogs), but the sole > use then got removed shortly after in 950b0d91dc10 (pinctrl: core: Fix > regression caused by delayed work for hogs). Oops, thanks for

Re: [PATCH v2 linux-next 1/4] arm: configs: omap2plus_defconfig: Change CONFIG_REMOTEPROC from m to y

2019-09-23 Thread Tony Lindgren
* Keerthy [190920 08:00]: > Commit 6334150e9a36 ("remoteproc: don't allow modular build") > changes CONFIG_REMOTEPROC to a boolean from a tristate config > option which inhibits all defconfigs marking CONFIG_REMOTEPROC as > a module in compiling the remoteproc and dependent config options. > >

[tip: x86/urgent] x86/purgatory: Disable the stackleak GCC plugin for the purgatory

2019-09-23 Thread tip-bot2 for Arvind Sankar
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: ca14c996afe7228ff9b480cf225211cc17212688 Gitweb: https://git.kernel.org/tip/ca14c996afe7228ff9b480cf225211cc17212688 Author:Arvind Sankar AuthorDate:Mon, 23 Sep 2019 13:17:54 -04:00

Re: [PATCH 5/5] arm64: dts: imx8mq: add DCSS node

2019-09-23 Thread Fabio Estevam
On Mon, Sep 23, 2019 at 2:01 PM Lucas Stach wrote: > No, they are not. Those are imx-irqsteer IRQs, this controller has 0 > irq cells, so the description in this patch is correct. Good point, thanks!

[tip: x86/urgent] x86/purgatory: Disable the stackleak GCC plugin for the purgatory

2019-09-23 Thread tip-bot2 for Arvind Sankar
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: ca14c996afe7228ff9b480cf225211cc17212688 Gitweb: https://git.kernel.org/tip/ca14c996afe7228ff9b480cf225211cc17212688 Author:Arvind Sankar AuthorDate:Mon, 23 Sep 2019 13:17:54 -04:00

Re: [PATCH v8 8/9] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-09-23 Thread Dan Murphy
Jacek On 9/21/19 10:11 AM, Jacek Anaszewski wrote: Dan, On 9/20/19 7:41 PM, Dan Murphy wrote: Introduce the LP5036/30/24/18/12/9 RGB LED driver. The difference in these parts are the number of LED outputs where the: LP5036 can control 36 LEDs LP5030 can control 30 LEDs LP5024 can control 24

Re: [PATCH RT v3 3/5] sched: migrate_dis/enable: Use rt_invol_sleep

2019-09-23 Thread Sebastian Andrzej Siewior
On 2019-09-23 11:59:23 [-0500], Scott Wood wrote: > On Tue, 2019-09-17 at 09:06 -0500, Scott Wood wrote: > > On Tue, 2019-09-17 at 09:59 +0200, Sebastian Andrzej Siewior wrote: > > > On 2019-09-11 17:57:27 [+0100], Scott Wood wrote: > > > > diff --git a/kernel/cpu.c b/kernel/cpu.c > > > > index

[PATCH] dt-bindings: at24: convert the binding document to yaml

2019-09-23 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Convert the binding document for at24 EEPROMs from txt to yaml. The compatible property uses a regex pattern to address all the possible combinations of "vendor,model" strings. Signed-off-by: Bartosz Golaszewski --- .../devicetree/bindings/eeprom/at24.txt | 90

Re: [PATCH v5 0/7] hugetlb_cgroup: Add hugetlb_cgroup reservation limits

2019-09-23 Thread Mike Kravetz
On 9/19/19 3:24 PM, Mina Almasry wrote: > Patch series implements hugetlb_cgroup reservation usage and limits, which > track hugetlb reservations rather than hugetlb memory faulted in. Details of > the approach is 1/7. Thanks for your continued efforts Mina. One thing that has bothered me with

[PATCH] dt-bindings: iio: maxbotix,mb1232.yaml: transform to yaml

2019-09-23 Thread Andreas Klinger
transform existing documentation of maxbotix,mb1232 ultrasonic ranger from text documentation format into yaml. Signed-off-by: Andreas Klinger --- .../bindings/iio/proximity/maxbotix,mb1232.txt | 29 --- .../bindings/iio/proximity/maxbotix,mb1232.yaml| 56 ++

Re: [PATCH 15/17] KVM: retpolines: x86: eliminate retpoline from vmx.c exit handlers

2019-09-23 Thread Andrea Arcangeli
On Mon, Sep 23, 2019 at 06:53:10PM +0200, Paolo Bonzini wrote: > On 23/09/19 18:37, Sean Christopherson wrote: > >> Would it be too much if we get rid of > >> kvm_vmx_exit_handlers completely replacing this code with one switch()? > > Hmm, that'd require redirects for nVMX functions since they are

Re: [for-next][PATCH 7/8] tracing/probe: Reject exactly same probe event

2019-09-23 Thread Srikar Dronamraju
> > I think we need something like this: > > > > list_for_each_entry(pos, >probes, list) { > > orig = container_of(pos, struct trace_kprobe, tp); > > if (strcmp(trace_kprobe_symbol(orig), > >trace_kprobe_symbol(comp)) || > >

Re: [PATCH V8 2/2] arm64/mm: Enable memory hot remove

2019-09-23 Thread kbuild test robot
to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Anshuman-Khandual/arm64-mm-Hold-memory-hotplug-lock-while-walking-for-kernel-page-table-dump/20190923-134733 config: arm64-allmodconfig (attached as .config

Re: [PATCH 0/6] tools/lib/traceevent: Man page updates and some file movement

2019-09-23 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 23, 2019 at 11:59:29AM -0400, Steven Rostedt escreveu: > On Mon, 23 Sep 2019 11:12:48 -0400 > Steven Rostedt wrote: > > > Yeah. Let's not apply this one yet till we figure out what broke. I'll > > take a look at it too. > > Does this help? yeap, did the trick, I'm folding this one

Hello Dear Friend

2019-09-23 Thread Mrs. Stellar Maoris
Hello Dear Friend. I’m Mrs. Stellar Maoris a manger in HSBC bank of Spain Madrid, I am sending this brief letter to seek for your partnership and long term relationship, I have an important and urgent issue I want to discuss with you privately about Transaction fund worth the sum of $9.5m

Re: [PATCH 01/17] x86: spec_ctrl: fix SPEC_CTRL initialization after kexec

2019-09-23 Thread Andrea Arcangeli
Hello, On Mon, Sep 23, 2019 at 08:30:57AM -0700, Sean Christopherson wrote: > On Mon, Sep 23, 2019 at 12:22:23PM +0200, Paolo Bonzini wrote: > > On 20/09/19 23:24, Andrea Arcangeli wrote: > > > We can't assume the SPEC_CTRL msr is zero at boot because it could be > > > left enabled by a previous

Re: [PATCH v2] DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again

2019-09-23 Thread Tony Lindgren
* H. Nikolaus Schaller [190920 09:12]: > commit 6953c57ab172 "gpio: of: Handle SPI chipselect legacy bindings" > > did introduce logic to centrally handle the legacy spi-cs-high property > in combination with cs-gpios. This assumes that the polarity > of the CS has to be inverted if spi-cs-high

Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-09-23 Thread Dmitry Osipenko
23.09.2019 16:56, Viresh Kumar пишет: > On 22-09-19, 23:12, Dmitry Osipenko wrote: >> This patch causes use-after-free on a cpufreq driver module reload. Please >> take a look, thanks in advance. >> >> >> [ 87.952369] >> == >> [

Re: [PATCH v2 11/11] powerpc/mm/book3s64/pgtable: Uses counting method to skip serializing

2019-09-23 Thread Leonardo Bras
On Fri, 2019-09-20 at 17:48 -0700, John Hubbard wrote: > [...] > So it seems that full memory barriers (not just compiler barriers) are > required. > If the irq enable/disable somehow provides that, then your new code just goes > along for the ride and Just Works. (You don't have any memory

Re: [PATCH] x86/purgatory: Add $(DISABLE_STACKLEAK_PLUGIN)

2019-09-23 Thread Nick Desaulniers
On Mon, Sep 23, 2019 at 10:17 AM Arvind Sankar wrote: > > Since commit b059f801a937 ("x86/purgatory: Use CFLAGS_REMOVE rather than > reset KBUILD_CFLAGS") kexec breaks is GCC_PLUGIN_STACKLEAK is enabled, as > the purgatory contains undefined references to stackleak_track_stack. > Attempting to

[GIT PULL] Smack patches for v5.4

2019-09-23 Thread Casey Schaufler
Hello Linus I have four patches for v5.4. Nothing is major. All but one are in response to mechanically detected potential issues. The remaining patch cleans up kernel-doc notations. This is my first direct pull request. I think I have followed process correctly, but if not I will attend to my

Re: [RFC patch 10/15] x86/entry: Move irq tracing to C code

2019-09-23 Thread Andy Lutomirski
On Mon, Sep 23, 2019 at 5:10 AM Peter Zijlstra wrote: > > On Mon, Sep 23, 2019 at 01:55:51PM +0200, Peter Zijlstra wrote: > > On Mon, Sep 23, 2019 at 01:49:20PM +0200, Peter Zijlstra wrote: > > > While walking the kids to school I wondered WTH we need to call > > > TRACE_IRQS_OFF in the first

Re: [PATCH v2 1/2] rtc: wilco-ec: Remove yday and wday calculations

2019-09-23 Thread Nick Crews
On Sun, Sep 22, 2019 at 1:05 PM Alexandre Belloni wrote: > > On 22/09/2019 18:13:06+0200, Pavel Machek wrote: > > On Mon 2019-09-16 12:12:15, Nick Crews wrote: > > > The tm_yday and tm_wday fields are not used by userspace, > > > so since they aren't needed within the driver, don't > > > bother

[PATCH] RDMA/core: Fix an error handling path in 'res_get_common_doit()'

2019-09-23 Thread Christophe JAILLET
According to surrounding error paths, it is likely that 'goto err_get;' is expected here. Otherwise, a call to 'rdma_restrack_put(res);' would be missing. Fixes: c5dfe0ea6ffa ("RDMA/nldev: Add resource tracker doit callback") Signed-off-by: Christophe JAILLET --- drivers/infiniband/core/nldev.c

[PATCH] x86/purgatory: Add $(DISABLE_STACKLEAK_PLUGIN)

2019-09-23 Thread Arvind Sankar
Since commit b059f801a937 ("x86/purgatory: Use CFLAGS_REMOVE rather than reset KBUILD_CFLAGS") kexec breaks is GCC_PLUGIN_STACKLEAK is enabled, as the purgatory contains undefined references to stackleak_track_stack. Attempting to load a kexec kernel results in: kexec: Undefined symbol:

Re: [for-next][PATCH 7/8] tracing/probe: Reject exactly same probe event

2019-09-23 Thread Masami Hiramatsu
On Mon, 23 Sep 2019 16:12:53 +0530 Srikar Dronamraju wrote: > Hey Masami, Steven > > > > > +static bool trace_kprobe_has_same_kprobe(struct trace_kprobe *orig, > > +struct trace_kprobe *comp) > > +{ > > + struct trace_probe_event *tpe = orig->tp.event; >

Re: [PATCH v2 1/5] perf cs-etm: Refactor instruction size handling

2019-09-23 Thread Leo Yan
Hi Suzuki, On Mon, Sep 23, 2019 at 05:51:04PM +0100, Suzuki K Poulose wrote: > Hi Leo, > > On 23/09/2019 17:07, Leo Yan wrote: > > In cs-etm.c there have several functions need to know instruction size > > based on address, e.g. cs_etm__instr_addr() and cs_etm__copy_insn() > > these two

Re: [PATCH v2 2/2] rtc: wilco-ec: Fix license to GPL from GPLv2

2019-09-23 Thread Nick Crews
Would you like me to change this patch at all? Perhaps reference bf7fbeeae6db in the commit description? I probably should have done that since the beginning, I just couldn't find bf7fbeeae6db at first. Thanks, Nick On Sun, Sep 22, 2019 at 2:43 PM Alexandre Belloni wrote: > > On 22/09/2019

Re: [Patch v2 5/7] media: i2c: ov2659: Add powerdown/reset gpio handling

2019-09-23 Thread Sakari Ailus
On Mon, Sep 23, 2019 at 12:05:57PM -0500, Benoit Parrot wrote: > Sakari Ailus wrote on Mon [2019-Sep-23 > 09:17:32 +0300]: > > Hi Benoit, > > > > On Fri, Sep 20, 2019 at 11:55:29AM -0500, Benoit Parrot wrote: > > ... > > > > > @@ -1400,6 +1440,18 @@ static int ov2659_probe(struct i2c_client >

Re: [PATCH v8 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-23 Thread Catalin Marinas
On Sat, Sep 21, 2019 at 09:50:54PM +0800, Jia He wrote: > @@ -2151,21 +2163,53 @@ static inline void cow_user_page(struct page *dst, > struct page *src, unsigned lo >* fails, we just zero-fill it. Live with it. >*/ > if (unlikely(!src)) { > - void *kaddr =

Re: [Patch v2 5/7] media: i2c: ov2659: Add powerdown/reset gpio handling

2019-09-23 Thread Benoit Parrot
Sakari Ailus wrote on Mon [2019-Sep-23 09:17:32 +0300]: > Hi Benoit, > > On Fri, Sep 20, 2019 at 11:55:29AM -0500, Benoit Parrot wrote: > ... > > > > @@ -1400,6 +1440,18 @@ static int ov2659_probe(struct i2c_client > > > > *client) > > > > ov2659->xvclk_frequency > 2700) > > >

Re: [PATCH 5/5] arm64: dts: imx8mq: add DCSS node

2019-09-23 Thread Lucas Stach
Am Montag, den 23.09.2019, 13:12 -0300 schrieb Fabio Estevam: > Hi Laurentiu, > > On Mon, Sep 23, 2019 at 11:14 AM Laurentiu Palcu > wrote: > > > + > > + dcss: dcss@0x32e0 { > > Node names should be generic, so: > > dcss: display-controller@32e0 > > > +

Re: [PATCH RT v3 3/5] sched: migrate_dis/enable: Use rt_invol_sleep

2019-09-23 Thread Scott Wood
On Tue, 2019-09-17 at 09:06 -0500, Scott Wood wrote: > On Tue, 2019-09-17 at 09:59 +0200, Sebastian Andrzej Siewior wrote: > > On 2019-09-11 17:57:27 [+0100], Scott Wood wrote: > > > diff --git a/kernel/cpu.c b/kernel/cpu.c > > > index 885a195dfbe0..32c6175b63b6 100644 > > > --- a/kernel/cpu.c > >

Re: [PATCH v2 3/9] csky: entry: Remove unneeded need_resched() loop

2019-09-23 Thread Guo Ren
Ok, I'll put in my tree :) On Mon, Sep 23, 2019 at 10:36 PM Valentin Schneider wrote: > > Since the enabling and disabling of IRQs within preempt_schedule_irq() > is contained in a need_resched() loop, we don't need the outer arch > code loop. > > Acked-by: Guo Ren > Signed-off-by: Valentin

Re: [PATCH 5/5] arm64: dts: imx8mq: add DCSS node

2019-09-23 Thread Stephen Boyd
Quoting Laurentiu Palcu (2019-09-23 07:13:19) > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > index 52aae34..d4aa778 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > @@ -871,6

Re: [PATCH 15/17] KVM: retpolines: x86: eliminate retpoline from vmx.c exit handlers

2019-09-23 Thread Paolo Bonzini
On 23/09/19 18:37, Sean Christopherson wrote: >> Would it be too much if we get rid of >> kvm_vmx_exit_handlers completely replacing this code with one switch()? > Hmm, that'd require redirects for nVMX functions since they are set at > runtime. That isn't necessarily a bad thing. The approach

Re: [PATCH 02/17] KVM: monolithic: x86: convert the kvm_x86_ops methods to external functions

2019-09-23 Thread Paolo Bonzini
On 23/09/19 18:13, Sean Christopherson wrote: > Alternatively, what if we use macros in the call sites, e.g. keep/require > vmx_ and svm_ prefixes for all functions, renaming VMX and SVM code as > needed? E.g.: > > > #define X86_OP(name) kvm_x86_vendor##_##name > > int kvm_arch_init(void

Re: [PATCH v2 1/5] perf cs-etm: Refactor instruction size handling

2019-09-23 Thread Suzuki K Poulose
Hi Leo, On 23/09/2019 17:07, Leo Yan wrote: In cs-etm.c there have several functions need to know instruction size based on address, e.g. cs_etm__instr_addr() and cs_etm__copy_insn() these two functions both calculate the instruction size separately. Furthermore, if we consider to add new

[PATCH] Input: atmel_mxt_ts - Disable IRQ across suspend

2019-09-23 Thread Evan Green
Across suspend and resume, we are seeing error messages like the following: atmel_mxt_ts i2c-PRP0001:00: __mxt_read_reg: i2c transfer failed (-121) atmel_mxt_ts i2c-PRP0001:00: Failed to read T44 and T5 (-121) This occurs because the driver leaves its IRQ enabled. Upon resume, there is an IRQ

Re: [PATCH v6 2/2] EDAC: add EDAC driver for DMC520

2019-09-23 Thread Borislav Petkov
On Thu, Sep 19, 2019 at 06:37:18PM +, Lei Wang wrote: > New driver supports error detection and correction on the devices with ARM > DMC-520 memory controller. > > Signed-off-by: Lei Wang > Reviewed-by: James Morse > --- > Changes in v6: > - Refactored dmc520_edac_probe to move

Re: [PATCH 2/3] KVM: x86: hyper-v: set NoNonArchitecturalCoreSharing CPUID bit when SMT is impossible

2019-09-23 Thread Paolo Bonzini
On 23/09/19 17:37, Peter Zijlstra wrote: >> This patch reports NoNonArchitecturalCoreSharing bit in to userspace in the >> first case. The second case is outside of KVM's domain of responsibility >> (as vCPU pinning is actually done by someone who manages KVM's userspace - >> e.g. libvirt pinning

Re: [PATCH AUTOSEL 5.2 072/185] ALSA: hda: Add codec on bus address table lately

2019-09-23 Thread Sasha Levin
On Mon, Sep 23, 2019 at 03:40:45PM +0200, Takashi Iwai wrote: On Mon, 23 Sep 2019 15:30:25 +0200, Sasha Levin wrote: On Sun, Sep 22, 2019 at 09:06:12PM +0200, Takashi Iwai wrote: >On Sun, 22 Sep 2019 20:47:30 +0200, >Sasha Levin wrote: >> >> From: Takashi Iwai >> >> [ Upstream commit

Re: Problems with arm64 compat vdso

2019-09-23 Thread Ard Biesheuvel
On Fri, 20 Sep 2019 at 18:33, Vincenzo Frascino wrote: > > Hi Will, > > thank you for reporting this. > > On 20/09/2019 15:27, Will Deacon wrote: > > Hi Vincenzo, > > > > I've been running into a few issues with the COMPAT vDSO. Please could > > you have a look? > > > > I will be at Linux Recipes

Re: [PATCH RT v3 1/5] rcu: Acquire RCU lock when disabling BHs

2019-09-23 Thread Sebastian Andrzej Siewior
On 2019-09-17 11:12:48 [-0500], Scott Wood wrote: > > rcu_read_lock() does: > > > __rcu_read_lock(); > > > __acquire(RCU); > > > rcu_lock_acquire(_lock_map); > > > RCU_LOCKDEP_WARN(!rcu_is_watching(), > > > "rcu_read_lock() used illegally

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Alexander Duyck
On Mon, Sep 23, 2019 at 8:46 AM David Hildenbrand wrote: > > On 23.09.19 17:37, Michael S. Tsirkin wrote: > > On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > >> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: > >>> > >>> On Mon, Sep 23, 2019 at 07:50:15AM -0700,

Re: [PATCH V2 1/2] usb: dwc3: Add node to update cache type setting

2019-09-23 Thread Yang Li
On Thu, Jul 25, 2019 at 4:56 PM Rob Herring wrote: > > On Wed, Jul 24, 2019 at 8:29 PM Ran Wang wrote: > > > > Hi Rob, > > > > On Thursday, July 25, 2019 04:42 Rob Herring wrote: > > > > > > On Fri, Jul 12, 2019 at 02:42:05PM +0800, Ran Wang wrote: > > > > Some Layerscape paltforms (such as

Re: [PATCH 15/17] KVM: retpolines: x86: eliminate retpoline from vmx.c exit handlers

2019-09-23 Thread Sean Christopherson
On Mon, Sep 23, 2019 at 11:31:58AM +0200, Vitaly Kuznetsov wrote: > Andrea Arcangeli writes: > > > It's enough to check the exit value and issue a direct call to avoid > > the retpoline for all the common vmexit reasons. > > > > Signed-off-by: Andrea Arcangeli > > --- > >

Re: [PATCH net-next] tuntap: Fallback to automq on TUNSETSTEERINGEBPF prog negative return

2019-09-23 Thread Matt Cover
On Sun, Sep 22, 2019 at 10:16 PM Jason Wang wrote: > > > On 2019/9/23 上午11:18, Matt Cover wrote: > > On Sun, Sep 22, 2019 at 7:34 PM Jason Wang wrote: > >> > >> On 2019/9/23 上午9:15, Matt Cover wrote: > >>> On Sun, Sep 22, 2019 at 5:51 PM Jason Wang wrote: > On 2019/9/23 上午6:30, Matt Cover

ntp audit spew.

2019-09-23 Thread Dave Jones
I have some hosts that are constantly spewing audit messages like so: [46897.591182] audit: type=1333 audit(1569250288.663:220): op=offset old=2543677901372 new=2980866217213 [46897.591184] audit: type=1333 audit(1569250288.663:221): op=freq old=-2443166611284 new=-2436281764244 [48850.604005]

[PATCH v2] ASoC: Intel: kbl_rt5663_rt5514_max98927: Add dmic format constraint

2019-09-23 Thread Yu-Hsuan Hsu
On KBL platform, the microphone is attached to external codec(rt5514) instead of PCH. However, TDM slot between PCH and codec is 16 bits only. In order to avoid setting wrong format, we should add a constraint to force to use 16 bits format forever. Signed-off-by: Yu-Hsuan Hsu --- I have updated

Re: [PATCH 15/17] KVM: retpolines: x86: eliminate retpoline from vmx.c exit handlers

2019-09-23 Thread Sean Christopherson
Subject should be something like: KVM: VMX: Make direct calls to fast path VM-Exit handlers On Fri, Sep 20, 2019 at 05:25:07PM -0400, Andrea Arcangeli wrote: > It's enough to check the exit value and issue a direct call to avoid > the retpoline for all the common vmexit reasons. > >

Re: [PATCH RT v3 5/5] rcutorture: Avoid problematic critical section nesting on RT

2019-09-23 Thread Sebastian Andrzej Siewior
On 2019-09-17 11:32:11 [-0500], Scott Wood wrote: > Nice! Are the "false positives" real issues from components that are > currently blacklisted on RT, or something different? So first a little bit of infrastructure like commit d5096aa65acd0 ("sched: Mark hrtimers to expire in hard interrupt

Re: [PATCH -next] nfsd: Make nfsd_reset_boot_verifier_locked static

2019-09-23 Thread J. Bruce Fields
On Mon, Sep 23, 2019 at 01:58:59PM +0800, YueHaibing wrote: > Fix sparse warning: > > fs/nfsd/nfssvc.c:364:6: warning: > symbol 'nfsd_reset_boot_verifier_locked' was not declared. Should it be > static? > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing OK, applied for 5.4.--b. > ---

Re: [PATCH v8 2/3] arm64: mm: implement arch_faults_on_old_pte() on arm64

2019-09-23 Thread Catalin Marinas
On Sat, Sep 21, 2019 at 09:50:53PM +0800, Jia He wrote: > diff --git a/arch/arm64/include/asm/pgtable.h > b/arch/arm64/include/asm/pgtable.h > index e09760ece844..4a9939615e41 100644 > --- a/arch/arm64/include/asm/pgtable.h > +++ b/arch/arm64/include/asm/pgtable.h > @@ -868,6 +868,18 @@ static

Re: kexec broken with STACKLEAK enabled

2019-09-23 Thread Nick Desaulniers
On Sun, Sep 22, 2019 at 10:32 AM Arvind Sankar wrote: > > Hi, since commit b059f801a937 (x86/purgatory: Use CFLAGS_REMOVE rather > than reset KBUILD_CFLAGS) kexec is broken if GCC_PLUGIN_STACKLEAK is > enabled, as the purgatory contains undefined references to > stackleak_track_stack. > >

[RFT v4 5/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos4412

2019-09-23 Thread Krzysztof Kozlowski
Multi Core Timer node has interrupts routed to two different parents - GIC and combiner. This was modeled with a interrupt-map within a subnode but can be expressed in an easier and more common way, directly in the node itself. Tested on Odroid U3 (Exynos4412). Signed-off-by: Krzysztof

[PATCH v4 8/8] ARM: dts: exynos: Use defines for MCT interrupt GIC SPI/PPI specifier

2019-09-23 Thread Krzysztof Kozlowski
Replace hard-coded number with appropriate define for GIC SPI or PPI specifier in interrupt. This makes code easier to read. No expected functionality change. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4210.dtsi | 8 arch/arm/boot/dts/exynos4412.dtsi | 4 ++--

[PATCH v4 7/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos54xx

2019-09-23 Thread Krzysztof Kozlowski
Multi Core Timer node has interrupts routed to two different parents - GIC and combiner. This was modeled with a interrupt-map within a subnode but can be expressed in an easier and more common way, directly in the node itself. Tested on Odroid XU (Exynos5410), Odroid HC1 (Exynos5422) and

[RFT v4 6/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos5250

2019-09-23 Thread Krzysztof Kozlowski
Multi Core Timer node has interrupts routed to two different parents - GIC and combiner. This was modeled with a interrupt-map within a subnode but can be expressed in an easier and more common way, directly in the node itself. Signed-off-by: Krzysztof Kozlowski --- Not tested. Changes since

[RFT v4 4/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos4210

2019-09-23 Thread Krzysztof Kozlowski
Multi Core Timer node has interrupts routed to two different parents - GIC and combiner. This was modeled with a interrupt-map within a subnode but can be expressed in an easier and more common way, directly in the node itself. Signed-off-by: Krzysztof Kozlowski --- Not tested. Changes since

Re: [PATCH] arm: export memblock_reserve()d regions via /proc/iomem

2019-09-23 Thread Russell King - ARM Linux admin
On Mon, Sep 23, 2019 at 11:42:54PM +0800, Yu Chen wrote: > From: Yu Chen > > On Sat, 21 Sep 2019 15:51:38, Russell King - ARM Linux admin wrote: > > On Sat, Sep 21, 2019 at 09:02:49PM +0800, Yu Chen wrote: > > > From: Yu Chen > > > > > > memblock reserved regions are not reported via

[PATCH v4 3/8] arm64: dts: exynos: Rename Multi Core Timer node to "timer"

2019-09-23 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the Multi Core Timer node from "mct" to "timer". This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 2 +- 1 file

[PATCH v4 2/8] ARM: dts: exynos: Rename Multi Core Timer node to "timer"

2019-09-23 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the Multi Core Timer node from "mct" to "timer". This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250.dtsi | 2 +-

[PATCH v4 1/8] dt-bindings: timer: Convert Exynos MCT bindings to json-schema

2019-09-23 Thread Krzysztof Kozlowski
Convert Samsung Exynos Soc Multi Core Timer bindings to DT schema format using json-schema. Signed-off-by: Krzysztof Kozlowski --- Changes since v3: 1. Use interrupts-extended instead of interrupts-map. Changes since v1: 1. Indent example with four spaces (more readable), 2. Rename nodes in

Re: [PATCH] rcu/nocb: Fix uninitialized variable in nocb_gp_wait()

2019-09-23 Thread Paul E. McKenney
On Mon, Sep 23, 2019 at 05:26:34PM +0300, Dan Carpenter wrote: > We never set this to false. This probably doesn't affect most people's > runtime because GCC will automatically initialize it to false at certain > common optimization levels. But that behavior is related to a bug in > GCC and

Re: [PATCH 02/17] KVM: monolithic: x86: convert the kvm_x86_ops methods to external functions

2019-09-23 Thread Sean Christopherson
On Mon, Sep 23, 2019 at 12:19:30PM +0200, Paolo Bonzini wrote: > On 20/09/19 23:24, Andrea Arcangeli wrote: > > diff --git a/arch/x86/kvm/svm_ops.c b/arch/x86/kvm/svm_ops.c > > new file mode 100644 > > index ..2aaabda92179 > > --- /dev/null > > +++ b/arch/x86/kvm/svm_ops.c > > @@ -0,0

Re: [PATCH 5/5] arm64: dts: imx8mq: add DCSS node

2019-09-23 Thread Fabio Estevam
Hi Laurentiu, On Mon, Sep 23, 2019 at 11:14 AM Laurentiu Palcu wrote: > + > + dcss: dcss@0x32e0 { Node names should be generic, so: dcss: display-controller@32e0 > + #address-cells = <1>; > +

Re: [PATCH] thermal: qoriq: add thermal monitor unit version 2 support

2019-09-23 Thread Daniel Lezcano
On 23/09/2019 11:24, Andy Tang wrote: > Hi Rui, Edubezval, > > Would you please review this patch? Eduardo, can you give an update about the thermal maintenance discussion we had at LPC2019? Thanks -- Daniel >> -Original Message- >> From: Andy Tang >> Sent: 2019年8月29日 16:38 >> To:

Re: [PATCH v6 1/2] dt-bindings: edac: arm-dmc520.txt

2019-09-23 Thread Borislav Petkov
On Thu, Sep 19, 2019 at 06:37:00PM +, Lei Wang wrote: > This is the device tree bindings for new EDAC driver dmc520_edac.c. > > Signed-off-by: Lei Wang > Reviewed-by: James Morse > > --- > No change in v6. > --- > .../devicetree/bindings/edac/arm-dmc520.txt | 26 +++

[PATCH v2 5/5] perf cs-etm: Correct callchain for instruction sample

2019-09-23 Thread Leo Yan
The synthesized flow use 'tidq->packet' for instruction samples, comparing against the thread stack and the branch samples which are uses the 'tidp->prev_packet', thus the instruction samples result in using an packet ahead than thread stack and branch samples. This leads to an instruction's

[PATCH v2 0/5] perf cs-etm: Support thread stack and callchain

2019-09-23 Thread Leo Yan
This patch series adds support for thread stack and callchain. Patch 01 is to refactor the instruction size calculation and it is a preparation for patch 02. Patch 02 is to add thread stack support, after applying this patch then the option '-F,+callindent' can be used by perf script tool; patch

[PATCH v2 3/5] perf cs-etm: Support branch filter

2019-09-23 Thread Leo Yan
If user specifies options -F,+callindent or call chain related options, it means the user only cares about functions calls and returns; thus in this case it's pointless to generate samples for other types of branches. To output only pairs of calls and returns, this patch introduces branch filter

[PATCH v2 4/5] perf cs-etm: Support callchain for instruction sample

2019-09-23 Thread Leo Yan
CoreSight has supported the thread stack; so based on the thread stack we can synthesize call chain for the instruction sample; the call chain can be used by itrace option '--itrace=g'. Before: # perf script --itrace=g16l64i100 main 1579100 instructions:

[PATCH v2 2/5] perf cs-etm: Support thread stack

2019-09-23 Thread Leo Yan
Arm CoreSight doesn't support thread stack, thus the decoding cannot display the symbol with indented spaces to reflect the stack depth. This patch adds support thread stack, this allows 'perf script' to support option '-F,+callindent'. Before: # perf script -F,+callindent main

[PATCH v2 1/5] perf cs-etm: Refactor instruction size handling

2019-09-23 Thread Leo Yan
In cs-etm.c there have several functions need to know instruction size based on address, e.g. cs_etm__instr_addr() and cs_etm__copy_insn() these two functions both calculate the instruction size separately. Furthermore, if we consider to add new features later which also might require to calculate

Re: [PATCH v8 1/3] arm64: cpufeature: introduce helper cpu_has_hw_af()

2019-09-23 Thread Catalin Marinas
On Sat, Sep 21, 2019 at 09:50:52PM +0800, Jia He wrote: > We unconditionally set the HW_AFDBM capability and only enable it on > CPUs which really have the feature. But sometimes we need to know > whether this cpu has the capability of HW AF. So decouple AF from > DBM by new helper

Re: [PATCH] sched: fix migration to invalid cpu in __set_cpus_allowed_ptr

2019-09-23 Thread Valentin Schneider
On 23/09/2019 16:43, Dietmar Eggemann wrote: > I'm not sure that CONFIG_DEBUG_PER_CPU_MAPS=y will help you here. > > __set_cpus_allowed_ptr(...) > { > ... > dest_cpu = cpumask_any_and(...) > ... > } > > With: > > #define cpumask_any_and(mask1, mask2) cpumask_first_and((mask1),

Re: [PATCH v2] mm: implement write-behind policy for sequential file writes

2019-09-23 Thread Konstantin Khlebnikov
On 23/09/2019 18.36, Jens Axboe wrote: On 9/20/19 5:10 PM, Linus Torvalds wrote: On Fri, Sep 20, 2019 at 4:05 PM Linus Torvalds wrote: Now, I hear you say "those are so small these days that it doesn't matter". And maybe you're right. But particularly for slow media, triggering good

Re: [PATCH] drivers/net/fjes: fix a potential NULL pointer dereference

2019-09-23 Thread Allen
If I'm looking at this right you are jumping to err_free_netdev without setting the err variable. It must had been set to 0 from the return of fjes_sw_init(). This means we will free the netdev, and return 0. This means probe will not fail and driver's remove function will be run at some

RE: [PATCH 1/5] regulator: da9062: fix suspend_enable/disable preparation

2019-09-23 Thread Adam Thomson
On 17 September 2019 13:43, Marco Felsch wrote: > Currently the suspend reg_field maps to the pmic voltage selection bits > and is used during suspend_enabe/disable() and during get_mode(). This > seems to be wrong for both use cases. > > Use case one (suspend_enabe/disable): > Those callbacks

[PATCH RT] posix-timers: Unlock expiry lock in the early return

2019-09-23 Thread Sebastian Andrzej Siewior
Patch ("posix-timers: Add expiry lock") acquired a lock in run_posix_cpu_timers() but didn't drop the lock in the early return. Unlock the lock in the early return path. Reported-by: kbuild test robot Reported-by: Dan Carpenter Signed-off-by: Sebastian Andrzej Siewior ---

Re: [PATCH 0/6] tools/lib/traceevent: Man page updates and some file movement

2019-09-23 Thread Steven Rostedt
On Mon, 23 Sep 2019 11:12:48 -0400 Steven Rostedt wrote: > Yeah. Let's not apply this one yet till we figure out what broke. I'll > take a look at it too. Does this help? -- Steve diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index f9807d8c005b..7544166dd466 100644 ---

Re: [PATCH v7 02/21] RISC-V: Add bitmap reprensenting ISA features common across CPUs

2019-09-23 Thread Alistair Francis
On Sat, 2019-09-21 at 03:01 -0700, Paul Walmsley wrote: > Hi Anup, > > Thanks for changing this to use a bitmap. A few comments below - > > On Wed, 4 Sep 2019, Anup Patel wrote: > > > This patch adds riscv_isa bitmap which represents Host ISA features > > common across all Host CPUs. The

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread David Hildenbrand
On 23.09.19 17:50, Michael S. Tsirkin wrote: > On Mon, Sep 23, 2019 at 05:47:24PM +0200, David Hildenbrand wrote: >> On 23.09.19 17:45, David Hildenbrand wrote: >>> On 23.09.19 17:37, Michael S. Tsirkin wrote: On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > On Mon, Sep

[PATCH v2] RDMA: release allocated skb

2019-09-23 Thread Navid Emamdoost
In create_cq, the allocated skb buffer needs to be released on error path. Moved the kfree_skb(skb) under err4 label. Signed-off-by: Navid Emamdoost --- drivers/infiniband/hw/cxgb4/cq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/infiniband/hw/cxgb4/cq.c

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 05:47:24PM +0200, David Hildenbrand wrote: > On 23.09.19 17:45, David Hildenbrand wrote: > > On 23.09.19 17:37, Michael S. Tsirkin wrote: > >> On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > >>> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin > >>>

[PATCH trivial] gpu: Fix Kconfig indentation

2019-09-23 Thread Krzysztof Kozlowski
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^/\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/Kconfig | 10 +- drivers/gpu/drm/amd/display/Kconfig | 20 ++--

[PATCH trivial] usb: Fix Kconfig indentation

2019-09-23 Thread Krzysztof Kozlowski
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^/\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski --- drivers/usb/dwc3/Kconfig | 4 +- drivers/usb/gadget/legacy/Kconfig | 20 -

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 05:45:29PM +0200, David Hildenbrand wrote: > On 23.09.19 17:37, Michael S. Tsirkin wrote: > > On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > >> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: > >>> > >>> On Mon, Sep 23, 2019 at 07:50:15AM

general protection fault in xsk_map_update_elem

2019-09-23 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:b41dae06 Merge tag 'xfs-5.4-merge-7' of git://git.kernel.o.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=130b25ad60 kernel config: https://syzkaller.appspot.com/x/.config?x=dfcf592db22b9132

[PATCH trivial] fs: Fix Kconfig indentation

2019-09-23 Thread Krzysztof Kozlowski
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^/\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski --- fs/9p/Kconfig | 20 ++-- fs/Kconfig| 4 ++-- fs/Kconfig.binfmt | 4 ++--

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread David Hildenbrand
On 23.09.19 17:45, David Hildenbrand wrote: > On 23.09.19 17:37, Michael S. Tsirkin wrote: >> On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: >>> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote:

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread David Hildenbrand
On 23.09.19 17:37, Michael S. Tsirkin wrote: > On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: >> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: >>> >>> On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote: >> +static inline void >>

Re: [patch V2 6/6] posix-cpu-timers: Return -EPERM if ptrace permission check fails

2019-09-23 Thread Frederic Weisbecker
On Mon, Sep 23, 2019 at 04:54:41PM +0200, Thomas Gleixner wrote: > Returning -EINVAL when a permission check fails is not really intuitive and > can cause hard to diagnose problems. > > The POSIX specification for clock_gettime() and timer_create() requires to > obtain the clock id first by

[PATCH trivial] sound: Fix Kconfig indentation

2019-09-23 Thread Krzysztof Kozlowski
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^/\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski --- sound/core/Kconfig | 28 ++-- sound/drivers/Kconfig | 20 +++---

Re: [PATCH 5/6] vringh: fix copy direction of vringh_iov_push_kern()

2019-09-23 Thread Alex Williamson
On Mon, 23 Sep 2019 21:03:30 +0800 Jason Wang wrote: > We want to copy from iov to buf, so the direction was wrong. > > Signed-off-by: Jason Wang > --- > drivers/vhost/vringh.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) Why is this included in the series? Seems like an

Re: [PATCH] epoll: simplify ep_poll_safewake() for CONFIG_DEBUG_LOCK_ALLOC

2019-09-23 Thread Jason Baron
On 9/4/19 4:22 PM, Jason Baron wrote: > Currently, ep_poll_safewake() in the CONFIG_DEBUG_LOCK_ALLOC case uses > ep_call_nested() in order to pass the correct subclass argument to > spin_lock_irqsave_nested(). However, ep_call_nested() adds unnecessary > checks for epoll depth and loops that

Re: [patch V2 5/6] posix-cpu-timers: Return PTR_ERR() from lookup_task()

2019-09-23 Thread Frederic Weisbecker
On Mon, Sep 23, 2019 at 04:54:40PM +0200, Thomas Gleixner wrote: > To prepare for changing the return code to -EPERM when the ptrace > permission check fails, use PTR_ERR() to return the error information from > lookup_task() and fixup all call sites. > > Signed-off-by: Thomas Gleixner

Re: [PATCH] sched: fix migration to invalid cpu in __set_cpus_allowed_ptr

2019-09-23 Thread Dietmar Eggemann
On 9/15/19 4:33 PM, Valentin Schneider wrote: > On 15/09/2019 09:21, shikemeng wrote: >>> It's more thoughtful to add check in cpumask_test_cpu.It can solve this >>> problem and can prevent other potential bugs.I will test it and resend >>> a new patch. >>> >> >> Think again and again. As

<    1   2   3   4   5   6   7   8   >