[PATCH v6 0/7] Make 24x7 and GPCI events available in sysfs

2014-12-21 Thread Sukadev Bhattiprolu
The current support for the 24x7 and GPCI counters in the kernel requires users to specify the domain and offset of the event numerically, which is obviously hard to use: perf stat -C 0 -e \ 'hv_24x7/domain=2,offset=0xd58,starting_index=0,lpar=0x/' \ sleep 1 This

[PATCH v6 3/7] perf: define EVENT_DEFINE_RANGE_FORMAT_LITE helper

2014-12-21 Thread Sukadev Bhattiprolu
Define a lite version of the EVENT_DEFINE_RANGE_FORMAT() that avoids defining helper functions for the bit-field ranges. Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/perf/hv-common.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/powerpc/perf/hv-common.h

[PATCH v6 2/7] perf: add PMU_EVENT_ATTR_STRING() helper

2014-12-21 Thread Sukadev Bhattiprolu
From: Cody P Schafer Helper for constructing static struct perf_pmu_events_attr s. CC: Sukadev Bhattiprolu CC: Haren Myneni CC: Cody P Schafer Signed-off-by: Cody P Schafer --- include/linux/perf_event.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/linux/perf_event.h

[PATCH v6 6/7] powerpc/perf/hv-gpci: add the remaining gpci requests

2014-12-21 Thread Sukadev Bhattiprolu
From: Cody P Schafer Add the remaining gpci requests that contain counters suitable for use by perf. Omit those that don't contain any counters (but note their ommision). Changelog[v6] [Jiri Olsa, Sukadev Bhattiprolu] Replace 'starting_index' with what it really means for the

[PATCH v6 7/7] powerpc/perf/hv-24x7: Document sysfs event description entries

2014-12-21 Thread Sukadev Bhattiprolu
From: Cody P Schafer Changelog[v6] [Cody Schafer] Update Contact info to Linux on Power Developer list CC: Sukadev Bhattiprolu CC: Haren Myneni CC: Cody P Schafer Signed-off-by: Cody P Schafer --- .../testing/sysfs-bus-event_source-devices-hv_24x7 | 22 ++ 1

[PATCH v6 4/4] tools/perf: Document parameterized and symbolic events

2014-12-21 Thread Sukadev Bhattiprolu
From: Cody P Schafer Changelog[v6]: - [Sukadev Bhattiprolu]: Update documentation of perf-list and perf-record; Added documentation for perf-stat. CC: Haren Myneni CC: Cody P Schafer Signed-off-by: Cody P Schafer Signed-off-by: Sukadev Bhattiprolu ---

[PATCH v6 1/4] tools/perf: support parsing parameterized events

2014-12-21 Thread Sukadev Bhattiprolu
From: Cody P Schafer Enable event specification like: pmu/event_name,param1=0x1,param2=0x4/ Assuming that /sys/bus/event_source/devices/pmu/events/event_name Contains something like param2=?,bar=1,param1=? Changelog[v4]: [Jiri Olsa] Merge to recent perf-core

[PATCH v6 2/4] tools/perf: extend format_alias() to include event parameters

2014-12-21 Thread Sukadev Bhattiprolu
From: Cody P Schafer This causes `perf list pmu` to show parameters for parameterized events like: pmu/event_name,param1=?,param2=?/ [Kernel PMU event] An example: hv_24x7/HPM_TLBIE__PHYS_CORE,core=?/ [Kernel PMU event] Changelog[v6] [Jir Olsa, Sukadev Bhattiprolu] Drop the '$'

[PATCH v6 0/4] Add support for parametrized events

2014-12-21 Thread Sukadev Bhattiprolu
Description of "event parameters" from the documentation patch: Event parameters are a basic way for partial events to be specified in sysfs with per-event names given to the fields that need to be filled in when using a particular event. It is intended for supporting cases where

[PATCH v6 3/4] perf Documentation: add event parameters

2014-12-21 Thread Sukadev Bhattiprolu
From: Cody P Schafer Event parameters are a basic way for partial events to be specified in sysfs with per-event names given to the fields that need to be filled in when using a particular event. It is intended for supporting cases where the single 'cpu' parameter is insufficient. For example,

[PATCH v6 4/7] powerpc/perf/hv-24x7: parse catalog and populate sysfs with events

2014-12-21 Thread Sukadev Bhattiprolu
From: Cody P Schafer Retrieves and parses the 24x7 catalog on POWER systems that supply it (right now, only POWER 8). Events are exposed via sysfs in the standard fashion, and are all parameterized. $ cd /sys/bus/event_source/devices/hv_24x7/events $ cat

[PATCH v6 5/7] powerpc/perf/{hv-gpci, hv-common}: generate requests with counters annotated

2014-12-21 Thread Sukadev Bhattiprolu
From: Cody P Schafer This adds (in req-gen/) a framework for defining gpci counter requests. It uses macro magic similar to ftrace. Also convert the existing hv-gpci request structures and enum values to use the new framework (and adjust old users of the structs and enum values to cope with

[PATCH v6 1/7] perf: provide sysfs_show for struct perf_pmu_events_attr

2014-12-21 Thread Sukadev Bhattiprolu
From: Cody P Schafer (struct perf_pmu_events_attr) is defined in include/linux/perf_event.h, but the only "show" for it is in x86 and contains x86 specific stuff. Make a generic one for those of us who are just using the event_str. CC: Sukadev Bhattiprolu CC: Haren Myneni CC: Cody P Schafer

Re: [PATCH v2 0/4] clk: mediatek: Add common clock support for Mediatek MT8135.

2014-12-21 Thread James Liao
On Thu, 2014-12-04 at 14:52 +0800, James Liao wrote: > This patchset contains the initial common clock support for Mediatek SoCs. > Mediatek SoC's clock architecture comprises of various PLLs, dividers, > muxes and clock gates. > > This patchset also contains a basic clock support for Mediatek

Re: [PATCH 1/3] amdkfd: Don't clear *kfd2kgd on kfd_module_init

2014-12-21 Thread Oded Gabbay
On 12/22/2014 09:40 AM, Dave Airlie wrote: There should be, but when the modules are compiled in, they are loaded based on link order only, if they are in the same group, and the groups are loaded by a pre-defined order. Is that really still up to date? I've seen effort to change that

Re: [PATCH 1/3] amdkfd: Don't clear *kfd2kgd on kfd_module_init

2014-12-21 Thread Dave Airlie
> There should be, but when the modules are compiled in, they are loaded > based on > link order only, if they are in the same group, and the groups are > loaded by a > pre-defined order. Is that really still up to date? I've seen effort to change that something

Re: [PATCH 1/3] amdkfd: Don't clear *kfd2kgd on kfd_module_init

2014-12-21 Thread Oded Gabbay
On 12/21/2014 06:10 PM, Christian König wrote: Am 21.12.2014 um 17:03 schrieb Oded Gabbay: On 12/21/2014 05:57 PM, Christian König wrote: There should be, but when the modules are compiled in, they are loaded based on link order only, if they are in the same group, and the groups are

Re: [PATCH] staging: line6: toneport.c: Fix for possible null pointer dereference

2014-12-21 Thread Stefan Hajnoczi
On Sun, Dec 21, 2014 at 10:43 PM, Rickard Strandqvist wrote: > The NULL check was done to late, and there it was a risk > of a possible null pointer dereference. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist > ---

Re: [PATCH v2 4/5] swapfile: use ->read_iter and ->write_iter

2014-12-21 Thread Omar Sandoval
On Sat, Dec 20, 2014 at 06:13:37AM +, Al Viro wrote: > On Fri, Dec 19, 2014 at 07:18:28PM -0800, Omar Sandoval wrote: > > > + ret = swap_file->f_op->read_iter(, ); > > + if (ret == PAGE_SIZE) { > > + SetPageUptodate(page); > >

Re: regression bisected; KVM: entry failed, hardware error 0x80000021

2014-12-21 Thread Chen, Tiejun
On 2014/12/21 20:46, Jamie Heilman wrote: With v3.19-rc1 when I run qemu-system-x86_64 -machine pc,accel=kvm I get: KVM: entry failed, hardware error 0x8021 Looks some MSR writing issues such a failed entry. If you're running a guest on an Intel machine without unrestricted mode

Re: [PATCH 0/3] Dell Airplane Mode Switch driver

2014-12-21 Thread Alex Hung
= Testing = I tested six Dell systems for two sets of patches for dell radio button - two system with radio slider and four with radio hotkey. There are also two systems with working ARBT method. == Basic Information == Based OS: Ubuntu 14.10 (kernel 3.16 [1]) and kernel 3.18 [2] Patches: 1.

Re: [PATCH 2/8] swap: lock i_mutex for swap_writepage direct_IO

2014-12-21 Thread Omar Sandoval
On Sat, Dec 20, 2014 at 06:51:33AM +, Al Viro wrote: > On Mon, Dec 15, 2014 at 08:56:15AM -0800, Christoph Hellwig wrote: > > On Mon, Dec 15, 2014 at 05:27:05PM +0100, Jan Kara wrote: > > > On Sun 14-12-14 21:26:56, Omar Sandoval wrote: > > > > The generic write code locks i_mutex for a

Re: [PATCH v2 2/5] direct-io: don't dirty ITER_BVEC pages on read

2014-12-21 Thread Omar Sandoval
On Sat, Dec 20, 2014 at 06:01:30AM +, Al Viro wrote: > On Fri, Dec 19, 2014 at 07:18:26PM -0800, Omar Sandoval wrote: > > Reads through the iov_iter infrastructure for kernel pages shouldn't be > > dirtied by the direct I/O code. > > > > This is based on Dave Kleikamp's and Ming Lei's

RE: [RFC PATCH] f2fs: add extent cache base on rb-tree

2014-12-21 Thread Chao Yu
Hi Changman, > -Original Message- > From: Changman Lee [mailto:cm224@samsung.com] > Sent: Monday, December 22, 2014 10:03 AM > To: Chao Yu > Cc: Jaegeuk Kim; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [RFC PATCH] f2fs: add extent cache base

Re: Merge ftrace data of host and guest

2014-12-21 Thread Divya Vyas
Hi , One more thing I want to add that Yoshihiro YUNOMAE's trace-merge script does this time synchronization. We have to calculate guest offset and then subtract with host time . But it is not applying on current trace-cmd report output format and not giving desired output . Thanks, Divya Vyas

Re: Merge ftrace data of host and guest

2014-12-21 Thread Divya Vyas
Hi Steven, I am sorry but I am very new to trace-cmd , that's why I didn't knew what you are working on it. I will explain you whole scenario , Actually I have multiple guests and a host and I want to see all traces on a single file with trace-cmd report command and may be kernelshark also .

[PATCH net-next v2 0/2] r8152: adjust r8152_submit_rx

2014-12-21 Thread Hayes Wang
v2: Replace the patch #1 with "call rtl_start_rx after netif_carrier_on". For patch #2, replace checking tp->speed with netif_carrier_ok. v1: Avoid r8152_submit_rx() from submitting rx during unexpected moment. This could reduce the time of stopping rx. For patch #1, the tp->speed should be

[PATCH net-next v2 2/2] r8152: check the status before submitting rx

2014-12-21 Thread Hayes Wang
Don't submit the rx if the device is unplugged, stopped, or linking down. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index cbe450c..8ecc2df 100644 --- a/drivers/net/usb/r8152.c

[PATCH net-next v2 1/2] r8152: call rtl_start_rx after netif_carrier_on

2014-12-21 Thread Hayes Wang
Remove rtl_start_rx() from rtl_enable() and put it after calling netif_carrier_on(). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 2d1c77e..cbe450c 100644 ---

YOU HAVE WON!!

2014-12-21 Thread POSTCODESLOTERIJ.NL
We are please to inform you of our end of year promotion award program held 21st December 2014,which have pronounce your email-address as the lucky winner of a total sum:of €250,000. CONTACT: The claim office/Email:postco...@luckymail.com,with your winning Serial-No:LE0031#11250PSNL. __ __ __

YOU HAVE WON!!

2014-12-21 Thread POSTCODESLOTERIJ.NL
We are please to inform you of our end of year promotion award program held 21st December 2014,which have pronounce your email-address as the lucky winner of a total sum:of €250,000. CONTACT: The claim office/Email:postco...@luckymail.com,with your winning Serial-No:LE0031#11250PSNL. __ __ __

[PATCH] USB: serial: cp210x: Correcting IDs for production CEL MeshConnect USB Stick

2014-12-21 Thread Preston Fick
Signed-off-by: Preston Fick --- drivers/usb/serial/cp210x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 6c4eb3c..fb8d3fa 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c @@ -120,7

Re: [PATCH net-next 2/2] r8152: check the status before submittingrx

2014-12-21 Thread David Miller
From: Hayes Wang Date: Mon, 22 Dec 2014 02:53:42 + > David Miller [mailto:da...@davemloft.net] >> Sent: Saturday, December 20, 2014 4:44 AM > [...] >> > Don't submit the rx if the device is unplugged, linking down, >> > or stopped. >> ... >> > @@ -1789,6 +1789,11 @@ int

Re: [PATCH 3/5] PCI: st: Provide support for the sti PCIe controller

2014-12-21 Thread Pratyush Anand
On Wednesday 17 December 2014 04:04 PM, Gabriel FERNANDEZ wrote: sti pcie is built around a Synopsis Designware PCIe IP. Signed-off-by: Fabrice Gasnier Signed-off-by: Gabriel Fernandez --- drivers/pci/host/Kconfig | 5 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pci-st.c |

[PATCH 1/2] Add another clock for use with the soft lockup watchdog.

2014-12-21 Thread Cyril Bur
This permits the use of arch specific clocks for which virtualised kernels can use their notion of 'running' time, not the elpased wall time which will include host execution time. Signed-off-by: Cyril Bur --- include/linux/sched.h | 1 + kernel/sched/clock.c | 14 ++

[PATCH 2/2] powerpc: add running_clock for powerpc to prevent spurious softlockup warnings

2014-12-21 Thread Cyril Bur
On POWER8 virtualised kernels the VTB register can be read to have a view of time that only increases while the guest is running. This will prevent guests from seeing time jump if a guest is paused for significant amounts of time. On POWER7 and below virtualised kernels stolen time is subtracted

[PATCH 0/2] Quieten softlockup detector on virtualised kernels

2014-12-21 Thread Cyril Bur
When the hypervisor pauses a virtualised kernel the kernel will observe a jump in timebase, this can cause spurious messages from the softlockup detector. Whilst these messages are harmless, they are accompanied with a stack trace which causes undue concern and more problematically the stack

Re: arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-21 Thread Michael Ellerman
On Sat, 2014-20-12 at 15:00:01 UTC, Rickard Strandqvist wrote: > Remove the function ps3_repository_write_highmem_info() that is not used > anywhere. > > This was partially found by using a static code analysis program called > cppcheck. Actually it looks like everything under

RE: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2014-12-21 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Saturday, December 20, 2014 9:17 PM > To: Wu, Feng; Paolo Bonzini; Zhang, Yang Z; Thomas Gleixner; Ingo Molnar; H. > Peter Anvin; x...@kernel.org; Gleb Natapov;

Re: [PATCH 2/5] PCI: st: Add Device Tree bindings for sti pcie

2014-12-21 Thread Pratyush Anand
On Wednesday 17 December 2014 04:04 PM, Gabriel FERNANDEZ wrote: sti pcie is built around a Synopsis Designware PCIe IP. Signed-off-by: Fabrice Gasnier Signed-off-by: Gabriel Fernandez --- Documentation/devicetree/bindings/pci/st-pcie.txt | 53 +++ 1 file changed, 53

[PATCH 2/7] perf report: Show progress bar for output resorting

2014-12-21 Thread Namhyung Kim
Sometimes it takes a time to resort hist entries for output in case of a large data file. Show a progress bar window and inform user. Signed-off-by: Namhyung Kim --- tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-diff.c | 2 +- tools/perf/builtin-report.c | 24

[PATCH 6/7] perf tools: Append callchains only when requested

2014-12-21 Thread Namhyung Kim
The perf report --children can be called with callchain disabled so no need to append callchains. Actually the root of callchain tree is not initialized properly in this case. Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-)

[PATCH 4/7] perf diff: Fix to sort by baseline field by default

2014-12-21 Thread Namhyung Kim
The currently perf diff didn't add the baseline and delta (or other compute) fields to the sort list so output will be sorted by other fields like alphabetical order of DSO or symbol as below example. Fix it by adding hpp formats for the fields and provides default compare functions. Before:

[PATCH 7/7] perf tools: Set attr.task bit for a tracking event

2014-12-21 Thread Namhyung Kim
The perf_event_attr.task bit is to track task (fork and exit) events but it missed to be set by perf_evsel__config(). While it was not a problem in practice since setting other bits (comm/mmap) ended up being in same result, it'd be good to set it explicitly anyway. Signed-off-by: Namhyung Kim

[PATCH 1/7] perf report: Get rid of report__inc_stat()

2014-12-21 Thread Namhyung Kim
The report__inc_stat() is to collect number of hist entries in the session in order to calculate the max size of progess bar. It'd be better if it does during addition of hist entries so that it can be used by other places too. Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c | 16

[PATCH 3/7] perf ui/tui: Print backtrace symbols when segfault occurred

2014-12-21 Thread Namhyung Kim
The output will look like below. (I added an error into ui__init() for the test). $ perf report perf: Segmentation fault backtrace perf[0x503781] /usr/lib/libc.so.6(+0x33b20)[0x7f1a14f04b20] perf(ui__init+0xd5)[0x503645] perf(setup_browser+0x97)[0x4ce4e7]

[PATCHSET 0/7] perf tools: A small random cleanup and fixups

2014-12-21 Thread Namhyung Kim
Hello, This is a just random collection of small cleanup and fixes that was needed (or found) for my work. I'd like to share it before posting the real work as it's independent change and the work can be quite large.. ;-) Thanks, Namhyung Namhyung Kim (7): perf report: Get rid of

[PATCH 5/7] perf diff: Get rid of hists__compute_resort()

2014-12-21 Thread Namhyung Kim
The hists__compute_resort() is to sort output fields based on the given field/criteria. This was done without the sort list but as we added the field to the sort list, we can do it with normal hists__output_resort() using the ->sort callback. Signed-off-by: Namhyung Kim ---

Re: [PATCH] misc: cxl: sysfs.c: Remove unused function

2014-12-21 Thread Michael Ellerman
On Sun, 2014-12-21 at 13:46 +0100, Rickard Strandqvist wrote: > 2014-12-21 5:05 GMT+01:00 Michael Neuling : > >> Remove the function mmio_size_show() that is not used anywhere. > > > > Did you compile check this patch? > > > > drivers/misc/cxl/sysfs.c:291:74: error: ‘mmio_size_show’ undeclared

Re: rcu_sched stall detected, but no state dump

2014-12-21 Thread Paul E. McKenney
On Fri, Dec 19, 2014 at 07:32:20AM -0800, Paul E. McKenney wrote: > On Fri, Dec 19, 2014 at 12:09:48PM +0100, Miroslav Benes wrote: > > On Mon, 15 Dec 2014, Miroslav Benes wrote: [ . . . ] > > But I'm not sure whether it is possible that the list of pending callback > > is empty. Maybe the bug

Re: [PATCHv3 0/5] ARM:sunxi:ps2 Added support for A10/A20 ps2 controller.

2014-12-21 Thread Vishnu Patekar
Sorry for delayed response. Thanks, Chen-Yu. So, I'll keep ps2 enabled for Lime2 board without any comment. On Mon, Dec 15, 2014 at 9:11 PM, Chen-Yu Tsai wrote: > Hi, > > On Mon, Dec 15, 2014 at 11:13 PM, Hans de Goede wrote: >> Hi, >> >> >> On 15-12-14 15:13, Vishnu Patekar wrote: >>> >>> Hi,

[PATCH v2] ARM: mm: fix size rounding-down of arm_add_memory() function

2014-12-21 Thread Masahiro Yamada
The current rounding of "size" is wrong: - If "start" is sufficiently near the next page boundary, "size" is decremented by more than enough and the last page is lost. - If "size" is sufficiently small, it is wrapped around and gets a bogus value. Signed-off-by: Masahiro Yamada

Re: [PATCH] arch: x86: kernel: apb_timer.c: Remove unused function

2014-12-21 Thread Jiang Liu
On 2014/12/21 20:58, Rickard Strandqvist wrote: > Remove the function is_apbt_capable() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist > --- > arch/x86/kernel/apb_timer.c |8

Re: frequent lockups in 3.18rc4

2014-12-21 Thread Paul E. McKenney
On Sun, Dec 21, 2014 at 04:52:28PM -0800, Linus Torvalds wrote: > On Sun, Dec 21, 2014 at 4:41 PM, Linus Torvalds > wrote: > > > > The second time (or third, or fourth - it might not take immediately) > > you get a lockup or similar. Bad things happen. > > I've only tested it twice now, but the

Re: [PATCH v6] Thermal: introduce INT3406 thermal driver

2014-12-21 Thread Zhang Rui
On Thu, 2014-12-11 at 16:38 +0800, Aaron Lu wrote: > INT3406 ACPI device object resembles an ACPI video output device, but its > _BCM is said to be deprecated and should not be used. So we will make > use of the raw interface to do the actual cooling. Due to this, the > backlight core has some

general protection fault on 3.19.0-rc1 / amd64 SMP anon_vma_interval_tree_remove (?)

2014-12-21 Thread Arthur Marsh
I just hit this rebooting an x86-64 3.19.0-rc1 kernel on a 4 core AMD cpu when the machine was starting check the filesystems: [ 22.427652] general protection fault: [#1] PREEMPT SMP [ 22.431822] Modules linked in: max6650 fuse parport_pc ppdev lp parport snd_hda_codec_hdmi

Re: randconfig build error with next-20141219, in drivers/input/misc/regulator-haptic.c

2014-12-21 Thread Dmitry Torokhov
On Fri, Dec 19, 2014 at 09:13:02AM -0700, Jim Davis wrote: > Building with the attached random configuration file, > > drivers/input/misc/regulator-haptic.c: In function ‘regulator_haptic_probe’: > drivers/input/misc/regulator-haptic.c:184:2: error: implicit > declaration of function

Re: [PATCH 18/28] thermal: drop owner assignment from platform_drivers

2014-12-21 Thread Zhang Rui
On Sun, 2014-12-21 at 22:14 +0100, Wolfram Sang wrote: > This platform_driver does not need to set an owner, it will be populated by > the > driver core. > > Signed-off-by: Wolfram Sang both PATCH 18/28 and 19/28 look good to me. applied. thanks, rui > --- > Generated with coccinelle. SmPL

Re: Possible regression with commit 52221610d

2014-12-21 Thread Tim Kryger
On Wed, Dec 17, 2014 at 11:57 AM, Bjorn Andersson wrote: > I'm somewhat puzzled to what benefit 52221610d brings after bringing > back the write of BIT(0). Is it just that we don't hit the BUG() on > non-standard voltages? It is to allow the use of external regulators that are capable of

Re: arch: powerpc: platforms: embedded6xx: mpc7448_hpc2.c: Remove some unused functions

2014-12-21 Thread Michael Ellerman
On Sat, 2014-20-12 at 22:42:32 UTC, Rickard Strandqvist wrote: > Removes some functions that are not used anywhere: > mpc7448_hpc2_halt() mpc7448_hpc2_power_off() The other option would be to wire it up. But the default implementations do more or less the same thing. As far as I can see these

RE: [PATCH v16 00/12] input: cyapa: instruction of cyapa patches

2014-12-21 Thread Dudley Du
Got it. Thanks, Dmitry. Dudley > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2014?12?22? 10:40 > To: Dudley Du > Cc: Jeremiah Mahler; rydb...@euromail.se; ble...@google.com; David Solda; > linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org

RE: [PATCH net-next 2/2] r8152: check the status before submittingrx

2014-12-21 Thread Hayes Wang
David Miller [mailto:da...@davemloft.net] > Sent: Saturday, December 20, 2014 4:44 AM [...] > > Don't submit the rx if the device is unplugged, linking down, > > or stopped. > ... > > @@ -1789,6 +1789,11 @@ int r8152_submit_rx(struct r8152 > *tp, struct rx_agg *agg, gfp_t mem_flags) > > { > >

Re: [PATCH RFC v2 08/14] drm: imx: Add MIPI DSI host controller driver

2014-12-21 Thread Liu Ying
Hi Philipp, On 12/19/2014 06:17 PM, Philipp Zabel wrote: Hi Liu, Am Freitag, den 19.12.2014, 13:53 +0800 schrieb Liu Ying: [...] + mipi_dsi: mipi@021e { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,imx6q-mipi-dsi"; +

Re: [PATCH] drivers/rtc/interface.c: check the error after __rtc_read_time()

2014-12-21 Thread Hyogi Gim
On Wed, Dec 17, 2014 at 01:51:50PM -0800, Andrew Morton wrote: > On Wed, 17 Dec 2014 12:15:24 +0900 Hyogi Gim wrote: > > > Add the verification code for returned __rtc_read_time() error in > > rtc_update_irq_enable() and rtc_timer_do_work(). > > > > ... > L > > --- a/drivers/rtc/interface.c > >

Re: [PATCH v16 00/12] input: cyapa: instruction of cyapa patches

2014-12-21 Thread Dmitry Torokhov
Hi Dudley, On Mon, Dec 22, 2014 at 02:09:36AM +, Dudley Du wrote: > Thanks, Dmitry and Jeremiah, > > I reproduced this issue in my side when putting fingers on trackpad when > system booting up. > It only happened on gen3 trackpad device. > The root cause is, for gen3 TP, the

Re: [PATCH v7 1/4] doc: add bindings document for altera fpga manager

2014-12-21 Thread Rob Herring
On Fri, Dec 19, 2014 at 10:45 AM, wrote: > From: Alan Tull > > New bindings document for Altera fpga manager. > > Signed-off-by: Alan Tull > --- > v5 : Move bindings to drivers/staging/fpga/Documentation/bindings > > v6 : No change in this patch for v6 of the patch set > > v7 : No change in

RE: [PATCH v3 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2014-12-21 Thread Tan, Raymond
Hi Mike, Thanks for your reply. I've answered the questions as below. Warm Regards, Raymond Tan > -Original Message- > From: Mike Turquette [mailto:mturque...@linaro.org] > Sent: Friday, December 12, 2014 6:26 AM > To: Tan, Raymond; Lee Jones; Samuel Ortiz > Cc:

[GIT PULL] liblockdep fixes for v3.19

2014-12-21 Thread Sasha Levin
Hi Ingo, A small (but important) fix to the way we detect freeing live locks. We would pass a wrong memory region when testing for locks inside freed memory spaces, which would trigger false positives. Thanks, Sasha The following changes since commit b2776bf7149bddd1f4161f14f79520f17fc1d71d:

Re: [PATCH 0/3] usb: chipidea: add one errata for revision 2.40a

2014-12-21 Thread Peter Chen
On Fri, Dec 19, 2014 at 03:25:26PM +0530, Sanchayan Maity wrote: > The first two patches add identification register API's. These can > be used to get controller's revision. > > The third patch implements an errata for revision 2.40a. Not sure > which other SOCs implement this version of the

RE: [PATCH net] r8152: drop the tx packet with invalid length

2014-12-21 Thread Hayes Wang
Eric Dumazet [mailto:eric.duma...@gmail.com] > Sent: Saturday, December 20, 2014 2:14 AM [...] > Could you try following patch ? Thank you. I would test it. Best Regards, Hayes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] staging: skein: Fixing various coding style problems

2014-12-21 Thread Mathieu Poirier
On 21 December 2014 at 18:57, Jason Cooper wrote: > Mathieu, > > On Sun, Dec 21, 2014 at 05:09:48PM -0700, mathieu.poir...@linaro.org wrote: >> From: Mathieu Poirier >> >> Fixing errors related to the usage of do {} while (0) loop >> in single statement macros, trailing semicolon in macros and

Re: [PATCH V3 08/11] power: charger-manager: Make chraging decision focusing on battery status.

2014-12-21 Thread jonghwa3 . lee
On 2014년 12월 20일 09:24, Pavel Machek wrote: > Subject: charging. > (snip..) >> --- a/include/linux/power/charger-manager.h >> +++ b/include/linux/power/charger-manager.h >> @@ -220,6 +220,7 @@ struct charger_desc { >> * saved status of battery before entering suspend-to-RAM >> *

RE: [PATCH v16 00/12] input: cyapa: instruction of cyapa patches

2014-12-21 Thread Dudley Du
Thanks, Dmitry and Jeremiah, I reproduced this issue in my side when putting fingers on trackpad when system booting up. It only happened on gen3 trackpad device. The root cause is, for gen3 TP, the cyapa->ops->sort_empty_output_data is not set, so when cyapa->input is not set, the interrupt

Re: [RFC PATCH] f2fs: add extent cache base on rb-tree

2014-12-21 Thread Changman Lee
Hi Yu, Good approach. As you know, however, f2fs breaks extent itself due to COW. Unlike other filesystem like btrfs, minimum extent of f2fs could have 4KB granularity. So we would have lots of extents per inode and it could lead to overhead to manage extents. Anyway, mount option could be

Re: [PATCH 2/6] dgnc/dgnc_sysfs.c: checkpatch: Use of pr_err insted of printk

2014-12-21 Thread Greg KH
On Mon, Dec 22, 2014 at 02:17:30AM +0100, Simone Weiss wrote: > > Signed-off-by: Simone Weiss > Signed-off-by: Helene Gsaenger > --- > drivers/staging/dgnc/dgnc_sysfs.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/dgnc/dgnc_sysfs.c >

Re: [PATCH] staging: skein: Fixing various coding style problems

2014-12-21 Thread Jason Cooper
Mathieu, On Sun, Dec 21, 2014 at 05:09:48PM -0700, mathieu.poir...@linaro.org wrote: > From: Mathieu Poirier > > Fixing errors related to the usage of do {} while (0) loop > in single statement macros, trailing semicolon in macros and > trailing whitespace. Huh. iirc, I added those do {}

Re: [PATCH V3 11/11] power: charger-manager: Support to change polling rate in runtime.

2014-12-21 Thread jonghwa3 . lee
On 2014년 12월 20일 09:29, Pavel Machek wrote: > >> Add 'polling_ms' sysfs node to change charger-manager's monitoring rate >> in runtime. It can set only bigger than 2 jiffies (for 200 HZ system it >> is 10 msecs.) as it's allowed for minimum poling rate in previous. > > New sysfs filesneed

Re: [PATCH] staging: skein: Fixing various coding style problems

2014-12-21 Thread Greg KH
On Sun, Dec 21, 2014 at 05:09:48PM -0700, mathieu.poir...@linaro.org wrote: > From: Mathieu Poirier > > Fixing errors related to the usage of do {} while (0) loop > in single statement macros, trailing semicolon in macros and > trailing whitespace. That's a lot of things all at once, please

Re: [PATCH] Thermal: fix platform_no_drv_owner.cocci warnings

2014-12-21 Thread Aaron Lu
On 12/21/2014 10:21 PM, kbuild test robot wrote: > drivers/thermal/int340x_thermal/int3402_thermal.c:234:6-11: No need to set > .owner here. The core will do it. > > Remove .owner field if calls are used which set it automatically > > Generated by:

Re: [PATCH] printk: add per console loglevel

2014-12-21 Thread Lennart Sorensen
On Sun, Dec 21, 2014 at 11:03:24AM -0800, Joe Perches wrote: > On Sun, 2014-12-21 at 19:47 +0100, Bruno Prémont wrote: > > On Sat, 20 December 2014 dwal...@fifo99.com wrote: > > > This adds to to the console= command line options allowing the > > > addition of a per console log level setting. > >

Re: [PATCH 05/28] cpufreq: drop owner assignment from platform_drivers

2014-12-21 Thread Viresh Kumar
On 22 December 2014 at 02:44, Wolfram Sang wrote: > This platform_driver does not need to set an owner, it will be populated by > the > driver core. > > Signed-off-by: Wolfram Sang > --- > Generated with coccinelle. SmPL file is in the introductory msg. The big > cleanup was pulled in this

[PATCH] staging/iio/accel: checkpatch: fixed long lines by moving comments

2014-12-21 Thread Helene Gsaenger
Signed-off-by: Helene Gsaenger Signed-off-by: Simone Weiss --- drivers/staging/iio/accel/adis16203.h | 41 ++- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/drivers/staging/iio/accel/adis16203.h b/drivers/staging/iio/accel/adis16203.h index

[PATCH 5/6] dgnc/dgnc_neo.c: checkpatch: fixed long lines

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dgnc_neo.c | 214 1 file changed, 149 insertions(+), 65 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c index

[PATCH 2/6] dgnc/dgnc_sysfs.c: checkpatch: Use of pr_err insted of printk

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dgnc_sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_sysfs.c b/drivers/staging/dgnc/dgnc_sysfs.c index 2fd34ca..0fa2388 100644 ---

[PATCH 0/6] dgnc: patches that fix checkpatch issues

2014-12-21 Thread Simone Weiss
We fixed some coding style issues in staging/dgnc. Mostly it fixes lines over 80 characters (dgnc_neo.c, dgnc_cls.h, dgnc_compact.h, dgnc_driver.h) In dgnc_sysfs.c we replaced printk by pr_err. In dpacompat.h we also set complex macros into enclosed parantheses Signed-off-by: Simone Weiss

[PATCH 3/6] dgnc/dpacompat.h: checkpatch: fixed long lines bei moving comments

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dpacompat.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/dgnc/dpacompat.h b/drivers/staging/dgnc/dpacompat.h index b2d2dc0..feb4f60 100644 ---

[PATCH 6/6] dgnc/dgnc_driver.h: checkpatch: fixed lines over 80 characters

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dgnc_driver.h | 71 +++--- 1 file changed, 44 insertions(+), 27 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h index

[PATCH 1/6] dgnc/dgnc_cls.h: checkpatch: fixed long lines by moving comments

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dgnc_cls.h | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_cls.h b/drivers/staging/dgnc/dgnc_cls.h index 465d79a..d1543c1 100644 ---

[PATCH 4/6] dgnc/dpacompat.h: checkpatch: Changend complex macros (enclosed parantheses)

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dpacompat.h | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/staging/dgnc/dpacompat.h b/drivers/staging/dgnc/dpacompat.h index feb4f60..8049e9d 100644 ---

Re: frequent lockups in 3.18rc4

2014-12-21 Thread Dave Jones
On Sun, Dec 21, 2014 at 04:52:28PM -0800, Linus Torvalds wrote: > > The second time (or third, or fourth - it might not take immediately) > > you get a lockup or similar. Bad things happen. > > I've only tested it twice now, but the first time I got a weird > lockup-like thing (things *kind*

Re: frequent lockups in 3.18rc4

2014-12-21 Thread Linus Torvalds
On Sun, Dec 21, 2014 at 4:41 PM, Linus Torvalds wrote: > > The second time (or third, or fourth - it might not take immediately) > you get a lockup or similar. Bad things happen. I've only tested it twice now, but the first time I got a weird lockup-like thing (things *kind* of worked, but I

Re: frequent lockups in 3.18rc4

2014-12-21 Thread Linus Torvalds
On Sun, Dec 21, 2014 at 3:58 PM, Linus Torvalds wrote: > > I can do the mmap(/dev/mem) thing and access the HPET by hand, and > when I write zero to it I immediately get something like this: > > Clocksource tsc unstable (delta = -284317725450 ns) > Switched to clocksource hpet > > just to

Re: [PATCH] clk: mxs: Fix invalid 32-bit access to frac registers

2014-12-21 Thread Stefan Wahren
Hi Marek, > Marek Vasut hat am 21. Dezember 2014 um 22:50 geschrieben: > > > On Sunday, December 21, 2014 at 02:46:39 PM, Stefan Wahren wrote: > > Hi! > > [...] > > > diff --git a/drivers/clk/mxs/clk-ref.c b/drivers/clk/mxs/clk-ref.c > > index 4adeed6..bdecec1 100644 > > ---

[PATCH] staging: skein: Fixing various coding style problems

2014-12-21 Thread mathieu . poirier
From: Mathieu Poirier Fixing errors related to the usage of do {} while (0) loop in single statement macros, trailing semicolon in macros and trailing whitespace. Signed-off-by: Mathieu Poirier --- drivers/staging/skein/skein_block.c | 17 -

Re: frequent lockups in 3.18rc4

2014-12-21 Thread Linus Torvalds
On Sun, Dec 21, 2014 at 2:32 PM, Dave Jones wrote: > On Sun, Dec 21, 2014 at 02:19:03PM -0800, Linus Torvalds wrote: > > > > And finally, and stupidly, is there any chance that you have anything > > accessing /dev/hpet? > > Not knowingly at least, but who the hell knows what systemd has its >

Re: frequent lockups in 3.18rc4

2014-12-21 Thread Dave Jones
On Sun, Dec 21, 2014 at 02:19:03PM -0800, Linus Torvalds wrote: > > So the range of 1-251 seconds is not entirely random. It's all in > > that "32-bit HPET range". > > DaveJ, I assume it's too late now, and you don't effectively have any > access to the machine any more, but "hpet=disable"

Re: [BUG] rtl8192se: panic accessing unmapped memory in skb

2014-12-21 Thread Eric Biggers
Hi, To get your patched version to work at all I had to update _rtl_pci_init_rx_ring() to account for new return value of _rtl_pci_init_one_rxdesc(). I will let you know if anything shows up in the kernel log, but I expect this is a highly sporadic problem. The system has 4 GB of memory, and I

Re: [PATCH] staging: lustre: lustre: llite: llite_lib.c: Removes unnecessary NULL check

2014-12-21 Thread Joe Perches
On Sun, 2014-12-21 at 23:08 +0100, Rickard Strandqvist wrote: > Removes same unnecessary NULL check. Depending on settings, these checks are necessary: drivers/staging/lustre/lustre/include/obd_support.h:#define POISON(ptr, c, s) memset(ptr, c, s) []

Re: [PATCH] clk: mxs: Fix invalid 32-bit access to frac registers

2014-12-21 Thread Marek Vasut
On Sunday, December 21, 2014 at 02:46:39 PM, Stefan Wahren wrote: Hi! [...] > diff --git a/drivers/clk/mxs/clk-ref.c b/drivers/clk/mxs/clk-ref.c > index 4adeed6..bdecec1 100644 > --- a/drivers/clk/mxs/clk-ref.c > +++ b/drivers/clk/mxs/clk-ref.c > @@ -16,6 +16,8 @@ > #include > #include

Re: [PATCH] scripts: dtc: libfdt: fdt_rw.c: Remove some unused functions

2014-12-21 Thread Rob Herring
On Sun, Dec 21, 2014 at 11:40 AM, Rickard Strandqvist wrote: > Removes some functions that are not used anywhere: > fdt_delprop() fdt_add_mem_rsv() > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist > --- >

  1   2   3   4   5   6   >