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

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,

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

[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

[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 ---

[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

[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:

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

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

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;

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: [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 18:50 +0200, Mike Galbraith wrote: > 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

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

2018-08-02 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-08-02 23:24, Balakrishna Godavarthi wrote: Hi Matthias, On 2018-08-02 22:50, Matthias Kaehlcke wrote: On Thu, Aug 02, 2018 at 06:55:12PM +0530, Balakrishna Godavarthi wrote: This patch enables regulators for the Qualcomm Bluetooth wcn3990 controller. Signed-off-by:

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

2018-08-02 Thread Matthias Kaehlcke
On Thu, Aug 02, 2018 at 11:35:54PM +0530, Balakrishna Godavarthi wrote: > Hi Matthias, > > On 2018-08-02 23:24, Balakrishna Godavarthi wrote: > > Hi Matthias, > > > > On 2018-08-02 22:50, Matthias Kaehlcke wrote: > > > On Thu, Aug 02, 2018 at 06:55:12PM +0530, Balakrishna Godavarthi > > > wrote:

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

2018-08-02 Thread Dave Hansen
On 08/02/2018 10:37 AM, Peter Zijlstra wrote: >> I do not see how I can do so without incurring the cache hits and misses >> from the data needed and instructions run by this interface. Could you >> please share how I can do so and still obtain the accurate measurement >> of cache residency of a

[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 >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

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

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

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

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

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

[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

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

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

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

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

[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

[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

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

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

[PATCH char-misc 1/1] Drivers: hv: vmbus: Fix synic per-cpu context initialization

2018-08-02 Thread mhkelley58
From: Michael Kelley If hv_synic_alloc() errors out, the state of the per-cpu context for some CPUs is unknown since the zero'ing is done as each CPU is iterated over. In such case, hv_synic_cleanup() may try to free memory based on uninitialized values. Fix this by zero'ing the per-cpu

Re: [PATCH 3/3] irqchip: RISC-V Local Interrupt Controller Driver

2018-08-02 Thread Palmer Dabbelt
On Fri, 22 Jun 2018 17:08:58 PDT (-0700), rdun...@infradead.org wrote: On 06/22/2018 04:20 PM, Palmer Dabbelt wrote: From: Palmer Dabbelt This patch adds a driver that manages the local interrupts on each RISC-V hart, as specifiec by the RISC-V supervisor level ISA manual. The local interrupt

Re: Finish the GENERIC_IRQ_MULTI_HANDLER conversion

2018-08-02 Thread Palmer Dabbelt
On Sun, 24 Jun 2018 06:15:25 PDT (-0700), t...@linutronix.de wrote: On Thu, 21 Jun 2018, Palmer Dabbelt wrote: A while ago I sent a patch set that adds a GENERIC_IRQ_MULTI_HANDLER, which is an exact copy of the existing IRQ_MULTI_HANDLER support in the arm port, which is being used

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

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

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

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

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

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

[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

[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

[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

From:Miss:Fatima Yusuf.

2018-08-02 Thread Miss.Fatima Yusuf
From:Miss:Fatima Yusuf. For sure this mail would definitely come to you as a surprise, but do take your good time to go through it, My name is Ms.Fatima Yusuf,i am from Ivory Coast. I lost my parents a year and couple of months ago. My father was a serving director of the Agro-exporting

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

2018-08-02 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-08-02 22:50, Matthias Kaehlcke wrote: On Thu, Aug 02, 2018 at 06:55:12PM +0530, Balakrishna Godavarthi wrote: This patch enables regulators for the Qualcomm Bluetooth wcn3990 controller. Signed-off-by: Balakrishna Godavarthi Reviewed-by: Rob Herring ---

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

2018-08-02 Thread Guenter Roeck
On Thu, Aug 02, 2018 at 08:43:25AM -0700, Guenter Roeck wrote: > 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.

[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

[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

[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

[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

[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)

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

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

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

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,

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

Re: simplified RISC-V interrupt and clocksource handling v2

2018-08-02 Thread Palmer Dabbelt
On Thu, 02 Aug 2018 04:49:57 PDT (-0700), Christoph Hellwig wrote: This series tries adds support for interrupt handling and timers for the RISC-V architecture. The basic per-hart interrupt handling implemented by the scause and sie CSRs is extremely simple and implemented directly in

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

2018-08-02 Thread Bart Van Assche
On Fri, 2018-08-03 at 01:17 +0800, Ming Lei wrote: > Not mentioning big CPU utilization is consumed unnecessarily for iterating > over all queues even though there is only one active queue, is this fair from > system view? I hope that someone will come up some day with a better solution than the

Re: [PATCH v3 0/6] KVM: nVMX: Enlightened VMCS for Hyper-V on KVM

2018-08-02 Thread Paolo Bonzini
Just make clean and it will work. Will debug it. Paolo - Paolo Bonzini ha scritto: > On 02/08/2018 15:22, Vitaly Kuznetsov wrote: > >> Looks good, but we have to do something about live migration. > > Sure, > > > > I don't actually see any fundumental problems when eVMCS is in use, > >

[PATCH] staging: fsl-dpaa2/eth: Use named arguments in function definition

2018-08-02 Thread Ioana Radulescu
Checkpatch complains about unnamed arguments in a function prototype, so fix it. Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h

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

2018-08-02 Thread Peter Zijlstra
On Thu, Aug 02, 2018 at 04:21:11PM +0100, Quentin Perret wrote: > On Thursday 02 Aug 2018 at 14:45:11 (+0200), Peter Zijlstra wrote: > > To clarify, it makes absolutely no sense what so ever to attempt EAS > > when the DVFS control is not coordinated. > > I tend to agree with that, but at the

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

2018-08-02 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-08-02 23:40, Matthias Kaehlcke wrote: On Thu, Aug 02, 2018 at 11:35:54PM +0530, Balakrishna Godavarthi wrote: Hi Matthias, On 2018-08-02 23:24, Balakrishna Godavarthi wrote: > Hi Matthias, > > On 2018-08-02 22:50, Matthias Kaehlcke wrote: > > On Thu, Aug 02, 2018 at

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

2018-08-02 Thread Atish Patra
On 8/2/18 8:23 AM, Zong Li wrote: 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

[PATCH v4 3/3] iio: light: Add device tree binding for vishay vcnl4035

2018-08-02 Thread Parthiban Nallathambi
Adding device tree binding for vcnl4035 and vendor prefix for Vishay Intertechnology Signed-off-by: Parthiban Nallathambi Changelog in v3: - removed interrupt-parent property reference in documentation - renamed vcnl4035 to light-sensor Changelog in v4: - commit message fix - same

[PATCH v4 2/3] iio: light: Add support for vishay vcnl4035

2018-08-02 Thread Parthiban Nallathambi
Add support for VCNL4035, which is capable of Ambient light sensing (ALS) and proximity function. This patch adds support only for ALS function Signed-off-by: Parthiban Nallathambi Changelog since v1: 1. Fixed 0-day warning on le16_to_cpu usage 2. Persistence value is directly mapped to

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

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

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 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

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

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.

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

[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

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 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

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 9:54 AM, Shakeel Butt wrote: > 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

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:44:13AM -0700, Reinette Chatre wrote: > 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

[PATCH v4 1/3] iio: Add modifier for white light

2018-08-02 Thread Parthiban Nallathambi
Signed-off-by: Parthiban Nallathambi --- Documentation/ABI/testing/sysfs-bus-iio | 7 +++ drivers/iio/industrialio-core.c | 1 + include/uapi/linux/iio/types.h | 1 + tools/iio/iio_event_monitor.c | 2 ++ 4 files changed, 11 insertions(+) diff --git

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

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 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,

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 >

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 v12 1/7] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3990

2018-08-02 Thread Matthias Kaehlcke
On Thu, Aug 02, 2018 at 06:55:12PM +0530, Balakrishna Godavarthi wrote: > This patch enables regulators for the Qualcomm Bluetooth wcn3990 > controller. > > Signed-off-by: Balakrishna Godavarthi > Reviewed-by: Rob Herring > --- > .../bindings/net/qualcomm-bluetooth.txt | 26

Re: [PATCH 01/33] vfs: syscall: Add open_tree(2) to reference or clone a mount [ver #11]

2018-08-02 Thread Alan Jenkins
Hi I found this interesting, though I don't entirely follow the kernel mount/unmount code.  I had one puzzle about the code, and two questions which I was largely able to answer. On 01/08/18 16:24, David Howells wrote: +void dissolve_on_fput(struct vfsmount *mnt) +{ +

Re: [PATCH v13 0/7] Enable Bluetooth functionality for WCN3990

2018-08-02 Thread Balakrishna Godavarthi
my bad forgot to add subject. On 2018-08-03 00:37, Balakrishna Godavarthi wrote: These patches enables Bluetooth functinalties for new Qualcomm Bluetooth chip wnc3990. As this is latest chip with new features, along with some common features to old chip "qcom,qca6174-bt". we have updated names

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

2018-08-02 Thread Guenter Roeck
On Thu, Aug 02, 2018 at 11:25:17AM -0700, Guenter Roeck wrote: > On Thu, Aug 02, 2018 at 08:43:25AM -0700, Guenter Roeck wrote: > > 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

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

2018-08-02 Thread Gustavo A. R. Silva
On 08/02/2018 09:20 AM, Takashi Iwai wrote: > 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:

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 11:18:01AM -0700, Dave Hansen wrote: > On 08/02/2018 10:37 AM, Peter Zijlstra wrote: > >> I do not see how I can do so without incurring the cache hits and misses > >> from the data needed and instructions run by this interface. Could you > >> please share how I can do so

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

2018-08-02 Thread Dmitry Safonov
Hi Ivan, 2018-07-31 1:56 GMT+01:00 Ivan Delalande : > We were seeing unexplained segfaults in coreutils processes and other > basic utilities that we tracked down to binfmt_elf failing to load > segments for ld.so. Digging further, the actual problem seems to occur > when a process gets sigkilled

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

2018-08-02 Thread Dave Hansen
On 08/02/2018 12:54 PM, Peter Zijlstra wrote: >> I totally understand not wanting to fill the tree with code hijacking >> the raw PMU. Is your reaction to this really around not wanting to >> start down the slippery slope that ends up with lots of raw PMU "owners"? > That and the fact that

[PATCH v8 0/3] add support for Bluetooth on MT7622 SoC

2018-08-02 Thread sean.wang
From: Sean Wang v8 and changes since v7: - add updates per these suggestions mentioned in [1][2] - remove the hack atomic_inc(>cmd_cnt) mentioned in [2] because it should be better to be considered in the core [1] http://lists.infradead.org/pipermail/linux-mediatek/2018-August/014516.html

[PATCH v8 3/3] MAINTAINERS: add an entry for MediaTek Bluetooth driver

2018-08-02 Thread sean.wang
From: Sean Wang Add an entry for the MediaTek Bluetooth driver. Signed-off-by: Sean Wang --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0f2cce4..e983d9e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9144,6 +9144,14 @@ F:

[PATCH v8 1/3] dt-bindings: net: bluetooth: Add mediatek-bluetooth

2018-08-02 Thread sean.wang
From: Sean Wang Add binding document for a SoC built-in device using MediaTek protocol. Which could be found on MT7622 SoC or other similar MediaTek SoCs. Signed-off-by: Sean Wang Reviewed-by: Rob Herring --- .../devicetree/bindings/net/mediatek-bluetooth.txt | 35 ++ 1

Compliment of the day to you Dear Friend.

2018-08-02 Thread Mrs. Amina Kadi
Compliment of the day to you Dear Friend. Dear Friend. I am Mrs. Amina Kadi. am sending this brief letter to solicit your partnership to transfer $5.5 million US Dollars. I shall send you more information and procedures when I receive positive response from you. Mrs. Amina Kadi

Re: [PATCH 09/11] RISC-V: Support per-hart timebase-frequency

2018-08-02 Thread Atish Patra
On 8/2/18 4:50 AM, Christoph Hellwig wrote: From: Palmer Dabbelt Follow the updated DT specs and read the timebase-frequency from the CPU 0 node. However, the DT in the HighFive Unleashed has the entry at the wrong place. Even the example in github also at wrong place.

Re: [PATCH] dd: Invoke one probe retry cycle after every initcall level

2018-08-02 Thread Sodagudi Prasad
From: RAFAEL J. WYSOCKI Date: Wed, Aug 1, 2018 at 2:21 PM Subject: Re: [PATCH] dd: Invoke one probe retry cycle after every initcall level To: Rishabh Bhatnagar Cc: "Rafael J. Wysocki" , Greg Kroah-Hartman , Linux Kernel Mailing List , ckad...@codeaurora.org, ts...@codeaurora.org, Vikram

Re: [PATCH v4 2/3] iio: light: Add support for vishay vcnl4035

2018-08-02 Thread Andy Shevchenko
On Thu, Aug 2, 2018 at 9:27 PM, Parthiban Nallathambi wrote: > Add support for VCNL4035, which is capable of Ambient light > sensing (ALS) and proximity function. This patch adds support > only for ALS function > +#include > +#include > +#include > +#include > +#include Sort? > +#include

Re: [PATCH] proc: added ept_ad flag to /proc/cpuinfo

2018-08-02 Thread Peter Shier
Thank you Thomas. I missed what I think is your fundamental point regarding duplication created by this patch between CPU feature bits and KVM's consumption of the IA32_VMX_EPT_VPID_CAP MSR. Should all the features in this MSR be exposed via CPU feature bits and should KVM consume only from there

  1   2   3   4   5   6   7   8   9   10   >