Re: [PATCH v11 3/4] add FPGA manager core

2015-09-24 Thread Dan Carpenter
Of course, the maintainer gets the last word regardless of what anyone else thinks. Generally, minimal code is better. Trying to future proof code is a waste of time because you can't predict what will happen in the future. It's way more likely that some pointer you never expected to be NULL

Re: [PATCH 2/6] irqdomain: add a new send_ipi() to irq_domain_ops

2015-09-24 Thread Qais Yousef
On 09/23/2015 05:44 PM, Jiang Liu wrote: On 2015/9/23 22:49, Qais Yousef wrote: For generic ipi core to use. It takes hwirq as its sole argument. Hopefully this is generic enough? Should we pass something more abstract? Signed-off-by: Qais Yousef ---

Re: [PATCH 2/2] ext4: implement cgroup writeback support

2015-09-24 Thread Artem Bityutskiy
On Wed, 2015-09-23 at 16:48 -0400, Theodore Ts'o wrote: > On Wed, Sep 23, 2015 at 10:47:16PM +0300, Artem Bityutskiy wrote: > > And, by the way, I forgot this detail - I cut AC power off at the > > end, then put it back on after a 20 seconds delay. I mean, this is > > a > > clean reboot, but with

Re: [PATCH 2/2] MIPS: initialise MAARs on secondary CPUs

2015-09-24 Thread Markos Chandras
On 09/22/2015 08:08 PM, Paul Burton wrote: > MAARs should be initialised on each CPU (or rather, core) in the system > in order to achieve consistent behaviour & performance. Previously they > have only been initialised on the boot CPU which leads to performance > problems if tasks are later

Re: [linux-sunxi] Re: [PATCH v4 2/5] soc: sunxi: Add driver for Allwinner Reduced Serial Bus

2015-09-24 Thread Chen-Yu Tsai
On Thu, Sep 24, 2015 at 12:45 AM, Mark Brown wrote: > On Thu, Sep 24, 2015 at 12:05:18AM +0800, Chen-Yu Tsai wrote: > >> +static int sunxi_rsb_device_probe(struct device *dev) >> +{ >> + const struct sunxi_rsb_driver *drv = to_sunxi_rsb_driver(dev->driver); >> + struct

Re: [PATCH 22/31] fs/ntfs: use kmemdup rather than duplicating its implementation

2015-09-24 Thread Andrzej Hajda
On 09/23/2015 12:21 PM, Anton Altaparmakov wrote: > Hi Andrzej, > > Thanks for your patch. It looks fine though I don't quite see the point of > it to be honest. > > It actually adds an additional function call (kmemdup() is not inline) just > to save 1 line of source code in the driver and I

Re: gpios search behaviour for gpio from _DSD

2015-09-24 Thread Mika Westerberg
On Thu, Sep 24, 2015 at 09:25:06AM +0200, Olliver Schinagl wrote: > Hey list, Mika, > > With commit 0d9a693cc86 the following snippet of code was added: > > + /* Try first from _DSD */ > + for (i = 0; i < ARRAY_SIZE(suffixes); i++) { > + if (con_id && strcmp(con_id,

Re: [PATCH] Staging: rtl8712: rtl871x_mp.h: Coding style warnings fix for block comment

2015-09-24 Thread Dan Carpenter
On Thu, Sep 24, 2015 at 01:54:22AM +0530, Punit Vara wrote: > This is a patch to the rtl871x_mp.h that fixes up following warnings > reported by checkpatch.pl : > > -Block comments use a trailing */ on a separate line > > Signed-off-by: Punit Vara > --- >

Re: [PATCH 2/2] acpi-dma: Add support for "dma-names" device property

2015-09-24 Thread Mika Westerberg
On Tue, Sep 15, 2015 at 01:19:59AM +0200, Rafael J. Wysocki wrote: > On Monday, September 14, 2015 05:37:36 PM Mika Westerberg wrote: > > The current implementation hard codes the two supported channels so that > > "tx" is always 0 and "rx" is always 1. This is because there has been no > >

Re: [PATCH 10/26] x86, pkeys: notify userspace about protection key faults

2015-09-24 Thread Ingo Molnar
* Dave Hansen wrote: > A protection key fault is very similar to any other access > error. There must be a VMA, etc... We even want to take > the same action (SIGSEGV) that we do with a normal access > fault. > > However, we do need to let userspace know that something > is

Re: [PATCH 22/31] fs/ntfs: use kmemdup rather than duplicating its implementation

2015-09-24 Thread Anton Altaparmakov
> On 24 Sep 2015, at 10:20, Anton Altaparmakov wrote: > > Hi Andrzej, > >> On 24 Sep 2015, at 09:34, Andrzej Hajda wrote: >> >> On 09/23/2015 12:21 PM, Anton Altaparmakov wrote: >>> Hi Andrzej, >>> >>> Thanks for your patch. It looks fine though I

RE: [RFC PATCH 2/2] usb: phy: Add platform driver support for ULPI PHYs

2015-09-24 Thread Subbaraya Sundeep Bhatta
Hi Peter, > -Original Message- > From: Peter Chen [mailto:peter.c...@freescale.com] > Sent: Thursday, September 24, 2015 2:37 PM > To: Subbaraya Sundeep Bhatta > Cc: ba...@ti.com; devicet...@vger.kernel.org; kis...@ti.com; > gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux- >

[PATCH 6/6] Staging: rtl819u: Fix brace styling issues

2015-09-24 Thread mike dupuis
This is a patch to correct two flavors of brace styling issues in ieee80211_softmac_wx.c. Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

Re: [Nbd] NBD: Disconnect connection/kill NBD server cause kernel bug even kernel hang

2015-09-24 Thread Markus Pargmann
Hi, Thanks for the pointer Paul. On Mon, Sep 21, 2015 at 05:33:21PM -0700, Sheng Yang wrote: > Thank you Paul! That's exactly the issue I met. I've read the whole > thread and got a general idea of the issue. > > I try to summarize it and please correct me if I'm wrong: > > 1. The issue is the

[PATCH 3/6] Staging: rtl8192u: move open braces to previous lines

2015-09-24 Thread mike dupuis
This is a patch to move opening braces to the lines on which their corresponding if-statements exist in ieee80211_softmac_wx.c. Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 9 +++-- 1 file changed, 3 insertions(+), 6

[PATCH 0/6] Staging: rtl8192u: checkpatch.pl fixes

2015-09-24 Thread mike dupuis
This series of patches addresses several checkpatch.pl issues in ieee80211_softmac_wx.c. Before: total: 14 errors, 24 warnings, 59 checks, 602 lines checked After: total: 0 errors, 20 warnings, 59 checks, 599 lines checked Mike Dupuis (6): Staging: rtl8192u: space required after ','

[PATCH 2/6] Staging: rtl8192u: add missing blank lines after declarations

2015-09-24 Thread mike dupuis
This is a patch to add blank lines after declaration ins several instances in iee80211_softmac_wx.c. Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 5/6] Staging: rtl8192u: spaces required around = operator

2015-09-24 Thread mike dupuis
This is a patch to add spaces around = operators in several instances in ieee80211_softmac_wx.c Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 1/6] Staging: rtl8192u: space required after ','

2015-09-24 Thread mike dupuis
This is a fix to add spaces after commas in ieee80211_softmac_wx.c. Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 4/6] Staging: rtl8192u: add spaces around == and || operators

2015-09-24 Thread mike dupuis
This is a patch to add missing spaces around == and || operators in one instance in ieee80211_softmac_wx.c. Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 0/3] drivers/misc/sgi-gru: unapplied patches and a new one

2015-09-24 Thread Sudip Mukherjee
On Wed, Sep 23, 2015 at 12:48:25PM -0500, Dimitri Sivanich wrote: > Sudip, > > I can take a look at the Jack Steiner patches. Was there anything in the set > of 3 patches that you sent that still needs a review? Yes. The 3/3 patch please. That one is new. I found that problem while checking

Re: linux-next: Tree for Sep 23

2015-09-24 Thread Sudip Mukherjee
om the commit in your > > mips-for-linux-next tree. Could you re-apply it? > > Thanks for reporting. The patch didn't apply cleanly and when applying > it manually I forgot to git-add the new file. Of course the file was > in the local repo so my test builds did succeed. I fixed t

Re: [PATCH 1/1] gpio: gpiolib: fix identation

2015-09-24 Thread Olliver Schinagl
Appologies! I should not do this early in the morning. It is indeed a copy/paste fail (and not noticing the missing minus) from the section above i was working on. I'm sorry for the noise! Olliver On 24-09-15 09:17, Alexandre Courbot wrote: On Thu, Sep 24, 2015 at 4:14 PM, Olliver Schinagl

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-09-24 Thread Huan Wang
> On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang > wrote: > > > [Alison Wang] Thanks for your reply. I agreed with you about creating > > a new multi_v7_lpae_defconfig. In multi_v7_lpae_defconfig, I need to > > add the following CONFIG_XX to support LS1021A based on >

Re: [Linux v4.2] workqueue: llvmlinux: acpid: BUG: sleeping function called from invalid context at kernel/workqueue.c:2680

2015-09-24 Thread Jiri Kosina
On Thu, 24 Sep 2015, Sedat Dilek wrote: > I am seeing this call-trace when compiling a Linux v4.2.y or Linux > v4.3-rcN kernel with my llvm-toolchain and llvmlinux-amd64 patchset. > CLANG sometimes catches things which GCC does not. > > Not sure if this is a workqueue or hid issue... > > [

Re: [PATCH cgroup/for-4.3-fixes] cgroup, writeback: don't enable cgroup writeback on traditional hierarchies

2015-09-24 Thread Artem Bityutskiy
On Wed, 2015-09-23 at 17:07 -0400, Tejun Heo wrote: > Hello, > > So, this should make the regression go away. It doesn't fix the > underlying bugs but they shouldn't get triggered by people not > experimenting with cgroup. Tejun, this hits the nail on the head and makes the problem go away.

[PATCH v2] lib: Documentation: Synchronize %p formatting documentation

2015-09-24 Thread Martin Kletzander
Move all pointer-formatting documentation to one place in the code and one place in the documentation instead of keeping it in three places with different level of completeness. Documentation/printk-formats.txt has detailed information about each modifier, docstring above pointer() has short

Re: [Linux v4.2] workqueue: llvmlinux: acpid: BUG: sleeping function called from invalid context at kernel/workqueue.c:2680

2015-09-24 Thread Jiri Kosina
On Thu, 24 Sep 2015, Sedat Dilek wrote: > >> > >> [ 24.705767] [] dump_stack+0x7d/0xa0 > >> > >> [ 24.705774] [] ___might_sleep+0x28a/0x2a0 > >> > >> [ 24.705779] [] __might_sleep+0x4f/0xc0 > >> > >> [ 24.705784] [] start_flush_work+0x2f/0x290 > >> > >> [ 24.705789] []

Re: [PATCH 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc

2015-09-24 Thread H. Nikolaus Schaller
Am 23.09.2015 um 15:26 schrieb Peter Meerwald : > >> This driver code was found as: >> >> https://android.googlesource.com/kernel/tegra/+/aaabb2e045f31e5a970109ffdaae900dd403d17e/drivers/staging/iio/adc >> >> Fixed various compilation issues and test this driver on omap5

[PATCH net-next] net: remove unused argument of __netdev_find_adj()

2015-09-24 Thread Michal Kubecek
The __netdev_find_adj() helper does not use its first argument, only the device to find and list to walk through. Signed-off-by: Michal Kubecek --- net/core/dev.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/net/core/dev.c

Re: [RFC PATCH 1/2] usb: doc: Add bindings for ULPI platform driver

2015-09-24 Thread Peter Chen
On Wed, Sep 23, 2015 at 06:24:01PM +0530, Subbaraya Sundeep Bhatta wrote: > This patch adds binding doc info for generic ULPI PHYs > platform driver. > > Signed-off-by: Subbaraya Sundeep Bhatta > --- > .../devicetree/bindings/usb/ulpi-platform-phy.txt | 34 >

Re: [regression] Re: [Linux-v4.2-10463-g9a9952bbd76a] i915: WARNING: intel_display.c:1377 assert_planes_disabled

2015-09-24 Thread Jani Nikula
On Thu, 24 Sep 2015, Sedat Dilek wrote: > On Wed, Sep 23, 2015 at 9:18 AM, Daniel Vetter wrote: >> Adding Jairo to track this regression. > > Hi, > > commit 721a09f7393de6c28a07516dccd654c6e995944a > "drm/i915: Add primary plane to mask if it's visible" >

Re: [PATCH 2/3] EDAC, amd64_edac: Extend scrub rate programmability feature for F15hM60h

2015-09-24 Thread Borislav Petkov
On Wed, Sep 16, 2015 at 03:53:30PM -0500, Aravind Gopalakrishnan wrote: > For F15h M60h processor, the scrub rate control register has moved > to F2 of PCI config space and is at a different offset from > earlier processors. The minimun recommended scrub rate is also different. > (Refer

[PATCH 09/10] iommu/amd: Clear the iommu pre enabled setting

2015-09-24 Thread Baoquan He
In the first Now any change of domain can be updated to dev tables and io page table Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index aee1ae4..1e86f4c

[PATCH 06/10] iommu/amd: Add functions copy_command_buffer/copy_event_buffer

2015-09-24 Thread Baoquan He
Copy command buffer and event buffer from the old to kdump kernel. Still there are 2 problems: 1) Not very sure if this is necessary. If do not copy the old command buffer, and only set the newly allocated command buffer, is there anything wrong? 2) If copy is needed, do we need to take

[PATCH 08/10] iommu/amd: Do not update the information of domain to devtables before device driver init

2015-09-24 Thread Baoquan He
update_domain() is the only place where domain->pt_root will be got and set into dev entry. So before the device driver initialization we do nothing if it's in previously enabled translation status. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 2 +- 1 file changed,

[PATCH 07/10] iommu/amd: copy old dev tables and do not touch dev tables

2015-09-24 Thread Baoquan He
Before old dev tables coping do not touch dev tables if translation is previously enabled. And copy the dev tables/command buffer/event buffer from the old kernel to newly allocated data structure. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu_init.c | 65

[PATCH 05/10] iommu/amd: Add function copy_dev_tables

2015-09-24 Thread Baoquan He
Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu_init.c | 26 ++ drivers/iommu/amd_iommu_types.h | 2 ++ 2 files changed, 28 insertions(+) diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c index 1fc369e..913a718 100644

[PATCH 04/10] iommu/amd: Detect pre enabled translation

2015-09-24 Thread Baoquan He
Add functions to check whether translation is already enabled in IOMMU. Maybe it need be checked per IOMMU. Currently for debugging I didn't do like that. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu_init.c | 26 ++

WARNING: static_key_slow_dec used before call to jump_label_init

2015-09-24 Thread Andrey Wagin
] WARNING: CPU: 0 PID: 0 at kernel/jump_label.c:99 static_key_slow_dec+0x44/0x60() [0.00] static_key_slow_dec used before call to jump_label_init [0.00] Modules linked in: [0.00] CPU: 0 PID: 0 Comm: swapper Not tainted 4.3.0-rc2-next-20150924 #1 [0.00] Hardware name

Re: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-09-24 Thread Arnd Bergmann
On Thursday 24 September 2015 07:27:10 Huan Wang wrote: > > On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang > > wrote: > > > > > [Alison Wang] Thanks for your reply. I agreed with you about creating > > > a new multi_v7_lpae_defconfig. In multi_v7_lpae_defconfig, I need to

Re: [PATCH 1/3] EDAC, ghes_edac: Remove redundant memory_type array

2015-09-24 Thread Borislav Petkov
On Wed, Sep 16, 2015 at 03:53:29PM -0500, Aravind Gopalakrishnan wrote: > We already have edac_mem_types[] that enumerates the different > kinds of memory. So, use that and remove the redundant > memory_type[] array here. > > Signed-off-by: Aravind Gopalakrishnan

Re: [PATCH V2 1/2] clk: imx6: Add SPDIF_GCLK clock in clock tree

2015-09-24 Thread Shengjiu Wang
On Wed, Sep 23, 2015 at 08:33:41AM -0700, Shawn Guo wrote: > On Tue, Sep 15, 2015 at 06:01:01PM +0800, Shengjiu Wang wrote: > > As spdif driver will register SPDIF clock to regmap, regmap will do > > clk_prepare in init function, so SPDIF clock is prepared in probe, then its > > root clock (pll

Re: [PATCH v2] zsmalloc: add comments for ->inuse to zspage

2015-09-24 Thread Sergey Senozhatsky
Cc Andrew On (09/24/15 14:13), Hui Zhu wrote: > Signed-off-by: Hui Zhu Reviewed-by: Sergey Senozhatsky -ss > --- > mm/zsmalloc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c > index

Re: [PATCH v4 1/5] soc: sunxi: Add Allwinner Reduced Serial Bus (RSB) controller bindings

2015-09-24 Thread Maxime Ripard
On Thu, Sep 24, 2015 at 12:05:17AM +0800, Chen-Yu Tsai wrote: > Reduced Serial Bus is a proprietary 2-line push-pull serial bus supporting > multiple slave devices. It was developed by Allwinner, Inc. and used by > Allwinner and X-Powers, Inc. for their line of PMICs and other peripheral > ICs. >

[PATCH] KVM: nVMX: expose VPID capability to L1

2015-09-24 Thread Wanpeng Li
Expose VPID capability to L1. Signed-off-by: Wanpeng Li --- arch/x86/kvm/vmx.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index f9219ad..866045c 100644 --- a/arch/x86/kvm/vmx.c +++

Re: [PATCH 1/1] gpio: gpiolib: fix identation

2015-09-24 Thread Alexandre Courbot
On Thu, Sep 24, 2015 at 4:14 PM, Olliver Schinagl wrote: > From: Olliver Schinagl > > Just a very small cosmetical indentation fix, no code changes You are adding two lines and not removing any, so it is not just a cosmetic fix and actually adds

[tip:x86/fpu] x86/fpu: Fixup uninitialized feature_name warning

2015-09-24 Thread tip-bot for Borislav Petkov
Commit-ID: 158ecc39185b885420e5136b803b29be2bbec7fb Gitweb: http://git.kernel.org/tip/158ecc39185b885420e5136b803b29be2bbec7fb Author: Borislav Petkov AuthorDate: Wed, 23 Sep 2015 12:49:01 +0200 Committer: Ingo Molnar CommitDate: Thu, 24 Sep 2015

gpios search behaviour for gpio from _DSD

2015-09-24 Thread Olliver Schinagl
Hey list, Mika, With commit 0d9a693cc86 the following snippet of code was added: + /* Try first from _DSD */ + for (i = 0; i < ARRAY_SIZE(suffixes); i++) { + if (con_id && strcmp(con_id, "gpios")) { + snprintf(propname, sizeof(propname), "%s-%s",

Re: [PATCH v2] Fix AF_PACKET ABI breakage in 4.2

2015-09-24 Thread Greg Kurz
On Wed, 23 Sep 2015 19:45:08 +0100 David Woodhouse wrote: > Commit 7d82410950aa ("virtio: add explicit big-endian support to memory > accessors") accidentally changed the virtio_net header used by > AF_PACKET with PACKET_VNET_HDR from host-endian to big-endian. > Hi David,

RE: ext4: performance regression introduced by the cgroup writeback support

2015-09-24 Thread Dexuan Cui
> From: Dexuan Cui > Sent: Thursday, September 24, 2015 8:16 > To: 'Tejun Heo' ; Chris Mason ; Theodore Ts'o > ; Andreas Dilger ; linux- > e...@vger.kernel.org; linux-fsde...@vger.kernel.org; linux- > ker...@vger.kernel.org >

Re: [RFC][PATCH] Add spurious wakeup quirk for Lynxpoint controllers

2015-09-24 Thread Mathias Nyman
On 18.09.2015 23:25, Oliver Neukum wrote: On Fri, 2015-09-18 at 09:56 -0700, Laura Abbott wrote: Would you rather see a revert of the patch you gave rather than a new one re-introducing the flag? We need a big fat comment here saying that different tests should different results and the quirk

Re: linux-next: manual merge of the drm-intel tree with the drm-intel-fixes tree

2015-09-24 Thread Jani Nikula
On Thu, 24 Sep 2015, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the drm-intel tree got a conflict in: > > drivers/gpu/drm/i915/intel_display.c > > between commit: > > 721a09f7393d ("drm/i915: Add primary plane to mask if it's visible") > > from

[PATCH v2] hid: enable hid device to suspend/resume asynchronously

2015-09-24 Thread Fu, Zhonghui
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition timing dependency between devices. This patch enables hid devices to

Re: [PATCH 3.10 02/20] iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required

2015-09-24 Thread Markus Pargmann
Hi, On Tue, Sep 22, 2015 at 11:30:25PM +0100, Luis Henriques wrote: > On Sat, Sep 19, 2015 at 10:27:17AM -0700, Greg Kroah-Hartman wrote: > > 3.10-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Markus Pargmann

[PATCH 01/10] iommu/amd: Use standard bitmap operation to set bitmap

2015-09-24 Thread Baoquan He
Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 2 +- drivers/iommu/amd_iommu_init.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index f82060e7..0d59f79 100644 ---

[PATCH 00/10] Fix AMD IOMMU faults in kdump kernel

2015-09-24 Thread Baoquan He
This is a draft patchset trying to fix the issue that AMD IOMMU doesn't work well in kdump kernel. The patch arrangement is not foraml, just presenting what I have done and what's the problem being encountered currently. It contains 3 parts. 1) Clean up patch Patch 1/10, 2/10, 3/10 are code

[PATCH 10/10] iommu/amd: Copy the old ir table

2015-09-24 Thread Baoquan He
Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 1e86f4c..f4f3e63 100644 --- a/drivers/iommu/amd_iommu.c +++

Re: [PATCH] i2c: enable i2c adapter to suspend/resume asynchronously

2015-09-24 Thread Fu, Zhonghui
Hi, I have resent this patch with updated commit message - "[PATCH v2] i2c: enable i2c adapter to suspend/resume asynchronously". Thanks, Zhonghui On 2015/8/24 23:22, Fu, Zhonghui wrote: > Hi, > > Any comments are welcome. > > > Thanks, > Zhonghui > > > > On 2015/8/18 0:17, Fu, Zhonghui

[PATCH v2] i2c: enable i2c adapter to suspend/resume asynchronously

2015-09-24 Thread Fu, Zhonghui
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition timing dependency between devices. This patch enables i2c adapter to

Re: [PATCH] scsi_dh: avoid allowing dh_state to pass format specs when requesting a module

2015-09-24 Thread Johannes Thumshirn
Sasha Levin writes: > A malicious string passed from userspace might contain format specifiers which > request_module() might try to handle, which is bad. > > Signed-off-by: Sasha Levin > --- > drivers/scsi/scsi_dh.c |2 +- > 1 file changed,

Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig

2015-09-24 Thread Yuyang Du
On Wed, Sep 23, 2015 at 09:54:08AM -0700, bseg...@google.com wrote: > > This second thought made a mistake (what was wrong with me). load_avg is > > for sure > > no greater than load with or without blocked load. > > > > With that said, it really does not matter what the following numbers are, >

Re: [Linux v4.2] workqueue: llvmlinux: acpid: BUG: sleeping function called from invalid context at kernel/workqueue.c:2680

2015-09-24 Thread Sedat Dilek
On Thu, Sep 24, 2015 at 10:03 AM, Jiri Kosina wrote: > On Thu, 24 Sep 2015, Jiri Kosina wrote: > >> > >> [ 24.705767] [] dump_stack+0x7d/0xa0 >> > >> [ 24.705774] [] ___might_sleep+0x28a/0x2a0 >> > >> [ 24.705779] [] __might_sleep+0x4f/0xc0 >> > >> [ 24.705784] []

RE: [PATCH 3/3] irqchip/GICv2m: Fix GICv2m build warning on 32 bits

2015-09-24 Thread Pavel Fedin
Hello! > From: Pavel Fedin > > After GICv2m was enabled for 32-bit ARM kernel, a warning popped up: Thank you for the cooperation, i'm now back from my vacation. What about the first patch in the series, which actually enables GICv2m on 32 bits? I don't see it

Re: [PATCH RFC 00/10] counter read during perf sampling

2015-09-24 Thread Jiri Olsa
On Tue, Sep 22, 2015 at 10:13:33AM -0400, kan.li...@intel.com wrote: > From: Kan Liang > > The patch series intends to read counter statistics with fixed frequency > during sampling. The instant benefit is that we can read memory bandwidth > from uncore event during cpu PMU

Re: [PATCH 4/6] irq: add a new generic IPI handling code to irq core

2015-09-24 Thread Qais Yousef
On 09/23/2015 05:50 PM, Jiang Liu wrote: On 2015/9/23 22:49, Qais Yousef wrote: +/** + * irq_reserve_ipi() - setup an IPI to destination cpumask + * @domain: IPI domain + * @dest: cpumask of cpus to receive the IPI + * @devid: devid that requested the reservation + * + * Allocate a virq that

[PATCH 0/1] add devm_of_clk_get() and devm_of_clk_get_by_name() functions

2015-09-24 Thread Paul Osmialowski
From: Paul Osmialowski While working on my pinctrl driver I've found lack of devres compatible equivalent for of_clk_get() function. I'd like to use it for the following (incomplete) piece of device tree configuration: pinctrl: pinctrl { compatible =

[PATCH 1/1] clk: add devm_of_clk_get() and devm_of_clk_get_by_name() functions

2015-09-24 Thread Paul Osmialowski
From: Paul Osmialowski These two functions were added to ease management of clocks obtained from OF device nodes. Signed-off-by: Paul Osmialowski --- drivers/clk/clk-devres.c | 46 ++ include/linux/clk.h

[PATCH] Documentation: Update the default value of crashkernel low

2015-09-24 Thread Baoquan He
In commit 94fb933 ("x86/crash: Allocate enough low memory when crashkernel=high") the default value of crashkernel low memory is changed to 256M. In this patch update it accordingly. Signed-off-by: Baoquan He --- Documentation/kernel-parameters.txt | 6 -- 1 file changed, 4

Re: [PATCH 5/9] perf, tools, stat: Move noise/running printing into printout

2015-09-24 Thread Jiri Olsa
On Mon, Sep 21, 2015 at 04:50:00PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Move the running/noise printing into printout to avoid > duplicated code in the callers. > > v2: Merged with other patches. Remove unnecessary hunk. > Readd hunk that ended in earlier patch.

[PATCH v2] media: vb2: Fix vb2_dc_prepare do not correct sync data to device

2015-09-24 Thread Tiffany Lin
vb2_dc_prepare use the number of SG entries dma_map_sg_attrs return. But in dma_sync_sg_for_device, it use lengths of each SG entries before dma_map_sg_attrs. dma_map_sg_attrs will concatenate SGs until dma length > dma seg bundary. sgt->nents will less than sgt->orig_nents. Using SG entries after

Re: [PATCH] dax: fix deadlock in __dax_fault

2015-09-24 Thread Boaz Harrosh
On 09/24/2015 05:52 AM, Dave Chinner wrote: > On Wed, Sep 23, 2015 at 02:40:00PM -0600, Ross Zwisler wrote: >> Fix the deadlock exposed by xfstests generic/075. Here is the sequence >> that was causing us to deadlock: >> >> 1) enter __dax_fault() >> 2) page = find_get_page() gives us a page, so

[PATCH v2] media: vb2: Fix vb2_dc_prepare do not correct sync data to device

2015-09-24 Thread Tiffany Lin
Change in v2: Apply same fix to videobuf2-dma-sg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] Staging: rtl8712: rtl871x_sta_mgt.c: Coding style warning fix for block comment

2015-09-24 Thread Sudip Mukherjee
On Thu, Sep 24, 2015 at 02:38:26AM +0530, Punit Vara wrote: > This is a patch to the rtl871x_sta_mgt.c file that fixes up following > warning reported by checkpatch.pl: > > -Block comments use a trailing */ on a separate line > > Signed-off-by: Punit Vara > --- When you are

Re: [fuse-devel] fuse scalability part 1

2015-09-24 Thread Miklos Szeredi
On Fri, Aug 14, 2015 at 12:14 PM, Goswin von Brederlow wrote: > On Mon, May 18, 2015 at 05:13:36PM +0200, Miklos Szeredi wrote: >> This part splits out an "input queue" and a "processing queue" from the >> monolithic "fuse connection", each of those having their own spinlock.

Re: [PATCH v2 2/3] usb: gadget: f_midi: free usb request when done

2015-09-24 Thread Clemens Ladisch
Peter Chen wrote: > I can't make my aplaymidi to receive data > # aplaymidi > open /dev/snd/seq failed: No such file or directory modprobe snd-seq There are mechanisms to load it automatically, but your embedded system might not bother about any of them. Or CONFIG_SND_SEQUENCER isn't enabled

[PATCH 2/3] ACPI / EC: Fix query handler related issues

2015-09-24 Thread Lv Zheng
1. acpi_ec_remove_query_handlers() This patch refines the query handler removal logic implemented in acpi_ec_remove_query_handler(), making it to invoke new acpi_ec_remove_query_handlers() API, and ensuring all other removal code paths to invoke the new API to honor the reference count of the

[PATCH 3/3] ACPI / EC: Fix a race issue in acpi_ec_guard_event()

2015-09-24 Thread Lv Zheng
In acpi_ec_guard_event(), EC transaction state machine variables should be checked with the EC spinlock locked. The bug doesn't trigger any real issue now because this bug can only occur when the ec_event_clearing=event mode is applied while there is no user currently using this mode.

[PATCH 1/3] ACPI / EC: Fix a memory leak issue in acpi_ec_query()

2015-09-24 Thread Lv Zheng
When query handler is not found, "result" is actually stil 0, and "struct acpi_ec_query" is not NULL, so the deletion code of "struct acpi_ec_query" at the end of the function cannot be invoked. As a consequence, memory leak can be observed. The issue is introduced by this commit: Commit:

[PATCH 0/3] ACPI / EC: Fix several code coverity issues

2015-09-24 Thread Lv Zheng
This patch fixes several code coverity issues in the EC driver. One serious issue that can cause memory leak is marked as stable material. Lv Zheng (3): ACPI / EC: Fix a memory leak issue in acpi_ec_query() ACPI / EC: Fix query handler related issues ACPI / EC: Fix a race issue in

Re: linux-next: Tree for Sep 23

2015-09-24 Thread Ralf Baechle
On Wed, Sep 23, 2015 at 02:42:36PM -0700, Paul Burton wrote: > Hi Ralf, > > That patch as I submitted it definitely adds arch/mips/mm/sc-debugfs.c > but somehow that file has been lost from the commit in your > mips-for-linux-next tree. Could you re-apply it? Thanks for reporting. The patch

Re: [PATCH] i2c/designware: enable i2c controller to suspend/resume asynchronously

2015-09-24 Thread Fu, Zhonghui
Hi, I have resent this patch with updated commit message - "[PATCH v2] i2c/designware: enable i2c controller to suspend/resume asynchronously". Thanks, Zhonghui On 2015/8/24 23:23, Fu, Zhonghui wrote: > Hi, > > Any comments are welcome. > > > Thanks, > Zhonghui > > > > On 2015/8/18 0:36, Fu,

Re: [PATCH v3 0/4] iio: bmc150 regmap and SPI

2015-09-24 Thread Markus Pargmann
Hi Irina, On Wed, Sep 23, 2015 at 12:46:04PM +, Tirdea, Irina wrote: > > > > -Original Message- > > From: Markus Pargmann [mailto:m...@pengutronix.de] > > Sent: 21 September, 2015 13:55 > > To: Jonathan Cameron > > Cc: Srinivas Pandruvada; Tirdea, Irina; Lars-Peter Clausen; > >

[PATCH V2] staging: rtl8723au: Remove unneeded endianness conversions

2015-09-24 Thread Lars Svensson
Fixing Sparse warnings in rtw_security.c. When checking crc, both actual and expected value was converted to cpu endianness before comparing, causing sparse warnings as below. Since the values are read from the buffer in correct byte order the extra conversions should not be needed. Thanks to

Re: WARNING: static_key_slow_dec used before call to jump_label_init

2015-09-24 Thread Andrey Wagin
el_init > [0.00] Modules linked in: > > [0.00] CPU: 0 PID: 0 Comm: swapper Not tainted > 4.3.0-rc2-next-20150924 #1 > [0.00] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 > [0.00] ebd8af5cfcdffb28 81c03da8 >

Re: [Linux v4.2] workqueue: llvmlinux: acpid: BUG: sleeping function called from invalid context at kernel/workqueue.c:2680

2015-09-24 Thread Sedat Dilek
On Thu, Sep 24, 2015 at 9:57 AM, Jiri Kosina wrote: > On Thu, 24 Sep 2015, Sedat Dilek wrote: > >> I am seeing this call-trace when compiling a Linux v4.2.y or Linux >> v4.3-rcN kernel with my llvm-toolchain and llvmlinux-amd64 patchset. >> CLANG sometimes catches things which

Re: [PATCH v2] lib: Documentation: Synchronize %p formatting documentation

2015-09-24 Thread Andy Shevchenko
On Thu, 2015-09-24 at 10:08 +0200, Martin Kletzander wrote: > Move all pointer-formatting documentation to one place in the code > and > one place in the documentation instead of keeping it in three places > with different level of completeness. Documentation/printk > -formats.txt > has detailed

RE: [PATCH cgroup/for-4.3-fixes] cgroup, writeback: don't enable cgroup writeback on traditional hierarchies

2015-09-24 Thread Dexuan Cui
> On Wed, 2015-09-23 at 17:07 -0400, Tejun Heo wrote: > > Hello, > > > > So, this should make the regression go away. It doesn't fix the > > underlying bugs but they shouldn't get triggered by people not > > experimenting with cgroup. > > Tejun, > > this hits the nail on the head and makes the

Re: [PATCH 0/6] Implement generic IPI support mechanism

2015-09-24 Thread Qais Yousef
On 09/23/2015 05:54 PM, Jiang Liu wrote: On 2015/9/23 22:49, Qais Yousef wrote: This RFC series attempts to implement a generic IPI layer for reserving and sending IPI. It is based on the discussion in this link https://lkml.org/lkml/2015/8/26/713 This series deals with points #1

Re: [PATCH v2] dax: fix NULL pointer in __dax_pmd_fault()

2015-09-24 Thread Boaz Harrosh
On 09/23/2015 12:04 PM, Dave Chinner wrote: > On Tue, Sep 22, 2015 at 08:00:29PM -0700, Dan Williams wrote: <> >> The kaddr is coming from the devm_memremap() in the pmem driver that >> gets unmapped after the device is released by the driver. > > Perhaps the better solution is to not tear down

[PATCH] dmaengine: fix balance of privatecnt

2015-09-24 Thread Peter Ujfalusi
dma_release_channel() decrements privatecnt counter and almost all dma_get* function increments it with the exception of dma_get_slave_channel(). In most cases this does not cause issue since normally the channel is not requested and released, but if a driver requests DMA channel via

Re: [PATCH 22/31] fs/ntfs: use kmemdup rather than duplicating its implementation

2015-09-24 Thread Anton Altaparmakov
Hi Andrzej, > On 24 Sep 2015, at 09:34, Andrzej Hajda wrote: > > On 09/23/2015 12:21 PM, Anton Altaparmakov wrote: >> Hi Andrzej, >> >> Thanks for your patch. It looks fine though I don't quite see the point of >> it to be honest. >> >> It actually adds an additional

[RFC 0/3] kdbus: extend selftests

2015-09-24 Thread Paul Osmialowski
This serie extends kdbus selftests with following new features: - ability to specify TEST_CREATE_CONN without TEST_CREATE_BUS - the 'test-send' test case (by Karol Lewandowski) - ability to run kdbus test by executable binary name Paul Osmialowski (3): kdbus: TEST_CREATE_CONN now does no

Re: [PATCH v2] clk:mxs: Fix bug on frequency divider

2015-09-24 Thread Shawn Guo
On Fri, Sep 18, 2015 at 09:21:17AM +0200, Stefan Wahren wrote: > +Shawn's new address > +linux-arm-kernel > > > On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a > > bad > > result. The division before multiplication computes a wrong value ; the > > calculation is

Re: [PATCH v2] lib: Documentation: Synchronize %p formatting documentation

2015-09-24 Thread Martin Kletzander
On Thu, Sep 24, 2015 at 08:20:27AM +, Shevchenko, Andriy wrote: On Thu, 2015-09-24 at 11:16 +0300, Andy Shevchenko wrote: On Thu, 2015-09-24 at 10:08 +0200, Martin Kletzander wrote: > Move all pointer-formatting documentation to one place in the code > and > one place in the documentation

Re: No more new fbdev drivers, please

2015-09-24 Thread Thomas Petazzoni
Hello, On Thu, 24 Sep 2015 15:27:01 +0300, Tomi Valkeinen wrote: > fbdev is (more or less) maintained, but it's a deprecated framework. All > new Linux display drivers should be done on DRM. > > So let's not add any more new fbdev drivers. > > I will continue to maintain the current fbdev

[v5, 6/6] fsl/fman: Add FMan MAC driver

2015-09-24 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver supporting the three different types of MACs: dTSEC, tGEC and mEMAC. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |3 +-

[v5, 5/6] fsl/fman: Add FMan Port Support

2015-09-24 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Port Driver. The FMan driver uses a module called "Port" to represent the physical TX and RX ports. Each FMan version has different number of physical ports. This patch adds The FMan Port

[v5, 4/6] fsl/fman: Add FMan SP support

2015-09-24 Thread igal.liberman
From: Igal Liberman The Storage Profiles contain parameters that are used by the FMan for frame reception and transmission. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +-

[v5, 2/6] fsl/fman: Add FMan support

2015-09-24 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Driver. The FMan embeds a series of hardware blocks that implement a group of Ethernet interfaces. This patch adds The FMan configuration, initialization and runtime control routines. The

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