Re: [PATCH] arm64: Increase the max granular size

2015-11-04 Thread Joonsoo Kim
On Wed, Nov 04, 2015 at 03:39:10PM +, Catalin Marinas wrote: > On Wed, Nov 04, 2015 at 09:28:34AM -0600, Christoph Lameter wrote: > > On Wed, 4 Nov 2015, Catalin Marinas wrote: > > > > > BTW, assuming L1_CACHE_BYTES is 512 (I don't ever see this happening but > > > just in theory), we

[PATCH v2 2/2] MAINTAINERS: Add devfreq-event entry

2015-11-04 Thread Chanwoo Choi
This patch adds the devfreq-event[1] entry to review the patches as just supporter. Patches will be picked up by Myungjoo Ham on devfreq git repository. [1] https://lkml.org/lkml/2015/1/25/573 Signed-off-by: Chanwoo Choi --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff

[PATCH v2 1/2] MAINTAINERS: Add missing git repository and directory for devfreq

2015-11-04 Thread Chanwoo Choi
This patch adds the missing git repository infomation and directory for devfreq. When using get_maintainer.pl, the result should include the correct maintainer information. Suggested-by: Joe Perches [cw00.chio: Add missing directory for devfreq] Signed-off-by: Chanwoo Choi --- MAINTAINERS | 3

[PATCH v2 0/2] MAINTAINERS: Update the DEVFREQ and DEVFREQ-EVENT entry

2015-11-04 Thread Chanwoo Choi
This patch updates the DEVFREQ entry including missing information and add the new DEVFREQ-EVENT[1] entry. [1] https://lkml.org/lkml/2015/1/25/573 Changes from v1: - Add patch1 which add the missing git repository and directory of devfreq - Add devfreq git repository info to DEVFREQ-EVENT entry

[PATCH 3/5] perf test: Enforce LLVM test: update basic BPF test program

2015-11-04 Thread Wang Nan
This patch replaces the original toy BPF program with previous introduced bpf-script-example.c. Dynamically embedded it into 'llvm-src-base.c'. The newly introduced BPF program attaches a BPF program to 'sys_epoll_pwait()'. perf itself never use that syscall, so further test can verify their

[PATCH 1/5] bpf tools: Improve libbpf error reporting

2015-11-04 Thread Wang Nan
In this patch, a series libbpf specific error numbers and libbpf_strerror() are created to help reporting error to caller. Functions are updated to pass correct error number through macro CHECK_ERR(). All users of bpf_object__open{_buffer}() and bpf_program__title() in perf are modified

[PATCH 4/5] perf test: Enforce LLVM test: add kbuild test

2015-11-04 Thread Wang Nan
This patch adds a kbuild testcase to check whether kernel headers can be correctly found. For example: # mv /lib/modules/4.3.0-rc5{,.bak} # perf test LLVM 38: Test LLVM searching and compiling: Skip # perf test -v LLVM ... :11:10: fatal error: 'uapi/linux/fs.h'

[PATCH 2/5] perf tools: Improve BPF related error messages output

2015-11-04 Thread Wang Nan
A series of bpf loader related error code is introduced to help error delivering. Functions are improved to return those new error code. Functions which return pointers are adjusted to encode error code into return value using "ERR_PTR". bpf_loader_strerror() is improved to convert those error

[PATCH 5/5] perf test: Add 'perf test BPF'

2015-11-04 Thread Wang Nan
This patch adds BPF testcase for testing BPF event filtering. By utilizing the result of 'perf test LLVM', this patch compiles the eBPF sample program then test it ability. The BPF script in 'perf test LLVM' let only 50% samples generated by epoll_pwait() be captured. This patch runs that system

[PATCH 0/5] perf tools: improve BPF related error delivering and testing

2015-11-04 Thread Wang Nan
This patchset is based on Arnaldo's perf/core. Patch 1/5 - 2/5 improve BPF related error delivering and reporting. Libbpf and bpf-loader define their own error code sets so can deliever precise reason of failure. Corresponding strerror functions are improved accordingly. Patch 3/5 - 5/5 improve

Re: i.MX6: Increasing VPU frequency

2015-11-04 Thread Jon Nettleton
On Wed, Nov 4, 2015 at 8:33 PM, Jean-Michel Hautbois wrote: > 2015-11-04 18:04 GMT+01:00 Jon Nettleton : >> On Wed, Nov 4, 2015 at 5:52 PM, Jean-Michel Hautbois >> wrote: >>> Hi ! >>> >>> I can see in FSL kernel that VPU is configurable to 352M (it defaults >>> at 264MHz in mainline I think).

Re: [PATCH] MAINTAINERS: Add devfreq-event entry

2015-11-04 Thread Chanwoo Choi
On 2015년 11월 05일 13:17, Joe Perches wrote: > On Thu, 2015-11-05 at 13:03 +0900, Chanwoo Choi wrote: >> Hi Joe, > > Rehi. > >> On 2015년 11월 05일 12:21, Chanwoo Choi wrote: >>> On 2015년 11월 05일 12:17, Joe Perches wrote: It'd be nice to update the DEVFREQ MAINTAINERS entry (and maybe this

RE: [PATCH] brd: Refuse improperly aligned discard requests

2015-11-04 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Jan Kara > Sent: Wednesday, November 4, 2015 10:14 AM > To: ax...@kernel.dk > Cc: LKML ; linux-fsde...@vger.kernel.org; > Christoph Hellwig ; Jan Kara > Subject:

Re: [PATCH] MAINTAINERS: Add devfreq-event entry

2015-11-04 Thread Joe Perches
On Thu, 2015-11-05 at 13:03 +0900, Chanwoo Choi wrote: > Hi Joe, Rehi. > On 2015년 11월 05일 12:21, Chanwoo Choi wrote: > > On 2015년 11월 05일 12:17, Joe Perches wrote: > > > It'd be nice to update the DEVFREQ MAINTAINERS entry (and maybe > > > this one as well) so it has the appropriate git

Re: [PATCH] MAINTAINERS: Add devfreq-event entry

2015-11-04 Thread Chanwoo Choi
Hi Joe, On 2015년 11월 05일 12:21, Chanwoo Choi wrote: > Hi Joe, > > On 2015년 11월 05일 12:17, Joe Perches wrote: >> On Thu, 2015-11-05 at 12:00 +0900, Chanwoo Choi wrote: >>> This patch adds the devfreq-event[1] entry to review the patches >>> as just supporter. Patches will be picked up by Myungjoo

Re: [PATCH] RFT: usb: dwc2: bus suspend/resume that's not hibernate

2015-11-04 Thread John Youn
On 10/30/2015 1:33 PM, Douglas Anderson wrote: > This is an attempt to rehash commit 0cf884e819e0 ("usb: dwc2: add bus > suspend/resume for dwc2") on ToT. That commit was reverted in commit > b0bb9bb6ce01 ("Revert "usb: dwc2: add bus suspend/resume for dwc2"") > because apparently it broke the

RE: [PATCH v4 7/7] mtd: spi-nor: add read loop

2015-11-04 Thread Hou Zhiqiang
Hi Michal, Does this have any updates? Thanks, Zhiqiang > -Original Message- > From: Michal Suchanek [mailto:hramr...@gmail.com] > Sent: 2015年8月14日 18:08 > To: Andrew Murray > Cc: Hou Zhiqiang-B48286; Huang Shijie; David Woodhouse; Brian Norris; Xu > Han-B45815; Rafał Miłecki; Huang

RE: [PATCH v9 1/1] efi: a misc char interface for user to update efi firmware

2015-11-04 Thread Kweh, Hock Leong
> -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Wednesday, November 04, 2015 4:15 AM > > On Mon, Nov 02, 2015 at 07:17:28AM +, Kweh, Hock Leong wrote: > > This is not a return value to indicate what is going now. It is a flag > > used in "cap_info->index"

Re: [PATCH v2 01/13] mm: support madvise(MADV_FREE)

2015-11-04 Thread Sergey Senozhatsky
Hi Minchan, On (11/05/15 08:39), Minchan Kim wrote: [..] > > > > I think it makes sense to update pmd_trans_unstable() and > > pmd_none_or_trans_huge_or_clear_bad() comments in asm-generic/pgtable.h > > Because they explicitly mention MADV_DONTNEED only. Just a thought. > > Hmm, When I read

Re: [PATCH v4 07/10] xen/blkback: pseudo support for multi hardware queues/rings

2015-11-04 Thread Konrad Rzeszutek Wilk
On November 4, 2015 10:02:26 PM EST, Bob Liu wrote: > >On 11/05/2015 10:30 AM, Konrad Rzeszutek Wilk wrote: >> On Mon, Nov 02, 2015 at 12:21:43PM +0800, Bob Liu wrote: >>> Preparatory patch for multiple hardware queues (rings). The number >of >>> rings is unconditionally set to 1, larger number

Re: [PATCH v6 1/8] dt-bindings: add documentation of rk3036 clock controller

2015-11-04 Thread Rob Herring
On Wed, Nov 04, 2015 at 08:18:16PM +0800, Xing Zheng wrote: > Add the devicetree binding for the cru on the rk3036 which quite similar > structured as previous clock controllers. > > Signed-off-by: Xing Zheng > Reviewed-by: Heiko Stuebner Acked-by: Rob Herring > --- > > Changes in v6: None

[PATCH v4 3/3] mtd: nand: Add macro definition for nvddr interface mode

2015-11-04 Thread Punnaiah Choudary Kalluri
Added macro definition for nvddr data interface mode field in the sub feature parameter of onfi timing mode configuration. Signed-off-by: Punnaiah Choudary Kalluri --- Changes in v4: - New change --- include/linux/mtd/nand.h | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH] MAINTAINERS: Add devfreq-event entry

2015-11-04 Thread Chanwoo Choi
Hi Joe, On 2015년 11월 05일 12:17, Joe Perches wrote: > On Thu, 2015-11-05 at 12:00 +0900, Chanwoo Choi wrote: >> This patch adds the devfreq-event[1] entry to review the patches >> as just supporter. Patches will be picked up by Myungjoo Ham on >> devfreq git repository. >> [1]

[PATCH v4 1/3] mtd: arasan: Add device tree binding documentation

2015-11-04 Thread Punnaiah Choudary Kalluri
This patch adds the dts binding document for arasan nand flash controller. Signed-off-by: Punnaiah Choudary Kalluri --- Changes in v4: - Added num-cs property - Added clock support Changes in v3: - None Changes in v2: - None --- .../devicetree/bindings/mtd/arasan_nfc.txt | 34

Re: [PATCH v6 6/8] ARM: rockchip: add support smp for rk3036

2015-11-04 Thread Rob Herring
On Wed, Nov 04, 2015 at 08:25:16PM +0800, Xing Zheng wrote: > From: Heiko Stuebner > > The dual-core Cortex A7 rk3036 is a bit special in that it does not allow > to control the actual powerdomain of the cpu cores, while the rest of the > smp-bringup like reset control and entry address handling

Re: linux-next: manual merge of the ftrace tree with Linus' tree

2015-11-04 Thread Steven Rostedt
On Thu, 5 Nov 2015 13:51:40 +1100 Stephen Rothwell wrote: > Hi Steven, > > Today's linux-next merge of the ftrace tree got a conflict in: > > kernel/trace/trace_stack.c > > between commit: > > a2d762904832 ("tracing: Have stack tracer force RCU to be watching") > > from Linus' tree and

Re: [PATCH V2 4/5] PM / OPP: Rename OPP nodes as opp@

2015-11-04 Thread Rob Herring
On Thu, Nov 05, 2015 at 07:11:55AM +0530, Viresh Kumar wrote: > It would be better to name OPP nodes as opp@ as that will ensure > that multiple DT nodes don't contain the same frequency. Of course we > expect the writer to name the node with its opp-hz frequency and not any > other frequency. >

Re: [PATCH V2 2/5] PM / OPP: Add {opp-microvolt|opp-microamp|turbo-mode|opp-suspend}- binding

2015-11-04 Thread Viresh Kumar
On 04-11-15, 21:02, Rob Herring wrote: > > +- turbo-mode-: Named turbo-mode property. Similar to > > opp-microvolt- > > + property, but for turbo mode instead. > > + > > - opp-suspend: Marks the OPP to be used during device suspend. Only one > > OPP in > >the table should have this. > >

Re: [PATCH] MAINTAINERS: Add devfreq-event entry

2015-11-04 Thread Joe Perches
On Thu, 2015-11-05 at 12:00 +0900, Chanwoo Choi wrote: > This patch adds the devfreq-event[1] entry to review the patches > as just supporter. Patches will be picked up by Myungjoo Ham on > devfreq git repository. > [1] https://lkml.org/lkml/2015/1/25/573 [] > diff --git a/MAINTAINERS

Re: [RFC PATCH 1/7] audit: don't needlessly reset valid wait time

2015-11-04 Thread Richard Guy Briggs
On 15/11/04, Paul Moore wrote: > On Thursday, October 22, 2015 02:53:14 PM Richard Guy Briggs wrote: > > After auditd has recovered from an overflowed queue, the first process > > that doesn't use reserves to make it through the queue checks should > > reset the audit backlog wait time to the

Re: [PATCH] __div64_32: implement division by multiplication for 32-bit arches

2015-11-04 Thread Vineet Gupta
On Thursday 05 November 2015 05:18 AM, Nicolas Pitre wrote: > On Wed, 4 Nov 2015, Nicolas Pitre wrote: > >> On Fri, 30 Oct 2015, Måns Rullgård wrote: >> >>> Nicolas Pitre writes: >>> I'm going to do it anyway given that I already have it for ARM. It'll be opt-in, so if your arch

Re: [PATCH V8] mm: memory hot-add: hot-added memory can not be added to movable zone by default

2015-11-04 Thread Changsheng Liu
在 2015/11/5 0:31, Dave Hansen 写道: On 11/04/2015 12:23 AM, liuchangsheng wrote: After the user config CONFIG_MOVABLE_NODE, When the memory is hot added, should_add_memory_movable() return 0 because all zones including ZONE_MOVABLE are empty, so the memory that was hot added will be assigned to

Re: [PATCH V2 3/5] PM / OPP: Remove 'operating-points-names' binding

2015-11-04 Thread Rob Herring
On Thu, Nov 05, 2015 at 07:11:54AM +0530, Viresh Kumar wrote: > These aren't used until now by any DT files and wouldn't be used now as > we have a better scheme in place now, i.e. opp-property- > properties. > > Remove the (useless) binding without breaking ABI. > > Reviewed-by: Stephen Boyd >

Re: [PATCH v2 2/2] usb: dwc2: host: Clear interrupts before handling them

2015-11-04 Thread John Youn
On 11/3/2015 12:31 PM, Douglas Anderson wrote: > In general it is wise to clear interrupts before processing them. If > you don't do that, you can get: > 1. Interrupt happens > 2. You look at system state and process interrupt > 3. A new interrupt happens > 4. You clear interrupt without

Re: [PATCH v6 1/8] dt-bindings: add documentation of rk3036 clock controller

2015-11-04 Thread Xing Zheng
On 2015年11月05日 07:39, Heiko Stuebner wrote: Hi, Am Mittwoch, 4. November 2015, 20:18:16 schrieb Xing Zheng: Add the devicetree binding for the cru on the rk3036 which quite similar structured as previous clock controllers. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- your

[PATCH V2 2/3] arm64: dts: Add Hi6220 gpio configuration nodes

2015-11-04 Thread Zhong Kaihua
arm64: dts: Add Hi6220 gpio configuration nodes Signed-off-by: Kaihua Zhong Signed-off-by: Xinwei Kong --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 38 + arch/arm64/boot/dts/hisilicon/hikey-gpio.dtsi | 195

[PATCH V2 3/3] arm64: dts: add Hi6220 pinctrl configuration nodes

2015-11-04 Thread Zhong Kaihua
arm64: dts: add Hi6220 pinctrl configuration nodes Signed-off-by: Kaihua Zhong Signed-off-by: Xinwei Kong --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + arch/arm64/boot/dts/hisilicon/hi6220.dtsi| 243 arch/arm64/boot/dts/hisilicon/hikey-gpio.dtsi| 416

[PATCH V2 1/3] dt-bindings: gpio: Documentation for Hi6220 gpio driver

2015-11-04 Thread Zhong Kaihua
dt-bindings: gpio: Documentation for Hi6220 gpio driver Signed-off-by: Kaihua Zhong Signed-off-by: Xinwei Kong Acked-by: Rob Herring --- .../devicetree/bindings/gpio/gpio-hi6220.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644

Re: [PATCH] VSOCK: call sk->sk_data_ready() on accept()

2015-11-04 Thread David Miller
From: Stefan Hajnoczi Date: Wed, 4 Nov 2015 12:58:42 + > When a listen socket enqueues a connection for userspace to accept(), > the sk->sk_data_ready() callback should be invoked. In-kernel socket > users rely on this callback to detect when incoming connections are > available. > >

Re: [PATCH V2 2/5] PM / OPP: Add {opp-microvolt|opp-microamp|turbo-mode|opp-suspend}- binding

2015-11-04 Thread Rob Herring
On Thu, Nov 05, 2015 at 07:11:53AM +0530, Viresh Kumar wrote: > Depending on the version of hardware or its properties, which are only > known at runtime, various properties of the OPP can change. For example, > an OPP with frequency 1.2 GHz, may have different voltage/current > requirements based

Re: [PATCH v4 07/10] xen/blkback: pseudo support for multi hardware queues/rings

2015-11-04 Thread Bob Liu
On 11/05/2015 10:30 AM, Konrad Rzeszutek Wilk wrote: > On Mon, Nov 02, 2015 at 12:21:43PM +0800, Bob Liu wrote: >> Preparatory patch for multiple hardware queues (rings). The number of >> rings is unconditionally set to 1, larger number will be enabled in next >> patch so as to make every single

Re: [PATCH 2/3] dt-bindings: gpio: Documentation for Hi6220 gpio driver

2015-11-04 Thread Zhong Kaihua
On 2015/11/2 23:09, Rob Herring wrote: > On Fri, Oct 30, 2015 at 9:24 PM, Zhong Kaihua wrote: >> dt-bindings: gpio: Documentation for Hi6220 gpio driver >> >> Signed-off-by: Zhong Kaihua >> --- >> .../devicetree/bindings/gpio/gpio-hi6220.txt | 23 >> ++ >> 1 file

Re: [PATCH] PCI: pciehp: Always protect pciehp_disable_slot() with hotplug mutex

2015-11-04 Thread Rajat Jain
Geez... I wonder how did I miss it. Thanks for fixing this. Looks good to me. Reviewed-by: Rajat Jain On Sun, Nov 1, 2015 at 1:58 PM, Guenter Roeck wrote: > When called from pciehp_sysfs_disable_slot(), the call to > pciehp_disable_slot() was not protected by the hotplug mutex. > > Cc: Rajat

Re: [PATCH v6 6/8] ARM: rockchip: add support smp for rk3036

2015-11-04 Thread Xing Zheng
On 2015年11月05日 07:33, Heiko Stuebner wrote: Am Mittwoch, 4. November 2015, 20:25:16 schrieb Xing Zheng: From: Heiko Stuebner The dual-core Cortex A7 rk3036 is a bit special in that it does not allow to control the actual powerdomain of the cpu cores, while the rest of the smp-bringup like

[PATCH] MAINTAINERS: Add devfreq-event entry

2015-11-04 Thread Chanwoo Choi
This patch adds the devfreq-event[1] entry to review the patches as just supporter. Patches will be picked up by Myungjoo Ham on devfreq git repository. [1] https://lkml.org/lkml/2015/1/25/573 Signed-off-by: Chanwoo Choi --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH V2 1/5] PM / OPP: Add "opp-supported-hw" binding

2015-11-04 Thread Rob Herring
On Thu, Nov 05, 2015 at 07:11:52AM +0530, Viresh Kumar wrote: > We may want to enable only a subset of OPPs, from the bigger list of > OPPs, based on what version of the hardware we are running on. This > would enable us to not duplicate OPP tables for every version of the > hardware we support. >

Re: [PATCH v2 net-next] net/core: ensure features get disabled on new lower devs

2015-11-04 Thread David Miller
From: Jarod Wilson Date: Tue, 3 Nov 2015 23:09:32 -0500 > With moving netdev_sync_lower_features() after the .ndo_set_features > calls, I neglected to verify that devices added *after* a flag had been > disabled on an upper device were properly added with that flag disabled as > well. This

Re: [PATCH V6 1/1] usb:serial: Add Fintek F81532/534 driver

2015-11-04 Thread Peter Hung
Hi Peter Hung 於 2015/11/3 上午 11:51 寫道: > This driver is for Fintek F81532/F81534 USB to Serial Ports IC. > Changelog: > v6 > 1. Re-implement the write()/resume() function. Due to this device cant be > suitable with generic write(), we'll do the submit write URB when >

Re: [PATCH v2 1/2] usb: dwc2: host: Fix missing device insertions

2015-11-04 Thread John Youn
On 11/3/2015 12:31 PM, Douglas Anderson wrote: > If you've got your interrupt signals bouncing a bit as you insert your > USB device, you might end up in a state when the device is connected but > the driver doesn't know it. > > Specifically, the observed order is: > 1. hardware sees connect >

linux-next: manual merge of the ftrace tree with Linus' tree

2015-11-04 Thread Stephen Rothwell
Hi Steven, Today's linux-next merge of the ftrace tree got a conflict in: kernel/trace/trace_stack.c between commit: a2d762904832 ("tracing: Have stack tracer force RCU to be watching") from Linus' tree and commit: d332736df0c2 ("tracing: Rename max_stack_lock to stack_trace_max_lock")

[PATCH v4 2/3] mtd: nand: Add support for Arasan Nand Flash Controller

2015-11-04 Thread Punnaiah Choudary Kalluri
Added the basic driver for Arasan Nand Flash Controller used in Zynq UltraScale+ MPSoC. It supports only Hw Ecc and upto 24bit correction. Signed-off-by: Punnaiah Choudary Kalluri --- Changes in v4: - Added support for onfi timing mode configuration - Added clock suort - Added support for

Re: [PATCH V6 1/1] usb:serial: Add Fintek F81532/534 driver

2015-11-04 Thread Peter Hung
Hi, Oliver Neukum 於 2015/11/4 下午 04:38 寫道: On Wed, 2015-11-04 at 16:19 +0800, Peter Hung wrote: Hi Oliver Neukum 於 2015/11/3 下午 06:03 寫道: On Tue, 2015-11-03 at 11:51 +0800, Peter Hung wrote: + for (i = 0; i < F81534_NUM_PORT; ++i) + atomic_set(_priv->port_active[i], 0);

Re: [PATCH v4 10/10] xen/blkback: make pool of persistent grants and free pages per-queue

2015-11-04 Thread Bob Liu
On 11/05/2015 10:43 AM, Konrad Rzeszutek Wilk wrote: > On Mon, Nov 02, 2015 at 12:21:46PM +0800, Bob Liu wrote: >> Make pool of persistent grants and free pages per-queue/ring instead of >> per-device to get better scalability. > > How much better scalability do we get? > Which already showed

Re: perf related lockdep bug

2015-11-04 Thread Andi Kleen
On Wed, Nov 04, 2015 at 04:55:28PM -0800, Paul E. McKenney wrote: > On Wed, Nov 04, 2015 at 09:58:36PM +0100, Andi Kleen wrote: > > > > I tested my perf stress workload with the patch applied on 4.3, > > unfortunately got a hang again :-/ > > Any diagnostics, sysrq-T output, or whatever? The

Re: perf, tools: Refactor and support interval and CSV metrics v6

2015-11-04 Thread Andi Kleen
On Tue, Nov 03, 2015 at 08:46:16AM +0100, Jiri Olsa wrote: > On Mon, Nov 02, 2015 at 05:50:19PM -0800, Andi Kleen wrote: > > [v4: Addressed all review feedback.] > > [v3: Addressed all review feedback. Update manpage for CSV. Various changes > > (see individual patches). Remove some more

Re: [PATCH v4 10/10] xen/blkback: make pool of persistent grants and free pages per-queue

2015-11-04 Thread Konrad Rzeszutek Wilk
On Mon, Nov 02, 2015 at 12:21:46PM +0800, Bob Liu wrote: > Make pool of persistent grants and free pages per-queue/ring instead of > per-device to get better scalability. How much better scalability do we get? .. snip .. > > > /* > - * pers_gnts_lock must be used around all the persistent

Re: [PATCH 3/9] perf, tools, stat: Abstract stat metrics printing

2015-11-04 Thread Andi Kleen
On Wed, Nov 04, 2015 at 09:42:48AM +0100, Jiri Olsa wrote: > On Mon, Nov 02, 2015 at 05:50:22PM -0800, Andi Kleen wrote: > > SNIP > > > evsel->attr.type == PERF_TYPE_HW_CACHE && > > evsel->attr.config == ( PERF_COUNT_HW_CACHE_L1D | > >

Re: [PATCH V2 2/3] dmaselftest: add memcpy selftest support functions

2015-11-04 Thread Sinan Kaya
On 11/3/2015 11:08 AM, Vinod Koul wrote: On Tue, Nov 03, 2015 at 10:22:25AM +0200, Andy Shevchenko wrote: On Tue, Nov 3, 2015 at 9:44 AM, Dan Williams wrote: On Mon, Nov 2, 2015 at 10:30 PM, Vinod Koul wrote: On Mon, Nov 02, 2015 at 11:18:37PM -0500, Sinan Kaya wrote: On 11/2/2015 11:15

Re: [PATCH v2 0/3] let Marvell Berlin SoCs make use of the best delay timer

2015-11-04 Thread Jisheng Zhang
Dear Arnd and Daniel, On Wed, 4 Nov 2015 13:19:53 +0100 Arnd Bergmann wrote: > On Wednesday 04 November 2015 12:19:57 Daniel Lezcano wrote: > > On 11/04/2015 11:30 AM, Arnd Bergmann wrote: > > > On Wednesday 04 November 2015 10:46:49 Daniel Lezcano wrote: > > >> On 11/03/2015 03:28 PM,

Re: [PATCH v4 09/10] xen/blkfront: make persistent grants per-queue

2015-11-04 Thread Konrad Rzeszutek Wilk
On Mon, Nov 02, 2015 at 12:21:45PM +0800, Bob Liu wrote: > Make persistent grants per-queue/ring instead of per-device, so that we can > drop the 'dev_lock' and get better scalability. And what is the performance value for this? How much better scalability do you get with this? .. snip.. > @@

[PATCH 1/5] ramoops: use persistent_ram_free() instead of kfree() for freeing prz

2015-11-04 Thread Hiraku Toyooka
persistent_ram_zone(=prz) structures are allocated by persistent_ram_new(), which includes vmap() or ioremap(). But they are currently freed by kfree(). We should use persistent_ram_free() to correct this asymmetry usage. Signed-off-by: Hiraku Toyooka Cc: Anton Vorontsov Cc: Colin Cross Cc:

[PATCH 3/5] pstore: support multiple pmsg instances

2015-11-04 Thread Hiraku Toyooka
This patch enables pmsg to deal with multiple instances. One possible use is content priority control on limited persistent store space. By using different buffers, we can prevent important messages from being overwritten by less important messages. When a pstore backend module specifies the

[PATCH 2/5] ramoops: introduce generic init/free functions for prz

2015-11-04 Thread Hiraku Toyooka
We modifies initialization and freeing code for prz for generic usage. This change * add generic function __ramoops_init_prz() to reduce redundancy between ramoops_init_prz() and ramoops_init_przs(). * rename 'przs' member in struct ramoops_context to 'dprzs' so that it stands for 'dump

[PATCH 5/5] selftests/pstore: add testcases for multiple pmsg instances

2015-11-04 Thread Hiraku Toyooka
To test multiple pmsg, we should check that /dev/pmsg[N] (N > 0) is available. After reboot, we should check that pmsg-[backend]-[N] which keeps content is detected even if pmsg-[backend]-[N-M] (0 < M <= N) doesn't exist due to lack of contents. So we add the following testcases. - pstore_tests

Re: [PATCH v4 08/10] xen/blkback: get the number of hardware queues/rings from blkfront

2015-11-04 Thread Konrad Rzeszutek Wilk
On Mon, Nov 02, 2015 at 12:21:44PM +0800, Bob Liu wrote: > Backend advertises "multi-queue-max-queues" to front, then get the negotiated s/then/so/ > number from "multi-queue-num-queues" wrote by blkfront. s/wrote/written/ > > Signed-off-by: Bob Liu > --- > drivers/block/xen-blkback/blkback.c

[PATCH 0/5] pstore: ramoops: support multiple pmsg instances

2015-11-04 Thread Hiraku Toyooka
The following series implements multiple pmsg. This feature allows userspace program to control individual content aging or priority. If a pstore backend module(e.g. ramoops) requires the multiple pmsg instances when registering itself to pstore, multiple /dev/pmsg[ID] are created. Writes to each

[PATCH 4/5] ramoops: support multiple pmsg instances

2015-11-04 Thread Hiraku Toyooka
This patch enables ramoops to deal with multiple pmsg instances. We can configure the size of each buffers by its module parameter as follows. pmsg_size=0x1000,0x2000,... Then, the ramoops allocates multiple buffers and tells the number of buffers to pstore to create multiple /dev/pmsg[ID].

[PATCH v3] clocksource/drivers/dw_apb_timer_of: Implement ARM delay timer

2015-11-04 Thread Jisheng Zhang
Implement an ARM delay timer to be used for udelay(). This allows us to skip the delay loop calibration at boot on Marvell BG2, BG2Q, BG2CD platforms. And after this patch, udelay() will be unaffected by CPU frequency changes. Note: Although in case there are several possible delay timers, we may

Re: [PATCH v4 07/10] xen/blkback: pseudo support for multi hardware queues/rings

2015-11-04 Thread Konrad Rzeszutek Wilk
On Mon, Nov 02, 2015 at 12:21:43PM +0800, Bob Liu wrote: > Preparatory patch for multiple hardware queues (rings). The number of > rings is unconditionally set to 1, larger number will be enabled in next > patch so as to make every single patch small and readable. Instead of saying 'next patch' -

[PATCH] MAINTAINERS: Add missing extcon directory

2015-11-04 Thread Chanwoo Choi
This patch adds the missing extcon directory to maintain them. When using get_maintainer.pl, the result should include the correct maintainer information. Signed-off-by: Chanwoo Choi --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH v2 04/20] x86: Rewrite copy_siginfo_{to,from}_user32

2015-11-04 Thread H. Peter Anvin
On November 4, 2015 4:50:23 PM PST, Amanieu d'Antras wrote: >x86 can't use the generic versions because it needs to support >x32, so we replace the ad-hoc implementations with something >that is closer to the generic versions. > >This is done by completely replacing the existing code with the

Re: [PATCH V2 3/3] dma: add Qualcomm Technologies HIDMA channel driver

2015-11-04 Thread Sinan Kaya
/* * We are posting descriptors to the hardware as soon as * they are ready, so this function does nothing. */ So, the Freescale driver was written before change went effective. I guess in 2011 DMA Engine drivers should use issue pending. Please, refactor since this behaviour is expected.

[PATCH 1/2] x86/intel_rdt,intel_cqm: Remove build dependency of RDT code on CQM code.

2015-11-04 Thread David Carrillo-Cisneros
Minor code move to remove build dependency of RDT code on perf_event_intel_cqm.c . Signed-off-by: David Carrillo-Cisneros --- arch/x86/include/asm/pqr_common.h | 3 +++ arch/x86/kernel/cpu/Makefile | 6 +- arch/x86/kernel/cpu/perf_event_intel_cqm.c | 8

Re:linux-kernel您好”(AD)

2015-11-04 Thread sales11-fs
linux-kernel 【天猫】尊敬的淘宝会员,您获得了进群资格,邀请您进QQ群号24662898进群验证码14群内每天抢免单秒杀活动,天天免费红包 退订回T

[PATCH 2/2] x86/intel_rdt: Fix bug in initialization, locks and write cbm mask.

2015-11-04 Thread David Carrillo-Cisneros
Fix bugs in patch series "x86:Intel Cache Allocation Technology Support" patches by Fenghua Yu. Changes are: 1) Instruct task_css_check not to print a warning for unnecesary lockdeps when calling from __rdt_intel_sched_in since all callers are already synchronized by task_rq_lock(). 2)

Re: [PATCH 2/2] clk: bcm2835: Add PWM clock support

2015-11-04 Thread Eric Anholt
Remi Pommarel writes: > Register the pwm clock for bcm2835. > This patch also adds the ability to set a clock default rate. I don't think we should be setting a default clock rate. That should be up to the thing that uses the clock. If we need a standard rate set on all Raspberry Pis, other

Re: [GIT PULL] x86/mm changes for v4.4

2015-11-04 Thread Dave Jones
On Wed, Nov 04, 2015 at 05:31:59PM -0800, Linus Torvalds wrote: > On Wed, Nov 4, 2015 at 3:39 PM, Dave Jones wrote: > > > > FWIW I'm seeing this too. > > > > [0.468368] ---[ Low Kernel Mapping ]--- > > [0.468381] 0x8800-0x8880 8M RW > >

Re: [PATCH V4] usb: remove unnecessary CONFIG_PM dependency from USB_OTG

2015-11-04 Thread Peter Chen
On Tue, Nov 03, 2015 at 09:51:11PM -0600, Felipe Balbi wrote: > > Hi, > > Peter Chen writes: > > On Tue, Nov 03, 2015 at 07:56:55AM -0600, Felipe Balbi wrote: > >> > >> Hi, > >> > >> Nathan Sullivan writes: > >> > The USB OTG support currently depends on power management > >> > (CONFIG_PM)

Re: [PATCH v2 3/4] bpf tools: Improve libbpf error reporting

2015-11-04 Thread Wangnan (F)
On 2015/11/5 9:48, Wangnan (F) wrote: On 2015/11/5 6:01, Arnaldo Carvalho de Melo wrote: Em Wed, Nov 04, 2015 at 02:25:58AM +, Wang Nan escreveu: In this patch, a series libbpf specific error numbers and libbpf_strerror() are created to help reporting error to caller. Functions are

Re: [PATCH RFC net-next 2/2] tcp: Add Redundant Data Bundling (RDB)

2015-11-04 Thread Bendik Rønning Opstad
On Monday, November 02, 2015 09:37:54 AM David Laight wrote: > From: Bendik Rønning Opstad > > Sent: 23 October 2015 21:50 > > RDB is a mechanism that enables a TCP sender to bundle redundant > > (already sent) data with TCP packets containing new data. By bundling > > (retransmitting) already

[PATCH 2/4] dm verity: separate function for parsing opt args

2015-11-04 Thread Sami Tolvanen
Move optional argument parsing into a separate function to make it easier to add more of them without making verity_ctr even longer. Signed-off-by: Sami Tolvanen --- drivers/md/dm-verity.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git

[PATCH 0/4] dm verity: add support for error correction

2015-11-04 Thread Sami Tolvanen
This patch set adds error correction support to dm-verity, which makes it possible to recover from data corruption in exchange of increased space overhead. The feature is implemented as part of dm-verity to take advantage of the existing hash tree to improve performance and locate known erasures.

[PATCH 4/4] dm verity: ignore zero blocks

2015-11-04 Thread Sami Tolvanen
Add ignore_zero_blocks option, which returns zeros for blocks matching a zero hash without validating the content. Signed-off-by: Sami Tolvanen --- Documentation/device-mapper/verity.txt | 5 ++ drivers/md/dm-verity.c | 88 ++ 2 files changed, 83

Re: [PATCH 1/2] clk: bcm2835: Support for clock parent selection

2015-11-04 Thread Eric Anholt
Remi Pommarel writes: > Some bcm2835 clocks used by hardware (like "PWM" or "H264") can have multiple > parents. These clocks divide the rate of one parent which can be selected by > setting the proper bits in their clock control register. > > Previously all these parents where handled by a mux

[PATCH 1/4] dm verity: clean up duplicate hashing code

2015-11-04 Thread Sami Tolvanen
Handle dm-verity salting in one place to simplify the code. Signed-off-by: Sami Tolvanen --- drivers/md/dm-verity.c | 262 +++-- 1 file changed, 147 insertions(+), 115 deletions(-) diff --git a/drivers/md/dm-verity.c b/drivers/md/dm-verity.c index

[PATCH 3/4] dm verity: add support for forward error correction

2015-11-04 Thread Sami Tolvanen
Add support for correcting corrupted blocks using Reed-Solomon. This code uses RS(255, N) interleaved across data and hash blocks. Each error-correcting block covers N bytes evenly distributed across the combined total data, so that each byte is a maximum distance away from the others. This makes

Re: perf related lockdep bug

2015-11-04 Thread Paul E. McKenney
On Wed, Nov 04, 2015 at 04:55:28PM -0800, Paul E. McKenney wrote: > On Wed, Nov 04, 2015 at 09:58:36PM +0100, Andi Kleen wrote: > > > > I tested my perf stress workload with the patch applied on 4.3, > > unfortunately got a hang again :-/ > > Any diagnostics, sysrq-T output, or whatever? Given

Re: [Linaro-acpi] [PATCH v8 5/5] Watchdog: introduce ARM SBSA watchdog driver

2015-11-04 Thread Timur Tabi
On Tue, Oct 27, 2015 at 11:06 AM, wrote: > +static irqreturn_t sbsa_gwdt_interrupt(int irq, void *dev_id) > +{ > + struct sbsa_gwdt *gwdt = (struct sbsa_gwdt *)dev_id; > + struct watchdog_device *wdd = >wdd; > + > + /* We don't use pretimeout, trigger WS1 now */ > + if

Re: perf related lockdep bug

2015-11-04 Thread Paul E. McKenney
On Wed, Nov 04, 2015 at 03:34:19PM +0100, Peter Zijlstra wrote: > On Wed, Nov 04, 2015 at 06:01:33AM -0800, Paul E. McKenney wrote: > > On Wed, Nov 04, 2015 at 11:28:00AM +0100, Peter Zijlstra wrote: > > > On Wed, Nov 04, 2015 at 11:21:51AM +0100, Peter Zijlstra wrote: > > > > > > > The problem

Re: [PATCH V2 5/5] ARM: dts: exynos4412: Rename OPP nodes as opp@

2015-11-04 Thread Viresh Kumar
On 05-11-15, 10:51, Krzysztof Kozlowski wrote: > I see this patch does not depend on the rest of patchset so I presume > this can co through samsung-soc? Yeah, I wouldn't mind that. But I would wait for a confirmation from Rafael for the bindings first, for an unlikely case where he doesn't like

Re: [PATCH] PCI: altera: use fwnode API for pci_msi_create_irq_domain

2015-11-04 Thread Ley Foon Tan
On Wed, Nov 4, 2015 at 8:39 PM, Arnd Bergmann wrote: > There is a new conflict between Thomas Gleixner's IRQ tree that contains > a patch from Marc Zyngier to change the prototype for > pci_msi_create_irq_domain, and Bjorn Helgaas' PCI tree that contains > a new driver for the Altera PCI MSI

Re: [PATCH V2 5/5] ARM: dts: exynos4412: Rename OPP nodes as opp@

2015-11-04 Thread Krzysztof Kozlowski
On 05.11.2015 10:41, Viresh Kumar wrote: > OPP bindings got updated to name OPP nodes this way, make changes > according to that. > > Signed-off-by: Viresh Kumar > --- > arch/arm/boot/dts/exynos4412.dtsi | 28 ++-- > 1 file changed, 14 insertions(+), 14 deletions(-) I

[PATCH] alarmtimer: fix unexpected rtc interrupt when system resume

2015-11-04 Thread zhuo-hao . lee
From: zhuo-hao Before the system go to suspend (S3), if user create a timer with clockid CLOCK_REALTIME_ALARM/CLOCK_BOOTTIME_ALARM and set a "large" timeout value to this timer. The function alarmtimer_suspend will be called to setup a timeout value to RTC timer to avoid the system sleep over

Re: [PATCH v2 3/4] bpf tools: Improve libbpf error reporting

2015-11-04 Thread Wangnan (F)
On 2015/11/5 6:01, Arnaldo Carvalho de Melo wrote: Em Wed, Nov 04, 2015 at 02:25:58AM +, Wang Nan escreveu: In this patch, a series libbpf specific error numbers and libbpf_strerror() are created to help reporting error to caller. Functions are updated to pass correct error number through

Re: [PATCH v2 01/13] mm: support madvise(MADV_FREE)

2015-11-04 Thread Minchan Kim
On Wed, Nov 04, 2015 at 05:29:57PM -0800, Andy Lutomirski wrote: > On Wed, Nov 4, 2015 at 4:56 PM, Minchan Kim wrote: > > On Wed, Nov 04, 2015 at 04:42:37PM -0800, Andy Lutomirski wrote: > >> On Wed, Nov 4, 2015 at 4:13 PM, Minchan Kim wrote: > >> > On Tue, Nov 03, 2015 at 07:41:35PM -0800, Andy

Re: [PATCH 1/6] dmaengine: tegra-apb: Correct runtime-pm usage

2015-11-04 Thread Rafael J. Wysocki
On Wednesday, November 04, 2015 08:59:43 AM Kevin Hilman wrote: > Vinod Koul writes: > > > On Tue, Nov 03, 2015 at 01:25:09PM -0800, Kevin Hilman wrote: > >> > /* Enable clock before accessing register */ > >> > -ret = tegra_dma_runtime_resume(dev); > >> > +ret =

[PATCH V2 4/5] PM / OPP: Rename OPP nodes as opp@

2015-11-04 Thread Viresh Kumar
It would be better to name OPP nodes as opp@ as that will ensure that multiple DT nodes don't contain the same frequency. Of course we expect the writer to name the node with its opp-hz frequency and not any other frequency. And that will let the compile error out if multiple nodes are using the

[PATCH V2 5/5] ARM: dts: exynos4412: Rename OPP nodes as opp@

2015-11-04 Thread Viresh Kumar
OPP bindings got updated to name OPP nodes this way, make changes according to that. Signed-off-by: Viresh Kumar --- arch/arm/boot/dts/exynos4412.dtsi | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/exynos4412.dtsi

Re: [PATCH 1/4] perf tools: Pass available CPU number to clang compiler

2015-11-04 Thread Wangnan (F)
On 2015/11/5 6:09, Arnaldo Carvalho de Melo wrote: Em Wed, Nov 04, 2015 at 11:20:04AM +, Wang Nan escreveu: This patch introduces a new macro "__NR_CPUS__" to perf's embedded clang compiler, which represent the available CPU counters in this available "CPU counters"? ENOPARSE :-) Your

[PATCH V2 1/5] PM / OPP: Add "opp-supported-hw" binding

2015-11-04 Thread Viresh Kumar
We may want to enable only a subset of OPPs, from the bigger list of OPPs, based on what version of the hardware we are running on. This would enable us to not duplicate OPP tables for every version of the hardware we support. To enable that, this patch defines a new property 'opp-supported-hw'.

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