Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Neo Jia
On Mon, Jul 04, 2016 at 02:39:22PM +0800, Xiao Guangrong wrote: > > > On 06/30/2016 09:01 PM, Paolo Bonzini wrote: > >The vGPU folks would like to trap the first access to a BAR by setting > >vm_ops on the VMAs produced by mmap-ing a VFIO device. The fault handler > >then can use remap_pfn_range

[PATCH 1/1] firmware: arm_scpi: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Besides, of_address_to_resource always returns -EINVAL for error, delete the assignment for ret. Signed-off-by: Peter Chen --- drivers/firmware/arm_scpi.c | 5 +++-- 1 file changed, 3 inse

Re: linux-next: build failure after merge of the lightnvm tree

2016-07-04 Thread Matias Bjørling
On 07/04/2016 06:31 AM, Stephen Rothwell wrote: Hi Matias, On Thu, 30 Jun 2016 12:56:35 +1000 Stephen Rothwell wrote: After merging the lightnvm tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: "nvm_alloc_dev" [drivers/nvme/host/nvme-core.ko] undefined! ERROR: "

Re: [PATCH v4 2/5]nbd: fix might_sleep warning on socket shutdown

2016-07-04 Thread Pranay Srivastava
On Thu, Jun 30, 2016 at 4:32 PM, Pranay Kr. Srivastava wrote: > spinlocked ranges should be small and not contain calls into huge > subfunctions. Fix my mistake and just get the pointer to the socket > instead of doing everything with spinlock held. > > Reported-by: Mikulas Patocka > Signed-off-b

[alsa-devel] [PATCH] ASoC: bt-sco: add config prompt

2016-07-04 Thread Garlic Tseng
Add config prompt for bt-sco codec driver Signed-off-by: Garlic Tseng --- sound/soc/codecs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index f2f8603..1cd6ab3 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/

Re: [RESEND PATCH v2 0/5] ir-rx51 driver fixes

2016-07-04 Thread Tony Lindgren
* Tony Lindgren [160622 21:47]: > * Ivaylo Dimitrov [160622 12:25]: > > ir-rx51 is a driver for Nokia N900 IR transmitter. The current series > > fixes the remaining problems in the driver: > > Thanks for updating these. > > Trierry, care to ack the PWM patch? > > Mauro, do you want me to set

Re: [PATCH 1/1]ext4: Fix WARN_ON_ONCE when marking buffer dirty

2016-07-04 Thread Pranay Srivastava
On Thu, Jun 30, 2016 at 4:42 PM, Pranay Kr. Srivastava wrote: > Signed-off-by: Pranay Kr. Srivastava > --- > fs/ext4/super.c | 30 -- > 1 file changed, 16 insertions(+), 14 deletions(-) > > diff --git a/fs/ext4/super.c b/fs/ext4/super.c > index 3822a5a..8f10715 100644

[PATCH 1/1] gpu: drm: arcpgu_drv: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Signed-off-by: Peter Chen --- drivers/gpu/drm/arc/arcpgu_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c index

Re: [PATCH v4 14/22] sh: SH7751 core dtsi

2016-07-04 Thread Geert Uytterhoeven
Hi Sato-san, On Wed, Jun 29, 2016 at 3:40 PM, Yoshinori Sato wrote: > --- /dev/null > +++ b/include/dt-bindings/clock/renesas-sh7750.h > @@ -0,0 +1,26 @@ > +/* > + * Copyright (C) 2016 Yoshinori Sato > + * > + * This program is free software; you can redistribute it and/or modify > + * it under t

[PATCH v2] thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs

2016-07-04 Thread Kuninori Morimoto
From: Kuninori Morimoto thermal_add_hwmon_sysfs()/thermal_remove_hwmon_sysfs() need EXPORT_SYMBOL_GPL(). Otherwise we will have ERROR >> ERROR: "thermal_remove_hwmon_sysfs" [drivers/thermal/rcar_thermal.ko] >> undefined! >> ERROR: "thermal_add_hwmon_sysfs" [drivers/thermal/rcar_thermal.ko] und

[PATCH 1/1] gpu: drm: exynos_hdmi: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Signed-off-by: Peter Chen --- drivers/gpu/drm/exynos/exynos_hdmi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exyno

Re: Applied "ASoC: rockchip-max98090: Fix NULL pointer dereference while accessing to jack." to the asoc tree

2016-07-04 Thread Enric Balletbo Serra
Hi Mark, 2016-05-10 20:50 GMT+02:00 Mark Brown : > The patch > >ASoC: rockchip-max98090: Fix NULL pointer dereference while accessing to > jack. > > has been applied to the asoc tree at > >git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git > > All being well this means that i

Re: [PATCH] ARM: multi_v7_defconfig: add ACT8945A

2016-07-04 Thread Nicolas Ferre
Le 01/07/2016 22:26, Alexandre Belloni a écrit : > ACT8945A is the PMIC present on the sama5d2 Xplained. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- > arch/arm/configs/multi_v7_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/configs/multi

Re: [PATCH 3/3] mm/page_owner: track page free call chain

2016-07-04 Thread Joonsoo Kim
On Mon, Jul 04, 2016 at 02:45:24PM +0900, Sergey Senozhatsky wrote: > On (07/04/16 14:29), Joonsoo Kim wrote: > > > > On Sun, Jul 03, 2016 at 01:16:56AM +0900, Sergey Senozhatsky wrote: > > > > > Introduce PAGE_OWNER_TRACK_FREE config option to extend page owner > > > > > with > > > > > free_pages

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-04 Thread Quentin Schulz
On 03/07/2016 17:43, Guenter Roeck wrote: > On 07/03/2016 04:54 AM, Jonathan Cameron wrote: >> On 28/06/16 09:18, Quentin Schulz wrote: >>> The Allwinner SoCs all have an ADC that can also act as a touchscreen >>> controller and a thermal sensor. This patch adds the ADC driver which is >>> based on

[PATCH] ARM: defconfig/at91: Add Bosch M_CAN driver

2016-07-04 Thread Wenyou Yang
Add CONFIG_CAN_M_CAN=y option to enable Bosch M_CAN device driver. Signed-off-by: Wenyou Yang --- arch/arm/configs/sama5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index 9cb1a85..dcde44ff 100644 --- a/arch/ar

Re: [PATCH 1/5] lockdep: Implement bitlock map allocator

2016-07-04 Thread Byungchul Park
On Fri, Jul 01, 2016 at 09:53:12AM +0200, Peter Zijlstra wrote: > On Fri, Jul 01, 2016 at 09:24:44AM +0900, Byungchul Park wrote: > > On Thu, Jun 30, 2016 at 02:59:19PM +0200, Peter Zijlstra wrote: > > > On Mon, Jun 20, 2016 at 01:55:11PM +0900, Byungchul Park wrote: > > > > > > > +struct bitlock_

Re: [PATCH] perf/core: Fix the mask in perf_output_sample_regs

2016-07-04 Thread Yury Norov
On Sun, Jul 03, 2016 at 11:31:58PM +0530, Madhavan Srinivasan wrote: > When decoding the perf_regs mask in perf_output_sample_regs(), > we loop through the mask using find_first_bit and find_next_bit functions. > While the exisitng code works fine in most of the case, > the logic is broken for 32bi

Re: [PATCH] Exchange the Assignments of `MEMORYs' and `CFGs/IOs' in Designware PCIe Driver

2016-07-04 Thread dongbo (E)
On 2016/7/3 23:27, Pratyush Anand wrote: > On Tue, Jun 28, 2016 at 1:42 PM, dongbo (E) wrote: >> >> From: Dong Bo >> >> In designware PCIe driver, the iatu0 is used for both CFG and IO accesses. >> When sending CFGs to peripherals (e.g. lspci), iatu0 frequently switches >> between CFG and IO alte

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Paolo Bonzini
On 04/07/2016 08:39, Xiao Guangrong wrote: > Why the memory mapped by this mmap() is not a portion of MMIO from > underlayer physical device? If it is a valid system memory, is this > interface > really needed to implemented in vfio? (you at least need to set VM_MIXEDMAP > if it mixed system memo

NFS4 Client hangs when copying large files as of kernel version 4.4

2016-07-04 Thread Bünnemann , Thomas
NFS4 Client hangs when copying large files as of kernel version 4.4 Full description of the problem/report: When doing simple copy-jobs with large files (f.ex. partition Images > 4 GByte filesize) the file transfer stalls after about 2 -16 GByte has passed to the NFS-client. No problems using ke

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Xiao Guangrong
On 07/04/2016 03:03 PM, Neo Jia wrote: On Mon, Jul 04, 2016 at 02:39:22PM +0800, Xiao Guangrong wrote: On 06/30/2016 09:01 PM, Paolo Bonzini wrote: The vGPU folks would like to trap the first access to a BAR by setting vm_ops on the VMAs produced by mmap-ing a VFIO device. The fault handle

Re: [PATCH v003] Added support for gcc version >= 6

2016-07-04 Thread Peter Oberparleiter
On 01.07.2016 18:26, Joe Perches wrote: > On Fri, 2016-07-01 at 15:09 +0200, Florian Meier wrote: >> Added support for gcc version >= 6 in gcov. > > It's important to mention the subsystem in the patch subject > > e.g. "Subject: [PATCH V3] gcov: Support gcc version >= 6" Thanks for pointing this

RE: [PATCH 2/7] arm: mach-shmobile: pm-rmobile: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
>On Fri, Jul 1, 2016 at 11:41 AM, Peter Chen wrote: >> of_node_put needs to be called when the device node which is got from >> of_parse_phandle has finished using. >> >> Cc: Simon Horman >> Cc: Magnus Damm >> Signed-off-by: Peter Chen > >NAKed-by: Geert Uytterhoeven > >> --- a/arch/arm/mach

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Xiao Guangrong
On 07/04/2016 03:38 PM, Paolo Bonzini wrote: On 04/07/2016 08:39, Xiao Guangrong wrote: Why the memory mapped by this mmap() is not a portion of MMIO from underlayer physical device? If it is a valid system memory, is this interface really needed to implemented in vfio? (you at least need to

[patch] drm/tegra: sor: Double free on error

2016-07-04 Thread Dan Carpenter
"brick" is allocated with devm_kzalloc() so freeing it with kfree() leads to a double free. We can just delete it. Fixes: a7ba8310c7f5 ('drm/tegra: sor: Implement sor1_brick clock') Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index 8425eda

[PATCH 1/1] gpn: drm: fsl_tcon: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using, but current code only calls it at error path, fix it by adding it at correct code path. Signed-off-by: Peter Chen --- drivers/gpu/drm/fsl-dcu/fsl_tcon.c | 1 + 1 file changed, 1 insertion(+

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Paolo Bonzini
On 04/07/2016 09:37, Xiao Guangrong wrote: >>> >> >> It actually is a portion of the physical mmio which is set by vfio mmap. > > So i do not think we need to care its refcount, i,e, we can consider it > as reserved_pfn, > Paolo? nVidia provided me (offlist) with a simple patch that modified VF

Re: [PATCH] clkdev: add devm_of_clk_get()

2016-07-04 Thread Arnd Bergmann
On Monday, July 4, 2016 1:04:30 AM CEST Kuninori Morimoto wrote: > @@ -501,6 +503,11 @@ static inline struct clk *of_clk_get(struct device_node > *np, int index) > { > return ERR_PTR(-ENOENT); > } > +struct clk *devm_of_clk_get(struct device *dev, > + struct dev

Re: [PATCH 3/3] mm/page_owner: track page free call chain

2016-07-04 Thread Sergey Senozhatsky
On (07/04/16 16:29), Joonsoo Kim wrote: [..] > > well, yes. current hits bad_page(), page_owner helps to find out who > > stole and spoiled it from under current. > > > > CPU a CPU b > > > > alloc_page() > > put_page() << legitimate >

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Neo Jia
On Mon, Jul 04, 2016 at 03:37:35PM +0800, Xiao Guangrong wrote: > > > On 07/04/2016 03:03 PM, Neo Jia wrote: > >On Mon, Jul 04, 2016 at 02:39:22PM +0800, Xiao Guangrong wrote: > >> > >> > >>On 06/30/2016 09:01 PM, Paolo Bonzini wrote: > >>>The vGPU folks would like to trap the first access to a B

Re: [PATCH] phy: fix error handling

2016-07-04 Thread Kishon Vijay Abraham I
Hi, On Monday 04 July 2016 02:38 AM, Christophe JAILLET wrote: > I will resubmit in the coming days. > >return PTR_ERR(phy->clk); > should also be updated. while at that, also fix your $subject to something like "phy: sun9i-usb: fix error handling" Thanks Kishon > > Best regards, > CJ >

Re: [PATCH v003] Added support for gcc version >= 6

2016-07-04 Thread Florian Meier
I'll repost it, that's the easiest fix. On 4 July 2016 at 09:43, Peter Oberparleiter wrote: > On 01.07.2016 18:26, Joe Perches wrote: >> On Fri, 2016-07-01 at 15:09 +0200, Florian Meier wrote: >>> Added support for gcc version >= 6 in gcov. >> >> It's important to mention the subsystem in the pat

Re: [PATCH] relay: Add global mode support for buffer-only channels

2016-07-04 Thread Chris Wilson
On Sun, Jul 03, 2016 at 09:45:27PM +0530, akash.g...@intel.com wrote: > From: Akash Goel > > The following patch added support to use channels with no associated files. > relay: add buffer-only channels; useful for early logging > This is useful when the exact location of relay file is not

Re: [PATCH v4 5/5] ARM: dts: mt2701: add iommu/smi dtsi node for mt2701

2016-07-04 Thread Matthias Brugger
On 04/07/16 03:32, Honghui Zhang wrote: On Sun, 2016-07-03 at 21:12 +0200, Matthias Brugger wrote: On 07/03/2016 08:24 AM, Matthias Brugger wrote: On 06/08/2016 11:51 AM, honghui.zh...@mediatek.com wrote: From: Honghui Zhang Add the dtsi node of iommu and smi for mt2701. Signed-off-by:

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Xiao Guangrong
On 07/04/2016 03:48 PM, Paolo Bonzini wrote: On 04/07/2016 09:37, Xiao Guangrong wrote: It actually is a portion of the physical mmio which is set by vfio mmap. So i do not think we need to care its refcount, i,e, we can consider it as reserved_pfn, Paolo? nVidia provided me (offlist)

Re: [PATCH] clkdev: add devm_of_clk_get()

2016-07-04 Thread Kuninori Morimoto
Hi Arnd > > @@ -501,6 +503,11 @@ static inline struct clk *of_clk_get(struct > > device_node *np, int index) > > { > > return ERR_PTR(-ENOENT); > > } > > +struct clk *devm_of_clk_get(struct device *dev, > > + struct device_node *np, int index) > > +{ > > +

Re: [PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-04 Thread Minchan Kim
On Mon, Jul 04, 2016 at 05:34:05AM +0100, Mel Gorman wrote: > On Mon, Jul 04, 2016 at 10:37:03AM +0900, Minchan Kim wrote: > > > The reason we have zone-based reclaim is that we used to have > > > large highmem zones in common configurations and it was necessary > > > to quickly find ZONE_NORMAL pa

Re: [PATCH 11/13] blk-mq: allow the driver to pass in an affinity mask

2016-07-04 Thread Alexander Gordeev
On Tue, Jun 14, 2016 at 09:59:04PM +0200, Christoph Hellwig wrote: > +static int blk_mq_create_mq_map(struct blk_mq_tag_set *set, > + const struct cpumask *affinity_mask) > +{ > + int queue = -1, cpu = 0; > + > + set->mq_map = kzalloc_node(sizeof(*set->mq_map) * nr_cpu_ids, > +

Build regressions/improvements in v4.7-rc6

2016-07-04 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.7-rc6[1] compared to v4.6[2]. Summarized: - build errors: +10/-7 - build warnings: +1320/-1154 JFYI, when comparing v4.7-rc6[1] to v4.7-rc5[3], the summaries are: - build errors: +3/-2 - build warnings: +691/-871 Not

Re: [PATCH] regulator: core: Assign bool value to variable has_full_constraints

2016-07-04 Thread Mark Brown
On Mon, Jul 04, 2016 at 10:05:25AM +0800, Baoquan He wrote: > In commit 21cf891a (regulator: Make regulator_has_full_constraints a bool) > type of variable has_full_constraints is changed to bool, so assign 'true' > to has_full_constraints here. There is no need to make changes like this, C has f

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Paolo Bonzini
On 04/07/2016 09:59, Xiao Guangrong wrote: > >> But apart from this, it's much more obvious to consider the refcount. >> The x86 MMU code doesn't care if the page is reserved or not; >> mmu_set_spte does a kvm_release_pfn_clean, hence it makes sense for >> hva_to_pfn_remapped to try doing a get_

Re: [PATCH v11 00/22] Add HiSilicon RoCE driver

2016-07-04 Thread oulijun
在 2016/7/2 20:58, Leon Romanovsky 写道: > On Sat, Jul 02, 2016 at 05:39:02PM +0800, Lijun Ou wrote: > > This v11 >> 28 files changed, 10626 insertions(+), 1 deletion(-) > > First version >> 27 files changed, 11670 insertions(+), 11 deletions(-) > > 1K LOC less, we are moving in right direction.

[PATCH v004] gcov: Added support for gcc version >= 6

2016-07-04 Thread Florian Meier
Added support for gcc version >= 6 in gcov. Signed-off-by: Florian Meier --- kernel/gcov/gcc_4_7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/gcov/gcc_4_7.c b/kernel/gcov/gcc_4_7.c index e25e92f..6a5c239 100644 --- a/kernel/gcov/gcc_4_7.c +++ b/kernel/gcov/gcc_4_7

Re: [RFC] block: fix blk_queue_split() resource exhaustion

2016-07-04 Thread Lars Ellenberg
On Sat, Jul 02, 2016 at 06:28:29PM +0800, Ming Lei wrote: > The idea looks good, but not sure it can cover all cases of > dm over brbd or brbd over dm and maintaining two lists > becomes too complicated. > > One clean solution may be to convert the loop of generic_make_request() > into the followi

Re: Build regressions/improvements in v4.7-rc6

2016-07-04 Thread Geert Uytterhoeven
On Mon, Jul 4, 2016 at 10:12 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.7-rc6[1] to v4.7-rc5[3], the summaries are: > - build errors: +3/-2 + /home/kisskb/slave/src/drivers/vhost/vhost.c: error: call to '__compiletime_assert_844' declared with attribute error: BUILD_BUG_ON failed

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Xiao Guangrong
On 07/04/2016 03:53 PM, Neo Jia wrote: On Mon, Jul 04, 2016 at 03:37:35PM +0800, Xiao Guangrong wrote: On 07/04/2016 03:03 PM, Neo Jia wrote: On Mon, Jul 04, 2016 at 02:39:22PM +0800, Xiao Guangrong wrote: On 06/30/2016 09:01 PM, Paolo Bonzini wrote: The vGPU folks would like to trap th

Re: clk: Per controller locks (prepare & enable)

2016-07-04 Thread Krzysztof Kozlowski
On 06/30/2016 06:22 PM, Javier Martinez Canillas wrote: >> Question: >> What do you think about it? I know that talk is cheap and code looks >> better but before starting the work I would like to hear some >> comments/opinions/ideas. >> > > The problem is that the enable and prepare operations are

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Xiao Guangrong
On 07/04/2016 04:14 PM, Paolo Bonzini wrote: On 04/07/2016 09:59, Xiao Guangrong wrote: But apart from this, it's much more obvious to consider the refcount. The x86 MMU code doesn't care if the page is reserved or not; mmu_set_spte does a kvm_release_pfn_clean, hence it makes sense for hv

Re: [PATCH] ARM: defconfig/at91: Add Bosch M_CAN driver

2016-07-04 Thread Nicolas Ferre
Le 04/07/2016 09:15, Wenyou Yang a écrit : > Add CONFIG_CAN_M_CAN=y option to enable Bosch M_CAN device driver. > > Signed-off-by: Wenyou Yang Acked-by: Nicolas Ferre It seems not present in multi_v7 as well: can you please add it as a module? Bye, > --- > > arch/arm/configs/sama5_defconfi

Re: [PATCH] regulator: core: Assign bool value to variable has_full_constraints

2016-07-04 Thread Baoquan He
On 07/04/16 at 10:12am, Mark Brown wrote: > On Mon, Jul 04, 2016 at 10:05:25AM +0800, Baoquan He wrote: > > > In commit 21cf891a (regulator: Make regulator_has_full_constraints a bool) > > type of variable has_full_constraints is changed to bool, so assign 'true' > > to has_full_constraints here.

Re: [PATCH 1/2] drm/amdgpu: remove unneeded conversions to bool

2016-07-04 Thread Christian König
Am 01.07.2016 um 16:22 schrieb Andrew F. Davis: Found with scripts/coccinelle/misc/boolconv.cocci. Signed-off-by: Andrew F. Davis For both patches Reviewed-by: Christian König . --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 8 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 4 ++-- d

Re: [PATCH] regulator: core: Assign bool value to variable has_full_constraints

2016-07-04 Thread Baoquan He
On 07/04/16 at 10:12am, Mark Brown wrote: > On Mon, Jul 04, 2016 at 10:05:25AM +0800, Baoquan He wrote: > > > In commit 21cf891a (regulator: Make regulator_has_full_constraints a bool) > > type of variable has_full_constraints is changed to bool, so assign 'true' > > to has_full_constraints here.

Re: [PATCH 11/13] blk-mq: allow the driver to pass in an affinity mask

2016-07-04 Thread Christoph Hellwig
On Mon, Jul 04, 2016 at 10:15:41AM +0200, Alexander Gordeev wrote: > On Tue, Jun 14, 2016 at 09:59:04PM +0200, Christoph Hellwig wrote: > > +static int blk_mq_create_mq_map(struct blk_mq_tag_set *set, > > + const struct cpumask *affinity_mask) > > +{ > > + int queue = -1, cpu = 0; > > +

[PATCH 01/13] irq/msi: Remove unused MSI_FLAG_IDENTITY_MAP

2016-07-04 Thread Christoph Hellwig
From: Thomas Gleixner No user and we definitely don't want to grow one. Signed-off-by: Thomas Gleixner Reviewed-by: Bart Van Assche --- include/linux/msi.h | 6 ++ kernel/irq/msi.c| 8 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/include/linux/msi.h b/inclu

[PATCH 02/13] irq: Introduce IRQD_AFFINITY_MANAGED flag

2016-07-04 Thread Christoph Hellwig
From: Thomas Gleixner Interupts marked with this flag are excluded from user space interrupt affinity changes. Contrary to the IRQ_NO_BALANCING flag, the kernel internal affinity mechanism is not blocked. This flag will be used for multi-queue device interrupts. Signed-off-by: Thomas Gleixner

[PATCH 04/13] irq: Use affinity hint in irqdesc allocation

2016-07-04 Thread Christoph Hellwig
Use the affinity hint in the irqdesc allocator. The hint is used to determine the node for the allocation and to set the affinity of the interrupt. If multiple interrupts are allocated (multi-MSI) then the allocator iterates over the cpumask and for each set cpu it allocates on their node and sets

[PATCH 05/13] irq/msi: Make use of affinity aware allocations

2016-07-04 Thread Christoph Hellwig
From: Thomas Gleixner Allow the MSI code to provide affinity hints per MSI descriptor. Signed-off-by: Thomas Gleixner --- include/linux/msi.h | 2 ++ kernel/irq/msi.c| 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/msi.h b/include/linux/msi.h index c33abf

automatic interrupt affinity for MSI/MSI-X capable devices V3

2016-07-04 Thread Christoph Hellwig
This series enhances the irq and PCI code to allow spreading around MSI and MSI-X vectors so that they have per-cpu affinity if possible, or at least per-node. For that it takes the algorithm from blk-mq, moves it to a common place, and makes it available through a vastly simplified PCI interrupt

[PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-07-04 Thread Christoph Hellwig
Set the affinity_mask in the PCI device before allocating vectors so that the affinity can be propagated through the MSI descriptor structures to the core IRQ code. Add a new helper __pci_enable_msi_range which is similar to __pci_enable_msix_range introduced in the last patch so that we can alloc

[PATCH 10/13] blk-mq: only allocate a single mq_map per tag_set

2016-07-04 Thread Christoph Hellwig
The mapping is identical for all queues in a tag_set, so stop wasting memory for building multiple. Note that for now I've kept the mq_map pointer in the request_queue, but we'll need to investigate if we can remove it without suffering from the additional indirection. The same would apply to the

[PATCH 11/13] blk-mq: allow the driver to pass in an affinity mask

2016-07-04 Thread Christoph Hellwig
Allow drivers to pass in the affinity mask from the generic interrupt layer, and spread queues based on that. If the driver doesn't pass in a mask we will create it using the genirq helper. As this helper was modelled after the blk-mq algorithm there should be no change in behavior. Signed-off-b

[PATCH 06/13] irq: add a helper spread an affinity mask for MSI/MSI-X vectors

2016-07-04 Thread Christoph Hellwig
This is lifted from the blk-mq code and adopted to use the affinity mask concept just introduced in the irq handling code. It tries to keep the algorithm the same as the one current used by blk-mq, but improvements like assining vectors on a per-node basis instead of just per sibling are possible

[PATCH 13/13] nvme: remove the post_scan callout

2016-07-04 Thread Christoph Hellwig
No need now that we don't have to reverse engineer the irq affinity. Signed-off-by: Christoph Hellwig --- drivers/nvme/host/core.c | 3 --- drivers/nvme/host/nvme.h | 1 - 2 files changed, 4 deletions(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 9d7cee4..b100cce 100

[PATCH 09/13] blk-mq: don't redistribute hardware queues on a CPU hotplug event

2016-07-04 Thread Christoph Hellwig
Currently blk-mq will totally remap hardware context when a CPU hotplug even happened, which causes major havoc for drivers, as they are never told about this remapping. E.g. any carefully sorted out CPU affinity will just be completely messed up. The rebuild also doesn't really help for the comm

[PATCH 12/13] nvme: switch to use pci_alloc_irq_vectors

2016-07-04 Thread Christoph Hellwig
Use the new helper to automatically select the right interrupt type, as well as to use the automatic interupt affinity assignment. Signed-off-by: Christoph Hellwig --- drivers/nvme/host/pci.c | 98 ++--- 1 file changed, 27 insertions(+), 71 deletions(-

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Neo Jia
On Mon, Jul 04, 2016 at 04:19:20PM +0800, Xiao Guangrong wrote: > > > On 07/04/2016 03:53 PM, Neo Jia wrote: > >On Mon, Jul 04, 2016 at 03:37:35PM +0800, Xiao Guangrong wrote: > >> > >> > >>On 07/04/2016 03:03 PM, Neo Jia wrote: > >>>On Mon, Jul 04, 2016 at 02:39:22PM +0800, Xiao Guangrong wrote:

[PATCH 03/13] irq: Add affinity hint to irq allocation

2016-07-04 Thread Christoph Hellwig
From: Thomas Gleixner Add an extra argument to the irq(domain) allocation functions, so we can hand down affinity hints to the allocator. Thats necessary to implement proper support for multiqueue devices. Signed-off-by: Thomas Gleixner --- arch/sparc/kernel/irq_64.c | 2 +- arch/x86/kern

[PATCH] checkkconfigsymbols.py: add --no-color option

2016-07-04 Thread Andrew Donnellan
Add a new option, --no-color, to get rid of ANSI colour escape codes in the output. Useful if redirecting output to a file or piping to another script. (It should really be --no-colour, but I'll accept US spelling in the name of consistency with existing usage in the code comments...) Signed-off-

linux-next: Tree for Jul 4

2016-07-04 Thread Stephen Rothwell
Hi all, Changes since 20160701: The powerpc tree still had its build failure for which I applied a fix patch. The thermal-soc tree gained conflicts against the thermal tree. The net-next tree gained conflicts against the net tree. The lightnvm tree still had its build failure so I used the ver

[PATCH 07/13] pci: Provide sensible irq vector alloc/free routines

2016-07-04 Thread Christoph Hellwig
Add a function to allocate a range of interrupt vectors, which will transparently use MSI-X and MSI if available or fallback to legacy vectors. The interrupts are available in a core managed array in the pci_dev structure, and can also be released using a similar function. A new helper, __pci_enab

Re: [PATCH v2 7/8] mm/zsmalloc: add __init,__exit attribute

2016-07-04 Thread Sergey Senozhatsky
On (07/04/16 14:49), Ganesh Mahendran wrote: [..] > -static void zs_unregister_cpu_notifier(void) > +static void __exit zs_unregister_cpu_notifier(void) > { this __exit symbol is called from `__init zs_init()' and thus is free to crash. -ss

Re: [PATCH v2 8/8] mm/zsmalloc: use helper to clear page->flags bit

2016-07-04 Thread Sergey Senozhatsky
On (07/04/16 14:49), Ganesh Mahendran wrote: > Date: Mon, 4 Jul 2016 14:49:59 +0800 > From: Ganesh Mahendran > To: linux-kernel@vger.kernel.org, linux...@kvack.org > Cc: a...@linux-foundation.org, minc...@kernel.org, ngu...@vflare.org, > sergey.senozhatsky.w...@gmail.com, rost...@goodmis.org, mi

Re: [PATCH v3 2/2] pci/aer: interrupt fixup in the quirk

2016-07-04 Thread Dongdong Liu
Hi Po I found a problem with the similar patch. as the below log. [4.287060] pci :80:00.0: quirk_aer_interrupt dev->irq 416 [4.293778] pcieport :80:00.0: pci_device_probe in [4.299605] pcieport :80:00.0: of_irq_parse_pci() failed with rc=-22 [4.307209] pcieport :8

Re: Applied "ASoC: rockchip-max98090: Fix NULL pointer dereference while accessing to jack." to the asoc tree

2016-07-04 Thread Mark Brown
On Mon, Jul 04, 2016 at 09:24:12AM +0200, Enric Balletbo Serra wrote: > I just saw that these patches and the others in the patch series were > not applied yet. As are fixes and were accepted since middle May, I No, they are actually applied like the e-mail said - please see my git. > expected s

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Xiao Guangrong
On 07/04/2016 04:41 PM, Neo Jia wrote: On Mon, Jul 04, 2016 at 04:19:20PM +0800, Xiao Guangrong wrote: On 07/04/2016 03:53 PM, Neo Jia wrote: On Mon, Jul 04, 2016 at 03:37:35PM +0800, Xiao Guangrong wrote: On 07/04/2016 03:03 PM, Neo Jia wrote: On Mon, Jul 04, 2016 at 02:39:22PM +0800,

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Paolo Bonzini
On 04/07/2016 10:21, Xiao Guangrong wrote: >> >> /* >> * In case the VMA has VM_MIXEDMAP set, whoever called >> remap_pfn_range >> * is also going to call e.g. unmap_mapping_range before the >> underlying >> * non-reserved pages are freed, which will then call our MMU >> notifi

Re: [PATCH] phy: fix error handling

2016-07-04 Thread Dan Carpenter
On Mon, Jul 04, 2016 at 01:22:50PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 04 July 2016 02:38 AM, Christophe JAILLET wrote: > > I will resubmit in the coming days. > > > >return PTR_ERR(phy->clk); > > should also be updated. > > while at that, also fix your $subject to somet

Re: [PATCH] regulator: pwm: Fix regulator ramp delay for continuous mode

2016-07-04 Thread Mark Brown
On Sat, Jul 02, 2016 at 05:47:52PM +0200, Boris Brezillon wrote: > I'm waiting for reviews or acks. AFAIR, I addressed all the comments > Thierry made on my v2, so I guess we're good on the PWM side, but that > would be good to have a review from Mark now that we agreed on the PWM > APIs. I've al

[PATCH v2 1/1] gpu: drm: msm_drv: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Signed-off-by: Peter Chen --- Changes for v2: - There are two missings in the code, handle it both in one patch drivers/gpu/drm/msm/msm_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Xiao Guangrong
On 07/04/2016 04:45 PM, Xiao Guangrong wrote: On 07/04/2016 04:41 PM, Neo Jia wrote: On Mon, Jul 04, 2016 at 04:19:20PM +0800, Xiao Guangrong wrote: On 07/04/2016 03:53 PM, Neo Jia wrote: On Mon, Jul 04, 2016 at 03:37:35PM +0800, Xiao Guangrong wrote: On 07/04/2016 03:03 PM, Neo Jia w

Applied "ASoC: bt-sco: add config prompt" to the asoc tree

2016-07-04 Thread Mark Brown
The patch ASoC: bt-sco: add config prompt has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during th

Re: [PATCH] phy: fix error handling

2016-07-04 Thread Julia Lawall
On Mon, 4 Jul 2016, Dan Carpenter wrote: > On Mon, Jul 04, 2016 at 01:22:50PM +0530, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Monday 04 July 2016 02:38 AM, Christophe JAILLET wrote: > > > I will resubmit in the coming days. > > > > > >return PTR_ERR(phy->clk); > > > should also be up

Re: [PATCHv3 1/2] usb: USB Type-C connector class

2016-07-04 Thread Oliver Neukum
On Wed, 2016-06-29 at 14:27 +0300, Heikki Krogerus wrote: > About the end user of the interface, I think Oliver knows more about > that. But I would imagine that the use cases will be something like, > for example, on systems that need prefer sertain roles, perhaps Host > for example on some serve

Re: [PATCH] Exchange the Assignments of `MEMORYs' and `CFGs/IOs' in Designware PCIe Driver

2016-07-04 Thread Pratyush Anand
On Mon, Jul 4, 2016 at 1:06 PM, dongbo (E) wrote: > On 2016/7/3 23:27, Pratyush Anand wrote: >> On Tue, Jun 28, 2016 at 1:42 PM, dongbo (E) wrote: >>> >>> From: Dong Bo >>> >>> In designware PCIe driver, the iatu0 is used for both CFG and IO accesses. >>> When sending CFGs to peripherals (e.g. l

Re: [PATCH v2] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-04 Thread luca abeni
Hi Juri, On Wed, 29 Jun 2016 20:07:43 +0100 Juri Lelli wrote: > setup_new_dl_entity() takes two parameters, but it only actually uses > one of them, under a different name, to setup a new dl_entity, after: > > 2f9f3fdc928 "sched/deadline: Remove dl_new from struct > sched_dl_entity" > > as we

[RFC PATCH v2 0/4] net: ethernet: Add support for gmii2rgmii converter

2016-07-04 Thread Kedareswara rao Appana
This patch series does the following ---> Add support for gmii2rgmii converter. ---> Add support for gmii2rgmii converter in the macb driver. The Gigabit Media Independent Interface (GMII) to Reduced Gigabit Media Independent Interface (RGMII) core provides the RGMII between RGMII-compliant Ethern

[RFC PATCH v2 1/4] Documentation: DT: net: Add Xilinx gmiitorgmii converter device tree binding documentation

2016-07-04 Thread Kedareswara rao Appana
Device-tree binding documentation for xilinx gmiitorgmii converter. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> New patch. .../devicetree/bindings/net/xilinx_gmii2rgmii.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicet

[RFC PATCH v2 2/4] net: ethernet: xilinx: Add gmii2rgmii converter support

2016-07-04 Thread Kedareswara rao Appana
This patch adds support for gmii2rgmii converter. The GMII to RGMII IP core provides the Reduced Gigabit Media Independent Interface (RGMII) between Ethernet physical media Devices and the Gigabit Ethernet controller. This core can Switch dynamically between the three different speed modes of Oper

[RFC PATCH v2 4/4] net: macb: Add gmii2rgmii phy converter support

2016-07-04 Thread Kedareswara rao Appana
This patch adds support for gmii2rgmii phy converter in the macb driver. The GMII to RGMII IP core provides the Reduced Gigabit Media Independent Interface (RGMII) between Ethernet physical media Devices and the Gigabit Ethernet controller. This core can Switch dynamically between the three differ

[RFC PATCH v2 3/4] Documentation: DT: net: Update binding doc for gmiitorgmii conveter

2016-07-04 Thread Kedareswara rao Appana
This patch updates the macb device-tree binding doc for adding Support for gmiitorgmii converter support. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> New patch. Documentation/devicetree/bindings/net/macb.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation

[PATCH 1/1] gpu: drm: msm_drv: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Signed-off-by: Peter Chen --- drivers/gpu/drm/msm/msm_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 9c65409..

Re: [PATCH] regulator: pwm: Fix regulator ramp delay for continuous mode

2016-07-04 Thread Boris Brezillon
Hi Mark, On Mon, 4 Jul 2016 10:53:36 +0200 Mark Brown wrote: > On Sat, Jul 02, 2016 at 05:47:52PM +0200, Boris Brezillon wrote: > > > I'm waiting for reviews or acks. AFAIR, I addressed all the comments > > Thierry made on my v2, so I guess we're good on the PWM side, but that > > would be good

Re: [PATCH] regulator: core: Assign bool value to variable has_full_constraints

2016-07-04 Thread Mark Brown
On Mon, Jul 04, 2016 at 04:38:26PM +0800, Baoquan He wrote: > By the way, I still think it makes code more read-able to assign a bool > value to a bool variable. In your words, C truly has full support for > using integers in a boolean context, then commit 21cf891a is not > necessary to be made to

Re: [PATCH 03/14] PCI: designware-plat: make it explicitly non-modular

2016-07-04 Thread Joao Pinto
Hi Paul, On 7/3/2016 12:13 AM, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/pci/host/Kconfig:config PCIE_DW_PLAT > drivers/pci/host/Kconfig: bool "Platform bus based DesignWare PCIe > Controller" > (snip...) > Cc: Jingoo Han > Cc: P

Re: [PATCH] regulator: pwm: Fix regulator ramp delay for continuous mode

2016-07-04 Thread Mark Brown
On Mon, Jul 04, 2016 at 11:05:04AM +0200, Boris Brezillon wrote: > I understand, but can we still expect to have it in 4.8 (I mean, > assuming Thierry is okay taking the first 2 patching for 4.8 too)? Possibly - we are getting very close to the merge window now, I don't know what Thierry's polici

Re: Build regressions/improvements in v4.7-rc6

2016-07-04 Thread Arnd Bergmann
On Monday, July 4, 2016 10:21:45 AM CEST Geert Uytterhoeven wrote: > On Mon, Jul 4, 2016 at 10:12 AM, Geert Uytterhoeven > wrote: > > JFYI, when comparing v4.7-rc6[1] to v4.7-rc5[3], the summaries are: > > - build errors: +3/-2 > > + /home/kisskb/slave/src/drivers/vhost/vhost.c: error: call t

Re: [PATCH RFC v2 0/2] pxa_camera transition to v4l2 standalone device

2016-07-04 Thread Hans Verkuil
Hi Robert, On 04/02/2016 04:26 PM, Robert Jarzmik wrote: > Hi Hans and Guennadi, > > This is the second opus of this RFC. The goal is still to see how close our > ports are to see if there are things we could either reuse of change. > > From RFCv1, the main change is cleaning up in function name

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Neo Jia
On Mon, Jul 04, 2016 at 04:45:05PM +0800, Xiao Guangrong wrote: > > > On 07/04/2016 04:41 PM, Neo Jia wrote: > >On Mon, Jul 04, 2016 at 04:19:20PM +0800, Xiao Guangrong wrote: > >> > >> > >>On 07/04/2016 03:53 PM, Neo Jia wrote: > >>>On Mon, Jul 04, 2016 at 03:37:35PM +0800, Xiao Guangrong wrote:

Re: [PATCH 3/4] bus: tegra-aconnect: make it explicitly non-modular

2016-07-04 Thread Jon Hunter
Hi Paul, On 03/07/16 18:30, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/bus/Kconfig:config TEGRA_ACONNECT > drivers/bus/Kconfig:bool "Tegra ACONNECT Bus Driver" > > ...meaning that it currently is not being built as a module by anyone. >

  1   2   3   4   5   6   7   >