Re: [GIT PULL] EFI fix for v4.9 queue

2016-09-20 Thread Ingo Molnar
* Matt Fleming wrote: > Folks, please pull the following fix for the v4.9 EFI queue sat in > tip/efi/core. > > The following changes since commit 5465fe0fc3316f7cdda66732a7986f4ebe76d949: > > Merge tag 'efi-next' of >

[tip:smp/hotplug] cpufreq: Fix up conversion to hotplug state machine

2016-09-20 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 5372e054a1928fe704cf0a5e2e139645a777b50a Gitweb: http://git.kernel.org/tip/5372e054a1928fe704cf0a5e2e139645a777b50a Author: Sebastian Andrzej Siewior AuthorDate: Tue, 20 Sep 2016 16:56:28 +0200 Committer: Thomas Gleixner CommitDate:

[PATCH] drm/amdgpu: avoid out of bounds access on array interrupt_status_offsets

2016-09-20 Thread Colin King
From: Colin Ian King The check for an out of bound index into array interrupt_status_offsets is off-by-one. Fix this and also don't compared to a hard coded array size but use ARRAY_SIZE instead. Signed-off-by: Colin Ian King ---

Re: [PATCH v5 2/9] drivers: irqchip: Add STM32 external interrupts support

2016-09-20 Thread Alexandre Torgue
Thomas, On 09/20/2016 04:02 PM, Thomas Gleixner wrote: On Tue, 20 Sep 2016, Alexandre Torgue wrote: On 09/20/2016 02:44 PM, Thomas Gleixner wrote: Free will be called when a interrupt in the child domain is torn down, i.e. when irq_domain_free_irqs() is called. And it will be called for both

Re: [GIT PULL 0/2] EFI urgent fixes

2016-09-20 Thread Matt Fleming
On Tue, 20 Sep, at 11:20:17AM, Waiman Long wrote: > On 09/20/2016 10:48 AM, Matt Fleming wrote: > >Folks, please pull the following two fixes that address the boot hang > >issue Waiman reported here, > > > > https://lkml.kernel.org/r/57df56d4.50...@hpe.com > > > >The following changes since

Re: [PATCH 01/61] perf symbols: Do not open device files again

2016-09-20 Thread Jiri Olsa
On Tue, Sep 20, 2016 at 12:28:03PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Sep 19, 2016 at 03:09:10PM +0200, Jiri Olsa escreveu: > > Moving the regular file check into the entry > > of the dso__read_binary_type_filename function. > > > > This way we can eliminate some calls and extend >

Re: [PATCH] drm/amdgpu: avoid out of bounds access on array interrupt_status_offsets

2016-09-20 Thread Colin Ian King
On 20/09/16 16:39, Alex Deucher wrote: > On Tue, Sep 20, 2016 at 11:16 AM, Colin King wrote: >> From: Colin Ian King >> >> The check for an out of bound index into array interrupt_status_offsets >> is off-by-one. Fix this and also don't

Re: crash by cdc_acm driver in kernels 4.8-rc1/5

2016-09-20 Thread Wim Osterholt
On Tue, Sep 20, 2016 at 03:05:14PM +0200, Oliver Neukum wrote: > > I cannot replicate it. Could you please provide "lsusb -v"? > > Regards > Oliver It concerns these type of modems: http://www.ebay.nl/itm/191933738340 http://www.ebay.nl/itm/121590899044 lsusb: Bus 002

[PATCH][V2] drm/amdgpu: avoid out of bounds access on array interrupt_status_offsets

2016-09-20 Thread Colin King
From: Colin Ian King The check for an out of bound index into array interrupt_status_offsets is off-by-one. Fix this and also don't compared to a hard coded array size but use adev->mode_info.num_hpd instead. Signed-off-by: Colin Ian King ---

Re: Cherryview wake up events

2016-09-20 Thread Johannes Stezenbach
On Tue, Sep 20, 2016 at 01:40:14PM +0300, Mika Westerberg wrote: > Can you check if you have: > > Hardware Reduced (V5) : 1 > > in that FADT table? Nope, it is "Hardware Reduced (V5) : 0". Now the FADT is also at https://linuxtv.org/~js/e200ha/ > If yes, it probably does not have the normal

Re: [PATCH 1/8] samples: move accounting example code from Documentation

2016-09-20 Thread Shuah Khan
On 09/19/2016 10:02 AM, Jonathan Corbet wrote: > On Mon, 19 Sep 2016 08:47:32 -0600 > Shuah Khan wrote: > >> Move accounting examples to samples and remove it from Documentation >> Makefile. Create a new Makefile to build accounting. It can be built >> from top level

Re: [PATCH 4.4 017/192] [PATCH 017/135] clk: xgene: Fix divider with non-zero shift value

2016-09-20 Thread Ben Hutchings
On Tue, 2016-09-20 at 09:07 -0700, Loc Ho wrote: > Hi, > > >> 4.4-stable review patch. If anyone has any objections, please let me know. > >> > >> -- > >> > >> [ Upstream commit 1382ea631b634850a3795527db0feeff5aaf ] > >> > >> The X-Gene clock driver missed the divider shift

Re: [PATCH v5] mtd: spi-nor: Add support for S3AN spi-nor devices

2016-09-20 Thread Boris Brezillon
On Fri, 16 Sep 2016 21:33:52 +0200 Ricardo Ribalda Delgado wrote: > Xilinx Spartan-3AN FPGAs contain an In-System Flash where they keep > their configuration data and (optionally) some user data. > > The protocol of this flash follows most of the spi-nor standard.

[PATCH] clk: mvebu: Add clk support for the orion5x SoC mv88f5181

2016-09-20 Thread Gregory CLEMENT
From: Jamie Lentin Referring to the u-boot sources for the Netgear WNR854T, add support for the mv88f5181. [gregory.clem...@free-electrons.com: fix commit title] Signed-off-by: Jamie Lentin Reviewed-by: Andrew Lunn Acked-by: Rob Herring

Re: Possible code defects: macros and precedence

2016-09-20 Thread Joe Perches
On Tue, 2016-09-20 at 15:14 +0200, Julia Lawall wrote: > The semantic patch below finds a binary operator in a macro and a binary > operator in the use of the macro, and checks if the priority of the > operator in the macro is higher (lower number) than the priority of the > operator in the use. 

[tip:x86/asm] oprofile/x86: Convert x86_backtrace() to use the new unwinder

2016-09-20 Thread tip-bot for Josh Poimboeuf
Commit-ID: ec2ad9ccf12dc965cad2d367a4063f68d6561a6b Gitweb: http://git.kernel.org/tip/ec2ad9ccf12dc965cad2d367a4063f68d6561a6b Author: Josh Poimboeuf AuthorDate: Fri, 16 Sep 2016 14:18:15 -0500 Committer: Ingo Molnar CommitDate: Tue, 20 Sep 2016

[tip:x86/asm] x86/dumpstack: Convert show_trace_log_lvl() to use the new unwinder

2016-09-20 Thread tip-bot for Josh Poimboeuf
Commit-ID: e18bcccd1a4ecb41e99678e002ef833586185bf1 Gitweb: http://git.kernel.org/tip/e18bcccd1a4ecb41e99678e002ef833586185bf1 Author: Josh Poimboeuf AuthorDate: Fri, 16 Sep 2016 14:18:16 -0500 Committer: Ingo Molnar CommitDate: Tue, 20 Sep 2016

[tip:x86/asm] x86/stacktrace: Convert save_stack_trace_*() to use the new unwinder

2016-09-20 Thread tip-bot for Josh Poimboeuf
Commit-ID: 49a612c6b06defbd6e6d334c683fea28006728e3 Gitweb: http://git.kernel.org/tip/49a612c6b06defbd6e6d334c683fea28006728e3 Author: Josh Poimboeuf AuthorDate: Fri, 16 Sep 2016 14:18:14 -0500 Committer: Ingo Molnar CommitDate: Tue, 20 Sep 2016

Re: [GIT PULL 0/2] EFI urgent fixes

2016-09-20 Thread Ingo Molnar
* Matt Fleming wrote: > Folks, please pull the following two fixes that address the boot hang > issue Waiman reported here, > > https://lkml.kernel.org/r/57df56d4.50...@hpe.com > > The following changes since commit 3be7988674ab33565700a37b210f502563d932e6: > >

Re: [PATCH -next v2 0/5] ipc/sem: semop(2) improvements

2016-09-20 Thread Davidlohr Bueso
On Mon, 19 Sep 2016, Manfred Spraul wrote: On 09/18/2016 09:11 PM, Davidlohr Bueso wrote: Davidlohr Bueso (5): ipc/sem: do not call wake_sem_queue_do() prematurely The only patch that I don't like. Especially: patch 2 of the series removes the wake_up_q from the function epilogue. So only

Re: [PATCH] staging: lustre: ptlrpc: re-export lustre_swab_[lmv|lov]_mds_md

2016-09-20 Thread James Simmons
> > On Mon, Sep 19, 2016 at 01:27:05PM -0400, James Simmons wrote: > > > Being over zealous in removing unused EXPORT_SYMBOLs two functions > > > lustre_swab_[lmv|lov]_mds_md exports were removed. They need to be > > > exported so this patch restores those EXPORT_SYMBOLS. Same mistake > > > was

[patch V2 2/2] blk/mq: Convert to hotplug state machine

2016-09-20 Thread Thomas Gleixner
From: Sebastian Andrzej Siewior Install the callbacks via the state machine so we can phase out the cpu hotplug notifiers mess. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Thomas Gleixner Cc: Jens Axboe

[patch V2 1/2] blk/mq/cpu-notif: Convert to hotplug state machine

2016-09-20 Thread Thomas Gleixner
Replace the block-mq notifier list management with the multi instance facility in the cpu hotplug state machine. Signed-off-by: Thomas Gleixner Cc: Jens Axboe Cc: Peter Zijlstra Cc: linux-bl...@vger.kernel.org Cc: r...@linutronix.de

[patch V2 0/2] block/mq: Convert to new hotplug state machine

2016-09-20 Thread Thomas Gleixner
The following series converts block/mq to the new hotplug state machine. The series is against block.git/for-next and depends on git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp/for-block This branch contains the necessary infrastructure for multi-instance callbacks which allows

Re: [PATCH v2 5/6] remoteproc/MIPS: Add a remoteproc driver for MIPS

2016-09-20 Thread Matt Redfearn
Hi Thomas, On 20/09/16 10:47, Thomas Gleixner wrote: On Tue, 20 Sep 2016, Matt Redfearn wrote: +/* Intercept CPU hotplug events for syfs purposes */ +static int mips_rproc_callback(struct notifier_block *nfb, unsigned long action, + void *hcpu) +{ Please convert

Re: [PATCH] mm/mempolicy.c: forbid static or relative flags for local NUMA mode

2016-09-20 Thread Piotr Kwapulinski
On Mon, Sep 19, 2016 at 01:52:05PM +0200, Michal Hocko wrote: > On Sun 18-09-16 13:29:43, Piotr Kwapulinski wrote: > > The MPOL_F_STATIC_NODES and MPOL_F_RELATIVE_NODES flags are irrelevant > > when setting them for MPOL_LOCAL NUMA memory policy via set_mempolicy. > > Return the "invalid argument"

Re: [PATCH] memory-hotplug: Fix bad area access on dissolve_free_huge_pages()

2016-09-20 Thread Rui Teng
On 9/20/16 10:53 PM, Dave Hansen wrote: On 09/20/2016 07:45 AM, Rui Teng wrote: On 9/17/16 12:25 AM, Dave Hansen wrote: That's an interesting data point, but it still doesn't quite explain what is going on. It seems like there might be parts of gigantic pages that have PageHuge() set on tail

Re: [PATCH] staging: lustre: ptlrpc: re-export lustre_swab_[lmv|lov]_mds_md

2016-09-20 Thread James Simmons
> On Mon, Sep 19, 2016 at 01:27:05PM -0400, James Simmons wrote: > > Being over zealous in removing unused EXPORT_SYMBOLs two functions > > lustre_swab_[lmv|lov]_mds_md exports were removed. They need to be > > exported so this patch restores those EXPORT_SYMBOLS. Same mistake > > was done when

Re: [PATCH 4.4 017/192] [PATCH 017/135] clk: xgene: Fix divider with non-zero shift value

2016-09-20 Thread Loc Ho
Hi, >> 4.4-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> [ Upstream commit 1382ea631b634850a3795527db0feeff5aaf ] >> >> The X-Gene clock driver missed the divider shift operation when >> set the divider value. >> >> Signed-off-by: Loc

[PATCH V2 for-next 01/19] IB/hns: Remove unused parameters in some functions

2016-09-20 Thread Salil Mehta
From: Lijun Ou The parameter named collapsed unused in hns_roce_cq_alloc. Also, parameter named doorbell_lock unsed in hns_roce_v1_cq_set_ci. This patch optimize these parameters. Signed-off-by: Lijun Ou Reviewed-by: Wei Hu

[PATCHv2 01/61] perf symbols: Do not open device files

2016-09-20 Thread Jiri Olsa
On Tue, Sep 20, 2016 at 05:36:47PM +0200, Jiri Olsa wrote: > On Tue, Sep 20, 2016 at 12:28:03PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Mon, Sep 19, 2016 at 03:09:10PM +0200, Jiri Olsa escreveu: > > > Moving the regular file check into the entry > > > of the dso__read_binary_type_filename

Re: [PATCH 2/8] samples: move auxdisplay example code from Documentation

2016-09-20 Thread Shuah Khan
On 09/19/2016 10:05 AM, Jonathan Corbet wrote: > On Mon, 19 Sep 2016 08:47:33 -0600 > Shuah Khan wrote: > >> Move auxdisplay examples to samples and remove it from Documentation >> Makefile. Create a new Makefile to build auxdisplay. It can be built >> from top level

[PATCH V2 for-next 02/19] IB/hns: Remove parameters of resize cq

2016-09-20 Thread Salil Mehta
From: Lijun Ou In old version of RoCE, it doesn't support to resize cq. So, we remove parameters related to resize cq. Signed-off-by: Lijun Ou Signed-off-by: Dongdong Huang(Donald) Reviewed-by: Wei Hu

RE: [PATCH for-next 12/20] IB/hns: Return bad wr while post send failed

2016-09-20 Thread Salil Mehta
> -Original Message- > From: Leon Romanovsky [mailto:l...@kernel.org] > Sent: Thursday, September 15, 2016 10:08 AM > To: Salil Mehta > Cc: dledf...@redhat.com; Huwei (Xavier); oulijun; Zhuangyuzeng (Yisen); > xuwei (O); mehta.salil@gmail.com; linux-r...@vger.kernel.org; >

Re: [PATCH v1] cgroup,bpf: Add access check for cgroup_get_from_fd()

2016-09-20 Thread Mickaël Salaün
On 20/09/2016 02:30, Alexei Starovoitov wrote: > On Tue, Sep 20, 2016 at 12:49:13AM +0200, Mickaël Salaün wrote: >> Add security access check for cgroup backed FD. The "cgroup.procs" file >> of the corresponding cgroup should be readable to identify the cgroup, >> and writable to prove that the

Re: [RFC v3 18/22] cgroup,landlock: Add CGRP_NO_NEW_PRIVS to handle unprivileged hooks

2016-09-20 Thread Mickaël Salaün
On 20/09/2016 06:37, Sargun Dhillon wrote: > On Thu, Sep 15, 2016 at 09:41:33PM +0200, Mickaël Salaün wrote: >> >> On 15/09/2016 06:48, Alexei Starovoitov wrote: >>> On Wed, Sep 14, 2016 at 09:38:16PM -0700, Andy Lutomirski wrote: On Wed, Sep 14, 2016 at 9:31 PM, Alexei Starovoitov

Re: [bug] pwritev02 hang on s390x with 4.8.0-rc7

2016-09-20 Thread Al Viro
On Tue, Sep 20, 2016 at 02:56:06PM +0200, Jan Stancek wrote: > Hi, > > I'm hitting a regression with LTP's pwritev02 [1] on s390x with 4.8.0-rc7. > Specifically the EFAULT case, which is passing an iovec with invalid base > address: > #define CHUNK 64 > static struct iovec wr_iovec3[] = { >

[PATCH 2/2] mfd: arizona: Handle probe deferral for reset GPIO

2016-09-20 Thread Charles Keepax
The Arizona CODECs will generally function correctly without a reset line although it is strongly advised to have one, as such we do allow the system to boot if the reset gpio is missing or incorrectly specified. However we should fail probe if we get a probe deferral request, this patch adds

[PATCH 1/2] mfd: arizona: Remove arizona_of_get_named_gpio helper function

2016-09-20 Thread Charles Keepax
This function is only used in a single place and no new users will be added as all the devices other required GPIOs are already handled. As such just merge the code back into the calling function. Signed-off-by: Charles Keepax --- drivers/mfd/arizona-core.c

Re: [PATCH net-next 6/7] net/faraday: Fix phy link irq on Aspeed G5 SoCs

2016-09-20 Thread Andrew Lunn
On Tue, Sep 20, 2016 at 10:13:14PM +1000, Benjamin Herrenschmidt wrote: > On Tue, 2016-09-20 at 16:00 +0930, Joel Stanley wrote: > > On Aspeed SoC with a direct PHY connection (non-NSCI), we receive > > continual PHYSTS interrupts: > > > >  [   20.28] ftgmac100 1e66.ethernet eth0: [ISR] =

Re: [PATCH v2 0/4] gpio: fix an incorrect lockdep warning

2016-09-20 Thread Thomas Gleixner
On Tue, 20 Sep 2016, Peter Rosin wrote: > On 2016-09-19 11:03, Peter Zijlstra wrote: > > > > Use the -RT kernel and all locks will end up as rt_mutex. Avoiding > > inversion on one specific lock, while there are then a gazillion other > > than can equally create inversion doesn't make sense to me.

[PATCH] mtd: spi-nor: Add support for S3AN spi-nor devices

2016-09-20 Thread Ricardo Ribalda Delgado
Xilinx Spartan-3AN FPGAs contain an In-System Flash where they keep their configuration data and (optionally) some user data. The protocol of this flash follows most of the spi-nor standard. With the following differences: - Page size might not be a power of two. - The address calculation

Re: [PATCH v5] mtd: spi-nor: Add support for S3AN spi-nor devices

2016-09-20 Thread Ricardo Ribalda Delgado
Hi Boris Thanks for your review. On Tue, Sep 20, 2016 at 1:21 PM, Boris Brezillon wrote: >> int sr, fsr; >> - sr = spi_nor_sr_ready(nor); >> + >> + sr = nor->flags & SNOR_F_READY_XSR_RDY ? s3an_sr_ready(nor) : >> +

Re: [PATCH 4/4] drm/sun4i: dotclock: Round to closest clock rate

2016-09-20 Thread Maxime Ripard
On Thu, Sep 15, 2016 at 11:14:02PM +0800, Chen-Yu Tsai wrote: > With display pixel clocks we want to have the closest possible clock > rate, to minimize timing and refresh rate skews. Whether the actual > clock rate is higher or lower than the requested rate is less important. > > Also check

[PATCH v3] CLK: Add Loongson1C clock support

2016-09-20 Thread Yang Ling
This patch adds clock support to Loongson1C SoC. Signed-off-by: Yang Ling --- V3: clk: loongson1c: Migrate to clk_hw based OF and registration APIs. --- V2: Use loongson1 generic clock interface. --- drivers/clk/loongson1/Makefile | 1 +

[PATCH v6 3/4] ARM: STM32: Select external interrupts controller

2016-09-20 Thread Alexandre TORGUE
Signed-off-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2d601d7..157cea9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -877,6 +877,7 @@ config ARCH_STM32 select

[PATCH v6 1/4] Documentation: dt-bindings: Document STM32 EXTI controller bindings

2016-09-20 Thread Alexandre TORGUE
Signed-off-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE diff --git a/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt b/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt new file mode

[PATCH v6 0/4] Add STM32 EXTI interrupt controller support

2016-09-20 Thread Alexandre TORGUE
Hi, This v6 fix useless mask in .free callback of stm32 exti driver (thanks Thomas). I resend only patches concerning STM32 EXTI driver (as pinctrl part has already been applied by Linus W.) The series adds support to EXTI interrupt controller and GPIO IRQ support in STM32 pinctrl driver. The

[PATCH v6 4/4] ARM: dts: Add EXTI controller node to stm32f429

2016-09-20 Thread Alexandre TORGUE
Signed-off-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index 35df462..1a189d4 100644 --- a/arch/arm/boot/dts/stm32f429.dtsi +++

[PATCH v6 2/4] drivers: irqchip: Add STM32 external interrupts support

2016-09-20 Thread Alexandre TORGUE
The STM32 external interrupt controller consists of edge detectors that generate interrupts requests or wake-up events. Each line can be independently configured as interrupt or wake-up source, and triggers either on rising, falling or both edges. Each line can also be masked independently.

[PATCH V2 for-next 09/19] IB/hns: Modify the init of iboe lock

2016-09-20 Thread Salil Mehta
From: Lijun Ou This lock will be used in query port interface, and will be called while IB device was registered to OFED framework/IB Core. So, the lock of iboe must be initiated before IB device was registered. Signed-off-by: Lijun Ou Signed-off-by:

[PATCH V2 for-next 17/19] IB/hns: Fix the bug when platform_get_resource() exec fail

2016-09-20 Thread Salil Mehta
From: Lijun Ou This patch mainly fixes the bug with platform_get_resource(). It should return NULL when platform_get_resource() exec fail. Signed-off-by: Lijun Ou Reviewed-by: Wei Hu (Xavier) Signed-off-by: Salil Mehta

[PATCH V2 for-next 19/19] IB/hns: Fix for removal of redundant code

2016-09-20 Thread Salil Mehta
This patch removes the redundant code lines present in the functions get_send_wqe() and get_recv_wqe(). This also fixes the error in calculating the SQ WQE. Signed-off-by: Lijun Ou Reviewed-by: Wei Hu (Xavier) Signed-off-by: Salil Mehta

[PATCH V2 for-next 10/19] IB/hns: Fix bug of memory leakage for registering user mr

2016-09-20 Thread Salil Mehta
From: Lijun Ou While the page size attribute of umem is illegal, we should release umem that get by ib_umem_get interface. Also, we should return a non-zero value while pbl number is wrong. Signed-off-by: Lijun Ou Signed-off-by: Dongdong Huang(Donald)

Re: [PATCH] cpufreq: fix up conversion to hotplug state machine

2016-09-20 Thread Rafael J. Wysocki
On Tuesday, September 20, 2016 04:56:28 PM Sebastian Andrzej Siewior wrote: > The function cpufreq_register_driver() returns zero on success and since > commit 27622b061eb4 ("cpufreq: Convert to hotplug state machine") > erroneously a positive number. Due to the "if (x) assume_error" construct >

[PATCH V2 for-next 12/19] IB/hns: The Ack timeout need a lower limit value

2016-09-20 Thread Salil Mehta
From: Lijun Ou The Ack timeout of qpc need a lower limit value,otherwise the read performance will be very lower. Signed-off-by: Lijun Ou Signed-off-by: Dongdong Huang(Donald) Reviewed-by: Wei Hu (Xavier)

[PATCH V2 for-next 15/19] IB/hns: Cq has not been freed

2016-09-20 Thread Salil Mehta
From: Lijun Ou Cq has not been freed when fail to ib_copy_to_udata, so need to free it. Signed-off-by: Lijun Ou Signed-off-by: Peter Chen Reviewed-by: Wei Hu (Xavier) Signed-off-by: Salil Mehta

[PATCH V2 for-next 16/19] IB/hns: Update the rq head when modify qp state

2016-09-20 Thread Salil Mehta
From: Lijun Ou The rq head in qpc was zero will miss the rq wqes which have be sent, so here we should take the real value. Signed-off-by: Lijun Ou Reviewed-by: Wei Hu (Xavier) Signed-off-by: Salil Mehta

[PATCH V2 for-next 14/19] IB/hns: Validate mtu when modified qp

2016-09-20 Thread Salil Mehta
From: Lijun Ou The mtu should be validated when modify qp,so we check it. Signed-off-by: Lijun Ou Signed-off-by: Peter Chen Reviewed-by: Wei Hu (Xavier) Signed-off-by: Salil Mehta

Re: [PATCH 3/8] samples: move laptops example code from Documentation

2016-09-20 Thread Shuah Khan
On 09/19/2016 10:10 AM, Jonathan Corbet wrote: > On Mon, 19 Sep 2016 08:47:34 -0600 > Shuah Khan wrote: > >> Move laptops examples to samples and remove it from Documentation >> Makefile. Create a new Makefile to build laptops. It can be built >> from top level directory

[PATCH V2 for-next 13/19] IB/hns: Some items of qpc need to take user param

2016-09-20 Thread Salil Mehta
From: Lijun Ou Some items of qpc need to take user param when modified qp state. Signed-off-by: Lijun Ou Signed-off-by: Dongdong Huang(Donald) Reviewed-by: Wei Hu (Xavier) Signed-off-by: Salil Mehta

[PATCH V2 for-next 11/19] IB/hns: Return bad wr while post send failed

2016-09-20 Thread Salil Mehta
From: Lijun Ou While post failed, hns roce should return the wr failed to user. We omitted this while qp type is wrong and fixed it. Signed-off-by: Lijun Ou Signed-off-by: Dongdong Huang(Donald) Reviewed-by: Wei Hu (Xavier)

Re: [PATCH v5] mtd: spi-nor: Add support for S3AN spi-nor devices

2016-09-20 Thread Boris Brezillon
On Tue, 20 Sep 2016 17:45:55 +0200 Ricardo Ribalda Delgado wrote: > Hi Boris > > Thanks for your review. > > On Tue, Sep 20, 2016 at 1:21 PM, Boris Brezillon > wrote: > >> int sr, fsr; > >> - sr = spi_nor_sr_ready(nor);

[PATCH V2 for-next 18/19] IB/hns: Delete the redundant lines in hns_roce_v1_m_qp()

2016-09-20 Thread Salil Mehta
From: Lijun Ou It doesn't need to assign for the filed of qp state in qpc separately when qp happen to migrate state which supported in RoCE engine v1. Signed-off-by: Lijun Ou Reviewed-by: Wei Hu (Xavier) Signed-off-by: Salil

Re: [PATCH 4.4 017/192] [PATCH 017/135] clk: xgene: Fix divider with non-zero shift value

2016-09-20 Thread Loc Ho
Hi Ben, >> >> -- >> >> >> >> [ Upstream commit 1382ea631b634850a3795527db0feeff5aaf ] >> >> >> >> The X-Gene clock driver missed the divider shift operation when >> >> set the divider value. >> >> >> >> Signed-off-by: Loc Ho >> >> Fixes: 308964caeebc ("clk: Add

Re: [PATCH 5/5] arm64: Add uprobe support

2016-09-20 Thread Catalin Marinas
Hi Pratyush, On Tue, Aug 02, 2016 at 11:00:09AM +0530, Pratyush Anand wrote: > --- a/arch/arm64/include/asm/debug-monitors.h > +++ b/arch/arm64/include/asm/debug-monitors.h > @@ -70,6 +70,9 @@ > #define BRK64_ESR_MASK 0x > #define BRK64_ESR_KPROBES0x0004 > #define

tw5864 - call to hardware owners

2016-09-20 Thread Andrey Utkin
Hi all, I would love to hear from anybody who owns any sample of PCIE board with TW5864 chip. It is possible to buy from here http://www.provideo.com.tw/Products.htm?link=web/DVR%20Card_Hardward.htm I guess there are more companies selling boards with it. So there is a driver, "tw5864",

[tip:x86/asm] perf/x86: Convert perf_callchain_kernel() to use the new unwinder

2016-09-20 Thread tip-bot for Josh Poimboeuf
Commit-ID: 35f4d9b32527c08c3da3982aedae5198dc663ce8 Gitweb: http://git.kernel.org/tip/35f4d9b32527c08c3da3982aedae5198dc663ce8 Author: Josh Poimboeuf AuthorDate: Fri, 16 Sep 2016 14:18:13 -0500 Committer: Ingo Molnar CommitDate: Tue, 20 Sep 2016

Re: [PATCH 4/4] drm/sun4i: dotclock: Round to closest clock rate

2016-09-20 Thread Maxime Ripard
On Mon, Sep 19, 2016 at 11:36:18PM +0800, Chen-Yu Tsai wrote: > On Mon, Sep 19, 2016 at 3:16 AM, Maxime Ripard > wrote: > > Hi, > > > > On Thu, Sep 15, 2016 at 11:14:02PM +0800, Chen-Yu Tsai wrote: > >> With display pixel clocks we want to have the closest

Re: [PATCH][V2] drm/amdgpu: avoid out of bounds access on array interrupt_status_offsets

2016-09-20 Thread Alex Deucher
On Tue, Sep 20, 2016 at 11:49 AM, Colin King wrote: > From: Colin Ian King > > The check for an out of bound index into array interrupt_status_offsets > is off-by-one. Fix this and also don't compared to a hard coded array > size but use

[PATCH 2/2] ext4: remove unused variable

2016-09-20 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- fs/ext4/page-io.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index a6132a7..b4cbee9 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c @@ -405,14 +405,12 @@ int

[PATCH 1/2] ext4: remove unused variable

2016-09-20 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- fs/ext4/dir.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c index 67415e0..acd76f1 100644 --- a/fs/ext4/dir.c +++ b/fs/ext4/dir.c @@ -627,7 +627,7 @@ int ext4_check_all_de(struct

RE: [PATCH for-next 20/20] IB/hns: Delete the redundant lines in hns_roce_v1_m_qp()

2016-09-20 Thread Salil Mehta
> -Original Message- > From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- > ow...@vger.kernel.org] On Behalf Of Leon Romanovsky > Sent: Thursday, September 15, 2016 11:15 AM > To: Salil Mehta > Cc: dledf...@redhat.com; Huwei (Xavier); oulijun; Zhuangyuzeng (Yisen); > xuwei (O);

Re: [PATCH v1] cgroup,bpf: Add access check for cgroup_get_from_fd()

2016-09-20 Thread Tejun Heo
On Tue, Sep 20, 2016 at 06:53:35PM +0200, Mickaël Salaün wrote: > > On 20/09/2016 02:30, Alexei Starovoitov wrote: > > On Tue, Sep 20, 2016 at 12:49:13AM +0200, Mickaël Salaün wrote: > >> Add security access check for cgroup backed FD. The "cgroup.procs" file > >> of the corresponding cgroup

Re: [PATCH 2/2] arm64: dts: marvell: fix clocksource for CP110 slave SPI0

2016-09-20 Thread Gregory CLEMENT
Hi Olof and Arnd, On mar., sept. 06 2016, Marcin Wojtas wrote: > I2C and SPI interfaces share common clock trees within the CP110 HW block. > It occurred that SPI0 interface has wrong clock assignment in the device > tree, which is fixed in this commit to a proper value. >

[PATCH] hwrng: omap - Only fail if pm_runtime_get_sync returns < 0

2016-09-20 Thread Dave Gerlach
Currently omap-rng checks the return value of pm_runtime_get_sync and reports failure if anything is returned, however it should be checking if ret < 0 as pm_runtime_get_sync return 0 on success but also can return 1 if the device was already active which is not a failure case. Only values < 0 are

RE: [PATCH for-next 03/20] IB/hns: Add the check for pointer ctrl

2016-09-20 Thread Salil Mehta
> -Original Message- > From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- > ow...@vger.kernel.org] On Behalf Of Leon Romanovsky > Sent: Thursday, September 15, 2016 11:08 AM > To: Salil Mehta > Cc: dledf...@redhat.com; Huwei (Xavier); oulijun; Zhuangyuzeng (Yisen); > xuwei (O);

Re: [PATCH/RFC v2 1/7] spi: Document DT bindings for SPI controllers in slave mode

2016-09-20 Thread Rob Herring
On Mon, Sep 12, 2016 at 10:50:40PM +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > --- > v2: > - Do not create a child node in SPI slave mode. Instead, add an > "spi-slave" property, and put the mode properties in the controller > node. >

[tip:x86/asm] x86/unwind: Add new unwind interface and implementations

2016-09-20 Thread tip-bot for Josh Poimboeuf
Commit-ID: 7c7900f89770d7fba96100d8a9e18043a1af3973 Gitweb: http://git.kernel.org/tip/7c7900f89770d7fba96100d8a9e18043a1af3973 Author: Josh Poimboeuf AuthorDate: Fri, 16 Sep 2016 14:18:12 -0500 Committer: Ingo Molnar CommitDate: Tue, 20 Sep 2016

[tip:locking/core] locking/rwsem, x86: Drop a bogus cc clobber

2016-09-20 Thread tip-bot for Jan Beulich
Commit-ID: c907420fdaec78b17f59a6011cb5f9d6051c6a35 Gitweb: http://git.kernel.org/tip/c907420fdaec78b17f59a6011cb5f9d6051c6a35 Author: Jan Beulich AuthorDate: Mon, 19 Sep 2016 07:27:08 -0600 Committer: Ingo Molnar CommitDate: Tue, 20 Sep 2016

[tip:x86/asm] x86/dumpstack: Remove dump_trace() and related callbacks

2016-09-20 Thread tip-bot for Josh Poimboeuf
Commit-ID: c8fe4609827aedc9c4b45de80e7cdc8ccfa8541b Gitweb: http://git.kernel.org/tip/c8fe4609827aedc9c4b45de80e7cdc8ccfa8541b Author: Josh Poimboeuf AuthorDate: Fri, 16 Sep 2016 14:18:17 -0500 Committer: Ingo Molnar CommitDate: Tue, 20 Sep 2016

Re: [GIT PULL 0/2] EFI urgent fixes

2016-09-20 Thread Waiman Long
On 09/20/2016 10:48 AM, Matt Fleming wrote: Folks, please pull the following two fixes that address the boot hang issue Waiman reported here, https://lkml.kernel.org/r/57df56d4.50...@hpe.com The following changes since commit 3be7988674ab33565700a37b210f502563d932e6: Linux 4.8-rc7

Re: [PATCH 01/61] perf symbols: Do not open device files again

2016-09-20 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 19, 2016 at 03:09:10PM +0200, Jiri Olsa escreveu: > Moving the regular file check into the entry > of the dso__read_binary_type_filename function. > > This way we can eliminate some calls and extend > the file check for all cases. Bzzt: [root@jouet ~]# perf test "Test dso" 8: Test

Re: [PATCH net-next 8/8] net: qualcomm: add QCA7000 UART driver

2016-09-20 Thread Marcel Holtmann
Hi Stefan, > This patch adds the Ethernet over UART driver for the > Qualcomm QCA7000 HomePlug GreenPHY. > > Signed-off-by: Stefan Wahren > --- > drivers/net/ethernet/qualcomm/Kconfig | 12 + > drivers/net/ethernet/qualcomm/Makefile | 2 + >

Re: [lustre-devel] [PATCH] staging: lustre: ptlrpc: re-export lustre_swab_[lmv|lov]_mds_md

2016-09-20 Thread James Simmons
> > On Tue, Sep 20, 2016 at 11:52:19AM +0300, Dan Carpenter wrote: > > > On Tue, Sep 20, 2016 at 08:47:02AM +0200, Greg Kroah-Hartman wrote: > > > > On Mon, Sep 19, 2016 at 01:27:05PM -0400, James Simmons wrote: > > > > > Being over zealous in removing unused EXPORT_SYMBOLs two functions > > > >

Re: [PATCH] drm/amdgpu: avoid out of bounds access on array interrupt_status_offsets

2016-09-20 Thread Alex Deucher
On Tue, Sep 20, 2016 at 11:16 AM, Colin King wrote: > From: Colin Ian King > > The check for an out of bound index into array interrupt_status_offsets > is off-by-one. Fix this and also don't compared to a hard coded array > size but use

[PATCH] mm: usercopy: Check for module addresses

2016-09-20 Thread Laura Abbott
While running a compile on arm64, I hit a memory exposure usercopy: kernel memory exposure attempt detected from fcf3b1a8 (buffer_head) (1 bytes) [ cut here ] kernel BUG at mm/usercopy.c:75! Internal error: Oops - BUG: 0 [#1] SMP Modules linked in: ip6t_rpfilter

[PATCH V2 for-next 06/19] IB/hns: Fix bug of clear hem

2016-09-20 Thread Salil Mehta
From: "Wei Hu (Xavier)" In hip06, there's no interface to release hem memory. So, hardware can't identify whether hem memory released or not. If all context in a hem memory released, the related hem memory will be released by driver and reused by others. But, hardware

Re: [tip:smp/hotplug] cpufreq: Fix up conversion to hotplug state machine

2016-09-20 Thread Borislav Petkov
On Tue, Sep 20, 2016 at 08:07:08AM -0700, tip-bot for Sebastian Andrzej Siewior wrote: > Commit-ID: 5372e054a1928fe704cf0a5e2e139645a777b50a > Gitweb: http://git.kernel.org/tip/5372e054a1928fe704cf0a5e2e139645a777b50a > Author: Sebastian Andrzej Siewior >

[PATCH V2 for-next 04/19] IB/hns: Simplify function of pd alloc and qp alloc

2016-09-20 Thread Salil Mehta
From: Lijun Ou Hns_roce_pd_alloc and hns_roce_reserve_range_qp use unnecessary transformation of parameters. This patch simplify these two functions. Signed-off-by: Lijun Ou Signed-off-by: Dongdong Huang(Donald) Reviewed-by: Wei Hu

[PATCH V2 for-next 00/19] IB/hns: Fixes for various misc. bugs

2016-09-20 Thread Salil Mehta
This patch-set introduces fixes for various bugs and potential problems found during internal review and testing phases of the HNS RoCE driver. NOTE: These fixes have been done over already floated CM patch: https://lkml.org/lkml/2016/9/1/609 All fixes have been done & tested by Oulijun and

[PATCH V2 for-next 07/19] IB/hns: Delete the sqp_start from the structure hns_roce_caps

2016-09-20 Thread Salil Mehta
From: "Wei Hu (Xavier)" This patch deleted the sqp_start from the structure hns_roce_caps, and modified the calculation of the qp number. Signed-off-by: Wei Hu (Xavier) Signed-off-by: Salil Mehta ---

[PATCH V2 for-next 08/19] IB/hns: Optimize code of aeq and ceq interrupt handle and fix the bug of qpn

2016-09-20 Thread Salil Mehta
From: "Wei Hu (Xavier)" This patch optimized the codes of aeq and ceq interrupt handle and fixed the bug in the calculation of qpn. For the special qp(GSI or SMI), calculated the qp number according to physical port and the qpn reported in the event of async event queue.

[PATCH V2 for-next 03/19] IB/hns: Fix bug of using uninit refcount and free

2016-09-20 Thread Salil Mehta
From: Lijun Ou In current version, it uses uninitialized parameters named refcount and free in hns_roce_cq_event. This patch initializes these parameter in cq alloc and add correspond process in cq free. Signed-off-by: Lijun Ou Signed-off-by: Dongdong

[PATCH V2 for-next 05/19] IB/hns: Remove unused parameter named qp_type

2016-09-20 Thread Salil Mehta
From: Lijun Ou This patch removes the qp_type parameter in hns_roce_set_kernel_sq_size(). Signed-off-by: Lijun Ou Signed-off-by: Ping Zhang Reviewed-by: Wei Hu Signed-off-by: Salil Mehta

[PATCH] debugfs: remove unused variable

2016-09-20 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- fs/debugfs/file.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index 592059f..04eca0b 100644 --- a/fs/debugfs/file.c +++ b/fs/debugfs/file.c @@ -195,7 +195,6 @@ static int

Re: [PATCH net-next 8/8] net: qualcomm: add QCA7000 UART driver

2016-09-20 Thread Stefan Wahren
> kbuild test robot <l...@intel.com> hat am 20. September 2016 um 16:44 > geschrieben: > > > Hi Stefan, > > [auto build test ERROR on net-next/master] > > url: > > https://github.com/0day-ci/linux/commits/Stefan-Wahren/net-qualcomm-add-QCA7000-UAR

Re: [bug] pwritev02 hang on s390x with 4.8.0-rc7

2016-09-20 Thread Jan Stancek
- Original Message - > From: "Al Viro" > To: "Jan Stancek" > Cc: linux-kernel@vger.kernel.org > Sent: Tuesday, 20 September, 2016 5:06:57 PM > Subject: Re: [bug] pwritev02 hang on s390x with 4.8.0-rc7 > > On Tue, Sep 20, 2016 at

Re: [f2fs-dev] [PATCH 1/2] f2fs: use crc and cp version to determine roll-forward recovery

2016-09-20 Thread Chao Yu
Hi Jaegeuk, On 2016/9/20 10:55, Jaegeuk Kim wrote: > Previously, we used cp_version only to detect recoverable dnodes. > In order to avoid same garbage cp_version, we needed to truncate the next > dnode during checkpoint, resulting in additional discard or data write. > If we can distinguish this

Re: [PATCH] mm/mempolicy.c: forbid static or relative flags for local NUMA mode

2016-09-20 Thread Piotr Kwapulinski
On Mon, Sep 19, 2016 at 05:57:17PM -0700, David Rientjes wrote: > On Sun, 18 Sep 2016, Piotr Kwapulinski wrote: > > > The MPOL_F_STATIC_NODES and MPOL_F_RELATIVE_NODES flags are irrelevant > > when setting them for MPOL_LOCAL NUMA memory policy via set_mempolicy. > > Return the "invalid argument"

  1   2   3   4   5   6   7   8   9   10   >