[RFC PATCH v2 26/32] kvm: svm: Add support for SEV LAUNCH_UPDATE_DATA command

2017-03-02 Thread Brijesh Singh
The command is used for encrypting the guest memory region using the VM encryption key (VEK) created from LAUNCH_START. Signed-off-by: Brijesh Singh --- arch/x86/kvm/svm.c | 150 1 file changed, 150 insertions(+) diff

[RFC PATCH v2 26/32] kvm: svm: Add support for SEV LAUNCH_UPDATE_DATA command

2017-03-02 Thread Brijesh Singh
The command is used for encrypting the guest memory region using the VM encryption key (VEK) created from LAUNCH_START. Signed-off-by: Brijesh Singh --- arch/x86/kvm/svm.c | 150 1 file changed, 150 insertions(+) diff --git

Re: [RESEND PATCH v6 3/6] i2c: designware: MASTER mode as separated driver

2017-03-02 Thread Luis Oliveira
On 02-Mar-17 13:41, Jarkko Nikula wrote: > On 03/01/17 17:59, Luis Oliveira wrote: >> - The functions related to I2C master mode of operation were transformed >> in a single driver. >> - Common definitions were moved to i2c-designware-core.h >> - The i2c-designware-core is now only a library

Re: [RESEND PATCH v6 3/6] i2c: designware: MASTER mode as separated driver

2017-03-02 Thread Luis Oliveira
On 02-Mar-17 13:41, Jarkko Nikula wrote: > On 03/01/17 17:59, Luis Oliveira wrote: >> - The functions related to I2C master mode of operation were transformed >> in a single driver. >> - Common definitions were moved to i2c-designware-core.h >> - The i2c-designware-core is now only a library

Re: [PATCH 2/2] HID: hiddev: store hiddev's minor number when hiddev is connected

2017-03-02 Thread Benjamin Tissoires
On Mar 02 2017 or thereabouts, Jaejoong Kim wrote: > The hid-core announces kernel message which driver is loaded if there is > a hiddev, but hiddev's minor number is always zero even though it's not > zero. > > So, we need to store the minor number asked from usb core and do some > refactoring

Re: [PATCH v1] irqdomain: add empty irq_domain_check_msi_remap

2017-03-02 Thread Auger Eric
Hi, On 02/03/2017 16:19, Marc Zyngier wrote: > On 02/03/17 15:11, Mian Yousaf Kaukab wrote: >> Fix following build error for s390: >> drivers/vfio/vfio_iommu_type1.c: In function 'vfio_iommu_type1_attach_group': >> drivers/vfio/vfio_iommu_type1.c:1290:25: error: implicit declaration of >>

Re: [PATCH 2/2] HID: hiddev: store hiddev's minor number when hiddev is connected

2017-03-02 Thread Benjamin Tissoires
On Mar 02 2017 or thereabouts, Jaejoong Kim wrote: > The hid-core announces kernel message which driver is loaded if there is > a hiddev, but hiddev's minor number is always zero even though it's not > zero. > > So, we need to store the minor number asked from usb core and do some > refactoring

Re: [PATCH v1] irqdomain: add empty irq_domain_check_msi_remap

2017-03-02 Thread Auger Eric
Hi, On 02/03/2017 16:19, Marc Zyngier wrote: > On 02/03/17 15:11, Mian Yousaf Kaukab wrote: >> Fix following build error for s390: >> drivers/vfio/vfio_iommu_type1.c: In function 'vfio_iommu_type1_attach_group': >> drivers/vfio/vfio_iommu_type1.c:1290:25: error: implicit declaration of >>

[RFC PATCH v2 28/32] kvm: svm: Add support for SEV GUEST_STATUS command

2017-03-02 Thread Brijesh Singh
The command is used for querying the SEV guest status. Signed-off-by: Brijesh Singh --- arch/x86/kvm/svm.c | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index c108064..977aa22 100644

[RFC PATCH v2 28/32] kvm: svm: Add support for SEV GUEST_STATUS command

2017-03-02 Thread Brijesh Singh
The command is used for querying the SEV guest status. Signed-off-by: Brijesh Singh --- arch/x86/kvm/svm.c | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index c108064..977aa22 100644 --- a/arch/x86/kvm/svm.c

[PATCH v2 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-02 Thread Claudiu Beznea
The currently Atmel PWM controllers supported by this driver could change period or duty factor without channel disable, for regular channels (sama5d3 support this by using period or duty factor update registers, sam9rl support this by writing channel update register and select the corresponding

[PATCH v2 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-02 Thread Claudiu Beznea
The currently Atmel PWM controllers supported by this driver could change period or duty factor without channel disable, for regular channels (sama5d3 support this by using period or duty factor update registers, sam9rl support this by writing channel update register and select the corresponding

Re: [PATCH v4 13/36] [media] v4l2: add a frame timeout event

2017-03-02 Thread Sakari Ailus
Hi Steve, On Wed, Feb 15, 2017 at 06:19:15PM -0800, Steve Longerbeam wrote: > Add a new FRAME_TIMEOUT event to signal that a video capture or > output device has timed out waiting for reception or transmit > completion of a video frame. > > Signed-off-by: Steve Longerbeam

Re: [PATCH v4 13/36] [media] v4l2: add a frame timeout event

2017-03-02 Thread Sakari Ailus
Hi Steve, On Wed, Feb 15, 2017 at 06:19:15PM -0800, Steve Longerbeam wrote: > Add a new FRAME_TIMEOUT event to signal that a video capture or > output device has timed out waiting for reception or transmit > completion of a video frame. > > Signed-off-by: Steve Longerbeam > --- >

[PATCH 1/3] Staging:wilc1000:host_interface: Removed unnecessary blank line

2017-03-02 Thread Georgios Emmanouil
Removed unnecessary blank line. Signed-off-by: Georgios Emmanouil --- drivers/staging/wilc1000/host_interface.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index c307cce..090fd43

[PATCH 1/3] Staging:wilc1000:host_interface: Removed unnecessary blank line

2017-03-02 Thread Georgios Emmanouil
Removed unnecessary blank line. Signed-off-by: Georgios Emmanouil --- drivers/staging/wilc1000/host_interface.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index c307cce..090fd43 100644 ---

[RFC PATCH v2 04/32] KVM: SVM: Add SEV feature definitions to KVM

2017-03-02 Thread Brijesh Singh
From: Tom Lendacky Define a new KVM CPU feature for Secure Encrypted Virtualization (SEV). The kernel will check for the presence of this feature to determine if it is running with SEV active. Define the SEV enable bit for the VMCB control structure. The hypervisor will

[RFC PATCH v2 04/32] KVM: SVM: Add SEV feature definitions to KVM

2017-03-02 Thread Brijesh Singh
From: Tom Lendacky Define a new KVM CPU feature for Secure Encrypted Virtualization (SEV). The kernel will check for the presence of this feature to determine if it is running with SEV active. Define the SEV enable bit for the VMCB control structure. The hypervisor will use this bit to enable

Re: [RESEND PATCH v6 5/6] i2c: designware: add SLAVE mode functions

2017-03-02 Thread Luis Oliveira
On 02-Mar-17 14:33, Jarkko Nikula wrote: > On 03/01/17 17:59, Luis Oliveira wrote: >> - Changes in Kconfig to enable I2C_DESIGNWARE_SLAVE support >> - Slave functions added to core library file >> - Slave abort sources added to common source file >> - New driver: i2c-designware-slave added >> -

Re: [RESEND PATCH v6 5/6] i2c: designware: add SLAVE mode functions

2017-03-02 Thread Luis Oliveira
On 02-Mar-17 14:33, Jarkko Nikula wrote: > On 03/01/17 17:59, Luis Oliveira wrote: >> - Changes in Kconfig to enable I2C_DESIGNWARE_SLAVE support >> - Slave functions added to core library file >> - Slave abort sources added to common source file >> - New driver: i2c-designware-slave added >> -

Re: [PATCH] module: set __jump_table alignment to 8

2017-03-02 Thread Jason Baron
On 03/01/2017 05:04 PM, David Daney wrote: For powerpc the __jump_table section in modules is not aligned, this causes a WARN_ON() splat when loading a module containing a __jump_table. Strict alignment became necessary with commit 3821fd35b58d ("jump_label: Reduce the size of struct

Re: [PATCH] module: set __jump_table alignment to 8

2017-03-02 Thread Jason Baron
On 03/01/2017 05:04 PM, David Daney wrote: For powerpc the __jump_table section in modules is not aligned, this causes a WARN_ON() splat when loading a module containing a __jump_table. Strict alignment became necessary with commit 3821fd35b58d ("jump_label: Reduce the size of struct

[PATCH 1/4] staging: speakup: Placed Logical on the previous line

2017-03-02 Thread Arushi Singhal
Placed Logical continuations on the previous line as reported by checkpatch.pl. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/speakup/main.c

[PATCH 1/4] staging: speakup: Placed Logical on the previous line

2017-03-02 Thread Arushi Singhal
Placed Logical continuations on the previous line as reported by checkpatch.pl. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c index

Re: [RFC] remove support for AVR32 architecture

2017-03-02 Thread Nicolas Ferre
Le 01/03/2017 à 21:44, Hans-Christian Noren Egtvedt a écrit : > Hello all, > > The AVR32 architecture is not keeping up with the development of the kernel, > and since it shares so much of the drivers with Atmel ARM SoC, it is starting > to hinder these drivers to develop swiftly. It will

Re: [RFC] remove support for AVR32 architecture

2017-03-02 Thread Nicolas Ferre
Le 01/03/2017 à 21:44, Hans-Christian Noren Egtvedt a écrit : > Hello all, > > The AVR32 architecture is not keeping up with the development of the kernel, > and since it shares so much of the drivers with Atmel ARM SoC, it is starting > to hinder these drivers to develop swiftly. It will

[PATCH v4 4/4] fpga pr ip: Platform driver for Altera Partial Reconfiguration IP.

2017-03-02 Thread matthew . gerlach
From: Matthew Gerlach This adds a platform bus driver for a fpga-mgr driver that uses the Altera Partial Reconfiguration IP component. v3: s/altr,pr-ip/altr,a10-pr-ip/ s/alt_pr_probe/alt_pr_register/ s/alt_pr_remove/alt_pr_unregister/ fix error

Re: [PATCH] uapi: fix asm/signal.h userspace compilation errors

2017-03-02 Thread Dmitry V. Levin
On Thu, Mar 02, 2017 at 10:22:18AM -0500, Carlos O'Donell wrote: > On Wed, Mar 1, 2017 at 11:20 AM, Arnd Bergmann wrote: > > On Sun, Feb 26, 2017 at 2:01 AM, Dmitry V. Levin wrote: > >> Include (guarded by #ifndef __KERNEL__) to fix asm/signal.h > >> userspace

[PATCH v4 4/4] fpga pr ip: Platform driver for Altera Partial Reconfiguration IP.

2017-03-02 Thread matthew . gerlach
From: Matthew Gerlach This adds a platform bus driver for a fpga-mgr driver that uses the Altera Partial Reconfiguration IP component. v3: s/altr,pr-ip/altr,a10-pr-ip/ s/alt_pr_probe/alt_pr_register/ s/alt_pr_remove/alt_pr_unregister/ fix error found by kbuild robot with more

Re: [PATCH] uapi: fix asm/signal.h userspace compilation errors

2017-03-02 Thread Dmitry V. Levin
On Thu, Mar 02, 2017 at 10:22:18AM -0500, Carlos O'Donell wrote: > On Wed, Mar 1, 2017 at 11:20 AM, Arnd Bergmann wrote: > > On Sun, Feb 26, 2017 at 2:01 AM, Dmitry V. Levin wrote: > >> Include (guarded by #ifndef __KERNEL__) to fix asm/signal.h > >> userspace compilation errors like this: > >>

[RFC PATCH v2 19/32] crypto: ccp: Introduce the AMD Secure Processor device

2017-03-02 Thread Brijesh Singh
The CCP device is part of the AMD Secure Processor. In order to expand the usage of the AMD Secure Processor, create a framework that allows functional components of the AMD Secure Processor to be initialized and handled appropriately. Signed-off-by: Brijesh Singh

[RFC PATCH v2 19/32] crypto: ccp: Introduce the AMD Secure Processor device

2017-03-02 Thread Brijesh Singh
The CCP device is part of the AMD Secure Processor. In order to expand the usage of the AMD Secure Processor, create a framework that allows functional components of the AMD Secure Processor to be initialized and handled appropriately. Signed-off-by: Brijesh Singh Signed-off-by: Tom Lendacky

[PATCH v4 0/4] Altera Partial Reconfiguration IP

2017-03-02 Thread matthew . gerlach
From: Matthew Gerlach This set of patches implements a fpga-mgr driver for the Altera Partial Reconfiguration IP. The driver depends on a patch from Alan Tull that adds a config complete timeout. The driver code itself is divided into core functions and

[PATCH v4 0/4] Altera Partial Reconfiguration IP

2017-03-02 Thread matthew . gerlach
From: Matthew Gerlach This set of patches implements a fpga-mgr driver for the Altera Partial Reconfiguration IP. The driver depends on a patch from Alan Tull that adds a config complete timeout. The driver code itself is divided into core functions and functions to implement a platform

Re: [PATCH 1/2] xfs: allow kmem_zalloc_greedy to fail

2017-03-02 Thread Brian Foster
On Thu, Mar 02, 2017 at 04:45:40PM +0100, Michal Hocko wrote: > From: Michal Hocko > > Even though kmem_zalloc_greedy is documented it might fail the current > code doesn't really implement this properly and loops on the smallest > allowed size for ever. This is a problem

Re: [PATCH 1/2] xfs: allow kmem_zalloc_greedy to fail

2017-03-02 Thread Brian Foster
On Thu, Mar 02, 2017 at 04:45:40PM +0100, Michal Hocko wrote: > From: Michal Hocko > > Even though kmem_zalloc_greedy is documented it might fail the current > code doesn't really implement this properly and loops on the smallest > allowed size for ever. This is a problem because vzalloc might

RE: Kernel bio layer is sending bio size more than our block device is capable of handling

2017-03-02 Thread Umesh Patel
Hi Christoph Hellwig, Thanks for reply. BTW (since I'm new) what is linux-block list ?. Is it subscribe ?. Can you please let me know which is latest kernel version ? Thanks, Umesh -Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Thursday, March 2, 2017

RE: Kernel bio layer is sending bio size more than our block device is capable of handling

2017-03-02 Thread Umesh Patel
Hi Christoph Hellwig, Thanks for reply. BTW (since I'm new) what is linux-block list ?. Is it subscribe ?. Can you please let me know which is latest kernel version ? Thanks, Umesh -Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Thursday, March 2, 2017

[RFC PATCH v2 01/32] x86: Add the Secure Encrypted Virtualization CPU feature

2017-03-02 Thread Brijesh Singh
From: Tom Lendacky Update the CPU features to include identifying and reporting on the Secure Encrypted Virtualization (SEV) feature. SME is identified by CPUID 0x801f, but requires BIOS support to enable it (set bit 23 of MSR_K8_SYSCFG and set bit 0 of

[RFC PATCH v2 03/32] KVM: SVM: prepare for new bit definition in nested_ctl

2017-03-02 Thread Brijesh Singh
From: Tom Lendacky Currently the nested_ctl variable in the vmcb_control_area structure is used to indicate nested paging support. The nested paging support field is actually defined as bit 0 of the field. In order to support a new feature flag the usage of the

[RFC PATCH v2 01/32] x86: Add the Secure Encrypted Virtualization CPU feature

2017-03-02 Thread Brijesh Singh
From: Tom Lendacky Update the CPU features to include identifying and reporting on the Secure Encrypted Virtualization (SEV) feature. SME is identified by CPUID 0x801f, but requires BIOS support to enable it (set bit 23 of MSR_K8_SYSCFG and set bit 0 of MSR_K7_HWCR). Only show the SEV

[RFC PATCH v2 03/32] KVM: SVM: prepare for new bit definition in nested_ctl

2017-03-02 Thread Brijesh Singh
From: Tom Lendacky Currently the nested_ctl variable in the vmcb_control_area structure is used to indicate nested paging support. The nested paging support field is actually defined as bit 0 of the field. In order to support a new feature flag the usage of the nested_ctl and nested paging

Re: mm allocation failure and hang when running xfstests generic/269 on xfs

2017-03-02 Thread Tetsuo Handa
Brian Foster wrote: > On Thu, Mar 02, 2017 at 01:49:09PM +0100, Michal Hocko wrote: > > On Thu 02-03-17 07:24:27, Brian Foster wrote: > > > On Thu, Mar 02, 2017 at 11:35:20AM +0100, Michal Hocko wrote: > > > > On Thu 02-03-17 19:04:48, Tetsuo Handa wrote: > > > > [...] > > > > > So, commit

Re: mm allocation failure and hang when running xfstests generic/269 on xfs

2017-03-02 Thread Tetsuo Handa
Brian Foster wrote: > On Thu, Mar 02, 2017 at 01:49:09PM +0100, Michal Hocko wrote: > > On Thu 02-03-17 07:24:27, Brian Foster wrote: > > > On Thu, Mar 02, 2017 at 11:35:20AM +0100, Michal Hocko wrote: > > > > On Thu 02-03-17 19:04:48, Tetsuo Handa wrote: > > > > [...] > > > > > So, commit

Re: [PATCH 2/2] xfs: back off from kmem_zalloc_greedy if the task is killed

2017-03-02 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH 2/2] xfs: back off from kmem_zalloc_greedy if the task is killed

2017-03-02 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [RFC PATCH 2/2] mtd: devices: m25p80: Enable spi-nor bounce buffer support

2017-03-02 Thread Boris Brezillon
On Thu, 2 Mar 2017 16:03:17 +0100 Frode Isaksen wrote: > On 02/03/2017 15:29, Boris Brezillon wrote: > > On Thu, 2 Mar 2017 19:24:43 +0530 > > Vignesh R wrote: > > > >> > > Not really, I am debugging another issue with UBIFS on DRA74 EVM

[RFC PATCH v2 18/32] kvm: svm: Use the hardware provided GPA instead of page walk

2017-03-02 Thread Brijesh Singh
From: Tom Lendacky When a guest causes a NPF which requires emulation, KVM sometimes walks the guest page tables to translate the GVA to a GPA. This is unnecessary most of the time on AMD hardware since the hardware provides the GPA in EXITINFO2. The only exception

[RFC PATCH v2 23/32] kvm: introduce KVM_MEMORY_ENCRYPT_OP ioctl

2017-03-02 Thread Brijesh Singh
If hardware supports encrypting then KVM_MEMORY_ENCRYPT_OP ioctl can be used by qemu to issue platform specific memory encryption commands. Signed-off-by: Brijesh Singh --- arch/x86/include/asm/kvm_host.h |2 ++ arch/x86/kvm/x86.c | 12

Re: [RFC PATCH 2/2] mtd: devices: m25p80: Enable spi-nor bounce buffer support

2017-03-02 Thread Boris Brezillon
On Thu, 2 Mar 2017 16:03:17 +0100 Frode Isaksen wrote: > On 02/03/2017 15:29, Boris Brezillon wrote: > > On Thu, 2 Mar 2017 19:24:43 +0530 > > Vignesh R wrote: > > > >> > > Not really, I am debugging another issue with UBIFS on DRA74 EVM (ARM > > cortex-a15) wherein pages

[RFC PATCH v2 18/32] kvm: svm: Use the hardware provided GPA instead of page walk

2017-03-02 Thread Brijesh Singh
From: Tom Lendacky When a guest causes a NPF which requires emulation, KVM sometimes walks the guest page tables to translate the GVA to a GPA. This is unnecessary most of the time on AMD hardware since the hardware provides the GPA in EXITINFO2. The only exception cases involve string

[RFC PATCH v2 23/32] kvm: introduce KVM_MEMORY_ENCRYPT_OP ioctl

2017-03-02 Thread Brijesh Singh
If hardware supports encrypting then KVM_MEMORY_ENCRYPT_OP ioctl can be used by qemu to issue platform specific memory encryption commands. Signed-off-by: Brijesh Singh --- arch/x86/include/asm/kvm_host.h |2 ++ arch/x86/kvm/x86.c | 12 include/uapi/linux/kvm.h

[PATCH v4 2/4] fpga pr ip: Core driver support for Altera Partial Reconfiguration IP.

2017-03-02 Thread matthew . gerlach
From: Matthew Gerlach Adding the core functions necessary for a fpga-mgr driver for the Altera Partial IP component. It is intended for these functions to be used by the various bus implementations like the platform bus or the PCIe bus. v3:

[PATCH v4 2/4] fpga pr ip: Core driver support for Altera Partial Reconfiguration IP.

2017-03-02 Thread matthew . gerlach
From: Matthew Gerlach Adding the core functions necessary for a fpga-mgr driver for the Altera Partial IP component. It is intended for these functions to be used by the various bus implementations like the platform bus or the PCIe bus. v3: s/alt_pr_probe/alt_pr_register/

Re: [PATCH v2 1/3] printk: fix name/type/scope of preferred_console var

2017-03-02 Thread Sergey Senozhatsky
On (03/02/17 09:49), Steven Rostedt wrote: > > The variable preferred_console is used only inside register_console() > > and its semantics is boolean. It is negative when no console has been > > made preferred. > > > > Make it static bool and rename to has_preferred. > > > > Renaming was

Re: [PATCH v2 1/3] printk: fix name/type/scope of preferred_console var

2017-03-02 Thread Sergey Senozhatsky
On (03/02/17 09:49), Steven Rostedt wrote: > > The variable preferred_console is used only inside register_console() > > and its semantics is boolean. It is negative when no console has been > > made preferred. > > > > Make it static bool and rename to has_preferred. > > > > Renaming was

[PATCH v4 1/4] fpga: add config complete timeout

2017-03-02 Thread matthew . gerlach
From: Alan Tull Adding timeout for maximum allowed time for FPGA to go to operating mode after a FPGA region has been programmed. Signed-off-by: Alan Tull --- drivers/fpga/fpga-region.c| 3 +++ include/linux/fpga/fpga-mgr.h | 3 +++

[PATCH v4 1/4] fpga: add config complete timeout

2017-03-02 Thread matthew . gerlach
From: Alan Tull Adding timeout for maximum allowed time for FPGA to go to operating mode after a FPGA region has been programmed. Signed-off-by: Alan Tull --- drivers/fpga/fpga-region.c| 3 +++ include/linux/fpga/fpga-mgr.h | 3 +++ 2 files changed, 6 insertions(+) diff --git

[PATCH v4 3/4] fpga dt: bindings for Altera Partial Reconfiguration IP.

2017-03-02 Thread matthew . gerlach
From: Matthew Gerlach Device Tree bindings for Altera Partial Reconfiguration IP. v3: s/altr,pr-ip/altr,a10-pr-ip/ v2: s/Reconfiguraion/Reconfiguration/ Signed-off-by: Matthew Gerlach ---

Re: [PATCH 2/2] xfs: back off from kmem_zalloc_greedy if the task is killed

2017-03-02 Thread Brian Foster
On Thu, Mar 02, 2017 at 04:45:41PM +0100, Michal Hocko wrote: > From: Michal Hocko > > It doesn't really make much sense to retry vmalloc request if the > current task is killed. We should rather bail out as soon as possible > and let it RIP as soon as possible. The current

[PATCH v4 3/4] fpga dt: bindings for Altera Partial Reconfiguration IP.

2017-03-02 Thread matthew . gerlach
From: Matthew Gerlach Device Tree bindings for Altera Partial Reconfiguration IP. v3: s/altr,pr-ip/altr,a10-pr-ip/ v2: s/Reconfiguraion/Reconfiguration/ Signed-off-by: Matthew Gerlach --- Documentation/devicetree/bindings/fpga/altera-pr-ip.txt | 12 1 file

Re: [PATCH 2/2] xfs: back off from kmem_zalloc_greedy if the task is killed

2017-03-02 Thread Brian Foster
On Thu, Mar 02, 2017 at 04:45:41PM +0100, Michal Hocko wrote: > From: Michal Hocko > > It doesn't really make much sense to retry vmalloc request if the > current task is killed. We should rather bail out as soon as possible > and let it RIP as soon as possible. The current implementation of >

[PATCH 4/6] cpufreq: schedutil: relax rate-limiting while running RT/DL tasks

2017-03-02 Thread Patrick Bellasi
The policy in use for RT/DL tasks sets the maximum frequency when a task in these classes calls for a cpufreq_update_this_cpu(). However, the current implementation is still enforcing a frequency switch rate limiting when these tasks are running. This is potentially working against the goal to

[PATCH 4/6] cpufreq: schedutil: relax rate-limiting while running RT/DL tasks

2017-03-02 Thread Patrick Bellasi
The policy in use for RT/DL tasks sets the maximum frequency when a task in these classes calls for a cpufreq_update_this_cpu(). However, the current implementation is still enforcing a frequency switch rate limiting when these tasks are running. This is potentially working against the goal to

[PATCH 08/11] ARM64: dts: meson-gx: Add shared CMA dma memory pool

2017-03-02 Thread Neil Armstrong
The HDMI modes needs more CMA memory to be reserved at boot-time. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi

[PATCH 08/11] ARM64: dts: meson-gx: Add shared CMA dma memory pool

2017-03-02 Thread Neil Armstrong
The HDMI modes needs more CMA memory to be reserved at boot-time. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index

[PATCH 4/4] thp: fix MADV_DONTNEED vs clear soft dirty race

2017-03-02 Thread Kirill A. Shutemov
Yet another instance of the same race. Fix is identical to change_huge_pmd(). Signed-off-by: Kirill A. Shutemov --- fs/proc/task_mmu.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index

[PATCH 4/4] thp: fix MADV_DONTNEED vs clear soft dirty race

2017-03-02 Thread Kirill A. Shutemov
Yet another instance of the same race. Fix is identical to change_huge_pmd(). Signed-off-by: Kirill A. Shutemov --- fs/proc/task_mmu.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index ee3efb229ef6..0ce5294abc2c 100644 ---

[RFC PATCH v2 22/32] kvm: svm: prepare to reserve asid for SEV guest

2017-03-02 Thread Brijesh Singh
In current implementation, asid allocation starts from 1, this patch adds a min_asid variable in svm_vcpu structure to allow starting asid from something other than 1. Signed-off-by: Brijesh Singh Reviewed-by: Paolo Bonzini --- arch/x86/kvm/svm.c |

Re: [PATCH 5/7] net: stmmac: Program RX queue size and flow control

2017-03-02 Thread Joao Pinto
Às 5:24 PM de 2/23/2017, Thierry Reding escreveu: > From: Thierry Reding > > Program the receive queue size based on the RX FIFO size and enable > hardware flow control for large FIFOs. > > Signed-off-by: Thierry Reding > --- >

[RFC PATCH v2 22/32] kvm: svm: prepare to reserve asid for SEV guest

2017-03-02 Thread Brijesh Singh
In current implementation, asid allocation starts from 1, this patch adds a min_asid variable in svm_vcpu structure to allow starting asid from something other than 1. Signed-off-by: Brijesh Singh Reviewed-by: Paolo Bonzini --- arch/x86/kvm/svm.c |4 +++- 1 file changed, 3 insertions(+), 1

Re: [PATCH 5/7] net: stmmac: Program RX queue size and flow control

2017-03-02 Thread Joao Pinto
Às 5:24 PM de 2/23/2017, Thierry Reding escreveu: > From: Thierry Reding > > Program the receive queue size based on the RX FIFO size and enable > hardware flow control for large FIFOs. > > Signed-off-by: Thierry Reding > --- > drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 12 +++ >

[PATCH 11/11] MAINTAINERS: update files for Amlogic DRM Driver

2017-03-02 Thread Neil Armstrong
This patch adds the dw-hdmi bindings to maintained files. Signed-off-by: Neil Armstrong --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8d302c0..3869d7b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4255,6 +4255,7 @@

[PATCH 11/11] MAINTAINERS: update files for Amlogic DRM Driver

2017-03-02 Thread Neil Armstrong
This patch adds the dw-hdmi bindings to maintained files. Signed-off-by: Neil Armstrong --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8d302c0..3869d7b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4255,6 +4255,7 @@ W:

[RFC PATCH v2 24/32] kvm: x86: prepare for SEV guest management API support

2017-03-02 Thread Brijesh Singh
The patch adds initial support required to integrate Secure Encrypted Virtualization (SEV) feature. ASID management: - Reserve asid range for SEV guest, SEV asid range is obtained through CPUID Fn8000_001f[ECX]. A non-SEV guest can use any asid outside the SEV asid range. - SEV guest must

[RFC PATCH v2 24/32] kvm: x86: prepare for SEV guest management API support

2017-03-02 Thread Brijesh Singh
The patch adds initial support required to integrate Secure Encrypted Virtualization (SEV) feature. ASID management: - Reserve asid range for SEV guest, SEV asid range is obtained through CPUID Fn8000_001f[ECX]. A non-SEV guest can use any asid outside the SEV asid range. - SEV guest must

[PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race

2017-03-02 Thread Kirill A. Shutemov
Basically the same race as with numa balancing in change_huge_pmd(), but a bit simpler to mitigate: we don't need to preserve dirty/young flags here due to MADV_FREE functionality. Signed-off-by: Kirill A. Shutemov Cc: Minchan Kim ---

[PATCH v2] tpm: do not suspend/resume if power stays on

2017-03-02 Thread Enric Balletbo i Serra
From: Sonny Rao The suspend/resume behavior of the TPM can be controlled by setting "powered-while-suspended" in the DTS. This is useful for the cases when hardware does not power-off the TPM. Signed-off-by: Sonny Rao Signed-off-by: Enric Balletbo

[PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race

2017-03-02 Thread Kirill A. Shutemov
Basically the same race as with numa balancing in change_huge_pmd(), but a bit simpler to mitigate: we don't need to preserve dirty/young flags here due to MADV_FREE functionality. Signed-off-by: Kirill A. Shutemov Cc: Minchan Kim --- mm/huge_memory.c | 2 -- 1 file changed, 2 deletions(-)

[PATCH v2] tpm: do not suspend/resume if power stays on

2017-03-02 Thread Enric Balletbo i Serra
From: Sonny Rao The suspend/resume behavior of the TPM can be controlled by setting "powered-while-suspended" in the DTS. This is useful for the cases when hardware does not power-off the TPM. Signed-off-by: Sonny Rao Signed-off-by: Enric Balletbo i Serra --- Changes since v1: Jason

Re: [WIP BRANCH] cgroups support in bfq-mq WIP branch

2017-03-02 Thread Jens Axboe
On 03/02/2017 03:15 AM, Paolo Valente wrote: > >> Il giorno 25 feb 2017, alle ore 19:52, Jens Axboe ha >> scritto: >> >> On 02/25/2017 10:44 AM, Paolo Valente wrote: >>> Hi, >>> I've just completed cgroups support, and I'd like to highlight the >>> main blk-mq issue that I have

Re: [WIP BRANCH] cgroups support in bfq-mq WIP branch

2017-03-02 Thread Jens Axboe
On 03/02/2017 03:15 AM, Paolo Valente wrote: > >> Il giorno 25 feb 2017, alle ore 19:52, Jens Axboe ha >> scritto: >> >> On 02/25/2017 10:44 AM, Paolo Valente wrote: >>> Hi, >>> I've just completed cgroups support, and I'd like to highlight the >>> main blk-mq issue that I have found along the

[PATCH 1/4] thp: reduce indentation level in change_huge_pmd()

2017-03-02 Thread Kirill A. Shutemov
Restructure code in preparation for a fix. Signed-off-by: Kirill A. Shutemov --- mm/huge_memory.c | 52 ++-- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index

[PATCH 6/6] sched/rt: fast switch to maximum frequency when RT tasks are scheduled

2017-03-02 Thread Patrick Bellasi
Currently schedutil updates are triggered for the RT class using a single call place, which is part of the rt::update_curr_rt() used in: - dequeue_task_rt: but it does not make sense to set the schedutil's SCHED_CPUFREQ_RT in case the next task should not be an RT one - put_prev_task_rt:

[PATCH 1/4] thp: reduce indentation level in change_huge_pmd()

2017-03-02 Thread Kirill A. Shutemov
Restructure code in preparation for a fix. Signed-off-by: Kirill A. Shutemov --- mm/huge_memory.c | 52 ++-- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 71e3dede95b4..e7ce73b2b208

[PATCH 6/6] sched/rt: fast switch to maximum frequency when RT tasks are scheduled

2017-03-02 Thread Patrick Bellasi
Currently schedutil updates are triggered for the RT class using a single call place, which is part of the rt::update_curr_rt() used in: - dequeue_task_rt: but it does not make sense to set the schedutil's SCHED_CPUFREQ_RT in case the next task should not be an RT one - put_prev_task_rt:

[PATCH 5/6] cpufreq: schedutil: avoid utilisation update when not necessary

2017-03-02 Thread Patrick Bellasi
Under certain conditions (i.e. CPU entering idle and current task being the sugov thread) we can skip a frequency update. Thus, let's postpone the collection of the FAIR utilisation when really needed. Signed-off-by: Patrick Bellasi Cc: Ingo Molnar Cc:

[PATCH 5/6] cpufreq: schedutil: avoid utilisation update when not necessary

2017-03-02 Thread Patrick Bellasi
Under certain conditions (i.e. CPU entering idle and current task being the sugov thread) we can skip a frequency update. Thus, let's postpone the collection of the FAIR utilisation when really needed. Signed-off-by: Patrick Bellasi Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Rafael J. Wysocki Cc:

[PATCH 1/2] xfs: allow kmem_zalloc_greedy to fail

2017-03-02 Thread Michal Hocko
From: Michal Hocko Even though kmem_zalloc_greedy is documented it might fail the current code doesn't really implement this properly and loops on the smallest allowed size for ever. This is a problem because vzalloc might fail permanently - we might run out of vmalloc space or

[PATCH 1/2] xfs: allow kmem_zalloc_greedy to fail

2017-03-02 Thread Michal Hocko
From: Michal Hocko Even though kmem_zalloc_greedy is documented it might fail the current code doesn't really implement this properly and loops on the smallest allowed size for ever. This is a problem because vzalloc might fail permanently - we might run out of vmalloc space or since

[PATCH 09/11] ARM64: dts: meson-gx: Add support for HDMI output

2017-03-02 Thread Neil Armstrong
Add HDMI output and connector nodes. Signed-off-by: Neil Armstrong --- .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 39 ++ arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 32 ++

[PATCH 2/3] Staging:wilc1000:host_interface: Fixed alignment to match open parenthesis

2017-03-02 Thread Georgios Emmanouil
Fixed alignment to match open parenthesis. Signed-off-by: Georgios Emmanouil --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c

[PATCH 09/11] ARM64: dts: meson-gx: Add support for HDMI output

2017-03-02 Thread Neil Armstrong
Add HDMI output and connector nodes. Signed-off-by: Neil Armstrong --- .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 39 ++ arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 32 ++ .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts| 23

[PATCH 2/3] Staging:wilc1000:host_interface: Fixed alignment to match open parenthesis

2017-03-02 Thread Georgios Emmanouil
Fixed alignment to match open parenthesis. Signed-off-by: Georgios Emmanouil --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index

Re: [RESEND PATCH 2/2] phy: rockchip-inno-usb2: add support of u2phy for rk3328

2017-03-02 Thread kbuild test robot
Hi Meng, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.10 next-20170302] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Meng-Dongyang/Documentation-bindings-add-DT

Re: [RESEND PATCH 2/2] phy: rockchip-inno-usb2: add support of u2phy for rk3328

2017-03-02 Thread kbuild test robot
Hi Meng, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.10 next-20170302] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Meng-Dongyang/Documentation-bindings-add-DT

Re: [PATCH 2/2] vfio: type1: conditionally check MSI remapping at irq domain level

2017-03-02 Thread Mian Yousaf Kaukab
On 03/02/2017 02:46 PM, Auger Eric wrote: Hi, On 02/03/2017 13:38, Mian Yousaf Kaukab wrote: On 03/02/2017 11:24 AM, Auger Eric wrote: Hi, On 02/03/2017 11:01, Mian Yousaf Kaukab wrote: Check only if irq domains are available. Signed-off-by: Mian Yousaf Kaukab ---

Re: [PATCH 2/2] vfio: type1: conditionally check MSI remapping at irq domain level

2017-03-02 Thread Mian Yousaf Kaukab
On 03/02/2017 02:46 PM, Auger Eric wrote: Hi, On 02/03/2017 13:38, Mian Yousaf Kaukab wrote: On 03/02/2017 11:24 AM, Auger Eric wrote: Hi, On 02/03/2017 11:01, Mian Yousaf Kaukab wrote: Check only if irq domains are available. Signed-off-by: Mian Yousaf Kaukab ---

[PATCH 3/6] cpufreq: schedutil: ensure max frequency while running RT/DL tasks

2017-03-02 Thread Patrick Bellasi
The policy in use for RT/DL tasks sets the maximum frequency when a task in these classes calls for a cpufreq_update_this_cpu(). However, the current implementation might cause a frequency drop while a RT/DL task is still running, just because for example a FAIR task wakes up and is enqueued in

[PATCH 3/6] cpufreq: schedutil: ensure max frequency while running RT/DL tasks

2017-03-02 Thread Patrick Bellasi
The policy in use for RT/DL tasks sets the maximum frequency when a task in these classes calls for a cpufreq_update_this_cpu(). However, the current implementation might cause a frequency drop while a RT/DL task is still running, just because for example a FAIR task wakes up and is enqueued in

<    6   7   8   9   10   11   12   13   14   15   >