Re: [RFC, PATCHv2 29/29] mm, x86: introduce RLIMIT_VADDR

2017-01-11 Thread Andi Kleen
On Wed, Jan 11, 2017 at 11:31:25AM -0800, Linus Torvalds wrote: > On Wed, Jan 11, 2017 at 11:20 AM, Andy Lutomirski wrote: > > > > Taking a step back, I think it would be fantastic if we could find a > > way to make this work without any inheritable settings at all. > >

Re: [RFC, PATCHv2 29/29] mm, x86: introduce RLIMIT_VADDR

2017-01-11 Thread Andi Kleen
On Wed, Jan 11, 2017 at 11:31:25AM -0800, Linus Torvalds wrote: > On Wed, Jan 11, 2017 at 11:20 AM, Andy Lutomirski wrote: > > > > Taking a step back, I think it would be fantastic if we could find a > > way to make this work without any inheritable settings at all. > > Perhaps we could have a

Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter

2017-01-11 Thread Manuel Schölling
On Tue, 2017-01-10 at 23:58 +0100, Adam Borowski wrote: > On Tue, Jan 10, 2017 at 10:28:38PM +0100, Manuel Schölling wrote: > > The impact of the persistent scrollback feature on the code size is > > rather small, so the config option is removed. The feature stays > > disabled by default and can

Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter

2017-01-11 Thread Manuel Schölling
On Tue, 2017-01-10 at 23:58 +0100, Adam Borowski wrote: > On Tue, Jan 10, 2017 at 10:28:38PM +0100, Manuel Schölling wrote: > > The impact of the persistent scrollback feature on the code size is > > rather small, so the config option is removed. The feature stays > > disabled by default and can

[PATCHSET v6] blk-mq scheduling framework

2017-01-11 Thread Jens Axboe
Another year, another posting of this patchset. The previous posting was here: https://www.spinics.net/lists/kernel/msg2406106.html (yes, I've skipped v5, it was fixes on top of v4, not the rework). I've reworked bits of this to get rid of the shadow requests, thanks to Bart for the

[PATCHSET v6] blk-mq scheduling framework

2017-01-11 Thread Jens Axboe
Another year, another posting of this patchset. The previous posting was here: https://www.spinics.net/lists/kernel/msg2406106.html (yes, I've skipped v5, it was fixes on top of v4, not the rework). I've reworked bits of this to get rid of the shadow requests, thanks to Bart for the

[PATCH 05/10] blk-mq: export some helpers we need to the scheduling framework

2017-01-11 Thread Jens Axboe
Signed-off-by: Jens Axboe --- block/blk-mq.c | 39 +-- block/blk-mq.h | 25 + 2 files changed, 46 insertions(+), 18 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index f49f6325b332..9fc521755e22 100644 ---

[PATCH 05/10] blk-mq: export some helpers we need to the scheduling framework

2017-01-11 Thread Jens Axboe
Signed-off-by: Jens Axboe --- block/blk-mq.c | 39 +-- block/blk-mq.h | 25 + 2 files changed, 46 insertions(+), 18 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index f49f6325b332..9fc521755e22 100644 --- a/block/blk-mq.c

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

2017-01-11 Thread Jens Axboe
This adds a set of hooks that intercepts the blk-mq path of allocating/inserting/issuing/completing requests, allowing us to develop a scheduler within that framework. We reuse the existing elevator scheduler API on the registration side, but augment that with the scheduler flagging support for

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

2017-01-11 Thread Jens Axboe
This adds a set of hooks that intercepts the blk-mq path of allocating/inserting/issuing/completing requests, allowing us to develop a scheduler within that framework. We reuse the existing elevator scheduler API on the registration side, but augment that with the scheduler flagging support for

[PATCH 10/10] blk-mq-sched: allow setting of default IO scheduler

2017-01-11 Thread Jens Axboe
Add Kconfig entries to manage what devices get assigned an MQ scheduler, and add a blk-mq flag for drivers to opt out of scheduling. The latter is useful for admin type queues that still allocate a blk-mq queue and tag set, but aren't use for normal IO. Signed-off-by: Jens Axboe

[PATCH 01/10] block: move existing elevator ops to union

2017-01-11 Thread Jens Axboe
Prep patch for adding MQ ops as well, since doing anon unions with named initializers doesn't work on older compilers. Signed-off-by: Jens Axboe --- block/blk-ioc.c | 8 +++ block/blk-merge.c| 4 ++-- block/blk.h | 10

[PATCH 10/10] blk-mq-sched: allow setting of default IO scheduler

2017-01-11 Thread Jens Axboe
Add Kconfig entries to manage what devices get assigned an MQ scheduler, and add a blk-mq flag for drivers to opt out of scheduling. The latter is useful for admin type queues that still allocate a blk-mq queue and tag set, but aren't use for normal IO. Signed-off-by: Jens Axboe ---

[PATCH 01/10] block: move existing elevator ops to union

2017-01-11 Thread Jens Axboe
Prep patch for adding MQ ops as well, since doing anon unions with named initializers doesn't work on older compilers. Signed-off-by: Jens Axboe --- block/blk-ioc.c | 8 +++ block/blk-merge.c| 4 ++-- block/blk.h | 10 block/cfq-iosched.c | 2

[PATCH 02/10] blk-mq: make mq_ops a const pointer

2017-01-11 Thread Jens Axboe
We never change it, make that clear. Signed-off-by: Jens Axboe Reviewed-by: Bart Van Assche --- block/blk-mq.c | 2 +- include/linux/blk-mq.h | 2 +- include/linux/blkdev.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 06/10] blk-mq-tag: cleanup the normal/reserved tag allocation

2017-01-11 Thread Jens Axboe
This is in preparation for having another tag set available. Cleanup the parameters, and allow passing in of tags fo blk_mq_put_tag(). Signed-off-by: Jens Axboe --- block/blk-mq-tag.c | 58 ++ block/blk-mq-tag.h | 4 ++--

[PATCH 04/10] blk-mq: un-export blk_mq_free_hctx_request()

2017-01-11 Thread Jens Axboe
It's only used in blk-mq, kill it from the main exported header and kill the symbol export as well. Signed-off-by: Jens Axboe --- block/blk-mq.c | 5 ++--- include/linux/blk-mq.h | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/block/blk-mq.c

[PATCH 06/10] blk-mq-tag: cleanup the normal/reserved tag allocation

2017-01-11 Thread Jens Axboe
This is in preparation for having another tag set available. Cleanup the parameters, and allow passing in of tags fo blk_mq_put_tag(). Signed-off-by: Jens Axboe --- block/blk-mq-tag.c | 58 ++ block/blk-mq-tag.h | 4 ++-- block/blk-mq.c |

[PATCH 04/10] blk-mq: un-export blk_mq_free_hctx_request()

2017-01-11 Thread Jens Axboe
It's only used in blk-mq, kill it from the main exported header and kill the symbol export as well. Signed-off-by: Jens Axboe --- block/blk-mq.c | 5 ++--- include/linux/blk-mq.h | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index

[PATCH 02/10] blk-mq: make mq_ops a const pointer

2017-01-11 Thread Jens Axboe
We never change it, make that clear. Signed-off-by: Jens Axboe Reviewed-by: Bart Van Assche --- block/blk-mq.c | 2 +- include/linux/blk-mq.h | 2 +- include/linux/blkdev.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index

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

2017-01-11 Thread Jens Axboe
This is basically identical to deadline-iosched, except it registers as a MQ capable scheduler. This is still a single queue design. Signed-off-by: Jens Axboe --- block/Kconfig.iosched | 6 + block/Makefile| 1 + block/mq-deadline.c | 569

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

2017-01-11 Thread Jens Axboe
This is basically identical to deadline-iosched, except it registers as a MQ capable scheduler. This is still a single queue design. Signed-off-by: Jens Axboe --- block/Kconfig.iosched | 6 + block/Makefile| 1 + block/mq-deadline.c | 569

[PATCH 07/10] blk-mq: abstract out helpers for allocating/freeing tag maps

2017-01-11 Thread Jens Axboe
Prep patch for adding an extra tag map for scheduler requests. Signed-off-by: Jens Axboe --- block/blk-mq.c | 119 - block/blk-mq.h | 14 --- 2 files changed, 84 insertions(+), 49 deletions(-) diff --git

[PATCH 03/10] block: move rq_ioc() to blk.h

2017-01-11 Thread Jens Axboe
We want to use it outside of blk-core.c. Signed-off-by: Jens Axboe --- block/blk-core.c | 16 block/blk.h | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index

[PATCH 07/10] blk-mq: abstract out helpers for allocating/freeing tag maps

2017-01-11 Thread Jens Axboe
Prep patch for adding an extra tag map for scheduler requests. Signed-off-by: Jens Axboe --- block/blk-mq.c | 119 - block/blk-mq.h | 14 --- 2 files changed, 84 insertions(+), 49 deletions(-) diff --git a/block/blk-mq.c

[PATCH 03/10] block: move rq_ioc() to blk.h

2017-01-11 Thread Jens Axboe
We want to use it outside of blk-core.c. Signed-off-by: Jens Axboe --- block/blk-core.c | 16 block/blk.h | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index 61ba08c58b64..92baea07acbc 100644 ---

[PATCH] tty_port: checkpatch: Refactored file to linux style guides

2017-01-11 Thread Fabian Arnold
The tty_port.c file is now accordingly to the linux style guidelines. Signed-off-by: Fabian Arnold Signed-off-by: Philip Thiemann --- drivers/tty/tty_port.c | 38 +++--- 1 file changed, 23 insertions(+), 15

[PATCH] tty_port: checkpatch: Refactored file to linux style guides

2017-01-11 Thread Fabian Arnold
The tty_port.c file is now accordingly to the linux style guidelines. Signed-off-by: Fabian Arnold Signed-off-by: Philip Thiemann --- drivers/tty/tty_port.c | 38 +++--- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/drivers/tty/tty_port.c

Re: [PATCH] ACPI/PCI: Fix bus range comparation in pci_mcfg_lookup

2017-01-11 Thread Bjorn Helgaas
On Wed, Jan 04, 2017 at 03:00:06PM +0800, Zhou Wang wrote: > The configuration data provided by an MCFG region (ie PCI segment and > bus range) may span multiple host bridges. > > Current code in pci_mcfg_lookup() carries out an exact match of host > bridge bus range start value against the MCFG

Re: [PATCH] ACPI/PCI: Fix bus range comparation in pci_mcfg_lookup

2017-01-11 Thread Bjorn Helgaas
On Wed, Jan 04, 2017 at 03:00:06PM +0800, Zhou Wang wrote: > The configuration data provided by an MCFG region (ie PCI segment and > bus range) may span multiple host bridges. > > Current code in pci_mcfg_lookup() carries out an exact match of host > bridge bus range start value against the MCFG

Re: [PATCH] staging: rtl: fix possible NULL pointer dereference

2017-01-11 Thread Larry Finger
On 01/11/2017 08:53 AM, Arnd Bergmann wrote: gcc-7 detects that wlanhdr_to_ethhdr() in two drivers calls memcpy() with a destination argument that an earlier function call may have set to NULL: staging/rtl8188eu/core/rtw_recv.c: In function 'wlanhdr_to_ethhdr':

Re: [PATCH] staging: rtl: fix possible NULL pointer dereference

2017-01-11 Thread Larry Finger
On 01/11/2017 08:53 AM, Arnd Bergmann wrote: gcc-7 detects that wlanhdr_to_ethhdr() in two drivers calls memcpy() with a destination argument that an earlier function call may have set to NULL: staging/rtl8188eu/core/rtw_recv.c: In function 'wlanhdr_to_ethhdr':

Re: [PATCH v3 2/4] dt-bindings: Add TI SCI PM Domains

2017-01-11 Thread Rob Herring
On Mon, Jan 9, 2017 at 11:57 AM, Dave Gerlach wrote: > Rob, > > On 01/09/2017 11:50 AM, Rob Herring wrote: >> >> On Wed, Jan 04, 2017 at 02:55:34PM -0600, Dave Gerlach wrote: >>> >>> Add a generic power domain implementation, TI SCI PM Domains, that >>> will hook into the genpd

Re: [PATCH v3 2/4] dt-bindings: Add TI SCI PM Domains

2017-01-11 Thread Rob Herring
On Mon, Jan 9, 2017 at 11:57 AM, Dave Gerlach wrote: > Rob, > > On 01/09/2017 11:50 AM, Rob Herring wrote: >> >> On Wed, Jan 04, 2017 at 02:55:34PM -0600, Dave Gerlach wrote: >>> >>> Add a generic power domain implementation, TI SCI PM Domains, that >>> will hook into the genpd framework and

Re: [PATCH v5 0/6] inherit dma configuration from parent dev

2017-01-11 Thread Javier Martinez Canillas
[adding Arnd Bergmann who wrote the patches and I noticed was not cc'ed] Hello, On Tue, Jan 10, 2017 at 9:11 AM, Roger Quadros wrote: > On 05/01/17 19:16, Greg KH wrote: >> On Thu, Jan 05, 2017 at 05:21:09PM +0200, Roger Quadros wrote: >>> Hi, >>> >>> On 17/11/16 13:43, Sriram

Re: [PATCH v5 0/6] inherit dma configuration from parent dev

2017-01-11 Thread Javier Martinez Canillas
[adding Arnd Bergmann who wrote the patches and I noticed was not cc'ed] Hello, On Tue, Jan 10, 2017 at 9:11 AM, Roger Quadros wrote: > On 05/01/17 19:16, Greg KH wrote: >> On Thu, Jan 05, 2017 at 05:21:09PM +0200, Roger Quadros wrote: >>> Hi, >>> >>> On 17/11/16 13:43, Sriram Dash wrote:

Re: [PATCH] arm64: dts: exynos: Replace small letter of base address/offset on Exynos5433

2017-01-11 Thread Chanwoo Choi
2017-01-12 6:15 GMT+09:00 Rob Herring : > On Wed, Jan 11, 2017 at 09:55:48AM +0900, Chanwoo Choi wrote: >> This patch replaces the small letter of base address, offset and hex value >> with the capital letter to keep the consistency on Exynos5433. > > You mean the other way

Re: [PATCH] arm64: dts: exynos: Replace small letter of base address/offset on Exynos5433

2017-01-11 Thread Chanwoo Choi
2017-01-12 6:15 GMT+09:00 Rob Herring : > On Wed, Jan 11, 2017 at 09:55:48AM +0900, Chanwoo Choi wrote: >> This patch replaces the small letter of base address, offset and hex value >> with the capital letter to keep the consistency on Exynos5433. > > You mean the other way around, right? When I

Re: [PATCH 1/2] Documentation: devicetree: Add document bindings for mtk-cir

2017-01-11 Thread Rob Herring
On Mon, Jan 9, 2017 at 8:35 PM, Sean Wang wrote: > Hi Rob, > > thanks for your effort for reviewing. I added comments inline. > > On Mon, 2017-01-09 at 12:32 -0600, Rob Herring wrote: >> On Fri, Jan 06, 2017 at 12:06:23AM +0800, sean.w...@mediatek.com wrote: >> > From:

Re: [PATCH 1/2] Documentation: devicetree: Add document bindings for mtk-cir

2017-01-11 Thread Rob Herring
On Mon, Jan 9, 2017 at 8:35 PM, Sean Wang wrote: > Hi Rob, > > thanks for your effort for reviewing. I added comments inline. > > On Mon, 2017-01-09 at 12:32 -0600, Rob Herring wrote: >> On Fri, Jan 06, 2017 at 12:06:23AM +0800, sean.w...@mediatek.com wrote: >> > From: Sean Wang >> > >> > This

[PATCH] platform/x86: Add IMS/ZII SCU driver

2017-01-11 Thread Florian Fainelli
From: Guenter Roeck This patch adds support for the IMS (now Zodiac Inflight Innovations) SCU Generation 1/2/3 platform driver. This driver registers all the on-module peripherals: Ethernet switches (Broadcom or Marvell), I2C to GPIO expanders, Kontrom CPLD/I2C master, and

[PATCH] platform/x86: Add IMS/ZII SCU driver

2017-01-11 Thread Florian Fainelli
From: Guenter Roeck This patch adds support for the IMS (now Zodiac Inflight Innovations) SCU Generation 1/2/3 platform driver. This driver registers all the on-module peripherals: Ethernet switches (Broadcom or Marvell), I2C to GPIO expanders, Kontrom CPLD/I2C master, and more. Signed-off-by:

Re: [PATCH v2 0/3] PCI: designware/dra7xx: misc fixes and cleanups

2017-01-11 Thread Bjorn Helgaas
On Fri, Dec 30, 2016 at 03:26:11PM +0530, Kishon Vijay Abraham I wrote: > This series contains > *) a patch to cleanup dra7xx probe > *) a patch to force DRA7xx controller to work in GEN1 mode > *) a patch to fix dra7xx driver so that even if CONFIG_PCI_MSI >is

Re: [PATCH v2 0/3] PCI: designware/dra7xx: misc fixes and cleanups

2017-01-11 Thread Bjorn Helgaas
On Fri, Dec 30, 2016 at 03:26:11PM +0530, Kishon Vijay Abraham I wrote: > This series contains > *) a patch to cleanup dra7xx probe > *) a patch to force DRA7xx controller to work in GEN1 mode > *) a patch to fix dra7xx driver so that even if CONFIG_PCI_MSI >is

Re: [PATCH] arm64: dts: exynos: Replace small letter of base address/offset on Exynos5433

2017-01-11 Thread Chanwoo Choi
2017-01-12 1:26 GMT+09:00 Krzysztof Kozlowski : > On Wed, Jan 11, 2017 at 09:55:48AM +0900, Chanwoo Choi wrote: >> This patch replaces the small letter of base address, offset and hex value >> with the capital letter to keep the consistency on Exynos5433. >> >> Signed-off-by:

Re: [PATCH] arm64: dts: exynos: Replace small letter of base address/offset on Exynos5433

2017-01-11 Thread Chanwoo Choi
2017-01-12 1:26 GMT+09:00 Krzysztof Kozlowski : > On Wed, Jan 11, 2017 at 09:55:48AM +0900, Chanwoo Choi wrote: >> This patch replaces the small letter of base address, offset and hex value >> with the capital letter to keep the consistency on Exynos5433. >> >> Signed-off-by: Chanwoo Choi >> ---

Re: [RFC v4 2/6] sched/deadline: improve the tracking of active utilization

2017-01-11 Thread luca abeni
On Wed, 11 Jan 2017 17:05:42 + Juri Lelli wrote: > Hi, > > On 30/12/16 12:33, Luca Abeni wrote: > > From: Luca Abeni > > > > This patch implements a more theoretically sound algorithm for > > tracking active utilization: instead of decreasing it

Re: [RFC v4 2/6] sched/deadline: improve the tracking of active utilization

2017-01-11 Thread luca abeni
On Wed, 11 Jan 2017 17:05:42 + Juri Lelli wrote: > Hi, > > On 30/12/16 12:33, Luca Abeni wrote: > > From: Luca Abeni > > > > This patch implements a more theoretically sound algorithm for > > tracking active utilization: instead of decreasing it when a > > task blocks, use a timer (the

[PATCH] staging: android/ion: Fix coding style issues

2017-01-11 Thread Bogdan Purcareata
Fix following checkpatch warnings: - Lines over 80 characters - void function with return statement - Unaligned comment mark - Header function prototypes missing variable names Signed-off-by: Bogdan Purcareata --- drivers/staging/android/ion/ion-ioctl.c | 3 ++-

[PATCH] staging: android/ion: Fix coding style issues

2017-01-11 Thread Bogdan Purcareata
Fix following checkpatch warnings: - Lines over 80 characters - void function with return statement - Unaligned comment mark - Header function prototypes missing variable names Signed-off-by: Bogdan Purcareata --- drivers/staging/android/ion/ion-ioctl.c | 3 ++-

Re: [PATCH v4 0/3] HID: switch hid-rmi to rmi_core

2017-01-11 Thread Jiri Kosina
On Thu, 5 Jan 2017, Benjamin Tissoires wrote: > Hi, > > Small revision to add irq.h in hid-rmi.c, as reported by the Intel > kbuild test bot and by Andrew. > > Cheers, > Benjamin > > Andrew Duggan (3): > HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4 > HID: rmi: Handle all

Re: [PATCH v4 0/3] HID: switch hid-rmi to rmi_core

2017-01-11 Thread Jiri Kosina
On Thu, 5 Jan 2017, Benjamin Tissoires wrote: > Hi, > > Small revision to add irq.h in hid-rmi.c, as reported by the Intel > kbuild test bot and by Andrew. > > Cheers, > Benjamin > > Andrew Duggan (3): > HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4 > HID: rmi: Handle all

Re: [PATCH v2 1/6] mmc: sunxi: Always set signal delay to 0 for A64

2017-01-11 Thread Maxime Ripard
On Tue, Jan 10, 2017 at 12:30:41AM +, André Przywara wrote: > On 09/01/17 16:46, Maxime Ripard wrote: > > Experience have shown that the using the autocalibration could severely > > degrade the performances of the MMC bus. > > > > Allwinner is using in its BSP a delay set to 0 for all the

Re: [PATCH v2 1/6] mmc: sunxi: Always set signal delay to 0 for A64

2017-01-11 Thread Maxime Ripard
On Tue, Jan 10, 2017 at 12:30:41AM +, André Przywara wrote: > On 09/01/17 16:46, Maxime Ripard wrote: > > Experience have shown that the using the autocalibration could severely > > degrade the performances of the MMC bus. > > > > Allwinner is using in its BSP a delay set to 0 for all the

Re: [PATCH] arm64: dts: exynos: Replace small letter of base address/offset on Exynos5433

2017-01-11 Thread Rob Herring
On Wed, Jan 11, 2017 at 09:55:48AM +0900, Chanwoo Choi wrote: > This patch replaces the small letter of base address, offset and hex value > with the capital letter to keep the consistency on Exynos5433. You mean the other way around, right? > > Signed-off-by: Chanwoo Choi

Re: [RFC v4 0/6] CPU reclaiming for SCHED_DEADLINE

2017-01-11 Thread luca abeni
On Wed, 11 Jan 2017 15:06:47 + Juri Lelli wrote: > On 11/01/17 13:39, Luca Abeni wrote: > > Hi Juri, > > (I reply from my new email address) > > > > On Wed, 11 Jan 2017 12:19:51 + > > Juri Lelli wrote: > > [...] > > > > > For example, with my

Re: [PATCH] arm64: dts: exynos: Replace small letter of base address/offset on Exynos5433

2017-01-11 Thread Rob Herring
On Wed, Jan 11, 2017 at 09:55:48AM +0900, Chanwoo Choi wrote: > This patch replaces the small letter of base address, offset and hex value > with the capital letter to keep the consistency on Exynos5433. You mean the other way around, right? > > Signed-off-by: Chanwoo Choi > --- >

Re: [RFC v4 0/6] CPU reclaiming for SCHED_DEADLINE

2017-01-11 Thread luca abeni
On Wed, 11 Jan 2017 15:06:47 + Juri Lelli wrote: > On 11/01/17 13:39, Luca Abeni wrote: > > Hi Juri, > > (I reply from my new email address) > > > > On Wed, 11 Jan 2017 12:19:51 + > > Juri Lelli wrote: > > [...] > > > > > For example, with my taskset, with a hypothetical perfect > >

Re: Please include Aspeed ARM SoC tree in linux-next

2017-01-11 Thread Stephen Rothwell
Hi Joel, On Wed, 11 Jan 2017 12:11:29 +1100 Joel Stanley wrote: > > I'm the maintainer for the Aspeed ARM SoC tree and I would like it > added to linux-next. > > The tree is a sub-maintainer tree for the Aspeed family of 32-bit ARM > SoCs that went upstream earlier last year. >

[PATCH] [net] net/mlx5e: fix another -Wmaybe-uninitialized warning

2017-01-11 Thread Arnd Bergmann
As found by Olof's build bot, today's mainline kernel gained a harmless warning about a potential uninitalied variable reference: drivers/net/ethernet/mellanox/mlx5/core/en_tc.c: In function 'parse_tc_fdb_actions': drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:769:13: warning: 'out_dev' may

[PATCH] [net] net/mlx5e: fix another -Wmaybe-uninitialized warning

2017-01-11 Thread Arnd Bergmann
As found by Olof's build bot, today's mainline kernel gained a harmless warning about a potential uninitalied variable reference: drivers/net/ethernet/mellanox/mlx5/core/en_tc.c: In function 'parse_tc_fdb_actions': drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:769:13: warning: 'out_dev' may

Re: Please include Aspeed ARM SoC tree in linux-next

2017-01-11 Thread Stephen Rothwell
Hi Joel, On Wed, 11 Jan 2017 12:11:29 +1100 Joel Stanley wrote: > > I'm the maintainer for the Aspeed ARM SoC tree and I would like it > added to linux-next. > > The tree is a sub-maintainer tree for the Aspeed family of 32-bit ARM > SoCs that went upstream earlier last year. > > Tree:

Re: [PATCH] Documentation: dt: reset: Revise typos in TI syscon reset example

2017-01-11 Thread Rob Herring
On Mon, Jan 09, 2017 at 01:28:14PM -0600, Suman Anna wrote: > Fix couple of typos in the example given in the TI syscon reset > binding. The ti,reset-bits used for DSP0 are corrected to match > the values that will be used in the actual DT node. > > Signed-off-by: Suman Anna > ---

Re: [PATCH] Documentation: dt: reset: Revise typos in TI syscon reset example

2017-01-11 Thread Rob Herring
On Mon, Jan 09, 2017 at 01:28:14PM -0600, Suman Anna wrote: > Fix couple of typos in the example given in the TI syscon reset > binding. The ti,reset-bits used for DSP0 are corrected to match > the values that will be used in the actual DT node. > > Signed-off-by: Suman Anna > --- > Hi Philipp,

Re: [PATCH 2/2] arm64: avoid increasing DMA masks above what hardware supports

2017-01-11 Thread Arnd Bergmann
On Wednesday, January 11, 2017 9:31:52 PM CET Nikita Yushchenko wrote: > @@ -959,6 +990,15 @@ void arch_setup_dma_ops(struct device *dev, u64 > dma_base, u64 size, > if (!dev->archdata.dma_ops) > dev->archdata.dma_ops = _dma_ops; > > + /* > +* Whatever the

Re: [PATCH 2/2] arm64: avoid increasing DMA masks above what hardware supports

2017-01-11 Thread Arnd Bergmann
On Wednesday, January 11, 2017 9:31:52 PM CET Nikita Yushchenko wrote: > @@ -959,6 +990,15 @@ void arch_setup_dma_ops(struct device *dev, u64 > dma_base, u64 size, > if (!dev->archdata.dma_ops) > dev->archdata.dma_ops = _dma_ops; > > + /* > +* Whatever the

Re: [PATCH net] r8152: fix the sw rx checksum is unavailable

2017-01-11 Thread David Miller
From: Hayes Wang Date: Wed, 11 Jan 2017 16:25:34 +0800 > Fix the hw rx checksum is always enabled, and the user couldn't switch > it to sw rx checksum. > > Note that the RTL_VER_01 only support sw rx checksum only. Besides, > the hw rx checksum for RTL_VER_02 is disabled

Re: [PATCH] pci: Fix typo in MAINTAINERS file

2017-01-11 Thread Bjorn Helgaas
Hi Joao, On Wed, Dec 28, 2016 at 04:05:11PM +, Joao Pinto wrote: > This patch fixes a typo in MAINTAINERS file. > > Signed-off-by: Joao Pinto > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index

Re: [PATCH net] r8152: fix the sw rx checksum is unavailable

2017-01-11 Thread David Miller
From: Hayes Wang Date: Wed, 11 Jan 2017 16:25:34 +0800 > Fix the hw rx checksum is always enabled, and the user couldn't switch > it to sw rx checksum. > > Note that the RTL_VER_01 only support sw rx checksum only. Besides, > the hw rx checksum for RTL_VER_02 is disabled after > commit

Re: [PATCH] pci: Fix typo in MAINTAINERS file

2017-01-11 Thread Bjorn Helgaas
Hi Joao, On Wed, Dec 28, 2016 at 04:05:11PM +, Joao Pinto wrote: > This patch fixes a typo in MAINTAINERS file. > > Signed-off-by: Joao Pinto > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index cfff2c9..1056392

Re: [PATCH 1/2] dma-mapping: let arch know origin of dma range passed to arch_setup_dma_ops()

2017-01-11 Thread Arnd Bergmann
On Wednesday, January 11, 2017 9:31:51 PM CET Nikita Yushchenko wrote: > diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu.c > index 9afcbf7..0995ab3 100644 > --- a/drivers/iommu/rockchip-iommu.c > +++ b/drivers/iommu/rockchip-iommu.c > @@ -1096,7 +1096,7 @@ static int

Re: [PATCH 1/2] dma-mapping: let arch know origin of dma range passed to arch_setup_dma_ops()

2017-01-11 Thread Arnd Bergmann
On Wednesday, January 11, 2017 9:31:51 PM CET Nikita Yushchenko wrote: > diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu.c > index 9afcbf7..0995ab3 100644 > --- a/drivers/iommu/rockchip-iommu.c > +++ b/drivers/iommu/rockchip-iommu.c > @@ -1096,7 +1096,7 @@ static int

Re: [PATCH 4/4] ARM: dts: sun8i: add OTG function to Lichee Pi Zero

2017-01-11 Thread Maxime Ripard
On Wed, Jan 11, 2017 at 02:08:11PM -0600, Bin Liu wrote: > On Thu, Jan 12, 2017 at 03:55:33AM +0800, Icenowy Zheng wrote: > > > > > > 11.01.2017, 04:24, "Bin Liu" : > > > On Tue, Jan 03, 2017 at 11:25:34PM +0800, Icenowy Zheng wrote: > > >>  Lichee Pi Zero features a USB OTG port.

Re: [PATCH 4/4] ARM: dts: sun8i: add OTG function to Lichee Pi Zero

2017-01-11 Thread Maxime Ripard
On Wed, Jan 11, 2017 at 02:08:11PM -0600, Bin Liu wrote: > On Thu, Jan 12, 2017 at 03:55:33AM +0800, Icenowy Zheng wrote: > > > > > > 11.01.2017, 04:24, "Bin Liu" : > > > On Tue, Jan 03, 2017 at 11:25:34PM +0800, Icenowy Zheng wrote: > > >>  Lichee Pi Zero features a USB OTG port. > > >> > > >>  

Re: [PATCH] cpu/hotplug: Provide dynamic range for prepare stage

2017-01-11 Thread Mathieu Desnoyers
- On Jan 10, 2017, at 8:01 AM, Thomas Gleixner t...@linutronix.de wrote: > Mathieu reported that the LTTNG modules are broken as of 4.10-rc1 due to > the removal of the cpu hotplug notifiers. > > Usually I don't care much about out of tree modules, but LTTNG is widely > used in distros.

Re: [PATCH] cpu/hotplug: Provide dynamic range for prepare stage

2017-01-11 Thread Mathieu Desnoyers
- On Jan 10, 2017, at 8:01 AM, Thomas Gleixner t...@linutronix.de wrote: > Mathieu reported that the LTTNG modules are broken as of 4.10-rc1 due to > the removal of the cpu hotplug notifiers. > > Usually I don't care much about out of tree modules, but LTTNG is widely > used in distros.

Re: [RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-11 Thread Kim Phillips
On Wed, 11 Jan 2017 12:37:15 + Will Deacon wrote: > Hi Kim, > > On Tue, Jan 10, 2017 at 04:04:19PM -0600, Kim Phillips wrote: > > On Tue, 3 Jan 2017 18:10:26 + > > Will Deacon wrote: > > > > > +#define DRVNAME

Re: [RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-11 Thread Kim Phillips
On Wed, 11 Jan 2017 12:37:15 + Will Deacon wrote: > Hi Kim, > > On Tue, Jan 10, 2017 at 04:04:19PM -0600, Kim Phillips wrote: > > On Tue, 3 Jan 2017 18:10:26 + > > Will Deacon wrote: > > > > > +#define DRVNAME "arm_spe_pmu" > > > > Based on Intel naming

Re: [PATCH] PCI: acpiphp_ibm: add __ro_after_init to ibm_apci_table_attr

2017-01-11 Thread Bjorn Helgaas
On Mon, Dec 26, 2016 at 09:06:35PM +0530, Bhumika Goyal wrote: > The object ibm_apci_table_attr of type bin_attribute structure is not > modified after getting initialized by ibm_acpiphp_init. Apart from > getting referenced in init it is also passed as an argument to the functions >

Re: [PATCH] PCI: acpiphp_ibm: add __ro_after_init to ibm_apci_table_attr

2017-01-11 Thread Bjorn Helgaas
On Mon, Dec 26, 2016 at 09:06:35PM +0530, Bhumika Goyal wrote: > The object ibm_apci_table_attr of type bin_attribute structure is not > modified after getting initialized by ibm_acpiphp_init. Apart from > getting referenced in init it is also passed as an argument to the functions >

[PATCH 18/18] mtd-cfi_cmdset_0020: Add some spaces for better code readability

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 20:55:40 +0100 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/mtd/chips/cfi_cmdset_0020.c | 99

[PATCH 18/18] mtd-cfi_cmdset_0020: Add some spaces for better code readability

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 20:55:40 +0100 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/mtd/chips/cfi_cmdset_0020.c | 99 - 1 file changed, 55

Re: [PATCH v2] pci: hotplug: This patch removes unnecessary return statement using spatch tool

2017-01-11 Thread Bjorn Helgaas
On Sat, Dec 24, 2016 at 03:08:00PM +0530, Rahul Krishnan wrote: > > This patch removes unnecessary return statement using spatch tool > > Signed-off-by: Rahul Krishnan Applied to pci/hotplug for v4.11 with Tyrel's Reviewed-by, thanks! Are there other similar

Re: [PATCHv3] HID: i2c-hid: Add sleep between POWER ON and RESET

2017-01-11 Thread Jiri Kosina
On Sat, 7 Jan 2017, Brendan McGrath wrote: > Support for the Asus Touchpad was recently added. It turns out this > device can fail initialisation (and become unusable) when the RESET > command is sent too soon after the POWER ON command. > > Unfortunately the i2c-hid specification does not

Re: [PATCHv3 3/5] pinctrl: mvebu: pinctrl driver for 98DX3236 SoC

2017-01-11 Thread Sebastian Hesselbarth
On 01/11/2017 03:44 PM, Linus Walleij wrote: On Fri, Jan 6, 2017 at 5:15 AM, Chris Packham wrote: From: Kalyan Kinthada This pinctrl driver supports the 98DX3236, 98DX3336 and 98DX4251 SoCs from Marvell. Signed-off-by:

Re: [PATCH v2] pci: hotplug: This patch removes unnecessary return statement using spatch tool

2017-01-11 Thread Bjorn Helgaas
On Sat, Dec 24, 2016 at 03:08:00PM +0530, Rahul Krishnan wrote: > > This patch removes unnecessary return statement using spatch tool > > Signed-off-by: Rahul Krishnan Applied to pci/hotplug for v4.11 with Tyrel's Reviewed-by, thanks! Are there other similar instances elsewhere in

Re: [PATCHv3] HID: i2c-hid: Add sleep between POWER ON and RESET

2017-01-11 Thread Jiri Kosina
On Sat, 7 Jan 2017, Brendan McGrath wrote: > Support for the Asus Touchpad was recently added. It turns out this > device can fail initialisation (and become unusable) when the RESET > command is sent too soon after the POWER ON command. > > Unfortunately the i2c-hid specification does not

Re: [PATCHv3 3/5] pinctrl: mvebu: pinctrl driver for 98DX3236 SoC

2017-01-11 Thread Sebastian Hesselbarth
On 01/11/2017 03:44 PM, Linus Walleij wrote: On Fri, Jan 6, 2017 at 5:15 AM, Chris Packham wrote: From: Kalyan Kinthada This pinctrl driver supports the 98DX3236, 98DX3336 and 98DX4251 SoCs from Marvell. Signed-off-by: Kalyan Kinthada Signed-off-by: Chris Packham I am waiting for an

[PATCH 13/18] mtd-cfi_cmdset_0002: Delete an unnecessary variable initialisation in do_write_oneword()

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 19:00:30 +0100 The local variable "ret" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

Re: [PATCH/RESEND v2 5/5] z3fold: add kref refcounting

2017-01-11 Thread Vitaly Wool
On Wed, 11 Jan 2017 13:03:06 -0500 Dan Streetman wrote: > >>> provided that I take the lock for the headless case above. That will > >>> work won't it? > >> > >> in this specific case - since every single kref_put in the driver is > >> protected by the pool lock - yeah, you

[PATCH 12/18] mtd-cfi_cmdset_0002: Add some spaces for better code readability

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 18:45:20 +0100 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/mtd/chips/cfi_cmdset_0002.c | 84

[PATCH 13/18] mtd-cfi_cmdset_0002: Delete an unnecessary variable initialisation in do_write_oneword()

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 19:00:30 +0100 The local variable "ret" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/mtd/chips/cfi_cmdset_0002.c | 2 +- 1 file changed, 1

Re: [PATCH/RESEND v2 5/5] z3fold: add kref refcounting

2017-01-11 Thread Vitaly Wool
On Wed, 11 Jan 2017 13:03:06 -0500 Dan Streetman wrote: > >>> provided that I take the lock for the headless case above. That will > >>> work won't it? > >> > >> in this specific case - since every single kref_put in the driver is > >> protected by the pool lock - yeah, you can do that, since

[PATCH 12/18] mtd-cfi_cmdset_0002: Add some spaces for better code readability

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 18:45:20 +0100 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/mtd/chips/cfi_cmdset_0002.c | 84 + 1 file changed, 47

[PATCH 17/18] mtd-cfi_cmdset_0020: Use common error handling code in cfi_staa_setup()

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 20:02:40 +0100 Add jump targets so that a bit of exception handling can be better reused at the end of this function. Signed-off-by: Markus Elfring --- drivers/mtd/chips/cfi_cmdset_0020.c

[PATCH 17/18] mtd-cfi_cmdset_0020: Use common error handling code in cfi_staa_setup()

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 20:02:40 +0100 Add jump targets so that a bit of exception handling can be better reused at the end of this function. Signed-off-by: Markus Elfring --- drivers/mtd/chips/cfi_cmdset_0020.c | 23 ++- 1 file changed, 10

Re: [PATCH/RESEND v2 3/5] z3fold: extend compaction function

2017-01-11 Thread Vitaly Wool
On Wed, 11 Jan 2017 17:43:13 +0100 Vitaly Wool wrote: > On Wed, Jan 11, 2017 at 5:28 PM, Dan Streetman wrote: > > On Wed, Jan 11, 2017 at 10:06 AM, Vitaly Wool wrote: > >> z3fold_compact_page() currently only handles the situation

[PATCH 16/18] mtd-cfi_cmdset_0020: Use kmalloc_array() in cfi_staa_setup()

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 19:33:48 +0100 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was

Re: [PATCH/RESEND v2 3/5] z3fold: extend compaction function

2017-01-11 Thread Vitaly Wool
On Wed, 11 Jan 2017 17:43:13 +0100 Vitaly Wool wrote: > On Wed, Jan 11, 2017 at 5:28 PM, Dan Streetman wrote: > > On Wed, Jan 11, 2017 at 10:06 AM, Vitaly Wool wrote: > >> z3fold_compact_page() currently only handles the situation when > >> there's a single middle chunk within the z3fold page.

[PATCH 16/18] mtd-cfi_cmdset_0020: Use kmalloc_array() in cfi_staa_setup()

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 19:33:48 +0100 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle

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