Re: [PATCH v6 3/9] docs: Add Generic Counter interface documentation

2018-05-20 Thread Jonathan Cameron
On Wed, 16 May 2018 13:51:06 -0400 William Breathitt Gray wrote: > This patch adds high-level documentation about the Generic Counter > interface. > > Signed-off-by: William Breathitt Gray Various comments inline. I've been doing a lot long reviews recently (outside of the kernel world) and k

Re: [PATCH v4 03/31] kconfig: reference environment variables directly and remove 'option env='

2018-05-20 Thread Ulf Magnusson
On Thu, May 17, 2018 at 8:16 AM, Masahiro Yamada wrote: > To get access to environment variables, Kconfig needs to define a > symbol using "option env=" syntax. It is tedious to add a symbol entry > for each environment variable given that we need to define much more > such as 'CC', 'AS', 'srctre

Re: [PATCH v6 6/9] dt-bindings: counter: Document stm32 quadrature encoder

2018-05-20 Thread Jonathan Cameron
On Fri, 18 May 2018 11:28:15 -0500 Rob Herring wrote: > On Thu, May 17, 2018 at 08:59:40PM +0200, Benjamin Gaignard wrote: > > 2018-05-17 18:23 GMT+02:00 Rob Herring : > > > On Wed, May 16, 2018 at 12:51 PM, William Breathitt Gray > > > wrote: > > >> From: Benjamin Gaignard > > > > > > v6

Re: [PATCH v6 9/9] iio: counter: Remove IIO counter subdirectory

2018-05-20 Thread Jonathan Cameron
On Wed, 16 May 2018 13:52:39 -0400 William Breathitt Gray wrote: > This patch removes the IIO counter subdirectory which is now superceded > by the Counter subsystem. Deprecation warnings are added to the > documentation of the relevant IIO counter sysfs attributes. > > Signed-off-by: William Br

[PATCH net-next v2] net: dsa: b53: Extend platform data to include DSA ports

2018-05-20 Thread Florian Fainelli
The b53 driver already defines and internally uses platform data to let the glue drivers specify parameters such as the chip id. What we were missing was a way to tell the core DSA layer about the ports and their type. Place a dsa_chip_data structure at the beginning of b53_platform_data for dsa_

Re: [PATCH 5/6] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-20 Thread Andy Shevchenko
On Sun, May 20, 2018 at 6:37 PM, Janusz Krzysztofik wrote: > On Sunday, May 20, 2018 4:44:31 PM CEST Andy Shevchenko wrote: >> Though, I completely dislike "rdy" name of GPIO. Where is it documented? > > No documentation files for Amstrad Delta nor for its NAND driver specifically > exist under D

Re: [RFC V4 PATCH 0/8] Packed ring layout for vhost

2018-05-20 Thread Wei Xu
On Wed, May 16, 2018 at 08:32:13PM +0800, Jason Wang wrote: > Hi all: > > This RFC implement packed ring layout. The code were tested with > Tiwei's RFC V3 ahttps://lkml.org/lkml/2018/4/25/34. Some fixups and > tweaks were needed on top of Tiwei's code to make it run for event > index. Could you

[PATCH 5/6] clk: ingenic: jz4770: Enable power of AHB1 bus after ungating VPU clock

2018-05-20 Thread Paul Cercueil
This was broken before, because the AHB1 bus was enabled before the VPU clock was ungated, while it must be done afterwards. Signed-off-by: Paul Cercueil --- drivers/clk/ingenic/jz4770-cgu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/ingenic/jz4770-cgu.c

[PATCH 3/6] clk: ingenic: jz4770: Change OTG from custom to standard gated clock

2018-05-20 Thread Paul Cercueil
We now have the means to express the specificities of the OTG clock with the common CGU code. Signed-off-by: Paul Cercueil --- drivers/clk/ingenic/jz4770-cgu.c | 42 1 file changed, 5 insertions(+), 37 deletions(-) diff --git a/drivers/clk/ingenic/jz4770-cgu.c b

[PATCH 4/6] clk: ingenic: jz4770: Modify C1CLK clock to disable CPU clock stop on idle

2018-05-20 Thread Paul Cercueil
When the main processor goes idle, by default its clock is stopped. However, this also stops the clock of the co-processor. Here, if the C1CLK clock is enabled, we disable this functionality. Signed-off-by: Paul Cercueil --- drivers/clk/ingenic/jz4770-cgu.c | 3 ++- 1 file changed, 2 insertions

[PATCH 6/6] clk: ingenic: jz4770: Add 150us delay after enabling VPU clock

2018-05-20 Thread Paul Cercueil
This is required, as we must not use the AHB1 bus before it is stable. Signed-off-by: Paul Cercueil --- drivers/clk/ingenic/jz4770-cgu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/ingenic/jz4770-cgu.c b/drivers/clk/ingenic/jz4770-cgu.c index f83852db1e27..c98

[PATCH 2/6] clk: ingenic: Support specifying "wait for clock stable" delay

2018-05-20 Thread Paul Cercueil
Some clocks need a small delay after being ungated to run stable, as using them too soon might result in hardware lockups. Signed-off-by: Paul Cercueil --- drivers/clk/ingenic/cgu.c | 3 +++ drivers/clk/ingenic/cgu.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/clk/ingenic/cgu.

[PATCH 1/6] clk: ingenic: Add support for clocks whose gate bit is inverted

2018-05-20 Thread Paul Cercueil
Support the clocks which are gated when their gate bit is cleared instead of set. Signed-off-by: Paul Cercueil --- drivers/clk/ingenic/cgu.c | 5 +++-- drivers/clk/ingenic/cgu.h | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/clk/ingenic/cgu.c b/drivers/clk/ingenic

[PATCH v1 5/7] pinctrl: mediatek: remove unused fields in struct mtk_eint_hw

2018-05-20 Thread sean.wang
From: Sean Wang The .name field has been not being used in existent code logic, so it's better that we remove them all. Signed-off-by: Sean Wang --- drivers/pinctrl/mediatek/mtk-eint.h | 1 - drivers/pinctrl/mediatek/pinctrl-mt2701.c | 1 - drivers/pinctrl/mediatek/pinctrl-mt2712.c | 1 -

[PATCH v1 2/7] pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit

2018-05-20 Thread sean.wang
From: Sean Wang This patch is in preparation for adding EINT support to MT7622 pinctrl, and the refactoring doesn't alter any existent logic. A reason we have to refactor EINT code pieces into a generic way is that currently, they're tightly coupled with a certain type of MediaTek pinctrl would

[PATCH v1 4/7] pinctrl: mediatek: use generic EINT register maps for each SoC

2018-05-20 Thread sean.wang
From: Sean Wang So far, EINT on each SoC all used exactly identical register map and thus it's better that we apply generic register map already supported in EINT library and stop copy-n-pasting the same data block and filling into its platform data. Signed-off-by: Sean Wang --- drivers/pinctr

[PATCH v1 6/7] MAINTAINERS: update entry for PIN CONTROLLER - MEDIATEK

2018-05-20 Thread sean.wang
From: Sean Wang Add new files for the entry Signed-off-by: Sean Wang --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9051a9c..7f3cced 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11193,6 +11193,7 @@ L: linux-media...@lists.infradead.or

[PATCH v1 3/7] pinctrl: mediatek: add EINT support to MT7622 SoC

2018-05-20 Thread sean.wang
From: Sean Wang Add EINT support to MT7622 SoC and the support is made as just an option to MT7622 pinctrl. Signed-off-by: Sean Wang --- drivers/pinctrl/mediatek/Kconfig | 2 +- drivers/pinctrl/mediatek/pinctrl-mt7622.c | 143 ++ 2 files changed, 144 inse

[PATCH v1 7/7] arm64: dts: mt7622: add EINT support to pinctrl

2018-05-20 Thread sean.wang
From: Sean Wang Add EINT support to pinctrl and set those GPIO keys as interrupt-driven keys. Signed-off-by: Sean Wang --- arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 2 +- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 8 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --gi

[PATCH v1 1/7] dt-bindings: pinctrl: add external interrupt support to MT7622 pinctrl

2018-05-20 Thread sean.wang
From: Sean Wang Extend the capability of MT7622 pinctrl with adding EINT so that each GPIO can be used to notify CPU when a signal state is changing on the line as an external interrupt. Signed-off-by: Sean Wang --- Documentation/devicetree/bindings/pinctrl/pinctrl-mt7622.txt | 10 ++

[PATCH v1 0/7] add external interrupt support to MT7622 pinctrl

2018-05-20 Thread sean.wang
From: Sean Wang The series is to add external interrupt support to MT7622 pinctrl. Before we can freely do that in pinctrl-mt7622.c with patch 3, a refactor work has to be done with patch 2 to split EINT-related code from a specific driver and then allows pintrl-mt7622.c to reuse it. patch 1, 3

[PATCH 1/2] drm/fourcc: add a 10bits fully packed variant of NV12

2018-05-20 Thread Randy Li
This pixel format is a fully packed and 10bits variant of NV12. A luma pixel would take 10bits in memory, without any filled bits between pixels in a stride. The color gamut follows the BT.2020 standard. Signed-off-by: Randy Li --- drivers/gpu/drm/drm_fourcc.c | 1 + include/uapi/drm/drm_fourcc

[PATCH 2/2] drm/rockchip: Support 10 bits yuv format in vop

2018-05-20 Thread Randy Li
The rockchip use fully packed pixel format variants for YUV 10bits. This patch only make the VOP accept this pixel format, but it doesn't add the converting data path for the color gamuts that the target display are supported. Signed-off-by: Randy Li --- drivers/gpu/drm/rockchip/rockchip_drm_vo

[PATCH 0/2] Add support for a YUV 10bits pixel format

2018-05-20 Thread Randy Li
This pixel format is current used in the rockchip platform. I think any model higher than rk322x would support this pixel format. Xilinx may support it but I am not sure. More than a year ago, I post the patch Add pixel formats for 10/16 bits YUV video to the mail list, it has been update to versi

Re: [PATCH 5/6] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-20 Thread Miquel Raynal
Hello, On Sun, 20 May 2018 19:17:04 +0300, Andy Shevchenko wrote: > >> Though, I completely dislike "rdy" name of GPIO. Where is it documented? > > > > No documentation files for Amstrad Delta nor for its NAND driver > > specifically > > exist under Documentation/. However, there exist some f

Re: [PATCH 10/32] aio: implement IOCB_CMD_POLL

2018-05-20 Thread Christoph Hellwig
On Sun, May 20, 2018 at 08:33:39AM +0100, Al Viro wrote: > > ... get buggered on attempt to dereference a pointer fetched from freed and > > reused object. > > FWIW, how painful would it be to pull the following trick: > * insert into wait queue under ->ctx_lock > * have wakeup do sche

RE: [tip:x86/hyperv] x86/Hyper-V/hv_apic: Include asm/apic.h

2018-05-20 Thread KY Srinivasan
> -Original Message- > From: tip tree robot > Sent: Saturday, May 19, 2018 7:46 AM > To: linux-tip-comm...@vger.kernel.org > Cc: h...@zytor.com; Michael Kelley (EOSG) > ; KY Srinivasan ; > t...@linutronix.de; mi...@kernel.org; l...@intel.com > Subject: [tip:x86/hyperv] x86/Hyper-V/hv_api

RE: [tip:x86/hyperv] x86/Hyper-V/hv_apic: Build the Hyper-V APIC conditionally

2018-05-20 Thread KY Srinivasan
> -Original Message- > From: tip tree robot > Sent: Saturday, May 19, 2018 12:40 PM > To: linux-tip-comm...@vger.kernel.org > Cc: l...@intel.com; h...@zytor.com; mi...@kernel.org; Michael Kelley > (EOSG) ; t...@linutronix.de; KY > Srinivasan > Subject: [tip:x86/hyperv] x86/Hyper-V/hv_ap

Re: [PATCH 09/14] net: sched: don't release reference on action overwrite

2018-05-20 Thread Vlad Buslov
On Sat 19 May 2018 at 21:52, Marcelo Ricardo Leitner wrote: > On Mon, May 14, 2018 at 05:27:10PM +0300, Vlad Buslov wrote: >> Return from action init function with reference to action taken, >> even when overwriting existing action. > > Isn't this patch necessary before patch 7, to not break thin

Re: [GIT PULL] Btrfs fixes for 4.17-rc6

2018-05-20 Thread Linus Torvalds
On Sun, May 20, 2018 at 8:21 AM David Sterba wrote: > They IMHO qualify for a late rc, though I did not expect that many. Especially with the tree-log.c changes being fairly big, I took a look, and I have to say that I appreciate (a) the warning in the pull request and (b) the extensive log mess

Re: Tasks RCU vs Preempt RCU

2018-05-20 Thread Joel Fernandes
On Sun, May 20, 2018 at 11:28:43AM -0400, Steven Rostedt wrote: > > [ Steve interrupts his time off ] Hope you're enjoying your vacation :) > On Sat, 19 May 2018 17:49:38 -0700 > "Paul E. McKenney" wrote: > > > I suggested to Steven that the rcu_read_lock() and rcu_read_unlock() might > > be o

Re: [alsa-devel] [PATCH 5/6] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-20 Thread Ladislav Michl
On Sat, May 19, 2018 at 11:55:51PM +0200, Janusz Krzysztofik wrote: > On Saturday, May 19, 2018 8:00:38 PM CEST Andy Shevchenko wrote: > > On Sat, May 19, 2018 at 2:15 AM, Janusz Krzysztofik > wrote: > > > On Friday, May 18, 2018 11:21:14 PM CEST Andy Shevchenko wrote: > > >> On Sat, May 19, 2018

[GIT PULL] parisc section mismatch fixes for 4.17-rc6

2018-05-20 Thread Helge Deller
Hi Linus, please pull three small section mismatch fixes for the parisc architecture from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.17-5 Three small section mismatch fixes, one of them was found by 0-day test infrastructure. Thanks, Helge --

Re: [PATCH] mtd: mtdoops: optionally dump boottime

2018-05-20 Thread kbuild test robot
Hi Stefan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mtd/master] [also build test WARNING on v4.17-rc5 next-20180517] [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/l

Re: cryptomgr_test / drbg_ctr: BUG: sleeping function called from invalid context

2018-05-20 Thread Stephan Müller
Am Freitag, 18. Mai 2018, 10:36:04 CEST schrieb Geert Uytterhoeven: Hi Geert, > > I tried following the code path, but couldn't find where it went wrong. > > mutex_lock(&drbg->drbg_mutex) is called from drbg_instantiate(), which is > inlined by the compiler into drbg_kcapi_seed(). > > Do you ha

Re: [alsa-devel] [PATCH 5/6] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-20 Thread Dmitry Torokhov
On Sun, May 20, 2018 at 09:27:05PM +0200, Ladislav Michl wrote: > On Sat, May 19, 2018 at 11:55:51PM +0200, Janusz Krzysztofik wrote: > > On Saturday, May 19, 2018 8:00:38 PM CEST Andy Shevchenko wrote: > > > On Sat, May 19, 2018 at 2:15 AM, Janusz Krzysztofik > > wrote: > > > > On Friday, May 18

Re: [PATCH 2/6] Input: ams_delta_serio: use GPIO lookup table

2018-05-20 Thread Dmitry Torokhov
Hi Janusz, On Fri, May 18, 2018 at 11:09:50PM +0200, Janusz Krzysztofik wrote: > Now as the Amstrad Delta board provides GPIO lookup tables, switch from > GPIO numbers to GPIO descriptors and use the table to locate required > GPIO pins. > > Declare static variables for storing GPIO descriptors a

[PATCH 1/2] rtc: brcmstb-waketimer: switch to rtc_register_device

2018-05-20 Thread Alexandre Belloni
Switch to devm_rtc_allocate_device/rtc_register_device. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-brcmstb-waketimer.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-brcmstb-waketimer.c b/drivers/rtc/rtc-brcmstb-waketimer.c index bdd6

[PATCH 2/2] rtc: brcmstb-waketimer: add range

2018-05-20 Thread Alexandre Belloni
Let the core handle the range. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-brcmstb-waketimer.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-brcmstb-waketimer.c b/drivers/rtc/rtc-brcmstb-waketimer.c index ba49d9bcff12..f4010a75f2be 100644 ---

Re: PROBLEM: mce: [Hardware Error] from dmesg -l emerg

2018-05-20 Thread Borislav Petkov
On Sun, May 20, 2018 at 05:27:32PM +0530, Jeffrin Thalakkottoor wrote: > output for "dmesg | mcelog --ascii" command related Ok, but please do not top-post. ... > Hardware event. This is not a software error. > CPU 0 BANK 0 TSC dead > STATUS 0 MCGSTATUS 0 > line timer enabled > smpboot: CPU0: I

Re: [PATCH 13/14] net: sched: use unique idr insert function in unlocked actions

2018-05-20 Thread Or Gerlitz
On Sun, May 20, 2018 at 1:20 AM, Marcelo Ricardo Leitner wrote: > On Mon, May 14, 2018 at 05:27:14PM +0300, Vlad Buslov wrote: >> Substitute calls to action insert function with calls to action insert >> unique function that warns if insertion overwrites index in idr. > > I know this patch may be

[PATCH v7 00/13] KVM: arm/arm64: Allow multiple GICv3 redistributor regions

2018-05-20 Thread Eric Auger
At the moment the KVM VGICv3 only supports a single redistributor region (whose base address is set through the GICv3 kvm device KVM_DEV_ARM_VGIC_GRP_ADDR/KVM_VGIC_V3_ADDR_TYPE_REDIST). There, all the redistributors are laid out contiguously. The size of this single redistributor region is not set

[PATCH v7 02/13] KVM: arm/arm64: Document KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION

2018-05-20 Thread Eric Auger
We introduce a new KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION attribute in KVM_DEV_ARM_VGIC_GRP_ADDR group. It allows userspace to provide the base address and size of a redistributor region Compared to KVM_VGIC_V3_ADDR_TYPE_REDIST, this new attribute allows to declare several separate redistributor regi

[PATCH v7 06/13] KVM: arm/arm64: Adapt vgic_v3_check_base to multiple rdist regions

2018-05-20 Thread Eric Auger
vgic_v3_check_base() currently only handles the case of a unique legacy redistributor region whose size is not explicitly set but inferred, instead, from the number of online vcpus. We adapt it to handle the case of multiple redistributor regions with explicitly defined size. We rely on two new he

[PATCH v7 10/13] KVM: arm/arm64: Check all vcpu redistributors are set on map_resources

2018-05-20 Thread Eric Auger
On vcpu first run, we eventually know the actual number of vcpus. This is a synchronization point to check all redistributors were assigned. On kvm_vgic_map_resources() we check both dist and redist were set, eventually check potential base address inconsistencies. Signed-off-by: Eric Auger Revie

[PATCH v7 13/13] KVM: arm/arm64: Bump VGIC_V3_MAX_CPUS to 512

2018-05-20 Thread Eric Auger
Let's raise the number of supported vcpus along with vgic v3 now that HW is looming with more physical CPUs. Signed-off-by: Eric Auger Acked-by: Christoffer Dall --- v4 -> v5: - addded Christoffer's A-b --- include/kvm/arm_vgic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH v7 12/13] KVM: arm/arm64: Implement KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION

2018-05-20 Thread Eric Auger
Now all the internals are ready to handle multiple redistributor regions, let's allow the userspace to register them. Signed-off-by: Eric Auger Reviewed-by: Christoffer Dall --- v5 -> v6: - added Christoffer's R-b v4 -> v5: - s/uint_t/u - fix KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION read - fix read

[PATCH v7 07/13] KVM: arm/arm64: Helper to register a new redistributor region

2018-05-20 Thread Eric Auger
We introduce a new helper that creates and inserts a new redistributor region into the rdist region list. This helper both handles the case where the redistributor region size is known at registration time and the legacy case where it is not (eventually depending on the number of online vcpus). Dep

[PATCH v7 11/13] KVM: arm/arm64: Add KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION

2018-05-20 Thread Eric Auger
This new attribute allows the userspace to set the base address of a reditributor region, relaxing the constraint of having all consecutive redistibutor frames contiguous. Signed-off-by: Eric Auger Acked-by: Christoffer Dall --- v3 -> v4: - keep previous indentation for existing attributes - a

[PATCH v7 09/13] KVM: arm/arm64: Check vcpu redist base before registering an iodev

2018-05-20 Thread Eric Auger
As we are going to register several redist regions, vgic_register_all_redist_iodevs() may be called several times. We need to register a redist_iodev for a given vcpu only once. So let's check if the base address has already been set. Initialize this latter in kvm_vgic_vcpu_init(). Signed-off-by:

[PATCH v7 04/13] KVM: arm/arm64: Helper to locate free rdist index

2018-05-20 Thread Eric Auger
We introduce vgic_v3_rdist_free_slot to help identifying where we can place a new 2x64KB redistributor. Signed-off-by: Eric Auger Reviewed-by: Christoffer Dall --- v3 -> v4: - add details to vgic_v3_rdist_free_slot kernel doc comment - Added Christoffer's R-b --- virt/kvm/arm/vgic/vgic-mmio-v

[PATCH v7 08/13] KVM: arm/arm64: Remove kvm_vgic_vcpu_early_init

2018-05-20 Thread Eric Auger
kvm_vgic_vcpu_early_init gets called after kvm_vgic_cpu_init which is confusing. The call path is as follows: kvm_vm_ioctl_create_vcpu |_ kvm_arch_cpu_create |_ kvm_vcpu_init |_ kvm_vgic_vcpu_init |_ kvm_arch_vcpu_postcreate |_ kvm_vgic_vcpu_early_init Static initialization currently d

[PATCH v7 05/13] KVM: arm/arm64: Revisit Redistributor TYPER last bit computation

2018-05-20 Thread Eric Auger
The TYPER of an redistributor reflects whether the rdist is the last one of the redistributor region. Let's compare the TYPER GPA against the address of the last occupied slot within the redistributor region. Signed-off-by: Eric Auger Reviewed-by: Christoffer Dall --- v3 -> v4: - added Christo

[PATCH v7 01/13] KVM: arm/arm64: Set dist->spis to NULL after kfree

2018-05-20 Thread Eric Auger
in case kvm_vgic_map_resources() fails, typically if the vgic distributor is not defined, __kvm_vgic_destroy will be called several times. Indeed kvm_vgic_map_resources() is called on first vcpu run. As a result dist->spis is freeed more than once and on the second time it causes a "kernel BUG at m

[PATCH v7 03/13] KVM: arm/arm64: Replace the single rdist region by a list

2018-05-20 Thread Eric Auger
At the moment KVM supports a single rdist region. We want to support several separate rdist regions so let's introduce a list of them. This patch currently only cares about a single entry in this list as the functionality to register several redist regions is not yet there. So this only translates

Re: [PATCH v6 00/12] KVM: arm/arm64: Allow multiple GICv3 redistributor regions

2018-05-20 Thread Auger Eric
Hi Marc, On 05/20/2018 03:43 PM, Marc Zyngier wrote: > Hi Eric, > > On Mon, 30 Apr 2018 13:48:26 +0200 > Eric Auger wrote: > >> At the moment the KVM VGICv3 only supports a single redistributor >> region (whose base address is set through the GICv3 kvm device >> KVM_DEV_ARM_VGIC_GRP_ADDR/KVM_VG

Re: [PATCH 13/14] net: sched: use unique idr insert function in unlocked actions

2018-05-20 Thread Marcelo Ricardo Leitner
On Mon, May 21, 2018 at 12:13:06AM +0300, Or Gerlitz wrote: > On Sun, May 20, 2018 at 1:20 AM, Marcelo Ricardo Leitner > wrote: > > On Mon, May 14, 2018 at 05:27:14PM +0300, Vlad Buslov wrote: > >> Substitute calls to action insert function with calls to action insert > >> unique function that war

Re: [PATCH 13/14] net: sched: use unique idr insert function in unlocked actions

2018-05-20 Thread Or Gerlitz
On Mon, May 21, 2018 at 12:33 AM, Marcelo Ricardo Leitner wrote: > On Mon, May 21, 2018 at 12:13:06AM +0300, Or Gerlitz wrote: >> On Sun, May 20, 2018 at 1:20 AM, Marcelo Ricardo Leitner >> wrote: >> > On Mon, May 14, 2018 at 05:27:14PM +0300, Vlad Buslov wrote: >> >> Substitute calls to action i

Proposal

2018-05-20 Thread Zeliha Omer Faruk
-- Hello Greetings to you please i have a business proposal for you contact me for more detailes asap thanks. Best Regards, Miss.Zeliha ömer faruk Esentepe Mahallesi Büyükdere Caddesi Kristal Kule Binasi No:215 Sisli - Istanbul, Turkey

Re: [PATCH 00/10] Misc block layer patches for bcachefs

2018-05-20 Thread Kent Overstreet
On Fri, May 18, 2018 at 03:12:27PM +, Bart Van Assche wrote: > On Fri, 2018-05-18 at 05:06 -0400, Kent Overstreet wrote: > > On Thu, May 17, 2018 at 08:54:57PM +, Bart Van Assche wrote: > > > With Jens' latest for-next branch I hit the kernel warning shown below. > > > Can > > > you have a

Re: [PATCH 00/10] Misc block layer patches for bcachefs

2018-05-20 Thread Bart Van Assche
On Sun, 2018-05-20 at 18:17 -0400, Kent Overstreet wrote: > On Fri, May 18, 2018 at 03:12:27PM +, Bart Van Assche wrote: > > On Fri, 2018-05-18 at 05:06 -0400, Kent Overstreet wrote: > > > On Thu, May 17, 2018 at 08:54:57PM +, Bart Van Assche wrote: > > > > With Jens' latest for-next branch

Re: [PATCH v2] net: qcom/emac: Allocate buffers from local node

2018-05-20 Thread David Miller
From: Hemanth Puranik Date: Fri, 18 May 2018 08:59:29 +0530 > Currently we use non-NUMA aware allocation for TPD and RRD buffers, > this patch modifies to use NUMA friendly allocation. > > Signed-off-by: Hemanth Puranik > --- > Change since v1: > - Addressed comments related to ordering Applie

Re: [PATCH v3 1/2] soc: imx: gpcv2: Do not pass static memory as platform data

2018-05-20 Thread Andrey Smirnov
On Sat, May 19, 2018 at 11:26 PM, Shawn Guo wrote: > On Sat, May 19, 2018 at 03:35:55PM -0700, Andrey Smirnov wrote: >> On Tue, Apr 10, 2018 at 11:32 AM, Andrey Smirnov >> wrote: >> > Platform device core assumes the ownership of dev.platform_data as >> > well as that it is dynamically allocated

[PATCH 00/13] convert block layer to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Jens - this series does the rest of the conversions that Christoph wanted, and drops bioset_create(). Only lightly tested, but the changes are pretty mechanical. Based on your for-next tree. It's also in the for-jens branch at https://evilpiepirate.org/git/bcachefs.git Kent Overstreet (12): bl

[PATCH 02/12] drbd: convert to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- drivers/block/drbd/drbd_bitmap.c | 4 +- drivers/block/drbd/drbd_int.h | 10 ++--- drivers/block/drbd/drbd_main.c | 71 +++--- drivers/block/drbd/drbd_receiver.c | 6 +-- drivers/block/drbd/drbd_req.c | 4 +- drivers/bl

[PATCH 10/12] btrfs: convert to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- fs/btrfs/extent_io.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index e99b329002..56d32bb462 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -26,7 +2

[PATCH 09/12] fs: convert block_dev.c to bioset_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- fs/block_dev.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/fs/block_dev.c b/fs/block_dev.c index 7ec920e270..b550ae280f 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -272,7 +272,7 @@ struct blkdev_dio { struct bio

[PATCH 12/12] block: Drop bioset_create()

2018-05-20 Thread Kent Overstreet
All users have been converted to bioset_init() Signed-off-by: Kent Overstreet --- block/bio.c | 61 ++--- include/linux/bio.h | 6 ++--- 2 files changed, 15 insertions(+), 52 deletions(-) diff --git a/block/bio.c b/block/bio.c index 0a4df92cd6..5

[PATCH 03/12] pktcdvd: convert to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- drivers/block/pktcdvd.c | 50 - include/linux/pktcdvd.h | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index d8aff7f325..69875f5580 100644 --- a/

[PATCH 11/12] xfs: convert to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- fs/xfs/xfs_aops.c | 2 +- fs/xfs/xfs_aops.h | 2 +- fs/xfs/xfs_super.c | 11 +-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index 0ab824f574..102463543d 100644 --- a/fs/xfs/xfs_aops.c +++ b/fs

[PATCH 07/12] dm: convert to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- drivers/md/dm-bio-prison-v1.c | 13 --- drivers/md/dm-bio-prison-v2.c | 13 --- drivers/md/dm-cache-target.c | 25 ++--- drivers/md/dm-core.h | 4 +- drivers/md/dm-crypt.c | 60 ++---

[PATCH 06/12] md: convert to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- drivers/md/md-faulty.c| 2 +- drivers/md/md-linear.c| 2 +- drivers/md/md-multipath.c | 17 - drivers/md/md-multipath.h | 2 +- drivers/md/md.c | 61 +-- drivers/md/md.h | 4 +-- drivers/md/raid

[PATCH 08/12] target: convert to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- drivers/target/target_core_iblock.c | 14 ++ drivers/target/target_core_iblock.h | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/target/target_core_iblock.c b/drivers/target/target_core_iblock.c index 44cacd001a..ce13

[PATCH 05/12] bcache: convert to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- drivers/md/bcache/bcache.h | 10 +- drivers/md/bcache/bset.c| 13 - drivers/md/bcache/bset.h| 2 +- drivers/md/bcache/btree.c | 4 ++-- drivers/md/bcache/io.c | 4 ++-- drivers/md/bcache/request.c | 18 +- d

[PATCH 04/12] lightnvm: convert to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- drivers/lightnvm/pblk-core.c | 30 ++--- drivers/lightnvm/pblk-init.c | 72 drivers/lightnvm/pblk-read.c | 4 +- drivers/lightnvm/pblk-recovery.c | 2 +- drivers/lightnvm/pblk-write.c| 8 ++-- drivers/l

[PATCH 01/12] block: convert bounce, q->bio_split to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- block/blk-core.c | 7 --- block/blk-merge.c | 8 +++ block/blk-sysfs.c | 3 +-- block/bounce.c | 47 ++ drivers/md/dm.c| 2 +- include/linux/bio.h| 5 + include/linux/bl

Re: [PATCH 00/10] Misc block layer patches for bcachefs

2018-05-20 Thread Kent Overstreet
On Sun, May 20, 2018 at 10:19:13PM +, Bart Van Assche wrote: > On Sun, 2018-05-20 at 18:17 -0400, Kent Overstreet wrote: > > On Fri, May 18, 2018 at 03:12:27PM +, Bart Van Assche wrote: > > > On Fri, 2018-05-18 at 05:06 -0400, Kent Overstreet wrote: > > > > On Thu, May 17, 2018 at 08:54:57P

Re: [PATCH 00/10] Misc block layer patches for bcachefs

2018-05-20 Thread Bart Van Assche
On Sun, 2018-05-20 at 18:31 -0400, Kent Overstreet wrote: > On Sun, May 20, 2018 at 10:19:13PM +, Bart Van Assche wrote: > > On Sun, 2018-05-20 at 18:17 -0400, Kent Overstreet wrote: > > > On Fri, May 18, 2018 at 03:12:27PM +, Bart Van Assche wrote: > > > > On Fri, 2018-05-18 at 05:06 -0400

Re: [PATCH v2] isdn: eicon: fix a missing-check bug

2018-05-20 Thread David Miller
From: Wenwen Wang Date: Fri, 18 May 2018 16:33:47 -0500 > In divasmain.c, the function divas_write() firstly invokes the function > diva_xdi_open_adapter() to open the adapter that matches with the adapter > number provided by the user, and then invokes the function diva_xdi_write() > to perform

Re: [PATCH 13/14] net: sched: use unique idr insert function in unlocked actions

2018-05-20 Thread Marcelo Ricardo Leitner
On Mon, May 21, 2018 at 12:40:54AM +0300, Or Gerlitz wrote: > On Mon, May 21, 2018 at 12:33 AM, Marcelo Ricardo Leitner > wrote: > > On Mon, May 21, 2018 at 12:13:06AM +0300, Or Gerlitz wrote: > >> On Sun, May 20, 2018 at 1:20 AM, Marcelo Ricardo Leitner > >> wrote: > >> > On Mon, May 14, 2018 at

Re: [PATCH 01/10] mm: pagecache add lock

2018-05-20 Thread Kent Overstreet
On Fri, May 18, 2018 at 08:53:30AM -0700, Christoph Hellwig wrote: > On Fri, May 18, 2018 at 06:13:06AM -0700, Matthew Wilcox wrote: > > > Historically, the only problematic case has been direct IO, and people > > > have been willing to say "well, if you mix buffered and direct IO you > > > get wha

Linux 4.17-rc6

2018-05-20 Thread Linus Torvalds
Things continue to be fairly calm. There's a couple of commits in here that aren't "trivial few-liners", but most of it really is pretty small. And in fact, a quarter of the full patch for the week is tooling - and the bulk of that is the testing subdirectory. In fact, drivers are in the minority

Re: [PATCH v2] packet: track ring entry use using a shadow ring to prevent RX ring overrun

2018-05-20 Thread Willem de Bruijn
On Sat, May 19, 2018 at 8:07 AM, Jon Rosen wrote: > Fix PACKET_RX_RING bug for versions TPACKET_V1 and TPACKET_V2 which > casues the ring to get corrupted by allowing multiple kernel threads > to claim ownership of the same ring entry. Track ownership in a shadow > ring structure to prevent other

Re: [PATCH net-next 0/9] Misc. bug fixes and cleanup for HNS3 driver

2018-05-20 Thread David Miller
From: Salil Mehta Date: Sat, 19 May 2018 16:53:14 +0100 > This patch-set presents miscellaneous bug fixes and cleanups found > during internal review, system testing and cleanup. Series applied, thank you.

Re: [PATCH net-next v2] net: dsa: b53: Extend platform data to include DSA ports

2018-05-20 Thread David Miller
From: Florian Fainelli Date: Sun, 20 May 2018 08:56:30 -0700 > The b53 driver already defines and internally uses platform data to let the > glue drivers specify parameters such as the chip id. What we were missing was > a way to tell the core DSA layer about the ports and their type. > > Place

Re: [PATCH 00/10] Misc block layer patches for bcachefs

2018-05-20 Thread Kent Overstreet
On Sun, May 20, 2018 at 10:35:29PM +, Bart Van Assche wrote: > On Sun, 2018-05-20 at 18:31 -0400, Kent Overstreet wrote: > > On Sun, May 20, 2018 at 10:19:13PM +, Bart Van Assche wrote: > > > On Sun, 2018-05-20 at 18:17 -0400, Kent Overstreet wrote: > > > > On Fri, May 18, 2018 at 03:12:27P

Re: WARNING in __static_key_slow_dec

2018-05-20 Thread Willem de Bruijn
On Fri, May 18, 2018 at 4:30 PM, Willem de Bruijn wrote: > On Fri, May 18, 2018 at 4:03 AM, DaeRyong Jeong wrote: >> We report the crash: WARNING in __static_key_slow_dec >> >> This crash has been found in v4.8 using RaceFuzzer (a modified >> version of Syzkaller), which we describe more at the e

Re: [PATCH 00/13] convert block layer to bioset_init()/mempool_init()

2018-05-20 Thread NeilBrown
On Sun, May 20 2018, Kent Overstreet wrote: > Jens - this series does the rest of the conversions that Christoph wanted, and > drops bioset_create(). > > Only lightly tested, but the changes are pretty mechanical. Based on your > for-next tree. > > It's also in the for-jens branch at https://evilp

Re: WARNING in __static_key_slow_dec

2018-05-20 Thread Willem de Bruijn
> > -static void sock_disable_timestamp(struct sock *sk, unsigned long flags) > +static void sock_disable_timestamp(struct sock *sk, unsigned long flag) > { > - if (sk->sk_flags & flags) { > - sk->sk_flags &= ~flags; > - if (sock_needs_netstamp(sk) && > -

Re: [PATCH 00/10] Misc block layer patches for bcachefs

2018-05-20 Thread Bart Van Assche
On Sun, 2018-05-20 at 19:00 -0400, Kent Overstreet wrote: > On Sun, May 20, 2018 at 10:35:29PM +, Bart Van Assche wrote: > > On Sun, 2018-05-20 at 18:31 -0400, Kent Overstreet wrote: > > > On Sun, May 20, 2018 at 10:19:13PM +, Bart Van Assche wrote: > > > > On Sun, 2018-05-20 at 18:17 -0400

[PATCH 06/12] md: convert to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- Resend, including Shaohua Li: drivers/md/md-faulty.c| 2 +- drivers/md/md-linear.c| 2 +- drivers/md/md-multipath.c | 17 - drivers/md/md-multipath.h | 2 +- drivers/md/md.c | 61 +-- drivers/md/md.h

Re: [PATCH 00/13] convert block layer to bioset_init()/mempool_init()

2018-05-20 Thread Kent Overstreet
Thanks - sending it to him On Sun, May 20, 2018 at 7:08 PM, NeilBrown wrote: > On Sun, May 20 2018, Kent Overstreet wrote: > >> Jens - this series does the rest of the conversions that Christoph wanted, >> and >> drops bioset_create(). >> >> Only lightly tested, but the changes are pretty mechan

Re: WARNING in ip_recv_error

2018-05-20 Thread Willem de Bruijn
On Fri, May 18, 2018 at 2:59 PM, Willem de Bruijn wrote: > On Fri, May 18, 2018 at 2:46 PM, Willem de Bruijn > wrote: >> On Fri, May 18, 2018 at 2:44 PM, Willem de Bruijn >> wrote: >>> On Fri, May 18, 2018 at 1:09 PM, Willem de Bruijn >>> wrote: On Fri, May 18, 2018 at 11:44 AM, David Mill

Re: [PATCHv2][SMB3] Add kernel trace support

2018-05-20 Thread Dave Chinner
On Sat, May 19, 2018 at 08:56:39PM -0500, Steve French wrote: > On Sat, May 19, 2018 at 6:22 PM, Dave Chinner wrote: > > On Fri, May 18, 2018 at 01:43:14PM -0700, Steve French wrote: > >> On Fri, May 18, 2018 at 11:46 AM, Ralph Böhme wrote: > >> > On Thu, May 17, 2018 at 09:36:36PM -0500, Steve F

Re: [PATCH 00/10] Misc block layer patches for bcachefs

2018-05-20 Thread Kent Overstreet
On Sun, May 20, 2018 at 10:35:29PM +, Bart Van Assche wrote: > On Sun, 2018-05-20 at 18:31 -0400, Kent Overstreet wrote: > > On Sun, May 20, 2018 at 10:19:13PM +, Bart Van Assche wrote: > > > On Sun, 2018-05-20 at 18:17 -0400, Kent Overstreet wrote: > > > > On Fri, May 18, 2018 at 03:12:27P

Re: [PATCH v2] packet: track ring entry use using a shadow ring to prevent RX ring overrun

2018-05-20 Thread Willem de Bruijn
On Sun, May 20, 2018 at 6:51 PM, Willem de Bruijn wrote: > On Sat, May 19, 2018 at 8:07 AM, Jon Rosen wrote: >> Fix PACKET_RX_RING bug for versions TPACKET_V1 and TPACKET_V2 which >> casues the ring to get corrupted by allowing multiple kernel threads >> to claim ownership of the same ring entry.

Re: [PATCH v3 2/3] arm64: dts: renesas: draak: Describe CVBS input

2018-05-20 Thread kbuild test robot
Hi Jacopo, I love your patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [cannot apply to renesas/next v4.17-rc6] [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/J

[GIT] Networking

2018-05-20 Thread David Miller
Sorry, no drug fuelled pull request this time. As for the commits themselves, I can't say for sure :-) 1) Fix refcounting bug for connections in on-packet scheduling mode of IPVS, from Julian Anastasov. 2) Set network header properly in AF_PACKET's packet_snd, from Willem de Bruijn.

Re: [PATCH v2 5/5] kconfig: refactor ncurses package checks for building nconf

2018-05-20 Thread Randy Dunlap
On 05/20/2018 01:16 AM, Masahiro Yamada wrote: > Building nconf requires ncurses, but its presence is not checked. > Check and configure necessary packages by a shell script like the > other GUI frontends. > > Signed-off-by: Masahiro Yamada > --- > > Changes in v2: > - Add fallback code in cas

Re: [PATCH] MAINTAINERS: Change hugetlbfs maintainer and update files

2018-05-20 Thread Naoya Horiguchi
On Fri, May 18, 2018 at 03:52:36PM -0700, Mike Kravetz wrote: > The current hugetlbfs maintainer has not been active for more than > a few years. I have been been active in this area for more than > two years and plan to remain active in the foreseeable future. > > Also, update the hugetlbfs entr

<    1   2   3   4   >