Re: [PATCH v2] cros_ec: Use devm_kzalloc for private data

2018-06-04 Thread Lee Jones
On Wed, 30 May 2018, Gwendal Grignou wrote: > Use dev_kzmalloc, remove .release entry point. > > Signed-off-by: Gwendal Grignou > --- > Change sinc v1: > - Readd __remove to avoid a warning when loaded as a module. > > drivers/mfd/cros_ec_dev.c | 10 ++ > 1 file changed, 2 insertions(+

Re: [PATCH 2/2] sched/fair: util_est: add running_sum tracking

2018-06-04 Thread Vincent Guittot
On 4 June 2018 at 18:06, Patrick Bellasi wrote: > The estimated utilization of a task is affected by the task being > preempted, either by another FAIR task of by a task of an higher > priority class (i.e. RT or DL). Indeed, when a preemption happens, the > PELT utilization of the preempted task i

Re: [PATCH v3] kbuild: check for pkg-config on make {menu,n,g.x}config

2018-06-04 Thread Masahiro Yamada
Hi Randy, 2018-06-04 11:59 GMT+09:00 Randy Dunlap : > From: Randy Dunlap > > Each of 'make {menu,n,g,x}config' uses (needs) pkg-config to make sure > that other required files are present and to determine build flags > settings, but none of these check that pkg-config itself is present. > Add a

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

2018-06-04 Thread Lee Jones
On Tue, 05 Jun 2018, Stephen Rothwell wrote: > Hi Lee, > > After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > drivers/mfd/cros_ec_dev.c:265:13: warning: '__remove' defined but not used > [-Wunused-function] > static void __remove(struct devi

Re: [PATCH V4] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-04 Thread Daniel Lezcano
On 05/06/2018 07:53, Viresh Kumar wrote: > On 05-06-18, 07:48, Daniel Lezcano wrote: >> As soon as we reach complete(), no timer can be set because of the >> condition before. > > Why not ? We aren't using any locks here and it is possible that > run_duration_ms > is set to 0 from idle_injection_

Re: [PATCH 4.16 00/47] 4.16.14-stable review

2018-06-04 Thread Naresh Kamboju
On 4 June 2018 at 12:28, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.16.14 release. > There are 47 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 know. > > Responses

[GIT PULL] s390 patches for the 4.18 merge window

2018-06-04 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: - A rework for the s390 arch random code, the TRNG instruction is rather slow and should not be used on the interrupt path

[PATCH] irqchip/gic-v3-its: fix ITS queue timeout

2018-06-04 Thread Yang Yingliang
When the kernel booted with maxcpus=x, 'x' is smaller than actual cpu numbers, the TAs of offline cpus won't be set to its->collection. If LPI is bind to offline cpu, sync cmd will use zero TA, it leads to ITS queue timeout. Fix this by choosing a online cpu, if there is no online cpu in cpu_mask

Re: [PATCH v5 24/31] kconfig: add CC_IS_GCC and GCC_VERSION

2018-06-04 Thread Masahiro Yamada
2018-06-05 14:50 GMT+09:00 Stefan Agner : > On 05.06.2018 02:07, Masahiro Yamada wrote: >> Hi Stefan >> >> 2018-06-05 6:49 GMT+09:00 Stefan Agner : >>> Hi Masahiro, >>> >>> On 28.05.2018 11:22, Masahiro Yamada wrote: This will be useful to specify the required compiler version, like this:

[RFC PATCH 0/3] firmware: Add K3 Support for TISCI driver

2018-06-04 Thread Nishanth Menon
Hi, The following series enables TI System Control Interface(TISCI) support for the newest addition in TI's SoC portfolio - AM654 SoC. The series is an RFC based off next-20180604 and will post formally once v4.18-rc1 is available. The series (part 4 of 4) is available here: https://githu

[RFC PATCH 1/3] Documentation: dt: keystone: ti-sci: Add optional host-id parameter

2018-06-04 Thread Nishanth Menon
Texas Instrument's System Control Interface (TISCI) permits the ability for Operating Systems to running in virtual machines to be able to independently communicate with the firmware without the need going through an hypervisor. The "host-id" in effect is the hardware representation of the host (e

[RFC PATCH 2/3] firmware: ti_sci: Provide host-id as an optional dt parameter

2018-06-04 Thread Nishanth Menon
Texas Instrument's System Control Interface (TISCI) permits the ability for Operating Systems to running in virtual machines to be able to independently communicate with the firmware without the need going through an hypervisor. The "host-id" in effect is the hardware representation of the host (e

[RFC PATCH 3/3] arm64: dts: ti: k3-am6: Add Device Management Security Controller support

2018-06-04 Thread Nishanth Menon
Add TISCI compatible System controller for AM6 SoCs. Signed-off-by: Nishanth Menon --- arch/arm64/boot/dts/ti/k3-am6.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am6.dtsi b/arch/arm64/boot/dts/ti/k3-am6.dtsi index 07e9cc055

[RFC PATCH] clk: keystone: Enable TISCI clocks if K3_ARCH

2018-06-04 Thread Nishanth Menon
K3_ARCH uses TISCI for clocks as well. Enable the same for the driver support. Signed-off-by: Nishanth Menon --- Hi, This patch depends on https://marc.info/?l=linux-arm-kernel&m=152817866312732&w=2 and is an RFC based off next-20180604 and will post formally once v4.18-rc1 is availab

Re: [PATCH 4.14 00/52] 4.14.48-stable review

2018-06-04 Thread Naresh Kamboju
On 4 June 2018 at 12:27, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.48 release. > There are 52 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 know. > > Responses

Re: [PATCH] remoteproc: qcom: Introduce Hexagon V5 based WCSS driver

2018-06-04 Thread Vinod
On 05-06-18, 11:12, Sricharan R wrote: > +config QCOM_Q6V5_WCSS > + tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader" > + depends on OF && ARCH_QCOM > + depends on QCOM_SMEM > + depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n) > + depends on RPMSG_QC

[RFC PATCH 4/8] mailbox: ti-msgmgr: Move the memory region name to descriptor

2018-06-04 Thread Nishanth Menon
For newer generation of the hardware, the naming of the region is decided at integration level and there could be additional regions as well. Hence move the region naming to be described from compatible descriptor. Signed-off-by: Nishanth Menon --- drivers/mailbox/ti-msgmgr.c | 10 -- 1

[RFC PATCH 8/8] arm64: dts: ti: k3-am6: Add Secure Proxy instance

2018-06-04 Thread Nishanth Menon
Add support for Secure Proxy instances in AM6 family of SoCs. Signed-off-by: Nishanth Menon --- arch/arm64/boot/dts/ti/k3-am6.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am6.dtsi b/arch/arm64/boot/dts/ti/k3-am6.dtsi index cdfa12173aac..07e9cc0

[RFC PATCH 2/8] mailbox: ti-msgmgr: Allocate Rx channel resources only on request

2018-06-04 Thread Nishanth Menon
In a much bigger system SoCs, the number of Rx channels can be many and mostly unused based on the system of choice, and not all Rx channels need IRQs and allocating all memory at probe will be inefficient. Some SoCs could have total threads in the 100s and usage would be just 1 Rx thread. Thus, r

[RFC PATCH 5/8] dt-bindings: mailbox: ti,message-manager: Add support for secure proxy threads

2018-06-04 Thread Nishanth Menon
Secure Proxy is another communication scheme in Texas Instrument's devices intended to provide an unique communication path from various processors in the System on Chip(SoC) to a central System Controller. Secure proxy is, in effect, an evolution of current generation Message Manager hardware blo

[RFC PATCH 0/8] mailbox: ti-msgmgr: Add support for AM654 Secure Proxy

2018-06-04 Thread Nishanth Menon
Hi, The following series enables support for Secure Proxy in newest addition in TI's SoC portfolio - AM654 SoC. The series is an RFC based off next-20180604 and will post formally once v4.18-rc1 is available. The DT and ARCH part of the series is based on https://marc.info/?l=linux-arm-k

[RFC PATCH 7/8] drivers: mailbox: Make ti-msgmr driver depend on ARCH_K3

2018-06-04 Thread Nishanth Menon
ti-msgmr driver can support K3 platforms as well. Signed-off-by: Nishanth Menon --- drivers/mailbox/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index 725dce5ba62d..f87a857d21a5 100644 --- a/drivers/mailbox/

[RFC PATCH 6/8] mailbox: ti-msgmgr: Add support for Secure Proxy

2018-06-04 Thread Nishanth Menon
Secure Proxy is another communication scheme in Texas Instrument's devices intended to provide an unique communication path from various processors in the System on Chip(SoC) to a central System Controller. Secure proxy is, in effect, an evolution of current generation Message Manager hardware blo

[RFC PATCH 3/8] mailbox: ti-msgmgr: Change message count mask to be descriptor based

2018-06-04 Thread Nishanth Menon
Change mask used to extract the message count to be descriptor based. This is to support changes for count location for various SoC solutions. Signed-off-by: Nishanth Menon --- drivers/mailbox/ti-msgmgr.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --g

[RFC PATCH 1/8] mailbox: ti-msgmgr: Get rid of unused structure members

2018-06-04 Thread Nishanth Menon
Though q_proxies and q_slices do describe the hardware configuration, they are not necessary for operation given that the values are always default. Hence drop the same. Signed-off-by: Nishanth Menon --- drivers/mailbox/ti-msgmgr.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers

Re: [PATCH 4.9 00/29] 4.9.106-stable review

2018-06-04 Thread Naresh Kamboju
On 4 June 2018 at 12:27, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.106 release. > There are 29 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 know. > > Responses

Re: [greybus-dev] [PATCH] Staging:greybus Fix comparison to NULL

2018-06-04 Thread Johan Hovold
On Tue, Jun 05, 2018 at 11:02:36AM +0530, Viresh Kumar wrote: > On 03-06-18, 08:52, Janani Sankara Babu wrote: > > This patch replaces comparison of var to NULL with !var > > > > Signed-off-by: Janani Sankara Babu > > --- > > drivers/staging/greybus/core.c | 2 +- > > 1 file changed, 1 insertion

[RFC PATCH 5/6] arm64: dts: ti: Add Support for AM654 SoC

2018-06-04 Thread Nishanth Menon
The AM654 SoC is a lead device of the K3 Multicore SoC architecture platform, targeted for broad market and industrial control with aim to meet the complex processing needs of modern embedded products. Some highlights of this SoC are: * Quad ARMv8 A53 cores split over two clusters * GICv3 complian

[RFC PATCH 6/6] arm64: dts: ti: Add support for AM654 EVM base board

2018-06-04 Thread Nishanth Menon
The EValuation Module(EVM) platform for AM654 consists of a common Base board + one or more of daughter cards, which include: a) "Personality Modules", which can be specific to a profile, such as ICSSG enabled or Multi-media (including audio). b) SERDES modules, which may be 2 lane PCIe or two por

Re: [PATCH 6/6] x86/vdso: Move out the CPU number store

2018-06-04 Thread Mika Penttilä
On 06/05/2018 08:36 AM, H. Peter Anvin wrote: > On 06/04/18 20:57, Mika Penttilä wrote: >> >> This won't work on X86-32 because it actually uses the segment limit with >> fs: access. So there >> is a reason why the lsl based method is X86-64 only. >> > > > > Why does that matter in any shape,

[RFC PATCH 2/6] arm64: Add support for TI's K3 Multicore SoC architecture

2018-06-04 Thread Nishanth Menon
Add support for Texas Instrument's K3 Multicore SoC architecture processors. Signed-off-by: Nishanth Menon --- arch/arm64/Kconfig.platforms | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index d5aeac351fc3..52df25bf4f8c 1006

[RFC PATCH 4/6] serial: 8250_omap: Make 8250_omap driver driver depend on ARCH_K3

2018-06-04 Thread Nishanth Menon
From: Lokesh Vutla Allow 8250 omap serial driver to be used for K3 platforms. Signed-off-by: Lokesh Vutla Signed-off-by: Nishanth Menon --- drivers/tty/serial/8250/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/

[RFC PATCH 1/6] Documentation: arm: ti: Add bindings for AM654 SoC

2018-06-04 Thread Nishanth Menon
The AM654 SoC is a lead device of the K3 Multicore SoC architecture platform, targeted for broad market and industrial control with aim to meet the complex processing needs of modern embedded products. Some highlights of this SoC are: * Quad ARMv8 A53 cores split over two clusters * GICv3 complian

[RFC PATCH 0/6] arm64: Initial support Texas Instrument's AM654 Platform

2018-06-04 Thread Nishanth Menon
Hi, The following series enables support for newest addition in TI's SoC portfolio - AM654 SoC. The series is an RFC based off next-20180604 and will post formally once v4.18-rc1 is available. The series (part 1 of 4) is available here: https://github.com/nmenon/linux-2.6-playground/co

[RFC PATCH 3/6] serial: 8250_omap: Add support for AM654 UART controller

2018-06-04 Thread Nishanth Menon
AM654 uses a UART controller that is compatible (partially) with existing 8250 UART, however, has a few differences with respect to DMA support and control paths. Introduce a base definition that allows us to build up the differences in follow on patches. Cc: Sekhar Nori Cc: Vignesh R Signed-off

Re: [PATCH v3]: perf record: enable arbitrary event names thru name= modifier

2018-06-04 Thread Alexey Budankov
Hi, On 04.06.2018 22:16, Arnaldo Carvalho de Melo wrote: > Em Mon, Jun 04, 2018 at 06:22:43PM +0300, Alexey Budankov escreveu: >> On 04.06.2018 17:58, Arnaldo Carvalho de Melo wrote: >>> Em Mon, Jun 04, 2018 at 05:51:03PM +0300, Alexey Budankov escreveu: event names quoted there. If such cases

Re: [PATCH 0/7] atomics: generate atomic headers

2018-06-04 Thread Mark Rutland
On Mon, Jun 04, 2018 at 06:21:22PM +0200, Dmitry Vyukov wrote: > On Tue, May 29, 2018 at 8:07 PM, Mark Rutland wrote: > > This series scripts the generation of the various atomic headers, to > > ensure that the various atomic APIs remain consistent, reducing the risk > > of human error, and simpli

Re: Spectre mitigation doesn't seem to work at all?!

2018-06-04 Thread Andreas Hartmann
On 06/04/2018 at 04:12 PM Alan Cox wrote: >> A malicious program most probably won't care about that. Therefore, my >> next question is: which memory regions can be exploited by a malicious >> program? The complete physical memory or only the memory provided to the >> malicious program? Should be t

Re: [PATCH V4] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-04 Thread Viresh Kumar
On 05-06-18, 07:48, Daniel Lezcano wrote: > As soon as we reach complete(), no timer can be set because of the > condition before. Why not ? We aren't using any locks here and it is possible that run_duration_ms is set to 0 from idle_injection_stop() only after the first thread has restarted the h

RE: [CFT][PATCH] kernfs: Correct kernfs directory seeks.

2018-06-04 Thread Hatayama, Daisuke
> -Original Message- > From: Eric W. Biederman [mailto:ebied...@xmission.com] > Sent: Tuesday, June 5, 2018 11:03 AM > To: Hatayama, Daisuke > Cc: 'gre...@linuxfoundation.org' ; > 't...@kernel.org' ; Okajima, Toshiyuki > ; linux-kernel@vger.kernel.org; > 'ebied...@aristanetworks.com'

Re: [PATCH v5 24/31] kconfig: add CC_IS_GCC and GCC_VERSION

2018-06-04 Thread Stefan Agner
On 05.06.2018 02:07, Masahiro Yamada wrote: > Hi Stefan > > 2018-06-05 6:49 GMT+09:00 Stefan Agner : >> Hi Masahiro, >> >> On 28.05.2018 11:22, Masahiro Yamada wrote: >>> This will be useful to specify the required compiler version, >>> like this: >>> >>> config FOO >>> bool "Use Foo" >>>

[no subject]

2018-06-04 Thread Mavis Wanczyk
-- Good Day, I, Mavis Wanczyk donates $ 5 Million Dollars from part of my Powerball Jackpot Lottery of $ 758 Million Dollars, respond with your details for claims. I await your earliest response and God Bless you Good luck. Mavis Wanczyk

Re: 4.14.44: BUG_ON(!list_empty(&sem->wait_list));

2018-06-04 Thread Daniel J Blueman
On 5 June 2018 at 05:47, wrote: >> -Original Message- >> From: Daniel J Blueman [mailto:dan...@quora.org] >> Sent: Thursday, May 31, 2018 9:21 PM >> To: Linux Kernel; linux-a...@vger.kernel.org >> Cc: Limonciello, Mario; Dominguez, Jared >> Subject: 4.14.44: BUG_ON(!list_empty(&sem->wait_

Re: [PATCH V4] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-04 Thread Daniel Lezcano
On 05/06/2018 07:14, Viresh Kumar wrote: > On 31-05-18, 20:25, Daniel Lezcano wrote: >> On 29/05/2018 11:31, Viresh Kumar wrote: >>> On 25-05-18, 11:49, Daniel Lezcano wrote: + /* + * The last CPU waking up is in charge of setting the timer. If + * the CPU is hotplugged, the

Re: [PATCH v2 4/9] x86: alternatives: macrofy locks for better inlining

2018-06-04 Thread kbuild test robot
Hi Nadav, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17 next-20180604] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

RE: [CFT][PATCH] kernfs: Correct kernfs directory seeks.

2018-06-04 Thread Hatayama, Daisuke
> -Original Message- > From: Eric W. Biederman [mailto:ebied...@xmission.com] > Sent: Monday, June 4, 2018 11:45 PM > To: Hatayama, Daisuke > Cc: 'gre...@linuxfoundation.org' ; > 't...@kernel.org' ; Okajima, Toshiyuki > ; linux-kernel@vger.kernel.org; > 'ebied...@aristanetworks.com' >

Re: [PATCH v2 4/9] x86: alternatives: macrofy locks for better inlining

2018-06-04 Thread kbuild test robot
Hi Nadav, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17 next-20180604] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

[PATCH] remoteproc: qcom: Introduce Hexagon V5 based WCSS driver

2018-06-04 Thread Sricharan R
IPQ8074 has an integrated Hexagon dsp core q6v5 and a wireless lan (Lithium) IP. An mdt type single image format is used for the firmware. So the mdt_load function can be directly used to load the firmware. Also add the relevant resets required for this core. Acked-by: Rob Herring (for bindings)

Re: [PATCH v2 2/9] x86: objtool: use asm macro for better compiler decisions

2018-06-04 Thread kbuild test robot
Hi Nadav, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17 next-20180604] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH 6/6] x86/vdso: Move out the CPU number store

2018-06-04 Thread H. Peter Anvin
On 06/04/18 20:57, Mika Penttilä wrote: > > This won't work on X86-32 because it actually uses the segment limit with fs: > access. So there > is a reason why the lsl based method is X86-64 only. > Why does that matter in any shape, way, or form? The LSL instruction doesn't touch any of the

Re: [PATCHv2 03/16] atomics/treewide: make atomic64_inc_not_zero() optional

2018-06-04 Thread Mark Rutland
On Mon, Jun 04, 2018 at 04:17:25PM -0700, Palmer Dabbelt wrote: > On Tue, 29 May 2018 08:43:33 PDT (-0700), mark.rutl...@arm.com wrote: > > We define a trivial fallback for atomic_inc_not_zero(), but don't do > > the same for atmic64_inc_not_zero(), leading most architectures to > > define the same

Re: [greybus-dev] [PATCH] Staging:greybus Fix comparison to NULL

2018-06-04 Thread Viresh Kumar
On 03-06-18, 08:52, Janani Sankara Babu wrote: > This patch replaces comparison of var to NULL with !var > > Signed-off-by: Janani Sankara Babu > --- > drivers/staging/greybus/core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/greybus/core.c b/driver

Re: [PATCH 6/6] x86/vdso: Move out the CPU number store

2018-06-04 Thread Mika Penttilä
On 06/05/2018 07:44 AM, Bae, Chang Seok wrote: >>> diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c >>> index ea554f8..e716e94 100644 >>> --- a/arch/x86/kernel/setup_percpu.c >>> +++ b/arch/x86/kernel/setup_percpu.c >>> @@ -155,12 +155,21 @@ static void __init pcpup_popu

Re: [PATCH V4] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-04 Thread Viresh Kumar
On 31-05-18, 20:25, Daniel Lezcano wrote: > On 29/05/2018 11:31, Viresh Kumar wrote: > > On 25-05-18, 11:49, Daniel Lezcano wrote: > >> + /* > >> + * The last CPU waking up is in charge of setting the timer. If > >> + * the CPU is hotplugged, the timer will move to another CPU > >> + * (whic

[PATCH V2 2/2] arm: dts: sunxi: Add missing cooling device properties for CPUs

2018-06-04 Thread Viresh Kumar
The cooling device properties, like "#cooling-cells" and "dynamic-power-coefficient", should either be present for all the CPUs of a cluster or none. If these are present only for a subset of CPUs of a cluster then things will start falling apart as soon as the CPUs are brought online in a differen

[PATCH V2 1/2] arm: dts: sun8i-h3: Add missing cooling device properties for CPUs

2018-06-04 Thread Viresh Kumar
The cooling device properties, like "#cooling-cells" and "dynamic-power-coefficient", should either be present for all the CPUs of a cluster or none. If these are present only for a subset of CPUs of a cluster then things will start falling apart as soon as the CPUs are brought online in a differen

Re: Regression in Linux next again

2018-06-04 Thread Tony Lindgren
Hi, * Maciej Purski [180604 14:02]: > Tony, please apply this patchset and test it on your Beaglebone. It'd be > great if you could try to find out, which patch causes failure. They should > be appliable on the current next. It seems beagle-x15 boots for me except with the last patch in the seri

Re: [PATCH 6/6] x86/vdso: Move out the CPU number store

2018-06-04 Thread Bae, Chang Seok
>> diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c >> index ea554f8..e716e94 100644 >> --- a/arch/x86/kernel/setup_percpu.c >> +++ b/arch/x86/kernel/setup_percpu.c >> @@ -155,12 +155,21 @@ static void __init pcpup_populate_pte(unsigned long >> addr) >> >> static inl

Re: [PATCH 1/6] arm64: dts: amlogic: Add missing cooling device properties for CPUs

2018-06-04 Thread Viresh Kumar
On 02-06-18, 01:14, Olof Johansson wrote: > And what I am saying is that it sounds like a broken binding if you don't > allow > that, especially since it'll be a super common case that all CPUs will specify > the same cooling-device specifier. I am fine with allowing the #cooling-cells property i

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-06-04 Thread Christoph Hellwig
On Mon, Jun 04, 2018 at 02:58:49PM -0700, Roland Dreier wrote: > We plan to implement all the fancy NVMe standards like ANA, but it > seems that there is still a requirement to let the host side choose > policies about how to use paths (round-robin vs least queue depth for > example). Even in the

Re: [PATCH -mm -V3 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-04 Thread Huang, Ying
Daniel Jordan writes: > On Wed, May 23, 2018 at 04:26:04PM +0800, Huang, Ying wrote: >> And for all, Any comment is welcome! >> >> This patchset is based on the 2018-05-18 head of mmotm/master. > > Trying to review this and it doesn't apply to mmotm-2018-05-18-16-44. git > fails on patch 10: >

Re: Common config for N900 and D4

2018-06-04 Thread Tony Lindgren
* Pavel Machek [180603 21:03]: > Hi! > > > > Aaro, I know I have asked before, but if you have common config for > > > N900 and Droid4, please send me a copy. Yes, it should be somewhere in > > > my inbox already, but I can't find it and version for v4.17 would be > > > more useful. > > > > > >

Re: [rfc patch] mm, oom: fix unnecessary killing of additional processes

2018-06-04 Thread David Rientjes
On Fri, 1 Jun 2018, Michal Hocko wrote: > > We've discussed the mm > > having a single blockable mmu notifier. Regardless of how we arrive at > > the point where the oom reaper can't free memory, which could be any of > > those three cases, if (1) the original victim is sufficiently large that

Re: [PATCH] uart: fix race between uart_put_char() and uart_shutdown()

2018-06-04 Thread Serge E. Hallyn
Quoting Tycho Andersen (ty...@tycho.ws): > We have reports of the following crash: > > PID: 7 TASK: 88085c6d61c0 CPU: 1 COMMAND: "kworker/u25:0" > #0 [88085c6db710] machine_kexec at 81046239 > #1 [88085c6db760] crash_kexec at 810fc248 > #2 [88085c6db

Re: [PATCH 6/6] x86/vdso: Move out the CPU number store

2018-06-04 Thread Mika Penttilä
On 06/04/2018 10:24 PM, Chang S. Bae wrote: > The CPU (and node) number will be written, as early enough, > to the segment limit of per CPU data and TSC_AUX MSR entry. > The information has been retrieved by vgetcpu in user space > and will be also loaded from the paranoid entry, when > FSGSBASE en

Re: [PATCH 16/19] sched/numa: Detect if node actively handling migration

2018-06-04 Thread Srikar Dronamraju
* Rik van Riel [2018-06-04 16:05:55]: > On Mon, 2018-06-04 at 15:30 +0530, Srikar Dronamraju wrote: > > > @@ -1554,6 +1562,9 @@ static void task_numa_compare(struct > > task_numa_env *env, > > if (READ_ONCE(dst_rq->numa_migrate_on)) > > return; > > > > + if (*move && READ_ONC

Re: [PATCH 1/2] platform/x86: asus-wmi: Call new led hw_changed API on kbd brightness change

2018-06-04 Thread Chris Chiu
On Tue, Jun 5, 2018 at 10:31 AM, Darren Hart wrote: > On Mon, Jun 04, 2018 at 04:23:04PM +0200, Hans de Goede wrote: >> Hi, >> >> On 04-06-18 15:51, Daniel Drake wrote: >> > On Mon, Jun 4, 2018 at 7:22 AM, Hans de Goede wrote: >> > > Is this really a case of the hardware itself processing the >>

linux-next: build warning after merge of the mfd tree

2018-06-04 Thread Stephen Rothwell
Hi Lee, After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/mfd/cros_ec_dev.c:265:13: warning: '__remove' defined but not used [-Wunused-function] static void __remove(struct device *dev) { } ^~~~ Introduced by commit 3a

rf69_set_deviation in rf69.c (pi433 driver)

2018-06-04 Thread Hugo Lefeuvre
Hi Marcus, I have been taking a look at the pi433 driver these last days, and started working on the remaining TODOs. I just stumbled across the following one (drivers/staging/pi433/rf69.c): 245 // TODO: Dependency to bitrate 246 if (deviation < 600 || deviation > 50) { 247

Re: [PATCH] ARM: dts: armada388-helios4

2018-06-04 Thread Baruch Siach
Hi Dennis, On Mon, Jun 04, 2018 at 08:13:43PM -0500, Dennis Gilmore wrote: > The helios4 is a Armada388 based nas board designed by SolidRun and > based on their SOM. It is sold by kobol.io the dts file came from > https://raw.githubusercontent.com/armbian/build/master/patch/kernel/mvebu-default/9

Re: [PATCH] Use an IDR to allocate apparmor secids

2018-06-04 Thread John Johansen
On 06/04/2018 07:27 PM, Matthew Wilcox wrote: > On Mon, Jun 04, 2018 at 06:27:09PM -0700, John Johansen wrote: >> hey Mathew, >> >> I've pulled this into apparmor-next and done the retuning of >> AA_SECID_INVALID a follow on patch. The reworking of the api to >> return the specific error type can w

Re: [PATCH 1/2] platform/x86: asus-wmi: Call new led hw_changed API on kbd brightness change

2018-06-04 Thread Darren Hart
On Mon, Jun 04, 2018 at 04:23:04PM +0200, Hans de Goede wrote: > Hi, > > On 04-06-18 15:51, Daniel Drake wrote: > > On Mon, Jun 4, 2018 at 7:22 AM, Hans de Goede wrote: > > > Is this really a case of the hardware itself processing the > > > keypress and then changing the brightness *itself* ? > >

Re: [PATCH 2/2] sched/fair: util_est: add running_sum tracking

2018-06-04 Thread kbuild test robot
Hi Patrick, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on next-20180604] [cannot apply to v4.17] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH] Use an IDR to allocate apparmor secids

2018-06-04 Thread Matthew Wilcox
On Mon, Jun 04, 2018 at 06:27:09PM -0700, John Johansen wrote: > hey Mathew, > > I've pulled this into apparmor-next and done the retuning of > AA_SECID_INVALID a follow on patch. The reworking of the api to > return the specific error type can wait for another cycle. Oh ... here's what I current

RE: [PATCH] panic: move bust_spinlocks(0) after console_flush_on_panic() to avoid deadlocks

2018-06-04 Thread Hoeun Ryu
I misunderstood the cause of a deadlock. I sent v2 fixing the commit message about the reason of the deadlock. Please ignore this and review v2. Thank you. > -Original Message- > From: Steven Rostedt [mailto:rost...@goodmis.org] > Sent: Tuesday, June 05, 2018 10:44 AM > To: Hoeun Ryu > Cc

[PATCH v2] panic: move bust_spinlocks(0) after console_flush_on_panic() to avoid deadlocks

2018-06-04 Thread Hoeun Ryu
From: Hoeun Ryu Many console device drivers hold the uart_port->lock spinlock with irq disabled (using spin_lock_irqsave()) while the device drivers are writing characters to their devices, but the device drivers just try to hold the spin lock (using spin_trylock_irqsave()) instead if "oops_in_

Re: [PATCH 1/2] platform/x86: asus-wmi: Call new led hw_changed API on kbd brightness change

2018-06-04 Thread Darren Hart
On Mon, Jun 04, 2018 at 08:32:37PM +0800, Chris Chiu wrote: > Make asus-wmi notify on hotkey kbd brightness changes, listen for > brightness events and update the brightness directly in the driver. > For this purpose, bound check on brightness in kbd_led_set must be > based on the same data type to

Re: [CFT][PATCH] kernfs: Correct kernfs directory seeks.

2018-06-04 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: > "Hatayama, Daisuke" writes: > >>> Can you test this and please verify it fixes your issue? >> >> I tried this patch on top of v4.17 but the system fails to boot >> without detecting root disks by dracut like this: [snip] >> OTOH, there's no iss

[PATCH] ksys_mount: check for permissions before resource allocation

2018-06-04 Thread Ilya Matveychikov
Early check for mount permissions prevents possible allocation of 3 pages from kmalloc() pool by unpriveledged user which can be used for spraying the kernel heap. Signed-off-by: Ilya V. Matveychikov --- fs/namespace.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/namespace.c b/fs/na

Re: [GIT PULL] x86/asm changes for v4.18

2018-06-04 Thread Linus Torvalds
On Mon, Jun 4, 2018 at 5:21 AM Ingo Molnar wrote: > > - __clear_user() micro-optimization (Alexey Dobriyan) Was this actually tested? I think one reason people avoided the constant was that on some microarchitecture it ended up being a separate uop just for the constant generation, because it w

Re: [PATCH v2] platform/x86: asus-wmi: Add keyboard backlight toggle support

2018-06-04 Thread Darren Hart
On Mon, Jun 04, 2018 at 11:27:43AM +0200, Benjamin Berg wrote: > Hi, > > On Thu, 2018-05-24 at 16:33 +0800, Chris Chiu wrote: > > I've made my change to set the brightness level directly in the > > driver, but the > > OSD doesn't show correctly correspond to the level value. The brightness > > sh

Re: [PATCH v4 8/8] Documentation/ABI: Add documentation mlxreg-io sysfs interfaces

2018-06-04 Thread Darren Hart
On Tue, May 29, 2018 at 08:59:07AM +, Vadim Pasternak wrote: > Add documentation for mlxreg-io driver sysfs interfaces for user space > access to system's power resets control, reset causes monitoring, > programmable devices version reading and devices selection control. > > Signed-off-by: Vad

Re: [PATCH] panic: move bust_spinlocks(0) after console_flush_on_panic() to avoid deadlocks

2018-06-04 Thread Steven Rostedt
On Mon, 4 Jun 2018 14:45:57 +0900 Hoeun Ryu wrote: > From: Hoeun Ryu > > Many console device drivers hold the uart_port->lock spinlock with irq > enabled > (using spin_lock()) while the device drivers are writing characters to their > devices, > but the device drivers just try to hold the s

Re: [PATCH 1/2] sched/fair: pelt: use u32 for util_avg

2018-06-04 Thread kbuild test robot
Hi Patrick, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.17 next-20180604] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH V2] cros_ec_keyb: Mark cros_ec_keyb driver as wake enabled device.

2018-06-04 Thread Brian Norris
Hi, On Fri, May 25, 2018 at 06:14:40PM -0700, Ravi Chandra Sadineni wrote: > Mark cros_ec_keyb has wake enabled by default. If we see a MKBP event > related to keyboard, call pm_wakeup_event() to make sure wakeup > triggers are accounted to keyb during suspend resume path. > > Signed-off-by: Rav

Re: [PATCH 1/2] sched/fair: pelt: use u32 for util_avg

2018-06-04 Thread kbuild test robot
Hi Patrick, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.17 next-20180604] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH 2/2] sched/fair: util_est: add running_sum tracking

2018-06-04 Thread kbuild test robot
Hi Patrick, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on next-20180604] [cannot apply to v4.17] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH] Use an IDR to allocate apparmor secids

2018-06-04 Thread John Johansen
On 05/28/2018 10:01 AM, Matthew Wilcox wrote: > > ping? > > I have this queued up in my XArray tree. If I don't hear from you before > -rc1, I'll be submitting it as part of the XArray conversion. > hey Mathew, I've pulled this into apparmor-next and done the retuning of AA_SECID_INVALID a fol

Re: linux-next: manual merge of the xfs tree with Linus' tree

2018-06-04 Thread Stephen Rothwell
Hi Dave, On Tue, 5 Jun 2018 10:59:04 +1000 Dave Chinner wrote: > > On Tue, Jun 05, 2018 at 10:34:03AM +1000, Stephen Rothwell wrote: > > > > Today's linux-next merge of the xfs tree got a conflict in: > > > > fs/gfs2/bmap.c > > > > between commit: > > > > 628e366df11c ("gfs2: Iomap cleanup

Re: linux-next: manual merge of the nvdimm tree with the jc_docs tree

2018-06-04 Thread Stephen Rothwell
Hi all, On Wed, 9 May 2018 18:05:39 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the nvdimm tree got a conflict in: > > mm/hmm.c > > between commit: > > ad56b738c5dd ("docs/vm: rename documentation files to .rst") > > from the jc_docs tree and commit: > > 737b47a6db70

[PATCH] ARM: dts: armada388-helios4

2018-06-04 Thread Dennis Gilmore
The helios4 is a Armada388 based nas board designed by SolidRun and based on their SOM. It is sold by kobol.io the dts file came from https://raw.githubusercontent.com/armbian/build/master/patch/kernel/mvebu-default/95-helios4-device-tree.patch I added a SPDX license line to match the clearfog it s

Re: [PATCH] riscv: add riscv-specific predefines to CHECKFLAGS

2018-06-04 Thread Palmer Dabbelt
On Thu, 31 May 2018 08:42:01 PDT (-0700), luc.vanoostenr...@gmail.com wrote: RISC-V uses the macro __riscv_xlen, predefined by GCC, to make the distinction between 32 or 64 bit code. However, sparse doesn't know anything about this macro which lead to wrong warnings and failures. Fix this by ad

Re: [PATCH] riscv: pass machine size to sparse

2018-06-04 Thread Palmer Dabbelt
On Thu, 31 May 2018 08:35:54 PDT (-0700), luc.vanoostenr...@gmail.com wrote: On Thu, May 31, 2018 at 05:09:21AM -0700, Palmer Dabbelt wrote: On Mon, 28 May 2018 23:14:20 PDT (-0700), yamada.masah...@socionext.com wrote: > 2018-05-29 15:11 GMT+09:00 Christoph Hellwig : > > On Mon, May 28, 2018 at

Re: kernel panic in reading /proc/kpageflags when enabling RAM-simulated PMEM

2018-06-04 Thread Matthew Wilcox
On Tue, Jun 05, 2018 at 12:54:03AM +, Naoya Horiguchi wrote: > Reproduction precedure is like this: > - enable RAM based PMEM (with a kernel boot parameter like memmap=1G!4G) > - read /proc/kpageflags (or call tools/vm/page-types with no arguments) > (- my kernel config is attached) > > I s

Re: [PATCH 1/6] PCI: iproc: Update iProc PCI binding for INTx support

2018-06-04 Thread Ray Jui
Hi Rob/Arnd, On 6/4/2018 7:17 AM, Rob Herring wrote: +Arnd On Tue, May 29, 2018 at 4:58 PM, Ray Jui wrote: Update the iProc PCIe binding document for better modeling of the legacy interrupt (INTx) support Signed-off-by: Ray Jui --- .../devicetree/bindings/pci/brcm,iproc-pcie.txt| 31 +

Re: linux-next: manual merge of the xfs tree with Linus' tree

2018-06-04 Thread Andreas Grünbacher
2018-06-05 2:59 GMT+02:00 Dave Chinner : > On Tue, Jun 05, 2018 at 10:34:03AM +1000, Stephen Rothwell wrote: >> Hi all, >> >> Today's linux-next merge of the xfs tree got a conflict in: >> >> fs/gfs2/bmap.c >> >> between commit: >> >> 628e366df11c ("gfs2: Iomap cleanups and improvements") >> >>

Re: [PATCH] riscv/ftrace: Export _mcount when FUNCTION_GRAPH_TRACER isn't set

2018-06-04 Thread Alan Kao
Hi Palmer, Thanks for the refining work! But a small correction here: On Mon, Jun 04, 2018 at 01:30:28PM -0700, Palmer Dabbelt wrote: > From: Alan Kao > > The EXPORT_SYMBOL(_mcount) for RISC-V ended up inside a > CONFIG_FUNCTION_GRAPH_TRACER ifdef. If you enable modules without > enabling CONF

Re: [PATCH v4 6/8] platform/mellanox: Introduce support for Mellanox register access driver

2018-06-04 Thread Darren Hart
On Tue, May 29, 2018 at 08:59:05AM +, Vadim Pasternak wrote: > Introduce new Mellanox platform driver to allow access to Mellanox > programmable device register space trough sysfs interface. > The driver purpose is to provide sysfs interface for user space for the > registers essential for syst

Re: linux-next: manual merge of the xfs tree with Linus' tree

2018-06-04 Thread Dave Chinner
On Tue, Jun 05, 2018 at 10:34:03AM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the xfs tree got a conflict in: > > fs/gfs2/bmap.c > > between commit: > > 628e366df11c ("gfs2: Iomap cleanups and improvements") > > from Linus' tree and commit: > > 7ee66c03e40a

kernel panic in reading /proc/kpageflags when enabling RAM-simulated PMEM

2018-06-04 Thread Naoya Horiguchi
Hi everyone, I detected a kernel panic in mmotm on 5/25. [ 33.316734] BUG: unable to handle kernel paging request at fffe [ 33.318157] PGD 9b20e067 P4D 9b20e067 PUD 9b210067 PMD 0 [ 33.319201] Oops: [#1] SMP PTI [ 33.319876] CPU: 2 PID: 1728 Comm: page-types Not tainted

  1   2   3   4   5   6   7   8   9   >