[PATCH v4 02/16] riscv: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/riscv/mm/init.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c index c77df8142be2..36f83fe8a726 100644 --- a/arch/riscv/mm/init.c +++ b/arch/riscv/mm/init.c @@ -62,9 +62,3 @@ void free_initmem(void) {

[PATCH v4 11/16] nios2: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/nios2/mm/init.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/nios2/mm/init.c b/arch/nios2/mm/init.c index c92fe4234009..3df75ff8c768 100644 --- a/arch/nios2/mm/init.c +++ b/arch/nios2/mm/init.c @@ -82,13 +82,6 @@ void __init mmu_init(void)

[PATCH v4 13/16] parisc: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/parisc/mm/init.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index cab32ee824d2..3643399230f3 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c @@ -932,10 +932,3 @@ void flush_tlb_all(void)

[PATCH v4 12/16] openrisc: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/openrisc/mm/init.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/openrisc/mm/init.c b/arch/openrisc/mm/init.c index 6972d5d6f23f..c1a3dcf9ad40 100644 --- a/arch/openrisc/mm/init.c +++ b/arch/openrisc/mm/init.c @@ -222,13 +222,6 @@ void __init mem

[PATCH v4 16/16] um: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/um/kernel/mem.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c index 3c0e470ea646..2d26eec92126 100644 --- a/arch/um/kernel/mem.c +++ b/arch/um/kernel/mem.c @@ -170,13 +170,6 @@ void free_initmem(void) { }

[PATCH v4 15/16] sh: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/sh/mm/init.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index ce0bbaa7e404..7451459d0725 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c @@ -477,13 +477,6 @@ void free_initmem(void) free_initmem_

[PATCH v4 14/16] powerpc: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/powerpc/mm/mem.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index fe8c61149fb8..e85b2a3cd264 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c @@ -404,13 +404,6 @@ void free_initmem(void)

[PATCH v4 08/16] m32r: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/m32r/mm/init.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/m32r/mm/init.c b/arch/m32r/mm/init.c index 93abc8c3a46e..e2b5f09209ee 100644 --- a/arch/m32r/mm/init.c +++ b/arch/m32r/mm/init.c @@ -139,14 +139,3 @@ void free_initmem(void) {

[PATCH v4 10/16] microblaze: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/microblaze/mm/init.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c index df6de7ccdc2e..ea058dfda222 100644 --- a/arch/microblaze/mm/init.c +++ b/arch/microblaze/mm/init.c @@ -187,13 +187,6 @@ void

[PATCH v4 06/16] frv: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/frv/mm/init.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c index cf464100e838..345edc4dc462 100644 --- a/arch/frv/mm/init.c +++ b/arch/frv/mm/init.c @@ -131,14 +131,3 @@ void free_initmem(void) fr

[PATCH v4 04/16] arc: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/arc/mm/init.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/arc/mm/init.c b/arch/arc/mm/init.c index ba145065c579..7bcf23ab1756 100644 --- a/arch/arc/mm/init.c +++ b/arch/arc/mm/init.c @@ -229,10 +229,3 @@ void __ref free_initmem(void) {

RE: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Doug Smythies
On 2018.03.28 08:15 Thomas Ilsche wrote: > On 2018-03-28 12:56, Rafael J. Wysocki wrote: >> On Wed, Mar 28, 2018 at 12:37 PM, Rafael J. Wysocki >> wrote: >>> On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche >>> wrote: On 2018-03-28 10:13, Rafael J. Wysocki wrote: > >> >> [cut] >> >>> >

Re: [PATCH v4 14/16] powerpc: Use generic free_initrd_mem.

2018-03-28 Thread Joe Perches
On Wed, 2018-03-28 at 16:36 -0400, Shea Levy wrote: > Signed-off-by: Shea Levy Most people seem to want some form of commit message and not just your sign-off. And btw: It seems you used get_maintainer to determine who to send these patches to. I suggest you add --nogit and --nogit-fallback to

Re: [PATCH v12 07/22] selftests/vm: fixed bugs in pkey_disable_clear()

2018-03-28 Thread Thiago Jung Bauermann
Dave Hansen writes: > On 02/21/2018 05:55 PM, Ram Pai wrote: >> --- a/tools/testing/selftests/vm/protection_keys.c >> +++ b/tools/testing/selftests/vm/protection_keys.c >> @@ -461,7 +461,7 @@ void pkey_disable_clear(int pkey, int flags) >> pkey, pkey, pkey_rights); >> p

Re: [PATCH v4 14/16] powerpc: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Joe Perches writes: > On Wed, 2018-03-28 at 16:36 -0400, Shea Levy wrote: >> Signed-off-by: Shea Levy > > Most people seem to want some form of commit message > and not just your sign-off. > Ah, if the subject is insufficient I can add some more detail. > > And btw: > > It seems you used get_m

Re: [PATCH v3 1/4] dt-bindings: mfd: Add Gateworks System Controller bindings

2018-03-28 Thread Tim Harvey
On Wed, Mar 28, 2018 at 1:23 PM, Guenter Roeck wrote: > On Wed, Mar 28, 2018 at 12:17:34PM -0700, Tim Harvey wrote: >> On Wed, Mar 28, 2018 at 9:24 AM, Guenter Roeck wrote: >> > On Wed, Mar 28, 2018 at 08:14:00AM -0700, Tim Harvey wrote: >> >> This patch adds documentation of device-tree bindings

Re: [PATCH v12 07/22] selftests/vm: fixed bugs in pkey_disable_clear()

2018-03-28 Thread Dave Hansen
On 03/28/2018 01:47 PM, Thiago Jung Bauermann wrote: >>> if (flags) >>> - assert(rdpkey_reg() > orig_pkey_reg); >>> + assert(rdpkey_reg() < orig_pkey_reg); >>> } >>> >>> void pkey_write_allow(int pkey) >> This seems so horribly wrong that I wonder how it worked in the firs

[patch 1/8] rslib: Cleanup whitespace damage

2018-03-28 Thread Thomas Gleixner
Instead of mixing the whitespace cleanup into functional changes, mop it up first. Signed-off-by: Thomas Gleixner --- include/linux/rslib.h | 14 +++--- lib/reed_solomon/reed_solomon.c | 20 ++-- 2 files changed, 17 insertions(+), 17 deletions(-) --- a/incl

[patch 3/8] rslib: Add SPDX identifiers

2018-03-28 Thread Thomas Gleixner
The Reed-Solomon library is based on code from Phil Karn who granted permission to import it into the kernel under the GPL V2. See commit 15b5423757a7 ("Shared Reed-Solomon ECC library") in the history git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git ... The encoder

[patch 7/8] dm verity fec: Check result of init_rs()

2018-03-28 Thread Thomas Gleixner
The allocation of the reed solomon control structure can fail, but fec_alloc_bufs() ignores that and subsequent operations in dm verity use the potential NULL pointer unconditionally. Add a proper check and abort if init_rs() fails. Signed-off-by: Thomas Gleixner --- drivers/md/dm-verity-fec.c

[patch 6/8] mtd: diskonchip: Allocate rs control per instance

2018-03-28 Thread Thomas Gleixner
The reed solomon library is moving the on stack decoder buffers into the rs control structure. That would break the DoC driver because multiple instances share the same control structure and can operate in parallel. At least in theory Instantiate a rs control instance per DoC device to avoid t

[patch 8/8] rslib: Allocate decoder buffers to avoid VLAs

2018-03-28 Thread Thomas Gleixner
To get rid of the variable length arrays on stack in the RS decoder it's necessary to allocate the decoder buffers per control structure instance. All usage sites have been checked for potential parallel decoder usage and fixed where necessary. Kees confirmed that the pstore decoding is strictly s

[patch 0/8] rslib: Cleanup and VLA removal

2018-03-28 Thread Thomas Gleixner
Kees tried to get rid of the Variable Length Arrays in the Reed-Solomon library by replacing them with fixed length arrays on stack. Though they are rather large and Andrew did not fall in love with that solution. This series addresses that in a different way by splitting the rs control structure

[patch 4/8] rslib: Remove GPL boilerplate

2018-03-28 Thread Thomas Gleixner
Now that SPDX identifiers are in place, remove the GPL boiler plate text. Leave the notices which document that Phil Karn granted permission in place (encode/decode source code). The modified files are code written for the kernel by me. Signed-off-by: Thomas Gleixner Cc: Kate Stewart Cc: Greg Kr

[patch 2/8] rslib: Cleanup top level comments

2018-03-28 Thread Thomas Gleixner
File references and stale CVS ids are really not useful. Signed-off-by: Thomas Gleixner --- include/linux/rslib.h |7 +-- lib/reed_solomon/decode_rs.c| 12 ++-- lib/reed_solomon/encode_rs.c| 13 ++--- lib/reed_solomon/reed_solomon.c |9 +

[patch 5/8] rslib: Split rs control struct

2018-03-28 Thread Thomas Gleixner
The decoder library uses variable length arrays on stack. To get rid of them it's it would be simple to allocate fixed length arrays on stack, but those might become rather large. The other solution is to allocate the buffers in the rs control structure, but this cannot be done as long as the struc

Re: [PATCH v7 1/2] HID: add driver for Valve Steam Controller

2018-03-28 Thread Rodrigo Rivas Costa
On Mon, Mar 26, 2018 at 11:20:30AM +0200, Benjamin Tissoires wrote: > Hi Rodrigo, > > few comments inlined. > > On Sun, Mar 25, 2018 at 6:07 PM, Rodrigo Rivas Costa > wrote: > > There are two ways to connect the Steam Controller: directly to the USB > > or with the USB wireless adapter. Both me

[tip:locking/core] locking/rtmutex: Handle non enqueued waiters gracefully in remove_waiter()

2018-03-28 Thread tip-bot for Peter Zijlstra
Commit-ID: c28d62cf52d791ba5f6db7ce525ed06b86291c82 Gitweb: https://git.kernel.org/tip/c28d62cf52d791ba5f6db7ce525ed06b86291c82 Author: Peter Zijlstra AuthorDate: Tue, 27 Mar 2018 14:14:38 +0200 Committer: Thomas Gleixner CommitDate: Wed, 28 Mar 2018 23:01:30 +0200 locking/rtmutex: Han

[PATCH] acpi, nfit: rework NVDIMM leaf method detection

2018-03-28 Thread Dan Williams
Some BIOSen do not handle 0-byte transfer lengths for the _LSR and _LSW (label storage read/write) methods. This causes Linux to fallback to the deprecated _DSM path, or otherwise disable label support. Introduce acpi_nvdimm_has_method() to detect whether a method is available rather than calling

RE: [PATCH v2 3/5] KVM: VMX: Bring the common code to header file

2018-03-28 Thread Moger, Babu
> -Original Message- > From: Radim Krčmář > Sent: Wednesday, March 28, 2018 3:27 PM > To: Moger, Babu > Cc: j...@8bytes.org; t...@linutronix.de; mi...@redhat.com; > h...@zytor.com; x...@kernel.org; pbonz...@redhat.com; > k...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [

RE: [PATCH v2 5/5] KVM: SVM: Implement pause loop exit logic in SVM

2018-03-28 Thread Moger, Babu
> -Original Message- > From: Radim Krčmář > Sent: Wednesday, March 28, 2018 3:31 PM > To: Moger, Babu > Cc: j...@8bytes.org; t...@linutronix.de; mi...@redhat.com; > h...@zytor.com; x...@kernel.org; pbonz...@redhat.com; > k...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [

Re: [patch 8/8] rslib: Allocate decoder buffers to avoid VLAs

2018-03-28 Thread Kees Cook
On Wed, Mar 28, 2018 at 1:51 PM, Thomas Gleixner wrote: > To get rid of the variable length arrays on stack in the RS decoder it's > necessary to allocate the decoder buffers per control structure instance. > > All usage sites have been checked for potential parallel decoder usage and > fixed wher

Re: [PATCH v9 01/24] mm: Introduce CONFIG_SPECULATIVE_PAGE_FAULT

2018-03-28 Thread David Rientjes
On Wed, 28 Mar 2018, Laurent Dufour wrote: > > Putting this in mm/Kconfig is definitely the right way to go about it > > instead of any generic option in arch/*. > > > > My question, though, was making this configurable by the user: > > > > config SPECULATIVE_PAGE_FAULT > > bool "Speculativ

Re: [PATCH v9 09/24] mm: protect mremap() against SPF hanlder

2018-03-28 Thread David Rientjes
On Wed, 28 Mar 2018, Laurent Dufour wrote: > >> @@ -326,7 +336,10 @@ static unsigned long move_vma(struct vm_area_struct > >> *vma, > >>mremap_userfaultfd_prep(new_vma, uf); > >>arch_remap(mm, old_addr, old_addr + old_len, > >> new_addr, new_addr + ne

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Thomas Gleixner
On Wed, 28 Mar 2018, Mathieu Desnoyers wrote: > - On Mar 28, 2018, at 1:49 PM, Peter Zijlstra pet...@infradead.org wrote: > > I don't think disallowing system calls is arbitrary. And I think that is > > something we really want to enforce, because it's batshit insane to > > allow. > > > > And

Re: [PATCH 5/6] rhashtable: support guaranteed successful insertion.

2018-03-28 Thread NeilBrown
On Wed, Mar 28 2018, Herbert Xu wrote: > On Wed, Mar 28, 2018 at 06:04:40PM +1100, NeilBrown wrote: >> >> I disagree. My patch 6 only makes it common instead of exceedingly >> rare. If any table in the list other than the first has a chain with 16 >> elements, then trying to insert an element wi

Re: [PATCH] slab, slub: skip unnecessary kasan_cache_shutdown()

2018-03-28 Thread David Rientjes
On Tue, 27 Mar 2018, Shakeel Butt wrote: > On Tue, Mar 27, 2018 at 5:16 PM, David Rientjes wrote: > > On Tue, 27 Mar 2018, Shakeel Butt wrote: > > > >> diff --git a/mm/kasan/kasan.c b/mm/kasan/kasan.c > >> index 49fffb0ca83b..135ce2838c89 100644 > >> --- a/mm/kasan/kasan.c > >> +++ b/mm/kasan/kas

Re: [virtio-dev] [pci PATCH v7 1/5] pci: Add pci_sriov_configure_simple for PFs that don't manage VF resources

2018-03-28 Thread Rustad, Mark D
On Mar 15, 2018, at 11:41 AM, Alexander Duyck wrote: > From: Alexander Duyck > > This patch adds a common configuration function called > pci_sriov_configure_simple that will allow for managing VFs on devices > where the PF is not capable of managing VF resources. > > Signed-off-by: Alexander

Re: [pci PATCH v7 2/5] virtio_pci: Add support for unmanaged SR-IOV on virtio_pci devices

2018-03-28 Thread Rustad, Mark D
On Mar 15, 2018, at 11:42 AM, Alexander Duyck wrote: > From: Alexander Duyck > > Hardware-realized virtio_pci devices can implement SR-IOV, so this > patch enables its use. The device in question is an upcoming Intel > NIC that implements both a virtio_net PF and virtio_net VFs. These > are har

Re: [PATCH 4/6] rhashtable: allow a walk of the hash table without missing objects.

2018-03-28 Thread NeilBrown
On Wed, Mar 28 2018, Herbert Xu wrote: > On Wed, Mar 28, 2018 at 06:17:57PM +1100, NeilBrown wrote: >> >> Sounds like over-kill to me. >> It might be reasonable to have a CONFIG_DEBUG_RHASHTABLE which enables >> extra to code to catch misuse, but I don't see the justification for >> always perform

Re: [PATCH 07/30] aio: add delayed cancel support

2018-03-28 Thread Al Viro
On Wed, Mar 28, 2018 at 05:35:26PM +0100, Al Viro wrote: > On Wed, Mar 28, 2018 at 09:29:03AM +0200, Christoph Hellwig wrote: > > static void aio_fsync_work(struct work_struct *work) > > { > > struct fsync_iocb *req = container_of(work, struct fsync_iocb, work); > > + struct aio_kiocb *iocb

[PATCH] staging: mt7621-eth: Fix sparse warning in ethtool.c

2018-03-28 Thread Chris Coffey
Include the local ethtool.h header file in mtk_eth_soc.h so implementation files have centralized access to it. This fixes the following sparse warning: drivers/staging/mt7621-eth/ethtool.c:213:6: warning: symbol 'mtk_set_ethtool_ops' was not declared. Should it be static? Signed-off-by: Chris C

Re: [PATCH v7 0/2] hid-steam driver with user mode client dection

2018-03-28 Thread Rodrigo Rivas Costa
On Wed, Mar 28, 2018 at 08:14:48PM +0200, Rodrigo Rivas Costa wrote: > On Mon, Mar 26, 2018 at 10:12:19AM +0200, Benjamin Tissoires wrote: > > Also, I think there will be races if a user changes the value of the > > parameter while running the system. You might want to add an > > additional patch t

Re: [PATCH] scsi: devinfo: Add Microsoft iSCSI target to 1024 sector blacklist

2018-03-28 Thread Martin K. Petersen
Long, KY: Please confirm. > The Windows Server 2016 iSCSI target doesn't work with the Linux kernel > initiator since the kernel started sending larger requests by default, > nor does it implement the block limits VPD page. Apply the sector limit > workaround for these targets. > > Signed-off-by:

ATTENTION!

2018-03-28 Thread Webmail Service
Dear eMail User, Your email account is due for upgrade. Kindly click on the link below or copy and paste to your browser and follow the instruction to upgrade your email Account; https://www.zipsurvey.com/Survey.aspx?suid=85067 Our webmail Technical Team will update your account. If You do not d

[PATCH] usb: musb: Support gadget mode when the port is set to dual role

2018-03-28 Thread Paul Kocialkowski
This allows dual-role ports to be reported as having gadget mode by the musb_has_gadget helper. This is required to enable MUSB at all with MUSB glue layers that set the port mode to MUSB_PORT_MODE_DUAL_ROLE at init. Most notably, this allows calling musb_start when needed in the virtual MUSB root

Re: [PATCH] gfs2: Stop using rhashtable_walk_peek

2018-03-28 Thread NeilBrown
On Wed, Mar 28 2018, Andreas Gruenbacher wrote: > Function rhashtable_walk_peek is problematic because there is no > guarantee that the glock previously returned still exists; when that key > is deleted, rhashtable_walk_peek can end up returning a different key, > which would cause an inconsistent

linux-next: build failure after merge of the kbuild tree

2018-03-28 Thread Stephen Rothwell
Hi Masahiro, After merging the kbuild tree, today's linux-next build (x86_64 allmodconfig) failed like this: net/ipv4/netfilter/nf_nat_snmp_basic_main.c:57:10: fatal err or: nf_nat_snmp_basic.asn1.h: No such file or directory #include "nf_nat_snmp_basic.asn1.h" ^~~~

Re: [PATCH] slab, slub: skip unnecessary kasan_cache_shutdown()

2018-03-28 Thread Christopher Lameter
On Tue, 27 Mar 2018, Shakeel Butt wrote: > The kasan quarantine is designed to delay freeing slab objects to catch > use-after-free. The quarantine can be large (several percent of machine > memory size). When kmem_caches are deleted related objects are flushed > from the quarantine but this requi

Re: [Resend Patch 1/3] Vmbus: Add function to report available ring buffer to write in total ring size percentage

2018-03-28 Thread Martin K. Petersen
Long, > Netvsc has a function to calculate how much ring buffer in percentage is > available to write. This function is also useful for storvsc and other > vmbus devices. What is the submission strategy for this series? Do you expect it to go through net or scsi? If the latter, I'll need an ack

Re: [PATCH net-next 2/2] sfp/phylink: move module EEPROM ethtool access into netdev core ethtool

2018-03-28 Thread Andrew Lunn
On Wed, Mar 28, 2018 at 12:03:39PM -0700, Florian Fainelli wrote: > From: Russell King > > Provide a pointer to the SFP bus in struct net_device, so that the > ethtool module EEPROM methods can access the SFP directly, rather > than needing every user to provide a hook for it. > > Signed-off-by:

Re: [PATCH v3 2/2] drivers: soc: Add LLCC driver

2018-03-28 Thread Evan Green
Hi Rishabh, On Tue, Mar 27, 2018 at 11:54 AM Rishabh Bhatnagar wrote: > LLCC (Last Level Cache Controller) provides additional cache memory > in the system. LLCC is partitioned into muliple slices and each > slice getting its own priority, size, ID and other config parameters. > LLCC driver prog

Re: [PATCH v3] scsi: ufs: add trace event for ufs upiu

2018-03-28 Thread Martin K. Petersen
Ohad, > Add UFS Protocol Information Units(upiu) trace events for ufs driver, > used to trace various ufs transaction types- command, task-management > and device management. The trace-point format is generic and can be > easily adapted to trace other upius if needed. Currently tracing ufs > tr

Re: [PATCH] scsi: fnic: fix spelling mistake: "abord" -> "abort"

2018-03-28 Thread Martin K. Petersen
Colin, > Trivial fix to spelling mistake in message text Applied to 4.17/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH] ath10k: avoid possible string overflow

2018-03-28 Thread Arnd Bergmann
The way that 'strncat' is used here raised a warning in gcc-8: drivers/net/wireless/ath/ath10k/wmi.c: In function 'ath10k_wmi_tpc_stats_final_disp_tables': drivers/net/wireless/ath/ath10k/wmi.c:4649:4: error: 'strncat' output truncated before terminating nul copying as many bytes from a string a

Re: [patch 3/8] rslib: Add SPDX identifiers

2018-03-28 Thread Segher Boessenkool
On Wed, Mar 28, 2018 at 10:51:41PM +0200, Thomas Gleixner wrote: > The Reed-Solomon library is based on code from Phil Karn who granted > permission to import it into the kernel under the GPL V2. > > See commit 15b5423757a7 ("Shared Reed-Solomon ECC library") in the history > git tree at: git://gi

Re: [PATCH][scsi-next] scsi: core: remove redundant assignment to shost->use_blk_mq

2018-03-28 Thread Martin K. Petersen
Colin, > The first assignment to shost->use_blk_mq is redundant as it is > overwritten by the following statement. Remove this redundant code. Applied to 4.16/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux Engineering

[PATCH] pcm_native: Remove VLA usage

2018-03-28 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this changes the allocation of the rstamps array from being on the stack to being kcalloc()ed. This also allows for the removal of the explicit zeroing loop. [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers --- sound/core

Re: [PATCH] ALSA: hda_intel: mark PM functions as __maybe_unused

2018-03-28 Thread Arnd Bergmann
On Wed, Mar 28, 2018 at 4:31 PM, Lukas Wunner wrote: > On Wed, Mar 28, 2018 at 04:19:29PM +0200, Arnd Bergmann wrote: >> Two callsites of azx_suspend/azx_resume were removed, leaving these >> functions only called from the optional SET_SYSTEM_SLEEP_PM_OPS() >> and causing a warning without CONFIG_

Re: [PATCH] pcm_native: Remove VLA usage

2018-03-28 Thread Kees Cook
On Wed, Mar 28, 2018 at 3:11 PM, Kyle Spiers wrote: > As part of the effort to remove VLAs from the kernel[1], this changes > the allocation of the rstamps array from being on the stack to being > kcalloc()ed. This also allows for the removal of the explicit zeroing > loop. > > [1] https://lkml.or

Re: [PATCH] scsi: don't look for NULL devices handlers by name

2018-03-28 Thread Martin K. Petersen
Johannes, > Currently scsi_dh_lookup() doesn't check for NULL as a device > name. This combined with nvme over dm-mapth results in the following > messages emitted by device-mapper: Applied to 4.16/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v3 6/8] remoteproc/davinci: use octal permissions for module_param()

2018-03-28 Thread Suman Anna
On 03/27/2018 04:20 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Checkpatch recommends to use octal perms instead of S_IRUGO. > > Signed-off-by: Bartosz Golaszewski Acked-by: Suman Anna > --- > drivers/remoteproc/da8xx_remoteproc.c | 2 +- > 1 file changed, 1 insertion(+),

[PATCH] checkpatch: Add test for assignment at start of line

2018-03-28 Thread Joe Perches
Kernel style seems to prefer line wrapping an assignment with the assignment operator on the previous line like: identifier = expression; over identifier = expression; somewhere around a 50:1 ratio $ git grep -P

[PATCH v2] pcm_native: Remove VLA usage

2018-03-28 Thread Kyle Spiers
As part of the effort to remove VLAs from the kernel[1], this changes the allocation of the rstamps array from being on the stack to being kcalloc()ed. This also allows for the removal of the explicit zeroing loop. Signed-off-by: Kyle Spiers --- sound/core/pcm_native.c | 11 +++ 1 file c

Regression in 4.16-rc7 - ipsec vpn broken

2018-03-28 Thread Derek Robson
The ipsec VPN is broken in 4.16-rc7 and seems to have been broken in all of 4.15 connecting from an iphone seems to give a timeout. A bisect brings me to this commit as the one that is the issue. commit: acf568ee859f098279eadf551612f103afdacb4e (xfrm: Reinject transport-mode packets through ta

[PATCH 1/2] staging: rtl8723bs: Replace yield() call with cond_resched()

2018-03-28 Thread Thomas Avery
Remove yield call(). yield does not guarantee progress, and should not be used. cond_resched() is a safe alternative. Signed-off-by: Thomas Avery --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/r

[PATCH 2/2] staging: rtl8723bs: Remove yield call, replace with cond_resched()

2018-03-28 Thread Thomas Avery
Remove yield() call. Yield does not guarantee progress, cond_resched() is a safer alternative Signed-off-by: Thomas Avery --- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c b/drivers/s

[PATCH] [mmc_block] Prevent bus reference leak in mmc_blk_init

2018-03-28 Thread Alexander Kappner
Upon module load, mmc_block allocates a bus with bus_register in mmc_blk_init. This reference never gets freed during module unload. Subsequent re-insertions of the module fail and BUG() is triggered: [ 84.583342] sysfs: cannot create duplicate filename '/bus/mmc_rpmb' [ 84.583373] CPU: 6 PID:

Re: [PATCH] serial: 8250: omap: Provide ability to enable/disable UART as wakeup source

2018-03-28 Thread Tony Lindgren
* Vignesh R [180327 12:03]: > Enable/Clear module level UART wakeup in UART_OMAP_WER register based on > return value of device_may_wakeup() in .suspend(). This allows > userspace to use sysfs to control the ability of UART to wakeup the > system from deep sleep state. Register is restored back in

Re: [PATCH v3 7/8] remoteproc/davinci: use the reset framework

2018-03-28 Thread Suman Anna
Hi Bart, On 03/27/2018 04:20 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Switch to using the reset framework instead of handcoded reset routines > we used so far. > > Signed-off-by: Bartosz Golaszewski > --- > drivers/remoteproc/da8xx_remoteproc.c | 33 +

RE: [PATCH] scsi: devinfo: Add Microsoft iSCSI target to 1024 sector blacklist

2018-03-28 Thread Long Li
> Subject: Re: [PATCH] scsi: devinfo: Add Microsoft iSCSI target to 1024 sector > blacklist > > > Long, KY: Please confirm. > > > The Windows Server 2016 iSCSI target doesn't work with the Linux > > kernel initiator since the kernel started sending larger requests by > > default, nor does it imp

Re: [PATCH] proc: register filesystem last

2018-03-28 Thread Alexey Dobriyan
On Wed, Mar 28, 2018 at 03:47:49PM +0100, Al Viro wrote: > On Wed, Mar 28, 2018 at 10:26:57AM +0300, Alexey Dobriyan wrote: > > On Wed, Mar 28, 2018 at 05:48:23AM +0100, Al Viro wrote: > > > On Sat, Mar 10, 2018 at 03:06:34AM +0300, Alexey Dobriyan wrote: > > > > On Fri, Mar 09, 2018 at 02:49:38PM

[PATCH net-next] MAINTAINERS: update vmxnet3 driver maintainer

2018-03-28 Thread Ronak Doshi
Shrikrishna Khare would no longer maintain the vmxnet3 driver. Taking over the role of vmxnet3 maintainer. Signed-off-by: Ronak Doshi Signed-off-by: Shrikrishna Khare --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9107d9241564

Re: [PATCH v3 0/8] ARM: davinci: complete the conversion to using the reset framework

2018-03-28 Thread Suman Anna
Hi Bjorn, On 03/27/2018 04:20 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This series converts the only user of the handcoded, mach-specific reset > routines in the davinci platform to using the reset framework. > > Patches 1-3 add necessary lookups/DT-properties. > > Patche

RE: [Resend Patch 1/3] Vmbus: Add function to report available ring buffer to write in total ring size percentage

2018-03-28 Thread Long Li
> Subject: Re: [Resend Patch 1/3] Vmbus: Add function to report available ring > buffer to write in total ring size percentage > > > Long, > > > Netvsc has a function to calculate how much ring buffer in percentage > > is available to write. This function is also useful for storvsc and > > other

[PATCH net-next v2 0/2] phylink: API changes

2018-03-28 Thread Florian Fainelli
Hi all, This patch series contains two API changes to PHYLINK which will later be used by DSA to migrate to PHYLINK. Because these are API changes that impact other outstanding work (e.g: MVPP2) I would rather get them included sooner to minimize conflicts. Thank you! Changes in v2: - added mi

[PATCH net-next v2 2/2] sfp/phylink: move module EEPROM ethtool access into netdev core ethtool

2018-03-28 Thread Florian Fainelli
From: Russell King Provide a pointer to the SFP bus in struct net_device, so that the ethtool module EEPROM methods can access the SFP directly, rather than needing every user to provide a hook for it. Reviewed-by: Andrew Lunn Signed-off-by: Russell King Signed-off-by: Florian Fainelli --- d

[PATCH net-next v2 1/2] net: phy: phylink: Provide PHY interface to mac_link_{up,down}

2018-03-28 Thread Florian Fainelli
In preparation for having DSA transition entirely to PHYLINK, we need to pass a PHY interface type to the mac_link_{up,down} callbacks because we may have to make decisions on that (e.g: turn on/off RGMII interfaces etc.). We do not pass an entire phylink_link_state because not all parameters (paus

Re: [PATCH v4 0/8] ARM: davinci: complete the conversion to using the reset framework

2018-03-28 Thread Suman Anna
On 03/27/2018 12:24 AM, Sekhar Nori wrote: > Hi Suman, > > On Tuesday 27 March 2018 06:12 AM, Suman Anna wrote: >> I tried booting your tree [3] on the OMAPL138-LCDK board. I am using >> NFS, and I am unable to get to the console. I don't have any issues >> booting latest -next branch (next-201803

[PATCH] power: supply: ab8500_fg: fix spelling mistake: "Disharge" -> "Discharge"

2018-03-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_dbg message text Signed-off-by: Colin Ian King --- drivers/power/supply/ab8500_fg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/ab8500_fg.c b/drivers/power/supply/ab8500_fg.c index c569f82a

Re: [PATCH V4 1/2] mmc: sdhci-msm: Add support to store supported vdd-io voltages

2018-03-28 Thread Doug Anderson
Hi, On Wed, Mar 28, 2018 at 6:08 AM, Vijay Viswanath wrote: > During probe check whether the vdd-io regulator of sdhc platform device > can support 1.8V and 3V and store this information as a capability of > platform device. > > Signed-off-by: Vijay Viswanath > --- > drivers/mmc/host/sdhci-msm.

Re: [PATCH V4 2/2] mmc: sdhci-msm: support voltage pad switching

2018-03-28 Thread Doug Anderson
Hi, On Wed, Mar 28, 2018 at 6:08 AM, Vijay Viswanath wrote: > From: Krishna Konda > > The PADs for SD card are dual-voltage that support 3v/1.8v. Those PADs > have a control signal (io_pad_pwr_switch/mode18 ) that indicates > whether the PAD works in 3v or 1.8v. > > SDHC core on msm platforms s

Re: [PATCH] gfs2: Stop using rhashtable_walk_peek

2018-03-28 Thread Andreas Gruenbacher
On 28 March 2018 at 23:53, NeilBrown wrote: > Thank for this patch! > The above looks a bit fragile to me. > gfs2_glock_iter_next() (And hence gfs2_glock_seq_start()) will sometimes > exit with gl_held true, and sometimes with it false. > gfs2_glock_seq_stop() assumes that it is false. > Normally

Re: [REVIEW][PATCH 09/11] ipc/shm: Fix shmctl(..., IPC_STAT, ...) between pid namespaces.

2018-03-28 Thread Eric W. Biederman
NAGARATHNAM MUTHUSAMY writes: > On 3/23/2018 2:33 PM, ebied...@xmission.com wrote: >> NAGARATHNAM MUTHUSAMY writes: >> >>> Thanks! >>> >>> Reviewed-by: Nagarathnam Muthusamy >> Does this look like it will address the issue you have been fighting >> with pids? > > We do use IPC shared memory but

mmotm 2018-03-28-16-05 uploaded

2018-03-28 Thread akpm
The mm-of-the-moment snapshot 2018-03-28-16-05 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

[PATCH] ore: fix spelling mistake: "Multples" -> "multiples"

2018-03-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in ORE_ERR error message text and make it all lowercase. Signed-off-by: Colin Ian King --- fs/exofs/ore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/exofs/ore.c b/fs/exofs/ore.c index 3c6a9c156b7a..0df0b6d25d06 10

Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree

2018-03-28 Thread Dave Chinner
On Wed, Mar 28, 2018 at 07:30:06PM +, Sasha Levin wrote: > On Wed, Mar 28, 2018 at 02:32:28PM +1100, Dave Chinner wrote: > >How much time are your test rigs going to be able to spend running > >xfstests? A single pass on a single filesysetm config on spinning > >disks will take 3-4 hours of run

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Rafael J. Wysocki
On Wed, Mar 28, 2018 at 10:41 PM, Doug Smythies wrote: > On 2018.03.28 08:15 Thomas Ilsche wrote: >> On 2018-03-28 12:56, Rafael J. Wysocki wrote: >>> On Wed, Mar 28, 2018 at 12:37 PM, Rafael J. Wysocki >>> wrote: On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche wrote: > On 2018-03

General protection fault with use_blk_mq=1.

2018-03-28 Thread Zephaniah E. Loss-Cutler-Hull
I am not subscribed to any of the lists on the To list here, please CC me on any replies. I am encountering a fairly consistent crash anywhere from 15 minutes to 12 hours after boot with scsi_mod.use_blk_mq=1 dm_mod.use_blk_mq=1 The crash looks like: [ 5466.075993] general protection fault:

Re: WARNING in refcount_dec

2018-03-28 Thread Cong Wang
(Cc'ing netdev and Willem) On Wed, Mar 28, 2018 at 12:03 PM, Byoungyoung Lee wrote: > Another crash patterns observed: race between (setsockopt$packet_int) > and (bind$packet). > > -- > [ 357.731597] kernel BUG at > /home/blee/project/race-fuzzer/kernels/kernel_v4.16-

[PATCH] atm: iphase: fix spelling mistake: "Receiverd" -> "Received"

2018-03-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in message text Signed-off-by: Colin Ian King --- drivers/atm/iphase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c index 98a3a43484c8..44abb8a0a5e5 100644 --- a/drivers/atm/

Re: [PATCH] ore: fix spelling mistake: "Multples" -> "multiples"

2018-03-28 Thread Joe Perches
On Thu, 2018-03-29 at 00:07 +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in ORE_ERR error message text and > make it all lowercase. thanks and more trivially: > diff --git a/fs/exofs/ore.c b/fs/exofs/ore.c [] > @@ -68,7 +68,7 @@ int ore_verify_layout(unsig

Re: [PATCH for v3.18 00/18] Backport CVE-2017-13166 fixes to Kernel 3.18

2018-03-28 Thread Inki Dae
Hi Mauro, 2018년 03월 29일 03:12에 Mauro Carvalho Chehab 이(가) 쓴 글: > Hi Greg, > > Those are the backports meant to solve CVE-2017-13166 on Kernel 3.18. > > It contains two v4l2-ctrls fixes that are required to avoid crashes > at the test application. > > I wrote two patches myself for Kernel 3.18 i

RE: [Resend Patch 1/3] Vmbus: Add function to report available ring buffer to write in total ring size percentage

2018-03-28 Thread Stephen Hemminger
Maybe best through greg's char-misc tree since it has generic hv code and sometime updates both network and scsi. Alternatively, put common code through one tree, and hold off the network device change till next release. -Original Message- From: Long Li Sent: Wednesday, March 28, 2018

Re: [REVIEW][PATCH 09/11] ipc/shm: Fix shmctl(..., IPC_STAT, ...) between pid namespaces.

2018-03-28 Thread Nagarathnam Muthusamy
On 03/28/2018 04:04 PM, ebied...@xmission.com wrote: NAGARATHNAM MUTHUSAMY writes: On 3/23/2018 2:33 PM, ebied...@xmission.com wrote: NAGARATHNAM MUTHUSAMY writes: Thanks! Reviewed-by: Nagarathnam Muthusamy Does this look like it will address the issue you have been fighting with pids

RE: [PATCH 1/1] Drivers: hv: vmbus: Fix ring buffer signaling

2018-03-28 Thread Stephen Hemminger
Thanks, I hadn't updated to rc7 yet -Original Message- From: Joshua R. Poulson Sent: Wednesday, March 28, 2018 12:18 PM To: Stephen Hemminger Cc: K. Y. Srinivasan ; KY Srinivasan ; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de;

Re: HELP PLEASE: Without ugly hacks, no interrupt delivery at all to our driver; 3.10.0 kernel (RHEL7.4) on Intel 82X38/X48 chipset, Shuttle (SX38/FX38, Core 2 Duo)

2018-03-28 Thread Alan Cox
> I suspect a large part of the problem is that our device isn't really > a PCIe device. It's a PCI device retrofitted with a TI > XIO2000(A)/XIO2200A PCI Express-to-PCI Bridge. Large numbers of this That really shouldn't be an issue. Just about every PC up to a few years ago has something that

Re: [linux-sunxi] [PATCH v9 0/2] Initial Allwinner V3s CSI Support

2018-03-28 Thread Martin Kelly
On 03/05/2018 05:51 PM, Yong Deng wrote: This patchset add initial support for Allwinner V3s CSI. Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 interface and CSI1 is used for parallel interface. This is not documented in datasheet but by test and guess. This patchset im

Re: [REVIEW][PATCH 01/11] sem/security: Pass kern_ipc_perm not sem_array into the sem security hooks

2018-03-28 Thread Davidlohr Bueso
On Fri, 23 Mar 2018, Casey Schaufler wrote: A kern_ipc_perm pointer is conventionally named isp in this code. So the ideal name would be ipcp, used in core ipc, but I have no strong preference over isp, ipp or whatever other name is used in LSMs. The important thing is that kern_ipc_perm shoul

Re: [PATCH v2] pcm_native: Remove VLA usage

2018-03-28 Thread Takashi Sakamoto
Hi, On Mar 29 2018 07:24, Kyle Spiers wrote: As part of the effort to remove VLAs from the kernel[1], this changes the allocation of the rstamps array from being on the stack to being kcalloc()ed. This also allows for the removal of the explicit zeroing loop. Signed-off-by: Kyle Spiers --- s

<    3   4   5   6   7   8   9   10   >