[tip:sched/core] stop_machine: Reflow cpu_stop_queue_two_works()

2018-08-02 Thread tip-bot for Peter Zijlstra
Commit-ID: b80a2bfce85e1051056d98d04ecb2d0b55cbbc1c Gitweb: https://git.kernel.org/tip/b80a2bfce85e1051056d98d04ecb2d0b55cbbc1c Author: Peter Zijlstra AuthorDate: Mon, 30 Jul 2018 13:21:40 +0200 Committer: Thomas Gleixner CommitDate: Thu, 2 Aug 2018 15:25:20 +0200 stop_machine: Reflow

Re: [PATCH RFC] x86/kvm/lapic: always disable MMIO interface in x2APIC mode

2018-08-02 Thread Vitaly Kuznetsov
Paolo Bonzini writes: > On 30/07/2018 11:14, Vitaly Kuznetsov wrote: >> Paolo Bonzini writes: >> >>> On 27/07/2018 18:48, Jim Mattson wrote: On a physical machine, I would expect the default local APIC page to fall in the PCI hole, so it would be correct to sink writes and to ret

Re: [RFC PATCH 0/4] file: export functions for binder module

2018-08-02 Thread Christian Brauner
On Mon, Jul 30, 2018 at 10:41:09PM +0100, Al Viro wrote: > On Mon, Jul 30, 2018 at 10:28:40PM +0200, Christian Brauner wrote: > > On Mon, Jul 30, 2018 at 01:19:47PM -0700, Matthew Wilcox wrote: > > > On Mon, Jul 30, 2018 at 10:12:24PM +0200, Christian Brauner wrote: > > > > > I don't expect this pa

Re: [Question] A novel case happened when using mempool allocate memory.

2018-08-02 Thread Matthew Wilcox
On Thu, Aug 02, 2018 at 02:22:03PM +0800, zhong jiang wrote: > On 2018/8/1 23:37, Matthew Wilcox wrote: > > Please post the code. > > when module is loaded. we create the specific mempool. The code flow is as > follows. I actually meant "post the code you are testing", not "write out some pseudo

Re: [PATCH] nfsd: use true and false for boolean values

2018-08-02 Thread J. Bruce Fields
OK, applied for for-4.19, thanks.--b. On Wed, Aug 01, 2018 at 07:44:05PM -0500, Gustavo A. R. Silva wrote: > Return statements in functions returning bool should use true or false > instead of an integer value. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A

Re: [PATCH RFC] x86/kvm/lapic: always disable MMIO interface in x2APIC mode

2018-08-02 Thread Paolo Bonzini
On 02/08/2018 15:30, Vitaly Kuznetsov wrote: > >> Vitaly, perhaps you could resubmit this patch, and provide a >> KVM_CAP_DISABLE_QUIRKS switch that would make apic_mmio_{read,write} >> return -EOPNOTSUPP in this case? > Just to make sure I understand, > > we introduce a KVM_QUIRK_LAPIC_DISABLED_

Re: [PATCH v3 1/3] spi: spi-mem: Fix a typo in the documentation of struct spi_mem

2018-08-02 Thread Frieder Schrempf
Hi Boris, hi Mark, On 02.08.2018 15:09, Boris Brezillon wrote: On Thu, 2 Aug 2018 14:53:52 +0200 Frieder Schrempf wrote: We usually try to avoid empty commit message, even if this one is pretty obvious, I'd suggest adding something here. " Fix a typo in the @drvpriv description. " ? Forgo

Re: [V9fs-developer] [PATCH v2] net/9p/trans_virtio.c: add null terminal for mount tag

2018-08-02 Thread Greg Kurz
On Thu, 2 Aug 2018 09:59:38 +0800 piaojun wrote: > Hi Dominique, > > On 2018/8/2 9:54, Dominique Martinet wrote: > > piaojun wrote on Thu, Aug 02, 2018: > >> chan->tag is Non-null terminated which will result in printing messy code > >> when debugging code. So we should add '\0' for tag to mak

Re: [PATCH v2] mfd: dt-bindings: Add rk808 PMIC reset property

2018-08-02 Thread Heiko Stuebner
Hi Daniel, Am Donnerstag, 29. März 2018, 16:44:43 CEST schrieb Daniel Schultz: > Add documentation about a new rk808 devicetree property. This can enable > the rk805/rk808/rk818 PMIC reset, instead of using soft resets from the > Control and Reset Module. > > Signed-off-by: Daniel Schultz Is th

[rt-patch 1/3 v2] arm64/acpi/perf: move pmu allocation to an early CPU up hook

2018-08-02 Thread Mike Galbraith
(bah, make a clean The End to adventures in arm-land) RT cannot allocate while irqs are disabled. BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974 in_atomic(): 0, irqs_disabled(): 128, pid: 25, name: cpuhp/0 CPU: 0 PID: 25 Comm: cpuhp/0 Not tainted 4.16.18

[PATCH] Kbuild: Makefile.modbuiltin: include auto.conf and tristate.conf mandatory

2018-08-02 Thread Dirk Gouders
The files auto.conf and tristate.conf are mandatory for building modules.builtin files, therefore include them as such. Usually, the top-level Makefile ensures that those files exist but we want to make sure we get noticed if they are missing for whatever reason. Signed-off-by: Dirk Gouders ---

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-02 Thread Vincent Guittot
On Thu, 2 Aug 2018 at 15:19, Quentin Perret wrote: > > On Thursday 02 Aug 2018 at 15:08:01 (+0200), Peter Zijlstra wrote: > > On Thu, Aug 02, 2018 at 02:03:38PM +0100, Quentin Perret wrote: > > > On Thursday 02 Aug 2018 at 14:26:29 (+0200), Peter Zijlstra wrote: > > > > On Tue, Jul 24, 2018 at 01:

Re: [PATCH v2 1/6] iio: adxl372: New driver for Analog Devices ADXL372 Accelerometer

2018-08-02 Thread Popa, Stefan Serban
On Jo, 2018-08-02 at 14:05 +0100, Jonathan Cameron wrote: > On Wed, 1 Aug 2018 18:13:09 +0300 > Stefan Popa wrote: > > > > > This patch adds basic support for Analog Devices ADXL372 SPI-Bus > > Three-Axis Digital Accelerometer. > > > > The device is probed and configured the with some initial d

Re: [PATCH v5 12/14] sched/fair: Select an energy-efficient CPU on task wake-up

2018-08-02 Thread Peter Zijlstra
On Tue, Jul 24, 2018 at 01:25:19PM +0100, Quentin Perret wrote: > @@ -6385,18 +6492,26 @@ static int > select_task_rq_fair(struct task_struct *p, int prev_cpu, int sd_flag, int > wake_flags) > { > struct sched_domain *tmp, *sd = NULL; > + struct freq_domain *fd; > int cpu = smp_p

Re: [PATCH v2 1/6] iio: adxl372: New driver for Analog Devices ADXL372 Accelerometer

2018-08-02 Thread Jonathan Cameron
On Thu, 2 Aug 2018 13:52:54 + "Popa, Stefan Serban" wrote: > On Jo, 2018-08-02 at 14:05 +0100, Jonathan Cameron wrote: > > On Wed, 1 Aug 2018 18:13:09 +0300 > > Stefan Popa wrote: > > > > > > > > This patch adds basic support for Analog Devices ADXL372 SPI-Bus > > > Three-Axis Digital Ac

Re: [PATCH v3 1/2] iio: light: Add support for vishay vcnl4035

2018-08-02 Thread Parthiban Nallathambi
Hi Jonathan, General query, for threshold events and persistence value (period) we don't have any direct MACROS similar to IIO_CONST_ATTR_INT_TIME_AVAIL as ABI to show the available/range of values. For most light and proximity sensors, I could see this value of threshold configuration to limit

Re: [PATCH] tty: rocket: Fix possible buffer overwrite on register_PCI

2018-08-02 Thread Alan Cox
On Fri, 27 Jul 2018 16:39:31 +0300 Anton Vasilyev wrote: > If number of isa and pci boards exceed NUM_BOARDS on the path > rp_init()->init_PCI()->register_PCI() then buffer overwrite occurs > in register_PCI() on assign rcktpt_io_addr[i]. > > The patch adds check on upper bound for index of regi

Re: [RFC PATCH v2 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-08-02 Thread Yixun Lan
Hi Boris On 08/02/2018 05:50 AM, Boris Brezillon wrote: > Hi Yixun, > > On Thu, 19 Jul 2018 17:46:12 +0800 > Yixun Lan wrote: > > I haven't finished reviewing the driver yet (I'll try to do that later > this week), but I already pointed a few things to fix/improve. > thanks for the fully rev

Re: [PATCH v2 01/10] ASoC: dt-bindings: add dt bindings for wcd9335 audio codec

2018-08-02 Thread Rob Herring
On Thu, Aug 2, 2018 at 1:33 AM Srinivas Kandagatla wrote: > > Thanks for review, > > On 01/08/18 23:20, Rob Herring wrote: > +- qcom,ifd: > +Usage: required > +Value type: > +Definition: SLIM interface device > >>> Wouldn't this be the parent? > >>> > >> No, Interf

[PATCH v4 1/7] dmaengine: xilinx_dma: commonize DMA copy size calculation

2018-08-02 Thread Andrea Merello
This patch removes a bit of duplicated code by introducing a new function that implements calculations for DMA copy size. Suggested-by: Vinod Koul Signed-off-by: Andrea Merello --- Changes in v4: - introduce this patch in the patch series --- drivers/dma/xilinx/xilinx_dma.c | 20 +++

[PATCH v4 3/7] dt-bindings: dmaengine: xilinx_dma: add optional xlnx,sg-length-width property

2018-08-02 Thread Andrea Merello
The width of the "length register" cannot be autodetected, and it is now specified with a DT property. Add DOC for it. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: Radhey Shyam Pandey Signed-off-by: Andrea Merello Reviewed-by: Radhey Shyam Pandey --- Changes in v2:

[PATCH v4 4/7] dmaengine: xilinx_dma: program hardware supported buffer length

2018-08-02 Thread Andrea Merello
From: Radhey Shyam Pandey AXI-DMA IP supports configurable (c_sg_length_width) buffer length register width, hence read buffer length (xlnx,sg-length-width) DT property and ensure that driver doesn't program buffer length exceeding the supported limit. For VDMA and CDMA there is no change. Cc: R

[PATCH v4 6/7] dt-bindings: dmaengine: xilinx_dma: drop has-sg property

2018-08-02 Thread Andrea Merello
This property is not needed anymore, because the driver now autodetects it. Delete references in documentation. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: Radhey Shyam Pandey Signed-off-by: Andrea Merello Reviewed-by: Radhey Shyam Pandey Reviewed-by: Rob Herring ---

[PATCH v4 7/7] dmaengine: xilinx_dma: Drop SG support for VDMA IP

2018-08-02 Thread Andrea Merello
xilinx_vdma_start_transfer() is used only for VDMA IP, still it contains conditional code on has_sg variable. has_sg is set only whenever the HW does support SG mode, that is never true for VDMA IP. This patch drops the never-taken branches. Signed-off-by: Andrea Merello --- Changes in V4: intro

[PATCH v4 5/7] dmaengine: xilinx_dma: autodetect whether the HW supports scatter-gather

2018-08-02 Thread Andrea Merello
The AXIDMA and CDMA HW can be either direct-access or scatter-gather version. These are SW incompatible. The driver can handle both versions: a DT property was used to tell the driver whether to assume the HW is in scatter-gather mode. This patch makes the driver to autodetect this information. T

[PATCH v4 2/7] dmaengine: xilinx_dma: in axidma slave_sg and dma_cylic mode align split descriptors

2018-08-02 Thread Andrea Merello
Whenever a single or cyclic transaction is prepared, the driver could eventually split it over several SG descriptors in order to deal with the HW maximum transfer length. This could end up in DMA operations starting from a misaligned address. This seems fatal for the HW if DRE is not enabled. Th

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-02 Thread Quentin Perret
On Thursday 02 Aug 2018 at 15:48:01 (+0200), Vincent Guittot wrote: > On Thu, 2 Aug 2018 at 15:19, Quentin Perret wrote: > > > > On Thursday 02 Aug 2018 at 15:08:01 (+0200), Peter Zijlstra wrote: > > > On Thu, Aug 02, 2018 at 02:03:38PM +0100, Quentin Perret wrote: > > > > On Thursday 02 Aug 2018

Re: [Question] A novel case happened when using mempool allocate memory.

2018-08-02 Thread zhong jiang
On 2018/8/2 21:31, Matthew Wilcox wrote: > On Thu, Aug 02, 2018 at 02:22:03PM +0800, zhong jiang wrote: >> On 2018/8/1 23:37, Matthew Wilcox wrote: >>> Please post the code. >> when module is loaded. we create the specific mempool. The code flow is as >> follows. > I actually meant "post the code

Re: [PATCH] ALSA: usb-audio: Fix wrong sizeof argument

2018-08-02 Thread Takashi Iwai
On Thu, 02 Aug 2018 16:17:23 +0200, Gustavo A. R. Silva wrote: > > The correct argument to be passed to kzalloc is sizeof(*pd) > > Addresses-Coverity-ID: 1472224 ("Wrong sizeof argument") > Fixes: 7edf3b5e6a45 ("ALSA: usb-audio: AudioStreaming Power Domain parsing") > Signed-off-by: Gustavo A.

your photos need edit

2018-08-02 Thread Sam
As a boutique team, we work personally with our clients to ensure the good results. Having over a decade of hands-on experience in photography and retouching, we have been inspired to expand our services to the public. We are team of artists who have excelled in fields such as art, photography, r

Re: [RFC 1/2] slub: Avoid trying to allocate memory on offline nodes

2018-08-02 Thread Christopher Lameter
On Wed, 1 Aug 2018, Jeremy Linton wrote: > diff --git a/mm/slub.c b/mm/slub.c > index 51258eff4178..e03719bac1e2 100644 > --- a/mm/slub.c > +++ b/mm/slub.c > @@ -2519,6 +2519,8 @@ static void *___slab_alloc(struct kmem_cache *s, gfp_t > gfpflags, int node, > if (unlikely(!node_match

[PATCH] ALSA: usb-audio: Fix wrong sizeof argument

2018-08-02 Thread Gustavo A. R. Silva
The correct argument to be passed to kzalloc is sizeof(*pd) Addresses-Coverity-ID: 1472224 ("Wrong sizeof argument") Fixes: 7edf3b5e6a45 ("ALSA: usb-audio: AudioStreaming Power Domain parsing") Signed-off-by: Gustavo A. R. Silva --- sound/usb/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[GIT PULL] PCI fixes for v4.18

2018-08-02 Thread Bjorn Helgaas
PCI fixes: - Fix integer overflow in new mobiveil driver (Dan Carpenter) - Fix race during NVMe removal/rescan (Hari Vyas) The following changes since commit bd91b56cb3b27492963caeb5fccefe20a986ca8d: PCI/AER: Work around use-after-free in pcie_do_fatal_recovery() (2018-07-26 12:13:04 -0

Re: [PATCH v3 1/3] spi: spi-mem: Fix a typo in the documentation of struct spi_mem

2018-08-02 Thread Mark Brown
On Thu, Aug 02, 2018 at 03:39:18PM +0200, Frieder Schrempf wrote: > Mark, can you add it when you apply the patch or should I send a new > version? I'd applied before I saw this subthread, Boris is right that it is better but for something this obvious I'm not sufficiently bothered by the missing

Re: linux-next: build warning after merge of the sound-asoc tree

2018-08-02 Thread Mark Brown
On Thu, Aug 02, 2018 at 02:06:30PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the sound-asoc tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: I was sent a patch for this already, should be fixed tomorrow. Thanks for reporting. signature.asc Descript

Re: [PATCH 6/6] dt-bindings: interrupt-controller: RISC-V PLIC documentation

2018-08-02 Thread Rob Herring
On Thu, Aug 2, 2018 at 3:50 AM Christoph Hellwig wrote: > > On Wed, Aug 01, 2018 at 12:26:31PM -0600, Rob Herring wrote: > > Not really my problem that they didn't follow the process and upstream > > their binding first. But this alone is just a string identifier, so I > > don't really care that m

Re: [PATCH] watchdog: Reduce message verbosity

2018-08-02 Thread Sinan Kaya
On 8/2/2018 5:18 AM, Thomas Gleixner wrote: On Mon, 30 Jul 2018, Sinan Kaya wrote: Reducing the verbosity level to debug for people that are interested in debugging watchdog issues. [0.152492] NMI watchdog: Perf event create on CPU 0 failed with -2 [0.156002] NMI watchdog: Perf NMI wat

Re: [PATCH v12 0/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-02 Thread Masami Hiramatsu
Hi Joel, I found this caused several issues when testing ftrace. #1) ftrace boottest (FTRACE_STARTUP_TEST) fails #2) mmiotrace reports "IRQs not enabled as expected" error #3) lock subsystem event boottest causes "IRQs not disabled as expected" error (sometimes) #4) ftracetest test.d/event/tople

Applied "mtd: m25p80: Call spi_mem_get_name() to let controller set a custom name" to the spi tree

2018-08-02 Thread Mark Brown
The patch mtd: m25p80: Call spi_mem_get_name() to let controller set a custom name has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the ne

Applied "spi: spi-mem: Fix a typo in the documentation of struct spi_mem" to the spi tree

2018-08-02 Thread Mark Brown
The patch spi: spi-mem: Fix a typo in the documentation of struct spi_mem has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hou

[PATCH 3/3] ASoC: core: remove support for card rebind using component framework

2018-08-02 Thread Srinivas Kandagatla
DRM based audio components get registered inside the component framework bind callback. However component framework has a big mutex lock taken for every call to component_add, component_del and bind, unbind callbacks. This can lead to deadlock situation if we are trying to add new/remove component

[PATCH 0/3] ASoC: core: remove support for card rebind using component framework

2018-08-02 Thread Srinivas Kandagatla
DRM based audio components get registered inside the component framework bind callback. However component framework has a big mutex lock taken for every call to component_add, component_del and bind, unbind callbacks. This can lead to deadlock situation if we are trying to add new/remove component

[PATCH 1/3] ASoC: apq8096: remove auto rebinding

2018-08-02 Thread Srinivas Kandagatla
Remove auto rebinding support, as component framework can deadlock in few usecases if we are trying to add new/remove component within a bind/unbind callbacks. Card rebinding is ASoC core feature so all the previous component framework stuff in q6dsp remains removed. Signed-off-by: Srinivas Kanda

[PATCH 2/3] ASoC: smd845: remove auto rebinding

2018-08-02 Thread Srinivas Kandagatla
Remove auto rebinding support, as component framework can deadlock in few usecases if we are trying to add new/remove component within a bind/unbind callbacks. Card rebinding is ASoC core feature so all the previous component framework stuff in q6dsp remains removed. Signed-off-by: Srinivas Kanda

[PATCH] x86/kvm/lapic: always disable MMIO interface in x2APIC mode

2018-08-02 Thread Vitaly Kuznetsov
When VMX is used with flexpriority disabled (because of no support or if disabled with module parameter) MMIO interface to lAPIC is still available in x2APIC mode while it shouldn't be (kvm-unit-tests): PASS: apic_disable: Local apic enabled in x2APIC mode PASS: apic_disable: CPUID.1H:EDX.APIC[bit

Re: Can we fix samples/ dependency on headers please?

2018-08-02 Thread Masahiro Yamada
Hi. 2018-08-01 22:58 GMT+09:00 David Howells : > Hi, > > I'm currently having to mark various userspace programs I've added to the > samples/ directory as BROKEN in samples/Kconfig because the root Makefile > mucks up the dependencies between building samples and headers_install. > > The main cu

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-02 Thread Vincent Guittot
On Thu, 2 Aug 2018 at 16:14, Quentin Perret wrote: > > On Thursday 02 Aug 2018 at 15:48:01 (+0200), Vincent Guittot wrote: > > On Thu, 2 Aug 2018 at 15:19, Quentin Perret wrote: > > > > > > On Thursday 02 Aug 2018 at 15:08:01 (+0200), Peter Zijlstra wrote: > > > > On Thu, Aug 02, 2018 at 02:03:38

Re: [PATCHv4 01/12] sched: Add static_key for asymmetric cpu capacity optimizations

2018-08-02 Thread Morten Rasmussen
On Tue, Jul 31, 2018 at 12:59:16PM +0200, Peter Zijlstra wrote: > > Combined with that SD_ASYM.. rework I ended up with the below. > > Holler if you want it changed :-) Looks good to me. Thanks, Morten

[PATCH] reiserfs: fix broken xattr handling (heap corruption, bad retval)

2018-08-02 Thread Jann Horn
This fixes the following issues: - When a buffer size is supplied to reiserfs_listxattr() such that each individual name fits, but the concatenation of all names doesn't fit, reiserfs_listxattr() overflows the supplied buffer. This leads to a kernel heap overflow (verified using KASAN) f

LVM snapshot broke between 4.14 and 4.16

2018-08-02 Thread WGH
On 08/02/2018 04:31 PM, Ilya Dryomov wrote: > On Thu, Aug 2, 2018 at 2:26 PM WGH wrote: >> (I originally reported this problem here: >> https://bugzilla.kernel.org/show_bug.cgi?id=200439) >> >> When I updated from 4.14 to 4.16, my LVM snapshotting script broke for >> no apparent reason. >> >> My s

Re: [PATCH v5 10/14] sched/cpufreq: Refactor the utilization aggregation method

2018-08-02 Thread Quentin Perret
On Thursday 02 Aug 2018 at 14:45:11 (+0200), Peter Zijlstra wrote: > On Thu, Aug 02, 2018 at 02:33:15PM +0200, Peter Zijlstra wrote: > > On Mon, Jul 30, 2018 at 12:35:27PM -0700, skan...@codeaurora.org wrote: > > > On 2018-07-24 05:25, Quentin Perret wrote: > > > If it's going to be a different agg

[PATCH v2] RISC-V: Add the directive for alignment of stvec's value

2018-08-02 Thread Zong Li
The stvec's value must be 4 byte alignment by specification definition. These directives avoid to stvec be set the non-alignment value. Signed-off-by: Zong Li --- arch/riscv/kernel/head.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/kernel/head.S b/arch/riscv/kernel/head.S in

[PATCH] RISC-V: Add preprocessor directives for boot_sec_cpu

2018-08-02 Thread Zong Li
The boot_sec_cpu is for hutplug CPU on SMP system. It should be conditional compiling. Otherwise, it causes undefined reference to `smp_callin' when compiling uniprocessor kernel. Signed-off-by: Zong Li --- arch/riscv/kernel/head.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv

Re: ovl: hash non-dir by lower inode for fsnotify

2018-08-02 Thread Mark Salyzyn
On 08/01/2018 11:05 PM, Greg KH wrote: On Wed, Aug 01, 2018 at 02:29:01PM -0700, Mark Salyzyn wrote: 764baba80168ad3adafb521d2ab483ccbc49e344 ovl: hash non-dir by lower inode for fsnotify is not part of 4.14 stable and yet it was marked for 4.13 stable merge when committed. Please evaluate. Wh

Re: [PATCH v12 1/7] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3990

2018-08-02 Thread Stephen Boyd
Quoting Balakrishna Godavarthi (2018-08-02 06:25:12) > This patch enables regulators for the Qualcomm Bluetooth wcn3990 > controller. > > Signed-off-by: Balakrishna Godavarthi > Reviewed-by: Rob Herring > --- Reviewed-by: Stephen Boyd

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-02 Thread Quentin Perret
On Thursday 02 Aug 2018 at 17:14:15 (+0200), Vincent Guittot wrote: > On Thu, 2 Aug 2018 at 16:14, Quentin Perret wrote: > > Good point, setting the util_avg to 0 for new tasks should help > > filtering out those tiny tasks too. And that would match with the idea > > of letting tasks build their h

Re: [TRIVIAL RFC PATCH] Kconfigs - reduce use of "depends on EXPERT"

2018-08-02 Thread Masahiro Yamada
2018-07-29 7:13 GMT+09:00 Joe Perches : > Most uses of EXPERT are in the form > > bool "something" if EXPERT > > but some are > > depends on EXPERT > > The difference is the the 'depends on' use makes it > easier to select the CONFIG_EXPERT option. I could not understand why 'if E

[PATCH] lib/ubsan: remove null-pointer checks.

2018-08-02 Thread Andrey Ryabinin
With gcc-8 fsanitize=null become very noisy. GCC started to complain about things like &a->b, where 'a' is NULL pointer. There is no NULL dereference, we just calculate address to struct member. It's technically undefined behavior so UBSAN is correct to report it. But as long as there is no real NU

Re: [PATCH v5 10/14] sched/cpufreq: Refactor the utilization aggregation method

2018-08-02 Thread Quentin Perret
On Thursday 02 Aug 2018 at 15:04:40 (+0200), Peter Zijlstra wrote: > On Wed, Aug 01, 2018 at 10:23:27AM +0100, Quentin Perret wrote: > > On Wednesday 01 Aug 2018 at 10:35:32 (+0200), Rafael J. Wysocki wrote: > > > On Wed, Aug 1, 2018 at 10:23 AM, Quentin Perret > > > wrote: > > > > On Wednesday 0

Re: [PATCH 4.9 000/144] 4.9.117-stable review

2018-08-02 Thread Guenter Roeck
On Wed, Aug 01, 2018 at 06:50:27PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.117 release. > There are 144 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [PATCH 4.14 000/246] 4.14.60-stable review

2018-08-02 Thread Guenter Roeck
On Wed, Aug 01, 2018 at 06:48:30PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.60 release. > There are 246 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [PATCH 4.17 000/336] 4.17.12-stable review

2018-08-02 Thread Guenter Roeck
On Wed, Aug 01, 2018 at 06:45:35PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.17.12 release. > There are 336 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [PATCH] Kbuild: Makefile.modbuiltin: include auto.conf and tristate.conf mandatory

2018-08-02 Thread Masahiro Yamada
2018-08-02 22:47 GMT+09:00 Dirk Gouders : > The files auto.conf and tristate.conf are mandatory for building > modules.builtin files, therefore include them as such. > > Usually, the top-level Makefile ensures that those files exist but we > want to make sure we get noticed if they are missing for

RE: [PATCH char-misc 1/1] Drivers: hv: vmbus: Cleanup synic memory free path

2018-08-02 Thread KY Srinivasan
> -Original Message- > From: Dan Carpenter > Sent: Wednesday, August 1, 2018 11:42 PM > To: Michael Kelley (EOSG) > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com; jasow...@redhat.c

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-02 Thread Vincent Guittot
On Thu, 2 Aug 2018 at 17:30, Quentin Perret wrote: > > On Thursday 02 Aug 2018 at 17:14:15 (+0200), Vincent Guittot wrote: > > On Thu, 2 Aug 2018 at 16:14, Quentin Perret wrote: > > > Good point, setting the util_avg to 0 for new tasks should help > > > filtering out those tiny tasks too. And tha

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-02 Thread Quentin Perret
On Thursday 02 Aug 2018 at 17:55:24 (+0200), Vincent Guittot wrote: > On Thu, 2 Aug 2018 at 17:30, Quentin Perret wrote: > > > > On Thursday 02 Aug 2018 at 17:14:15 (+0200), Vincent Guittot wrote: > > > On Thu, 2 Aug 2018 at 16:14, Quentin Perret > > > wrote: > > > > Good point, setting the util

Re: [PATCH 3/4] aio: implement IOCB_CMD_POLL

2018-08-02 Thread Al Viro
On Thu, Aug 02, 2018 at 11:22:34AM +0200, Christoph Hellwig wrote: > Yes, I think you are right. I'll see how I could handle that case. > One of the easiest options would be to just support aio poll on > file ops that support keyed wakeups, we'd just need to pass that > information up. BTW, what

Re: [PATCH 3/4] aio: implement IOCB_CMD_POLL

2018-08-02 Thread Christoph Hellwig
On Thu, Aug 02, 2018 at 05:00:32PM +0100, Al Viro wrote: > BTW, what happens if we insert into one queue and immediately get > woken up, even before the damn thing gets to the end of ->poll(), > which proceeds to call poll_wait() again (on another queue)? > AFAICS, apt.error will be set by the seco

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-02 Thread Vincent Guittot
On Thu, 2 Aug 2018 at 18:00, Quentin Perret wrote: > > On Thursday 02 Aug 2018 at 17:55:24 (+0200), Vincent Guittot wrote: > > On Thu, 2 Aug 2018 at 17:30, Quentin Perret wrote: > > > > > > On Thursday 02 Aug 2018 at 17:14:15 (+0200), Vincent Guittot wrote: > > > > On Thu, 2 Aug 2018 at 16:14, Qu

Re: [PATCH 3/4] aio: implement IOCB_CMD_POLL

2018-08-02 Thread Al Viro
On Thu, Aug 02, 2018 at 06:08:16PM +0200, Christoph Hellwig wrote: > On Thu, Aug 02, 2018 at 05:00:32PM +0100, Al Viro wrote: > > BTW, what happens if we insert into one queue and immediately get > > woken up, even before the damn thing gets to the end of ->poll(), > > which proceeds to call poll_w

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-02 Thread Quentin Perret
On Thursday 02 Aug 2018 at 18:07:49 (+0200), Vincent Guittot wrote: > On Thu, 2 Aug 2018 at 18:00, Quentin Perret wrote: > > > > On Thursday 02 Aug 2018 at 17:55:24 (+0200), Vincent Guittot wrote: > > > On Thu, 2 Aug 2018 at 17:30, Quentin Perret > > > wrote: > > > > > > > > On Thursday 02 Aug 2

Re: [PATCH 3/4] aio: implement IOCB_CMD_POLL

2018-08-02 Thread Christoph Hellwig
On Thu, Aug 02, 2018 at 05:08:38PM +0100, Al Viro wrote: > On Thu, Aug 02, 2018 at 06:08:16PM +0200, Christoph Hellwig wrote: > > On Thu, Aug 02, 2018 at 05:00:32PM +0100, Al Viro wrote: > > > BTW, what happens if we insert into one queue and immediately get > > > woken up, even before the damn thi

Re: [PATCH v2 1/2] security/keys/secure_key: Adds the secure key support based on CAAM.

2018-08-02 Thread David Howells
Udit Agarwal wrote: > +== > +Secure Key > +== > + > +Secure key is the new type added to kernel key ring service. > +Secure key is a symmetric type key of minimum length 32 bytes > +and with maximum possible length to be 128 bytes. It is produced > +in kernel using the CAAM crypto

Re: [PATCH 0/2] x86/intel_rdt and perf/x86: Fix lack of coordination with perf

2018-08-02 Thread Reinette Chatre
Hi Peter, On 8/2/2018 5:39 AM, Peter Zijlstra wrote: > On Tue, Jul 31, 2018 at 12:38:27PM -0700, Reinette Chatre wrote: >> Dear Maintainers, >> >> The success of Cache Pseudo-Locking can be measured via the use of >> performance events. Specifically, the number of cache hits and misses >> reading

Re: [PATCH] kernel/module: Use kmemdup to replace kmalloc+memcpy

2018-08-02 Thread Jessica Yu
+++ zhong jiang [01/08/18 00:56 +0800]: we prefer to the kmemdup rather than kmalloc+memcpy. so just replace them. Signed-off-by: zhong jiang Applied, thanks. Jessica --- kernel/module.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/module.c b/kernel/modul

Re: [PATCH 0/2] x86/intel_rdt and perf/x86: Fix lack of coordination with perf

2018-08-02 Thread Peter Zijlstra
On Thu, Aug 02, 2018 at 09:14:10AM -0700, Reinette Chatre wrote: > The current implementation does not coordinate with perf and this is > what I am trying to fix in this series. > > I do respect your NAK but it is not clear to me how to proceed after > obtaining it. Could you please elaborate on

Applied "ASoC: core: remove support for card rebind using component framework" to the asoc tree

2018-08-02 Thread Mark Brown
The patch ASoC: core: remove support for card rebind using component framework has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Applied "ASoC: apq8096: remove auto rebinding" to the asoc tree

2018-08-02 Thread Mark Brown
The patch ASoC: apq8096: remove auto rebinding has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus du

Applied "ASoC: smd845: remove auto rebinding" to the asoc tree

2018-08-02 Thread Mark Brown
The patch ASoC: smd845: remove auto rebinding has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus dur

[PATCH] lightnvm: combine 1.2 and 2.0 command flags

2018-08-02 Thread Matias Bjørling
Avoid targets open-code the nvm_rq command flag for version 1.2 and 2.0. The core should have this responsibility. When moved into core, the flags parameter can be distilled into access hint, scrambling, and program/erase suspend. Replace the access hint with a "is_seq" parameter, and let the rest

Re: [PATCH v5 12/14] sched/fair: Select an energy-efficient CPU on task wake-up

2018-08-02 Thread Quentin Perret
On Thursday 02 Aug 2018 at 15:54:26 (+0200), Peter Zijlstra wrote: > On Tue, Jul 24, 2018 at 01:25:19PM +0100, Quentin Perret wrote: > > @@ -6385,18 +6492,26 @@ static int > > select_task_rq_fair(struct task_struct *p, int prev_cpu, int sd_flag, int > > wake_flags) > > { > > struct sched_dom

Re: [rt-patch 4/3] arm,KVM: Move phys_timer handling to hard irq context

2018-08-02 Thread Steven Rostedt
On Thu, 02 Aug 2018 08:56:20 +0200 Mike Galbraith wrote: > (arm-land adventures 1/3 take2 will have to wait, my cup runeth over) > > v4.14..v4.15 timer handling changes including calling kvm_timer_vcpu_load() I take it that this should be added to v4.16-rt and marked stable-rt? -- Steve > du

[PATCH] reiserfs: propagate errors from fill_with_dentries properly

2018-08-02 Thread Jann Horn
fill_with_dentries() failed to propagate errors up to reiserfs_for_each_xattr() properly. Plumb them through. Note that reiserfs_for_each_xattr() is only used by reiserfs_delete_xattrs() and reiserfs_chown_xattrs(). The result of reiserfs_delete_xattrs() is discarded anyway, the only difference th

Re: [PATCH 2/2] staging:r8188eu: Use lib80211 to encrypt (CCMP) tx frames

2018-08-02 Thread Michael Straube
On 07/16/18 15:30, Michael Straube wrote: On 07/14/18 19:54, Ivan Safonov wrote: Put data to skb, decrypt with lib80211_crypt_ccmp, and place back to tx buffer. Signed-off-by: Ivan Safonov ---   drivers/staging/rtl8188eu/core/rtw_security.c | 778 +++---   1 file changed, 72

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-02 Thread Vincent Guittot
On Thu, 2 Aug 2018 at 18:10, Quentin Perret wrote: > > On Thursday 02 Aug 2018 at 18:07:49 (+0200), Vincent Guittot wrote: > > On Thu, 2 Aug 2018 at 18:00, Quentin Perret wrote: > > > > > > On Thursday 02 Aug 2018 at 17:55:24 (+0200), Vincent Guittot wrote: > > > > On Thu, 2 Aug 2018 at 17:30, Qu

Re: [PATCH 0/2] x86/intel_rdt and perf/x86: Fix lack of coordination with perf

2018-08-02 Thread Reinette Chatre
On 8/2/2018 9:18 AM, Peter Zijlstra wrote: > On Thu, Aug 02, 2018 at 09:14:10AM -0700, Reinette Chatre wrote: > >> The current implementation does not coordinate with perf and this is >> what I am trying to fix in this series. >> >> I do respect your NAK but it is not clear to me how to proceed af

Re: [PATCH] mm: Move check for SHRINKER_NUMA_AWARE to do_shrink_slab()

2018-08-02 Thread Yang Shi
On Thu, Aug 2, 2018 at 4:00 AM, Kirill Tkhai wrote: > In case of shrink_slab_memcg() we do not zero nid, when shrinker > is not numa-aware. This is not a real problem, since currently > all memcg-aware shrinkers are numa-aware too (we have two: Actually, this is not true. huge_zero_page_shrinker

Re: [rt-patch 4/3] arm,KVM: Move phys_timer handling to hard irq context

2018-08-02 Thread Mike Galbraith
On Thu, 2018-08-02 at 12:31 -0400, Steven Rostedt wrote: > On Thu, 02 Aug 2018 08:56:20 +0200 > Mike Galbraith wrote: > > > (arm-land adventures 1/3 take2 will have to wait, my cup runeth over) > > > > v4.14..v4.15 timer handling changes including calling kvm_timer_vcpu_load() > > I take it th

Re: [PATCH] mm: Move check for SHRINKER_NUMA_AWARE to do_shrink_slab()

2018-08-02 Thread Shakeel Butt
On Thu, Aug 2, 2018 at 9:47 AM Yang Shi wrote: > > On Thu, Aug 2, 2018 at 4:00 AM, Kirill Tkhai wrote: > > In case of shrink_slab_memcg() we do not zero nid, when shrinker > > is not numa-aware. This is not a real problem, since currently > > all memcg-aware shrinkers are numa-aware too (we have

Re: [PATCH v2 3/3] mm, oom: introduce memory.oom.group

2018-08-02 Thread Roman Gushchin
On Thu, Aug 02, 2018 at 07:53:13PM +0900, Tetsuo Handa wrote: > On 2018/08/02 9:32, Roman Gushchin wrote: > > For some workloads an intervention from the OOM killer > > can be painful. Killing a random task can bring > > the workload into an inconsistent state. > > > > Historically, there are two

Re: [PATCH 2/2] clk: qcom: Add camera clock controller driver for SDM845

2018-08-02 Thread Stephen Boyd
Quoting Amit Nischal (2018-07-30 00:20:52) > On 2018-07-26 22:52, Stephen Boyd wrote: > > Quoting Amit Nischal (2018-07-23 04:26:33) > >> diff --git a/drivers/clk/qcom/camcc-sdm845.c > >> b/drivers/clk/qcom/camcc-sdm845.c > >> new file mode 100644 > >> index 000..61e5ec2 > >> --- /dev/null > >

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-02 Thread Quentin Perret
On Thursday 02 Aug 2018 at 18:38:01 (+0200), Vincent Guittot wrote: > On Thu, 2 Aug 2018 at 18:10, Quentin Perret wrote: > > > > On Thursday 02 Aug 2018 at 18:07:49 (+0200), Vincent Guittot wrote: > > > On Thu, 2 Aug 2018 at 18:00, Quentin Perret > > > wrote: > > > > > > > > On Thursday 02 Aug 2

Re: [PATCH v2] clk: qcom: Add camera clock controller driver for SDM845

2018-08-02 Thread Stephen Boyd
Quoting Amit Nischal (2018-07-30 02:22:20) > diff --git a/drivers/clk/qcom/camcc-sdm845.c b/drivers/clk/qcom/camcc-sdm845.c > new file mode 100644 > index 000..702ca66 > --- /dev/null > +++ b/drivers/clk/qcom/camcc-sdm845.c > @@ -0,0 +1,1744 @@ > + }, > +}; > + > +static const struct freq

Re: [PATCH v12 7/7] Bluetooth: hci_qca: Add support for Qualcomm Bluetooth chip wcn3990

2018-08-02 Thread Matthias Kaehlcke
Hi Balakrishna, only two minor comments, though I hate to make you respin once more for nits. I also noticed a possible error in the DT bindings, so maybe you'd have to respin anyway ... On Thu, Aug 02, 2018 at 06:55:18PM +0530, Balakrishna Godavarthi wrote: > Add support to set voltage/current o

[PATCH 1/6] staging: rtl8188eu: use is_multicast_ether_addr

2018-08-02 Thread Michael Straube
Use is_multicast_ether_addr instead of custom IS_MCAST in os_dep/recv_linux.c. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/os_dep/recv_linux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/recv_linux.c b/drivers/stagi

[PATCH 6/6] staging: rtl8188eu: remove whitespace, add missing blank line

2018-08-02 Thread Michael Straube
Replace tabs with spaces and/or remove spaces where appropriate. Add a missing blank line after declarations. Also clears checkpatch warnings. WARNING: Statements should start on a tabstop WARNING: suspect code indent for conditional statements (8, 17) Signed-off-by: Michael Straube --- drivers

[PATCH 2/6] staging: rtl8188eu: use is_multicast_ether_addr

2018-08-02 Thread Michael Straube
Use is_multicast_ether_addr instead of custom IS_MCAST in hal/rtl8188eu_xmit.c. There is only one use, so remove the extra variable for the result of IS_MCAST. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(

[PATCH 5/6] staging: rtl8188eu: use is_multicast_ether_addr

2018-08-02 Thread Michael Straube
Use is_multicast_ether_addr instead of custom IS_MCAST in core/rtw_sta_mgt.c. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c b/drivers/staging/rtl818

[PATCH 4/6] staging: rtl8188eu: remove whitespace - style

2018-08-02 Thread Michael Straube
Replace tabs with spaces and/or remove spaces where appropriate. Signed-off-by: Michael Straube --- .../staging/rtl8188eu/hal/rtl8188eu_xmit.c| 22 +-- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c b/drivers/st

[PATCH 3/6] staging: rtl8188eu: cleanup block comment - style

2018-08-02 Thread Michael Straube
Cleanup a block comment to conform with kernel coding style. Also cleans 'line over 80 characters' checkpatch warnings. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rt

  1   2   3   4   5   6   7   >