Re: [PATCH v5 3/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-12-07 Thread Joshua Clayton
Anatolij, Thanks for the quick look and response. I guess I should have rebased before submitting. I just realized I also forgot to send this patch series to the newly minted FPGA Manager mailing list. V6 coming soon :) On 12/07/2016 01:21 PM, Anatolij Gustschin wrote: > On Wed, 7 Dec 2016 13:04:

linux-next: build warning after merge of the crypto-current tree

2016-12-07 Thread Stephen Rothwell
Hi Herbert, After merging the crypto-current tree, today's linux-next build (x86_64 allmodconig) produced this warning: crypto/algif_aead.c: In function 'aead_recvmsg': crypto/algif_aead.c:539:9: warning: 'outlen' may be used uninitialized in this function [-Wmaybe-uninitialized] return err ?

Re: [PATCH] libata-scsi: disable SCT Write Same for the moment

2016-12-07 Thread Tejun Heo
On Wed, Dec 07, 2016 at 10:21:33PM +0100, Nicolai Stange wrote: > It can certainly be fixed, but the final release is quite close -- so > disable SCT Write Same for all ATA devices rather than introducing some > SCT key buffer allocation schemes at this point. Applied to libata/for-4.9-fixes. Wil

Re: [Question] New mmap64 syscall?

2016-12-07 Thread Arnd Bergmann
On Wednesday, December 7, 2016 5:43:27 PM CET Dr. Philipp Tomsich wrote: > Catalin, > > > On 07 Dec 2016, at 17:32, Catalin Marinas wrote: > > > >>> In other words: Why not keep ILP32 simple an ask users that need a 16TB+ > >>> offset > >>> to use LP64? It seems much more consistent with the ot

Re: [PATCH 1/7] vfs - merge path_is_mountpoint() and path_is_mountpoint_rcu()

2016-12-07 Thread Eric W. Biederman
Ian Kent writes: > On Sat, 2016-12-03 at 05:13 +, Al Viro wrote: >> FWIW, I've folded that pile into vfs.git#work.autofs. >> >> Problems: > > snip ... > >> * the last one (propagation-related) is too ugly to live - at the >> very least, its pieces should live in fs/pnode.c; exposin

Re: [PATCH v5 3/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-12-07 Thread Anatolij Gustschin
On Wed, 7 Dec 2016 13:29:29 -0800 Joshua Clayton stillcompil...@gmail.com wrote: >Anatolij, >Thanks for the quick look and response. >I guess I should have rebased before submitting. yes, Makefile and Kconfig changes need rebasing, I think. >I just realized I also forgot to send this patch serie

Re: [RFC PATCH 00/23] arm: defconfigs: use kconfig fragments

2016-12-07 Thread Arnd Bergmann
On Wednesday, December 7, 2016 1:14:02 PM CET Olof Johansson wrote: > > > > - A "debug" fragment would be nice, to turn on common options that > > add a lot of useful runtime checks at the expense of performance > > or code size. > > Hmm, some of these might work but several useful debug optio

Re: [PATCH 2/2] net: ethernet: stmmac: remove private tx queue lock

2016-12-07 Thread Pavel Machek
On Wed 2016-12-07 21:05:38, Lino Sanfilippo wrote: > The driver uses a private lock for synchronization between the xmit > function and the xmit completion handler, but since the NETIF_F_LLTX flag > is not set, the xmit function is also called with the xmit_lock held. > > On the other hand the xmi

RE: [PATCH 0/2] PM / sleep: Support for using suspend-to-idle by default

2016-12-07 Thread Mario.Limonciello
> -Original Message- > From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of > Rafael J. Wysocki > Sent: Thursday, November 17, 2016 3:05 PM > To: Limonciello, Mario > Cc: Rafael J. Wysocki ; Linux PM p...@vger.kernel.org>; ACPI Devel Maling List ; > Len Brown ; Linux Kernel

Re: [PATCH 2/2] net: ethernet: stmmac: remove private tx queue lock

2016-12-07 Thread Lino Sanfilippo
Hi Pavel, On 07.12.2016 22:37, Pavel Machek wrote: > On Wed 2016-12-07 21:05:38, Lino Sanfilippo wrote: >> The driver uses a private lock for synchronization between the xmit >> function and the xmit completion handler, but since the NETIF_F_LLTX flag >> is not set, the xmit function is also calle

[PATCH V6 03/10] efi: parse ARM processor error

2016-12-07 Thread Tyler Baicar
Add support for ARM Common Platform Error Record (CPER). UEFI 2.6 specification adds support for ARM specific processor error information to be reported as part of the CPER records. This provides more detail on for processor error logs. Signed-off-by: Tyler Baicar Signed-off-by: Jonathan (Zhixion

[PATCH V6 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2016-12-07 Thread Tyler Baicar
When a memory error, CPU error, PCIe error, or other type of hardware error that's covered by RAS occurs, firmware should populate the shared GHES memory location with the proper GHES structures to notify the OS of the error. For example, platforms that implement firmware first handling may impleme

[PATCH V6 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2016-12-07 Thread Tyler Baicar
Currently when a RAS error is reported it is not timestamped. The ACPI 6.1 spec adds the timestamp field to the generic error data entry v3 structure. The timestamp of when the firmware generated the error is now being reported. Signed-off-by: Tyler Baicar Signed-off-by: Jonathan (Zhixiong) Zhang

[PATCH V6 01/10] acpi: apei: read ack upon ghes record consumption

2016-12-07 Thread Tyler Baicar
A RAS (Reliability, Availability, Serviceability) controller may be a separate processor running in parallel with OS execution, and may generate error records for consumption by the OS. If the RAS controller produces multiple error records, then they may be overwritten before the OS has consumed th

[PATCH V6 04/10] arm64: exception: handle Synchronous External Abort

2016-12-07 Thread Tyler Baicar
SEA exceptions are often caused by an uncorrected hardware error, and are handled when data abort and instruction abort exception classes have specific values for their Fault Status Code. When SEA occurs, before killing the process, go through the handlers registered in the notification list. Updat

[PATCH V6 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section

2016-12-07 Thread Tyler Baicar
UEFI spec allows for non-standard section in Common Platform Error Record. This is defined in section N.2.3 of UEFI version 2.5. Currently if the CPER section's type (UUID) does not match with any section type that the kernel knows how to parse, trace event is not generated for such section. And t

[PATCH V6 10/10] arm/arm64: KVM: add guest SEA support

2016-12-07 Thread Tyler Baicar
Currently external aborts are unsupported by the guest abort handling. Add handling for SEAs so that the host kernel reports SEAs which occur in the guest kernel. Signed-off-by: Tyler Baicar --- arch/arm/include/asm/kvm_arm.h | 1 + arch/arm/include/asm/system_misc.h | 5 + arch/ar

[PATCH V6 07/10] efi: print unrecognized CPER section

2016-12-07 Thread Tyler Baicar
UEFI spec allows for non-standard section in Common Platform Error Record. This is defined in section N.2.3 of UEFI version 2.5. Currently if the CPER section's type (UUID) does not match with one of the section types that the kernel knows how to parse, the section is skipped. Therefore, user is n

[PATCH V6 06/10] acpi: apei: panic OS with fatal error status block

2016-12-07 Thread Tyler Baicar
From: "Jonathan (Zhixiong) Zhang" Even if an error status block's severity is fatal, the kernel does not honor the severity level and panic. With the firmware first model, the platform could inform the OS about a fatal hardware error through the non-NMI GHES notification type. The OS should pani

[PATCH V6 05/10] acpi: apei: handle SEA notification type for ARMv8

2016-12-07 Thread Tyler Baicar
ARM APEI extension proposal added SEA (Synchrounous External Abort) notification type for ARMv8. Add a new GHES error source handling function for SEA. If an error source's notification type is SEA, then this function can be registered into the SEA exception handler. That way GHES will parse and re

[PATCH V6 09/10] trace, ras: add ARM processor error trace event

2016-12-07 Thread Tyler Baicar
Currently there are trace events for the various RAS errors with the exception of ARM processor type errors. Add a new trace event for such errors so that the user will know when they occur. These trace events are consistent with the ARM processor error section type defined in UEFI 2.6 spec section

Re: [RFC PATCH 00/23] arm: defconfigs: use kconfig fragments

2016-12-07 Thread Laura Abbott
On 12/07/2016 01:35 PM, Arnd Bergmann wrote: > On Wednesday, December 7, 2016 1:14:02 PM CET Olof Johansson wrote: >>> >>> - A "debug" fragment would be nice, to turn on common options that >>> add a lot of useful runtime checks at the expense of performance >>> or code size. >> >> Hmm, some of

[PATCH] nvme: create the correct number of queues

2016-12-07 Thread Dan Streetman
Change nr_io_queues variable name to nr_queues, as it includes not only the io queues but also the admin queue in its count; and change the variable name in functions that it is passed into, for clarity. Also correct misuses of the nr_queue count: In the db_bar_size() function, the calculation ad

[PATCH] nvme: use the correct msix vector for each queue

2016-12-07 Thread Dan Streetman
Change each queue's cq_vector to match its qid, instead of qid - 1. The first queue is always the admin queue, and the remaining queues are I/O queues. The interrupt vectors they use are all in the same array, however, the vector indexes for the admin and I/O queues are setup differently; the adm

[PATCH v5 0/3] Altera Cyclone Passive Serial SPI FPGA Manager

2016-12-07 Thread Joshua Clayton
This series adds an FPGA manager for Altera cyclone FPGAs that can program them using an spi port and a couple of gpios, using Alteras passive serial protocol. Still need an ACK from Russell King on the ARM specific portion of patch 1. Any comment/criticism on the addition of bitrev8x4() to bitre

Re: [PATCH v7] powerpc: Do not make the entire heap executable

2016-12-07 Thread Kees Cook
On Wed, Nov 9, 2016 at 9:06 AM, Denys Vlasenko wrote: > On 32-bit powerpc the ELF PLT sections of binaries (built with --bss-plt, > or with a toolchain which defaults to it) look like this: > > [17] .sbss NOBITS 0002aff8 01aff8 14 00 WA 0 0 > 4 > [18] .plt

Re: [RFC PATCH v3] mm: use READ_ONCE in page_cpupid_xchg_last()

2016-12-07 Thread Rasmus Villemoes
On Wed, Dec 07 2016, Christian Borntraeger wrote: > On 12/07/2016 10:59 AM, Michal Hocko wrote: >> On Wed 07-12-16 10:40:47, Christian Borntraeger wrote: >>> On 12/07/2016 10:29 AM, Vlastimil Babka wrote: On 12/07/2016 09:58 AM, Michal Hocko wrote: > On Wed 07-12-16 09:48:52, Vlastimil B

Re: [PATCH] nvme: create the correct number of queues

2016-12-07 Thread Keith Busch
On Wed, Dec 07, 2016 at 05:03:26PM -0500, Dan Streetman wrote: > Change nr_io_queues variable name to nr_queues, as it includes not > only the io queues but also the admin queue in its count; and change > the variable name in functions that it is passed into, for clarity. > > Also correct misuses

Re: [RFC PATCH 00/23] arm: defconfigs: use kconfig fragments

2016-12-07 Thread Olof Johansson
On Wed, Dec 7, 2016 at 1:56 PM, Laura Abbott wrote: > On 12/07/2016 01:35 PM, Arnd Bergmann wrote: >> On Wednesday, December 7, 2016 1:14:02 PM CET Olof Johansson wrote: - A "debug" fragment would be nice, to turn on common options that add a lot of useful runtime checks at the ex

Re: [PATCH v6 3/3] sound/usb: Use Media Controller API to share media resources

2016-12-07 Thread Sakari Ailus
Hi Shuah, On Wed, Dec 07, 2016 at 01:03:59PM -0700, Shuah Khan wrote: > Hi Sakari, > > On 12/07/2016 03:52 AM, Sakari Ailus wrote: > > Hi Shuah, > > > > On Mon, Dec 05, 2016 at 05:38:23PM -0700, Shuah Khan wrote: > >> On 12/05/2016 04:21 PM, Laurent Pinchart wrote: > >>> Hi Shuah, > >>> > >>> On

Re: [PATCH v5 1/2] Add OV5647 device tree documentation

2016-12-07 Thread Sakari Ailus
Hi Ramiro, Thank you for the patch. On Mon, Dec 05, 2016 at 05:36:33PM +, Ramiro Oliveira wrote: > Add device tree documentation. > > Signed-off-by: Ramiro Oliveira > --- > .../devicetree/bindings/media/i2c/ov5647.txt | 19 > +++ > 1 file changed, 19 insertions(+)

[PATCH] timekeeping: Remove unused timekeeping_{get,set}_tai_offset()

2016-12-07 Thread Stephen Boyd
The last caller to timekeeping_set_tai_offset() was in commit 0b5154fb9040 (timekeeping: Simplify tai updating from do_adjtimex, 2013-03-22) and the last caller to timekeeping_get_tai_offset() was in commit 76f4108892d9 (hrtimer: Cleanup hrtimer accessors to the timekepeing state, 2014-07-16). Remo

Re: [PATCH] nvme: use the correct msix vector for each queue

2016-12-07 Thread Keith Busch
On Wed, Dec 07, 2016 at 05:03:48PM -0500, Dan Streetman wrote: > Change each queue's cq_vector to match its qid, instead of qid - 1. > > The first queue is always the admin queue, and the remaining queues are > I/O queues. The interrupt vectors they use are all in the same array, > however, the v

Re: [PATCH 2/2] net: ethernet: stmmac: remove private tx queue lock

2016-12-07 Thread Lino Sanfilippo
On 07.12.2016 22:43, Lino Sanfilippo wrote: > Hi Pavel, > > On 07.12.2016 22:37, Pavel Machek wrote: >> On Wed 2016-12-07 21:05:38, Lino Sanfilippo wrote: >>> The driver uses a private lock for synchronization between the xmit >>> function and the xmit completion handler, but since the NETIF_F_LLT

Re: [PATCH] nvme: use the correct msix vector for each queue

2016-12-07 Thread Dan Streetman
On Wed, Dec 7, 2016 at 5:44 PM, Keith Busch wrote: > On Wed, Dec 07, 2016 at 05:03:48PM -0500, Dan Streetman wrote: >> Change each queue's cq_vector to match its qid, instead of qid - 1. >> >> The first queue is always the admin queue, and the remaining queues are >> I/O queues. The interrupt vec

Re: [PATCH 01/22] m68k/atari: Modernize printing of kernel messages

2016-12-07 Thread Finn Thain
On Wed, 7 Dec 2016, Geert Uytterhoeven wrote: > - Convert from printk() to pr_*(), > - Add missing continuations, to fix user-visible breakage, > - Drop useless WARNING prefix, > - Move trailing spaces to start of continuations. > > Fixes: 4bcc595ccd80decb ("printk: reinstate KERN_CONT f

Re: [PATCH 1/2] f2fs: detect wrong layout

2016-12-07 Thread Jaegeuk Kim
On Wed, Dec 07, 2016 at 12:16:50PM -0800, Eric Biggers wrote: > On Tue, Dec 06, 2016 at 05:16:24PM -0800, Jaegeuk Kim wrote: > > Previous mkfs.f2fs allows small partition inappropriately, so f2fs should > > detect > > that as well. > > > > Refer this in f2fs-tools. > > > > mkfs.f2fs: detect smal

Re: [PATCH] nvme: use the correct msix vector for each queue

2016-12-07 Thread Keith Busch
On Wed, Dec 07, 2016 at 05:36:00PM -0500, Dan Streetman wrote: > On Wed, Dec 7, 2016 at 5:44 PM, Keith Busch wrote: > > pci_alloc_irq_vectors doesn't know you intend to make the first > > vector special, so it's going to come up with a CPU affinity from > > blk_mq_pci_map_queues that clashes with

[PATCH 7/8] staging/lustre: Move lov_read_and_clear_async_rc declaration

2016-12-07 Thread Oleg Drokin
Move it to obd.h, so that it's included from both the users and the actual definition, making sure they never get out of sync. This also silences a sparse warning. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/obd.h| 3 +++ drivers/staging/lustre/lustre/llite/vvp_i

[PATCH 6/8] staging/lustre: Declare lu_context/session_tags_default

2016-12-07 Thread Oleg Drokin
Make the declaration in a header, not as an extern in a C file, that is frowned upon. This also makes sparse a little bit more happy. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lu_object.h | 3 +++ drivers/staging/lustre/lustre/obdclass/cl_object.c | 3 +-- 2 files cha

[PATCH 0/8] Sparse warning fixes in Lustre.

2016-12-07 Thread Oleg Drokin
This set of fixes aims at sparse warnings. Most of the patches are just moving declarations around to deal with the warning: symbol 'xxx' was not declared. Should it be static? kind of messages. Also a screwup with root_squash sysfs control is fixed. Oleg Drokin (8): staging/lustre/llite: move

[PATCH 8/8] staging/lustre/ptlrpc: Move nrs_conf_fifo extern to a header

2016-12-07 Thread Oleg Drokin
This avoids having an extern definition in a C file which is bad, and also silences sparse complaint as well. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ptlrpc/nrs.c | 3 --- drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h | 3 +++ 2 files changed, 3 insertio

[PATCH 5/8] staging/lustre/osc: extern declare osc_caches in a header

2016-12-07 Thread Oleg Drokin
This avoids frowned upon extern in the C file, and also shuts down a sparse warning of drivers/staging/lustre/lustre/osc/osc_dev.c:55:22: warning: symbol 'osc_caches' was not declared. Should it be static? Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/osc/osc_internal.h | 2 ++ d

[PATCH 4/8] staging/lustre/lov: make lov_lsm_alloc() static

2016-12-07 Thread Oleg Drokin
It's not used anywhere outside of this file. Highlighted by sparse. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lov/lov_pack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/lov/lov_pack.c b/drivers/staging/lustre/lustre/lov/

[PATCH 1/8] staging/lustre/llite: move root_squash from sysfs to debugfs

2016-12-07 Thread Oleg Drokin
root_squash control got accidentally moved to sysfs instead of debugfs, and the write side of it was also broken expecting a userspace buffer. It contains both uid and gid values in a single file, so debugfs is a clear place for it. Reported-by: Al Viro Fixes: c948390f10ccc "fix inconsistencies o

[PATCH 2/8] staging/lustre/ldlm: Correct itree_overlap_cb return type

2016-12-07 Thread Oleg Drokin
As per interval_search() prototype, the callback should return enum, not int. This fixes correspondign sparse warning. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/l

[PATCH 3/8] staging/lustre/llite: mark ll_io_init() static

2016-12-07 Thread Oleg Drokin
It's not used anywhere out of this file. Highlighted by sparse. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/llite/file.c b/drivers/staging/lustre/lustre/llite/file.c i

Re: [PATCH 02/22] m68k/mac: macints - Modernize printing of kernel messages

2016-12-07 Thread Finn Thain
On Wed, 7 Dec 2016, Geert Uytterhoeven wrote: > - Introduce helpers for printing debug messages, incl. dummies for > validating format strings when debugging is disabled, > - Convert from printk() to pr_*(), > - Add missing continuations, to fix user-visible breakage. > > Fixes: 4bcc59

Re: [PATCH] nvme: use the correct msix vector for each queue

2016-12-07 Thread Christoph Hellwig
On Wed, Dec 07, 2016 at 05:49:42PM -0500, Keith Busch wrote: > I'm just saying that blk-mq's hctx mapping will end up choosing a queue > who's vector is mapped to a different CPU, and we don't want that. Right. For 4.10 we could use the pci_alloc_irq_vectors_affinity helper to set away a pre_vect

Re: [PATCH] nvme: use the correct msix vector for each queue

2016-12-07 Thread Dan Streetman
On Wed, Dec 7, 2016 at 5:49 PM, Keith Busch wrote: > On Wed, Dec 07, 2016 at 05:36:00PM -0500, Dan Streetman wrote: >> On Wed, Dec 7, 2016 at 5:44 PM, Keith Busch wrote: >> > pci_alloc_irq_vectors doesn't know you intend to make the first >> > vector special, so it's going to come up with a CPU a

Re: [PATCH 03/22] m68k/mac: via - Modernize printing of kernel messages

2016-12-07 Thread Finn Thain
On Wed, 7 Dec 2016, Geert Uytterhoeven wrote: > - Introduce helpers for printing debug messages, incl. dummies for > validating format strings when debugging is disabled, > - Convert from printk() to pr_*(), > - Add missing continuations, to fix user-visible breakage, > - Drop superfl

[PATCH v2] staging: lustre: osc: handle osc eviction correctly

2016-12-07 Thread James Simmons
From: Jinshan Xiong Cleanup everything if an OSC is being evicted. Group lock is not well supported yet. Signed-off-by: Jinshan Xiong Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6271 Reviewed-on: http://review.whamcloud.com/14989 Reviewed-by: John L. Hammond Reviewed-by: Bobi Jam Revi

Re: [PATCH] clk: uniphier: Fix build with gcc-4.4.

2016-12-07 Thread Arnd Bergmann
On Tuesday, December 6, 2016 3:16:42 PM CET Stephen Boyd wrote: > On 12/03, Masahiro Yamada wrote: > > 2016-12-03 9:37 GMT+09:00 Vinson Lee : > > > gcc-4.4 has issues with anonymous unions in initializers. > > > > > > CC drivers/clk/uniphier/clk-uniphier-sys.o > > > drivers/clk/uniphier/clk-

Re: [PATCH] nvme: use the correct msix vector for each queue

2016-12-07 Thread Dan Streetman
On Wed, Dec 7, 2016 at 5:46 PM, Christoph Hellwig wrote: > On Wed, Dec 07, 2016 at 05:49:42PM -0500, Keith Busch wrote: >> I'm just saying that blk-mq's hctx mapping will end up choosing a queue >> who's vector is mapped to a different CPU, and we don't want that. > > Right. For 4.10 we could use

Re: [PATCH 06/22] m68k/coldfire: Modernize printing of kernel messages

2016-12-07 Thread Finn Thain
On Wed, 7 Dec 2016, Geert Uytterhoeven wrote: > - Introduce helpers for printing debug messages, incl. dummies for > validating format strings when debugging is disabled, > - Convert from printk() to pr_*(), > - Correct printf()-style format specifiers, > - Drop superfluous casts, >

Re: [PATCH 07/22] m68k/mac: baboon - Modernize printing of kernel messages

2016-12-07 Thread Finn Thain
On Wed, 7 Dec 2016, Geert Uytterhoeven wrote: > - Introduce helpers for printing debug messages, incl. dummies for > validating format strings when debugging is disabled, > - Convert from printk() to pr_*(), > - Drop superfluous casts. > > Signed-off-by: Geert Uytterhoeven > --- > ar

Re: [PATCH] nvme: use the correct msix vector for each queue

2016-12-07 Thread Keith Busch
On Wed, Dec 07, 2016 at 05:46:34PM -0500, Dan Streetman wrote: > > Is there a reason you want to share the interrupt between the queues? The admin queue is hardly ever used (if at all) compared to an IO queue's usage, so why waste the resource? I bet you can't measure a preformance difference on

[PATCH] staging: lustre: lnet: make brw_inject_one_error() static

2016-12-07 Thread James Simmons
It's not used anywhere outside of brw_test.c file. Highlighted by sparse. Signed-off-by: James Simmons --- drivers/staging/lustre/lnet/selftest/brw_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/selftest/brw_test.c b/drivers/staging/lustre

Re: [PATCH 0/2] PM / sleep: Support for using suspend-to-idle by default

2016-12-07 Thread Rafael J. Wysocki
On Wed, Dec 7, 2016 at 10:38 PM, wrote: >> -Original Message- >> From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of >> Rafael J. Wysocki >> Sent: Thursday, November 17, 2016 3:05 PM >> To: Limonciello, Mario >> Cc: Rafael J. Wysocki ; Linux PM > p...@vger.kernel.org>; AC

RE: [PATCH 10/22] NTB Intel: Add port-related NTB API callback methods

2016-12-07 Thread Allen Hubbe
From: Serge Semin > This needs an actual commit message. > Signed-off-by: Serge Semin > > --- > drivers/ntb/hw/intel/ntb_hw_intel.c | 195 > +--- > drivers/ntb/hw/intel/ntb_hw_intel.h | 10 ++ > 2 files changed, 124 insertions(+), 81 deletions(-) > > diff --g

RE: [PATCH 02/22] NTB: Add peer indexed ports NTB API

2016-12-07 Thread Allen Hubbe
From: Allen Hubbe > From: Serge Semin > > Add new port-index NTB API. Additionally lets get rid of Primary and > > Secondary topologies, since port-number can be effectively used instead. > > Split into two patches please. > > I see no harm to the TOPO changes, though I wonder if they are necessa

Re: [PATCH 08/22] m68k/mac: iop - Modernize printing of kernel messages

2016-12-07 Thread Finn Thain
On Wed, 7 Dec 2016, Geert Uytterhoeven wrote: > - Introduce helpers for printing debug messages, incl. dummies for > validating format strings when debugging is disabled, > - Convert from printk() to pr_*(), > - Add missing continuations, > - Drop superfluous casts. > > Signed-off-by

Re: [PATCH 09/22] m68k/mac: oss - Modernize printing of kernel messages

2016-12-07 Thread Finn Thain
On Wed, 7 Dec 2016, Geert Uytterhoeven wrote: > Convert from printk() to pr_*(). > > - Introduce helpers for printing debug messages, incl. dummies for > validating format strings when debugging is disabled, > - Convert from printk() to pr_*(), > - Drop superfluous casts, > - Add lin

Re: [PATCH v5 2/2] Add support for OV5647 sensor

2016-12-07 Thread Sakari Ailus
Hi Ramiro, On Mon, Dec 05, 2016 at 05:36:34PM +, Ramiro Oliveira wrote: > Add support for OV5647 sensor. > > Modes supported: > - 640x480 RAW 8 > > Signed-off-by: Ramiro Oliveira > --- > MAINTAINERS| 7 + > drivers/media/i2c/Kconfig | 12 + > drivers/media/i2c/Makefile

[PATCH 2/7] blk-mq: abstract out blk_mq_dispatch_rq_list() helper

2016-12-07 Thread Jens Axboe
Takes a list of requests, and dispatches it. Moves any residual requests to the dispatch list. Signed-off-by: Jens Axboe --- block/blk-mq.c | 85 -- block/blk-mq.h | 1 + 2 files changed, 48 insertions(+), 38 deletions(-) diff --git a/blo

[PATCH 5/7] blk-mq-sched: add framework for MQ capable IO schedulers

2016-12-07 Thread Jens Axboe
Signed-off-by: Jens Axboe --- block/blk-mq-sched.c | 243 +++ block/blk-mq-sched.h | 168 +++ 2 files changed, 411 insertions(+) create mode 100644 block/blk-mq-sched.c create mode 100644 block/blk-mq-sched.h diff

Re: [PATCH 10/22] m68k/mac: psc - Modernize printing of kernel messages

2016-12-07 Thread Finn Thain
On Wed, 7 Dec 2016, Geert Uytterhoeven wrote: > - Introduce helpers for printing debug messages, incl. dummies for > validating format strings when debugging is disabled, > - Convert from printk() to pr_*(), > - Add missing continuations, > - Drop superfluous casts. > > Signed-off-by

[PATCH 6/7] blk-mq-sched: add framework for MQ capable IO schedulers

2016-12-07 Thread Jens Axboe
Signed-off-by: Jens Axboe --- block/Makefile | 2 +- block/blk-core.c | 3 +- block/blk-exec.c | 3 +- block/blk-flush.c| 7 +-- block/blk-mq-tag.c | 1 + block/blk-mq.c | 138 +-- block/blk-mq

[PATCH 1/7] blk-mq: add blk_mq_start_stopped_hw_queue()

2016-12-07 Thread Jens Axboe
We have a variant for all hardware queues, but not one for a single hardware queue. Signed-off-by: Jens Axboe --- block/blk-mq.c | 18 +++--- include/linux/blk-mq.h | 1 + 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 9

[PATCH 7/7] mq-deadline: add blk-mq adaptation of the deadline IO scheduler

2016-12-07 Thread Jens Axboe
Signed-off-by: Jens Axboe --- block/Kconfig.iosched | 6 + block/Makefile| 1 + block/mq-deadline.c | 622 ++ 3 files changed, 629 insertions(+) create mode 100644 block/mq-deadline.c diff --git a/block/Kconfig.iosched b/block/Kconfi

[PATCH 4/7] blk-flush: run the queue when inserting blk-mq flush

2016-12-07 Thread Jens Axboe
Currently we pass in to run the queue async, but don't flag the queue to be run. We don't need to run it async here, but we should run it. So fixup the parameters. Signed-off-by: Jens Axboe --- block/blk-flush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-flush.

[PATCH 3/7] elevator: make the rqhash helpers exported

2016-12-07 Thread Jens Axboe
Signed-off-by: Jens Axboe --- block/elevator.c | 8 include/linux/elevator.h | 5 + 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/block/elevator.c b/block/elevator.c index a18a5db274e4..40f0c04e5ad3 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -248

[PATCHSET/RFC] blk-mq scheduling framework

2016-12-07 Thread Jens Axboe
I hacked up some support for registering blk-mq capable IO schedulers, and when that was done, I adapted deadline to work with it as a new mq-deadline scheduler. Basically this is similar to the legacy scheduling patches I posted recently, in that we setup a list of fake requests (I called them sh

Re: [PATCH v8 8/8] cpufreq: intel_pstate: Use CPPC to get max performance

2016-12-07 Thread Tim Chen
On Wed, 2016-12-07 at 20:06 +0100, Sebastian Andrzej Siewior wrote: >  > > Signed-off-by: Sebastian Andrzej Siewior > --- >  drivers/acpi/cppc_acpi.c | 3 +++ >  1 file changed, 3 insertions(+) > > diff --git a/drivers/acpi/cppc_acpi.c b/drivers/acpi/cppc_acpi.c > index d0d0504b7c89..93252e5374c5

Re: unable to load modules with CONFIG_MODVERSIONS=y after commit 8ab2ae655b

2016-12-07 Thread Arnd Bergmann
On Tuesday, December 6, 2016 8:39:53 AM CET Linus Torvalds wrote: > On Tue, Dec 6, 2016 at 5:44 AM, Adam Borowski wrote: > > On Tue, Dec 06, 2016 at 08:31:01AM -0500, Jan Stancek wrote: > >> Starting with 4.9-rc8 / commit 8ab2ae655b ("default exported asm symbols > >> to zero") > >> I'm running i

RE: [PATCH 0/2] PM / sleep: Support for using suspend-to-idle by default

2016-12-07 Thread Mario.Limonciello
> -Original Message- > From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of > Rafael J. Wysocki > Sent: Wednesday, December 7, 2016 4:57 PM > To: Limonciello, Mario > Cc: Rafael J. Wysocki ; Rafael J. Wysocki > ; Linux PM ; ACPI Devel > Maling List ; Len Brown > ; Linux Kern

Re: [PATCH 00/12] PM / OPP: Use kref and move away from RCU locking

2016-12-07 Thread Rafael J. Wysocki
On Wed, Dec 7, 2016 at 11:37 AM, Viresh Kumar wrote: > Hi Rafael, > > You can pretty much ignore this series until all other OPP cleanup/fixes > get merged. I am posting these to get early reviews from Stephen as > these patches have been lying with me for almost a week now. And I am > also _not_

Re: [PATCH 1/2] net: ethernet: sxgbe: remove private tx queue lock

2016-12-07 Thread Francois Romieu
Lino Sanfilippo : > The driver uses a private lock for synchronization between the xmit > function and the xmit completion handler, but since the NETIF_F_LLTX flag > is not set, the xmit function is also called with the xmit_lock held. > > On the other hand the xmit completion handler first takes

Re: [PATCH 04/22] staging: lustre: osc: handle osc eviction correctly

2016-12-07 Thread James Simmons
> On Dec 5, 2016, at 3:55 PM, Dan Carpenter wrote: > > > On Fri, Dec 02, 2016 at 07:53:11PM -0500, James Simmons wrote: > >> @@ -3183,8 +3182,10 @@ static int discard_cb(const struct lu_env *env, > >> struct cl_io *io, > >>/* page is top page. */ > >>info->oti_next_index = osc_index(ops)

Re: [PATCH 11/22] m68k/mac: Modernize printing of kernel messages

2016-12-07 Thread Finn Thain
On Wed, 7 Dec 2016, Geert Uytterhoeven wrote: > Convert from printk() to pr_*(). > > Signed-off-by: Geert Uytterhoeven > --- > arch/m68k/mac/config.c | 34 -- > arch/m68k/mac/misc.c | 8 > 2 files changed, 20 insertions(+), 22 deletions(-) > > diff

Re: [PATCH 2/2] net: ethernet: stmmac: remove private tx queue lock

2016-12-07 Thread Pavel Machek
On Wed 2016-12-07 23:34:19, Lino Sanfilippo wrote: > On 07.12.2016 22:43, Lino Sanfilippo wrote: > > Hi Pavel, > > > > On 07.12.2016 22:37, Pavel Machek wrote: > >> On Wed 2016-12-07 21:05:38, Lino Sanfilippo wrote: > >>> The driver uses a private lock for synchronization between the xmit > >>> fu

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7

2016-12-07 Thread Mel Gorman
On Wed, Dec 07, 2016 at 09:19:58PM +, Mel Gorman wrote: > At small packet sizes on localhost, I see relatively low page allocator > activity except during the socket setup and other unrelated activity > (khugepaged, irqbalance, some btrfs stuff) which is curious as it's > less clear why the per

Re: [PATCH 18/22] m68k/mm: kmap - Modernize printing of kernel messages

2016-12-07 Thread Finn Thain
On Wed, 7 Dec 2016, Geert Uytterhoeven wrote: > - Convert from printk() to pr_*(), > - Add missing continuations, > - Remove #undef DEBUG. > > Note that "#ifdef DEBUG" is sometimes retained because pr_cont() is not > optimized away when debugging is disabled. > I think that argues for us

[PATCH v2 4/6] rtc: mcp795: fix month write resetting date to 1.

2016-12-07 Thread Emil Bartczak
According to Microchip errata some combinations of date and month values may result in the date being reset to 1, even if the date is also written with the month (for example 31-07 or 31-08). As a workaround avoid writing date and month values within the same Write command. Instead, terminate the W

[PATCH v2 0/6] Provides bug fixes for rtc-mcp795.c

2016-12-07 Thread Emil Bartczak
This patchset provides 4 bug fixes (patch 1, 2, 3, 4), one improvement (patch 5) and whitespace, indention errors fixes (patch 6) in the file driver/rtc/rtc-mcp795.c. Please review the changes and consider to apply them to the main kernel tree. Changes from v1: - Introduced SoB to all patches.

[PATCH v2 1/6] rtc: mcp795: use bcd2bin/bin2bcd.

2016-12-07 Thread Emil Bartczak
Change rtc-mcp795.c to use the bcd2bin/bin2bcd functions. This change fixes the wrong conversion of month value from binary to BCD (missing right shift operation for 10 month). Signed-off-by: Emil Bartczak --- drivers/rtc/rtc-mcp795.c | 25 + 1 file changed, 13 insertions

[PATCH v2 3/6] rtc: mcp795: fix time range difference between linux and RTC chip.

2016-12-07 Thread Emil Bartczak
In linux rtc_time struct, tm_mon range is 0~11, while in RTC HW REG, month range is 1~12. This patch adjusts difference of them. Signed-off-by: Emil Bartczak --- drivers/rtc/rtc-mcp795.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rt

[PATCH v2 2/6] rtc: mcp795: fix bitmask value for leap year (LP).

2016-12-07 Thread Emil Bartczak
According the datasheet the leap year is a fifth bit in month register. Signed-off-by: Emil Bartczak --- drivers/rtc/rtc-mcp795.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mcp795.c index 0389ee0..5fbdb4c 100644 --- a/drivers/

[PATCH v2 5/6] rtc: mcp795: Prefer using the BIT() macro.

2016-12-07 Thread Emil Bartczak
This patch doesn't change the code but replaces all bitmask values with the BIT(x) macro. Signed-off-by: Emil Bartczak --- drivers/rtc/rtc-mcp795.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mcp795.c index 89b0ffa..8ed55f6 1

[PATCH v2 6/6] rtc: mcp795: Fix whitespace and indentation.

2016-12-07 Thread Emil Bartczak
Fix whitespace and indentation errors and the following checkpatch warnings: - line 15: Block comments use a trailing */ on a separate line - line 256: Line over 80 characters No code change. Signed-off-by: Emil Bartczak --- drivers/rtc/rtc-mcp795.c | 12 ++-- 1 file changed, 6 insertion

Re: [PATCH 05/16] drivers/fsi: Add fake master driver

2016-12-07 Thread Jeremy Kerr
Hi Mark & Chris, > On Tue, Dec 06, 2016 at 06:14:26PM -0600, Chris Bostic wrote: >> From: Jeremy Kerr >> >> For debugging, add a fake master driver, that only supports reads, >> returning a fixed set of data. > >> +config FSI_MASTER_FAKE >> +tristate "Fake FSI master" >> +depends on FSI

Re: [PATCH] Revert "PM / OPP: Don't assume platform doesn't have regulators"

2016-12-07 Thread Rafael J. Wysocki
On Wed, Dec 7, 2016 at 11:31 AM, Viresh Kumar wrote: > This reverts commit ef3caabee9691386e6801ea92150e37277db9c7a. > > The commit was based on the assumption that a platform with voltages > specified with individual OPPs, would have registered a regulator as > well in order to do full DVFS. > >

Re: [PATCH 0/3] Fix improper handling of pcie hotplug events.

2016-12-07 Thread Bjorn Helgaas
Hi Ashok, On Sat, Nov 19, 2016 at 12:32:44AM -0800, Ashok Raj wrote: > This patch series fixes pciehp for certain special conditions observed during > testing. > > Ashok Raj (3): > pciehp: Prioritize data-link event over presence detect > pciehp: Fix led status when enabling already enabled s

Re: [PATCH v8 8/8] cpufreq: intel_pstate: Use CPPC to get max performance

2016-12-07 Thread Rafael J. Wysocki
On Wednesday, December 07, 2016 03:12:53 PM Tim Chen wrote: > On Wed, 2016-12-07 at 20:06 +0100, Sebastian Andrzej Siewior wrote: > > > > > > Signed-off-by: Sebastian Andrzej Siewior > > --- > > drivers/acpi/cppc_acpi.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/drivers/

Re: [PATCH 08/16] drivers/fsi: Add crc4 helpers

2016-12-07 Thread Jeremy Kerr
Hi Greg, > Why not just create lib/crc4.c with these functions, like the other crc > functions in the kernel? Two (bad) reasons: - The crc4 implementation here is pretty specific to the FSI usage (only supporting 4-bit-sized chunks), to keep the math & lookup table simple - I'm lazy So

[GIT PULL] pstore updates for v4.10-rc1

2016-12-07 Thread Kees Cook
Hi, As requested, here's an early pull request for v4.10. :) Please pull these pstore changes for v4.10-rc1. Thanks! -Kees The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69: Linux 4.9-rc2 (2016-10-23 17:10:14 -0700) are available in the git repository at: git://

[PATCH] staging: fsl-mc: add sysfs ABI doc

2016-12-07 Thread Stuart Yoder
define the bind/unbind sysfs interfaces for the fsl-mc bus Signed-off-by: Stuart Yoder --- Documentation/ABI/testing/sysfs-bus-fsl-mc | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-fsl-mc diff --git a/Documentation/ABI/testin

[PATCH] staging: fsl-mc: remove unnecessary info prints from bus driver

2016-12-07 Thread Stuart Yoder
remove pr_info/dev_info prints that add unnecessary verbosity Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c index f9fed63..5ac373c

Re: [PATCH 3/3] pciehp: Fix race condition handling surprise link-down

2016-12-07 Thread Bjorn Helgaas
On Sat, Nov 19, 2016 at 12:32:47AM -0800, Ashok Raj wrote: > A surprise link down may retrain very quickly, causing the same slot to > generate a link up event before handling the link down completes. > > Since the link is active, the power off work queued from the first link > down will cause a s

Re: [PATCH 2/2] net: ethernet: stmmac: remove private tx queue lock

2016-12-07 Thread David Miller
From: Pavel Machek Date: Wed, 7 Dec 2016 22:37:57 +0100 > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > index 982c952..7415bc2 100644 > --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > +++ b/drivers/net/ethernet/st

<    1   2   3   4   5   6   7   8   >