Re: [PATCH 6/6] arm64: dts: xilinx: ultra96: Standardize LED labels and triggers

2018-10-21 Thread Manivannan Sadhasivam
Hi Pavel, Sorry for the late reply! Not sure why your resonse was filtered by the Spam filter :\ On Mon, Oct 15, 2018 at 09:56:01PM +0200, Pavel Machek wrote: > On Wed 2018-10-10 09:25:24, Michal Simek wrote: > > On 9.10.2018 16:05, Manivannan Sadhasivam wrote: > > > For all 96Boards, the followi

Re: [PATCH v5 2/3] clk: meson: add DT documentation for emmc clock controller

2018-10-21 Thread Jianxin Pan
Hi Stephen, Thanks for the fully review, we really appreciate your time. Please see my comments below. On 2018/10/20 2:04, Stephen Boyd wrote: > Quoting Jianxin Pan (2018-10-19 08:50:08) >> On 2018/10/19 1:08, Stephen Boyd wrote: >>> Quoting Jianxin Pan (2018-10-17 22:07:24) diff --git a/D

RE: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-21 Thread Yogesh Narayan Gaur
Hi Boris, Tudor, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Wednesday, October 17, 2018 3:23 PM > To: Yogesh Narayan Gaur > Cc: Cyrille Pitchen ; Tudor Ambarus > ; marek.va...@gmail.com; > dw...@infradead.org; computersforpe...@gmail.com; ric

Re: [PATCH v5 3/3] clk: meson: add sub MMC clock controller driver

2018-10-21 Thread Jianxin Pan
On 2018/10/20 2:03, Stephen Boyd wrote: > Quoting Jianxin Pan (2018-10-19 09:12:53) >> On 2018/10/19 1:13, Stephen Boyd wrote: >>> Quoting Jianxin Pan (2018-10-17 22:07:25) diff --git a/drivers/clk/meson/clk-regmap.c b/drivers/clk/meson/clk-regmap.c index 305ee30..f96314d 100644 >>>

Re: [PATCH v5 6/6] power: supply: Add Spreadtrum SC27XX fuel gauge unit driver

2018-10-21 Thread Baolin Wang
Hi Sebastian, On 22 October 2018 at 00:52, Sebastian Reichel wrote: > Hi, > > On Fri, Oct 19, 2018 at 06:53:15PM +0800, Baolin Wang wrote: >> This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support, >> which is used to calculate the battery capacity. >> >> Original-by: Yuanjiang Yu

Re: [RFC PATCH] dt-bindings: opp: Extend qcom-opp bindings with properties needed for CPR

2018-10-21 Thread Viresh Kumar
On 15-10-18, 14:47, Niklas Cassel wrote: > Extend qcom-opp bindings with properties needed for Core Power Reduction > (CPR). > > CPR is included in a great variety of Qualcomm SoC, e.g. msm8916 and > msm8996, and was first introduced in msm8974. > > Signed-off-by: Niklas Cassel > --- > Hello Rob

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-21 Thread Viresh Kumar
On 21-10-18, 23:54, Dmitry Osipenko wrote: > Voltage regulators may be not available on some variations of HW, allow to > request stub voltage regulators by OPP core in a such case to reduce code > churning within drivers. > > Signed-off-by: Dmitry Osipenko > --- > drivers/cpufreq/cpufreq-dt.c |

Can i trust you?

2018-10-21 Thread Mr Yi Gang
Can i trust you with a transaction of usd 8.3m?($8,370.000.00) Reply me if interested - Mr Yi Gang

[tip:x86/mm] x86/stackprotector: Remove the call to boot_init_stack_canary() from cpu_startup_entry()

2018-10-21 Thread tip-bot for Christophe Leroy
Commit-ID: 977e4be5eb714c48a67afc26a6c477f24130a1f2 Gitweb: https://git.kernel.org/tip/977e4be5eb714c48a67afc26a6c477f24130a1f2 Author: Christophe Leroy AuthorDate: Sat, 20 Oct 2018 09:26:49 +0200 Committer: Ingo Molnar CommitDate: Mon, 22 Oct 2018 04:07:24 +0200 x86/stackprotector: Re

Re: [PATCH] jffs2: Fix use of uninitialized delayed_work, lockdep breakage

2018-10-21 Thread Daniel Santos
On 10/21/2018 07:32 PM, Hou Tao wrote: > > On 2018/10/19 16:30, Daniel Santos wrote: >> jffs2_sync_fs makes the assumption that if CONFIG_JFFS2_FS_WRITEBUFFER >> is defined then a write buffer is available and has been initialized. >> However, this does is not the case when the mtd device has no >>

Re: [PATCH V12 00/14] Krait clocks + Krait CPUfreq

2018-10-21 Thread Sricharan R
Hi Stephen, On 10/18/2018 1:46 AM, Stephen Boyd wrote: > Quoting Stephen Boyd (2018-10-17 08:44:12) >> Quoting Sricharan R (2018-09-20 06:03:31) >>> >>> >>> On 9/20/2018 1:54 AM, Craig wrote: Yup, this patch seems to have fixed the higher frequencies from the quick test I did. >>>

Can i trust you

2018-10-21 Thread Mr Yi Gang
Can i trust you with a transaction of usd 8.3m?($8,370.000.00) Reply me if interested - Mr Yi Gang

[PATCH] sched/numa: fix choosing isolated CPUs when task_numa_migrate()

2018-10-21 Thread Yi Wang
When trying to migrate to a CPU in task_numa_migrate(), we invoke task_numa_find_cpu() to choose a spot, in which function we skip the CPU which is not in cpus_allowed, but forgot to concern the isolated CPUs, and this may cause the task would run on the isolcpus. This patch fixes this issue by ch

Re: [PATCH V2 1/5] mm/hugetlb: Enable PUD level huge page migration

2018-10-21 Thread Anshuman Khandual
On 10/19/2018 01:39 PM, Michal Hocko wrote: > I planed to get to review this earlier but been busy. Anyway, this patch > should be applied only after movability one to prevent from > (theoretical) bisectability issues. Sure, I can change the order there. > > I would probably fold it into the

Re: [PATCH 1/1] Perf: Compile failed when compile with libelf.

2018-10-21 Thread Nick Hu
Hi Arnaldo, On Thu, Oct 18, 2018 at 10:56:10PM +0800, Arnaldo Carvalho de Melo wrote: > Em Thu, Oct 18, 2018 at 04:36:46PM +0800, Nickhu escreveu: > > The error message: > > = > > util/symbol-elf.c:46:12: error: static declaration

[PATCH] mfd: mt6397: Do not call irq_domain_remove if PMIC unsupported

2018-10-21 Thread Nicolas Boichat
If the PMIC ID is unknown, the current code would call irq_domain_remove and panic, as pmic->irq_domain is only initialized by mt6397_irq_init. Return immediately with an error, if the chip ID is unsupported. Signed-off-by: Nicolas Boichat --- drivers/mfd/mt6397-core.c | 3 +-- 1 file changed,

Re: rcu: Kernel stack is corrupted in: perf_trace_rcu_dyntick

2018-10-21 Thread Phy Bio
This PoC generated by syzkaller needs ROOT permission to run. Steven Rostedt 于2018年10月18日周四 上午10:13写道: > > On Sat, 29 Sep 2018 17:22:13 +0800 > 王晓东 wrote: > > > Hi there, > > > > We would like to report a kernel stack corrupted problem we identified > > in the perf_trace_rcu_dyntick function of t

Re: [PATCH v1 2/2] x86/hyperv: make HvNotifyLongSpinWait hypercall

2018-10-21 Thread Yi Sun
On 18-10-19 16:20:52, Juergen Gross wrote: > On 19/10/2018 15:13, Yi Sun wrote: [...] > > diff --git a/kernel/locking/qspinlock_paravirt.h > > b/kernel/locking/qspinlock_paravirt.h > > index 0130e48..9e88c7e 100644 > > --- a/kernel/locking/qspinlock_paravirt.h > > +++ b/kernel/locking/qspinlock_

Re: [PATCH V9 11/21] csky: Atomic operations

2018-10-21 Thread Guo Ren
Thx Peter, Your review has been a great help. On Sun, Oct 21, 2018 at 10:55:08PM +0200, Peter Zijlstra wrote: > On Tue, Oct 16, 2018 at 10:58:30AM +0800, Guo Ren wrote: > > + smp_mb(); > > + lock->tickets.owner++; > > WRITE_ONCE(lock->tickets.owner, lock->tickets.owner + 1); Yes, appr

RE: [PATCH] thermal: qoriq: add i.mx8mq support

2018-10-21 Thread Anson Huang
Ping... Anson Huang Best Regards! > -Original Message- > From: Anson Huang > Sent: Thursday, September 13, 2018 5:44 PM > To: 'Rob Herring' > Cc: rui.zh...@intel.com; edubez...@gmail.com; robh...@kernel.org; > mark.rutl...@arm.com; linux...@vger.kernel.org; > devicet...@vger.kernel.org;

RE: [PATCH 1/2] thermal: imx: improve error message

2018-10-21 Thread Anson Huang
Ping... Anson Huang Best Regards! > -Original Message- > From: Anson Huang > Sent: Friday, October 12, 2018 2:42 PM > To: 'Daniel Lezcano' ; rui.zh...@intel.com; > edubez...@gmail.com; linux...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: RE: [PATCH 1/2] thermal: imx: impro

Re: [PATCH] memblock: remove stale #else and the code it protects

2018-10-21 Thread Wei Yang
On Sun, Oct 21, 2018 at 10:30:16AM +0300, Mike Rapoport wrote: > > >On October 19, 2018 11:17:30 AM GMT+03:00, Wei Yang > wrote: >>Which tree it applies? > >To mmotm of the end of September. > I may lost some background of this change. The file I am looking at is https://git.kernel.org/pub/scm/l

[tip:perf/core] kprobes/x86: Use preempt_enable() in optimized_callback()

2018-10-21 Thread tip-bot for Masami Hiramatsu
Commit-ID: 2e62024c265aa69315ed02835623740030435380 Gitweb: https://git.kernel.org/tip/2e62024c265aa69315ed02835623740030435380 Author: Masami Hiramatsu AuthorDate: Sat, 20 Oct 2018 18:47:53 +0900 Committer: Ingo Molnar CommitDate: Mon, 22 Oct 2018 03:31:01 +0200 kprobes/x86: Use preem

Can i trust you

2018-10-21 Thread Mr Yi Gang
Can i trust you with a transaction of usd 8.3m?($8,370.000.00) Reply me if interested - Mr Yi Gang

Re: [PATCH] jffs2: Fix use of uninitialized delayed_work, lockdep breakage

2018-10-21 Thread Hou Tao
On 2018/10/19 16:30, Daniel Santos wrote: > jffs2_sync_fs makes the assumption that if CONFIG_JFFS2_FS_WRITEBUFFER > is defined then a write buffer is available and has been initialized. > However, this does is not the case when the mtd device has no > out-of-band buffer: > > int jffs2_nand_fla

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-10-21 Thread Theodore Y. Ts'o
On Sun, Oct 21, 2018 at 11:26:08PM +0100, Josh Triplett wrote: > On Mon, Oct 22, 2018 at 08:20:11AM +1100, NeilBrown wrote: > > I call on you, Greg: > > - to abandon this divisive attempt to impose a "Code of Conduct" > > - to revert 8a104f8b5867c68 > > - to return to your core competence of bui

Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-10-21 Thread Eric S. Raymond
Greg Kroah-Hartman : > This patch series adds this new document to the kernel tree, as well as > removes a paragraph from the existing Code of Conduct that was > bothersome to many maintainers. I think the changes have improved it. There is still a process issue with how this code was promulgated

Re: [PATCH v5 1/2] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-10-21 Thread Jiri Kosina
On Sun, 21 Oct 2018, Pavel Machek wrote: > Imagine JIT running evil code (flash, javascript). JIT will prevent evil > code from doing ptrace() (or maybe there is syscall filter in effect or > something like that), but if evil code can poison branch buffers and do > timings, security problem sta

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-10-21 Thread Randy Dunlap
On 10/21/18 3:33 PM, Joe Perches wrote: > On Mon, 2018-10-22 at 08:20 +1100, NeilBrown wrote: >> On Sat, Oct 20 2018, Greg Kroah-Hartman wrote: >>> As everyone knows by now, we added a new Code of Conduct to the kernel >>> tree a few weeks ago. >> >> I wanted to stay detached from all this, but as

Re: Reiser4 enhanced Debian 9.x Linux 4.18.xy series hung.

2018-10-21 Thread Ben Hutchings
On Sun, 2018-10-21 at 05:22 -0700, Metztli Information Technology wrote: > Niltze, all- > > Ever since I build reiser4 -patched [1] Linux kernel 4.18.xy > iterations I have had kernel hanging issues --which manifest > themselves after considerable load and/or multitasking in my local > development

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-10-21 Thread Joe Perches
On Mon, 2018-10-22 at 08:20 +1100, NeilBrown wrote: > On Sat, Oct 20 2018, Greg Kroah-Hartman wrote: > > As everyone knows by now, we added a new Code of Conduct to the kernel > > tree a few weeks ago. > > I wanted to stay detached from all this, but as remaining (publicly) > silent might be seen

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-10-21 Thread Josh Triplett
On Mon, Oct 22, 2018 at 08:20:11AM +1100, NeilBrown wrote: > I call on you, Greg: > - to abandon this divisive attempt to impose a "Code of Conduct" > - to revert 8a104f8b5867c68 > - to return to your core competence of building a great team around >a great kernel > > #Isupportreversion >

Re: [PATCH] ALSA: hda/ca0132 - Actually fix microphone issue

2018-10-21 Thread Takashi Iwai
On Sun, 21 Oct 2018 19:53:03 +0200, Connor McAdams wrote: > > This patch fixes the microphone issue for all cards. The previous fix > worked on the ZxR, but not on the AE-5 or Z. This patch has been tested > to work for all cards. > > Signed-off-by: Connor McAdams Thanks, that's a good news. M

[PATCH] thermal: bcm2835: enable hwmon explicitly

2018-10-21 Thread matthias . bgg
From: Matthias Brugger By defaul of-based thermal driver do not enable hwmon. This patch does this explicitly, so that the temperature can be read through the common hwmon sysfs. Signed-off-by: Matthias Brugger --- drivers/thermal/broadcom/bcm2835_thermal.c | 11 +++ 1 file changed, 11

Re: [RFC PATCH v2 02/17] soc/tegra: fuse: Export tegra_get_chip_id()

2018-10-21 Thread Dmitry Osipenko
On 10/21/18 11:54 PM, Dmitry Osipenko wrote: > This function is used by tegra20-cpufreq driver which can be built as a > kernel module. > > Signed-off-by: Dmitry Osipenko > --- > drivers/soc/tegra/fuse/tegra-apbmisc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/soc/tegra/fu

Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-10-21 Thread NeilBrown
On Sat, Oct 20 2018, Greg Kroah-Hartman wrote: > Hi all, > > As everyone knows by now, we added a new Code of Conduct to the kernel > tree a few weeks ago. I wanted to stay detached from all this, but as remaining (publicly) silent might be seen (publicly) as acquiescing, I hereby declare that:

[RFC PATCH v2 02/17] soc/tegra: fuse: Export tegra_get_chip_id()

2018-10-21 Thread Dmitry Osipenko
This function is used by tegra20-cpufreq driver which can be built as a kernel module. Signed-off-by: Dmitry Osipenko --- drivers/soc/tegra/fuse/tegra-apbmisc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/tegra/fuse/tegra-apbmisc.c b/drivers/soc/tegra/fuse/tegra-apbmisc.c in

[RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-21 Thread Dmitry Osipenko
Voltage regulators may be not available on some variations of HW, allow to request stub voltage regulators by OPP core in a such case to reduce code churning within drivers. Signed-off-by: Dmitry Osipenko --- drivers/cpufreq/cpufreq-dt.c | 2 +- drivers/cpufreq/ti-cpufreq.c | 3 ++- drivers/opp/

[RFC PATCH v2 05/17] ARM: tegra: Create tegra20-cpufreq device on Tegra30

2018-10-21 Thread Dmitry Osipenko
Tegra20-cpufreq driver require a platform device in order to be loaded, instantiate a simple platform device for the driver during of the machines late initialization. Driver now supports Tegra30 SoC's, hence create the device on Tegra30 machines. Signed-off-by: Dmitry Osipenko --- arch/arm/mach

[RFC PATCH v2 04/17] cpufreq: tegra20: Support OPP, thermal cooling, DVFS and Tegra30

2018-10-21 Thread Dmitry Osipenko
Add support for thermal throttling, Operating Performance Points and DVFS. Driver now relies on OPP's supplied via device tree and therefore will work only on devices that use the updated device tree. The generalization of the driver allows to transparently support Tegra30. Signed-off-by: Dmitry O

[RFC PATCH v2 08/17] ARM: dts: tegra20: colibri: Setup voltage regulators for DVFS

2018-10-21 Thread Dmitry Osipenko
Set min/max regulators voltage and add CPU node that hooks up CPU with voltage regulators. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20-colibri.dtsi | 31 ++ 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri.d

[RFC PATCH v2 13/17] ARM: dts: tegra20: ventana: Setup voltage regulators for DVFS

2018-10-21 Thread Dmitry Osipenko
Set min/max regulators voltage and add CPU node that hooks up CPU with voltage regulators. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20-ventana.dts | 31 +++ 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-ventana.d

[RFC PATCH v2 06/17] ARM: dts: tegra20: Add CPU Operating Performance Points

2018-10-21 Thread Dmitry Osipenko
Add CPU's Operating Performance Points to the device tree, they are used by the CPUFreq driver and allow to setup thermal throttling for the boards by linking the cooling device (CPU) with thermal sensors via thermal-zones description. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20

[RFC PATCH v2 17/17] ARM: dts: tegra30: colibri: Setup voltage regulators for DVFS

2018-10-21 Thread Dmitry Osipenko
Set min/max regulators voltage and add CPU node that hooks up CPU with voltage regulators. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra30-colibri.dtsi | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/

[RFC PATCH v2 11/17] ARM: dts: tegra20: seaboard: Setup voltage regulators for DVFS

2018-10-21 Thread Dmitry Osipenko
Set min/max regulators voltage and add CPU node that hooks up CPU with voltage regulators. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20-seaboard.dts | 27 +++--- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-seaboard.

[RFC PATCH v2 16/17] ARM: dts: tegra30: cardhu: Setup voltage regulators for DVFS

2018-10-21 Thread Dmitry Osipenko
Set min/max regulators voltage and add CPU node that hooks up CPU with voltage regulators. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/ar

[RFC PATCH v2 10/17] ARM: dts: tegra20: paz00: Setup voltage regulators for DVFS

2018-10-21 Thread Dmitry Osipenko
Set min/max regulators voltage and add CPU node that hooks up CPU with voltage regulators. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20-paz00.dts | 31 - 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-paz00.dts

[RFC PATCH v2 14/17] ARM: dts: tegra30: apalis: Setup voltage regulators for DVFS

2018-10-21 Thread Dmitry Osipenko
Set min/max regulators voltage and add CPU node that hooks up CPU with voltage regulators. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra30-apalis.dtsi | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi b/ar

[RFC PATCH v2 12/17] ARM: dts: tegra20: tamonten: Setup voltage regulators for DVFS

2018-10-21 Thread Dmitry Osipenko
Set min/max regulators voltage and add CPU node that hooks up CPU with voltage regulators. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20-tamonten.dtsi | 31 ++--- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-tamonten.

[RFC PATCH v2 07/17] ARM: dts: tegra30: Add CPU Operating Performance Points

2018-10-21 Thread Dmitry Osipenko
Add CPU's Operating Performance Points to the device tree, they are used by the CPUFreq driver and allow to setup thermal throttling for the boards by linking the cooling device (CPU) with thermal sensors via thermal-zones description. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra30

[RFC PATCH v2 15/17] ARM: dts: tegra30: beaver: Setup voltage regulators for DVFS

2018-10-21 Thread Dmitry Osipenko
Set min/max regulators voltage and add CPU node that hooks up CPU with voltage regulators. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra30-beaver.dts | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-beaver.dts b/arch

[RFC PATCH v2 03/17] dt-bindings: cpufreq: Add binding for NVIDIA Tegra20/30

2018-10-21 Thread Dmitry Osipenko
Add device-tree binding that describes CPU frequency-scaling hardware found on NVIDIA Tegra20/30 SoC's. Signed-off-by: Dmitry Osipenko --- .../cpufreq/nvidia,tegra20-cpufreq.txt| 96 +++ 1 file changed, 96 insertions(+) create mode 100644 Documentation/devicetree/bindin

[RFC PATCH v2 00/17] CPUFREQ OPP's, DVFS and Tegra30 support by tegra20-cpufreq driver

2018-10-21 Thread Dmitry Osipenko
Hello, This series adds support for CPU frequency/voltage scaling on Tegra20/30, it adds device tree support that allow to specify clock rate/voltages per board and to implement thermal throttling. The tegra20-cpufreq driver has been re-worked to support that all. Note that this series depends on

[RFC PATCH v2 09/17] ARM: dts: tegra20: harmony: Setup voltage regulators for DVFS

2018-10-21 Thread Dmitry Osipenko
Set min/max regulators voltage and add CPU node that hooks up CPU with voltage regulators. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20-harmony.dts | 31 +++ 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-harmony.d

Re: [PATCH V9 11/21] csky: Atomic operations

2018-10-21 Thread Peter Zijlstra
On Tue, Oct 16, 2018 at 10:58:30AM +0800, Guo Ren wrote: > diff --git a/arch/csky/include/asm/spinlock.h > b/arch/csky/include/asm/spinlock.h > new file mode 100644 > index 000..0474603 > --- /dev/null > +++ b/arch/csky/include/asm/spinlock.h > @@ -0,0 +1,274 @@ > +/* SPDX-License-Identifier:

Re: [PATCH -tip] kprobes/x86: Use preempt_enable() in optimized_callback()

2018-10-21 Thread Peter Zijlstra
On Sat, Oct 20, 2018 at 06:47:53PM +0900, Masami Hiramatsu wrote: > Since commit a19b2e3d7839 ("kprobes/x86: Remove IRQ disabling from > ftrace-based/optimized kprobes”) removes local_irq_save/restore() > from optimized_callback(), the handler does not protected against > reschedule interrupt. If i

Re: Broken dwarf unwinding - wrong stack pointer register value?

2018-10-21 Thread Milian Wolff
On Sonntag, 21. Oktober 2018 00:39:51 CEST Milian Wolff wrote: > Hey all, > > I'm on the quest to figure out why perf regularly fails to unwind (some) > samples. I am seeing very strange behavior, where an apparently wrong stack > pointer value is read from the register - see below for more inform

Re: [RFC PATCH v2] soc: qcom: rmtfs_mem: Control remoteproc from rmtfs_mem

2018-10-21 Thread Bjorn Andersson
On Sun 30 Sep 08:56 PDT 2018, Sibi Sankar wrote: > From: Bjorn Andersson > > rmtfs_mem provides access to physical storage and is crucial for the > operation of the Qualcomm modem subsystem. > > The rmtfs_mem implementation must be available before the modem > subsystem is booted and a solution

Re: [PATCH v8 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ Firmware bindings

2018-10-21 Thread Bjorn Andersson
On Sun 23 Sep 03:33 PDT 2018, Taniya Das wrote: > diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt > b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt > new file mode 100644 > index 000..c06941c > --- /dev/null > +++ b/Documentation/devicetree/bindings/c

[PATCH 1/5] pinctrl: intel: pinctrl-baytrail: simplify getting .driver_data

2018-10-21 Thread Wolfram Sang
We should get 'driver_data' from 'struct device' directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. drivers/pinctrl/intel/pinctrl-baytrail.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) d

[PATCH 5/5] pinctrl: pinctrl-at91-pio4: simplify getting .driver_data

2018-10-21 Thread Wolfram Sang
We should get 'driver_data' from 'struct device' directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. drivers/pinctrl/pinctrl-at91-pio4.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff -

Re: [PATCH 3/3] staging: rtl8188eu: rename variable isCCKrate - style

2018-10-21 Thread Michael Straube
On 10/21/18 2:26 PM, Joe Perches wrote: It would be sensible to convert is_cck_rate from u8 to bool at the same time and remove the ternary ? true : false too. As well, perhaps remove its apparently unnecessary initialization. I've added a patch and resent the series. Thank you. Michael

Re: [PULL REQUEST] i2c for 4.19

2018-10-21 Thread Greg KH
On Sun, Oct 21, 2018 at 12:40:06PM +0200, Wolfram Sang wrote: > Greg, > > please pull another driver bugfix and MAINTAINERS addition from I2C. > > Thanks, > >Wolfram > > > The following changes since commit 35a7f35ad1b150ddf59a41dcac7b2fa32982be0e: > > Linux 4.19-rc8 (2018-10-15 07:20:2

[PATCH v2 4/4] staging: rtl8188eu: change type of is_cck_rate - style

2018-10-21 Thread Michael Straube
The variable is_cck_rate is used for boolean values, so change the type from u8 to bool. The initializations to zero and use of ternary operator in the assignments are unnecessary, remove them as well. Suggested-by: Joe Perches Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/od

[PATCH v2 1/4] staging: rtl8188eu: simplify odm_evm_db_to_percentage()

2018-10-21 Thread Michael Straube
Use clamp() to simplify code in odm_evm_db_to_percentage(). Signed-off-by: Michael Straube --- v1 -> v2: Added patch with suggestions from Joe Perches applied. drivers/staging/rtl8188eu/hal/odm_hwconfig.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers

[PATCH v2 2/4] staging: rtl8188eu: rename variable Max_spatial_stream - style

2018-10-21 Thread Michael Straube
Rename the variable Max_spatial_stream to avoid CamelCase. Max_spatial_stream -> max_spatial_stream Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/odm_hwconfig.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm_hwconf

[PATCH v2 3/4] staging: rtl8188eu: rename variable isCCKrate - style

2018-10-21 Thread Michael Straube
Rename the variable isCCKrate to avoid CamelCase. isCCKrate -> is_cck_rate Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/odm_hwconfig.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm_hwconfig.c b/drivers/

Re: [PATCH v5 1/2] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-10-21 Thread Pavel Machek
Hi! > In order to minimize the performance impact (for usecases that do require > spectrev2 protection), issue the barrier only in cases when switching between > processess where the victim can't be ptraced by the potential attacker (as in > such cases, the attacker doesn't have to bother with bra

Re: [PATCH] power: max8925: mark expected switch fall-through

2018-10-21 Thread Sebastian Reichel
Hi, On Thu, Oct 04, 2018 at 03:56:36PM +0200, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Addresses-Coverity-ID: 201510 ("Missing break in switch") > Signed-off-by: Gustavo A. R. Silva > --- Than

Re: [PATCH] power: supply: fix spelling mistake "Gauage" -> "Guage"

2018-10-21 Thread Sebastian Reichel
Hi, On Sat, Oct 13, 2018 at 04:27:27PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in MODULE_DESCRIPTION text > > Signed-off-by: Colin Ian King > --- Thanks, queued with typo in subject fixed. -- Sebastian > drivers/power/supply/ds2780_battery.c | 2

Re: [PATCH v5 1/6] dt-bindings: power: Introduce one property to present the battery internal resistance

2018-10-21 Thread Sebastian Reichel
Hi, On Fri, Oct 19, 2018 at 06:53:10PM +0800, Baolin Wang wrote: > The internal resistance of a battery is not a constant in its life cycle, > this varies over the age of the battery or temperature and so on. But we > just want use one constant battery internal resistance to estimate the > battery

Re: [PATCH v5 5/6] dt-bindings: power: Add Spreadtrum SC27XX fuel gauge unit documentation

2018-10-21 Thread Sebastian Reichel
Hi, On Fri, Oct 19, 2018 at 06:53:14PM +0800, Baolin Wang wrote: > This patch adds the binding documentation for Spreadtrum SC27XX series PMICs > fuel gauge unit device, which is used to calculate the battery capacity. > > Signed-off-by: Baolin Wang > Reviewed-by: Linus Walleij > Reviewed-by: R

Re: [PATCH v5 2/6] power: supply: core: Add one field to present the battery internal resistance

2018-10-21 Thread Sebastian Reichel
Hi, On Fri, Oct 19, 2018 at 06:53:11PM +0800, Baolin Wang wrote: > Add one field for 'struct power_supply_battery_info' to present the battery > factory internal resistance. > > Signed-off-by: Baolin Wang > Reviewed-by: Linus Walleij > --- Looks good to me. -- Sebastian > Changes from v4: >

Re: [PATCH v5 6/6] power: supply: Add Spreadtrum SC27XX fuel gauge unit driver

2018-10-21 Thread Sebastian Reichel
Hi, On Fri, Oct 19, 2018 at 06:53:15PM +0800, Baolin Wang wrote: > This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support, > which is used to calculate the battery capacity. > > Original-by: Yuanjiang Yu > Signed-off-by: Baolin Wang > Acked-by: Linus Walleij > --- Looks mostly

Re: [PATCH v5 3/6] dt-bindings: power: Introduce properties to present the battery OCV capacity table

2018-10-21 Thread Sebastian Reichel
Hi, On Fri, Oct 19, 2018 at 06:53:12PM +0800, Baolin Wang wrote: > Some battery driver will use the open circuit voltage (OCV) value to look > up the corresponding battery capacity percent in one certain degree Celsius. > Thus this patch provides some battery properties to present the OCV table >

Re: [PATCH v5 4/6] power: supply: core: Add some helpers to use the battery OCV capacity table

2018-10-21 Thread Sebastian Reichel
Hi, On Fri, Oct 19, 2018 at 06:53:13PM +0800, Baolin Wang wrote: > We have introduced some battery properties to present the OCV table > temperatures and OCV capacity table values. Thus this patch add OCV > temperature and OCV table for battery information, as well as providing > some helper funct

[PATCH 2/2] perf script: flush output stream after events in verbose mode

2018-10-21 Thread Milian Wolff
When the perf script output is written to a terminal stream, the normal output of `perf script` would get buffered, but its debug output would be written directly. This made it quite hard to figure out where a given debug output is coming from. We can improve on this by flushing the output buffer a

[PATCH 1/2] perf script: allow extended console debug output

2018-10-21 Thread Milian Wolff
The script tool isn't using a browser, yet use_browser wasn't set explicitly to zero. This in turn lead to confusing output such as: ``` $ perf script -vvv ... ... overlapping maps in /home/milian/foobar (disable tui for more info) ... ``` Explicitly set use_browser to 0 now, which gives us the e

[PATCH v1] soc/tegra: pmc: Drop locking from tegra_powergate_is_powered()

2018-10-21 Thread Dmitry Osipenko
This fixes splats like the one below if CONFIG_DEBUG_ATOMIC_SLEEP=y and machine (Tegra30) booted with SMP=n or all secondary CPU's are put offline. Locking isn't needed because it protects atomic operation. # echo 0 | tee /sys/devices/system/cpu/cpu[1-3]/online BUG: sleeping function called from

[PATCH v6 8/8] memory: tegra: Introduce Tegra20 EMC driver

2018-10-21 Thread Dmitry Osipenko
Introduce driver for the External Memory Controller (EMC) found on Tegra20 chips, which controls the external DRAM on the board. The purpose of this driver is to program memory timing for external memory on the EMC clock rate change. Signed-off-by: Dmitry Osipenko Acked-by: Peter De Schrijver --

[PATCH v6 4/8] ARM: dts: tegra20: Add interrupt entry to External Memory Controller

2018-10-21 Thread Dmitry Osipenko
Add interrupt entry into the EMC DT node. Signed-off-by: Dmitry Osipenko Acked-by: Peter De Schrijver --- arch/arm/boot/dts/tegra20.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 20869757d32f..526f623f201a 100644 --

[PATCH v6 2/8] dt: bindings: tegra20-emc: Document clock property

2018-10-21 Thread Dmitry Osipenko
Embedded memory controller has a corresponding clock, document the clock property. Signed-off-by: Dmitry Osipenko Acked-by: Rob Herring --- .../devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt| 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm

[PATCH v6 1/8] dt: bindings: tegra20-emc: Document interrupt property

2018-10-21 Thread Dmitry Osipenko
EMC has a dedicated interrupt that is used to notify about completion of HW operations. Document the interrupt property. Signed-off-by: Dmitry Osipenko Acked-by: Rob Herring Acked-by: Peter De Schrijver --- .../devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt| 2 ++ 1 file changed,

[PATCH v6 5/8] ARM: dts: tegra20: Add clock entry to External Memory Controller

2018-10-21 Thread Dmitry Osipenko
Add clock entry into the EMC DT node. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 526f623f201a..dcad6d6128cf 100644 --- a/arch/arm/boot/dts/tegra20.dtsi

[PATCH v6 3/8] dt: bindings: Move tegra20-emc binding to memory-controllers directory

2018-10-21 Thread Dmitry Osipenko
Move tegra20-emc binding to the memory-controllers directory for consistency with the other Tegra memory bindings. Signed-off-by: Dmitry Osipenko Acked-by: Rob Herring --- .../{arm/tegra => memory-controllers}/nvidia,tegra20-emc.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) ren

[PATCH v6 6/8] clk: tegra20: Turn EMC clock gate into divider

2018-10-21 Thread Dmitry Osipenko
Kernel should never gate the EMC clock as it causes immediate lockup, so removing clk-gate functionality doesn't affect anything. Turning EMC clk gate into divider allows to implement glitch-less EMC scaling, avoiding reparenting to a backup clock. Signed-off-by: Dmitry Osipenko Acked-by: Peter D

[PATCH v6 0/8] Tegra20 External Memory Controller driver

2018-10-21 Thread Dmitry Osipenko
Changelog: v6: - Driver now handles "refresh request overflow" interrupt by reporting error message. - EMC rate is set during driver initialization to ensure that clock divider is in a proper state. v5: - Fixed wrong EMC clock divider type in the "Turn

[PATCH v6 7/8] clk: tegra20: Check whether direct PLLM sourcing is turned off for EMC

2018-10-21 Thread Dmitry Osipenko
Ensure that direct PLLM sourcing is turned off for EMC as we don't support that configuration in the clk driver. Signed-off-by: Dmitry Osipenko Acked-by: Peter De Schrijver Acked-by: Stephen Boyd --- drivers/clk/tegra/clk-tegra20.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: 4.14 backport request for dbdda842fe96f: "printk: Add console owner and waiter logic to load balance console writes"

2018-10-21 Thread Daniel Wang
Just got back from vacation. Thanks for the continued discussion. Just so I understand the current state. Looks like we've got a pretty good explanation of what's going on (though not completely sure), and backporting Steven's patches is still the way to go? I see that Sergey had sent an RFC series

[PATCH] ALSA: hda/ca0132 - Actually fix microphone issue

2018-10-21 Thread Connor McAdams
This patch fixes the microphone issue for all cards. The previous fix worked on the ZxR, but not on the AE-5 or Z. This patch has been tested to work for all cards. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 73 ++-- 1 file changed, 3

Re: [PATCH 1/2] staging: iio: ad7606: Move out of staging

2018-10-21 Thread Jonathan Cameron
On Thu, 18 Oct 2018 12:10:32 +0300 Stefan Popa wrote: > Move ad7606 ADC driver out of staging and into the mainline. > > Signed-off-by: Stefan Popa Hi Stefan, Great to be moving forward on this. A few comments inline. There are some somewhat old school structures in here we can do better no

INFO: rcu detected stall in sys_creat

2018-10-21 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8c60c36d0b8c Add linux-next specific files for 20181019 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=160c924540 kernel config: https://syzkaller.appspot.com/x/.config?x=8b6d7c4c81535e89 dashb

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-21 Thread Eric W. Biederman
David Howells writes: > From: Al Viro > > Allow a detached tree created by open_tree(..., OPEN_TREE_CLONE) to be > attached by move_mount(2). > > If by the time of final fput() of OPEN_TREE_CLONE-opened file its tree is > not detached anymore, it won't be dissolved. move_mount(2) is adjusted >

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

2018-10-21 Thread Eric W. Biederman
David Howells writes: > From: Al Viro > > open_tree(dfd, pathname, flags) > > Returns an O_PATH-opened file descriptor or an error. > dfd and pathname specify the location to open, in usual > fashion (see e.g. fstatat(2)). flags should be an OR of > some of the following: > * AT_PATH_EMPT

Re: [PATCH v7 1/6] seccomp: add a return code to trap to userspace

2018-10-21 Thread Tycho Andersen
On Wed, Oct 17, 2018 at 03:21:02PM -0700, Kees Cook wrote: > On Wed, Oct 17, 2018 at 1:29 PM, Tycho Andersen wrote: > > On Thu, Sep 27, 2018 at 02:31:24PM -0700, Kees Cook wrote: > >> On Thu, Sep 27, 2018 at 8:11 AM, Tycho Andersen wrote: > >> > @@ -60,4 +62,29 @@ struct seccomp_data { > >> >

Re: [PATCH v6 3/5] seccomp: add a way to get a listener fd from ptrace

2018-10-21 Thread Tycho Andersen
On Wed, Oct 17, 2018 at 06:15:47PM +, Michael Tirado wrote: > Tycho, Sorry for the duplicate, I forgot to CC the list :( > > On Wed, Oct 17, 2018 at 3:00 PM Tycho Andersen wrote: > > > > > > That's one of the use cases, but there are a large number of others. I > > discuss a few in patch 1: >

[PATCH] pfn_t: force '~' to be parsed as an unary operator

2018-10-21 Thread Sebastien Boisvert
Tracing the event "fs_dax:dax_pmd_insert_mapping" with perf produces this warning: [fs_dax:dax_pmd_insert_mapping] unknown op '~' It is printed in process_op (tools/lib/traceevent/event-parse.c) because '~' is parsed as a binary operator. perf reads the format of fs_dax:dax_pmd_insert_mappi

Re: [PATCH v2 1/2] x86/cpufeature: Add facility to match microcode revisions

2018-10-21 Thread Borislav Petkov
On Sun, Oct 21, 2018 at 12:20:47PM +0200, Thomas Gleixner wrote: > struct x86_cpu_check { Btw, if we have to be precise, this struct is no "check" struct either. > u8 vendor; > u8 family; > u8 model; > u8 stepping; > }; If anything, it is a x86_cpu_typ

[PATCH 2/2] selftests/ftrace: Fix synthetic event test to delete event correctly

2018-10-21 Thread Masami Hiramatsu
Fix the synthetic event test case to remove event correctly. If redirecting command to synthetic_event file without append mode, it cleans up all existing events and execute (parse) the command. This means "delete event" always fails to find the target event. Since previous synthetic event has a b

[PATCH 1/2] tracing: Return -ENOENT if there is no target synthetic event

2018-10-21 Thread Masami Hiramatsu
Return -ENOENT error if there is no target synthetic event. This notices an operation failure to user as below; # echo 'wakeup_latency u64 lat; pid_t pid;' > synthetic_events # echo '!wakeup' >> synthetic_events sh: write error: No such file or directory Fixes: 4b147936fa50 ('tracing: Add s

  1   2   >