[PATCH] nvme-fabrics: simplify error handling of nvme_fc_create_hw_io_queues

2016-12-15 Thread Johannes Thumshirn
Simplify the error handling of nvme_fc_create_hw_io_queues(), this saves us one variable and one level of indentation. Signed-off-by: Johannes Thumshirn --- drivers/nvme/host/fc.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/nvme/host/fc.c b/drivers

Re: [PATCH 33/37] ARM: dts: vf610m4-cosmic: Correct license text

2016-12-15 Thread Afzal Mohammed
Hi, On Thu, Dec 15, 2016 at 12:57:42AM +0100, Alexandre Belloni wrote: > The license test has been mangled at some point then copy pasted across The patch text has been mangled at this point ... ;) > multiple files. Restore it to what it should be. > Note that this is not intended as a lice

[PATCH net 1/4] fsl/fman: fix 1G support for QSGMII interfaces

2016-12-15 Thread Madalin Bucur
QSGMII ports were not advertising 1G speed. Signed-off-by: Madalin Bucur Reviewed-by: Camelia Groza --- drivers/net/ethernet/freescale/fman/mac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c index 69ca

[PATCH net 4/4] fsl/fman: enable compilation on ARM64

2016-12-15 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/fman/Kconfig b/drivers/net/ethernet/freescale/fman/Kconfig index 79b7c84..dc0850b 100644 --- a/drivers/net/ethernet/free

Re: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-15 Thread Vitaly Kuznetsov
Olaf Hering writes: > On Thu, Dec 15, Vitaly Kuznetsov wrote: > >> We actually need to read the reply and empty the message slot to make >> unload happen. And reading on a different CPU may not work, see: >> >> http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2016-December/09733

[PATCH net 0/3] dpaa_eth: a couple of fixes

2016-12-15 Thread Madalin Bucur
This patch set introduces big endian accessors in the dpaa_eth driver making sure accesses to the QBMan HW are correct on little endian platforms. Removing a redundant Kconfig dependency on FSL_SOC. Adding myself as maintainer of the dpaa_eth driver. Claudiu Manoil (1): dpaa_eth: use big endian

[PATCH net 2/4] fsl/fman: arm: call of_platform_populate() for arm64 platfrom

2016-12-15 Thread Madalin Bucur
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/fman.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/ethernet/freescale/fman/fman.c b/drivers/net/ethernet/freescale/fman/fman.c index dafd9e1..f36b4eb 100644 --- a/drivers/ne

Re: [PATCH v3] kvm: svm: Use the hardware provided GPA instead of page walk

2016-12-15 Thread Paolo Bonzini
On 15/12/2016 14:09, David Hildenbrand wrote: >>> >>> bool exception_gpa_valid(struct kvm_vcpu) >>> { >>> // check if svm >>> // check if exit code is NPF >>> // check ctxt >>> } >> >> No, this would be a layering violation. The emulator ops don't know >> about svm and exit codes (an

[PATCH -resend with CC] crypto: algif_hash, avoid zero-sized array

2016-12-15 Thread Jiri Slaby
With this reproducer: struct sockaddr_alg alg = { .salg_family = 0x26, .salg_type = "hash", .salg_feat = 0xf, .salg_mask = 0x5, .salg_name = "digest_null", }; int sock, sock2; sock = socket(AF_ALG, SOCK_SEQPACKET, 0); bind(sock, (struct s

Re: [PATCH] crypto: algif_hash, avoid zero-sized array

2016-12-15 Thread Jiri Slaby
On 12/15/2016, 02:03 PM, Herbert Xu wrote: > On Thu, Dec 15, 2016 at 11:08:24AM +0100, Jiri Slaby wrote: >> Ping. > > Crypto patches need to go through linux-crypto. Resent with added CC. thanks, -- js suse labs

RE: [PATCH] spi: fsl-lpspi: Pre-initialize ret in fsl_lpspi_transfer_one_msg()

2016-12-15 Thread Pandy Gao
> From: Geert Uytterhoeven [mailto:ge...@linux-m68k.org] > Sent: Wednesday, December 14, 2016 7:21 PM > To: Mark Brown ; Pandy Gao > > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Geert > Uytterhoeven > Subject: [PATCH] spi: fsl-lpspi: Pre-initialize ret in > fsl_lpspi_transfer_on

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-15 Thread Stanislav Kozina
Yeah it's great work, so is Stanislav's checker. I wouldn't mind having a kernel-centric checker tool merged in the kernel if it is small, maintained, and does a sufficient job for distros. I'd be very happy to see the resulting tool in the kernel tree, as it needs to be kept in sync with any

[PATCH net 3/3] MAINTAINERS: net: add entry for Freescale QorIQ DPAA Ethernet driver

2016-12-15 Thread Madalin Bucur
Add record for Freescale QORIQ DPAA Ethernet driver adding myself as maintainer. Signed-off-by: Madalin Bucur --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e2463ba..0ff9757 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5058,6 +5058,12

Re: [PATCH] MAINTAINERS: Add printk maintainers

2016-12-15 Thread Steven Rostedt
On Thu, 15 Dec 2016 11:47:58 +0100 Petr Mladek wrote: > I and Sergey would like to volunteer as printk code maintainers. > It is a code that everyone is using, various people fix bugs or > even add features but there is nobody really interested into > maintaining it. > > I and Sergey have put a

[tip:x86/cache] Documentation, x86, resctrl: Recommend locking for resctrlfs

2016-12-15 Thread tip-bot for Marcelo Tosatti
Commit-ID: 3c2a769de7955ff81818b49d388dd771bf6ae29d Gitweb: http://git.kernel.org/tip/3c2a769de7955ff81818b49d388dd771bf6ae29d Author: Marcelo Tosatti AuthorDate: Wed, 14 Dec 2016 15:08:37 -0200 Committer: Thomas Gleixner CommitDate: Thu, 15 Dec 2016 14:44:27 +0100 Documentation, x86,

[PATCH net 1/3] dpaa_eth: use big endian accessors

2016-12-15 Thread Madalin Bucur
From: Claudiu Manoil Ensure correct access to the big endian QMan HW through proper accessors. Signed-off-by: Claudiu Manoil Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 71 ++ 1 file changed, 37 insertions(+), 34 deletions(-) diff

Re: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-15 Thread Olaf Hering
On Thu, Dec 15, Vitaly Kuznetsov wrote: > vmbus_wait_for_unload() may be receiving a message (not necessarily the > CHANNELMSG_UNLOAD_RESPONSE, we may see some other message) on the same > CPU it runs and in this case wrmsrl() makes sense. In other cases it > does nothing (neither good nor bad).

Re: [PATCH] vfio/pci: Support error recovery

2016-12-15 Thread Cao jin
On 12/15/2016 06:16 AM, Alex Williamson wrote: > On Wed, 14 Dec 2016 18:24:23 +0800 > Cao jin wrote: > >> Sorry for late. >> after reading all your comments, I think I will try the solution 1. >> >> On 12/13/2016 03:12 AM, Alex Williamson wrote: >>> On Mon, 12 Dec 2016 21:49:01 +0800 >>> Cao ji

Re: [PATCH 1/1] of: of_reserved_mem: Ensure cma reserved region not cross the low/high memory

2016-12-15 Thread Rob Herring
On Wed, Dec 14, 2016 at 4:21 PM, Laura Abbott wrote: > On 12/14/2016 12:45 PM, Rob Herring wrote: >> On Wed, Nov 23, 2016 at 5:37 AM, Jason Liu wrote: >>> Need ensure the cma reserved region not cross the low/high memory boundary >>> when using the dynamic allocation methond through device-tree,

RE: [PATCH v2 1/4] siphash: add cryptographically secure hashtable function

2016-12-15 Thread David Laight
From: Hannes Frederic Sowa > Sent: 15 December 2016 12:50 > On 15.12.2016 13:28, David Laight wrote: > > From: Hannes Frederic Sowa > >> Sent: 15 December 2016 12:23 > > ... > >> Hmm? Even the Intel ABI expects alignment of unsigned long long to be 8 > >> bytes on 32 bit. Do you question that? > >

Re: [PATCH 2/2] xilinx_dma: Add reset support

2016-12-15 Thread Laurent Pinchart
Hi Ramiro, (CC'ing Philipp Zabel) On Thursday 15 Dec 2016 11:26:54 Ramiro Oliveira wrote: > On 12/14/2016 8:16 PM, Laurent Pinchart wrote: > > Hi Ramiro, > > > > Thank you for the patch. > > > > On Wednesday 14 Dec 2016 17:18:24 Ramiro Oliveira wrote: > >> Add a DT property to control an option

Re: [PATCH] genirq/affinity: fix node generation from cpumask

2016-12-15 Thread Guilherme G. Piccoli
On 12/15/2016 07:36 AM, Thomas Gleixner wrote: > On Thu, 15 Dec 2016, Gavin Shan wrote: >>> static int get_nodes_in_cpumask(const struct cpumask *mask, nodemask_t >>> *nodemsk) >>> { >>> - int n, nodes; >>> + int n, nodes = 0; >>> >>> /* Calculate the number of nodes in the supplied affini

[PATCH] afs, rxrpc: Update the MAINTAINERS file

2016-12-15 Thread David Howells
Update the MAINTAINERS file for AFS and AF_RXRPC to include a website pointer. Signed-off-by: David Howells --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index e5c17a951b7d..afd737e6e0ae 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -523,6 +523

Re: [PATCH] MAINTAINERS, mm: add IRC info and update include file list

2016-12-15 Thread Kirill A. Shutemov
On Thu, Dec 15, 2016 at 09:08:48AM +0100, Vlastimil Babka wrote: > There's a new C: entry for IRC or similar chat, so add the OFTC #mm channel. > While at it, add more F: entries for least the more prominent include/ files > related to mm. > > Signed-off-by: Vlastimil Babka > --- > MAINTAINERS |

[PATCH 2/2] media: s5p-cec: Remove references to non-existent PLAT_S5P symbol

2016-12-15 Thread Corentin Labbe
Commit d78c16ccde96 ("ARM: SAMSUNG: Remove remaining legacy code") removed the Kconfig symbol PLAT_S5P. This patch remove the last occurrence of this symbol. Signed-off-by: Corentin Labbe --- drivers/staging/media/s5p-cec/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/2] media: s5p-cec: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
s5p-cec: does not use any miscdevice so this patch remove this unnecessary inclusion. Signed-off-by: Corentin Labbe --- drivers/staging/media/s5p-cec/exynos_hdmi_cec.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/media/s5p-cec/exynos_hdmi_cec.h b/drivers/staging/media/s5p-

[PATCH v2 1/2] mfd: axp20x: Add a few missing defines for AXP288 specific registers

2016-12-15 Thread Hans de Goede
Add defines for the AXP288_POWER_REASON and AXP288_RT_BATT_V_H and AXP288_RT_BATT_V_L registers. While at it also move the AXP288_TS_ADC_H-AXP288_GP_ADC_L defines, which for some reason where in a different place, together with the rest of the AXP288 specific defines. Signed-off-by: Hans de Goede

[PATCH v2 2/2] mfd: axp20x: Fix axp288 volatile ranges

2016-12-15 Thread Hans de Goede
The axp288 pmic has a lot more volatile registers then we were listing in axp288_volatile_ranges, fix this. Signed-off-by: Hans de Goede --- Changes in v2: -Add the following extra regs to axp288_volatile_ranges: AXP288_POWER_REASON, AXP20X_TIMER_CTRL, AXP288_RT_BATT_V_H, AXP288_RT_BATT_V_L ---

[PATCH 5/9] xfs: use memalloc_nofs_{save,restore} instead of memalloc_noio*

2016-12-15 Thread Michal Hocko
From: Michal Hocko kmem_zalloc_large and _xfs_buf_map_pages use memalloc_noio_{save,restore} API to prevent from reclaim recursion into the fs because vmalloc can invoke unconditional GFP_KERNEL allocations and these functions might be called from the NOFS contexts. The memalloc_noio_save will en

[PATCH 7/9] jbd2: make the whole kjournald2 kthread NOFS safe

2016-12-15 Thread Michal Hocko
From: Michal Hocko kjournald2 is central to the transaction commit processing. As such any potential allocation from this kernel thread has to be GFP_NOFS. Make sure to mark the whole kernel thread GFP_NOFS by the memalloc_nofs_save. Suggested-by: Jan Kara Signed-off-by: Michal Hocko --- fs/j

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-15 Thread Nicholas Piggin
On Thu, 15 Dec 2016 14:15:31 +0100 Hannes Frederic Sowa wrote: > On 15.12.2016 13:03, Nicholas Piggin wrote: > > On Thu, 15 Dec 2016 12:19:02 +0100 > > Hannes Frederic Sowa wrote: > > > >> On 15.12.2016 03:06, Nicholas Piggin wrote: > >>> On Wed, 14 Dec 2016 15:04:36 +0100 > >>> Hannes Fred

[PATCH] mptlan: Remove linux/miscdevice.h from mptlan.h

2016-12-15 Thread Corentin Labbe
This patch remove linux/miscdevice.h from mptlan.h since mptlan.h does not contain any miscdevice. The only user of it is mptctl.c which already include linux/miscdevice.h So no need to include it twice. Signed-off-by: Corentin Labbe --- drivers/message/fusion/mptlan.h | 1 - 1 file changed, 1 d

[PATCH 2/9] xfs: introduce and use KM_NOLOCKDEP to silence reclaim lockdep false positives

2016-12-15 Thread Michal Hocko
From: Michal Hocko Now that the page allocator offers __GFP_NOLOCKDEP let's introduce KM_NOLOCKDEP alias for the xfs allocation APIs. While we are at it also change KM_NOFS users introduced by b17cb364dbbb ("xfs: fix missing KM_NOFS tags to keep lockdep happy") and use the new flag for them inste

[PATCH 3/9] xfs: abstract PF_FSTRANS to PF_MEMALLOC_NOFS

2016-12-15 Thread Michal Hocko
From: Michal Hocko xfs has defined PF_FSTRANS to declare a scope GFP_NOFS semantic quite some time ago. We would like to make this concept more generic and use it for other filesystems as well. Let's start by giving the flag a more genric name PF_MEMALLOC_NOFS which is in line with an exiting PF_

[PATCH] misc: mic: Remove linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
linux/miscdevice.h include was added in commit 1da2b3eeef36 ("misc: mic: Remove COSM functionality from the MIC host driver") along with a struct miscdevice miscdev in struct mic_device. but the following commit ef39830c3583 ("misc: mic: Remove MIC X100 host virtio functionality") remove all misc

[PATCH 6/9] jbd2: mark the transaction context with the scope GFP_NOFS context

2016-12-15 Thread Michal Hocko
From: Michal Hocko now that we have memalloc_nofs_{save,restore} api we can mark the whole transaction context as implicitly GFP_NOFS. All allocations will automatically inherit GFP_NOFS this way. This means that we do not have to mark any of those requests with GFP_NOFS and moreover all the ext4

[PATCH 1/9] lockdep: allow to disable reclaim lockup detection

2016-12-15 Thread Michal Hocko
From: Michal Hocko The current implementation of the reclaim lockup detection can lead to false positives and those even happen and usually lead to tweak the code to silence the lockdep by using GFP_NOFS even though the context can use __GFP_FS just fine. See http://lkml.kernel.org/r/201605120803

[PATCH 4/9] mm: introduce memalloc_nofs_{save,restore} API

2016-12-15 Thread Michal Hocko
From: Michal Hocko GFP_NOFS context is used for the following 5 reasons currently - to prevent from deadlocks when the lock held by the allocation context would be needed during the memory reclaim - to prevent from stack overflows during the reclaim because the

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

2016-12-15 Thread James Morse
Hi Tyler, On 07/12/16 21:48, Tyler Baicar wrote: > 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. Loo

[PATCH 0/9 v2] scope GFP_NOFS api

2016-12-15 Thread Michal Hocko
Hi, I have posted the previous version here [1]. Since then I have added a support to suppress reclaim lockdep warnings (__GFP_NOLOCKDEP) to allow removing GFP_NOFS usage motivated by the lockdep false positives. On top of that I've tried to convert few KM_NOFS usages to use the new flag in the xfs

[PATCH 8/9] Revert "ext4: avoid deadlocks in the writeback path by using sb_getblk_gfp"

2016-12-15 Thread Michal Hocko
From: Michal Hocko This reverts commit c45653c341f5c8a0ce19c8f0ad4678640849cb86 because sb_getblk_gfp is not really needed as sb_getblk __getblk_gfp __getblk_slow grow_buffers grow_dev_page gfp_mask = mapping_gfp_constraint(inode->i_mapping, ~__GFP_FS) | gfp so __GF

RE: Big I/O requests are split into small ones due to unaligned ext4 partition boundary?

2016-12-15 Thread Dexuan Cui
> From: Ming Lei [mailto:tom.leim...@gmail.com] > Sent: Thursday, December 15, 2016 20:43 > > On Thu, Dec 15, 2016 at 7:47 PM, Dexuan Cui wrote: > > Hi, when I run "mkfs.ext4 /dev/sdc2" in a Linux virtual machine on Hyper-V, > > where a disk IOPS=500 limit is applied by me [0], the command takes

[PATCH 9/9] Revert "ext4: fix wrong gfp type under transaction"

2016-12-15 Thread Michal Hocko
From: Michal Hocko This reverts commit 216553c4b7f3e3e2beb4981cddca9b2027523928. Now that the transaction context uses memalloc_nofs_save and all allocations within the this context inherit GFP_NOFS automatically, there is no reason to mark specific allocations explicitly. This patch should not

[PATCH 2/2] s390: zfcp: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
drivers/s390/scsi/zfcp_aux.c does not contain any miscdevice so the inclusion of linux/miscdevice.h is uncessary. Signed-off-by: Corentin Labbe --- drivers/s390/scsi/zfcp_aux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c index bc

[PATCH 1/2] s390/zcore: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
drivers/s390/char/zcore.c does not contain any miscdevice so the inclusion of linux/miscdevice.h is uncessary. Signed-off-by: Corentin Labbe --- drivers/s390/char/zcore.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/s390/char/zcore.c b/drivers/s390/char/zcore.c index f771e5e..47b54

[PATCH 3/3] nfc: st21nfca: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
drivers/nfc/st21nfca/i2c.c does not use any miscdevice, so this patch remove this unnecessary inclusion. Signed-off-by: Corentin Labbe --- drivers/nfc/st21nfca/i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c index 5a82f55..d16f58a

[PATCH 1/3] nfc: nxp-nci: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
drivers/nfc/nxp-nci/i2c.c does not use any miscdevice, so this patch remove this unnecessary inclusion. Signed-off-by: Corentin Labbe --- drivers/nfc/nxp-nci/i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/nfc/nxp-nci/i2c.c b/drivers/nfc/nxp-nci/i2c.c index 36099e5..0356515 1006

[PATCH 2/3] nfc: pn544: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
drivers/nfc/pn544/i2c.c does not use any miscdevice, so this patch remove this unnecessary inclusion. Signed-off-by: Corentin Labbe --- drivers/nfc/pn544/i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/nfc/pn544/i2c.c b/drivers/nfc/pn544/i2c.c index f837c39..7030a47 100644 --- a

Re: [PATCH v2] KVM: x86: avoid redundant REQ_EVENT

2016-12-15 Thread Radim Krčmář
2016-12-15 10:18+0300, Roman Kagan: > On Wed, Dec 14, 2016 at 11:29:33PM +0100, Paolo Bonzini wrote: >> On 14/12/2016 11:59, Denis Plotnikov wrote: >> > >> >if ((exit_reason == EXIT_REASON_EXTERNAL_INTERRUPT) >> >&& nested_exit_intr_ack_set(vcpu)) { >> > - int irq = kvm_cpu_g

[PATCH] gru: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
drivers/misc/sgi-gru/grukservices.c does not use any miscdevice, so this patch remove this unnecessary inclusion. Signed-off-by: Corentin Labbe --- drivers/misc/sgi-gru/grukservices.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/misc/sgi-gru/grukservices.c b/drivers/misc/sgi-gru/g

Re: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-15 Thread Vitaly Kuznetsov
Olaf Hering writes: > On Thu, Dec 15, Vitaly Kuznetsov wrote: > >> vmbus_wait_for_unload() may be receiving a message (not necessarily the >> CHANNELMSG_UNLOAD_RESPONSE, we may see some other message) on the same >> CPU it runs and in this case wrmsrl() makes sense. In other cases it >> does noth

Re: [PATCH v2] KVM: x86: avoid redundant REQ_EVENT

2016-12-15 Thread Paolo Bonzini
On 15/12/2016 15:30, Radim Krčmář wrote: > > One useless round of KVM_REQ_EVENT is not going change nested > performance by much and it is not the only thing we could improve wrt. > TPR ... I would just leave it for now and take care of it when we > * don't to update PPR at all with APICv -- it

Re: [PATCHv3 perf/core 0/7] Reuse libbpf from samples/bpf

2016-12-15 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 14, 2016 at 02:46:23PM -0800, Joe Stringer escreveu: > On 14 December 2016 at 06:55, Arnaldo Carvalho de Melo > wrote: > > So, Joe, can you try refreshing this work, starting from what I have in > > perf/core? It has the changes coming from net-next that Daniel warned us > > about >

Re: [PATCH 1/7] dell-led: remove GUID check from dell_micmute_led_set()

2016-12-15 Thread Michał Kępień
> On Thursday 08 December 2016 13:36:12 Michał Kępień wrote: > > As dell_micmute_led_set() no longer uses the dell_wmi_perform_query() > > method, which was removed in 0c41a08 ("dell-led: use > > dell_smbios_send_request() for performing SMBIOS calls"), the > > DELL_APP_GUID check is redundant and

Re: [PATCH] MAINTAINERS: Add printk maintainers

2016-12-15 Thread Petr Mladek
On Thu 2016-12-15 08:48:15, Steven Rostedt wrote: > On Thu, 15 Dec 2016 11:47:58 +0100 > Petr Mladek wrote: > > > I and Sergey would like to volunteer as printk code maintainers. > > It is a code that everyone is using, various people fix bugs or > > even add features but there is nobody really i

Re: [PATCH V5 04/11] megaraid_sas: SAS3.5 Generic Megaraid Controllers Stream Detection and IO Coalescing

2016-12-15 Thread Tomas Henzl
On 14.12.2016 23:13, Sasikumar Chandrasekaran wrote: > Detect sequential IO streams and pass those IOs directly to FW. > > This patch is depending on patch 3 > This patch is same as V4 and there is no specific update for V5 That is not correct, I'm glad to see several whitespace changes (for examp

Re: [RFC, PATCHv1 15/28] x86: detect 5-level paging support

2016-12-15 Thread Borislav Petkov
On Wed, Dec 14, 2016 at 12:07:54AM +0100, Boris Petkov wrote: > Thus I was thinking of adding a build-time check for the gcc version > but that might turn out to be more code in the end than those ugly > ifnc clauses. IOW, something like this. I did this just to try to see whether it is doable. An

Re: [PATCH v2] ARM: dts: Add missing CPU frequencies for Exynos5422/5800

2016-12-15 Thread Markus Reichl
Hi Bartlomiej, Am 15.12.2016 um 12:55 schrieb Bartlomiej Zolnierkiewicz: > Add missing 2000MHz & 1900MHz OPPs (for A15 cores) and 1400MHz OPP > (for A7 cores). Also update common Odroid-XU3 Lite/XU3/XU4 thermal > cooling maps to account for new OPPs. > > Since new OPPs are not available on all E

Re: [PATCH] staging : osc : Remove braces from single-line body

2016-12-15 Thread Tabrez Khan
On Thu, Dec 15, 2016 at 7:08 AM, Greg KH wrote: > On Thu, Dec 15, 2016 at 07:03:52AM +0530, Tabrez khan wrote: >> Remove unnecessary braces {} for single if statement block. >> This warning is found using checkpatch.pl. >> >> Signed-off-by: Tabrez khan >> --- >> drivers/staging/lustre/lustre/osc

[PATCH] usb: ohci-at91: use descriptor-based gpio APIs correctly

2016-12-15 Thread Peter Rosin
The devm_gpiod_get_optional function does not want the -gpio suffix. The descriptor based APIs handle active high/low automatically. The vbus gpios are output, request enable while getting the gpio. Don't try to get any vbus gpios for ports outside num-ports. WTF? Big sigh. Fixes: 054d4b7b577d ("

[PATCH] dmaengine: xilinx_dma: Add support for multiple buffers

2016-12-15 Thread Jose Abreu
Xilinx VDMA supports multiple framebuffers. This patch adds correct handling for the scenario where multiple framebuffers are available in the HW and parking mode is not set. We corrected these situations: 1) Do not start VDMA until all the framebuffers have been programmed with a

Re: [RFC v2 4/5] rcu: Use for_each_leaf_node_cpu() in force_qs_rnp()

2016-12-15 Thread Boqun Feng
On Thu, Dec 15, 2016 at 12:04:59PM +, Mark Rutland wrote: > On Thu, Dec 15, 2016 at 10:42:03AM +0800, Boqun Feng wrote: > > ->qsmask of an RCU leaf node is usually more sparse than the > > corresponding cpu_possible_mask. So replace the > > for_each_leaf_node_possible_cpu() in force_qs_rnp() wi

[PATCH] mmtimer: add member name to the miscdevice declaration

2016-12-15 Thread Corentin Labbe
Since the struct miscdevice have many members, it is dangerous to init it without members name relying only on member order. This patch add member name to the init declaration. Signed-off-by: Corentin Labbe --- drivers/char/mmtimer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 0/2] __cpuhp_setup_state() returns positive value for dynamic state

2016-12-15 Thread Boris Ostrovsky
The first patch corrects description of __cpuhp_setup_state()'s possible return values and the second fixes a bug (which causes Xen guests to crash). As a follow-up question for the first patch --- should we allow calling __cpuhp_setup_state() with state in [CPUHP_AP_ONLINE_DYN + 1 .. CPUHP_AP_ON

[PATCH RESEND] regulator: arizona-micsupp: Use SoC component pin control functions

2016-12-15 Thread Richard Fitzgerald
The name of a codec pin can have an optional prefix string, which is defined by the SoC machine driver. The snd_soc_dapm_x_pin functions take the fully-specified name including the prefix and so the existing code would fail to find the pin if the audio machine driver had added a prefix. Switch to

[PATCH 1/2] cpu/hotplug: Clarify description of __cpuhp_setup_state() return value

2016-12-15 Thread Boris Ostrovsky
When ivoked with CPUHP_AP_ONLINE_DYN state __cpuhp_setup_state() is expected to return positive value which is the hotplug state that the routine assigns. Signed-off-by: Boris Ostrovsky --- kernel/cpu.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/kernel/cpu.c b

[PATCH 2/2] cpufreq: Remove cpu hotplug callbacks only if they were initialized

2016-12-15 Thread Boris Ostrovsky
Since cpu hotplug callbacks are requested for CPUHP_AP_ONLINE_DYN state, successful callback initialization will result in cpuhp_setup_state() returning a positive value. Therefore acpi_cpufreq_online being zero indicates that callbacks have not been installed. This means that acpi_cpufreq_boost_e

[PATCH v2] i2c: designware: Cleaning and comment style fixes.

2016-12-15 Thread Luis Oliveira
The purpose of this commit is to fix some comments and styling issues in the existing code due to the need of reuse this code. What is being made here is: - Sorted the headers files - Corrected some comments style - Reverse tree in the variables declaration - Add/remove empty lines and tabs where

Re: [RFC v2 1/5] rcu: Introduce for_each_leaf_node_cpu()

2016-12-15 Thread Boqun Feng
On Thu, Dec 15, 2016 at 11:43:52AM +, Mark Rutland wrote: > On Thu, Dec 15, 2016 at 10:42:00AM +0800, Boqun Feng wrote: > > There are some places inside RCU core, where we need to iterate all mask > > (->qsmask, ->expmask, etc) bits in a leaf node, in order to iterate all > > corresponding CPUs

[PATCH] MAINTAINERS: add myself as maintainer of fbdev

2016-12-15 Thread Bartlomiej Zolnierkiewicz
I would like to help with fbdev maintenance. I can dedicate some time for reviewing and handling patches but won't have time for much more. The subsystem will remain in maintenance mode (no new drivers will be added to it). Cc: Tomi Valkeinen Cc: Daniel Vetter Signed-off-by: Bartlomiej Zolnier

Re: [PATCH 3/7] ALSA: hda - use dell_micmute_led_set() instead of dell_app_wmi_led_set()

2016-12-15 Thread Michał Kępień
> On Thursday 08 December 2016 13:36:14 Michał Kępień wrote: > > --- a/sound/pci/hda/dell_wmi_helper.c > > +++ b/sound/pci/hda/dell_wmi_helper.c > > @@ -6,7 +6,7 @@ > > #include > > > > static int dell_led_value; > > -static int (*dell_led_set_func)(int, int); > > +static int (*dell_led_set_fun

[PATCH net 3/4] fsl/fman: A007273 only applies to PPC SoCs

2016-12-15 Thread Madalin Bucur
Signed-off-by: Madalin Bucur Reviewed-by: Camelia Groza --- drivers/net/ethernet/freescale/fman/fman.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/ethernet/freescale/fman/fman.c b/drivers/net/ethernet/freescale/fman/fman.c index f36b4eb..93d6a36 100644 --- a/drivers/

[PATCH net 0/4] fsl/fman: fixes for ARM

2016-12-15 Thread Madalin Bucur
The patch set fixes advertised speeds for QSGMII interfaces, disables A007273 erratum workaround on non-PowerPC platforms where it does not apply, enables compilation on ARM64 and addresses a probing issue on ARM64. Igal Liberman (1): fsl/fman: arm: call of_platform_populate() for arm64 platfrom

Re: [PATCH] vfio/pci: Support error recovery

2016-12-15 Thread Michael S. Tsirkin
On Thu, Dec 15, 2016 at 09:56:41PM +0800, Cao jin wrote: > > > On 12/15/2016 06:16 AM, Alex Williamson wrote: > > On Wed, 14 Dec 2016 18:24:23 +0800 > > Cao jin wrote: > > > >> Sorry for late. > >> after reading all your comments, I think I will try the solution 1. > >> > >> On 12/13/2016 03:12

[GIT PULL] DeviceTree updates for 4.10

2016-12-15 Thread Rob Herring
Hi Linus, Please pull. There's a trivial conflict in vendor-prefixes.txt. The resolution is take both lines, but 'nvd' is also not sorted correctly and it should come after 'nuvoton'. Rob The following changes since commit bc33b0ca11e3df46a4fa7639ba488c9d4911: Linux 4.9-rc4 (2016-11-05 1

Re: [RFC v2 4/5] rcu: Use for_each_leaf_node_cpu() in force_qs_rnp()

2016-12-15 Thread Colin Ian King
On 15/12/16 14:42, Boqun Feng wrote: > On Thu, Dec 15, 2016 at 12:04:59PM +, Mark Rutland wrote: >> On Thu, Dec 15, 2016 at 10:42:03AM +0800, Boqun Feng wrote: >>> ->qsmask of an RCU leaf node is usually more sparse than the >>> corresponding cpu_possible_mask. So replace the >>> for_each_leaf_

Re: [PATCH 4/7] dell-led: remove dell_app_wmi_led_set()

2016-12-15 Thread Michał Kępień
> On Wed, Dec 14, 2016 at 3:54 AM, Andy Shevchenko > wrote: > > On Sun, Dec 11, 2016 at 12:40 PM, Pali Rohár wrote: > >> On Thursday 08 December 2016 13:36:15 Michał Kępień wrote: > >>> All calls to dell_app_wmi_led_set() have been replaced with direct > >>> calls to dell_micmute_led_set(), so th

Re: [v3] net: ethernet: cavium: octeon: octeon_mgmt: Handle return NULL error from devm_ioremap

2016-12-15 Thread arvind Yadav
Hi David, I did not tested this feature. I have build it and flashed on hardware. You can check below commit id. Which has similar check for ioremap. 1- Commit id - de9e397e40f56b9f34af4bf6a5bd7a75ea02456c In 'drivers/net/phy/mdio-octeon.c' 2- Commit id - 592569de4c247fe4f25db8369dc0c6386

Re: [PATCH v2 1/4] siphash: add cryptographically secure hashtable function

2016-12-15 Thread Hannes Frederic Sowa
On 15.12.2016 14:56, David Laight wrote: > From: Hannes Frederic Sowa >> Sent: 15 December 2016 12:50 >> On 15.12.2016 13:28, David Laight wrote: >>> From: Hannes Frederic Sowa Sent: 15 December 2016 12:23 >>> ... Hmm? Even the Intel ABI expects alignment of unsigned long long to be 8 >>>

[PATCH] ds1302: remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
drivers/char/ds1302.c does not use any miscdevice so the inclusion of linux/miscdevice.h is unnecessary. This patch remove this inclusion. Signed-off-by: Corentin Labbe --- drivers/char/ds1302.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/ds1302.c b/drivers/char/ds1302.c inde

Re: [PATCH v2] KVM: x86: avoid redundant REQ_EVENT

2016-12-15 Thread Roman Kagan
On Thu, Dec 15, 2016 at 03:32:45PM +0100, Paolo Bonzini wrote: > > > On 15/12/2016 15:30, Radim Krčmář wrote: > > > > One useless round of KVM_REQ_EVENT is not going change nested > > performance by much and it is not the only thing we could improve wrt. > > TPR ... I would just leave it for now

Re: [PATCH v2] i2c: designware: Cleaning and comment style fixes.

2016-12-15 Thread Andy Shevchenko
On Thu, 2016-12-15 at 14:38 +, Luis Oliveira wrote: > The purpose of this commit is to fix some comments and styling issues > in the > existing code due to the need of reuse this code. What is being made > here is: > > - Sorted the headers files > - Corrected some comments style > - Reverse tr

Re: [PATCH 0/7] Move dell-led to drivers/platform/x86

2016-12-15 Thread Michał Kępień
> On 12 December 2016 at 01:13, wrote: > > > add Anthony Wong @ Canonical. > > > > I'm about to go on break and won't have access to hardware for a while. > > > > Anthony, > > > > Your team has this hardware more readily available than I do. Would you be > > able to have someone on the team verif

[PATCH] dmaengine: Convert ID allocation to an IDA

2016-12-15 Thread Matthew Wilcox
From: Matthew Wilcox dmaengine currently uses an IDR to allocate DMA IDs, but it only needs to know whether IDs are in use or not; the ID to pointer functionality of the IDR is unused. That means it can use the more space-efficient IDA. Signed-off-by: Matthew Wilcox --- drivers/dma/dmaengine.

[PATCH] m68k/mac: remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
arch/m68k/mac/misc.c does not use any miscdevice so the inclusion of linux/miscdevice.h is unnecessary. This patch remove this unnecessary include. Signed-off-by: Corentin Labbe --- arch/m68k/mac/misc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/m68k/mac/misc.c b/arch/m68k/mac/misc.

Re: [PATCH V5 06/11] megaraid_sas: Dynamic Raid Map Changes for SAS3.5 Generic Megaraid Controllers

2016-12-15 Thread Tomas Henzl
On 14.12.2016 23:13, Sasikumar Chandrasekaran wrote: > SAS3.5 Generic Megaraid Controllers FW will support new dynamic RaidMap to > have different > sizes for different number of supported VDs. > > This patch is depending on patch 5 > Code indentation is fixed for VD_EXT_DEBUG macro > > Signed-off

Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches

2016-12-15 Thread Rob Herring
On Wed, Dec 14, 2016 at 10:58 AM, Bartosz Golaszewski wrote: > 2016-12-13 20:27 GMT+01:00 Rob Herring : >> On Sun, Dec 11, 2016 at 11:21:44PM +0100, Bartosz Golaszewski wrote: >>> Some boards are equipped with simple, GPIO-driven power load switches. >>> An example of such ICs is the TI tps229* se

Re: [PATCH 7/7] dell-led: move driver to drivers/platform/x86/dell-wmi-led.c

2016-12-15 Thread Michał Kępień
> On Thu, Dec 8, 2016 at 2:36 PM, Michał Kępień wrote: > > The dell-led driver handles a specific WMI GUID present on some Dell > > laptops and as such it belongs in the x86 platform driver subsystem. > > Source code is moved along with the relevant Kconfig and Makefile > > entries with some minor

Re: [PATCH V4 08/11] megaraid_sas: Enable or Disable Fast path based on the PCI Threshold Bandwidth

2016-12-15 Thread Tomas Henzl
On 14.12.2016 22:54, Sasikumar PC wrote: > Hi Tomas, > > Please see my response inline > > Thanks > sasi > > -Original Message- > From: Tomas Henzl [mailto:the...@redhat.com] > Sent: Friday, December 09, 2016 8:59 AM > To: Sasikumar Chandrasekaran; j...@kernel.org; h...@infradead.org > Cc:

[PATCH v3] i2c: designware: Cleaning and comment style fixes.

2016-12-15 Thread Luis Oliveira
The purpose of this commit is to fix some comments and styling issues in the existing code due to the need of reuse this code. What is being made here is: - Sorted the headers files - Corrected some comments style - Reverse tree in the variables declaration - Add/remove empty lines and tabs where

Re: [PATCH 1/1] of: of_reserved_mem: Ensure cma reserved region not cross the low/high memory

2016-12-15 Thread Jason Liu
2016-12-15 21:54 GMT+08:00 Rob Herring : > On Wed, Dec 14, 2016 at 4:21 PM, Laura Abbott wrote: >> On 12/14/2016 12:45 PM, Rob Herring wrote: >>> On Wed, Nov 23, 2016 at 5:37 AM, Jason Liu wrote: Need ensure the cma reserved region not cross the low/high memory boundary when using the d

Re: [RFC v2 1/5] rcu: Introduce for_each_leaf_node_cpu()

2016-12-15 Thread Mark Rutland
On Thu, Dec 15, 2016 at 10:38:58PM +0800, Boqun Feng wrote: > On Thu, Dec 15, 2016 at 11:43:52AM +, Mark Rutland wrote: > > On Thu, Dec 15, 2016 at 10:42:00AM +0800, Boqun Feng wrote: > > > +#define MASK_BITS(mask) (BITS_PER_BYTE * sizeof(mask)) > > > +/* > > > + * Iterate over all CPUs a leaf

Re: [PATCH V5 08/11] megaraid_sas: Enable or Disable Fast path based on the PCI Threshold Bandwidth

2016-12-15 Thread Tomas Henzl
On 14.12.2016 23:13, Sasikumar Chandrasekaran wrote: > Large SEQ IO workload should sent as non fast path commands > > This patch is depending on patch 7 > This patch is same as V4 and there is no specific update for V5 That means, that you have ignored my question regarding 'bytes_wrote' I asked

Re: [RFC v2 1/5] rcu: Introduce for_each_leaf_node_cpu()

2016-12-15 Thread Boqun Feng
On Thu, Dec 15, 2016 at 03:10:15PM +, Mark Rutland wrote: > On Thu, Dec 15, 2016 at 10:38:58PM +0800, Boqun Feng wrote: > > On Thu, Dec 15, 2016 at 11:43:52AM +, Mark Rutland wrote: > > > On Thu, Dec 15, 2016 at 10:42:00AM +0800, Boqun Feng wrote: > > > > +#define MASK_BITS(mask)(BI

Re: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-15 Thread Olaf Hering
On Thu, Dec 15, Vitaly Kuznetsov wrote: > -> K. Y., but these words were written before I implemented > vmbus_wait_for_unload(), to me they just explain how we read messages. Another question for KY: In my testing, while busy-looping in vmbus_wait_for_unload, I see a few "message_type==1, hdr->msg

[PATCH] ASoC: Intel: Atom: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
No file in sound/soc/intel/ use any miscdevice. This patch remove this uncessary include. Signed-off-by: Corentin Labbe --- sound/soc/intel/atom/sst/sst_acpi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/intel/atom/sst/sst_acpi.c b/sound/soc/intel/atom/sst/sst_acpi.c index f4d9

Re: [PATCHSET 0/6] perf sched timehist: Introduce --idle-hist option (v2)

2016-12-15 Thread Namhyung Kim
On Wed, Dec 14, 2016 at 02:33:45PM -0700, David Ahern wrote: > On 12/13/16 1:05 AM, Namhyung Kim wrote: > > Hmm... something like this? > > yes. 1 comment though ... > > > > > > > > > From 5a1702bd15d78b0fe0c31d2d48ec8afa41fbf10c Mon Sep 17 00:00:00 2001 > > From: Namhyung Kim > > Date: Tue,

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-15 Thread Hannes Frederic Sowa
On 15.12.2016 15:15, Nicholas Piggin wrote: > On Thu, 15 Dec 2016 14:15:31 +0100 > Hannes Frederic Sowa wrote: > >> On 15.12.2016 13:03, Nicholas Piggin wrote: >>> On Thu, 15 Dec 2016 12:19:02 +0100 >>> Hannes Frederic Sowa wrote: >>> On 15.12.2016 03:06, Nicholas Piggin wrote: > O

RE: [PATCH] dmaengine: xilinx_dma: Add support for multiple buffers

2016-12-15 Thread Appana Durga Kedareswara Rao
Hi Jose Abreu, Thanks for the patch... > > Xilinx VDMA supports multiple framebuffers. This patch adds correct handling > for > the scenario where multiple framebuffers are available in the HW and parking > mode is not set. > > We corrected these situations: > 1) Do not start VDM

Re: [PATCHv13 2/3] usb: USB Type-C connector class

2016-12-15 Thread Guenter Roeck
On 12/15/2016 03:50 AM, Heikki Krogerus wrote: On Wed, Dec 07, 2016 at 02:52:31PM +0200, Heikki Krogerus wrote: Hi Oliver, On Wed, Dec 07, 2016 at 10:46:48AM +0100, Oliver Neukum wrote: On Fri, 2016-12-02 at 10:04 -0800, Guenter Roeck wrote: Hi, At least for my part I very much concentrated

<    1   2   3   4   5   6   7   8   >