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 suppo

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 Xiaobo-R630

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 spi

[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 fail

[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 moving

[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 C

[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 ne

[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 a

[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 s

[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 FEATURE

[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: git://git.kernel.org/pub/scm/linux

[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: http://lkml.kernel.org/r/1442846143-8556-1-git-sen

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 Xiaobo-R63061

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: A

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: Andreas

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 > Hongtao-B3

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 - mm/m

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 not

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 lists"),

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 4

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 e

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 li

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 > --- > drivers/stag

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 de

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 = priv->mino

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 PAGE_SIZE.

[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. - 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 insertions(+

[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 lrck-mod

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 it

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 there's

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 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 muram_

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 gu

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: [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 file

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 a

[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 b/arch/arm/boot/dts/sun8i-a33.

[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 deletio

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 driv

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 different

[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 b/arch/av

[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 changed,

[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 --- drivers/nvdi

[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 --- arch/frv

[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 p

[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(-) dif

[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 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 cou

[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 b

[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". W

[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 alloca

[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 dev_page

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 --- a/kernel/me

[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:

[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 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 5e

[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 'dentry_has

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 allocat

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 suspend/

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 appr

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 to

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 ou

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 Xiaobo-R630

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 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 previ

[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 o

[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 +++ b/arch/pow

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 > > >

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 di

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

2015-09-22 Thread GUAN Xuetao
For unicore32 bits, it's ok. Thanks. Acked-by: GUAN Xuetao -邮件原件- 发件人: Sebastian Reichel [mailto:s...@kernel.org] 发送时间: 2015年9月23日 5:00 收件人: Tony Lindgren ; Guan Xuetao 抄送: Andrew F. Davis ; Pali Rohár ; Dmitry Eremin-Solenikov ; David Woodhouse ; linux...@vger.kernel.org; linux-ker

Re: [PATCH v2] netlink: Replace rhash_portid with bound

2015-09-22 Thread Herbert Xu
On Tue, Sep 22, 2015 at 12:10:56PM -0400, Tejun Heo wrote: > > That's a pentium pro era errata. Virtually no working machine is > affected by that anymore and nobody builds kernel with that option. > In most cases, store_release and load_acquire are cheaper as they're > more specific. On x86, sto

[PATCH] sched/fair: fix incorrect calculation of capacity in scale_rt_capacity

2015-09-22 Thread Chao Yu
div_u64 can only handle 32-bits divisor, if our divisor is with type of 64-bits, we should use div64_u64 instead, otherwise value of divisor will be cast to 32-bits, resulting in wrong calculation. Signed-off-by: Chao Yu --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

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

2015-09-22 Thread Sedat Dilek
On Sun, Sep 13, 2015 at 9:06 AM, Sedat Dilek wrote: > On Wed, Sep 9, 2015 at 4:42 AM, Sedat Dilek wrote: >> [ TO INTEL DRM DRIVERS maintainers ] >> >> Hi, >> >> out of curiosity and to play with the new bindeb-pkg make-target I >> built pre-v4.3-rc1 (git-describe says v4.2-10463-g9a9952bbd76a) >>

Re: [PATCH] sound: oss: ad1848: Fix returned errno code in ad1848_init()

2015-09-22 Thread Sudip Mukherjee
On Tue, Sep 22, 2015 at 08:11:13PM +0100, Luis de Bethencourt wrote: > On 22/09/15 17:46, Sudip Mukherjee wrote: > > On Tue, Sep 22, 2015 at 04:37:37PM +0100, Luis de Bethencourt wrote: > > Hi Sudip, > > True! I missed that. > > This change will mean the block for 'if (hw_config->slots[0] != -1

dobrý den..

2015-09-22 Thread messg
Ahoj, Muzete me kontaktovat na e-mailovou adresu nize pro vysvetlení prospesny spoluprace. e-mail: chn.j...@gmail.com -- 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

Re: [PATCH v5 3/4] mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs

2015-09-22 Thread Boris Brezillon
Brian, Alex, On Mon, 21 Sep 2015 15:08:06 -0700 Brian Norris wrote: > On Tue, Sep 08, 2015 at 10:10:52AM +0100, Alex Smith wrote: > > Add a driver for NAND devices connected to the NEMC on JZ4780 SoCs, as > > well as the hardware BCH controller. DMA is not currently implemented. > > > > While o

[PATCH v2] i2c-ocores: support big-endian register layout

2015-09-22 Thread Max Filippov
This allows using OpenCores I2C controller attached to its host in native-endian mode with bi-endian CPUs. Example of such system is Xtensa XTFPGA platform. Signed-off-by: Max Filippov --- Changes v1->v2: - expand changelog with motivation for the change. drivers/i2c/busses/i2c-ocores.c | 31 ++

[PATCH v2] net/ethoc: support big-endian register layout

2015-09-22 Thread Max Filippov
This allows using OpenCores ethernet controller attached to its host in native-endian mode with bi-endian CPUs. Example of such system is Xtensa XTFPGA platform. Signed-off-by: Max Filippov --- Changes v1->v2: - expand changelog with motivation for the change. drivers/net/ethernet/ethoc.c | 14

Re: [PATCH -tip 2/3] sched/wake_q: Relax to acquire semantics

2015-09-22 Thread Martin Schwidefsky
On Tue, 22 Sep 2015 08:28:22 -0700 "Paul E. McKenney" wrote: > On Tue, Sep 22, 2015 at 04:33:07PM +0200, Martin Schwidefsky wrote: > > On Tue, 22 Sep 2015 21:29:14 +0800 > > Boqun Feng wrote: > > > > > On Tue, Sep 22, 2015 at 02:51:36PM +0200, Martin Schwidefsky wrote: > > > > On Tue, 22 Sep 20

[PATCH v6 0/7] perf tools: Add 'perf-config' command

2015-09-22 Thread Taeung Song
So far, it is difficult that the state of perf configs is looked through and there's no knowing what kind of other variables except variables in perfconfig.example. Also perf configs can't be changed without manually modifying $HOME/.perfconfig or $(sysconfdir)/perfconfig file. So I suggest this

[PATCH v6 3/7] perf config: Add a option 'list-all' to perf-config

2015-09-22 Thread Taeung Song
A option 'list-all' is to display both current config variables and all possible config variables with default values. The syntax examples are like below perf config [] [options] display all perf config with default values. # perf config -a | --list-all Signed-off-by: Taeung Song --

Re: [PATCH 8/8] perf tools: Make perf depend on libbpf

2015-09-22 Thread Jiri Olsa
On Mon, Sep 21, 2015 at 06:23:21PM -0300, Arnaldo Carvalho de Melo wrote: SNIP > + NO_LIBBPF := 1 > else >ifneq ($(filter s% -static%,$(LDFLAGS),),) > msg := $(error No static glibc found, please install glibc-static); > @@ -309,6 +312,13 @@ ifndef NO_LIBELF >$(

Re: [PATCH 8/8] perf tools: Make perf depend on libbpf

2015-09-22 Thread Jiri Olsa
On Mon, Sep 21, 2015 at 06:23:21PM -0300, Arnaldo Carvalho de Melo wrote: > From: Wang Nan > > By adding libbpf into perf's Makefile, this patch enables perf to build > libbpf during building if libelf is found and neither NO_LIBELF nor > NO_LIBBPF is set. The newly introduced code is similar to

Re: [PATCH 1/5] leds: core: Drivers shouldn't enforce SYNC/ASYNC brightness setting

2015-09-22 Thread Jacek Anaszewski
Hi Sakari, Thanks for the review. Just to avoid a confusion - this patch set depends on [1], which is not merged yet and also needs a review. I reimplemented and split [2] into two patch sets, so that [1] contained only modifications required for removing work queues from LED class drivers, but y

Re: [PATCH v2 1/2] x86/msr: Carry on after a non-"safe" MSR access fails without !panic_on_oops

2015-09-22 Thread Ingo Molnar
* Linus Torvalds wrote: > On Mon, Sep 21, 2015 at 1:46 AM, Ingo Molnar wrote: > > > > Linus, what's your preference? > > So quite frankly, is there any reason we don't just implement > native_read_msr() as just > >unsigned long long native_read_msr(unsigned int msr) >{ > int err

[PATCH 2/2] PCI: Build setup-irq.o for nios2

2015-09-22 Thread Ley Foon Tan
nios2 requires setup-irq.o to provide pci_fixup_irqs() implementation. Signed-off-by: Ley Foon Tan --- drivers/pci/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile index 73e4af4..db8efcd 100644 --- a/drivers/pci/Makefile +++ b/drivers/pci/M

[PATCH 0/2] Add PCI support on nios2 architecture

2015-09-22 Thread Ley Foon Tan
This patchset adding pci support for nios2 architecture. It requires pci_fixup_irqs() from setup-irq.c. Ley Foon Tan (2): nios2: Add architectural support for PCIe PCI: Build setup-irq.o for nios2 arch/nios2/Kconfig| 24 + arch/nios2/include/asm/Kbuild | 2 +-

[PATCH 1/2] nios2: Add architectural support for PCIe

2015-09-22 Thread Ley Foon Tan
This patch add pcie support on nios2 platform. Signed-off-by: Ley Foon Tan --- arch/nios2/Kconfig| 24 + arch/nios2/include/asm/Kbuild | 2 +- arch/nios2/include/asm/io.h | 11 +- arch/nios2/include/asm/pci.h | 50 ++

Re: [PATCH v6 07/22] regulator: core: Remove regulator_list

2015-09-22 Thread Tomeu Vizoso
On 21 September 2015 at 21:38, Mark Brown wrote: > On Mon, Sep 21, 2015 at 04:02:47PM +0200, Tomeu Vizoso wrote: >> As we are already registering a device with regulator_class for each >> regulator device, regulator_list is redundant and can be replaced with >> calls to class_find_device() and cla

[PATCH v5 0/17] Add Analogix Core Display Port Driver

2015-09-22 Thread Yakir Yang
Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller share the same IP, so a lot of parts can be re-used. I split the common code into bridge directory, then rk3288 and exynos only need to keep some platform code. Cause I can't find the exact IP name of exynos dp control

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

2015-09-22 Thread Jiang Liu
Previously the eata driver just grabs and accesses eata PCI devices without implementing a PCI device driver, that causes troubles with latest IRQ related Commit 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()") changes the way to allocate PCI legacy IRQ for PCI devic

Re: [PATCH v2] iio: mcp4xxx_dpot: Driver for Microchip digital potentiometers

2015-09-22 Thread Crt Mori
Hi, Just follow advice and it will get better. Maybe a bit of naming advice since that needs to be fixed all over. Usual naming convention is chipname_function_name not chipname_part_function_name as you have now. There was a newly added IIO_RESISTANCE channel in case you would think of the change

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

2015-09-22 Thread Yuyang Du
On Mon, Sep 21, 2015 at 10:30:04AM -0700, bseg...@google.com wrote: > > But first, I think as load_sum and load_avg can afford NICE_0_LOAD with > > either high > > or low resolution. So we have no reason to have low resolution (10bits) > > load_avg > > when NICE_0_LOAD has high resolution (20bits

[PATCH v5 01/17] drm: exynos: dp: convert to drm bridge mode

2015-09-22 Thread Yakir Yang
In order to move exynos dp code to bridge directory, we need to convert driver drm bridge mode first. As dp driver already have a ptn3460 bridge, so we need to move ptn bridge to the next bridge of dp bridge. Signed-off-by: Yakir Yang --- Changes in v5: None Changes in v4: None Changes in v3: Non

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-09-22 Thread Daniel Kurtz
On Mon, Sep 14, 2015 at 3:32 PM, Daniel Kurtz wrote: > > Hi Sascha, > > On Mon, Aug 31, 2015 at 3:34 PM, Sascha Hauer wrote: > > This adds support for the Mediatek thermal controller found on MT8173 > > and likely other SoCs. > > The controller is a bit special. It does not have its own ADC, inst

[PATCH v5 03/17] drm: bridge: analogix/dp: fix some obvious code style

2015-09-22 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Signed-off-by: Yakir Yang --- Changes in v5: - Resequence this patch after analogix_dp driver have been split from exynos_dp code, and rephrase reasonable commit mess

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