[PATCH] staging: unisys: visorbus: Declared char * array as static const

2017-09-09 Thread Harsha Sharma
State explicitly that individual entries in array will not change. Signed-off-by: Harsha Sharma --- drivers/staging/unisys/visorbus/visorchipset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/viso

Re: [Outreachy kernel] [PATCH v2] Staging: ccree: Merge assignment with return

2017-09-09 Thread Srishti Sharma
On Sat, Sep 9, 2017 at 12:27 PM, Julia Lawall wrote: > > > On Sat, 9 Sep 2017, Srishti Sharma wrote: > >> On Sat, Sep 9, 2017 at 2:28 AM, Julia Lawall wrote: >> > >> > >> > On Sat, 9 Sep 2017, Srishti Sharma wrote: >> > >> >> Merge the assignment and return statements to return the value >> >> di

Re: [PATCH v2] Add driver to force WMI Thunderbolt controller power status

2017-09-09 Thread Mika Westerberg
On Fri, Sep 08, 2017 at 09:14:52PM -0700, Darren Hart wrote: > On Fri, Sep 08, 2017 at 03:15:10PM +, mario.limoncie...@dell.com wrote: > > > -Original Message- > > > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > > > Sent: Friday, September 8, 2017 3:07 AM > > > To: Li

Re: [PATCH v3] Add driver to force WMI Thunderbolt controller power status

2017-09-09 Thread Mika Westerberg
On Fri, Sep 08, 2017 at 10:23:11AM -0500, Mario Limonciello wrote: > Current implementations of Intel Thunderbolt controllers will go > into a low power mode when not in use. > > Many machines containing these controllers also have a GPIO wired up > that can force the controller awake. This is of

Re: [PATCH] staging: unisys: visorbus: Declared char * array as static const

2017-09-09 Thread Greg KH
On Sat, Sep 09, 2017 at 12:30:42PM +0530, Harsha Sharma wrote: > State explicitly that individual entries in array will not change. > > Signed-off-by: Harsha Sharma > --- > drivers/staging/unisys/visorbus/visorchipset.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [Fwd: [PATCH] usb,signal,security: only pass the cred, not the secid, to kill_pid_info_as_cred and security_task_kill]

2017-09-09 Thread John Johansen
On 09/08/2017 09:43 AM, Stephen Smalley wrote: > Sorry, meant to cc you on this. > > Forwarded Message > From: Stephen Smalley > To: james.l.mor...@oracle.com > Cc: gre...@linuxfoundation.org, se...@hallyn.com, p...@paul-moore.com, > ca...@schaufler-ca.com, linux-security-mod..

Re: [PATCH] HID: usbhid: get/put around clearing needs_remote_wakeup

2017-09-09 Thread Oliver Neukum
Am Freitag, den 08.09.2017, 10:43 -0700 schrieb Dmitry Torokhov: > From: Benson Leung > > usbhid->intf->needs_remote_wakeup is set when a device is opened, and is > cleared when a device is closed. > > In usbhid_open, usb_autopm_get_interface is called before setting the > needs_remote_wakeup fl

[PATCH v4] Staging: ccree: Merge assignment with return

2017-09-09 Thread Srishti Sharma
Merge the assignment and the return statements to return the value directly. Done using coccinelle. @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Srishti Sharma --- Changes in v4: -Edit commit message so that it respects 80 character limit -Rem

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Markus Trippelsdorf
On 2017.09.08 at 14:47 -0700, Andy Lutomirski wrote: > On Fri, Sep 8, 2017 at 10:16 AM, Markus Trippelsdorf > wrote: > > On 2017.09.08 at 09:12 -0700, Andy Lutomirski wrote: > >> On Fri, Sep 8, 2017 at 4:30 AM, Markus Trippelsdorf > >> wrote: > >> > On 2017.09.08 at 12:39 +0200, Markus Trippelsdo

[PATCH] fs: add RWF_APPEND

2017-09-09 Thread Jürg Billeter
This is the per-I/O equivalent of O_APPEND to support atomic append operations on any open file. On Linux, if a file is opened with O_APPEND, pwrite() ignores the offset and always appends data to the end of the file. RWF_APPEND enables atomic append and pwrite() with offset on a single file descr

Re: [Outreachy kernel] [PATCH v3] Staging: ccree: Merge assignment with return

2017-09-09 Thread Srishti Sharma
On Sat, Sep 9, 2017 at 12:26 PM, Julia Lawall wrote: > > > On Sat, 9 Sep 2017, Srishti Sharma wrote: > >> Merge the assignment and return statements to return the value >> directly. Done using coccinelle. >> >> @@ >> local idexpression ret; >> expression e; >> @@ >> >> -ret = >> +return >> e;

Re: [Outreachy kernel] Re: [PATCH] staging: unisys: visorbus: Declared char * array as static const

2017-09-09 Thread Julia Lawall
On Sat, 9 Sep 2017, Greg KH wrote: > On Sat, Sep 09, 2017 at 12:30:42PM +0530, Harsha Sharma wrote: > > State explicitly that individual entries in array will not change. > > > > Signed-off-by: Harsha Sharma > > --- > > drivers/staging/unisys/visorbus/visorchipset.c | 4 ++-- > > 1 file change

Re: [v7 5/5] mm, oom: cgroup v2 mount option to disable cgroup-aware OOM killer

2017-09-09 Thread David Rientjes
On Fri, 8 Sep 2017, Christopher Lameter wrote: > Ok. Certainly there were scalability issues (lots of them) and the sysctl > may have helped there if set globally. But the ability to kill the > allocating tasks was primarily used in cpusets for constrained allocation. > I remember discussing it

Re: [PATCH 2/2] staging: typec: tcpm: Only request matching pdos

2017-09-09 Thread Dan Carpenter
On Fri, Sep 08, 2017 at 10:43:40AM -0700, Badhri Jagan Sridharan wrote: > >> /* > >> - * Select the source PDO providing the most power while staying > >> within > >> - * the board's voltage limits. Prefer PDO providing exp > >> + * Select the source PDO providing the most pow

[PATCH] checkpatch: Fix ignoring cover-letter logic

2017-09-09 Thread Stafford Horne
Currently running checkpatch on a directory with a cover-letter.patch file reports the following error: - patches/smp-v2/v2--cover-letter.patch - ERROR: Does not appear to be a unified-diff format patch T

Re: [PATCH 7/8] staging: ccree: replace noop macro with inline

2017-09-09 Thread Dan Carpenter
On Sun, Sep 03, 2017 at 11:56:49AM +0300, Gilad Ben-Yossef wrote: > Replace noop macro with a noop inline function > > Signed-off-by: Gilad Ben-Yossef > --- > drivers/staging/ccree/ssi_driver.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/ccree/ss

[GIT PULL] MTD updates for 4.14

2017-09-09 Thread Boris Brezillon
Hi Linus, As Brian mentioned in his last fixes PR, I'll be handling the MTD subsystem for this release. Here are the MTD changes queued for 4.14. Regards, Boris The following changes since commit cc4a41fe5541a73019a864883297bd5043aa6d98: Linux 4.13-rc7 (2017-08-27 17:20:40 -0700) are availa

[PATCH] quota: add missing lock into __dquot_transfer()

2017-09-09 Thread Konstantin Khlebnikov
Lock dq_dqb_lock around dquot_decr_inodes() Signed-off-by: Konstantin Khlebnikov Fixes: 7b9ca4c61bc2 ("quota: Reduce contention on dq_data_lock") --- fs/quota/dquot.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index 8381db9db6d9..50b0556a124f 100

[PATCH v3] ARM: dts: Add initial Pistachio i.mx6q board support.

2017-09-09 Thread Wig C
From: YuanCheng Cheng Working items: - 800MHz CPU - 2GB of RAM (DDR3) - 4GB of NAND FLASH - 1T1R WiFi 2.4 GHz - Power management support - 1x 10/100/1000 Mbps Ethernet WAN port - 2x USB 2.0 Host - PCIe - HDMI/VGA/LVDS display - 1x UART for RS232/422/485 - 2x UART for RS232 - 1x UART for serial c

[PATCH] dt-bindings: vendor-prefixes: Add nutsboard to vendor prefix.

2017-09-09 Thread Wig C
From: YuanCheng Cheng Signed-off-by: YuanCheng Cheng --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index daf465be..7746d

Re: [PATCH 1/1] x86/hyper-V: Allocate the IDT entry early in boot

2017-09-09 Thread Thomas Gleixner
On Fri, 8 Sep 2017, K. Y. Srinivasan wrote: > Allocate the hypervisor callback IDT entry early in the boot sequence. > > Signed-off-by: K. Y. Srinivasan > --- > arch/x86/kernel/cpu/mshyperv.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/kernel/cpu/mshyp

[PATCH] prctl: add PR_[GS]ET_PDEATHSIG_PROC

2017-09-09 Thread Jürg Billeter
PR_SET_PDEATHSIG sets a parent death signal that the calling process will get when its parent thread dies, even when the result of getppid() doesn't change because the calling process is reparented to a different thread in the same parent process. When managing multiple processes, a process-based p

[PATCH] cachefiles: Remove unnecessary comparisons in daemon.c

2017-09-09 Thread Christos Gkekas
Remove unnecessary comparisons of unsigned variables with zero. Signed-off-by: Christos Gkekas --- fs/cachefiles/daemon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/cachefiles/daemon.c b/fs/cachefiles/daemon.c index 1ee54ff..ce072ce 100644 --- a/fs/cachefiles/da

Re: [PATCH] dt-bindings: vendor-prefixes: Add nutsboard to vendor prefix.

2017-09-09 Thread Andreas Färber
Hi YuanCheng, Usually such a vendor prefix patch is part of a series, with later patches making use of the prefix for some compatible string in a binding document and in some Device Tree. What will this prefix be used for? Are you affiliated with the company? If not, you should consider CC'ing nu

Re: [PATCH 1/4] perf ui progress: Make sure we always define step value

2017-09-09 Thread Milian Wolff
On Freitag, 8. September 2017 15:26:42 CEST Arnaldo Carvalho de Melo wrote: > Em Fri, Sep 08, 2017 at 03:16:37PM +0200, Milian Wolff escreveu: > > On Freitag, 8. September 2017 14:05:07 CEST Jiri Olsa wrote: > > > +++ b/tools/perf/ui/progress.c > > > @@ -25,7 +25,7 @@ void ui_progress__update(struc

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Borislav Petkov
On Sat, Sep 09, 2017 at 08:39:08AM +0200, Markus Trippelsdorf wrote: > Unfortunately the machine hangs in the BIOS after the first warm-reset. > Probably when it encounters an MCE it doesn't expect. I have to > warm-reset a second time to get to the boot-loader. So it is impossible > for me to see

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-09 Thread 严海双
> On 2017年9月9日, at 下午1:16, David Miller wrote: > > From: 严海双 > Date: Sat, 9 Sep 2017 13:09:57 +0800 > >> >> >>> On 2017年9月9日, at 下午12:35, Cong Wang wrote: >>> >>> On Fri, Sep 8, 2017 at 6:25 PM, 严海双 >>> wrote: > On 2017年9月9日, at 上午6:13, Cong Wang wrote: > > On

Re: [PATCH] net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs

2017-09-09 Thread Nikolay Aleksandrov
On 09/09/17 02:54, Mahesh Bandewar (महेश बंडेवार) wrote: > On Fri, Sep 8, 2017 at 7:30 AM, Nikolay Aleksandrov > wrote: >> On 08/09/17 17:17, Kosuke Tatsukawa wrote: >>> Hi, >>> On 08/09/17 13:10, Nikolay Aleksandrov wrote: > On 08/09/17 05:06, Kosuke Tatsukawa wrote: >> Hi, >> >>

[PATCH] staging: sm750fb: Remove extra blank lines

2017-09-09 Thread Harsha Sharma
This was reported by checkpatch.pl Signed-off-by: Harsha Sharma --- drivers/staging/sm750fb/sm750_cursor.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index aa47a16..6b27b06 100644 --- a/drivers/staging/s

[PATCH] Staging: ccree: Merge assignment with return

2017-09-09 Thread Srishti Sharma
Merge the assignment and return statements to return the value directly. Done using coccinelle. @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Srishti Sharma --- drivers/staging/ccree/ssi_sysfs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deleti

Re: [PATCH 1/1] x86/hyper-V: Allocate the IDT entry early in boot

2017-09-09 Thread Dan Carpenter
On Fri, Sep 08, 2017 at 04:15:57PM -0700, k...@exchange.microsoft.com wrote: > From: "K. Y. Srinivasan" > > Allocate the hypervisor callback IDT entry early in the boot sequence. > I'm guessing this fixes a NULL dereference or something? The changelog doesn't really say why we are doing this.

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Markus Trippelsdorf
On 2017.09.09 at 12:18 +0200, Borislav Petkov wrote: > On Sat, Sep 09, 2017 at 08:39:08AM +0200, Markus Trippelsdorf wrote: > > Unfortunately the machine hangs in the BIOS after the first warm-reset. > > Probably when it encounters an MCE it doesn't expect. I have to > > warm-reset a second time to

Re: [RESENT PATCH v7 2/7] arm64: dts: rockchip: Add rt5514 dsp for Gru

2017-09-09 Thread Heiko Stuebner
Am Donnerstag, 24. August 2017, 12:52:22 CEST schrieb Jeffy Chen: > Add rt5514 dsp of_node to codec list for Gru boards. > > Signed-off-by: Jeffy Chen applied for 4.15 Second patch needs to wait a bit more for the binding to get accepted. Thanks Heiko

Re: [PATCH] net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs

2017-09-09 Thread Nikolay Aleksandrov
On 09/09/17 13:29, Nikolay Aleksandrov wrote: > On 09/09/17 02:54, Mahesh Bandewar (महेश बंडेवार) wrote: >> On Fri, Sep 8, 2017 at 7:30 AM, Nikolay Aleksandrov >> wrote: >>> On 08/09/17 17:17, Kosuke Tatsukawa wrote: [snip] >>> >> I think the underlying issue is that tlb_dynamic_lb should be set t

Re: [PATCH] net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs

2017-09-09 Thread Nikolay Aleksandrov
On 07/09/17 01:47, Kosuke Tatsukawa wrote: > Commit cbf5ecb30560 ("net: bonding: Fix transmit load balancing in > balance-alb mode") tried to fix transmit dynamic load balancing in > balance-alb mode, which wasn't working after commit 8b426dc54cf4 > ("bonding: remove hardcoded value"). > > It turn

[PATCH v2] dt-bindings: vendor-prefixes: Add nutsboard to vendor prefix.

2017-09-09 Thread Wig C
From: YuanCheng Cheng NutsBoard (http://nutsboard.org/) is an organization and focus on ARM based embedded boards with open source software. Signed-off-by: YuanCheng Cheng --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentatio

Re: [RESENT PATCH v7 2/7] arm64: dts: rockchip: Add rt5514 dsp for Gru

2017-09-09 Thread Heiko Stuebner
Am Samstag, 9. September 2017, 13:13:01 CEST schrieb Heiko Stuebner: > Am Donnerstag, 24. August 2017, 12:52:22 CEST schrieb Jeffy Chen: > > Add rt5514 dsp of_node to codec list for Gru boards. > > > > Signed-off-by: Jeffy Chen > > applied for 4.15 > Second patch needs to wait a bit more for the

Re: [PATCH v3] ARM: dts: Add initial Pistachio i.mx6q board support.

2017-09-09 Thread Fabio Estevam
On Sat, Sep 9, 2017 at 6:28 AM, Wig C wrote: > +&usdhc2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usdhc2>; > + bus-width = <4>; > + vmmc-supply = <&wlan_en_reg>; > + no-1-8-v; > + keep-power-in-suspend; > + non-removable; > + cap-power-off-ca

Re: [PATCH 1/2] of: Add vendor prefix for Amarula Solutions

2017-09-09 Thread Heiko Stuebner
Am Samstag, 26. August 2017, 12:21:42 CEST schrieb Jagan Teki: > From: Jagan Teki > > Added 'amarula' as a vendor prefix for Amarula Solutions, > specialist in Embedded and Opensource solutions. > > Signed-off-by: Jagan Teki applied for 4.15 with Rob's Ack Thanks Heiko

Re: [PATCH v2 2/2] ARM: dts: rockchip: Add rk3288 vyasa board

2017-09-09 Thread Heiko Stuebner
Am Samstag, 26. August 2017, 15:39:24 CEST schrieb Jagan Teki: > From: Jagan Teki > > This patch adds initial support for rk3288 based > Vyasa board, which is made by Amarula Solutions. > > Signed-off-by: Jagan Teki applied for 4.15 with Rob's Ack and after resorting some properties. Heiko

Re: [PATCH v1 0/3] clk: rockchip: rk3128: fix up some clks

2017-09-09 Thread Heiko Stuebner
Am Freitag, 1. September 2017, 10:01:43 CEST schrieb Elaine Zhang: > Elaine Zhang (3): > clk: rockchip: rk3128: add pclk_pmu as critical clock > clk: rockchip: rk3128: fix up pvtm and mipi_24m gate regs description > error > clk: rockchip: rk3126: add sclk_timer5 as critical clock applie

[PATCH] MAINTAINERS: add entry for MediaTek PMIC LED driver

2017-09-09 Thread sean.wang
From: Sean Wang Add me as maintainers to support existing SoCs and push forward following MediaTek PMICs with LEDs to reuse the driver. Signed-off-by: Sean Wang --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2021738..65185bb 100644 ---

Re: [PATCH] [media] pxa_camera: Delete an error message for a failed memory allocation in pxa_camera_probe()

2017-09-09 Thread Robert Jarzmik
SF Markus Elfring writes: > From: Markus Elfring > Date: Fri, 8 Sep 2017 22:05:14 +0200 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Acked-by: Robert Jarzmik Cheers.

[PATCH v3] ARM: dts: Add initial Pistachio i.mx6q board support.

2017-09-09 Thread Wig C
On Sat, Sep 9, 2017 at 6:28 AM, Wig C wrote: > +&usdhc2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usdhc2>; > + bus-width = <4>; > + vmmc-supply = <&wlan_en_reg>; > + no-1-8-v; > + keep-power-in-suspend; > + non-removable; > + cap-power-off-ca

Re: [PATCH v3] ARM: dts: Add initial Pistachio i.mx6q board support.

2017-09-09 Thread Fabio Estevam
On Sat, Sep 9, 2017 at 9:45 AM, Wig C wrote: > My original patch has never support hardware watch dog as following link: > https://www.spinics.net/lists/kernel/msg2594724.html > > I used soft reset on Pistachio, sorry for cause your misunderstand, and > thanks for your kindly correction. Ok, und

Re: [PATCH 00/15] Improve DVB documentation and reduce its gap

2017-09-09 Thread Soeren Moch
On 04.09.2017 13:29, Mauro Carvalho Chehab wrote: > Em Mon, 4 Sep 2017 02:55:15 +0200 > Soeren Moch escreveu: > >> Hi Mauro, >> >> On 01.09.2017 11:32, Mauro Carvalho Chehab wrote: >>> Em Fri, 1 Sep 2017 10:40:28 +0200 >>> Honza Petrouš escreveu: >>> 2017-09-01 1:46 GMT+02:00 Mauro Carvalh

Re: [PATCH v3] tpm-dev-common: Reject too short writes

2017-09-09 Thread Jarkko Sakkinen
On Sat, Sep 09, 2017 at 12:37:39AM +0300, Jarkko Sakkinen wrote: > On Fri, Sep 08, 2017 at 05:21:32PM +0200, Alexander Steffen wrote: > > tpm_transmit() does not offer an explicit interface to indicate the number > > of valid bytes in the communication buffer. Instead, it relies on the > > commandS

[PATCH v4] ARM: dts: Add initial Pistachio i.mx6q board support.

2017-09-09 Thread Wig C
From: YuanCheng Cheng Working items: - 800MHz CPU - 2GB of RAM (DDR3) - 4GB of eMMC storage - 1T1R WiFi 2.4 GHz - Power management support - 1x 10/100/1000 Mbps Ethernet WAN port - 2x USB 2.0 Host - PCIe - HDMI/VGA/LVDS display - 1x UART for RS232/422/485 - 2x UART for RS232 - 1x UART for serial

Re: [PATCH] IB/rxe: check for allocation failure on elem

2017-09-09 Thread Leon Romanovsky
On Fri, Sep 08, 2017 at 03:37:45PM +0100, Colin King wrote: > From: Colin Ian King > > The allocation for elem may fail (especially because we're using > GFP_ATOMIC) so best to check for a null return. This fixes a potential > null pointer dereference when assigning elem->pool. > > Detected by Co

Re: [PATCH v4] ARM: dts: Add initial Pistachio i.mx6q board support.

2017-09-09 Thread Fabio Estevam
On Sat, Sep 9, 2017 at 9:54 AM, Wig C wrote: > From: YuanCheng Cheng > > Working items: > > - 800MHz CPU > - 2GB of RAM (DDR3) > - 4GB of eMMC storage > - 1T1R WiFi 2.4 GHz > - Power management support > - 1x 10/100/1000 Mbps Ethernet WAN port > - 2x USB 2.0 Host > - PCIe > - HDMI/VGA/LVDS displa

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Borislav Petkov
On Sat, Sep 09, 2017 at 01:07:49PM +0200, Markus Trippelsdorf wrote: > It doesn't work. Compiling in a text console just freezes the machine > before any MCE gets printed. Ok, let's turn off all syncflood bits. Hunk below. Do a $ dmesg | grep syncflood to check it worked. It says [1.557017]

Re: module: use relative references for __ksymtab entries

2017-09-09 Thread Jessica Yu
+++ Ard Biesheuvel [19/08/17 19:10 +0100]: An ordinary arm64 defconfig build has ~64 KB worth of __ksymtab entries, each consisting of two 64-bit fields containing absolute references, to the symbol itself and to a char array containing its name, respectively. When we build the same configuratio

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Markus Trippelsdorf
On 2017.09.09 at 15:07 +0200, Borislav Petkov wrote: > On Sat, Sep 09, 2017 at 01:07:49PM +0200, Markus Trippelsdorf wrote: > > It doesn't work. Compiling in a text console just freezes the machine > > before any MCE gets printed. > > Ok, let's turn off all syncflood bits. Hunk below. Do a > > $

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Markus Trippelsdorf
On 2017.09.09 at 15:37 +0200, Markus Trippelsdorf wrote: > On 2017.09.09 at 15:07 +0200, Borislav Petkov wrote: > > On Sat, Sep 09, 2017 at 01:07:49PM +0200, Markus Trippelsdorf wrote: > > > It doesn't work. Compiling in a text console just freezes the machine > > > before any MCE gets printed. > >

Re: [PATCH 4.9 00/32] 4.9.49-stable review

2017-09-09 Thread Guenter Roeck
On 09/08/2017 06:19 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.49 release. There are 32 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 should be ma

Re: [PATCH 4.12 00/43] 4.12.12-stable review

2017-09-09 Thread Guenter Roeck
On 09/08/2017 06:18 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.12.12 release. There are 43 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 should be m

Re: [PATCH 4.13 00/47] 4.13.1-stable review

2017-09-09 Thread Guenter Roeck
On 09/08/2017 06:18 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.13.1 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 should be ma

[PATCH] tracing: Clean up unused variable 'ret' in trace_events_hist

2017-09-09 Thread Christos Gkekas
Variable 'ret' in trace_events_hist is unused and should be removed. Signed-off-by: Christos Gkekas --- kernel/trace/trace_events_hist.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c index 1c21d0e..5

Re: [PATCH 2/2] staging: typec: tcpm: Only request matching pdos

2017-09-09 Thread Guenter Roeck
On Sat, Sep 09, 2017 at 11:48:48AM +0300, Dan Carpenter wrote: > On Fri, Sep 08, 2017 at 10:43:40AM -0700, Badhri Jagan Sridharan wrote: > > >> /* > > >> - * Select the source PDO providing the most power while staying > > >> within > > >> - * the board's voltage limits. Prefer PDO

Re: [PATCH 1/2] staging: typec: tcpm: Validate source and sink caps

2017-09-09 Thread Guenter Roeck
On Fri, Sep 08, 2017 at 09:13:25PM +0200, Greg Kroah-Hartman wrote: > On Fri, Sep 08, 2017 at 10:29:52AM -0700, Badhri Jagan Sridharan wrote: > > On Fri, Sep 8, 2017 at 2:45 AM, Greg Kroah-Hartman > > wrote: > > > On Thu, Sep 07, 2017 at 06:22:13PM -0700, Badhri Jagan Sridharan wrote: > > >> The s

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Borislav Petkov
On Sat, Sep 09, 2017 at 03:39:54PM +0200, Markus Trippelsdorf wrote: > > mce: [Hardware Error]: CPU: 0 Machine Check Exception: 4 Bank 4: > > fa1b0c0f > > mce: [Hardware Error]: TSC b75d6ef4ad MISC c00a100 > > mce: [Hardware Error]: PROCESSOR 2:100f42 TIME 1504963036 SOCKET 0 APIC

Re: [PATCH 1/1] [staging]: android:ion: replace BUG with WARN_ON

2017-09-09 Thread Greg KH
On Sat, Sep 09, 2017 at 06:59:42PM +0530, Pintu Kumar wrote: > This patch is the fix for the below checkpatch issue: > CHECK: Avoid crashing the kernel - try using WARN_ON & > recovery code rather than BUG() or BUG_ON() > + BUG(); > > Ideally this condition should never occur. But even if occu

Re: [PATCH 4.13 00/47] 4.13.1-stable review

2017-09-09 Thread Greg Kroah-Hartman
On Sat, Sep 09, 2017 at 06:49:04AM -0700, Guenter Roeck wrote: > On 09/08/2017 06:18 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.13.1 release. > > There are 47 patches in this series, all will be posted as a response > > to this one. If anyone has any i

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Markus Trippelsdorf
On 2017.09.09 at 16:07 +0200, Borislav Petkov wrote: > On Sat, Sep 09, 2017 at 03:39:54PM +0200, Markus Trippelsdorf wrote: > > > mce: [Hardware Error]: CPU: 0 Machine Check Exception: 4 Bank 4: > > > fa1b0c0f > > > mce: [Hardware Error]: TSC b75d6ef4ad MISC c00a100 > > > mce: [Har

[PATCH] btrfs: Clean up dead code in root-tree

2017-09-09 Thread Christos Gkekas
The value of variable 'can_recover' is never used after being set, thus it should be removed. Signed-off-by: Christos Gkekas --- fs/btrfs/root-tree.c | 4 1 file changed, 4 deletions(-) diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c index 95bcc3c..3338407 100644 --- a/fs/btrfs/ro

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Borislav Petkov
On Sat, Sep 09, 2017 at 04:20:14PM +0200, Markus Trippelsdorf wrote: > > # rdmsr -a 0x0410 > > 3fff > 0 > 0 > 0 WTF?! Those should be equal on every CPU. Yikes, we need to pay attention to those... Grrr. # wrmsr -a 0x0410 0x3bff should fix your issue. -- Regards/Gruss, Bor

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Markus Trippelsdorf
On 2017.09.09 at 16:33 +0200, Borislav Petkov wrote: > On Sat, Sep 09, 2017 at 04:20:14PM +0200, Markus Trippelsdorf wrote: > > > # rdmsr -a 0x0410 > > > > 3fff > > 0 > > 0 > > 0 > > WTF?! Those should be equal on every CPU. Yikes, we need to pay > attention to those... Grrr. > > # wrmsr

[PATCH] staging: rtl8723bs: Do not initialise statics to 0

2017-09-09 Thread Harsha Sharma
Static variables are initialised to 0 by gcc Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 48 ++--- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/o

Re: [PATCH v2] dt-bindings: vendor-prefixes: Add nutsboard to vendor prefix.

2017-09-09 Thread Fabio Estevam
On Sat, Sep 9, 2017 at 8:40 AM, Wig C wrote: > From: YuanCheng Cheng > > NutsBoard (http://nutsboard.org/) is an organization and focus > on ARM based embedded boards with open source software. > > Signed-off-by: YuanCheng Cheng Reviewed-by: Fabio Estevam

[RFC 0/2] Replace PID implementation with IDR API

2017-09-09 Thread Gargi Sharma
This patch series replaces kernel bitmap implementation of PID allocation with IDR API. The following are the stats for pid and pid_namespace object files before and after the replacement. There is a noteworthy change between the IDR and bitmap implementation. Before text databss

[RFC 1/2] proc: Return if nothing to unmount

2017-09-09 Thread Gargi Sharma
If a task exits before procfs is mounted, proc_flush_task_mnt will be called with a NULL mnt parameter. In that case, not only is there nothing to unhash, but trying to do so will oops the kernel with a null pointer dereference. Signed-off-by: Gargi Sharma --- fs/proc/base.c | 4 1 file cha

[RFC 2/2] pid: Replace PID bitmap implementation with IDR API

2017-09-09 Thread Gargi Sharma
This patch replaces the current bitmap implemetation for Process ID allocation. Functions that are no longer required, for example, free_pidmap(), alloc_pidmap(), etc. are removed. The rest of the functions are modified to use the IDR API. The change was made to make the PID allocation less complex

Re: [PATCH 1/2] mm: dmapool: Align to ARCH_DMA_MINALIGN in non-coherent DMA mode

2017-09-09 Thread kbuild test robot
-ARCH_DMA_MINALIGN-in-non-coherent-DMA-mode/20170909-230504 base: git://git.cmpxchg.org/linux-mmotm.git master config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new

Re: [RFC PATCH v4 3/6] i2c: add docs to clarify DMA handling

2017-09-09 Thread Wolfram Sang
> Yes, but the statistics that 10% of I2C bus master drivers > are DMA-safe is not true, if you take those into account ;-) > > Perhaps you could write it as (or something similar): > > At this time of writing, only +10% of I2C bus master > drivers for non-remote boards have DMA supp

Re: module: use relative references for __ksymtab entries

2017-09-09 Thread Thomas Garnier
On Sat, Sep 9, 2017 at 6:08 AM, Jessica Yu wrote: > +++ Ard Biesheuvel [19/08/17 19:10 +0100]: > >> An ordinary arm64 defconfig build has ~64 KB worth of __ksymtab >> entries, each consisting of two 64-bit fields containing absolute >> references, to the symbol itself and to a char array containin

Re: [PATCH v6 03/11] mm, x86: Add support for eXclusive Page Frame Ownership (XPFO)

2017-09-09 Thread Laura Abbott
On 09/07/2017 10:36 AM, Tycho Andersen wrote: > +static inline struct xpfo *lookup_xpfo(struct page *page) > +{ > + struct page_ext *page_ext = lookup_page_ext(page); > + > + if (unlikely(!page_ext)) { > + WARN(1, "xpfo: failed to get page ext"); > + return NULL; > +

[PATCH] ncpfs: ioctl: Delete unnecessary len variables

2017-09-09 Thread Christos Gkekas
Variables oldnamelen, oldprivatelen and oldlen are set but are never used, thus they need to be cleaned up. Signed-off-by: Christos Gkekas --- fs/ncpfs/ioctl.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/fs/ncpfs/ioctl.c b/fs/ncpfs/ioctl.c index 12550c2..85c6c60 100644 --- a/fs/ncpf

Re: [PATCH v6 09/11] arm64/mm: disable section/contiguous mappings if XPFO is enabled

2017-09-09 Thread Laura Abbott
On 09/07/2017 10:36 AM, Tycho Andersen wrote: > XPFO doesn't support section/contiguous mappings yet, so let's disable it > if XPFO is turned on. > > Thanks to Laura Abbot for the simplification from v5, and Mark Rutland for > pointing out we need NO_CONT_MAPPINGS too. > > CC: linux-arm-ker...@li

Re: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-09 Thread Andrew Lunn
On Sat, Sep 09, 2017 at 01:44:37AM +, tristram...@microchip.com wrote: > > -Original Message- > > From: Pavel Machek [mailto:pa...@ucw.cz] > > Sent: Friday, September 08, 2017 2:58 PM > > To: Tristram Ha - C24268 > > Cc: and...@lunn.ch; muva...@gmail.com; nathan.leigh.con...@gmail.com;

Re: [PATCH 2/2] scsi: Align queue to ARCH_DMA_MINALIGN in non-coherent DMA mode

2017-09-09 Thread kbuild test robot
-ARCH_DMA_MINALIGN-in-non-coherent-DMA-mode/20170909-230504 base: git://git.cmpxchg.org/linux-mmotm.git master config: i386-randconfig-x000-201736 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All

Re: [PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions

2017-09-09 Thread Andrew Lunn
On Sat, Sep 09, 2017 at 09:03:05AM +0530, Jassi Brar wrote: > On 9 September 2017 at 00:21, Florian Fainelli wrote: > > On 09/08/2017 06:02 AM, Kunihiko Hayashi wrote: > >> From: Jassi Brar > >> > >> Add RTL8201F phy-id and the related functions to the driver. > >> > >> The original patch is as f

RE: [PATCH 1/1] x86/hyper-V: Allocate the IDT entry early in boot

2017-09-09 Thread KY Srinivasan
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Saturday, September 9, 2017 2:40 AM > To: KY Srinivasan > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com;

RE: [PATCH 1/1] x86/hyper-V: Allocate the IDT entry early in boot

2017-09-09 Thread KY Srinivasan
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Saturday, September 9, 2017 4:04 AM > To: KY Srinivasan > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.

Re: Donation

2017-09-09 Thread Mavis Wanczyk Foundation
Greetings To You, My Name is Mavis wanczyk , the winner of the Power ball jackpot of $ $758.7 million in the AUGUST 24, 2017, My jackpot was a gift from God to me hence my Entire family/foundation has AGREED to do this. My foundation is donating $500,000.00USD to you. please contac maviswanczy

[PATCH] fs/cachefiles: Remove unnecessary comparisons in bind.c

2017-09-09 Thread Christos Gkekas
cache->fstop_percent and cache->bstop_percent are unsigned so they are always >= 0. There is no point in asserting this. Signed-off-by: Christos Gkekas --- fs/cachefiles/bind.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/cachefiles/bind.c b/fs/cachefiles/bind.c i

Re: [PATCH 1/2] mm: dmapool: Align to ARCH_DMA_MINALIGN in non-coherent DMA mode

2017-09-09 Thread kbuild test robot
-ARCH_DMA_MINALIGN-in-non-coherent-DMA-mode/20170909-230504 base: git://git.cmpxchg.org/linux-mmotm.git master config: i386-randconfig-x000-201736 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386

Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-09 Thread Florian Fainelli
On 09/08/2017 06:02 AM, Kunihiko Hayashi wrote: > The UniPhier platform from Socionext provides the AVE ethernet > controller that includes MAC and MDIO bus supporting RGMII/RMII > modes. The controller is named AVE. > > Signed-off-by: Kunihiko Hayashi > Signed-off-by: Jassi Brar > --- [snip]

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Markus Trippelsdorf
On 2017.09.09 at 16:43 +0200, Markus Trippelsdorf wrote: > On 2017.09.09 at 16:33 +0200, Borislav Petkov wrote: > > On Sat, Sep 09, 2017 at 04:20:14PM +0200, Markus Trippelsdorf wrote: > > > > # rdmsr -a 0x0410 > > > > > > 3fff > > > 0 > > > 0 > > > 0 > > > > WTF?! Those should be equal o

[PATCH] staging: rtl8723bs: Change foo* bar to foo *bar

2017-09-09 Thread Harsha Sharma
This coding style (foo *bar) is more common for the kernel code. Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os

Re: module: use relative references for __ksymtab entries

2017-09-09 Thread Ard Biesheuvel
> On 9 Sep 2017, at 16:33, Thomas Garnier wrote: > >> On Sat, Sep 9, 2017 at 6:08 AM, Jessica Yu wrote: >> +++ Ard Biesheuvel [19/08/17 19:10 +0100]: >> >>> An ordinary arm64 defconfig build has ~64 KB worth of __ksymtab >>> entries, each consisting of two 64-bit fields containing absolute >>>

[PATCH] extcon: make extcon_info static const, fixes warning

2017-09-09 Thread Colin King
From: Colin Ian King The array extcon_info is read only, local to the source and does not need to be in global scope, so make it static const. Cleans up sparse warning: symbol 'extcon_info' was not declared. Should it be static? Signed-off-by: Colin Ian King --- drivers/extcon/extcon.c | 2 +-

Re: [PATCH] staging: rtl8723bs: Change foo* bar to foo *bar

2017-09-09 Thread Greg KH
On Sat, Sep 09, 2017 at 10:09:37PM +0530, Harsha Sharma wrote: > This coding style (foo *bar) is more common for the kernel code. You also did something else in this patch that you did not mention here, which is not ok :( Remember, only one type of thing per patch. thanks, greg k-h

Re: [PATCH v1 3/3] net: skb_queue_purge(): lock/unlock the queue only once

2017-09-09 Thread Eric Dumazet
On Sat, 2017-09-09 at 05:50 +, Michael Witten wrote: > Thanks for your input, Eric Dumazet and Stephen Hemminger; based on > your observations, this version of the patch implements a very > lightweight purging of the queue. net-next is closed. Documentation/networking/netdev-FAQ.txt Meaning

Re: [PATCH 1/2] staging: typec: tcpm: Validate source and sink caps

2017-09-09 Thread Guenter Roeck
On 09/08/2017 12:13 PM, Greg Kroah-Hartman wrote: On Fri, Sep 08, 2017 at 10:29:52AM -0700, Badhri Jagan Sridharan wrote: On Fri, Sep 8, 2017 at 2:45 AM, Greg Kroah-Hartman wrote: On Thu, Sep 07, 2017 at 06:22:13PM -0700, Badhri Jagan Sridharan wrote: The source and sink caps should follow th

[PATCH] scripts: Add a script to find unused documentation

2017-09-09 Thread sayli karnik
Add a script that finds files with kernel-doc comments for imported functions that are not included anywhere in documentation. Signed-off-by: sayli karnik --- scripts/find-unused-docs.sh | 62 + 1 file changed, 62 insertions(+) create mode 100755 scri

Re: [PATCH 1/2] staging: typec: tcpm: Validate source and sink caps

2017-09-09 Thread Guenter Roeck
On 09/09/2017 09:54 AM, Guenter Roeck wrote: On 09/08/2017 12:13 PM, Greg Kroah-Hartman wrote: On Fri, Sep 08, 2017 at 10:29:52AM -0700, Badhri Jagan Sridharan wrote: On Fri, Sep 8, 2017 at 2:45 AM, Greg Kroah-Hartman wrote: On Thu, Sep 07, 2017 at 06:22:13PM -0700, Badhri Jagan Sridharan wro

Re: [Outreachy kernel] [PATCH] Staging: ccree: Merge assignment with return

2017-09-09 Thread Julia Lawall
On Sat, 9 Sep 2017, Srishti Sharma wrote: > Merge the assignment and return statements to return the value > directly. Done using coccinelle. Coccinelle is not always perfect about pretty printing, so you have to watch out for it. > > @@ > local idexpression ret; > expression e; > @@ > > -ret

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-09 Thread Borislav Petkov
On Sat, Sep 09, 2017 at 06:32:25PM +0200, Markus Trippelsdorf wrote: > Also tried the following patch. It does not help. Ok, another theory. This one still needs to be fixed properly but that for later. For some reason (insufficient coffee maybe), I have mistyped your MCi_STATUS value earlier. Yo

Re: [PATCH 2/2] scsi: Align queue to ARCH_DMA_MINALIGN in non-coherent DMA mode

2017-09-09 Thread kbuild test robot
-ARCH_DMA_MINALIGN-in-non-coherent-DMA-mode/20170909-230504 base: git://git.cmpxchg.org/linux-mmotm.git master config: m68k-sun3_defconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [Outreachy kernel] [PATCH] staging: sm750fb: Remove extra blank lines

2017-09-09 Thread Julia Lawall
On Sat, 9 Sep 2017, Harsha Sharma wrote: > This was reported by checkpatch.pl > > Signed-off-by: Harsha Sharma Acked-by: Julia Lawall > --- > drivers/staging/sm750fb/sm750_cursor.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/drivers/staging/sm750fb/sm750_cursor.c > b/driver

  1   2   3   4   5   6   >