Re: [PATCH 4/9] powerpc: inline ip_fast_csum()

2015-09-22 Thread Denis Kirjanov
On 9/22/15, Christophe Leroy wrote: > In several architectures, ip_fast_csum() is inlined > There are functions like ip_send_check() which do nothing > much more than calling ip_fast_csum(). > Inlining ip_fast_csum() allows the compiler to optimise better Hi Christophe, I did try it and see no

Re: [PATCH] kexec: Add prefix "kexec" to output message

2015-09-22 Thread Minfei Huang
On 09/23/15 at 01:26pm, Baoquan He wrote: > On 09/23/15 at 01:14pm, Minfei Huang wrote: > > On 09/23/15 at 10:49am, Baoquan He wrote: > > > This is weird, user really don't need to know each file. I saw you added > > > a new file kexec_internal.h and all three files includes it. Why not doing > >

[RFC PATCH 2/2] powerpc: Add ppc64le_defconfig

2015-09-22 Thread Michael Ellerman
Based directly on ppc64_defconfig using merge_config. Signed-off-by: Michael Ellerman --- arch/powerpc/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index b9b4af2af9a5..3704db45a832 100644 --- a/arch/powerpc/Makefile +++

[RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-22 Thread Michael Ellerman
Arch Makefiles can set KBUILD_DEFCONFIG to tell kbuild the name of the defconfig that should be built by default. However currently there is an assumption that KBUILD_DEFCONFIG points to a file at arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG). We would like to use a target, using merge_config, as

Re: [PATCH 13/13] Staging: rtl8712: Coding style warning fix for block comment

2015-09-22 Thread Sudip Mukherjee
On Wed, Sep 23, 2015 at 02:03:56AM +0530, Punit Vara wrote: > This patch is to rtl8712_gp_bitdef.h file that fixes up following > warning reported by checkpatch : > > -Block comments use a trailing */ on a separate line > > Signed-off-by: Punit Vara > --- I am getting confused. One of your

RE: [PATCH 04/17] powerpc: mpic: use IRQCHIP_SKIP_SET_WAKE instead of redundant mpic_irq_set_wake

2015-09-22 Thread Wang Dongsheng
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Thomas Gleixner > Sent: Wednesday, September 23, 2015 11:49 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Sudeep Holla; linux...@vger.kernel.org; linux- >

RE: [PATCH v10 3/5] CPM/QE: use genalloc to manage CPM/QE muram

2015-09-22 Thread Zhao Qiang
On Wen, Sep 23, 2015 at 12:03 AM +0800, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 23, 2015 12:03 PM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie

Re: [PATCH] kexec: Add prefix "kexec" to output message

2015-09-22 Thread Baoquan He
On 09/23/15 at 01:14pm, Minfei Huang wrote: > On 09/23/15 at 10:49am, Baoquan He wrote: > > This is weird, user really don't need to know each file. I saw you added > > a new file kexec_internal.h and all three files includes it. Why not doing > > it there to make it the same as before? > > The

Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers

2015-09-22 Thread Jiang Liu
On 2015/9/23 7:36, Arthur Marsh wrote: > James Bottomley wrote on 23/09/15 08:15: >> On Wed, 2015-09-23 at 07:55 +0930, Arthur Marsh wrote: >> It looks to be some problem in shut down. Can you simply remove and >> re-insert the driver successfully? If it's your root disk driver, >> you'll have

Re: [PATCH] kexec: Add prefix "kexec" to output message

2015-09-22 Thread Minfei Huang
On 09/23/15 at 10:49am, Baoquan He wrote: > On 09/23/15 at 09:37am, Dave Young wrote: > > > > Hi, Dave. > > > > > > > > How about removing all of the prefix "crashkernel" in kexec_core. Thus > > > > we can be consistent with the output message prefix "kexec". > > > > > > Ping, any comment is

Re: [PATCH v2] net/wireless: enable wiphy device to suspend/resume asynchronously

2015-09-22 Thread Fu, Zhonghui
Hi johannes, Could you please tell me which kernel version will merge this patch? Thanks, Zhonghui On 2015/9/22 22:05, Johannes Berg wrote: > On Sat, 2015-09-19 at 10:40 +0800, Fu, Zhonghui wrote: >> Now, PM core supports asynchronous suspend/resume mode for devices >> during system

Re: [PATCH v2] perf record: Synthesize COMM event for a command line workload

2015-09-22 Thread Namhyung Kim
On Wed, Sep 23, 2015 at 12:09:20AM -0300, Arnaldo Carvalho de Melo wrote: > Le 23 sept. 2015 12:04 AM, "Namhyung Kim" a écrit : > > > > Hi Arnaldo, > > > > On Tue, Sep 22, 2015 at 04:48:25PM -0300, Arnaldo Carvalho de Melo wrote: > > > Humm, I think it is working by accident, as you're not

[PATCH] dcache: Deduplicate code that sets up dentry_hashtable

2015-09-22 Thread Eric Biggers
Make both dcache_init_early() and dcache_init() call a new helper function, dcache_alloc_hashtable(). Also address a small inefficiency by moving the table length calculation outside of the loop condition. gcc apparently doesn't do that because it assumes that the memory pointed to by

[PATCH 02/15] hugetlb: fix compile error on tile

2015-09-22 Thread Dan Williams
Inlude asm/pgtable.h to get the definition for pud_t to fix: include/linux/hugetlb.h:203:29: error: unknown type name 'pud_t' Signed-off-by: Dan Williams --- include/linux/hugetlb.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index

[PATCH 09/15] block, pmem: fix null pointer de-reference on shutdown, check for queue death

2015-09-22 Thread Dan Williams
After the driver has been unbound the queue is dead and the private data pointer is invalid. Check that the queue is still alive, or otherwise pin it active before using queuedata. Fixes crash signatures like the following. BUG: unable to handle kernel paging request at 88014000 [..]

[PATCH 10/15] block, dax: fix lifetime of in-kernel dax mappings

2015-09-22 Thread Dan Williams
The DAX implementation needs to protect new calls to ->direct_access() and usage of its return value against unbind of the underlying block device. Use blk_dax_{get|put}() to either prevent blk_cleanup_queue() from proceeding, or fail the dax_map_bh() if the request_queue is being torn down. Cc:

Re: [PATCH] pinctrl: sort dt_params array in the same order as pin_config_param

2015-09-22 Thread Bjorn Andersson
On Sun 20 Sep 09:26 PDT 2015, Masahiro Yamada wrote: > Sort this array in the same order as enum pin_config_param and > conf_items array for consistency. > > Signed-off-by: Masahiro Yamada > --- > > drivers/pinctrl/pinconf-generic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

[PATCH 06/15] devm_memunmap: use devres_release()

2015-09-22 Thread Dan Williams
Remove open coded call to memunmap. Cc: Christoph Hellwig Cc: Ross Zwisler Signed-off-by: Dan Williams --- kernel/memremap.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/memremap.c b/kernel/memremap.c index 72b0c66628b6..0756273437e0 100644 ---

[PATCH 14/15] mm, dax, pmem: introduce {get|put}_dev_pagemap() for dax-gup

2015-09-22 Thread Dan Williams
get_dev_page() enables paths like get_user_pages() to pin a dynamically mapped pfn-range (devm_memremap_pages()) while the resulting struct page objects are in use. Unlike get_page() it may fail if the device is, or is in the process of being, disabled. While the initial lookup of the range may

[PATCH 11/15] mm, dax, pmem: introduce __pfn_t

2015-09-22 Thread Dan Williams
In preparation for enabling get_user_pages() operations on dax mappings, introduce a type that encapsulates a page-frame-number that can also be used to encode other information. This other information is the historical "page_link" encoding in a scatterlist, but can also denote "device memory".

[PATCH 12/15] mm, dax, gpu: convert vm_insert_mixed to __pfn_t, introduce _PAGE_DEVMAP

2015-09-22 Thread Dan Williams
Convert the raw unsigned long 'pfn' argument to __pfn_t for the purpose of evaluating the PFN_MAP and PFN_DEV flags. When both are set the it triggers _PAGE_DEVMAP to be set in the resulting pte. This flag will later be used in the get_user_pages() path to pin the page mapping, dynamically

[PATCH 15/15] mm, x86: get_user_pages() for dax mappings

2015-09-22 Thread Dan Williams
A dax mapping establishes a pte with _PAGE_DEVMAP set when the driver has established a devm_memremap_pages() mapping, i.e. when the __pfn_t return from ->direct_access() has PFN_DEV and PFN_MAP set. Later, when encountering _PAGE_DEVMAP during a page table walk we lookup and pin a struct

[PATCH 08/15] block, dax, pmem: reference counting infrastructure

2015-09-22 Thread Dan Williams
Enable DAX to use a reference count for keeping the virtual address returned by ->direct_access() valid for the duration of its usage in fs/dax.c, or otherwise hold off blk_cleanup_queue() while pmem_make_request is active. The blk-mq code is already in a position to need low overhead referece

[PATCH 13/15] mm, dax: convert vmf_insert_pfn_pmd() to __pfn_t

2015-09-22 Thread Dan Williams
Similar to the conversion of vm_insert_mixed() use __pfn_t in the vmf_insert_pfn_pmd() to tag the resulting pte with _PAGE_DEVICE when the pfn is backed by a devm_memremap_pages() mapping. Cc: Dave Hansen Cc: Andrew Morton Cc: Matthew Wilcox Cc: Alexander Viro Signed-off-by: Dan Williams ---

[PATCH 04/15] x86, mm: quiet arch_add_memory()

2015-09-22 Thread Dan Williams
Switch to pr_debug() so that dynamic-debug can disable these messages by default. This gets noisy in the presence of devm_memremap_pages(). Signed-off-by: Dan Williams --- arch/x86/mm/init.c|4 ++-- arch/x86/mm/init_64.c |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)

[PATCH 01/15] avr32: convert to asm-generic/memory_model.h

2015-09-22 Thread Dan Williams
Switch avr32/include/asm/page.h to use the common defintions for pfn_to_page(), page_to_pfn(), and ARCH_PFN_OFFSET. Signed-off-by: Dan Williams --- arch/avr32/include/asm/page.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/avr32/include/asm/page.h

[PATCH 07/15] devm_memremap: convert to return ERR_PTR

2015-09-22 Thread Dan Williams
Make devm_memremap consistent with the error return scheme of devm_memremap_pages to remove special casing in the pmem driver. Cc: Christoph Hellwig Cc: Ross Zwisler Signed-off-by: Dan Williams --- drivers/nvdimm/pmem.c | 16 ++-- kernel/memremap.c |2 +- 2 files

[PATCH 05/15] pmem: kill memremap_pmem()

2015-09-22 Thread Dan Williams
Now that the pmem-api is defined as "a set of apis that enables access to WB mapped pmem", the mapping type is implied. Remove the wrapper and push the functionality down into the pmem driver in preparation for adding support for direct-mapped pmem. Signed-off-by: Dan Williams ---

[PATCH 03/15] frv: fix compiler warning from definition of __pmd()

2015-09-22 Thread Dan Williams
Take into account that the pmd_t type is a array inside a struct, so it needs two levels of brackets to initialize. Otherwise, a usage of __pmd generates a warning: include/linux/mm.h:986:2: warning: missing braces around initializer [-Wmissing-braces] Signed-off-by: Dan Williams ---

[PATCH 00/15] get_user_pages() for dax mappings

2015-09-22 Thread Dan Williams
To date, we have implemented two I/O usage models for persistent memory, PMEM (a persistent "ram disk") and DAX (mmap persistent memory into userspace). This series adds a third, DAX-GUP, that allows DAX mappings to be the target of direct-i/o. It allows userspace to coordinate DMA/RDMA from/to

Apple Keyboard (SPI) Driver

2015-09-22 Thread Aleksa Sarai
AFAICS, nobody is working on writing a driver for the MacBook8,1 keyboard (which uses SPI as opposed to USB). Oddly, the vendor ID and product ID are the same as the USB counterpart. Would it be possible to port the logic of the hid-apple driver to SPI, or are the two serial protocols too

Re: [Xen-devel] [PATCH RFC] xen: if on Xen, "flatten" the scheduling domain hierarchy

2015-09-22 Thread Juergen Gross
On 09/22/2015 06:22 PM, George Dunlap wrote: On 09/22/2015 05:42 AM, Juergen Gross wrote: One other thing I just discovered: there are other consumers of the topology sibling masks (e.g. topology_sibling_cpumask()) as well. I think we would want to avoid any optimizations based on those in

[PATCH RESEND] drivers: Update help for firmware loading options

2015-09-22 Thread Eric Biggers
Update the help text to account for the fact that the kernel can now load firmware directly from the filesystem. Also clarify how the FW_LOADER option works. Signed-off-by: Eric Biggers --- drivers/base/Kconfig | 33 + 1 file changed, 21 insertions(+), 12

[PATCH] ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes

2015-09-22 Thread Chen-Yu Tsai
A33 has the same "Security System" crypto engine as A10/A20, but with a separate reset control. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a33.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi

linux-next: Tree for Sep 23

2015-09-22 Thread Stephen Rothwell
Hi all, Changes since 20150922: The berlin tree gained a build failure so I used the version from next-20150922. I used the h8300 tree from next-20150828 since the current tree has been rebased onto something very old :-( The net-next tree lost its build failure. The akpm tree gained

Re: [RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-22 Thread Yang Yingliang
On 2015/9/23 2:54, Thomas Gleixner wrote: On Sat, 19 Sep 2015, Yang Yingliang wrote: Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. This doesn't make any sense at all. You just reuse the existing file to stick your new code into it without reusing a single bit in that

Re: [4.3-rc1, regression] dax: hang on i_mmap_rwsem in generic/075

2015-09-22 Thread Ross Zwisler
On Wed, Sep 23, 2015 at 05:56:31AM +1000, Dave Chinner wrote: > On Tue, Sep 22, 2015 at 01:06:45PM +0300, Kirill A. Shutemov wrote: > > On Tue, Sep 22, 2015 at 01:05:55PM +1000, Dave Chinner wrote: > > > Hi folks, > > > > > > I'm seeing hangs like this when using DAX on XFS on 4.3-rc1 running > >

Re: [PATCH 04/17] powerpc: mpic: use IRQCHIP_SKIP_SET_WAKE instead of redundant mpic_irq_set_wake

2015-09-22 Thread Scott Wood
On Mon, 2015-09-21 at 16:47 +0100, Sudeep Holla wrote: > mpic_irq_set_wake return -ENXIO for non FSL MPIC and sets IRQF_NO_SUSPEND > flag for FSL ones. enable_irq_wake already returns -ENXIO if irq_set_wak > is not implemented. Also there's no need to set the IRQF_NO_SUSPEND flag > as it doesn't

Re: [PATCH v10 3/5] CPM/QE: use genalloc to manage CPM/QE muram

2015-09-22 Thread Scott Wood
On Tue, 2015-09-22 at 21:20 -0500, Zhao Qiang-B45475 wrote: > On Wen, Sep 23, 2015 at 8:19 AM +0800, Wood Scott-B07421 wrote: > > > > > > { > > > > > - int ret; > > > > > + > > > > > + unsigned long start; > > > > > unsigned long flags; > > > > > + unsigned long size_alloc = size; struct

Re: [PATCH] memcg: make mem_cgroup_read_stat() unsigned

2015-09-22 Thread Andrew Morton
On Tue, 22 Sep 2015 17:42:13 -0700 Greg Thelen wrote: > Andrew Morton wrote: > > > On Tue, 22 Sep 2015 15:16:32 -0700 Greg Thelen wrote: > > > >> mem_cgroup_read_stat() returns a page count by summing per cpu page > >> counters. The summing is racy wrt. updates, so a transient negative sum >

RE: [PATCH 04/17] powerpc: mpic: use IRQCHIP_SKIP_SET_WAKE instead of redundant mpic_irq_set_wake

2015-09-22 Thread Thomas Gleixner
On Wed, 23 Sep 2015, Wang Dongsheng wrote: > > On Mon, 2015-09-21 at 16:47 +0100, Sudeep Holla wrote: > > > mpic_irq_set_wake return -ENXIO for non FSL MPIC and sets IRQF_NO_SUSPEND > > > flag for FSL ones. enable_irq_wake already returns -ENXIO if irq_set_wak > > > is not implemented. Also

linux-next: manual merge of the akpm tree with the drm-misc tree

2015-09-22 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in: drivers/gpu/drm/drm_irq.c between commit: 4e32087d8341 ("drm: Use vblank timestamps to guesstimate how many vblanks were missed") from the drm-misc tree and patch: "Remove abs64()" from the akpm tree. I fixed

[PATCH 1/2] ASoC: rockchip: i2s: add 8 channels capture and lrck-mode support

2015-09-22 Thread Sugar Zhang
support max 8 channels capture, please add property 'rockchip,capture-channels' in dts to enable this, if not, support 2 channels capture default. support lrck clk mode configuration, there are 3 modes: - txrx: lrck_tx and lrck_rx are different. - tx_share: lrck_tx is shared with lrck_rx. -

[PATCH 2/2] Documentation: DT bindings: rockchip-i2s: add capture and lrck-mode

2015-09-22 Thread Sugar Zhang
rockchip,capture-channels: max capture channels, 2 channels default. rockchip,lrck-mode: 0: rxtx separate, 1: tx share, 2: rx share. default use 'rxtx separate' mode. Signed-off-by: Sugar Zhang --- Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 5 + 1 file changed, 5

[PATCH 0/2] ASoC: rockchip: i2s: add 8 channels capture and lrck-mode

2015-09-22 Thread Sugar Zhang
Support max 8 channels capture. support lrck clk mode configuration, there are 3 modes: - txrx: lrck_tx and lrck_rx are different. - tx_share: lrck_tx is shared with lrck_rx. - rx_share: lrck_rx is shared with lrck_tx. Sugar Zhang (2): ASoC: rockchip: i2s: add 8 channels capture and

Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-22 Thread Seth Jennings
On Tue, Sep 22, 2015 at 02:17:33PM +0200, Vitaly Wool wrote: > Currently zbud is only capable of allocating not more than > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE. This is okay as > long as only zswap is using it, but other users of zbud may > (and likely will) want to allocate up to

linux-next: build warning after merge of the drm-misc tree

2015-09-22 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/gpu/drm/drm_crtc.c: In function 'drm_fb_release': drivers/gpu/drm/drm_crtc.c:3494:21: warning: unused variable 'dev' [-Wunused-variable] struct drm_device *dev =

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

2015-09-22 Thread Peter Chen
On Tue, Sep 22, 2015 at 07:59:09PM +0100, Felipe F. Tonello wrote: > req->actual == req->length means that there is no data left to enqueue, > so free the request. > > Signed-off-by: Felipe F. Tonello > --- > drivers/usb/gadget/function/f_midi.c | 5 - > 1 file changed, 4 insertions(+), 1

Re: [PATCH v2 3/6] staging: fsl-mc: up-rev dpbp binary interface to v2.0

2015-09-22 Thread Greg KH
On Tue, Sep 22, 2015 at 06:08:56PM -0500, J. German Rivera wrote: > Add cmd_flags parameter to all dpbp APIs to comply > with the dpbp 2.0 MC interface. Updated MC version > major number. Pass irq args in struct instead of > separate args. > > Signed-off-by: J. German Rivera > --- >

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-22 Thread Oliver Neukum
On Tue, 2015-09-22 at 11:22 -0400, Alan Stern wrote: > On Tue, 22 Sep 2015, Oliver Neukum wrote: > > > Cancel, yes, going to low power is a consequence which needn't bother > > the power subsystem. > > Going to low power needn't involve the power subsystem? That sounds > weird. Think of it

Re: [PATCH v2] perf record: Synthesize COMM event for a command line workload

2015-09-22 Thread Namhyung Kim
Hi Arnaldo, On Tue, Sep 22, 2015 at 04:48:25PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Sep 22, 2015 at 04:25:34PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Tue, Sep 22, 2015 at 09:24:55AM +0900, Namhyung Kim escreveu: > > > When perf creates a new child to profile, the events are

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

2015-09-22 Thread Dan Williams
On Tue, Sep 22, 2015 at 4:30 PM, Dave Chinner wrote: > On Tue, Sep 22, 2015 at 02:25:19PM -0700, Dan Williams wrote: >> On Tue, Sep 22, 2015 at 2:13 PM, Andrew Morton >> wrote: >> > On Tue, 22 Sep 2015 13:36:22 -0600 Ross Zwisler >> > wrote: >> > >> >> The following commit: >> >> >> >> commit

Re: [PATCH] perf probe: Fix module probing with shortname

2015-09-22 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 23, 2015 at 09:14:44AM +0800, Wangnan (F) escreveu: > > > On 2015/9/22 21:35, Arnaldo Carvalho de Melo wrote: > >Em Tue, Sep 22, 2015 at 03:34:32AM +, Wang Nan escreveu: > >>After commit 3d39ac538629e4f00a6e1c38d46346f1b8e69505 ("perf machine: > >>No need to have two DSOs

Re: [PATCH] kexec: Add prefix "kexec" to output message

2015-09-22 Thread Baoquan He
On 09/23/15 at 09:37am, Dave Young wrote: > > > Hi, Dave. > > > > > > How about removing all of the prefix "crashkernel" in kexec_core. Thus > > > we can be consistent with the output message prefix "kexec". > > > > Ping, any comment is appreciate and helpful. > > Remove "crashkernel" sounds

Re: How to ensure that different peripherals getting different IOVA address in kernel?

2015-09-22 Thread Jiang Liu
On 2015/9/23 9:55, chenfeng wrote: > Hi all, > > In IOMMU architecture , how to make two different peripherals share the same > page table ? > > In other words , is there a mechanism or structure to make two peripherals > get completely different address. > > eg: > > peri-A、peri-B and peri-C

[PATCH] memcg: remove pcp_counter_lock

2015-09-22 Thread Greg Thelen
Commit 733a572e66d2 ("memcg: make mem_cgroup_read_{stat|event}() iterate possible cpus instead of online") removed the last use of the per memcg pcp_counter_lock but forgot to remove the variable. Kill the vestigial variable. Signed-off-by: Greg Thelen --- include/linux/memcontrol.h | 1 -

RE: [PATCH 04/17] powerpc: mpic: use IRQCHIP_SKIP_SET_WAKE instead of redundant mpic_irq_set_wake

2015-09-22 Thread Wang Dongsheng
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 23, 2015 7:50 AM > To: Sudeep Holla > Cc: linux...@vger.kernel.org; linux-kernel@vger.kernel.org; Thomas Gleixner; > Rafael J. Wysocki; Benjamin Herrenschmidt; Paul Mackerras; Michael Ellerman; > Jia >

Re: [RFC v7 18/41] ext4: Add richacl support

2015-09-22 Thread Aneesh Kumar K.V
Andreas Gruenbacher writes: > From: "Aneesh Kumar K.V" > > Support the richacl permission model in ext4. The richacls are stored > in "system.richacl" xattrs. Richacls need to be enabled by tune2fs or > at file system create time. > Signed-off-by: Aneesh Kumar K.V > Signed-off-by:

Re: [RFC v7 19/41] ext4: Add richacl feature flag

2015-09-22 Thread Aneesh Kumar K.V
Andreas Gruenbacher writes: > From: "Aneesh Kumar K.V" > > This feature flag selects richacl instead of posix acl support on the > file system. In addition, the "acl" mount option is needed for enabling > either of the two kinds of acls. > > Signed-off-by: Andreas Gruenbacher Signed-off-by:

RE: [PATCH v10 3/5] CPM/QE: use genalloc to manage CPM/QE muram

2015-09-22 Thread Zhao Qiang
On Wen, Sep 23, 2015 at 8:19 AM +0800, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 23, 2015 8:19 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie

[PATCH 3/9] tools build: Fixup feature detection display function name

2015-09-22 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cut'n'paste mistake, it should eval the name of the function defined right next to it, in the next line, fix it. Before: $ make -C tools/lib/bpf/ make: Entering directory '/home/git/linux/tools/lib/bpf' Auto-detecting system features: ...

[GIT PULL 0/9] perf/core improvements and fixes

2015-09-22 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 96f3eda67fcf2598e9d2794398e0e7ab35138ea6: perf/x86/intel: Fix static checker warning in lbr enable (2015-09-18 09:24:57 +0200) are available in the git repository at:

[PATCH 7/9] perf tools: Add include/err.h into MANIFEST

2015-09-22 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Otherwise the tarpkg is incomplete (tarpkg tests fails). Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Wang Nan Fixes: 01ca9fd41d6f ("tools: Add err.h with ERR_PTR PTR_ERR interface") Link:

[PATCH 9/9] perf record: Synthesize COMM event for a command line workload

2015-09-22 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim When perf creates a new child to profile, the events are enabled on exec(). And in this case, it doesn't synthesize any event for the child since they'll be generated during exec(). But there's an window between the enabling and the event generation. It used to be overcome

[PATCH 4/9] tools lib bpf: Fix up FEATURE_{TESTS,DISPLAY} usage

2015-09-22 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When libbpf was introduced it wrongly asked for the "libelf" and "bpf" feature tests to be performed (via FEATURE_TESTS), while asking that "libbpf", "libelf-mmap", "libelf-getphdrnum" and "bpf" to have the result of its respective tests to be displayed (via

[PATCH 8/9] tools vm: Fix build due to removal of tools/lib/api/fs/debugfs.h

2015-09-22 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo There were some changes in how this debugfs mounting helper is implemented/exported and we forgot to check if there were other users besides perf, fix it. Need to do a make -C tools/ everytime we do changes to tools/{lib,include} and other places where we're

[PATCH 2/9] perf tools: Don't assume that the parser returns non empty evsel list

2015-09-22 Thread Arnaldo Carvalho de Melo
From: Wang Nan Don't blindly retrieve and use a last element in the lists returned by parse_events__scanner(), as it may have collected no entries, i.e. return an empty list. Signed-off-by: Wang Nan Cc: Alexei Starovoitov Cc: Brendan Gregg Cc: Daniel Borkmann Cc: David Ahern Cc: He Kuang

[PATCH 5/9] tools build: Allow setting the feature detection user

2015-09-22 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We will use the tools/build/ autodetection in the eBPF patchkit and it is currently sharing the output directory with perf, that also uses the feature detection logic. As we keep state in the output directory, so that we can avoid running all the tests again, we

[PATCH 6/9] tools lib bpf: Use FEATURE_USER to allow building in the same dir as perf

2015-09-22 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When building tools/lib/bpf as part of the tools/perf/ build process, which will happend when we introduce a patch wiring that up, we end up stomping on the feature detection caching mechanism, that uses a file in the output directory (O=) that is shared by libbpf

[PATCH 1/9] perf probe: Fix a segfault when removing uprobe events

2015-09-22 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Fix a segfault bug and a small mistake in perf probe -d. Since the "ulist" in perf_del_probe_events is never initialized, strlist__add(ulist, *) always causes a segfault when removing uprobe events by perf probe -d. Also, the "str" local variable is never released if

Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed

2015-09-22 Thread Inha Song
Hi, Charles, I saw the log with LOG_DEVICE in regmap. But, I'm not sure the reason that suspend noirq failed is IRQ occuring. Here is my log: -- root@localhost:~# aplay test.wav [ 40.831047] arizona spi1.0: Leaving AoD mode [ 40.834448] s3c64xx_spi_runtime_resume [ 40.834876] arizona

RE: [PATCH v10 5/5] QE: Move QE from arch/powerpc to drivers/soc

2015-09-22 Thread Zhao Qiang
On Wen, Sep 23, 2015 at 12:40 AM +0800, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 23, 2015 12:40 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie

Re: [PATCH 0/5] Add Marvell berlin4ct clk support

2015-09-22 Thread Jisheng Zhang
+ CLK maintainers sorry, yesterday I pressed ENTER quickly before --to list is completed On Tue, 22 Sep 2015 22:12:31 +0800 Jisheng Zhang wrote: > Add berlin4ct clk driver. The berlin4ct SoC contains: > > two kinds of PLL: normal PLL and AVPLL. The normal PLL support is done. > The AVPLL

How to ensure that different peripherals getting different IOVA address in kernel?

2015-09-22 Thread chenfeng
Hi all, In IOMMU architecture , how to make two different peripherals share the same page table ? In other words , is there a mechanism or structure to make two peripherals get completely different address. eg: peri-A、peri-B and peri-C share the same iova address 0-1G for some performance

RFC: 32-bit __data_len and REQ_DISCARD+REQ_SECURE

2015-09-22 Thread Grant Grundler
Jens, Ulf, I've run into a basic issue: BLK_SECDISCARD takes 15-35 minutes perform a secure erase of ~23GB (mostly empty) partition on a 32GB eMMC part (happens with two vendors). One of the vendors says it should take less than 60 seconds. I've confirmed erasing 2GB takes only ~6 seconds - so

Re: [regression] [git pull] drm for 4.3

2015-09-22 Thread Dave Jones
On Tue, Sep 22, 2015 at 09:15:58AM -0700, Matt Roper wrote: > On Tue, Sep 22, 2015 at 05:13:55PM +0200, Daniel Vetter wrote: > > On Tue, Sep 22, 2015 at 08:00:17AM -0700, Jesse Barnes wrote: > > > Cc'ing Maarten and Matt; I'm guessing this may be related to one of > > > their recent patches.

Re: [RFC v7 22/41] richacl: Propagate everyone@ permissions to other aces

2015-09-22 Thread J. Bruce Fields
On Wed, Sep 23, 2015 at 03:39:44AM +0200, Andreas Gruenbacher wrote: > Here are my improvements; hope that helps ... Yes, looks good, thanks!--b. > > Thanks, > Andreas > > diff --git a/fs/richacl_compat.c b/fs/richacl_compat.c > index 9b76fc0..21af9a0 100644 > --- a/fs/richacl_compat.c > +++

Re: Multiple potential races on vma->vm_flags

2015-09-22 Thread Hugh Dickins
On Tue, 22 Sep 2015, Andrey Konovalov wrote: > On Tue, Sep 22, 2015 at 8:54 PM, Hugh Dickins wrote: > > On Tue, 22 Sep 2015, Andrey Konovalov wrote: > >> If anybody comes up with a patch to fix the original issue I easily > >> can test it, since I'm hitting "BUG: Bad page state" in a second when

Re: [RFC v7 22/41] richacl: Propagate everyone@ permissions to other aces

2015-09-22 Thread Andreas Gruenbacher
Here are my improvements; hope that helps ... Thanks, Andreas diff --git a/fs/richacl_compat.c b/fs/richacl_compat.c index 9b76fc0..21af9a0 100644 --- a/fs/richacl_compat.c +++ b/fs/richacl_compat.c @@ -351,26 +351,26 @@ richacl_propagate_everyone(struct richacl_alloc *alloc) struct

Re: [PATCH] kexec: Add prefix "kexec" to output message

2015-09-22 Thread Dave Young
On 09/23/15 at 12:07am, Minfei Huang wrote: > On 09/15/15 at 11:08am, Minfei Huang wrote: > > On 09/14/15 at 04:44pm, Dave Young wrote: > > > On 09/14/15 at 03:50pm, Minfei Huang wrote: > > > > On 09/13/15 at 11:52am, Eric W. Biederman wrote: > > > > > Minfei Huang writes: > > > > > > > > > > >

Re: [PATCH v9 12/18] vfio: Register/unregister irq_bypass_producer

2015-09-22 Thread Eric Auger
Hi Feng, On 09/22/2015 11:01 AM, Wu, Feng wrote: > > >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org >> [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Eric Auger >> Sent: Tuesday, September 22, 2015 3:46 AM >> To: Paolo Bonzini; Wu, Feng;

[PATCH] f2fs: fix incorrect bimodal calculation

2015-09-22 Thread Chao Yu
In update_sit_info, we use div_u64 to handle 'u64 divide u64' case, but div_u64 can only handle 32-bits divisor, so our divisor with u64 type passed to div_u64 will overflow, result in the wrong calculation when show debug info of f2fs as below: BDF: 464, avg. vblocks: 23509 (BDF should never

[PATCH] Input: elan_i2c - Add all valid ic type for i2c/smbus

2015-09-22 Thread duson
Signed-of-by: Duson Lin --- drivers/input/mouse/elan_i2c_core.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index 16ac595..357670e 100644 --- a/drivers/input/mouse/elan_i2c_core.c +++

Re: [RFC v7 22/41] richacl: Propagate everyone@ permissions to other aces

2015-09-22 Thread Andreas Gruenbacher
2015-09-21 21:24 GMT+02:00 J. Bruce Fields : > On Fri, Sep 18, 2015 at 05:56:11PM -0400, bfields wrote: >> On Sat, Sep 05, 2015 at 12:27:17PM +0200, Andreas Gruenbacher wrote: >> > + /* >> > +* If the owner mask contains permissions which are not in the group >> > +* mask, the group mask

Re: [PATCH] perf probe: Fix module probing with shortname

2015-09-22 Thread Wangnan (F)
On 2015/9/22 21:35, Arnaldo Carvalho de Melo wrote: Em Tue, Sep 22, 2015 at 03:34:32AM +, Wang Nan escreveu: After commit 3d39ac538629e4f00a6e1c38d46346f1b8e69505 ("perf machine: No need to have two DSOs lists"), perf probe with module short name doesn't work again. For example: #

Re: [PATCH] net: davinci_emac: Add support for fixed-link PHY

2015-09-22 Thread Tony Lindgren
* Neil Armstrong [150922 02:01]: > In case the DaVinci Emac is directly connected to a > non-mdio PHY/device, it should be possible to provide > a fixed link configuration in the DT. > > Signed-off-by: Neil Armstrong Ethernet works for me with this patch: Tested-by: Tony Lindgren > --- >

I am inspired to send you this email

2015-09-22 Thread Steve
Hello I am inspired to send you this email by the huge opportunity that it will be of mutual benefit to us.My late client a national of Israel a Man who used to work with Shell before his untimely death few years ago and inquiries to several embassies to locate any of my clients extended

Re: [PATCH v5 1/6] power: bq27x00_battery: Renaming for consistency

2015-09-22 Thread Tony Lindgren
* Sebastian Reichel [150922 14:04]: > Hi Tony and Guan, > > I plan to merge the following patch, which changes > CONFIG_BATTERY_BQ27x00 to CONFIG_BATTERY_BQ27xxx. > This includes changes to omap2plus_defconfig and > unicore32. Can you Ack this patch? For omap2plus_defconfig: Acked-by: Tony

[PATCH] sched: fix task and run queue run_delay inconsistencies

2015-09-22 Thread Meyer, Mike
During evaluation of some performance data, it was discovered thread and run queue run_delay accounting data was inconsistent with the other accounting data that was collected. Further investigation found under certain circumstances execution time was leaking into the task and run queue

Re: [PATCH v3 0/9] Broadcom Cygnus device tree changes

2015-09-22 Thread Florian Fainelli
On 21/09/15 15:12, Ray Jui wrote: > This patch series cleans up the Broadcom Cygnus device tree files and makes it > more consistent with the rest of Broadcom iProc device tree files. This patch > series also enables various peripherals on Cygnus boards. They include: > > bcm11360_entphn: > NAND

Re: [PATCH v11 2/4] fpga manager: add sysfs interface document

2015-09-22 Thread Moritz Fischer
On Tue, Sep 22, 2015 at 8:21 AM, wrote: > From: Alan Tull > > Add documentation under drivers/staging for new fpga manager's > sysfs interface. > Reviewed-by: Moritz Fischer > Signed-off-by: Alan Tull > --- > v5 : (actually second version, but keeping version numbers > aligned with

Re: [PATCH v11 1/4] usage documentation for FPGA manager core

2015-09-22 Thread Moritz Fischer
Hi Alan, On Tue, Sep 22, 2015 at 8:21 AM, wrote: > From: Alan Tull > > Add a document on the new FPGA manager core. > Reviewed-by: Moritz Fischer > Signed-off-by: Alan Tull > --- > v9: initial version where this patch was added > > v10: requested cleanups to formatting and otherwise >

Re: [RFC 0/3] sched/idle: run-time support for setting idle polling

2015-09-22 Thread Rafael J. Wysocki
On Tuesday, September 22, 2015 04:34:19 PM Luiz Capitulino wrote: > Hi, Hi, Please always CC patches related to power management to linux...@vger.kernel.org. Also CCing Len Brown who's the maintainer of the intel_idle driver and Peter Z. > Some archs allow the system administrator to set the

Re: [PATCH] memcg: make mem_cgroup_read_stat() unsigned

2015-09-22 Thread Greg Thelen
Andrew Morton wrote: > On Tue, 22 Sep 2015 15:16:32 -0700 Greg Thelen wrote: > >> mem_cgroup_read_stat() returns a page count by summing per cpu page >> counters. The summing is racy wrt. updates, so a transient negative sum >> is possible. Callers don't want negative values: >> -

[PATCH] net: mdio-octeon: Add PCI driver binding.

2015-09-22 Thread David Daney
From: David Daney When the Cavium mdio-octeon devices appear in the Thunder family of arm64 based SoCs, they show up as PCI devices. Add PCI driver wrapping so the driver is bound in the standard PCI device scan. When in this form, a single PCI device may have more than a single bus, we call

Re: [PATCH] net: dsa: Fix Marvell Egress Trailer check

2015-09-22 Thread David Miller
From: Neil Armstrong Date: Tue, 22 Sep 2015 11:28:14 +0200 > The Marvell Egress rx trailer check must be fixed to > correctly detect bad bits in the third byte of the > Eggress trailer as described in the Table 28 of the > 88E6060 datasheet. > The current code incorrectly omits to check the

Re: [PATCH v2] lib: fix data race in rhashtable_rehash_one

2015-09-22 Thread David Miller
From: Dmitry Vyukov Date: Tue, 22 Sep 2015 10:51:52 +0200 > rhashtable_rehash_one() uses complex logic to update entry->next field, > after INIT_RHT_NULLS_HEAD and NULLS_MARKER expansion: > > entry->next = 1 | ((base + off) << 1) > > This can be compiled along the lines of: > > entry->next =

Re: [PATCH v3 2/4] Documentation: bindings: mfd: cros ec: document vbc EC property

2015-09-22 Thread Lee Jones
On Mon, 21 Sep 2015, Emilio López wrote: > Some EC implementations include a small nvram space used to store > verified boot context data. This boolean property lets us indicate > whether this space is available or not on a specific EC implementation. > > Signed-off-by: Emilio López > --- > >

Re: [PATCH v10 1/4] clk: clk-vf610: Add clock for Vybrid OCOTP controller

2015-09-22 Thread Shawn Guo
On Mon, Sep 07, 2015 at 01:51:35PM +0530, Sanchayan Maity wrote: > Add clock support for Vybrid On-Chip One Time Programmable > (OCOTP) controller. > > While the OCOTP block does not require explicit clock gating, > for programming the OCOTP timing register the clock rate of > ipg clock is

Re: [PATCH v2] mfd: lpc_ich: Separate device cells for clarity

2015-09-22 Thread Lee Jones
On Tue, 22 Sep 2015, Aaron Sierra wrote: > The lpc_ich_cells array gives the wrong impression about the > relationship between the watchdog and GPIO devices. They are > completely distinct devices, so this patch separates the > array into distinct mfd_cell structs per device. > > A side effect

  1   2   3   4   5   6   7   8   9   10   >