Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-09 Thread Ulf Magnusson
On Sat, Feb 10, 2018 at 04:12:13PM +0900, Masahiro Yamada wrote: > 2018-02-10 14:48 GMT+09:00 Ulf Magnusson : > > On Fri, Feb 09, 2018 at 12:46:54PM -0800, Kees Cook wrote: > >> On Fri, Feb 9, 2018 at 4:46 AM, Ulf Magnusson wrote: > >> > One thing that makes Kconfig confusing (though it works well

[PATCH v5] Documentation/ABI: update infiniband sysfs interfaces

2018-02-09 Thread Aishwarya Pant
Add documentation for core and hardware specific infiniband interfaces. The descriptions have been collected from git commit logs, reading through code and data sheets. Some drivers have incomplete doc and are annotated with the comment '[to be documented]'. Signed-off-by: Aishwarya Pant Reviewed

Re: [PATCH v3 01/11] dt-bindings: clock: Add Actions S900 clock bindings

2018-02-09 Thread Philippe Ombredanne
Dear Manivannan, On Sat, Feb 10, 2018 at 3:41 AM, Manivannan Sadhasivam wrote: > Add Actions Semi S900 clock bindings. > > Signed-off-by: Manivannan Sadhasivam > Acked-by: Rob Herring > diff --git a/include/dt-bindings/clock/actions,s900-cmu.h > b/include/dt-bindings/clock/actions,s900-cmu.

[PATCH v4] Documentation/ABI: update infiniband sysfs interfaces

2018-02-09 Thread Aishwarya Pant
Add documentation for core and hardware specific infiniband interfaces. The descriptions have been collected from git commit logs, reading through code and data sheets. Some drivers have incomplete doc and are annotated with the comment '[to be documented]'. Signed-off-by: Aishwarya Pant Reviewed

Re: [PATCH v2] printk: Relocate wake_klogd check close to the end of console_unlock()

2018-02-09 Thread Sergey Senozhatsky
Hello, On (02/09/18 11:39), Petr Mladek wrote: > On Fri 2018-02-09 12:28:30, Sergey Senozhatsky wrote: > > On (02/08/18 17:48), Petr Mladek wrote: > > By postponing klogd wakeup we don't really address logbuf_lock > > contention. We have no guarantees that no new printk will come > > while klogd i

Re: [PATCH 4.9 46/92] x86/alternative: Print unadorned pointers

2018-02-09 Thread Greg Kroah-Hartman
On Fri, Feb 09, 2018 at 02:01:32PM -0800, Kees Cook wrote: > On Fri, Feb 9, 2018 at 5:39 AM, Greg Kroah-Hartman > wrote: > > 4.9-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Borislav Petkov > > > > (cherry picked from commit 0e6c

Re: [PATCH 4.15 00/23] 4.15.3-stable review

2018-02-09 Thread Greg Kroah-Hartman
On Fri, Feb 09, 2018 at 01:20:26PM -0700, Shuah Khan wrote: > On 02/09/2018 06:39 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.15.3 release. > > There are 23 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH 4.15 00/23] 4.15.3-stable review

2018-02-09 Thread Greg Kroah-Hartman
On Fri, Feb 09, 2018 at 02:40:41PM -0600, Dan Rue wrote: > On Fri, Feb 09, 2018 at 02:39:58PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.15.3 release. > > There are 23 patches in this series, all will be posted as a response > > to this one. If anyo

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-09 Thread Masahiro Yamada
2018-02-10 14:48 GMT+09:00 Ulf Magnusson : > On Fri, Feb 09, 2018 at 12:46:54PM -0800, Kees Cook wrote: >> On Fri, Feb 9, 2018 at 4:46 AM, Ulf Magnusson wrote: >> > One thing that makes Kconfig confusing (though it works well enough in >> > practice) is that .config files both record user selectio

[GIT PULL] chrome-platform updates for v4.16

2018-02-09 Thread Benson Leung
Hi Linus, The following changes since commit 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36: Linux 4.15-rc3 (2017-12-10 17:56:26 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform.git tags/chrome-platform-for-linus-4.16 for you to

Re: [PATCH 5/6] ARM: dts: tegra: apalis-tk1: copyright period, spurious newlines

2018-02-09 Thread Philippe Ombredanne
Marcel, On Sat, Feb 10, 2018 at 2:38 AM, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Update the copyright period and get rid of some spurious newlines. > > Signed-off-by: Marcel Ziswiler > > --- > > arch/arm/boot/dts/tegra124-apalis-eval.dts | 6 ++ > arch/arm/boot/dts/tegra124-apa

Re: [PATCH 4.15 00/23] 4.15.3-stable review

2018-02-09 Thread Greg KH
9f6f1a6d972454baf350cbae77e > to fix the i915 "no reboot/no poweroff" regression: > https://bugs.freedesktop.org/show_bug.cgi?id=104805 > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20180209&id=b5a756a722286af9702d565501e1f690d075d16b Yo

Re: [PATCH 4.15 00/23] 4.15.3-stable review

2018-02-09 Thread Ozkan Sezer
top.org/show_bug.cgi?id=104805 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20180209&id=b5a756a722286af9702d565501e1f690d075d16b -- O.S.

[PATCH] ARM: dts: armada: netgear-rn*: fix rtc node name

2018-02-09 Thread Alexandre Belloni
The node name should be generic and must not contain the part number. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/armada-370-netgear-rn102.dts | 2 +- arch/arm/boot/dts/armada-370-netgear-rn104.dts | 2 +- arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 2 +- 3 files changed, 3 inser

Re: [RFC 1/2] sched: reduce migration cost between faster caches for idle_balance

2018-02-09 Thread Mike Galbraith
On Fri, 2018-02-09 at 11:08 -0500, Steven Sistare wrote: > >> @@ -8804,7 +8803,8 @@ static int idle_balance(struct rq *this_rq, struct > >> rq_flags *rf) > >>if (!(sd->flags & SD_LOAD_BALANCE)) > >>continue; > >> > >> - if (this_rq->avg_idle < curr_cost +

[PATCH] staging: android: ion: Restrict cache maintenance to dma mapped memory

2018-02-09 Thread Liam Mark
The ION begin_cpu_access and end_cpu_access functions use the dma_sync_sg_for_cpu and dma_sync_sg_for_device APIs to perform cache maintenance. Currently it is possible to apply cache maintenance, via the begin_cpu_access and end_cpu_access APIs, to ION buffers which are not dma mapped. The dma s

[PATCH] staging: android: ion: Initialize dma_address of new sg list

2018-02-09 Thread Liam Mark
Fix the dup_sg_table function to initialize the dma_address of the new sg list entries instead of the source dma_address entries. Fixes: 17fd283f3870 ("staging: android: ion: Duplicate sg_table") Signed-off-by: Liam Mark --- drivers/staging/android/ion/ion.c | 2 +- 1 file changed, 1 insertion(+

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-09 Thread Ulf Magnusson
On Fri, Feb 09, 2018 at 12:46:54PM -0800, Kees Cook wrote: > On Fri, Feb 9, 2018 at 4:46 AM, Ulf Magnusson wrote: > > One thing that makes Kconfig confusing (though it works well enough in > > practice) is that .config files both record user selections (the saved > > configuration) and serve as a

Re: [PATCH v2 1/1] mm: initialize pages on demand during boot

2018-02-09 Thread kbuild test robot
Hi Pavel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mmotm/master] [also build test WARNING on next-20180209] [cannot apply to v4.15] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH v2 1/1] mm: initialize pages on demand during boot

2018-02-09 Thread kbuild test robot
Hi Pavel, Thank you for the patch! Yet something to improve: [auto build test ERROR on mmotm/master] [also build test ERROR on next-20180209] [cannot apply to v4.15] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

[PATCH RFC v5] f2fs: flush cp pack except cp pack 2 page at first

2018-02-09 Thread Gao Xiang
Previously, we attempt to flush the whole cp pack in a single bio, however, when suddenly powering off at this time, we could get into an extreme scenario that cp pack 1 page and cp pack 2 page are updated and latest, but payload or current summaries are still partially outdated. (see reliable writ

[PATCH 2/4] powerpc/vas: Fix cleanup when VAS is not configured

2018-02-09 Thread Sukadev Bhattiprolu
When VAS is not configured in the system, make sure to remove the VAS debugfs directory and unregister the platform driver. Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/platforms/powernv/vas-debug.c | 5 + arch/powerpc/platforms/powernv/vas.c | 5 - arch/powerpc/platforms/po

[PATCH 4/4] powerpc/vas: Add a couple of trace points

2018-02-09 Thread Sukadev Bhattiprolu
Add a couple of trace points in the VAS driver Signed-off-by: Sukadev Bhattiprolu --- Changelog [v2] - Make TRACE_INCLUDE_PATH relative to --- arch/powerpc/platforms/powernv/vas-trace.h | 112 arch/powerpc/platforms/powernv/vas-window.c | 9 +++ 2 files c

[PATCH RESEND 3/4] powerpc/vas: Remove a stray line in Makefile

2018-02-09 Thread Sukadev Bhattiprolu
Remove a bogus line from arch/powerpc/platforms/powernv/Makefile that was added by commit ece4e51 ("powerpc/vas: Export HVWC to debugfs"). Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/platforms/powernv/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/platforms/powe

[PATCH RESEND 1/4] powerpc/vas: Fix order of cleanup in debugfs dir

2018-02-09 Thread Sukadev Bhattiprolu
Fix the order of cleanup to ensure we free the name buffer in case of an error creating 'hvwc' or 'info' files. Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/platforms/powernv/vas-debug.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/pow

Re: [PATCH 5/6] Documentation for Pmalloc

2018-02-09 Thread Matthew Wilcox
On Fri, Feb 02, 2018 at 05:56:29PM +0200, Igor Stoppa wrote: > But what is the license for the documentation? It's not code, so GPL > seems wrong. Creative commons? I've done this as the first line of my new documentation files: .. SPDX-License-Identifier: CC-BY-SA-4.0 I think this is the CC lic

Re: possible deadlock in get_user_pages_unlocked

2018-02-09 Thread Eric Biggers
Hi Al, On Sat, Feb 10, 2018 at 01:36:40AM +, Al Viro wrote: > On Fri, Feb 02, 2018 at 09:57:27AM +0100, Dmitry Vyukov wrote: > > > syzbot tests for up to 5 minutes. However, if there is a race involved > > then you may need more time because the crash is probabilistic. > > But from what I see

Re: [PATCH V2 0/6]nvme-pci: fixes on nvme_timeout and nvme_dev_disable

2018-02-09 Thread jianchao.wang
Hi Keith On 02/10/2018 10:32 AM, jianchao.wang wrote: > Hi Keith > > Thanks for your kindly response here. > That's really appreciated. > > On 02/10/2018 01:12 AM, Keith Busch wrote: >> On Fri, Feb 09, 2018 at 09:50:58AM +0800, jianchao.wang wrote: >>> >>> if we set NVME_REQ_CANCELLED and return

[GIT PULL] Kbuild updates for v4.16 (2nd round)

2018-02-09 Thread Masahiro Yamada
Hi Linus, Here are a little more Kbuild updates (including Kconfig changes). Please pull! The following changes since commit 4bf772b14675411a69b3c807f73006de0fe4b649: Merge tag 'drm-for-v4.16' of git://people.freedesktop.org/~airlied/linux (2018-02-01 17:48:47 -0800) are available in the git

Re: [PATCH v2] tools/memory-model: Make compat with herd7 7.47 ("-" -> "_")

2018-02-09 Thread Akira Yokosawa
On 2018/02/10 10:07, Paul E. McKenney wrote: > On Sat, Feb 10, 2018 at 08:46:25AM +0900, Akira Yokosawa wrote: >> >From 7c1f497a9a51e8db1a94c8a7ef0b74b235aaab88 Mon Sep 17 00:00:00 2001 >> From: Akira Yokosawa >> Date: Fri, 9 Feb 2018 04:51:05 -0800 >> Subject: [PATCH v2] tools/memory-model: Make

Re: [PATCH 2/2] f2fs: support {d,id,did,x}node checksum

2018-02-09 Thread Chao Yu
On 2018/2/10 9:41, Jaegeuk Kim wrote: > On 02/01, Chao Yu wrote: >> >> >> On 2018/2/1 6:15, Jaegeuk Kim wrote: >>> On 01/31, Chao Yu wrote: On 2018/1/31 10:02, Jaegeuk Kim wrote: > What if we want to add more entries in addition to node_checksum? Do we > have > to add a new featur

[PATCH V2 0/3] audit: speed up audit syscall entry

2018-02-09 Thread Richard Guy Briggs
These fixes should speed up audit syscall entry by doing away with the audit entry filter check, moving up the valid connection check before filling in the context and not caring if there is a bug when audit is disabled. Richard Guy Briggs (3): audit: deprecate the AUDIT_FILTER_ENTRY filter au

[PATCH V2 1/3] audit: deprecate the AUDIT_FILTER_ENTRY filter

2018-02-09 Thread Richard Guy Briggs
The audit entry filter has been long deprecated with userspace support finally removed in audit-v2.6.7 and plans to remove kernel support have existed since kernel-v2.6.31. Remove it. Passes audit-testsuite. See: https://github.com/linux-audit/audit-kernel/issues/6 Signed-off-by: Richard Guy Brig

[PATCH V2 3/3] audit: bail before bug check if audit disabled

2018-02-09 Thread Richard Guy Briggs
If audit is disabled, who cares if there is a bug indicating syscall in process or names already recorded. Bail immediately on audit disabled. Signed-off-by: Richard Guy Briggs --- kernel/auditsc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kernel/auditsc.c b/kernel

[PATCH V2 2/3] audit: bail ASAP on syscall entry

2018-02-09 Thread Richard Guy Briggs
Since removing the audit entry filter, test for early return before setting up any context state. Signed-off-by: Richard Guy Briggs --- kernel/auditsc.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 9348302..bc534

Re: [PATCH] tracing/power: Don't share template for cpu_idle and cpu_frequency

2018-02-09 Thread Steven Rostedt
On Sat, 10 Feb 2018 09:37:04 +0800 changbin...@intel.com wrote: > From: Changbin Du > > The type of state is signed int, convert it to unsigned int looks weird. > (-1 become 4294967295) >932.123 power:cpu_idle:state=1 cpu_id=0) >932.125 power:cpu_idle:state=4294967295 cpu_id=0) >932.

[PATCH v3 11/11] clk: actions: Add S900 SoC clock support

2018-02-09 Thread Manivannan Sadhasivam
Add Actions Semi S900 SoC clock support. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Kconfig| 10 + drivers/clk/actions/Makefile | 3 + drivers/clk/actions/owl-s900.c | 666 + drivers/clk/actions/owl-s900.h | 61 4 files cha

[PATCH v3 08/11] clk: actions: Add factor clock support

2018-02-09 Thread Manivannan Sadhasivam
Add support for Actions Semi factor clock together with helper functions to be used in composite clock. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile | 1 + drivers/clk/actions/owl-factor.c | 222 +++ drivers/clk/actions/owl-facto

[PATCH v3 10/11] clk: actions: Add pll clock support

2018-02-09 Thread Manivannan Sadhasivam
Add support for Actions Semi PLL clock Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile | 1 + drivers/clk/actions/owl-pll.c | 194 ++ drivers/clk/actions/owl-pll.h | 92 3 files changed, 287 insertions(+) cre

[PATCH v3 09/11] clk: actions: Add composite clock support

2018-02-09 Thread Manivannan Sadhasivam
Add support for Actions Semi composite clock. This clock consists of gate, mux, divider and factor clocks. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile| 1 + drivers/clk/actions/owl-composite.c | 155 drivers/clk/actions/owl

[PATCH v3 06/11] clk: actions: Add mux clock support

2018-02-09 Thread Manivannan Sadhasivam
Add support for Actions Semi mux clock together with helper functions to be used in composite clock. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile | 1 + drivers/clk/actions/owl-mux.c | 60 ++ drivers/clk/actions/owl-mux.h | 61 ++

[PATCH v3 07/11] clk: actions: Add divider clock support

2018-02-09 Thread Manivannan Sadhasivam
Add support for Actions Semi divider clock together with helper functions to be used in composite clock. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile | 1 + drivers/clk/actions/owl-divider.c | 94 +++ drivers/clk/actions/owl-divi

[PATCH v3 00/11] Add clock driver for Actions S900 SoC

2018-02-09 Thread Manivannan Sadhasivam
This patchset adds clock support for Actions Semi OWL series S900 SoC with relevant clock bindings and device tree data. Driver has been validated on Bubblegum-96 board. Thanks, Mani Changes in V3: * Completely refactored the clock driver based on sunxi-ng clock structure * Removed all owl_ p

[PATCH v3 02/11] arm64: dts: actions: Add S900 clock management unit nodes

2018-02-09 Thread Manivannan Sadhasivam
Add Actions Semi S900 Clock Management Unit (CMU) nodes Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 11

[PATCH v3 04/11] clk: actions: Add common clock driver support

2018-02-09 Thread Manivannan Sadhasivam
Add support for Actions Semi common clock driver with generic structures and interface functions. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/actions/Kconfig | 4 ++ drivers/clk/actions/Makefile

[PATCH v3 01/11] dt-bindings: clock: Add Actions S900 clock bindings

2018-02-09 Thread Manivannan Sadhasivam
Add Actions Semi S900 clock bindings. Signed-off-by: Manivannan Sadhasivam Acked-by: Rob Herring --- .../devicetree/bindings/clock/actions,s900-cmu.txt | 47 +++ include/dt-bindings/clock/actions,s900-cmu.h | 139 + 2 files changed, 186 insertions(+) create mode

[PATCH v3 05/11] clk: actions: Add gate clock support

2018-02-09 Thread Manivannan Sadhasivam
Add support for Actions Semi gate clock together with helper functions to be used in composite clock. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile | 1 + drivers/clk/actions/owl-gate.c | 77 ++ drivers/clk/actions/owl-gate.h | 7

[PATCH v3 03/11] arm64: dts: actions: Source CMU clock for UART5

2018-02-09 Thread Manivannan Sadhasivam
Remove fixed clock and source CMU (Clock Management Unit) clock for UART5 driver in Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/act

Re: [PATCH V2 0/6]nvme-pci: fixes on nvme_timeout and nvme_dev_disable

2018-02-09 Thread jianchao.wang
Hi Keith Thanks for your kindly response here. That's really appreciated. On 02/10/2018 01:12 AM, Keith Busch wrote: > On Fri, Feb 09, 2018 at 09:50:58AM +0800, jianchao.wang wrote: >> >> if we set NVME_REQ_CANCELLED and return BLK_EH_HANDLED as the RESETTING case, >> nvme_reset_work will hang fo

[PATCH] f2fs: handle quota for orphan inodes

2018-02-09 Thread Jaegeuk Kim
This is to fix missing dquot_initialize for orphan inodes. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 8b0945ba284d..e3bf753a47be 100644 --

Re: [PATCH] x86/kvm/vmx: Don't halt vcpu when L1 is injecting events to L2

2018-02-09 Thread Liran Alon
- pbonz...@redhat.com wrote: > On 08/02/2018 13:09, Liran Alon wrote: > > - pbonz...@redhat.com wrote: > >> On 08/02/2018 06:13, Chao Gao wrote: > > > > A possible patch to fix this is to change vmx_hwapic_irr_update() > such that > > if is_guest_mode(vcpu)==true, we should return max(ma

Re: [PATCH] irqchip: Use %px to print pointer value

2018-02-09 Thread Jaedon Shin
> On 10 Feb 2018, at 1:04 AM, Marc Zyngier wrote: > > On 09/02/18 15:54, Florian Fainelli wrote: >> On February 9, 2018 12:51:33 AM PST, Marc Zyngier >> wrote: >>> On 09/02/18 02:10, Jaedon Shin wrote: Since commit ad67b74d2469 ("printk: hash addresses printed with %p") pointers pri

[PATCH] tracing/power: Don't share template for cpu_idle and cpu_frequency

2018-02-09 Thread changbin . du
From: Changbin Du The type of state is signed int, convert it to unsigned int looks weird. (-1 become 4294967295) 932.123 power:cpu_idle:state=1 cpu_id=0) 932.125 power:cpu_idle:state=4294967295 cpu_id=0) 932.132 power:cpu_idle:state=1 cpu_id=0) 932.133 power:cpu_idle:state=4294967295

[PATCH 6/6] ARM: dts: tegra: apalis-tk1: support v1.2 hardware revision

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Support the V1.2 hardware revision with the following pin muxing changes: Ddc_scl_pv4 and ddc_sda_pv5 previously used as Apalis GPIO3 and GPIO4 are now used as DDC pins. Gen2_i2c_scl_pt5 and gen2_i2c_sda_pt6 previously used as DDC pins are now used as USB power enable sign

[PATCH 3/6] ARM: dts: tegra: apalis-tk1: add missing as3722 gpio0 configuration

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler As the AS3722 GPIO0 is also a not connected on our Apalis TK1 module explicitly configure it to high-impedance as well. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra124-apalis.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ar

[PATCH 1/6] arm: tegra: apalis-tk1: set critical trips

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Set "critical" trip temperatures for cpu, gpu, mem and pllx thermal zones. These trips can trigger shut down or reset. Similar to commit 40823f8e267f ("arm: tegra: set critical trips for Tegra124"). Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra124-apalis.d

[PATCH 2/6] ARM: dts: tegra: apalis-tk1: activate pwm pin muxing for pwm3

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Activate PWM pin muxing for Apalis PWM3. Note that the same PWM3 is already active on pu6 being Apalis BKL1_PWM as well. Therefore exporting that one for raw sysfs access will fail and one has to revert to using the pwm backlight. Downstream commit 668ddb921800 ("apalis-tk1

[PATCH 5/6] ARM: dts: tegra: apalis-tk1: copyright period, spurious newlines

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Update the copyright period and get rid of some spurious newlines. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra124-apalis-eval.dts | 6 ++ arch/arm/boot/dts/tegra124-apalis.dtsi | 11 +-- 2 files changed, 3 insertions(+), 14 deletions(-)

[PATCH 4/6] ARM: dts: tegra: apalis-tk1: hog group for ethernet, pcie, reset gpios

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler The Apalis TK1 module uses some dedicated GPIOs as I210 gigabit Ethernet controller reset and to control RESET_MOCI aka reset module output carrier input on MXM3 pin 26. The Apalis Evaluation Board furthermore uses Apalis GPIO7 on MXM3 pin 15 as reset signal for its PLX PEX

[PATCH 0/6] ARM: dts: tegra: apalis-tk1: updates incl. v1.2 hardware support

2018-02-09 Thread Marcel Ziswiler
This series sets critical trips, activates PWM pin muxing for PWM3, adds a missing AS3722 GPIO0 configuration, adds a hog group for Ethernet, PCIe, reset GPIOs, updates the copyright period, removes spurious newlines and adds support for the V1.2 hardware revision of the Toradex Apalis TK1 system

[PATCH 2/3] ARM: dts: tegra: apalis/colibri: use correct compatible for rtc

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler All Toradex Carrier Boards use a st,m41t0 compatible RTC. Compared to a st,m41t00 this RTC has also an oscillator fail bit which allows to detect when the RTC lost track of time. Similar to commit c53bec16b150 ("ARM: dts: colibri/apalis: use correct compatible for RTC") cov

[PATCH 0/3] ARM: dts: tegra: apalis/colibri updates

2018-02-09 Thread Marcel Ziswiler
This series fixes the I2C bus frequencies, uses the correct compatible for the RTC and removes an unneeded reg property for Tegra based Toradex Apalis and Colibri modules. Marcel Ziswiler (3): apalis_t30/tk1, colibri_t20/t30: fix i2c bus frequencies ARM: dts: tegra: apalis/colibri: use corre

[PATCH 1/3] apalis_t30/tk1, colibri_t20/t30: fix i2c bus frequencies

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Use a faster speed of 400 kbit/s for regular I2C busses. Use a slower speed of 10 kbit/s for DDC/EDID to improve reliability. Use a slower speed of 100 kbit/s for power I2C to be within specs of the LM95245 temperature sensor. While at it further annotate I2C pin usage.

Re: [PATCH] sunrpc: Add task's xid to 'not responding' messages on call_timeout

2018-02-09 Thread Trond Myklebust
On Fri, 2018-02-09 at 23:06 -0200, Thiago Rafael Becker wrote: > When investigating reasons for nfs failures, packet dumps arei > eventually used. > Finding the rpc that generated the failure is done by comparing all > sent > rpc calls and all received rpc replies for those which are > unanswered,

[PATCH 3/3] ARM: dts: tegra: apalis/colibri: remove unneeded reg property

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler As described in Documentation/devicetree/bindings/input/touchscreen/stmpe.txt there is no 'reg' property under stmpe_touchscreen, so remove it to fix the following build warning with W=1: arch/arm/boot/dts/tegra30-apalis-eval.dtb: Warning (unit_address_vs_reg): Node /i2c@70

Re: [PATCH 2/2] f2fs: support {d,id,did,x}node checksum

2018-02-09 Thread Jaegeuk Kim
On 02/01, Chao Yu wrote: > > > On 2018/2/1 6:15, Jaegeuk Kim wrote: > > On 01/31, Chao Yu wrote: > >> On 2018/1/31 10:02, Jaegeuk Kim wrote: > >>> What if we want to add more entries in addition to node_checksum? Do we > >>> have > >>> to add a new feature flag at every time? How about adding a

[PATCH 4/4] ARM: dts: tegra: venice2: remove duplicate pcie-1 node

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Get rid of duplicate pcie-1 node. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra124-venice2.dts | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts index c0469ea149d2..89bcc

[PATCH 0/4] dt/bindings & ARM: dts: tegra: updates

2018-02-09 Thread Marcel Ziswiler
This series fixes the Tegra GMI controller DT/bindings example, a few IRQ type definitions, removes some invalid uses of rsvd1 pin muxes on Beaver and removes a duplicate pcie-1 node on Venice2. Marcel Ziswiler (4): dt/bindings: fix binding examples for tegra gmi controller ARM: dts: tegra:

[PATCH 3/4] ARM: dts: tegra: beaver: remove invalid uses of rsvd1

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove invalid uses of rsvd1 from beaver device tree. Replace by actual function names of pinmux option 1. Taken from https://github.com/NVIDIA/tegra-pinmux-scripts commit b0aceda108c0 ("remove invalid uses of rsvd1 from beaver config"). Signed-off-by: Marcel Ziswiler ---

[PATCH 2/4] ARM: dts: tegra: use proper irq type definitions

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler This switches a few interrupt definitions that were using either GPIO_ACTIVE_HIGH or GPIO_ACTIVE_LOW as IRQ type, which is invalid. This is mostly a cosmetic change, that doesn't affect any driver. Analogous to Paul's commit 38333641b6dd ("ARM: tegra: nyan: Use proper IRQ

[PATCH 1/4] dt/bindings: fix binding examples for tegra gmi controller

2018-02-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix devicetree binding examples for the Generic Memory Interface (GMI) bus driver found on Tegra SOCs. While at it also remove double new lines as a left over from Rob's commit 4da722ca19f3 ("dt-bindings: Remove "status" from examples"). Signed-off-by: Marcel Ziswiler ---

Re: possible deadlock in get_user_pages_unlocked

2018-02-09 Thread Al Viro
On Fri, Feb 02, 2018 at 09:57:27AM +0100, Dmitry Vyukov wrote: > syzbot tests for up to 5 minutes. However, if there is a race involved > then you may need more time because the crash is probabilistic. > But from what I see most of the time, if one can't reproduce it > easily, it's usually due to

Re: [patch v2 1/3] platform/x86: mlx-platform: Add support for new msn274x system type

2018-02-09 Thread Darren Hart
On Fri, Feb 09, 2018 at 11:59:30PM +, Vadim Pasternak wrote: > It adds support for new Mellanox system types of basic class msn274x, > containing system MSN2740 (32x100GbE Ethernet switch with cost reduction) > and its derivatives. These are the Top of the Rack system, equipped with > Mellanox

Re: [Resend] Question: kselftests: bpf/test_maps failed

2018-02-09 Thread Alexei Starovoitov
On Fri, Feb 09, 2018 at 03:01:57PM +0100, Daniel Borkmann wrote: > On 02/09/2018 06:14 AM, Li Zhijian wrote: > > Hi > > > > INTEL 0-Day noticed that bpf/test_maps has different results at different > > platforms. > > when it fails, the details are like > > Sorry for the late reply and thanks for

[PATCH] mconsole_proc(): don't mess with file->f_pos

2018-02-09 Thread Al Viro
mconsole_proc(): don't mess with file->f_pos Signed-off-by: Al Viro --- diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index c4d162a94be9..d5f9a2d1da1b 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c @@ -130,6 +130,7 @@ void m

[git pull] a couple of fixes

2018-02-09 Thread Al Viro
The following changes since commit ce4bb04cae8924792ed92f4af2793b77fc986f0e: Fix a leak in socket(2) when we fail to allocate a file descriptor. (2018-01-10 18:47:05 -0500) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus for you

Re: [PATCH v2] tools/memory-model: Make compat with herd7 7.47 ("-" -> "_")

2018-02-09 Thread Paul E. McKenney
On Sat, Feb 10, 2018 at 08:46:25AM +0900, Akira Yokosawa wrote: > >From 7c1f497a9a51e8db1a94c8a7ef0b74b235aaab88 Mon Sep 17 00:00:00 2001 > From: Akira Yokosawa > Date: Fri, 9 Feb 2018 04:51:05 -0800 > Subject: [PATCH v2] tools/memory-model: Make compat with herd7 7.47 ("-" -> > "_") > > As of h

[PATCH] sunrpc: Add task's xid to 'not responding' messages on call_timeout

2018-02-09 Thread Thiago Rafael Becker
When investigating reasons for nfs failures, packet dumps arei eventually used. Finding the rpc that generated the failure is done by comparing all sent rpc calls and all received rpc replies for those which are unanswered, which is prone to errors like - Slow server responses - Incomplete and unca

Re: [PATCH RFC tip/lkmm 04/10] EXP litmus_tests: Add comments explaining tests' purposes

2018-02-09 Thread Paul E. McKenney
On Fri, Feb 09, 2018 at 01:46:30PM -0500, Alan Stern wrote: > On Fri, 9 Feb 2018, Paul E. McKenney wrote: > > > This commit adds comments to the litmus tests summarizing what these > > tests are intended to demonstrate. > > > > Suggested-by: Ingo Molnar > > Signed-off-by: Paul E. McKenney > > [

Re: [PATCH 1/2] Documentation/memory-barriers.txt: cross-reference "tools/memory-model/"

2018-02-09 Thread Paul E. McKenney
On Fri, Feb 09, 2018 at 04:00:53PM +0100, Andrea Parri wrote: > On Fri, Feb 09, 2018 at 06:29:23AM -0800, Paul E. McKenney wrote: > > On Fri, Feb 09, 2018 at 01:50:51PM +0100, Andrea Parri wrote: > > > On Fri, Feb 09, 2018 at 04:31:00AM -0800, Paul E. McKenney wrote: > > > > On Sun, Feb 04, 2018 at

[PATCH v2] x86: simplify NR_CPUS config

2018-02-09 Thread Randy Dunlap
X86_32 and X86_64 configs. --- linux-next-20180209.orig/arch/x86/Kconfig +++ linux-next-20180209/arch/x86/Kconfig @@ -423,12 +423,6 @@ config X86_MPPARSE For old smp systems that do not have proper acpi support. Newer systems (esp with 64bit cpus) with acpi support, MADT and DS

[PATCH v2 0/2] mm, smaps: MMUPageSize for device-dax

2018-02-09 Thread Dave Jiang
Andrew, >From Dan Williams: Here is another occasion where we want special-case hugetlbfs enabling to also apply to device-dax. I started to wonder what other hstate conversions we might do beyond ->split() and ->pagesize(), but this appears to be the last of the usages of hstate_vma() in generic/

[PATCH v2 1/2] mm, hugetlbfs: introduce ->pagesize() to vm_operations_struct

2018-02-09 Thread Dave Jiang
From: Dan Williams When device-dax is operating in huge-page mode we want it to behave like hugetlbfs and report the MMU page mapping size that is being enforced by the vma. Similar to commit 31383c6865a5 "mm, hugetlbfs: introduce ->split() to vm_operations_struct" it would be messy to teach vma_

[PATCH v2 2/2] device-dax: implement ->pagesize() for smaps to report MMUPageSize

2018-02-09 Thread Dave Jiang
From: Dan Williams Given that device-dax is making similar page mapping size guarantees as hugetlbfs, emit the size in smaps and any other kernel path that requests the mapping size of a vma. Reported-by: Jane Chu Signed-off-by: Dan Williams --- drivers/dax/device.c | 10 ++ 1 file

Re: [PATCH v2] x86/kvm/vmx: Don't halt vcpu when L1 is injecting events to L2

2018-02-09 Thread Liran Alon
- chao@intel.com wrote: > Although L2 is in halt state, it will be in the active state after > VM entry if the VM entry is vectoring according to SDM 26.6.2 > Activity > State. Halting the vcpu here means the event won't be injected to L2 > and this decision isn't reported to L1. Thus L0

Re: [PATCH 3/3] X86/nVMX: Update the MSR_BITMAP field with the L02 MSR BITMAP

2018-02-09 Thread KarimAllah Ahmed
On 02/10/2018 12:57 AM, Jim Mattson wrote: On Fri, Feb 9, 2018 at 3:41 PM, KarimAllah Ahmed wrote: I assume you are referring to this: https://patchwork.kernel.org/patch/10194819/ .. which is now: commit 904e14fb7cb9 ("KVM: VMX: make MSR bitmaps per-VCPU") right? If this is the case, then

[PATCH] x86: Fix PTI comment in entry_SYSCALL_64

2018-02-09 Thread Nadav Amit
The comment is confusing since the path is taken when PAGE_TABLE_ISOLATION is disabled (while the comment says it is not taken). Signed-off-by: Nadav Amit --- arch/x86/entry/entry_64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/

Re: [PATCH 2/3] Input: gpio-keys - allow setting wakeup interrupt trigger type in DT

2018-02-09 Thread JeffyChen
Hi Brian, Thanks for your reply. On 02/10/2018 07:42 AM, Brian Norris wrote: Hi Jeffy, On Fri, Feb 09, 2018 at 07:55:09PM +0800, Jeffy Chen wrote: Allow specifying a different interrupt trigger type for wakeup when using the gpio-keys input device as a wakeup source. Signed-off-by: Jeffy Che

Re: [PATCH] amdgpu/dc: Remove unnecessary initialization in dc_link_handle_hpd_rx_irq()

2018-02-09 Thread Guenter Roeck
On Fri, Feb 9, 2018 at 3:12 PM, Matthias Kaehlcke wrote: > The initialization of 'result' is unnecessary, the variable is assigned > unconditionally a few lines below. Removing the initialization also fixes > the following warning when building with clang: > > drivers/gpu/drm/amd/amdgpu/../display

Re: [PATCH 6/7] watchdog: meson: allow setting timeout in devicetree

2018-02-09 Thread Guenter Roeck
On Sat, Feb 10, 2018 at 12:19:10AM +0100, Alexandre Belloni wrote: > Hi Guenter, > > On 09/02/2018 at 14:48:49 -0800, Guenter Roeck wrote: > > On Fri, Feb 09, 2018 at 08:27:23PM +0100, Marcus Folkesson wrote: > > > watchdog_init_timeout() will allways pick timeout_param since it > > > defaults to

[PATCH 3/3] auxdisplay: charlcd: replace octal literal with form-feed escape sequence

2018-02-09 Thread Robert Abel
There is no need to resort to octal escape sequence for the form feed character when an established escape sequence exists. Signed-off-by: Robert Abel --- drivers/auxdisplay/charlcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/auxdisplay/charlcd.c b/drivers/auxd

Re: [PATCH] scsi: pmcraid: remove redundant initializations of pointer 'ioadl'

2018-02-09 Thread Martin K. Petersen
Colin, > There are several occurrances where pointer ioadl is initialized with a > value that is never read and where it is re-assigned a new value later > on, hence the initialization is redundant and can be removed. Applied to 4.17/scsi-queue. -- Martin K. Petersen Oracle Linux Engineer

[PATCH 2/3] auxdisplay: charlcd: use null character instead of zero literal to terminate strings

2018-02-09 Thread Robert Abel
Using '\0' instead of plain 0 makes the intent clearer that this is indeed a string and not a series of integers. Signed-off-by: Robert Abel --- drivers/auxdisplay/charlcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/auxdisplay/charlcd.c b/drivers/auxdisplay

[PATCH 1/3] auxdisplay: charlcd: fix hex literal ranges for graphics command

2018-02-09 Thread Robert Abel
The graphics command expects 16 hexadecimal literals, but would allow characters in range [0-9a-zA-Z] instead of [0-9a-fA-F]. Signed-off-by: Robert Abel --- drivers/auxdisplay/charlcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/auxdisplay/charlcd.c b/driver

[PATCH 0/3] auxdisplay: charlcd: miscellaneous patches

2018-02-09 Thread Robert Abel
While looking at charlcd I noticed some little bits here and there that might be corrected or improved. Robert Abel (3): auxdisplay: charlcd: fix hex literal ranges for graphics command auxdisplay: charlcd: use null character instead of zero literal to terminate strings auxdisplay: charl

Re: [PATCH 3/6] scsi: sym53c416: avoid section mismatch with LTO

2018-02-09 Thread Martin K. Petersen
Arnd, > Building with link time optimizations produces a false-postive section > mismatch warning: Applied to 4.17/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 3/3] X86/nVMX: Update the MSR_BITMAP field with the L02 MSR BITMAP

2018-02-09 Thread Jim Mattson
On Fri, Feb 9, 2018 at 3:41 PM, KarimAllah Ahmed wrote: > I assume you are referring to this: > > https://patchwork.kernel.org/patch/10194819/ > > .. which is now: > > commit 904e14fb7cb9 ("KVM: VMX: make MSR bitmaps per-VCPU") > > right? > > If this is the case, then I do not see where the MSR_B

Re: [PATCH][V2] CIFS: SMBD: fix spelling mistake: "faield" and "legnth"

2018-02-09 Thread Steve French
merged into cifs-2.6.git for-next On Fri, Feb 9, 2018 at 6:14 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in log_rdma_send and log_rdma_mr > message text. > > Signed-off-by: Colin Ian King > --- > fs/cifs/smbdirect.c | 4 ++-- > 1 file changed, 2 insertions

Re: [PATCH] scsi: isci: remove redundant initialization to 'bit'

2018-02-09 Thread Martin K. Petersen
Colin, > Variable bit is initialized with a value that is never read and is > being updated immediately after the initialization, hence the > initialization is redundant and can be removed. Applied to 4.17/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 2/6] scsi: NCR53c406a: avoid section mismatch with LTO

2018-02-09 Thread Martin K. Petersen
Arnd, > Building with link time optimizations produces a false-postive section > mismatch warning: Applied to 4.17/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

  1   2   3   4   5   6   7   8   9   >