[PATCH] tpm: fix parameter order in tpm_getcap()

2017-02-01 Thread Jarkko Sakkinen
The parameter order mismatches tpm_transmit_cmd(). Fixes: c659af78eb7b ("tpm: Check size of response before accessing data") Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-interface.c | 14 +++--- drivers/char/tpm/tpm-sysfs.c | 33

[PATCH] tpm: fix parameter order in tpm_getcap()

2017-02-01 Thread Jarkko Sakkinen
The parameter order mismatches tpm_transmit_cmd(). Fixes: c659af78eb7b ("tpm: Check size of response before accessing data") Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-interface.c | 14 +++--- drivers/char/tpm/tpm-sysfs.c | 33 -

Re: [PATCH v4 3/6] drm/rockchip/dsi: dw-mipi: correct the coding style

2017-02-01 Thread Sean Paul
On Tue, Jan 24, 2017 at 10:38:03AM +0800, Chris Zhong wrote: > correct the coding style, according the checkpatch scripts > Reviewed-by: Sean Paul > Signed-off-by: Chris Zhong > --- > > Changes in v4: None > Changes in v3: None > >

Re: Radix tree range entries

2017-02-01 Thread Dan Williams
On Tue, Jan 31, 2017 at 8:59 AM, Matthew Wilcox wrote: > Hi Dan, Konstantin, > > You've been interested in using range entries in the radix tree rather > than higher-order entries. I've built a range entry interface on top > of our current radix tree substrate, and it seems

Re: [PATCH v4 3/6] drm/rockchip/dsi: dw-mipi: correct the coding style

2017-02-01 Thread Sean Paul
On Tue, Jan 24, 2017 at 10:38:03AM +0800, Chris Zhong wrote: > correct the coding style, according the checkpatch scripts > Reviewed-by: Sean Paul > Signed-off-by: Chris Zhong > --- > > Changes in v4: None > Changes in v3: None > > drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 33

Re: Radix tree range entries

2017-02-01 Thread Dan Williams
On Tue, Jan 31, 2017 at 8:59 AM, Matthew Wilcox wrote: > Hi Dan, Konstantin, > > You've been interested in using range entries in the radix tree rather > than higher-order entries. I've built a range entry interface on top > of our current radix tree substrate, and it seems to be behaving itself

Re: crypto: NULL deref in sha512_mb_mgr_get_comp_job_avx2

2017-02-01 Thread Tim Chen
On Tue, Jan 31, 2017 at 02:16:31PM +0100, Dmitry Vyukov wrote: > Hello, > > I am getting the following reports with low frequency while running > syzkaller fuzzer. Unfortunately they are not reproducible and happen > in a background thread, so it is difficult to extract any context on > my side.

Re: crypto: NULL deref in sha512_mb_mgr_get_comp_job_avx2

2017-02-01 Thread Tim Chen
On Tue, Jan 31, 2017 at 02:16:31PM +0100, Dmitry Vyukov wrote: > Hello, > > I am getting the following reports with low frequency while running > syzkaller fuzzer. Unfortunately they are not reproducible and happen > in a background thread, so it is difficult to extract any context on > my side.

Re: [PATCH v4 2/6] drm/rockchip/dsi: dw-mipi: support RK3399 mipi dsi

2017-02-01 Thread Sean Paul
On Tue, Jan 24, 2017 at 10:38:02AM +0800, Chris Zhong wrote: > The vopb/vopl switch register of RK3399 mipi is different from RK3288, > the default setting for mipi dsi mode is different too, so add a > of_device_id structure to distinguish them, and make sure set the > correct mode before mipi

Re: [PATCH v4 2/6] drm/rockchip/dsi: dw-mipi: support RK3399 mipi dsi

2017-02-01 Thread Sean Paul
On Tue, Jan 24, 2017 at 10:38:02AM +0800, Chris Zhong wrote: > The vopb/vopl switch register of RK3399 mipi is different from RK3288, > the default setting for mipi dsi mode is different too, so add a > of_device_id structure to distinguish them, and make sure set the > correct mode before mipi

Re: [PATCH v3 18/24] media: imx: Add SMFC subdev driver

2017-02-01 Thread Russell King - ARM Linux
Hi Steve, On Fri, Jan 06, 2017 at 06:11:36PM -0800, Steve Longerbeam wrote: > +/* > + * Min/Max supported width and heights. > + * > + * We allow planar output from the SMFC, so we have to align > + * output width by 16 pixels to meet IDMAC alignment requirements, > + * which also means input

Re: [PATCH] tpm: fix type issues in tpm_getcap()

2017-02-01 Thread Jarkko Sakkinen
On Wed, Feb 01, 2017 at 07:53:47PM +0200, Jarkko Sakkinen wrote: > There are two type issues associated with tpm_getcap(). > > You must not do arithmetic with __be32 or __le32 types because sometimes > it results incorrect results. Calculations must be done only with data > that is in CPU byte

Re: [PATCH v3 18/24] media: imx: Add SMFC subdev driver

2017-02-01 Thread Russell King - ARM Linux
Hi Steve, On Fri, Jan 06, 2017 at 06:11:36PM -0800, Steve Longerbeam wrote: > +/* > + * Min/Max supported width and heights. > + * > + * We allow planar output from the SMFC, so we have to align > + * output width by 16 pixels to meet IDMAC alignment requirements, > + * which also means input

Re: [PATCH] tpm: fix type issues in tpm_getcap()

2017-02-01 Thread Jarkko Sakkinen
On Wed, Feb 01, 2017 at 07:53:47PM +0200, Jarkko Sakkinen wrote: > There are two type issues associated with tpm_getcap(). > > You must not do arithmetic with __be32 or __le32 types because sometimes > it results incorrect results. Calculations must be done only with data > that is in CPU byte

[PATCH] libnvdimm, namespace: do not delete namespace-id 0

2017-02-01 Thread Dan Williams
Given that the naming of pmem devices changes from the pmemX form to the pmemX.Y form when namespace id is greater than 0, arrange for namespaces with id-0 to be exempt from deletion. Otherwise a simple reconfiguration of an existing namespace to a new mode results in a name change of the

[PATCH] libnvdimm, namespace: do not delete namespace-id 0

2017-02-01 Thread Dan Williams
Given that the naming of pmem devices changes from the pmemX form to the pmemX.Y form when namespace id is greater than 0, arrange for namespaces with id-0 to be exempt from deletion. Otherwise a simple reconfiguration of an existing namespace to a new mode results in a name change of the

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Catalin Marinas
On Wed, Feb 01, 2017 at 06:34:01PM +, Will Deacon wrote: > On Wed, Feb 01, 2017 at 06:22:44PM +, Catalin Marinas wrote: > > On Wed, Feb 01, 2017 at 05:59:48PM +, Will Deacon wrote: > > > On Wed, Feb 01, 2017 at 05:49:34PM +, Catalin Marinas wrote: > > > > On Wed, Feb 01, 2017 at

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Catalin Marinas
On Wed, Feb 01, 2017 at 06:34:01PM +, Will Deacon wrote: > On Wed, Feb 01, 2017 at 06:22:44PM +, Catalin Marinas wrote: > > On Wed, Feb 01, 2017 at 05:59:48PM +, Will Deacon wrote: > > > On Wed, Feb 01, 2017 at 05:49:34PM +, Catalin Marinas wrote: > > > > On Wed, Feb 01, 2017 at

Re: [PATCH v4 3/3] spi: acpi: Initialize modalias from of_compatible

2017-02-01 Thread Mark Brown
On Fri, Jan 27, 2017 at 01:30:15PM +, Dan O'Donovan wrote: > + if (acpi_of_modalias(adev, spi->modalias, sizeof(spi->modalias))) > + strlcpy(spi->modalias, acpi_device_hid(adev), > + sizeof(spi->modalias)); I can't help but think that this would be simpler

Re: [PATCH v4 3/3] spi: acpi: Initialize modalias from of_compatible

2017-02-01 Thread Mark Brown
On Fri, Jan 27, 2017 at 01:30:15PM +, Dan O'Donovan wrote: > + if (acpi_of_modalias(adev, spi->modalias, sizeof(spi->modalias))) > + strlcpy(spi->modalias, acpi_device_hid(adev), > + sizeof(spi->modalias)); I can't help but think that this would be simpler

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Will Deacon
On Wed, Feb 01, 2017 at 06:22:44PM +, Catalin Marinas wrote: > On Wed, Feb 01, 2017 at 05:59:48PM +, Will Deacon wrote: > > On Wed, Feb 01, 2017 at 05:49:34PM +, Catalin Marinas wrote: > > > On Wed, Feb 01, 2017 at 05:41:05PM +, Will Deacon wrote: > > > > Maybe > > > > just select

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Will Deacon
On Wed, Feb 01, 2017 at 06:22:44PM +, Catalin Marinas wrote: > On Wed, Feb 01, 2017 at 05:59:48PM +, Will Deacon wrote: > > On Wed, Feb 01, 2017 at 05:49:34PM +, Catalin Marinas wrote: > > > On Wed, Feb 01, 2017 at 05:41:05PM +, Will Deacon wrote: > > > > Maybe > > > > just select

Re: [PATCH v3] platform: chrome: Add Tablet Switch ACPI driver

2017-02-01 Thread Benson Leung
Thanks Gwendal for adding the resume handling. Glad to have been able to catch that early. On 01/30/2017 03:47 PM, Gwendal Grignou wrote: > Add a kernel driver for GOOG0006, an ACPI driver reporting an event when > the tablet switch status changes. > > On an ACPI based convertible chromebook

Re: [PATCH v3] platform: chrome: Add Tablet Switch ACPI driver

2017-02-01 Thread Benson Leung
Thanks Gwendal for adding the resume handling. Glad to have been able to catch that early. On 01/30/2017 03:47 PM, Gwendal Grignou wrote: > Add a kernel driver for GOOG0006, an ACPI driver reporting an event when > the tablet switch status changes. > > On an ACPI based convertible chromebook

Re: [PATCH] tpm: fix type issues in tpm_getcap()

2017-02-01 Thread Jarkko Sakkinen
On Wed, Feb 01, 2017 at 08:18:45PM +0200, Jarkko Sakkinen wrote: > On Wed, Feb 01, 2017 at 07:53:47PM +0200, Jarkko Sakkinen wrote: > > There are two type issues associated with tpm_getcap(). > > > > You must not do arithmetic with __be32 or __le32 types because sometimes > > it results incorrect

Re: [PATCH] tpm: fix type issues in tpm_getcap()

2017-02-01 Thread Jarkko Sakkinen
On Wed, Feb 01, 2017 at 08:18:45PM +0200, Jarkko Sakkinen wrote: > On Wed, Feb 01, 2017 at 07:53:47PM +0200, Jarkko Sakkinen wrote: > > There are two type issues associated with tpm_getcap(). > > > > You must not do arithmetic with __be32 or __le32 types because sometimes > > it results incorrect

Re: Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for TPM 2.0 firmware event log

2017-02-01 Thread Jarkko Sakkinen
On Wed, Feb 01, 2017 at 01:01:06PM +0530, Nayna wrote: > > > On 02/01/2017 02:20 AM, Jarkko Sakkinen wrote: > > On Wed, Feb 01, 2017 at 12:14:12AM +0530, Nayna wrote: > > > > I already sent my pull request to 4.11 and even today I found something > > > > fishy. You declared a function local

Re: Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for TPM 2.0 firmware event log

2017-02-01 Thread Jarkko Sakkinen
On Wed, Feb 01, 2017 at 01:01:06PM +0530, Nayna wrote: > > > On 02/01/2017 02:20 AM, Jarkko Sakkinen wrote: > > On Wed, Feb 01, 2017 at 12:14:12AM +0530, Nayna wrote: > > > > I already sent my pull request to 4.11 and even today I found something > > > > fishy. You declared a function local

RE: [PATCH 1/2] iio: pressure: mpl3115: do not rely on structure field ordering

2017-02-01 Thread Ken.Lin
> -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Wednesday, February 1, 2017 2:18 AM > To: Peter Meerwald-Stadler > Cc: linux-kernel@vger.kernel.org; Jonathan Cameron; Hartmut Knaack; Lars- > Peter Clausen; Alison Schofield; Gregor Boirie; Sanchayan Maity;

RE: [PATCH 1/2] iio: pressure: mpl3115: do not rely on structure field ordering

2017-02-01 Thread Ken.Lin
> -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Wednesday, February 1, 2017 2:18 AM > To: Peter Meerwald-Stadler > Cc: linux-kernel@vger.kernel.org; Jonathan Cameron; Hartmut Knaack; Lars- > Peter Clausen; Alison Schofield; Gregor Boirie; Sanchayan Maity;

[PATCH 1/2] locking/spinlock_debug: Reduce lockup suspected message clutter

2017-02-01 Thread Waiman Long
When the debug spinlock code detects a lockup, it will print out an error messages as well as the backtraces of all the CPUs. However, if more than one CPUs are waiting on that lock, multiple lockup messages will be printed leading to garbled output. To reduce clutter in the console log, now only

[PATCH 1/2] locking/spinlock_debug: Reduce lockup suspected message clutter

2017-02-01 Thread Waiman Long
When the debug spinlock code detects a lockup, it will print out an error messages as well as the backtraces of all the CPUs. However, if more than one CPUs are waiting on that lock, multiple lockup messages will be printed leading to garbled output. To reduce clutter in the console log, now only

[PATCH 0/2] locking/spinlock_debug: Change it to a mostly fair lock

2017-02-01 Thread Waiman Long
The current debug spinlock implementation is a TATAS unfair lock. This can occasionally lead to system lockup with a debug kernel because of the unfairness of the lock rather than inherent locking problem. This patch set changes the debug spinlock implementation to a mostly fair spinlock based on

[PATCH 2/2] locking/spinlock_debug: Reduce lock cacheline contention

2017-02-01 Thread Waiman Long
The debug spinlock code is a basic TATAS unfair lock irrespective of what the underlying architecture specific spinlock implementation is. As a result, it is sometimes possible to trigger a false positive "lockup suspected" warning with all the cpu backtraces. This patch re-implements the debug

[PATCH 0/2] locking/spinlock_debug: Change it to a mostly fair lock

2017-02-01 Thread Waiman Long
The current debug spinlock implementation is a TATAS unfair lock. This can occasionally lead to system lockup with a debug kernel because of the unfairness of the lock rather than inherent locking problem. This patch set changes the debug spinlock implementation to a mostly fair spinlock based on

[PATCH 2/2] locking/spinlock_debug: Reduce lock cacheline contention

2017-02-01 Thread Waiman Long
The debug spinlock code is a basic TATAS unfair lock irrespective of what the underlying architecture specific spinlock implementation is. As a result, it is sometimes possible to trigger a false positive "lockup suspected" warning with all the cpu backtraces. This patch re-implements the debug

Re: Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for TPM 2.0 firmware event log

2017-02-01 Thread Jarkko Sakkinen
On Wed, Feb 01, 2017 at 08:49:30AM -0500, Mimi Zohar wrote: > On Wed, 2017-02-01 at 12:30 +0200, Jarkko Sakkinen wrote: > > On Tue, Jan 31, 2017 at 05:31:50PM -0500, Mimi Zohar wrote: > > > On Wed, 2017-02-01 at 08:46 +1100, James Morris wrote: > > > > On Tue, 31 Jan 2017, Jarkko Sakkinen wrote: >

Re: Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for TPM 2.0 firmware event log

2017-02-01 Thread Jarkko Sakkinen
On Wed, Feb 01, 2017 at 08:49:30AM -0500, Mimi Zohar wrote: > On Wed, 2017-02-01 at 12:30 +0200, Jarkko Sakkinen wrote: > > On Tue, Jan 31, 2017 at 05:31:50PM -0500, Mimi Zohar wrote: > > > On Wed, 2017-02-01 at 08:46 +1100, James Morris wrote: > > > > On Tue, 31 Jan 2017, Jarkko Sakkinen wrote: >

[PATCH] arm64: dts: apq8016-sbc: Add ramoops

2017-02-01 Thread Bjorn Andersson
Declare a ramoops memory segment to aid debugging for those without UART access. Verified to carry console log when holding volume down for 15 seconds. I was unable to find any ramoops-like memory region used in the 8916 downstream kernels, so the picked region is the last MB in System RAM. No

[PATCH] arm64: dts: apq8016-sbc: Add ramoops

2017-02-01 Thread Bjorn Andersson
Declare a ramoops memory segment to aid debugging for those without UART access. Verified to carry console log when holding volume down for 15 seconds. I was unable to find any ramoops-like memory region used in the 8916 downstream kernels, so the picked region is the last MB in System RAM. No

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Catalin Marinas
On Wed, Feb 01, 2017 at 05:59:48PM +, Will Deacon wrote: > On Wed, Feb 01, 2017 at 05:49:34PM +, Catalin Marinas wrote: > > On Wed, Feb 01, 2017 at 05:41:05PM +, Will Deacon wrote: > > > On Wed, Feb 01, 2017 at 05:36:09PM +, Catalin Marinas wrote: > > > > On Wed, Feb 01, 2017 at

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Catalin Marinas
On Wed, Feb 01, 2017 at 05:59:48PM +, Will Deacon wrote: > On Wed, Feb 01, 2017 at 05:49:34PM +, Catalin Marinas wrote: > > On Wed, Feb 01, 2017 at 05:41:05PM +, Will Deacon wrote: > > > On Wed, Feb 01, 2017 at 05:36:09PM +, Catalin Marinas wrote: > > > > On Wed, Feb 01, 2017 at

Re: Build failure with v4.9-rc1 and GCC trunk -- compiler weirdness

2017-02-01 Thread Ard Biesheuvel
On 1 February 2017 at 17:36, Ard Biesheuvel wrote: > On 1 February 2017 at 16:58, Laura Abbott wrote: >> On 10/19/2016 09:22 AM, Will Deacon wrote: >>> On Wed, Oct 19, 2016 at 09:01:33AM -0700, Linus Torvalds wrote: On Wed, Oct 19, 2016 at 8:56

Re: Build failure with v4.9-rc1 and GCC trunk -- compiler weirdness

2017-02-01 Thread Ard Biesheuvel
On 1 February 2017 at 17:36, Ard Biesheuvel wrote: > On 1 February 2017 at 16:58, Laura Abbott wrote: >> On 10/19/2016 09:22 AM, Will Deacon wrote: >>> On Wed, Oct 19, 2016 at 09:01:33AM -0700, Linus Torvalds wrote: On Wed, Oct 19, 2016 at 8:56 AM, Markus Trippelsdorf wrote: > On

Re: [PATCH] tpm: fix type issues in tpm_getcap()

2017-02-01 Thread Jarkko Sakkinen
On Wed, Feb 01, 2017 at 07:53:47PM +0200, Jarkko Sakkinen wrote: > There are two type issues associated with tpm_getcap(). > > You must not do arithmetic with __be32 or __le32 types because sometimes > it results incorrect results. Calculations must be done only with data > that is in CPU byte

Re: [PATCH] tpm: fix type issues in tpm_getcap()

2017-02-01 Thread Jarkko Sakkinen
On Wed, Feb 01, 2017 at 07:53:47PM +0200, Jarkko Sakkinen wrote: > There are two type issues associated with tpm_getcap(). > > You must not do arithmetic with __be32 or __le32 types because sometimes > it results incorrect results. Calculations must be done only with data > that is in CPU byte

Re: [PATCH] dt-bindings: display: move ANX7814 and SiI8620 bridge bindings

2017-02-01 Thread Thierry Reding
On Tue, Jan 31, 2017 at 11:54:17AM -0600, Rob Herring wrote: > A few bindings snuck into bindings/video/bridge since consolidating > everything under bindings/display/bridge/. Move them to the correct > spot. > > Cc: Andrzej Hajda > Cc: Archit Taneja

Re: [PATCH] dt-bindings: display: move ANX7814 and SiI8620 bridge bindings

2017-02-01 Thread Thierry Reding
On Tue, Jan 31, 2017 at 11:54:17AM -0600, Rob Herring wrote: > A few bindings snuck into bindings/video/bridge since consolidating > everything under bindings/display/bridge/. Move them to the correct > spot. > > Cc: Andrzej Hajda > Cc: Archit Taneja > Cc: Enric Balletbo i Serra > Cc: Thierry

Re: [PATCH V2 3/3] nvme: allocate nvme_queue in correct node

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

Re: [PATCH V2 3/3] nvme: allocate nvme_queue in correct node

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

Helpdesk

2017-02-01 Thread Anna Elisabeth Sailer
Dear E-mail User Please follow the link to update your webmail account http://sbjgqmz93.ukit.me Thank You

Helpdesk

2017-02-01 Thread Anna Elisabeth Sailer
Dear E-mail User Please follow the link to update your webmail account http://sbjgqmz93.ukit.me Thank You

Re: [PATCH v3 3/5] drm/rockchip/dsi: remove mode_valid function

2017-02-01 Thread Sean Paul
On Tue, Jan 24, 2017 at 10:27:27AM +0800, Chris Zhong wrote: > Hi Sean > > On 01/24/2017 01:48 AM, Sean Paul wrote: > >On Fri, Jan 20, 2017 at 06:10:49PM +0800, Chris Zhong wrote: > >>The MIPI DSI do not need check the validity of resolution, the max > >>resolution should depend VOP. Hence,

Re: [PATCH v3 3/5] drm/rockchip/dsi: remove mode_valid function

2017-02-01 Thread Sean Paul
On Tue, Jan 24, 2017 at 10:27:27AM +0800, Chris Zhong wrote: > Hi Sean > > On 01/24/2017 01:48 AM, Sean Paul wrote: > >On Fri, Jan 20, 2017 at 06:10:49PM +0800, Chris Zhong wrote: > >>The MIPI DSI do not need check the validity of resolution, the max > >>resolution should depend VOP. Hence,

Re: [PATCH V2 2/3] PCI: add an API to get node from vector

2017-02-01 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH V2 2/3] PCI: add an API to get node from vector

2017-02-01 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH v2] staging: rtl8188eu: remove not necessary braces {} (checkpatch fix)

2017-02-01 Thread Joe Perches
On Wed, 2017-02-01 at 18:36 +0200, Martin Karamihov wrote: > > On 02/01/2017 12:39 AM, Joe Perches wrote: > > On Tue, 2017-01-31 at 21:24 +0200, Martin Karamihov wrote: > > > This is checkpatch fix for hal/bb_cfg.c file: > > > remove not necessary braces {} > > > > > > Signed-off-by: Martin

Re: [PATCH v2] staging: rtl8188eu: remove not necessary braces {} (checkpatch fix)

2017-02-01 Thread Joe Perches
On Wed, 2017-02-01 at 18:36 +0200, Martin Karamihov wrote: > > On 02/01/2017 12:39 AM, Joe Perches wrote: > > On Tue, 2017-01-31 at 21:24 +0200, Martin Karamihov wrote: > > > This is checkpatch fix for hal/bb_cfg.c file: > > > remove not necessary braces {} > > > > > > Signed-off-by: Martin

Re: [PATCH V2 1/3] blk-mq: allocate blk_mq_tags and requests in correct node

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

Re: [PATCH V2 1/3] blk-mq: allocate blk_mq_tags and requests in correct node

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

Re: [PATCH 2/2] powerpc/pseries: Dynamically increase RMA size

2017-02-01 Thread Sukadev Bhattiprolu
Thiago Jung Bauermann [bauer...@linux.vnet.ibm.com] wrote: > Instead of this method of trying a small RMA size and rebooting to try a > bigger size, could the "min RMA percentage of total RAM" field of the > ibm_architecture_vec be used? We tried that and concluded that even 1% could end up

Re: [PATCH 2/2] powerpc/pseries: Dynamically increase RMA size

2017-02-01 Thread Sukadev Bhattiprolu
Thiago Jung Bauermann [bauer...@linux.vnet.ibm.com] wrote: > Instead of this method of trying a small RMA size and rebooting to try a > bigger size, could the "min RMA percentage of total RAM" field of the > ibm_architecture_vec be used? We tried that and concluded that even 1% could end up

Re: [PATCH v3] jump_label: reduce the size of struct static_key

2017-02-01 Thread Jason Baron
Hi Steve, On 01/31/2017 07:32 PM, Steven Rostedt wrote: > On Tue, 31 Jan 2017 17:00:43 -0500 > Jason Baron wrote: > >> --- >> Documentation/static-keys.txt | 4 +- >> include/linux/jump_label.h| 23 +--- >> kernel/jump_label.c | 126 >>

Re: [PATCH v3] jump_label: reduce the size of struct static_key

2017-02-01 Thread Jason Baron
Hi Steve, On 01/31/2017 07:32 PM, Steven Rostedt wrote: > On Tue, 31 Jan 2017 17:00:43 -0500 > Jason Baron wrote: > >> --- >> Documentation/static-keys.txt | 4 +- >> include/linux/jump_label.h| 23 +--- >> kernel/jump_label.c | 126 >>

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Will Deacon
On Wed, Feb 01, 2017 at 05:49:34PM +, Catalin Marinas wrote: > On Wed, Feb 01, 2017 at 05:41:05PM +, Will Deacon wrote: > > On Wed, Feb 01, 2017 at 05:36:09PM +, Catalin Marinas wrote: > > > On Wed, Feb 01, 2017 at 04:33:58PM +, Will Deacon wrote: > > > > On Wed, Feb 01, 2017 at

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Will Deacon
On Wed, Feb 01, 2017 at 05:49:34PM +, Catalin Marinas wrote: > On Wed, Feb 01, 2017 at 05:41:05PM +, Will Deacon wrote: > > On Wed, Feb 01, 2017 at 05:36:09PM +, Catalin Marinas wrote: > > > On Wed, Feb 01, 2017 at 04:33:58PM +, Will Deacon wrote: > > > > On Wed, Feb 01, 2017 at

Re: [PATCH 7/9] md: use kvmalloc rather than opencoded variant

2017-02-01 Thread Michal Hocko
On Wed 01-02-17 12:29:56, Mikulas Patocka wrote: > > > On Mon, 30 Jan 2017, Michal Hocko wrote: > > > From: Michal Hocko > > > > copy_params uses kmalloc with vmalloc fallback. We already have a helper > > for that - kvmalloc. This caller requires GFP_NOIO semantic so it

Re: [PATCH 7/9] md: use kvmalloc rather than opencoded variant

2017-02-01 Thread Michal Hocko
On Wed 01-02-17 12:29:56, Mikulas Patocka wrote: > > > On Mon, 30 Jan 2017, Michal Hocko wrote: > > > From: Michal Hocko > > > > copy_params uses kmalloc with vmalloc fallback. We already have a helper > > for that - kvmalloc. This caller requires GFP_NOIO semantic so it hasn't > > been

Re: [PATCH v2 3/3] PCI: imx6: Add code to support i.MX7D

2017-02-01 Thread Lucas Stach
Am Mittwoch, den 01.02.2017, 08:55 -0800 schrieb Andrey Smirnov: > Add various bits of code needed to support i.MX7D variant of the IP. > > Cc: yurov...@gmail.com > Cc: Lucas Stach > Cc: Bjorn Helgaas > Cc: Rob Herring > Cc: Mark

Re: [PATCH v2 3/3] PCI: imx6: Add code to support i.MX7D

2017-02-01 Thread Lucas Stach
Am Mittwoch, den 01.02.2017, 08:55 -0800 schrieb Andrey Smirnov: > Add various bits of code needed to support i.MX7D variant of the IP. > > Cc: yurov...@gmail.com > Cc: Lucas Stach > Cc: Bjorn Helgaas > Cc: Rob Herring > Cc: Mark Rutland > Cc: Lee Jones > Cc:

Re: [PATCH] input: cros_ec_keyb: Add Tablet Mode switch.

2017-02-01 Thread Dmitry Torokhov
On Fri, Jan 27, 2017 at 11:52:35AM +0100, Enric Balletbo i Serra wrote: > From: Gwendal Grignou > > Add switch to report tablet mode. > > Signed-off-by: Gwendal Grignou > Signed-off-by: Enric Balletbo Serra Acked-by:

Re: [PATCH] input: cros_ec_keyb: Add Tablet Mode switch.

2017-02-01 Thread Dmitry Torokhov
On Fri, Jan 27, 2017 at 11:52:35AM +0100, Enric Balletbo i Serra wrote: > From: Gwendal Grignou > > Add switch to report tablet mode. > > Signed-off-by: Gwendal Grignou > Signed-off-by: Enric Balletbo Serra Acked-by: Dmitry Torokhov Lee, can you please take it as well? > --- > > I should

[PATCH] tpm: fix type issues in tpm_getcap()

2017-02-01 Thread Jarkko Sakkinen
There are two type issues associated with tpm_getcap(). You must not do arithmetic with __be32 or __le32 types because sometimes it results incorrect results. Calculations must be done only with data that is in CPU byte order. This commit migrates tpm_getcap() to struct tpm_buf in order to sort

[PATCH] tpm: fix type issues in tpm_getcap()

2017-02-01 Thread Jarkko Sakkinen
There are two type issues associated with tpm_getcap(). You must not do arithmetic with __be32 or __le32 types because sometimes it results incorrect results. Calculations must be done only with data that is in CPU byte order. This commit migrates tpm_getcap() to struct tpm_buf in order to sort

[PATCH V2 1/3] blk-mq: allocate blk_mq_tags and requests in correct node

2017-02-01 Thread Shaohua Li
blk_mq_tags/requests of specific hardware queue are mostly used in specific cpus, which might not be in the same numa node as disk. For example, a nvme card is in node 0. half hardware queue will be used by node 0, the other node 1. Signed-off-by: Shaohua Li --- block/blk-mq.c | 21

[PATCH V2 1/3] blk-mq: allocate blk_mq_tags and requests in correct node

2017-02-01 Thread Shaohua Li
blk_mq_tags/requests of specific hardware queue are mostly used in specific cpus, which might not be in the same numa node as disk. For example, a nvme card is in node 0. half hardware queue will be used by node 0, the other node 1. Signed-off-by: Shaohua Li --- block/blk-mq.c | 21

Re: [PATCH 1/2] mfd: cros-ec: Update cros_ec_commands.h for buttons and switches

2017-02-01 Thread Dmitry Torokhov
On Mon, Jan 23, 2017 at 12:13:19PM +, Lee Jones wrote: > On Fri, 20 Jan 2017, Enric Balletbo i Serra wrote: > > > From: Douglas Anderson > > > > Add the defines for the new buttons and switches connected to the CrosEC. > > > > Signed-off-by: Douglas Anderson

Re: [PATCH 1/2] mfd: cros-ec: Update cros_ec_commands.h for buttons and switches

2017-02-01 Thread Dmitry Torokhov
On Mon, Jan 23, 2017 at 12:13:19PM +, Lee Jones wrote: > On Fri, 20 Jan 2017, Enric Balletbo i Serra wrote: > > > From: Douglas Anderson > > > > Add the defines for the new buttons and switches connected to the CrosEC. > > > > Signed-off-by: Douglas Anderson > > Signed-off-by: Enric

[PATCH V2 2/3] PCI: add an API to get node from vector

2017-02-01 Thread Shaohua Li
Next patch will use the API to get the node from vector for nvme device Signed-off-by: Shaohua Li --- drivers/pci/msi.c | 16 include/linux/pci.h | 6 ++ 2 files changed, 22 insertions(+) diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index

[PATCH V2 2/3] PCI: add an API to get node from vector

2017-02-01 Thread Shaohua Li
Next patch will use the API to get the node from vector for nvme device Signed-off-by: Shaohua Li --- drivers/pci/msi.c | 16 include/linux/pci.h | 6 ++ 2 files changed, 22 insertions(+) diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 50c5003..ab7aee7 100644

[PATCH V2 3/3] nvme: allocate nvme_queue in correct node

2017-02-01 Thread Shaohua Li
nvme_queue is per-cpu queue (mostly). Allocating it in node where blk-mq will use it. Signed-off-by: Shaohua Li --- drivers/nvme/host/pci.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index

[PATCH V2 3/3] nvme: allocate nvme_queue in correct node

2017-02-01 Thread Shaohua Li
nvme_queue is per-cpu queue (mostly). Allocating it in node where blk-mq will use it. Signed-off-by: Shaohua Li --- drivers/nvme/host/pci.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 032237c..9733008

Re: [PATCH 1/3] arc: vdk: Disable halt on reset

2017-02-01 Thread Alexey Brodkin
Hi Vineet, On Wed, 2017-02-01 at 09:37 -0800, Vineet Gupta wrote: > On 02/01/2017 09:14 AM, Alexey Brodkin wrote: > > > > > > > > > > > > > -# CONFIG_ARC_TIMERS_64BIT is not set > > > > > > Are you sure abut this part. Ater the timers driver rework, this would > > > enable GFRC > > > for SMP

Re: [PATCH 1/3] arc: vdk: Disable halt on reset

2017-02-01 Thread Alexey Brodkin
Hi Vineet, On Wed, 2017-02-01 at 09:37 -0800, Vineet Gupta wrote: > On 02/01/2017 09:14 AM, Alexey Brodkin wrote: > > > > > > > > > > > > > -# CONFIG_ARC_TIMERS_64BIT is not set > > > > > > Are you sure abut this part. Ater the timers driver rework, this would > > > enable GFRC > > > for SMP

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Catalin Marinas
On Wed, Feb 01, 2017 at 05:49:34PM +, Catalin Marinas wrote: > On Wed, Feb 01, 2017 at 05:41:05PM +, Will Deacon wrote: > > On Wed, Feb 01, 2017 at 05:36:09PM +, Catalin Marinas wrote: > > > On Wed, Feb 01, 2017 at 04:33:58PM +, Will Deacon wrote: > > > > On Wed, Feb 01, 2017 at

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Catalin Marinas
On Wed, Feb 01, 2017 at 05:49:34PM +, Catalin Marinas wrote: > On Wed, Feb 01, 2017 at 05:41:05PM +, Will Deacon wrote: > > On Wed, Feb 01, 2017 at 05:36:09PM +, Catalin Marinas wrote: > > > On Wed, Feb 01, 2017 at 04:33:58PM +, Will Deacon wrote: > > > > On Wed, Feb 01, 2017 at

Re: [PATCH 2/2] input: cros_ec_keyb: Add non-matrix buttons and switches

2017-02-01 Thread Dmitry Torokhov
On Fri, Jan 20, 2017 at 11:14:15AM +0100, Enric Balletbo i Serra wrote: > From: Douglas Anderson > > On some newer boards using mkbp we're hooking up non-matrix buttons and > switches to the EC but NOT to the main application processor. > > Let's add kernel support to

Re: [PATCH 2/2] input: cros_ec_keyb: Add non-matrix buttons and switches

2017-02-01 Thread Dmitry Torokhov
On Fri, Jan 20, 2017 at 11:14:15AM +0100, Enric Balletbo i Serra wrote: > From: Douglas Anderson > > On some newer boards using mkbp we're hooking up non-matrix buttons and > switches to the EC but NOT to the main application processor. > > Let's add kernel support to handle this. Rather than

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Catalin Marinas
On Wed, Feb 01, 2017 at 05:41:05PM +, Will Deacon wrote: > On Wed, Feb 01, 2017 at 05:36:09PM +, Catalin Marinas wrote: > > On Wed, Feb 01, 2017 at 04:33:58PM +, Will Deacon wrote: > > > On Wed, Feb 01, 2017 at 11:29:22AM -0500, Christopher Covington wrote: > > > > On 01/31/2017 12:56

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-01 Thread Catalin Marinas
On Wed, Feb 01, 2017 at 05:41:05PM +, Will Deacon wrote: > On Wed, Feb 01, 2017 at 05:36:09PM +, Catalin Marinas wrote: > > On Wed, Feb 01, 2017 at 04:33:58PM +, Will Deacon wrote: > > > On Wed, Feb 01, 2017 at 11:29:22AM -0500, Christopher Covington wrote: > > > > On 01/31/2017 12:56

Re: [PATCH] efi: fdt: avoid FDT manipulation after ExitBootServices()

2017-02-01 Thread Leif Lindholm
On Wed, Feb 01, 2017 at 05:45:02PM +, Ard Biesheuvel wrote: > Some AArch64 UEFI implementations disable the MMU in ExitBootServices(), > after which unaligned accesses to RAM are no longer supported. > > Commit abfb7b686a3e ("efi/libstub/arm*: Pass latest memory map to the > kernel") fixed an

Re: [PATCH] efi: fdt: avoid FDT manipulation after ExitBootServices()

2017-02-01 Thread Leif Lindholm
On Wed, Feb 01, 2017 at 05:45:02PM +, Ard Biesheuvel wrote: > Some AArch64 UEFI implementations disable the MMU in ExitBootServices(), > after which unaligned accesses to RAM are no longer supported. > > Commit abfb7b686a3e ("efi/libstub/arm*: Pass latest memory map to the > kernel") fixed an

Re: [PATCH v2 2/3] PCI: imx6: Allow probe deferal by reset GPIO

2017-02-01 Thread Lucas Stach
Am Mittwoch, den 01.02.2017, 08:55 -0800 schrieb Andrey Smirnov: > Some designs implement reset GPIO via a GPIO expander connected to a > peripheral bus. One such example would be i.MX7 Sabre board where said > GPIO is provided by SPI shift register connected to a bitbanged SPI > bus. In order to

Re: [PATCH v2 2/3] PCI: imx6: Allow probe deferal by reset GPIO

2017-02-01 Thread Lucas Stach
Am Mittwoch, den 01.02.2017, 08:55 -0800 schrieb Andrey Smirnov: > Some designs implement reset GPIO via a GPIO expander connected to a > peripheral bus. One such example would be i.MX7 Sabre board where said > GPIO is provided by SPI shift register connected to a bitbanged SPI > bus. In order to

Re: [PATCH 2/2] powerpc/pseries: Dynamically increase RMA size

2017-02-01 Thread Thiago Jung Bauermann
Hello, Am Mittwoch, 1. Februar 2017, 16:37:58 BRST schrieb Michael Ellerman: > Sukadev Bhattiprolu writes: > > Paul Clarke [p...@us.ibm.com] wrote: > > --- > > > > From f9e9e8460206bc3fa7eaa741b9a2bde22870b9e0 Mon Sep 17 00:00:00 2001 > > I know it's been a while

Re: [PATCH 2/2] powerpc/pseries: Dynamically increase RMA size

2017-02-01 Thread Thiago Jung Bauermann
Hello, Am Mittwoch, 1. Februar 2017, 16:37:58 BRST schrieb Michael Ellerman: > Sukadev Bhattiprolu writes: > > Paul Clarke [p...@us.ibm.com] wrote: > > --- > > > > From f9e9e8460206bc3fa7eaa741b9a2bde22870b9e0 Mon Sep 17 00:00:00 2001 > > I know it's been a while but I think it would still be

Re: pull-request: wireless-drivers-next 2017-02-01

2017-02-01 Thread David Miller
From: Kalle Valo Date: Wed, 01 Feb 2017 11:37:38 +0200 > here's a pull request to 4.11, more details in the signed tag below. > > I forgot to mention in the tag that this includes one small change to > include/linux/soc/qcom/smem_state.h which was acked by Andy Gross in >

Re: pull-request: wireless-drivers-next 2017-02-01

2017-02-01 Thread David Miller
From: Kalle Valo Date: Wed, 01 Feb 2017 11:37:38 +0200 > here's a pull request to 4.11, more details in the signed tag below. > > I forgot to mention in the tag that this includes one small change to > include/linux/soc/qcom/smem_state.h which was acked by Andy Gross in > commit 6c0b2e833f14.

[RFC v3 03/10] KVM: arm/arm64: Decouple kvm timer functions from virtual timer

2017-02-01 Thread Jintack Lim
Now that we have a separate structure for timer context, make functions generic so that they can work with any timer context, not just the virtual timer context. This does not change the virtual timer functionality. Signed-off-by: Jintack Lim Acked-by: Marc Zyngier

[RFC v3 03/10] KVM: arm/arm64: Decouple kvm timer functions from virtual timer

2017-02-01 Thread Jintack Lim
Now that we have a separate structure for timer context, make functions generic so that they can work with any timer context, not just the virtual timer context. This does not change the virtual timer functionality. Signed-off-by: Jintack Lim Acked-by: Marc Zyngier --- arch/arm/kvm/arm.c

<    2   3   4   5   6   7   8   9   10   11   >