Re: [RFC PATCH 0/2] net: threadable napi poll loop

2016-05-10 Thread Peter Zijlstra
On Tue, May 10, 2016 at 03:51:37PM -0700, Eric Dumazet wrote: > diff --git a/kernel/softirq.c b/kernel/softirq.c > index 17caf4b63342..22463217e3cf 100644 > --- a/kernel/softirq.c > +++ b/kernel/softirq.c > @@ -56,6 +56,7 @@ EXPORT_SYMBOL(irq_stat); > static struct softirq_action softirq_vec[NR_SO

man-pages-4.06 is released

2016-05-10 Thread Michael Kerrisk (man-pages)
Gidday, The Linux man-pages maintainer proudly announces: man-pages-4.06 - man pages for Linux This release includes input and contributions from around 20 people. Around 40 pages saw changes, ranging from typo fixes through to page rewrites and newly created pages. Tarball download: ht

Re: [PATCH] sched/fair: Fix the wrong throttled clock time for cfs_rq_clock_task()

2016-05-10 Thread Peter Zijlstra
On Tue, May 10, 2016 at 11:19:44AM -0700, bseg...@google.com wrote: > Xunlei Pang writes: > > > Two minor fixes for cfs_rq_clock_task(). > > 1) If cfs_rq is currently being throttled, we need to subtract the cfs > >throttled clock time. > > > > 2) Make "throttled_clock_task_time" update SMP u

Re: [PATCH BUGFIX V3] block: add missing group association in bio-cloning functions

2016-05-10 Thread Nikolay Borisov
On 05/11/2016 09:38 AM, Nikolay Borisov wrote: > > > On 05/11/2016 01:01 AM, Paolo Valente wrote: >> When a bio is cloned, the newly created bio must be associated with >> the same blkcg as the original bio (if BLK_CGROUP is enabled). If >> this operation is not performed, then the new bio is n

Re: [PATCH BUGFIX V3] block: add missing group association in bio-cloning functions

2016-05-10 Thread Nikolay Borisov
On 05/11/2016 01:01 AM, Paolo Valente wrote: > When a bio is cloned, the newly created bio must be associated with > the same blkcg as the original bio (if BLK_CGROUP is enabled). If > this operation is not performed, then the new bio is not associated > with any group, and the group of the curre

RE: [PATCH 5/5] vfio-pci: Allow to mmap MSI-X table if interrupt remapping is supported

2016-05-10 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, May 05, 2016 11:05 PM > > On Thu, 5 May 2016 12:15:46 + > "Tian, Kevin" wrote: > > > > From: Yongji Xie [mailto:xyj...@linux.vnet.ibm.com] > > > Sent: Thursday, May 05, 2016 7:43 PM > > > > > > Hi David and Kevin,

Re: [PATCH v7 03/14] usb: hcd.h: Add OTG to HCD interface

2016-05-10 Thread Peter Chen
On Tue, May 10, 2016 at 12:20:28PM +0300, Roger Quadros wrote: > On 10/05/16 11:03, Jun Li wrote: > > Hi > > > >> -Original Message- > >> From: Roger Quadros [mailto:rog...@ti.com] > >> Sent: Tuesday, May 10, 2016 3:35 PM > >> To: Peter Chen > >> Cc: peter.c...@freescale.com; st...@rowlan

Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable Exynos MFC driver as module

2016-05-10 Thread Krzysztof Kozlowski
On 05/10/2016 11:07 PM, Javier Martinez Canillas wrote: > Exynos SoCs have a Multi Format Video Hardware Codec (MFC) IP block that > can be used to {en,de}code video streams by hardware. Enable support for > its driver as a module so the MFC can be tested. > > Signed-off-by: Javier Martinez Canill

[PATCH v2] cpufreq: intel_pstate: Avoid unnecessary synchronize_sched() during initialization

2016-05-10 Thread Chen Yu
Currently in intel_pstate_clear_update_util_hook, after clearing the utilization update hook, we leverage synchronize_sched() to deal with synchronization, which is a little bit time-costly because synchronize_sched() has to wait for all the CPUs to go through a grace period. Actually, the synchro

Re: [PATCH v8 1/4] x86/KASLR: Clarify identity map interface

2016-05-10 Thread Ingo Molnar
* Kees Cook wrote: > +/* > + * Mapping information structure passed to kernel_ident_mapping_init(). > + * Due to relocation, pointers must be assigned at run time not build time. > + */ > +static struct x86_mapping_info mapping_info = { > + .pmd_flag = __PAGE_KERNEL_LARGE_EXEC, > +};

Re: [PATCH v7 05/14] usb: otg-fsm: move host controller operations into usb_otg->hcd_ops

2016-05-10 Thread Peter Chen
On Mon, May 02, 2016 at 03:18:48PM +0300, Roger Quadros wrote: > This is to prevent missing symbol build error if OTG is > enabled (built-in) and HCD core (CONFIG_USB) is module. > > Signed-off-by: Roger Quadros > Acked-by: Peter Chen > --- > drivers/usb/chipidea/otg_fsm.c | 7 +++ > dri

Re: [PATCH] pinctrl: rockchip: fix pull setting error for rk3399

2016-05-10 Thread Caesar Wang
Doug, 于 2016年05月11日 05:07, Doug Anderson 写道: Caesar / David, On Tue, May 10, 2016 at 4:14 AM, Caesar Wang wrote: From: David Wu This patch fixes the pinctrl pull bias setting, since the pull up/down setting is the contrary for gpio0. Commit message only mentions gpio0, but gpio2 is also fi

Re: [PATCH] x86/extable: ensure entries are swapped completely when sorting

2016-05-10 Thread Mathias Krause
On 11 May 2016 at 07:46, Ard Biesheuvel wrote: > On 10 May 2016 at 23:07, Mathias Krause wrote: >> The x86 exception table sorting was changed in commit 29934b0fb8ff >> ("x86/extable: use generic search and sort routines") to use the arch >> independent code in lib/extable.c. However, the patch w

[PATCH 2/8] Documentation: regulator: tps65218: Update examples

2016-05-10 Thread Keerthy
This updates the device tree according to the preferred way of parsing the nodes using the regulator framework. Signed-off-by: Keerthy --- .../devicetree/bindings/regulator/tps65218.txt | 87 ++ 1 file changed, 71 insertions(+), 16 deletions(-) diff --git a/Documentation

[PATCH 4/8] regulator: tps65218: Remove all the compatibles

2016-05-10 Thread Keerthy
Remove all the individual compatibles for all the regulators and introduce id_table and update the driver accordingly to parse device tree nodes using the regulator framework. Signed-off-by: Keerthy --- drivers/regulator/tps65218-regulator.c | 131 +++-- 1 file change

[PATCH 7/8] ARM: dts: AM437X-CM-T43: Remove redundant regulator compatibles

2016-05-10 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-cm-t43.dts | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/ar

[PATCH 1/8] mfd: tps65218: Remove redundant read wrapper

2016-05-10 Thread Keerthy
Currently read directly calls the repmap read function. Hence remove the redundant wrapper and use regmap read wherever needed. Signed-off-by: Keerthy --- drivers/mfd/tps65218.c | 16 +--- drivers/regulator/tps65218-regulator.c | 3 ++- include/linux/mfd/tps65218.h

[PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART

2016-05-10 Thread Kefeng Wang
Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an OF early console for it, so early console device can be enabled with comand line "earlycon"(without option) via the "stdout-path" property in device-tree. Signed-off-by: Kefeng Wang --- drivers/tty/serial/8250/8250_early

Re: Getting rid of dynamic TASK_SIZE (on x86, at least)

2016-05-10 Thread Cyrill Gorcunov
On Tue, May 10, 2016 at 02:11:41PM -0700, Andy Lutomirski wrote: > > > For sure page faulting must consider what kind of fault is it. > > Or we gonna drop such code at all? > > That code was bogus. (Well, it was correct unless user code had a way > to create a funny high mapping in an otherwise

Re: [PATCH 0/3] sched: Fix wakeup preemption regression

2016-05-10 Thread Mike Galbraith
On Tue, 2016-05-10 at 19:43 +0200, Peter Zijlstra wrote: > Mike, Pavan, could you guys please confirm? Plugging the series into master.today, all seems peachy on my end. -Mike

[PATCH 6/8] ARM: dts: AM437X-SK-EVM: Remove redundant regulator compatibles

2016-05-10 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-sk-evm.dts | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm

[PATCH 8/8] ARM: dts: AM43X-EPOS-EVM: Remove redundant regulator compatibles

2016-05-10 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am43x-epos-evm.dts | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/

[PATCH 0/8] regulator: tps65218: Clean ups

2016-05-10 Thread Keerthy
The series cleans up mainly the regulator driver and implements the device tree parsing using the regulator framework. Removes all the redundant compatibles for the individual regulators. One of the patch removes redundant read wrapper and makes use of regmap_read wherever necessary. The series i

[PATCH 3/8] mfd: tps65218: Use mfd_add_devices instead of of_platform_populate

2016-05-10 Thread Keerthy
mfd_add_devices enables parsing device tree nodes without compatibles for child nodes. Replace of_platform_populate with mfd_add_devices. Signed-off-by: Keerthy --- drivers/mfd/tps65218.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/tps65218.c b/driv

[PATCH 5/8] ARM: dts: AM437X-GP-EVM: Remove redundant regulator compatibles

2016-05-10 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-gp-evm.dts | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/ar

Re: [PATCH] ARM: dts: exynos: Only Odroid XU3-family boards use DTSI with CPU thermal nodes

2016-05-10 Thread Krzysztof Kozlowski
On 05/10/2016 09:45 PM, Anand Moon wrote: > Hi Krzysztof, > > Sorry I am not able to explain my self clearly. > But I have once gain tested these changes. > > Only could you append with following changes. > > +

Re: [PATCH] x86/extable: ensure entries are swapped completely when sorting

2016-05-10 Thread Ard Biesheuvel
On 10 May 2016 at 23:07, Mathias Krause wrote: > The x86 exception table sorting was changed in commit 29934b0fb8ff > ("x86/extable: use generic search and sort routines") to use the arch > independent code in lib/extable.c. However, the patch was mangled > somehow on its way into the kernel from

[PATCH 1/2] ARM: dts: sun6i: primo81: Drop constraints on dc1sw regulator

2016-05-10 Thread Chen-Yu Tsai
This is the same issue fixed in commit dcf5341f0150 ("ARM: dts: sun8i-q8-common: Do not set constraints on dc1sw regulator"). Commit message copied: dc1sw is an on/off only regulator and as such it cannot have constraints. This is a limitation of the kernel regulator implementation which resolves

[PATCH 0/2] ARM: dts: sun6i: Drop constraints on dc1sw regulator

2016-05-10 Thread Chen-Yu Tsai
Hi Arnd, Olof, Here are 2 last minute fixes for 4.6. The 2 patches drop constaints on the dc1sw regulator for 2 A31s tablets. I checked with Maxime and he said to send them directly to you. The issue was first brought up and fixed for A23/A33 Q8 tablets in commit dcf5341f0150 ("ARM: dts: sun8i-q8

[PATCH 2/2] ARM: dts: sun6i: yones-toptech-bs1078-v2: Drop constraints on dc1sw regulator

2016-05-10 Thread Chen-Yu Tsai
This is the same issue fixed in commit dcf5341f0150 ("ARM: dts: sun8i-q8-common: Do not set constraints on dc1sw regulator"). Commit message copied: dc1sw is an on/off only regulator and as such it cannot have constraints. This is a limitation of the kernel regulator implementation which resolves

linux-next: Tree for May 11

2016-05-10 Thread Stephen Rothwell
Hi all, Changes since 20160510: The vfs tree gained a conflict against the overlayfs tree. The net-next tree gained a conflict against the net tree and lost its build failure. The sound-asoc tree gained a build failure for which I applied a fix patch. The dt-rh tree gained a conflict against

Re: [PATCH] cfg80211/nl80211: add wifi tx power mode switching support

2016-05-10 Thread Wei-Ning Huang
On Fri, May 6, 2016 at 4:19 PM, Wei-Ning Huang wrote: > On Fri, May 6, 2016 at 12:07 AM, Dan Williams wrote: >> >> On Thu, 2016-05-05 at 14:44 +0800, Wei-Ning Huang wrote: >> > Recent new hardware has the ability to switch between tablet mode and >> > clamshell mode. To optimize WiFi performance,

Re: [PATCH 1/3] intel_pstate: Clarify average performance computation

2016-05-10 Thread Srinivas Pandruvada
On Tue, 2016-05-10 at 22:57 +0200, Rafael J. Wysocki wrote: > > > > [...] > --- > From: Rafael J. Wysocki > Subject: [PATCH] intel_pstate: Clarify average performance > computation > > The core_pct_busy field of struct sample actually contains the > average performace during the last sampling

Re: [RFC][PATCH 5/7] sched: Rewrite select_idle_siblings()

2016-05-10 Thread Yuyang Du
On Mon, May 09, 2016 at 12:48:12PM +0200, Peter Zijlstra wrote: > +/* > + * Scan the LLC domain for idle CPUs; this is dynamically regulated by > + * comparing the average scan cost (tracked in sd->avg_scan_cost) against the tracked in this_sd->avg_scan_cost

Re: [PATCH v2] mailbox: pcc: Support HW-Reduced Communication Subspace Type 2

2016-05-10 Thread Hoan Tran
Hi Ashwin, Thanks for your review ! On Tue, May 10, 2016 at 5:00 AM, Ashwin Chaugule wrote: > Hello, > > On 6 May 2016 at 14:38, Hoan Tran wrote: >> From: hotran >> >> ACPI 6.1 has a PCC HW-Reduced Communication Subspace Type 2 intended for >> use on HW-Reduce ACPI Platform, which requires rea

Re: [PATCH v6 00/13] x86/xsaves: Fix XSAVES issues

2016-05-10 Thread Borislav Petkov
On Tue, May 10, 2016 at 04:29:52PM -0700, Yu-cheng Yu wrote: > XSAVES is a kernel-mode instruction. It offers a compacted format and > memory-write optimization. These patches fix issues in the first > implementation. > > Changes since Version 5: Please, for the future, do send your patchset roug

Re: sched: tweak select_idle_sibling to look for idle threads

2016-05-10 Thread Mike Galbraith
On Wed, 2016-05-11 at 03:16 +0800, Yuyang Du wrote: > On Tue, May 10, 2016 at 05:26:05PM +0200, Mike Galbraith wrote: > > On Tue, 2016-05-10 at 09:49 +0200, Mike Galbraith wrote: > > > > > Only whacking > > > cfs_rq_runnable_load_avg() with a rock makes schbench -m -t > > > -a work well. 'Cour

Re: [PATCH] Staging: wlan-ng: fix comments style

2016-05-10 Thread Kroah-Hartman
On Tue, May 10, 2016 at 09:05:15PM -0400, YU Bo wrote: > Hi Greg, > On Mon, May 09, 2016 at 02:26:13PM +0200, Kroah-Hartman wrote: > > On Sun, May 08, 2016 at 10:45:16AM -0400, YU Bo wrote: > > > The patch fixed warning reported by checkpatch.pl: Block comments use a > > > trailing */ on a separate

Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention

2016-05-10 Thread Borislav Petkov
On Tue, May 10, 2016 at 03:30:48PM -0700, H. Peter Anvin wrote: > I didn't mean inline assembly. How does that matter? The problem is having as less insn bytes as possible and the minimal size we can do is issuing POPCNT everywhere which is 4 or 5 bytes. The alternatives then replace that with a

[PATCH v8 8/8] i2c: rk3x: support fast-mode plus for rk3399

2016-05-10 Thread David Wu
Signed-off-by: David Wu Reviewed-by: Douglas Anderson --- Change in v8: - None drivers/i2c/busses/i2c-rk3x.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index 25ed1ad..0ba25ee 100644 ---

[PATCH v8 6/8] dt-bindings: i2c: rk3x: add support for rk3399

2016-05-10 Thread David Wu
The bus clock and function clock are separated at rk3399, and others use one clock as the bus clock and function clock. Signed-off-by: David Wu Reviewed-by: Douglas Anderson --- Change in v8: - remove error description. Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 16 +---

[PATCH v8 7/8] i2c: rk3x: add i2c support for rk3399 soc

2016-05-10 Thread David Wu
- new method to caculate i2c timings for rk3399: There was an timing issue about "repeated start" time at the I2C controller of version0, controller appears to drop SDA at .875x (7/8) programmed clk high. On version 1 of the controller, the rule(.875x) isn't enough to meet tSU;STA require

[PATCH v8 5/8] i2c: rk3x: Move spec timing data to "static const" structs

2016-05-10 Thread David Wu
The i2c timing specs are really just constant data. There's no reason to write code to init them, so move them out to structures. This not only is a cleaner solution but it will reduce code duplication when we introduce a new variant of rk3x_i2c_calc_divs() in a future patch. Signed-off-by: Davi

Re: [GIT PULL] overlayfs fixes for 4.6-rc7

2016-05-10 Thread Al Viro
On Wed, May 11, 2016 at 01:23:42AM +0200, Miklos Szeredi wrote: > Hi Al, > > Hopefully this addresses your concerns. I couldn't find a better name for > lookup_hash(), after all it's just that. > > Please pull: > > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git > overlayfs-li

Re: [PATCH v2] mailbox: pcc: Support HW-Reduced Communication Subspace Type 2

2016-05-10 Thread Hoan Tran
Hi Alexey, On Tue, May 10, 2016 at 3:34 AM, Alexey Klimov wrote: > On Mon, May 09, 2016 at 10:38:24AM -0700, Hoan Tran wrote: >> Hi Alexey, >> >> On Mon, May 9, 2016 at 2:43 AM, Alexey Klimov wrote: >> > Hi Hoan, >> > >> > On Fri, May 06, 2016 at 11:38:34AM -0700, Hoan Tran wrote: >> >> From: ho

[PATCH v8 0/8] add i2c driver supported for rk3399

2016-05-10 Thread David Wu
There are three points differert from others: - new method to caculate i2c timings for rk3399 - pclk and function clk are separated at rk3399 - add fast-plus mode supported for rk3399 David Wu (8): i2c: rk3x: add documentation to fields in "struct rk3x_i2c" i2c: rk3x: use struct "rk3x_i2c_c

[PATCH v8 4/8] i2c: rk3x: Change SoC data to not use array

2016-05-10 Thread David Wu
Specifying the i2c SoC data in an array provides very little benefit and gets unwieldly / confusing as the array grows since the next bit of code needs to refer to elements in the array by their raw integral index. Let's just create a single 'static const' structure for each SoC so that we can ref

[PATCH v8 1/8] i2c: rk3x: add documentation to fields in "struct rk3x_i2c"

2016-05-10 Thread David Wu
Signed-off-by: David Wu Reviewed-by: Douglas Anderson --- Change in v8: - none drivers/i2c/busses/i2c-rk3x.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index 80bed02..7e45d51 100644 ---

[PATCH v8 3/8] i2c: rk3x: Remove redundant rk3x_i2c_clean_ipd()

2016-05-10 Thread David Wu
Call rk3x_i2c_setup() before rk3x_i2c_start() and the last thing in setup was to clean the IPD, so no reason to do it at the beginning of start. Signed-off-by: David Wu Reviewed-by: Douglas Anderson --- Change in v8: - none drivers/i2c/busses/i2c-rk3x.c | 1 - 1 file changed, 1 deletion(-) di

[PATCH v8 2/8] i2c: rk3x: use struct "rk3x_i2c_calced_timings"

2016-05-10 Thread David Wu
The "div_high" and "div_low" values are always used together. Group them into a structure to make it easier to pass them both around. This structure also provides a place for future calculated timings. Signed-off-by: David Wu Reviewed-by: Douglas Anderson --- Change in v8: - add commit descrip

Re: [PATCH v2] pinctrl: rockchip: fix pull setting error for rk3399

2016-05-10 Thread Doug Anderson
Caesar, On Tue, May 10, 2016 at 8:39 PM, Caesar Wang wrote: > From: David Wu > > This patch fixes the pinctrl pull bias setting, since the pull up/down > setting is the contrary for gpio0(just the gpio0a and gpio0b) and > gpio2(just the gpio2c and gpio2d). > > From the TRM said, the gpio0a pull

Re: [Intel-wired-lan] [PATCH] e1000e: prevent division by zero if TIMINCA is zero

2016-05-10 Thread Mark D Rustad
Jarod Wilson wrote: On Fri, May 06, 2016 at 11:43:17PM +, Rustad, Mark D wrote: Denys Vlasenko wrote: Users report that under VMWare, er32(TIMINCA) returns zero. This causes division by zero at init time as follows: ==>incvalue = er32(TIMINCA) & E1000_TIMINCA_INCVALUE_MASK;

Re: [PATCH 6/6] mpt3sas: Used "synchronize_irq()"API to synchronize timed-out IO & TMs

2016-05-10 Thread Sreekanth Reddy
On Tue, May 10, 2016 at 6:41 PM, Tomas Henzl wrote: > On 6.5.2016 10:59, Chaitra P B wrote: >> Replaced mpt3sas_base_flush_reply_queues()with >> mpt3sas_base_sync_reply_irqs(),as mpt3sas_base_flush_reply_queues() >> skips over reply queues that are currently busy (i.e. being handled >> by interrup

Re: [PATCH 2/2] dt-bindings: rockchip-dw-mshc: add rockchip,default-drv-phase

2016-05-10 Thread Doug Anderson
Hi, On Tue, May 10, 2016 at 7:50 PM, Shawn Lin wrote: >>> maybe. But I think 180(downside) is the better. > > > NAK my previous comments here. Downside is better for SRD, but won't > work for DDR mode. When running in DDR mode, we should use 90 instead. > > So let me elaborate a bit more here. >

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-10 Thread James Bottomley
On Wed, 2016-05-11 at 01:53 +0100, Al Viro wrote: > On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > > +static int shiftfs_rename2(struct inode *olddir, struct dentry > > *old, > > + struct inode *newdir, struct dentry > > *new, > > + unsi

RE: [PATCH] drivers: usb: dwc3 : Configure DMA properties and ops from DT

2016-05-10 Thread Rajesh Bhagat
> -Original Message- > From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com] > Sent: Wednesday, May 04, 2016 1:28 PM > To: Rajesh Bhagat ; linux-...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; gre...@linuxfoundation.org; Yang-Leo Li > ; Sriram Dash ; Rajesh Bhagat > > Subject:

[PATCH v2] pinctrl: rockchip: fix pull setting error for rk3399

2016-05-10 Thread Caesar Wang
From: David Wu This patch fixes the pinctrl pull bias setting, since the pull up/down setting is the contrary for gpio0(just the gpio0a and gpio0b) and gpio2(just the gpio2c and gpio2d). >From the TRM said, the gpio0a pull polarity setting: gpio0a_p GPIO0A PE/PS programmation section, every GPIO

Re: [RFC 2/2] perf/core: change errno for sampling event not supported in hardware

2016-05-10 Thread Vince Weaver
On Mon, 9 May 2016, Vineet Gupta wrote: > On Monday 09 May 2016 07:24 PM, Vince Weaver wrote: > > On Mon, 9 May 2016, Vineet Gupta wrote: > > > >> This allows userspace to identify this case specifically from the > >> catch all error msg it prints currently. > >> > >> This is an ABI change > > >

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

2016-05-10 Thread Vinod Koul
On Wed, May 11, 2016 at 11:07:02AM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the sound-asoc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > sound/soc/intel/boards/bxt_rt298.c:257:3: error: unknown field 'be_id' > specified in initializer >.be_id

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-10 Thread Kuninori Morimoto
Hi Laurent, Vinod, > > > From: Kuninori Morimoto > > > > > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > > > push used descriptor to list of free descriptors, and next DMA transfer > > > try to reuse it from this list. But because it is using *_tail(), > > > this reuse e

[PATCH v2 0/4] perf script: fix duplicate symbols in db-export

2016-05-10 Thread Chris Phlipot
Changes since v1: - fixed scripts/checkpatch.pl errors This patch set contains 3 fixes for duplicate symbol creation in the db-export implementation and one new symbol API required for the fixes. commit 9c7b37cd63d0 ("perf symbols: Fix handling of zero-length symbols.") already removed the major

[PATCH v2 3/4] perf script: fix callchain addresses in db-export

2016-05-10 Thread Chris Phlipot
Remove the call to map_ip, because it has already been called when assembling the callchain. Calling it a second time can result in incorrect addresses being used. This can have effects such as duplicate symbols being created and exported. Signed-off-by: Chris Phlipot --- tools/perf/util/db-expo

[PATCH v2 2/4] perf script: fix symbol insertion behavior in db-export

2016-05-10 Thread Chris Phlipot
Use the dso__insert_symbol function instead of symbols__insert in order to properly update the dso symbol cache. If the cache is not updated, then duplicate symbols can be unintentionally created, inserted, and exported. This change prevents duplicate symbols from being exported due to dso__find_

[PATCH v2 4/4] perf script: fix export of callchains with recursion in db-export

2016-05-10 Thread Chris Phlipot
When an IP with an unresolved symbol occurs in the callchain more than once (ie. recursion), then duplicate symbols can be created because the callchain nodes are never updated after they are first created. To fix this issue we call dso__find_symbol whenever we encounter a NULL symbol, in case we

[PATCH v2 1/4] perf symbols: add dso__insert_symbol function

2016-05-10 Thread Chris Phlipot
The current method for inserting symbols is to use the symbols__insert function. However symbols__insert does not update the dso symbol cache. This causes problems in the following scenario: 1. symbol not found at ip using dso__find_symbol 2. symbol inserted at ip using the existing symbols__inse

Re: [v10, 7/7] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-05-10 Thread Scott Wood
On Thu, 2016-05-05 at 13:10 +0200, Arnd Bergmann wrote: > On Thursday 05 May 2016 09:41:32 Yangbo Lu wrote: > > > -Original Message- > > > From: Arnd Bergmann [mailto:a...@arndb.de] > > > Sent: Thursday, May 05, 2016 4:32 PM > > > To: linuxppc-...@lists.ozlabs.org > > > Cc: Yangbo Lu; linux

Re: [PATCH v2 5/5] vf610-soc: Add Vybrid SoC device tree binding documentation

2016-05-10 Thread Rob Herring
On Mon, May 9, 2016 at 8:13 PM, Stefan Agner wrote: > On 2016-05-09 15:58, Rob Herring wrote: >> On Mon, May 9, 2016 at 1:25 PM, Stefan Agner wrote: >>> On 2016-05-09 10:14, Rob Herring wrote: On Thu, May 5, 2016 at 3:27 AM, wrote: > Hello Rob, > > On 16-05-03 21:30:26, Rob Her

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-10 Thread Guenter Roeck
Heikki, On 05/06/2016 01:08 AM, Heikki Krogerus wrote: Hi, [ ... ] I don't have not made any new code for the class driver yet, but I'm attempting to prepare v2 next week. Would it make sense to send feedback about v1 now, or should I wait for v2 ? Thanks, Guenter

Re: [PATCH 1/6] f2fs: support in batch multi blocks preallocation

2016-05-10 Thread Chao Yu
On 2016/5/11 10:32, Jaegeuk Kim wrote: > On Wed, May 11, 2016 at 10:22:05AM +0800, Chao Yu wrote: >> On 2016/5/11 5:41, Jaegeuk Kim wrote: >>> + >>> + f2fs_wait_on_page_writeback(dn->node_page, NODE, true); >>> + >>> + for (; count > 0; dn->ofs_in_node++) { >>> + block_t blkaddr = >>>

Re: sched: tweak select_idle_sibling to look for idle threads

2016-05-10 Thread Yuyang Du
On Tue, May 10, 2016 at 05:26:05PM +0200, Mike Galbraith wrote: > On Tue, 2016-05-10 at 09:49 +0200, Mike Galbraith wrote: > > > Only whacking > > cfs_rq_runnable_load_avg() with a rock makes schbench -m -t > > -a work well. 'Course a rock in its gearbox also > > rendered load balancing fairly

Re: [RFC PATCH 13/21] reset: uniphier: add reset driver for UniPhier PH1-LD4 SoC

2016-05-10 Thread Masahiro Yamada
Hi Philipp, 2016-05-10 21:25 GMT+09:00 Philipp Zabel : > Hi Masahiro, > > Am Dienstag, den 10.05.2016, 18:50 +0900 schrieb Masahiro Yamada: >> This series is just for review. >> Please do not apply this patch. >> >> Signed-off-by: Masahiro Yamada > > No need for all these tiny drivers. If you pr

Re: [PATCH v7 7/9] clk: mediatek: Enable critical clocks for MT2701

2016-05-10 Thread James Liao
Hi Stephen, Mike, Lee, On Mon, 2016-05-09 at 15:13 -0700, Stephen Boyd wrote: > On 05/09, James Liao wrote: > > Hi Stephen, > > > > On Fri, 2016-05-06 at 16:12 -0700, Stephen Boyd wrote: > > > On 04/14, James Liao wrote: > > > > Some system clocks should be turned on by default on MT2701. > > > >

Re: [PATCH 2/2] dt-bindings: rockchip-dw-mshc: add rockchip,default-drv-phase

2016-05-10 Thread Shawn Lin
On 2016/5/10 23:57, Doug Anderson wrote: (again, but not HTML) --8<-- I have less faith than you in the TRM. The TRM is full of minor errors and is often wrong about the default state of things. IMHO the only true way to find out is to boot up some SoCs and check. O

[PATCH] audit: add support for session ID user filter

2016-05-10 Thread Richard Guy Briggs
Define AUDIT_SESSIONID in the uapi and add support for specifying user filters based on the session ID. https://github.com/linux-audit/audit-kernel/issues/4 RFE: add a session ID filter to the kernel's user filter Signed-off-by: Richard Guy Briggs --- Like loginuid (auid), should this have a sep

Re: [RFC PATCH 12/21] reset: uniphier: add core support for UniPhier reset driver

2016-05-10 Thread Masahiro Yamada
Hi Philipp, 2016-05-10 22:54 GMT+09:00 Philipp Zabel : > Am Dienstag, den 10.05.2016, 18:50 +0900 schrieb Masahiro Yamada: > [...] >> +static int uniphier_reset_update(struct reset_controller_dev *rcdev, >> + unsigned long id, bool assert) >> +{ >> + struct uniphi

Re: [PATCH v1] ION: Sys_heap: Add cached pool to spead up cached buffer alloc

2016-05-10 Thread Chen Feng
On 2016/5/11 6:48, Laura Abbott wrote: > On 05/09/2016 04:35 AM, Chen Feng wrote: >> Add ion cached pool in system heap. This patch add a cached pool >> in system heap. It has a great improvement of alloc for cached >> buffer. >> > > Can you give some benchmark numbers here? > ok, My test is u

Re: [PATCH 1/6] f2fs: support in batch multi blocks preallocation

2016-05-10 Thread Jaegeuk Kim
On Wed, May 11, 2016 at 10:22:05AM +0800, Chao Yu wrote: > On 2016/5/11 5:41, Jaegeuk Kim wrote: > > + > > + f2fs_wait_on_page_writeback(dn->node_page, NODE, true); > > + > > + for (; count > 0; dn->ofs_in_node++) { > > + block_t blkaddr = > > + datablock_addr(dn->no

Re: [PATCH 1/2] [v4] net: emac: emac gigabit ethernet controller driver

2016-05-10 Thread Timur Tabi
Florian Fainelli wrote: The Ethernet MAC should be started in ndo_open() and stopped in ndo_close(), in between, there are link state changes, but you are not supposed to stop or start your Ethernet MAC and its DMA for instance during link change, if that is a HW requirement, your HW is pretty fu

Re: [PATCH 1/6] f2fs: support in batch multi blocks preallocation

2016-05-10 Thread Chao Yu
On 2016/5/11 5:41, Jaegeuk Kim wrote: > + > + f2fs_wait_on_page_writeback(dn->node_page, NODE, true); > + > + for (; count > 0; dn->ofs_in_node++) { > + block_t blkaddr = > + datablock_addr(dn->node_page, dn->ofs_in_node); > + if (blkaddr == NULL_

linux-next: manual merge of the dt-rh tree with the iommu tree

2016-05-10 Thread Stephen Rothwell
Hi Rob, Today's linux-next merge of the dt-rh tree got a conflict in: drivers/iommu/arm-smmu.c between commit: d54663573131 ("iommu/arm-smmu: Use per-domain page sizes.") from the iommu tree and commit: cb6c27bb0912 ("iommu/arm-smmu: Make use of phandle iterators in device-tree parsing

Re: [LKP] [lkp] [net] 9317bb6982: INFO: task cat-kmsg:893 blocked for more than 300 seconds.

2016-05-10 Thread Huang, Ying
Eric Dumazet writes: > On Mon, May 9, 2016 at 6:26 PM, Huang, Ying > wrote: >> Hi, Eric, >> >> kernel test robot writes: >>> FYI, we noticed the following commit: >>> >>> git://internal_merge_and_test_tree devel-catchup-201604281529 >>> commit 9317bb69824ec8d078b0b786b6971aedb0af3d4f ("net: SOC

[PATCH] dt: add Atmel Captouch bindings

2016-05-10 Thread Grant Grundler
From: Daniel Hung-yu Wu Add binding for Atmel Capacitive Touch Button device. Signed-off-by: Daniel Hung-yu Wu Signed-off-by: Grant Grundler --- .../devicetree/bindings/input/atmel,captouch.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/d

[PATCH 2/3 V2] Input: add Atmel Captouch Button driver

2016-05-10 Thread Grant Grundler
From: Daniel Hung-yu Wu Add I2C driver for Atmel Capacitive Touch Button device. Signed-off-by: Hung-yu Wu Signed-off-by: Grant Grundler --- drivers/input/misc/Kconfig | 11 ++ drivers/input/misc/Makefile | 1 + drivers/input/misc/atmel_captouch.c | 287 +++

[PATCH 2/4] perf script: fix symbol insertion behavior in db-export

2016-05-10 Thread Chris Phlipot
Use the dso__insert_symbol function instead of symbols__insert in order to properly update the dso symbol cache. If the cache is not updated, then duplicate symbols can be unintentionally created, inserted, and exported. This change prevents duplicate symbols from being exported due to dso__find_

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-10 Thread Zhangjian (Bamvor)
Hi, On 2016/5/10 20:50, Arnd Bergmann wrote: On Tuesday 10 May 2016 20:39:41 Zhangjian wrote: Hi, On 2016/5/10 19:48, Arnd Bergmann wrote: On Tuesday 10 May 2016 17:47:26 Zhangjian wrote: On 2016/5/10 16:36, Arnd Bergmann wrote: On Tuesday 10 May 2016 15:42:07 Zhangjian wrote: On 2016/5/6

[PATCH 3/4] perf script: fix callchain addresses in db-export

2016-05-10 Thread Chris Phlipot
Remove the call to map_ip, because it has already been called when assembling the callchain. Calling it a second time can result in incorrect addresses being used. This can have effects such as duplicate symbols being created and exported. Signed-off-by: Chris Phlipot --- tools/perf/util/db-expo

[PATCH 4/4] perf script: fix export of callchains with recursion in db-export

2016-05-10 Thread Chris Phlipot
When an IP with an unresolved symbol occurs in the callchain more than once (ie. recursion), then duplicate symbols can be created because the callchain nodes are never updated after they are first created. To fix this issue we call dso__find_symbol whenever we encounter a NULL symbol, in case we

[PATCH 0/4] perf script: fix duplicate symbols in db-export

2016-05-10 Thread Chris Phlipot
This patch set contains 3 fixes for duplicate symbol creation in the db-export implementation and one new symbol API required for the fixes. commit 9c7b37cd63d0 already removed the majority of duplicates, but these fixes take care of the remaining corner cases. each patch (except for the 1st, whi

[PATCH 1/4] perf symbols: add dso__insert_symbol function

2016-05-10 Thread Chris Phlipot
The current method for inserting symbols is to use the symbols__insert function. However symbols__insert does not update the dso symbol cache. This causes problems in the following scenario: 1. symbol not found at ip using dso__find_symbol 2. symbol inserted at ip using the existing symbols__inse

Re: [patch] [SCSI] eata_pio: missing break statement

2016-05-10 Thread Martin K. Petersen
> "Dan" == Dan Carpenter writes: Dan> This missing break statement bug predates git. It's a very minor Dan> thing, it means that we print a '?' instead of a 'z' in dmesg. Applied to 4.7/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [RFC PATCH 01/21] mfd: uniphier: add UniPhier MFD driver

2016-05-10 Thread Masahiro Yamada
Hi Lee, 2016-05-10 20:26 GMT+09:00 Lee Jones : >> +}; >> +MODULE_DEVICE_TABLE(of, uniphier_mfd_match); > > NACK. Please do not mix MFD and DT registration. OK, thanks for review. My basic thought was: - Add an MFD node to my DTS only once. If I need to expand it in the future, I will ju

Re: [PATCH v2 2/9] perf script: Add options for custom vdso path

2016-05-10 Thread Hekuang
在 2016/5/10 21:44, Arnaldo Carvalho de Melo 写道: Em Tue, May 10, 2016 at 07:40:30AM +, He Kuang escreveu: When unwinding callchains on a different machine, vdso info should be provided so the unwind process won't be interrupted if address falls into vdso region. Currently, perf does try to

[PATCH 1/3] Save dump_root into pid_namespace

2016-05-10 Thread Zhao Lei
In current system, when we set core_pattern to a pipe, both pipe program and program's output are in host's filesystem. But when we set core_pattern to a file, the container will write dump into container's filesystem. Reason of above different is: In pipe_mode dump_pattern setting, the process wh

[PATCH 0/3] Write dump into container's filesystem for pipe_type core_pattern

2016-05-10 Thread Zhao Lei
In current system, when we set core_pattern to a pipe, both pipe program and program's output are in host's filesystem. But when we set core_pattern to a file, the container will write dump into container's filesystem. For example, when we set following core_pattern: # echo "|/my_dump_pipe %s %c

[PATCH 3/3] Write dump into container's filesystem for pipe_type core_pattern

2016-05-10 Thread Zhao Lei
In current system, when we set core_pattern to a pipe, both pipe program and program's output are in host's filesystem. But when we set core_pattern to a file, the container will write dump into container's filesystem. For example, when we set following core_pattern: # echo "|/my_dump_pipe %s %c

[PATCH 2/3] Make dump_pipe thread possilbe to select the rootfs

2016-05-10 Thread Zhao Lei
To make the dump_pipe thread run in container's filesystem, we need to make it possible to select its fs_root from fork. Then the dump_pipe thread will exec user_defined pipe program in container's fs_root, and the problem will also write dumpdata into the same fs_root. Signed-off-by: Zhao Lei -

Re: [tpmdd-devel] [BUG, bisect] tpm: Remove all uses of drvdata from the TPM Core

2016-05-10 Thread Jeremiah Mahler
Stefan, On Tue, May 10, 2016 at 11:05:43AM -0400, Stefan Berger wrote: > Jeremiah Mahler wrote on 05/10/2016 09:55:23 AM: > > > > > all, > > > > My machine is locking up during suspend and I have bisected the > > problem to this patch (e89f8b1ade9cc1a) in the latest linux-next > > (20160506) k

Re: [PATCH 2/2] ARM64: dts: rockchip: enable eMMC for rk3399 EVB

2016-05-10 Thread Brian Norris
Hi, On Wed, May 11, 2016 at 08:59:24AM +0800, Shawn Lin wrote: > On 2016/5/11 8:02, Brian Norris wrote: > >The 'mmc-hs400-enhanced-strobe' property has been acked by Rob Herring, > >though it's still not merged. > > > > Hi Brain, > > I'm not sure whether it's acceptable to upstream new property

Re: [PATCH 1/2] ARM64: dts: rockchip: add sdhci/emmc for rk3399

2016-05-10 Thread Shawn Lin
+ Huang Lin On 2016/5/11 8:02, Brian Norris wrote: The bindings for rk3399's SDHCI + eMMC PHY have been accepted, so let's support eMMC now. Note that 'rockchip,rk3399-sdhci-5.1' is not documented, but per Heiko's previous suggestion, we don't want to clutter the arasan doc, and it's just a pre

Re: [PATCH] bcache: bch_writeback_thread() is not freezable

2016-05-10 Thread Eric Wheeler
On Mon, 2 May 2016, Jiri Kosina wrote: > On Tue, 19 Apr 2016, Jiri Kosina wrote: > > > From: Jiri Kosina > > > > bch_writeback_thread() is calling try_to_freeze(), but that's just an > > expensive no-op given the fact that the thread is not marked freezable. > > > > I/O helper kthreads, exactl

  1   2   3   4   5   6   7   8   9   10   >