[PATCH 1/4] DT: Add vendor prefix for Integrated Silicon Solutions Inc.

2016-03-02 Thread David Rivshin (Allworx)
From: David Rivshin ISSI is the stock ticker Integrated Silicon Solutions Inc. Company website: http://www.issi.com Signed-off-by: David Rivshin --- Changes from RFC: none Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH 4/4] leds: Replace dedicated SN3218 driver with IS31FL32XX driver

2016-03-02 Thread David Rivshin (Allworx)
From: David Rivshin Si-En Technology was acquired by ISSI in 2011, and it appears that the IS31FL3218/IS31FL3216 are just rebranded SN3218/SN3216 devices. As the IS31FL32XX driver already handles the *3218 devices, there is no longer a need for the dedicated SN3218 driver. Add the "sn,sn3218" an

Re: [4/4] MIPS: Sync icache & dcache in set_pte_at

2016-03-02 Thread Leonid Yegoshin
Paul Burton wrote: It is, however, used in such a way by others & seems to me like the only correct way to implement the lazy cache flushing. The alternative would be to adjust all generic code to ensure flush_icache_page gets called before set_pte_at ... which is an exact case right now. Both

[PATCH 2/4] DT: leds: Add binding for the ISSI IS31FL32xx family of LED controllers

2016-03-02 Thread David Rivshin (Allworx)
From: David Rivshin This adds a binding description for the is31fl3236/35/18/16 I2C LED controllers. Signed-off-by: David Rivshin --- Rob, I went with the 1-based 'reg' property here. I inferred that that would be your preference based on the previous thread [1]. Let me know if that's not the

Re: [PATCH] ARM: dts: add "simple-bus" to "arm,amba-bus" compatible nodes

2016-03-02 Thread Masahiro Yamada
Hi Mark, 2016-03-01 20:46 GMT+09:00 Mark Rutland : > On Tue, Mar 01, 2016 at 12:57:00PM +0900, Masahiro Yamada wrote: >> The "arm,amba-bus" string in the of_default_bus_match_table is >> ambiguous. This prepares for killing it off in a long run. > > I don't follow the purpose of this patch. > >

Re: [PATCHSET v2 cgroup/for-4.6] cgroup: make control mask updates modular and recursive

2016-03-02 Thread Zefan Li
On 2016/2/25 6:02, Tejun Heo wrote: > Hello, > > Changes from v1[1] are > > * Patches 0012-0014 and 0016 added. They further refactor the > operations and convert existing css management paths to use the new > modular operations. > > * 0005 updated to yield the correct result on v1 hierarch

Re: [cgroup/for-4.6 1/2] cgroup: re-hash init_css_set after subsystems are initialized

2016-03-02 Thread Zefan Li
On 2016/3/3 2:07, Tejun Heo wrote: > css_sets are hashed by their subsys[] contents and in cgroup_init() > init_css_set is hashed early, before subsystem inits, when all entries > in its subsys[] are NULL, so that cgroup_dfl_root initialization can > find and link to it. As subsystems are initiali

Re: [PATCH v3 1/4] thermal: Add support for hierarchical thermal zones

2016-03-02 Thread Eduardo Valentin
Thanks for moving this forward Javi, Few comments inline. On Wed, Nov 25, 2015 at 03:09:43PM +, Javi Merino wrote: > Add the ability to stack thermal zones on top of each other, creating a > hierarchy of thermal zones. > > Cc: Zhang Rui > Cc: Eduardo Valentin > Signed-off-by: Javi Merino

Re: [PATCH V2] acpi, pci, irq: account for early penalty assignment

2016-03-02 Thread Sinan Kaya
On 3/2/2016 1:31 PM, Sinan Kaya wrote: > I don't think there's a restriction on what the SCI IRQ can be. But >> there is only one SCI IRQ, so all we have to do is keep track of what >> it is, which only requires one word. Taking a step back here and also some inspiration from your code, why don't

Re: [lkp] [block] 3d63546519: kernel BUG at block/bio.c:163!

2016-03-02 Thread Jens Axboe
On 03/02/2016 06:21 PM, kernel test robot wrote: FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io-streamid commit 3d63546519428f2ed1b79e93e4321cf37c5a0d83 ("block: add support for carrying a stream ID in a bio") udevd[279]: failed

[PATCH V2 1/1] perf, x86: fix pebs warning by only restore active pmu in pmi

2016-03-02 Thread kan . liang
From: Kan Liang This patch tries to fix a pebs warning found in my stress test. The following perf command can easily trigger the pebs warning or spurious NMI error on Skylake/Broadwell/Haswell platforms. sudo perf record -e 'cpu/umask=0x04,event=0xc4/pp,cycles,branches,ref-cycles,cache-misses,

Re: [PATCH v3 4/4] thermal: show the sub thermal zones in sysfs

2016-03-02 Thread Eduardo Valentin
On Wed, Nov 25, 2015 at 03:09:46PM +, Javi Merino wrote: > When a thermal zone is created that has sub thermal zones via > devicetree or via thermal_zone_add_subtz() expose that relationship in > sysfs. > > Cc: Zhang Rui > Cc: Eduardo Valentin > Signed-off-by: Javi Merino > --- > Documenta

Re: [PATCHv9 1/3] rdmacg: Added rdma cgroup controller

2016-03-02 Thread Parav Pandit
On Thu, Mar 3, 2016 at 1:28 AM, Parav Pandit wrote: > On Wed, Mar 2, 2016 at 11:09 PM, Tejun Heo wrote: >> Nothing seems to prevent @cg from going away if this races with >> @current being migrated to a different cgroup. Have you run this with >> lockdep and rcu debugging enabled? This should h

Re: [PATCH v3] net: jme: fix suspend/resume on JMC260

2016-03-02 Thread Diego Viola
On Wed, Mar 2, 2016 at 2:14 AM, Guo-Fu Tseng wrote: > On Wed, 24 Feb 2016 23:58:56 -0500 (EST), David Miller wrote >> From: Diego Viola >> Date: Tue, 23 Feb 2016 12:04:04 -0300 >> >> > The JMC260 network card fails to suspend/resume because the call to >> > jme_start_irq() was too early, moving t

Re: [PATCH v3 2/4] devicetree: bindings: let thermal-sensor point to other thermal zones

2016-03-02 Thread Eduardo Valentin
On Wed, Nov 25, 2015 at 03:09:44PM +, Javi Merino wrote: > The thermal-sensor property of the thermal zone node accepts phandles to > thermal sensors. However, thermal zones can be created as an > aggregation of other thermal zones. Extend the thermal-sensors property > to allow phandles to o

Re: [RFC/RFT][PATCH v4 1/2] cpufreq: New governor using utilization data from the scheduler

2016-03-02 Thread Steve Muckle
On 03/01/2016 12:20 PM, Rafael J. Wysocki wrote: >> I'm specifically worried about the check below where we omit a CPU's >> capacity request if its last update came before the last sample time. >> >> Say there are 2 CPUs in a frequency domain, HZ is 100 and the sample >> delay here is 4ms. > > Yes

Re: [PATCH 2/2] objtool: Support CROSS_COMPILE

2016-03-02 Thread Josh Poimboeuf
On Thu, Mar 03, 2016 at 01:43:14PM +1100, Stephen Rothwell wrote: > Hi Josh, > > Just a couple of quick comments ... > > On Wed, 2 Mar 2016 18:39:37 -0600 Josh Poimboeuf wrote: > > > > diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile > > index c4f0713..e4a6bd5 100644 > > --- a/tools

Re: [PATCH v3 2/4] devicetree: bindings: let thermal-sensor point to other thermal zones

2016-03-02 Thread Eduardo Valentin
On Mon, Jan 04, 2016 at 03:17:09PM +0100, Sascha Hauer wrote: > On Wed, Nov 25, 2015 at 03:09:44PM +, Javi Merino wrote: > > The thermal-sensor property of the thermal zone node accepts phandles to > > thermal sensors. However, thermal zones can be created as an > > + > > + thermal-s

Re: [PATCH 3/4] leds: Add driver for the ISSI IS31FL32xx family of LED controllers

2016-03-02 Thread kbuild test robot
Hi David, [auto build test WARNING on j.anaszewski-leds/for-next] [also build test WARNING on next-20160302] [cannot apply to v4.5-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/David

Re: [PATCH v3 1/4] thermal: Add support for hierarchical thermal zones

2016-03-02 Thread Eduardo Valentin
On Wed, Mar 02, 2016 at 07:12:46PM -0800, Eduardo Valentin wrote: > > Thanks for moving this forward Javi, > > Few comments inline. > > On Wed, Nov 25, 2015 at 03:09:43PM +, Javi Merino wrote: > > Add the ability to stack thermal zones on top of each other, creating a > > hierarchy of therma

FTDI FT232RL - Tait Programming Cable - 0403:a1f8

2016-03-02 Thread Jason Thomas
Hi, Could the Tait Programming Cable product id be added to the FTDI driver, it is tested working with linux kernel 4.3.0. #uname -a Linux lappy 4.3.0-1-amd64 #1 SMP Debian 4.3.3-5 (2016-01-04) x86_64 GNU/Linux Testing procedure: #sudo modprobe ftdi_sio #sudo chmod 666 /sys/bus/usb-serial/driv

Re: [PATCH] iommu/vt-d: Assign old irt entries a common valid vector in kdump kernel

2016-03-02 Thread Xunlei Pang
On 03/02/2016 at 10:58 PM, Joerg Roedel wrote: > On Wed, Mar 02, 2016 at 06:02:28PM +0800, Xunlei Pang wrote: >> Currently, the kernel copies the old irt entries during iommu >> initialization for kdump, so old vectors in the first kernel are >> used but having no related kernel irq handlers set ex

Re: about get_maintainer.pl not showing the original author of the modified code

2016-03-02 Thread Joe Perches
On Thu, 2016-03-03 at 11:00 +0800, Jianyu Zhan wrote: > Hi, Joe, > > recently in this patch https://lkml.org/lkml/2016/3/2/281, > > I found the original author of the modified code was not > suggested as a patch reviewer. > > This surprised me at first.  But later I realized that it is not trivi

Re: [PATCH] thermal: rockchip: disable thermal->clk in err case

2016-03-02 Thread Caesar Wang
Hi , Sorry for the missing it. 在 2016年02月15日 10:27, Shawn Lin 写道: Disable thermal->clk when enabling pclk fails in resume routine. Signed-off-by: Shawn Lin Reviewed-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -

Re: [RFC/RFT][PATCH v4 1/2] cpufreq: New governor using utilization data from the scheduler

2016-03-02 Thread Steve Muckle
On 03/02/2016 07:20 PM, Steve Muckle wrote: > Why does the frequency value not help? It is true there may be issues of > a workload being memory bound and not responding quite linearly to > increasing frequency, but that would pose a problem for the current > algorithm also. Surely it's better to a

Re: [PATCH v13 3/6] of, numa: Add NUMA of binding implementation.

2016-03-02 Thread Rob Herring
On Wed, Mar 2, 2016 at 4:55 PM, David Daney wrote: > From: David Daney > > Add device tree parsing for NUMA topology using device > "numa-node-id" property in distance-map and cpu nodes. > > This is a complete rewrite of a previous patch by: >Ganapatrao Kulkarni > > Signed-off-by: David Daney

[PATCH] media: au0828 audio mixer isn't connected to decoder

2016-03-02 Thread Shuah Khan
When snd_usb_audio gets probed first, audio mixer doesn't get linked to the decoder. Change au0828_media_graph_notify() to handle the mixer entity getting registered before the decoder. Change au0828_media_device_register() to invoke au0828_media_graph_notify() to connect entites that were create

Re: [PATCH 2/2] objtool: Support CROSS_COMPILE

2016-03-02 Thread Stephen Rothwell
Hi Josh, On Wed, 2 Mar 2016 21:20:58 -0600 Josh Poimboeuf wrote: > > On Thu, Mar 03, 2016 at 01:43:14PM +1100, Stephen Rothwell wrote: > > > > I was wondering if this would be more appropriate in scripts/objtool > > since it is used during the building of the kernel. Or does it have a > > wider

Re: [PATCH V14 0/9] dma: add Qualcomm Technologies HIDMA driver

2016-03-02 Thread Vinod Koul
On Wed, Mar 02, 2016 at 01:40:58PM -0500, Sinan Kaya wrote: > On 2/26/2016 11:52 AM, Timur Tabi wrote: > > Sinan Kaya wrote: > >> Hi Marc Zyngier, Mark Rutland; > >> > >> I'm looking forward to hear your feedback on this series. > > > > Would it be possible to get this patchset into 4.6? We're al

RE: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver

2016-03-02 Thread 林義章
Hi Joe: Thank you for your response. I'll follow your comments in next version. Best Regards -- Jeffrey Lin,林義章 瑞鼎科技 Raydium Semiconductor Corporation Tel:(03)666-1818 Ext.4163 Fax:(03)666-1919 -Original Message- From: Jo

Re: [PATCH 06/14] dma: sirf: use __maybe_unused to hide pm functions

2016-03-02 Thread Vinod Koul
On Wed, Mar 02, 2016 at 04:58:58PM +0100, Arnd Bergmann wrote: > The sirf dma driver uses #ifdef to check for CONFIG_PM_SLEEP > for its suspend/resume code but then has no #ifdef for the > respective runtime PM code, so we get a warning if CONFIG_PM > is disabled altogether: > > drivers/dma/sirf-d

Re: [PATCH 2/2] objtool: Support CROSS_COMPILE

2016-03-02 Thread Josh Poimboeuf
On Thu, Mar 03, 2016 at 02:38:43PM +1100, Stephen Rothwell wrote: > Hi Josh, > > On Wed, 2 Mar 2016 21:20:58 -0600 Josh Poimboeuf wrote: > > > > On Thu, Mar 03, 2016 at 01:43:14PM +1100, Stephen Rothwell wrote: > > > > > > I was wondering if this would be more appropriate in scripts/objtool > >

Re: [PATCH v2] dax: check return value of dax_radix_entry()

2016-03-02 Thread Dave Chinner
On Wed, Mar 02, 2016 at 10:00:51AM -0700, Ross Zwisler wrote: > dax_pfn_mkwrite() previously wasn't checking the return value of the call > to dax_radix_entry(), which was a mistake. > > Instead, capture this return value and return the appropriate VM_FAULT_ > value. > > Signed-off-by: Ross Zwisl

Re: [RFCv7 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2016-03-02 Thread Steve Muckle
On 03/02/2016 06:49 PM, Rafael J. Wysocki wrote: > I'm not actually sure if RT is the right answer here. DL may be a > better choice. After all, we want the thing to happen shortly, but > not necessarily at full speed. > > So something like a DL workqueue would be quite useful here it seems. Th

RE: allocate an official device major number for virtio device?

2016-03-02 Thread Ning, Yu
Well, virtio_blk does use dynamic major number allocation, but the allocated block major just happens to fall in the "experimental" range (240-254)... In more detail: virtio_blk calls register_blkdev() with major = 0 in init() (drivers/block/virtio_blk.c:872): major = register_blkdev(0

Re: [RFCv7 PATCH 04/10] sched/fair: add triggers for OPP change requests

2016-03-02 Thread Steve Muckle
Hi Ricky, On 02/29/2016 10:51 PM, Ricky Liang wrote: > The change hunks of this patch should probably all depend on > CONFIG_SMP as capacity_orig_of() and cpu_util() are only available > when CONFIG_SMP is enabled. Yeah, I was deferring cleaning that up until there was more buy in on the overall

Re: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver

2016-03-02 Thread Joe Perches
On Thu, 2016-03-03 at 03:14 +, Jeffrey Lin (林義章) wrote: > Hi Joe: > Thank you for your response. I'll follow your comments in next version. OK, btw: the below looks very odd > > +static int raydium_i2c_send_message(struct i2c_client *client, > > + size_t len, void *data) > > +{ > > + int

Re: [PATCH] mtd: denali: fix property name for Denali DT binding

2016-03-02 Thread Masahiro Yamada
Hi Rob, 2016-02-09 6:37 GMT+09:00 Rob Herring : > On Mon, Feb 08, 2016 at 05:41:33PM +0900, Masahiro Yamada wrote: >> Hi Arnd, >> >> >> 2016-02-08 17:29 GMT+09:00 Arnd Bergmann : >> > On Monday 08 February 2016 16:31:42 Masahiro Yamada wrote: >> >> diff --git a/Documentation/devicetree/bindings/m

Re: about get_maintainer.pl not showing the original author of the modified code

2016-03-02 Thread Jianyu Zhan
On Thu, Mar 3, 2016 at 11:32 AM, Joe Perches wrote: > with your patch get_maintainer.pl and --git-blame gives: > > $ ./scripts/get_maintainer.pl ~/1.diff --git-blame > Thomas Gleixner > (commit_signer:20/19=100%,authored:7/19=37%,added_lines:73/248=29%,removed_lines:38/119=32%) > Peter Zijlstra

[PATCH 7/8] ptp: Add PTP_SYS_OFFSET_PRECISE for driver crosstimestamping

2016-03-02 Thread John Stultz
From: "Christopher S. Hall" Currently, network /system cross-timestamping is performed in the PTP_SYS_OFFSET ioctl. The PTP clock driver reads gettimeofday() and the gettime64() callback provided by the driver. The cross-timestamp is best effort where the latency between the capture of system tim

[PATCH 8/8] net: e1000e: Adds hardware supported cross timestamp on e1000e nic

2016-03-02 Thread John Stultz
From: "Christopher S. Hall" Modern Intel systems supports cross timestamping of the network device clock and Always Running Timer (ART) in hardware. This allows the device time and system time to be precisely correlated. The timestamp pair is returned through e1000e_phc_get_syncdevicetime() used

[PATCH 1/8] time: Add cycles to nanoseconds translation

2016-03-02 Thread John Stultz
From: "Christopher S. Hall" The timekeeping code does not currently provide a way to translate externally provided clocksource cycles to system time. The cycle count is always provided by the result clocksource read() method internal to the timekeeping code. The added function timekeeping_cycles_

[PATCH 4/8] time: Add driver cross timestamp interface for higher precision time synchronization

2016-03-02 Thread John Stultz
From: "Christopher S. Hall" ACKNOWLEDGMENT: cross timestamp code was developed by Thomas Gleixner . It has changed considerably and any mistakes are mine. The precision with which events on multiple networked systems can be synchronized using, as an example, PTP (IEEE 1588, 802.1AS) is limited b

[PATCH 3/8] time: Remove duplicated code in ktime_get_raw_and_real()

2016-03-02 Thread John Stultz
From: "Christopher S. Hall" The code in ktime_get_snapshot() is a superset of the code in ktime_get_raw_and_real() code. Further, ktime_get_raw_and_real() is called only by the PPS code, pps_get_ts(). Consolidate the pps_get_ts() code into a single function calling ktime_get_snapshot() and elimin

[PATCH 5/8] time: Add history to cross timestamp interface supporting slower devices

2016-03-02 Thread John Stultz
From: "Christopher S. Hall" Another representative use case of time sync and the correlated clocksource (in addition to PTP noted above) is PTP synchronized audio. In a streaming application, as an example, samples will be sent and/or received by multiple devices with a presentation time that is

Re: [PATCH RT 07/17] arm64: replace read_lock to rcu lock in call_step_hook

2016-03-02 Thread Pratyush Anand
Hi Steven, On 02/03/2016:10:44:40 AM, Steven Rostedt wrote: > 3.14.61-rt64-rc1 stable review patch. > If anyone has any objections, please let me know. > > -- > > From: Yang Shi > > BUG: sleeping function called from invalid context at > kernel/locking/rtmutex.c:917 > in_atomi

[PATCH 6/8] x86: tsc: Always Running Timer (ART) correlated clocksource

2016-03-02 Thread John Stultz
From: "Christopher S. Hall" On modern Intel systems TSC is derived from the new Always Running Timer (ART). ART can be captured simultaneous to the capture of audio and network device clocks, allowing a correlation between timebases to be constructed. Upon capture, the driver converts the capture

Re: [PATCH 5/6] watchdog: atlas7_wdt: test clock rate to avoid division by 0

2016-03-02 Thread Guenter Roeck
On Wed, Mar 02, 2016 at 11:33:36PM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > The clk API may return 0 on clk_get_rate, so we should check the result before > using it as a divisor. > > Signed-off-by: Wolfram Sang Reviewed-by: Guenter Roeck > --- > > Should go individually via subs

[PATCH 0/8][GIT PULL] time: Cross-timestamp infrastructure for 4.6

2016-03-02 Thread John Stultz
Hey Thomas, So here is Christopher's cross-timestamp infrastructure patchset which I wanted to send along for 4.6. These apply against tip/timers/core. Let me know if you have any objections. thanks -john Cc: Prarit Bhargava Cc: Richard Cochran Cc: Thomas Gleixner Cc: Ingo Molnar Cc:

[PATCH 2/8] time: Add timekeeping snapshot code capturing system time and counter

2016-03-02 Thread John Stultz
From: "Christopher S. Hall" In the current timekeeping code there isn't any interface to atomically capture the current relationship between the system counter and system time. ktime_get_snapshot() returns this triple (counter, monotonic raw, realtime) in the system_time_snapshot struct. Cc: Pra

Re: about get_maintainer.pl not showing the original author of the modified code

2016-03-02 Thread Joe Perches
On Thu, 2016-03-03 at 12:09 +0800, Jianyu Zhan wrote: > On Thu, Mar 3, 2016 at 11:32 AM, Joe Perches wrote: > > > > with your patch get_maintainer.pl and --git-blame gives: > > > > $ ./scripts/get_maintainer.pl ~/1.diff --git-blame > > Thomas Gleixner > > (commit_signer:20/19=100%,authored:7/1

Re: [PATCH v13 3/6] of, numa: Add NUMA of binding implementation.

2016-03-02 Thread Ganapatrao Kulkarni
On Thu, Mar 3, 2016 at 9:04 AM, Rob Herring wrote: > On Wed, Mar 2, 2016 at 4:55 PM, David Daney wrote: >> From: David Daney >> >> Add device tree parsing for NUMA topology using device >> "numa-node-id" property in distance-map and cpu nodes. >> >> This is a complete rewrite of a previous patch

[PATCH v3 2/8] powerpc/module: Only try to generate the ftrace_caller() stub once

2016-03-02 Thread Michael Ellerman
Currently we generate the module stub for ftrace_caller() at the bottom of apply_relocate_add(). However apply_relocate_add() is potentially called more than once per module, which means we will try to generate the ftrace_caller() stub multiple times. Although the current code deals with that corr

Re: [PATCH 6/6] watchdog: tangox_wdt: test clock rate to avoid division by 0

2016-03-02 Thread Guenter Roeck
On Wed, Mar 02, 2016 at 11:33:37PM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > The clk API may return 0 on clk_get_rate, so we should check the result before > using it as a divisor. > > Signed-off-by: Wolfram Sang > --- > > Should go individually via subsystem tree. > > drivers/watc

[PATCH v3 1/8] powerpc: Create a helper for getting the kernel toc value

2016-03-02 Thread Michael Ellerman
Move the logic to work out the kernel toc pointer into a header. This is a good cleanup, and also means we can use it elsewhere in future. Reviewed-by: Kamalesh Babulal Reviewed-by: Torsten Duwe Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/sections.h | 12 arch/pow

[PATCH v3 7/8] powerpc/ftrace: Add support for -mprofile-kernel ftrace ABI

2016-03-02 Thread Michael Ellerman
From: Torsten Duwe The gcc switch -mprofile-kernel defines a new ABI for calling _mcount() very early in the function with minimal overhead. Although mprofile-kernel has been available since GCC 3.4, there were bugs which were only fixed recently. Currently it is known to work in GCC 4.9, 5 and

[PATCH v3 3/8] powerpc/module: Mark module stubs with a magic value

2016-03-02 Thread Michael Ellerman
When a module is loaded, calls out to the kernel go via a stub which is generated at runtime. One of these stubs is used to call _mcount(), which is the default target of tracing calls generated by the compiler with -pg. If dynamic ftrace is enabled (which it typically is), another stub is used to

[PATCH v3 6/8] powerpc/ftrace: Use $(CC_FLAGS_FTRACE) when disabling ftrace

2016-03-02 Thread Michael Ellerman
From: Torsten Duwe Rather than open-coding -pg whereever we want to disable ftrace, use the existing $(CC_FLAGS_FTRACE) variable. This has the advantage that it will work in future when we use a different set of flags to enable ftrace. Signed-off-by: Torsten Duwe Signed-off-by: Michael Ellerma

[PATCH v3 5/8] powerpc/ftrace: Use generic ftrace_modify_all_code()

2016-03-02 Thread Michael Ellerman
From: Torsten Duwe Convert powerpc's arch_ftrace_update_code() from its own version to use the generic default functionality (without stop_machine -- our instructions are properly aligned and the replacements atomic). With this we gain error checking and the much-needed function_trace_op handlin

[PATCH v3 8/8] powerpc/ftrace: Add Kconfig & Make glue for mprofile-kernel

2016-03-02 Thread Michael Ellerman
From: Torsten Duwe Firstly we add logic to Kconfig to allow a user to choose if they want mprofile-kernel. This has to be user-selectable because only some current toolchains support it. If we enabled it unconditionally we would prevent some users from building the kernel entirely. Arguably it w

[PATCH v3 4/8] powerpc/module: Create a special stub for ftrace_caller()

2016-03-02 Thread Michael Ellerman
In order to support the new -mprofile-kernel ABI, we need to be able to call from the module back to ftrace_caller() (in the kernel) without using the module's r2. That is because the function in this module which is calling ftrace_caller() may not have setup r2, if it doesn't otherwise need it (ie

Re: [PATCH v2] locktorture: Fix NULL pointer when torture_type is invalid

2016-03-02 Thread Kefeng Wang
Hi Davidlohr and Paul, On 2016/3/3 9:37, Kefeng Wang wrote: > > > On 2016/3/3 5:12, Paul E. McKenney wrote: >> On Wed, Mar 02, 2016 at 11:55:43AM -0800, Davidlohr Bueso wrote: >>> On Tue, 02 Feb 2016, Davidlohr Bueso wrote: >>> >>> I've just hit this issue myself and remembered this thread :) >>

Re: [RFC PATCH] watchdog: s3c2410_wdt: Add max and min timeout values

2016-03-02 Thread Guenter Roeck
On 03/02/2016 06:14 PM, Javier Martinez Canillas wrote: Hello Krzysztof, On 03/02/2016 09:21 PM, Krzysztof Kozlowski wrote: On 03.03.2016 02:30, Javier Martinez Canillas wrote: [snip] +wdt->wdt_device.min_timeout = 1; +wdt->wdt_device.max_timeout = s3c2410wdt_max_timeout(wdt->clock

Re: [PATCH v10 6/9] arm64: kprobes instruction simulation support

2016-03-02 Thread David Long
On 03/01/2016 01:04 PM, Marc Zyngier wrote: On 01/03/16 02:57, David Long wrote: From: Sandeepa Prabhu Kprobes needs simulation of instructions that cannot be stepped from different memory location, e.g.: those instructions that uses PC-relative addressing. In simulation, the behaviour of the

[PATCH][v2] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-02 Thread Chen Yu
The problem is Linux registers pm_power_off = efi_power_off only if we are in hardware reduced mode. Actually, what we also want is to do this when ACPI S5 is simply not supported. That should handle both the HW reduced mode, and the HW-full mode where the DSDT fails to supply an _S5 object. This

Re: [PATCH v13 3/6] of, numa: Add NUMA of binding implementation.

2016-03-02 Thread Ganapatrao Kulkarni
On Thu, Mar 3, 2016 at 9:55 AM, Ganapatrao Kulkarni wrote: > On Thu, Mar 3, 2016 at 9:04 AM, Rob Herring wrote: >> On Wed, Mar 2, 2016 at 4:55 PM, David Daney wrote: >>> From: David Daney >>> >>> Add device tree parsing for NUMA topology using device >>> "numa-node-id" property in distance-map

[PATCH 2/4] crypto: Introduce some helper functions to help to merge requests

2016-03-02 Thread Baolin Wang
Usually the dm-crypt subsystem will send encryption/descryption requests to the crypto layer one block at a time, making each request 512 bytes long, which is a much smaller size for hardware engine, that means the hardware engine can not play its best performance. Now some cipher hardware engines

[PATCH 0/4] Introduce bulk mode for crypto engine framework

2016-03-02 Thread Baolin Wang
Now some cipher hardware engines prefer to handle bulk block by merging requests to increase the block size and thus increase the hardware engine processing speed. This patchset introduces request bulk mode to help the crypto hardware drivers improve in efficiency. Baolin Wang (4): scatterlist

[PATCH 1/4] scatterlist: Introduce some helper functions

2016-03-02 Thread Baolin Wang
In crypto engine framework, one request can combine other requests' scatterlists into its sg table to improve engine efficency with handling bulk block. Thus we need some helper functions to manage dynamic scattertables. This patch introduces 'sg_is_contiguous()' function to check if two scatterli

[PATCH 3/4] crypto: Introduce the bulk mode for crypto engine framework

2016-03-02 Thread Baolin Wang
Now some cipher hardware engines prefer to handle bulk block by merging requests to increase the block size and thus increase the hardware engine processing speed. This patch introduces request bulk mode to help the crypto hardware drivers improve in efficiency, and chooses the suitable mode (SECT

[PATCH 4/4] md: dm-crypt: Initialize the sector number for one request

2016-03-02 Thread Baolin Wang
If the crypto engine can support the bulk mode, that means the contiguous requests from one block can be merged into one request to be handled by crypto engine. If so, the crypto engine need the sector number of one request to do merging action. Signed-off-by: Baolin Wang --- drivers/md/dm-crypt

RE: [REGRESSION, bisect] net: ipv6: unregister_netdevice: waiting for lo to become free. Usage count = 2

2016-03-02 Thread Dexuan Cui
> Hi David, > On Wed, Mar 02, 2016 at 01:00:21PM -0800, David Ahern wrote: > > On 3/2/16 12:31 PM, Jeremiah Mahler wrote: > > >>On Tue, Mar 01, 2016 at 08:11:54AM +, Dexuan Cui wrote: > > >>>Hi, I got this line every 10 seconds with today's linux-next in a Hyper-V > guest, even > > >>>when I di

BUG: NMI Watchdog detected LOCKUP on CPU19, ip ffffffff814c5aee, registers:

2016-03-02 Thread zhiqiang dang
hi, my server has panic many times, how to fix it? more info: https://bugzilla.kernel.org/show_bug.cgi?id=111721 sys: KERNEL: /usr/lib/debug/lib/modules/2.6.32-220.7.1.el6.3.0.1.1.x86_64/vmlinux DUMPFILE: vmcore [PARTIAL DUMP] CPUS: 24 DATE: Tue Feb 23 17:51:42

[lkp] [vfs] e1ff3aaf03: BUG: using smp_processor_id() in preemptible [00000000] code: init/1

2016-03-02 Thread kernel test robot
FYI, we noticed the below changes on https://github.com/0day-ci/linux Waiman-Long/vfs-Use-per-cpu-list-for-SB-s-s_inodes-list/20160302-050444 commit e1ff3aaf031d89c13da1a772bc33b0f3b386629c ("vfs: Use per-cpu list for superblock's inode list") [1.258924] Freeing unused kern

[PATCH] cpufreq: acpi: Allow new dynamics attributes to be added to acpi_cpufreq_attr

2016-03-02 Thread Viresh Kumar
acpi_cpufreq_attr contains at least one dynamically populated (removed) attribute today, cpb. But the code isn't friendly enough for new attributes to be populated in a similar way. Make some changes to allow new attributes to be easily added to the struct. Signed-off-by: Viresh Kumar --- Sriniv

Re:LDPE/HDPE/TPE gloves etc.

2016-03-02 Thread Vivian
Dear Manager, This is Vivian from Ju County Mingbo Industry & Trade Co.,Ltd in China. Glad to hear that you're on the market for disposable PE gloves and aprons. We mainly produced LDPE/HDPE/TPE gloves,Two fingers gloves, PE aprons for more than eight years. Our products have been exported to m

Re: [PATCH 1/6] cpufreq: Reduce cpufreq_update_util() overhead a bit

2016-03-02 Thread Viresh Kumar
On 02-03-16, 03:04, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Use the observation that cpufreq_update_util() is only called > by the scheduler with rq->lock held, so the callers of > cpufreq_set_update_util_data() can use synchronize_sched() > instead of synchronize_rcu() to wait for

Re: [ppdev] e7223f1860: kernel BUG at drivers/base/driver.c:153!

2016-03-02 Thread Sudip Mukherjee
On Wed, Mar 02, 2016 at 02:24:22PM -0700, Ross Zwisler wrote: > On Mon, Feb 15, 2016 at 4:50 AM, Sudip Mukherjee > wrote: > > On Mon, Feb 15, 2016 at 04:20:45PM +0800, kernel test robot wrote: > >> Greetings, > >> > >> 0day kernel testing robot got the below dmesg and the first bad commit is > >>

Re: [PATCH 3/6] cpufreq: governor: New data type for management part of dbs_data

2016-03-02 Thread Viresh Kumar
On 02-03-16, 03:08, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > In addition to fields representing governor tunables, struct dbs_data > contains some fields needed for the management of objects of that > type. As it turns out, that part of struct dbs_data may be shared > with (future)

Re: [PATCH v3] net: jme: fix suspend/resume on JMC260

2016-03-02 Thread Diego Viola
On Thu, Mar 3, 2016 at 12:19 AM, Diego Viola wrote: > On Wed, Mar 2, 2016 at 2:14 AM, Guo-Fu Tseng wrote: >> On Wed, 24 Feb 2016 23:58:56 -0500 (EST), David Miller wrote >>> From: Diego Viola >>> Date: Tue, 23 Feb 2016 12:04:04 -0300 >>> >>> > The JMC260 network card fails to suspend/resume beca

[PATCH] platform/chrome: cros_ec_dev - Fix security issue

2016-03-02 Thread Gwendal Grignou
Add a check to prevent memory scribbe when sending an ioctl with .insize set so large that memory allocation argument overflows. Signed-off-by: Gwendal Grignou --- drivers/platform/chrome/cros_ec_dev.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/platf

Re: [PATCH 5/6] cpufreq: Support for fast frequency switching

2016-03-02 Thread Viresh Kumar
On 02-03-16, 03:12, Rafael J. Wysocki wrote: > Index: linux-pm/drivers/cpufreq/cpufreq.c > === > --- linux-pm.orig/drivers/cpufreq/cpufreq.c > +++ linux-pm/drivers/cpufreq/cpufreq.c > @@ -1772,6 +1772,39 @@ EXPORT_SYMBOL(cpufreq_unregi

Re: [PATCH v7 07/10] usb: dbc: handle endpoint stall

2016-03-02 Thread Lu Baolu
On 03/02/2016 08:58 PM, Mathias Nyman wrote: > On 26.01.2016 14:58, Lu Baolu wrote: >> In case of endpoint stall, software is able to detect the situation >> by reading DCCTRL.HIT or DCCTRL.HOT bits. DbC follows the normal USB >> framework to handle endpoint stall. When software detects endpoint

Re: [PATCH 4/6] cpufreq: governor: Move abstract gov_tunables code to a seperate file

2016-03-02 Thread Viresh Kumar
On 02-03-16, 03:10, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Move abstract code related to struct gov_tunables to a separate (new) > file so it can be shared with (future) goverernors that won't share > more code with "ondemand" and "conservative". > > No intentional functional cha

[PATCH] dmaengine: rcar-dmac: clear pertinence number of channels

2016-03-02 Thread Kuninori Morimoto
From: Kuninori Morimoto DMACHCLR clears each channels, but its channel number is based on its SoC or IP. Current driver is using fixed 0x7fff (= for 14ch), it is not good match for Gen3 or Gen2 Audio DMAC. This patch fixes it Signed-off-by: Kuninori Morimoto --- drivers/dma/sh/rcar-dmac.c | 2

[PATCH] perf subcmd: Bugfix exactly compare long name of options to avoid repeat output.

2016-03-02 Thread Taeung Song
In parse_options_usage(), check whether short option is used and there is a option that has same name with a specific option string (optstr) or not before printing usage of options by print_option_help(). But using prefixcmp() has a problem when comparing long name of options with a specific optio

linux-next: Tree for Mar 3

2016-03-02 Thread Stephen Rothwell
Hi all, Changes since 20160302: The samsung-krzk tree gained a conflict against the omap tree. The net-next tree gained conflicts against the net tree. The tip tree still had its build failure so I applied a supplied patch. The aio tree still had a build failure so I used the version from

Re: [PATCH v7 07/10] usb: dbc: handle endpoint stall

2016-03-02 Thread Lu Baolu
On 03/02/2016 08:58 PM, Felipe Balbi wrote: > Hi, > > Mathias Nyman writes: >> [ text/plain ] >> On 26.01.2016 14:58, Lu Baolu wrote: >>> In case of endpoint stall, software is able to detect the situation >>> by reading DCCTRL.HIT or DCCTRL.HOT bits. DbC follows the normal USB >>> framework to

Re: Suspicious error for CMA stress test

2016-03-02 Thread Hanjun Guo
Hi Laura, Thanks a lot for taking a look! On 2016/3/3 9:25, Laura Abbott wrote: > (cc -mm and Joonsoo Kim) > > [...] > > I played with this a bit and can see the same problem. The sanity > check of CmaFree < CmaTotal generally triggers in > __move_zone_freepage_state in unset_migratetype_isolate.

[PATCH 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-02 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides both USB ID extcon device and a USB port mux device. This MFD driver will split the 2 devices for their respective drivers. Signed-off-by: Lu Baolu Suggested-by: David Cohen Reviewe

[PATCH 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-03-02 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controllers. The shared port is under control of a switch which is defined in the Intel vendor defined extended capability for xHCI. This patch adds the support to detect and create the platform device for the port mu

[PATCH 0/7] usb: add support for Intel dual role port mux

2016-03-02 Thread Lu Baolu
Intel SOC chips are featured with USB dual role. The host role is provided by Intel xHCI IP, and the gadget role is provided by IP from designware. Tablet platform designs always share a single port for both host and gadget controllers. There is a mux to switch the port to the right controller acco

[PATCH 5/7] usb: misc: add driver for Intel drcfg controlled port mux

2016-03-02 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus Signed-off-by: Lu Baolu Signed-off-by: Wu Hao Reviewed-by: Felipe Ba

[PATCH 3/7] usb: misc: add common code for Intel dual role port mux

2016-03-02 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. A usb port mux could be abstracted as the following elements: 1) mux state: HOST or PERIPHERAL; 2) an extcon cable which triggers the change of mux state between HO

[PATCH 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-02 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon-usb-gpio.c index af9c8b0..

[PATCH 4/7] usb: misc: add driver for Intel gpio controlled port mux

2016-03-02 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen Signed-off-by: Lu Baolu Reviewed-by: Heikki Krogerus Reviewed-by:

[PATCH 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-02 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi --- drivers/extcon/extcon-usb-gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon-usb-

[PATCH] driver: input :touchscreen : add Raydium I2C touch driver

2016-03-02 Thread jeffrey.lin
Raydium I2C touch driver. Signed-off-by: jeffrey.lin --- drivers/input/touchscreen/Kconfig | 13 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/raydium_i2c_ts.c | 953 + 3 files changed, 967 insertions(+) create mode 100644

Re: [PATCH v3 1/8] powerpc: Create a helper for getting the kernel toc value

2016-03-02 Thread Kamalesh Babulal
* Michael Ellerman [2016-03-03 15:26:53]: > Move the logic to work out the kernel toc pointer into a header. This is > a good cleanup, and also means we can use it elsewhere in future. > > Reviewed-by: Kamalesh Babulal > Reviewed-by: Torsten Duwe > Signed-off-by: Michael Ellerman For the pat

[RFC][PATCH][v2] Enable livepatching for powerpc

2016-03-02 Thread Balbir Singh
Changelog: 1. Implement review comments by Michael 2. The previous version compared _NIP from the wrong location to check for whether we are going to a patched location This applies on top of the patches posted by Michael https://patchwork.ozlabs.org/patch/58

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