Re: Macvlan WARNiNGS about duplicate sysfs filenames (Was [GIT] Networking)

2014-09-09 Thread Alexander Y. Fomichev
On Wed, Sep 10, 2014 at 3:55 AM, Andres Freund wrote: > On 2014-09-10 01:48:06 +0200, Andres Freund wrote: >> On 2014-09-09 15:43:55 -0700, Cong Wang wrote: >> > On Mon, Sep 8, 2014 at 2:25 PM, Andres Freund wrote: >> > > Hi, >> > > >> > > (don't have netdev archived, thus answering here, sorry)

Re: [PATCH v5] spi: spi-imx: add DMA support

2014-09-09 Thread Robin Gong
On Wed, Sep 10, 2014 at 09:46:04AM +0530, Varka Bhadram wrote: > On 09/10/2014 07:00 AM, Robin Gong wrote: > >Enable DMA support on i.mx6. The read speed can increase from 600KB/s > >to 1.2MB/s on i.mx6q. You can disable or enable dma function in dts. > > (...) > > >+ > >+static int

Re: [PATCH 1/2] acpi: lpss: convert from struct clk to struct clk_core

2014-09-09 Thread Heikki Krogerus
On Tue, Sep 09, 2014 at 04:52:09PM +0300, Mika Westerberg wrote: > On Tue, Sep 09, 2014 at 03:16:29PM +0200, Rafael J. Wysocki wrote: > > On Monday, September 08, 2014 11:07:47 PM Mike Turquette wrote: > > > Looks like this driver was missed during the original mass driver > > > rework[0]. This

Re: [PATCH v1] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-09-09 Thread Robin Gong
On Wed, Sep 10, 2014 at 11:21:30AM +0800, Shawn Guo wrote: > On Wed, Sep 10, 2014 at 09:33:36AM +0800, Robin Gong wrote: > > There is one weird data in rxfifo after one full rx/tx transfer > > done sometimes. It looks a design issue and hard to workaround > > totally, so disable dma functhion

Re: Linux kernels with LongTerm Support (LTS) VS. End-Of-Life [EOL]

2014-09-09 Thread Guenter Roeck
On Tue, Sep 09, 2014 at 02:52:47PM +0200, Sedat Dilek wrote: > Oh cool. > Hmm, is it possible to link all "longterm:" labeled kernels to the > page you pointed me to? > You mean following the "Releases" link on the top of the page is too difficult to find ? Guenter > - Sedat - > > On Tue, Sep

Re: [PATCH v6 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-09-09 Thread Vivek Gautam
On Wed, Sep 10, 2014 at 10:23 AM, Felipe Balbi wrote: > On Wed, Sep 10, 2014 at 09:09:57AM +0530, Vivek Gautam wrote: >> On Wed, Sep 10, 2014 at 9:07 AM, Vivek Gautam >> wrote: >> > adding Julius here, >> >> i think i had missed adding Julius for this entire series :-( >> I should be more

Re: [Patch v4 1/2] freezer: check OOM kill while being frozen

2014-09-09 Thread Cong Wang
On Tue, Sep 9, 2014 at 1:48 PM, Rafael J. Wysocki wrote: > On Wednesday, September 10, 2014 12:23:36 AM Tejun Heo wrote: >> On Tue, Sep 09, 2014 at 05:16:55PM +0200, Michal Hocko wrote: >> > But OOM killer doesn't kill kernel threads as they do not own any >> > memory. So the check should be

Re: [PATCH] mm/sl[aou]b: make kfree() aware of error pointers

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 16:21:14 -0700, Andrew Morton said: > On Tue, 9 Sep 2014 23:25:28 +0200 (CEST) Jiri Kosina wrote: > kfree() is quite a hot path to which this will add overhead. And we > have (as far as we know) no code which will actually use this at > present. We already do a check for

[PATCH v11 net-next 02/12] bpf: enable bpf syscall on x64 and i386

2014-09-09 Thread Alexei Starovoitov
done as separate commit to ease conflict resolution Signed-off-by: Alexei Starovoitov --- arch/x86/syscalls/syscall_32.tbl |1 + arch/x86/syscalls/syscall_64.tbl |1 + include/linux/syscalls.h |3 ++- include/uapi/asm-generic/unistd.h |4 +++- kernel/sys_ni.c

Re: [RFC v2 3/6] kthread: warn on kill signal if not OOM

2014-09-09 Thread Tom Gundersen
On Tue, Sep 9, 2014 at 3:26 AM, Luis R. Rodriguez wrote: > On Mon, Sep 8, 2014 at 6:22 PM, Tejun Heo wrote: >> On Tue, Sep 09, 2014 at 10:10:59AM +0900, Tejun Heo wrote: >>> I'm not too convinced this is such a difficult problem to figure out. >>> We already have most of logic in place and the

[PATCH v11 net-next 03/12] bpf: add lookup/update/delete/iterate methods to BPF maps

2014-09-09 Thread Alexei Starovoitov
'maps' is a generic storage of different types for sharing data between kernel and userspace. The maps are accessed from user space via BPF syscall, which has commands: - create a map with given type and attributes fd = bpf(BPF_MAP_CREATE, union bpf_attr *attr, u32 size) returns fd or

[PATCH v11 net-next 00/12] eBPF syscall, verifier, testsuite

2014-09-09 Thread Alexei Starovoitov
Hi David, I've managed to reduce this set to 12: Patches 1-4 establish BPF syscall shell for maps and programs. Patches 5-10 add verifier step by step Patch 11 exposes existing instruction macros to user space Patch 12 adds test stubs and verifier testsuite from user space I don't know how to

[PATCH v11 net-next 05/12] bpf: handle pseudo BPF_CALL insn

2014-09-09 Thread Alexei Starovoitov
in native eBPF programs userspace is using pseudo BPF_CALL instructions which encode one of 'enum bpf_func_id' inside insn->imm field. Verifier checks that program using correct function arguments to given func_id. If all checks passed, kernel needs to fixup BPF_CALL->imm fields by replacing

[PATCH v11 net-next 06/12] bpf: verifier (add docs)

2014-09-09 Thread Alexei Starovoitov
this patch adds all of eBPF verfier documentation and empty bpf_check() The end goal for the verifier is to statically check safety of the program. Verifier will catch: - loops - out of range jumps - unreachable instructions - invalid instructions - uninitialized register access - uninitialized

[PATCH v11 net-next 08/12] bpf: handle pseudo BPF_LD_IMM64 insn

2014-09-09 Thread Alexei Starovoitov
eBPF programs passed from userspace are using pseudo BPF_LD_IMM64 instructions to refer to process-local map_fd. Scan the program for such instructions and if FDs are valid, convert them to 'struct bpf_map' pointers which will be used by verifier to check access to maps in bpf_map_lookup/update()

[PATCH v11 net-next 12/12] bpf: mini eBPF library, test stubs and verifier testsuite

2014-09-09 Thread Alexei Starovoitov
1. the library includes a trivial set of BPF syscall wrappers: int bpf_create_map(int key_size, int value_size, int max_entries); int bpf_update_elem(int fd, void *key, void *value); int bpf_lookup_elem(int fd, void *key, void *value); int bpf_delete_elem(int fd, void *key); int

[PATCH v11 net-next 10/12] bpf: verifier (add verifier core)

2014-09-09 Thread Alexei Starovoitov
This patch adds verifier core which simulates execution of every insn and records the state of registers and program stack. Every branch instruction seen during simulation is pushed into state stack. When verifier reaches BPF_EXIT, it pops the state from the stack and continues until it reaches

[PATCH v11 net-next 11/12] net: filter: move eBPF instruction macros

2014-09-09 Thread Alexei Starovoitov
move instruction macros (like BPF_MOV64_REG or BPF_ALU32_IMM) from linux/filter.h into uapi/linux/bpf.h so that userspace programs can use them. verifier testsuite (in later patches) will be using them. Signed-off-by: Alexei Starovoitov --- include/linux/filter.h | 226

Re: [PATCH] mm/sl[aou]b: make kfree() aware of error pointers

2014-09-09 Thread Andrew Morton
On Wed, 10 Sep 2014 07:05:40 +0200 (CEST) Jiri Kosina wrote: > > > --- a/mm/slab.c > > > +++ b/mm/slab.c > > > @@ -3612,7 +3612,7 @@ void kfree(const void *objp) > > > > > > trace_kfree(_RET_IP_, objp); > > > > > > - if (unlikely(ZERO_OR_NULL_PTR(objp))) > > > + if

[PATCH v11 net-next 07/12] bpf: verifier (add ability to receive verification log)

2014-09-09 Thread Alexei Starovoitov
add optional attributes for BPF_PROG_LOAD syscall: struct { ... __u32 log_level;/* verbosity level of eBPF verifier */ __u32 log_size; /* size of user buffer */ void __user *log_buf; /* user supplied buffer */ }; In such case the verifier will

[PATCH v11 net-next 09/12] bpf: verifier (add branch/goto checks)

2014-09-09 Thread Alexei Starovoitov
check that control flow graph of eBPF program is a directed acyclic graph check_cfg() does: - detect loops - detect unreachable instructions - check that program terminates with BPF_EXIT insn - check that all branches are within program boundary Signed-off-by: Alexei Starovoitov ---

[PATCH v11 net-next 04/12] bpf: expand BPF syscall with program load/unload

2014-09-09 Thread Alexei Starovoitov
eBPF programs are similar to kernel modules. They are loaded by the user process and automatically unloaded when process exits. Each eBPF program is a safe run-to-completion set of instructions. eBPF verifier statically determines that the program terminates and is safe to execute. The following

[PATCH v11 net-next 01/12] bpf: introduce BPF syscall and maps

2014-09-09 Thread Alexei Starovoitov
BPF syscall is a multiplexor for a range of different operations on eBPF. This patch introduces syscall with single command to create a map. Next patch adds commands to access maps. 'maps' is a generic storage of different types for sharing data between kernel and userspace. Userspace example:

Re: [PATCH] mm/sl[aou]b: make kfree() aware of error pointers

2014-09-09 Thread Jiri Kosina
On Tue, 9 Sep 2014, Andrew Morton wrote: > > kfree() is happy to accept NULL pointer and does nothing in such case. > > It's reasonable to expect it to behave the same if ERR_PTR is passed to > > it. > > > > Inspired by a9cfcd63e8d ("ext4: avoid trying to kfree an ERR_PTR > > pointer"). > >

Re: [PATCH v2 0/5] Add max77802 support for Peach boards

2014-09-09 Thread Doug Anderson
Hi, On Mon, Sep 8, 2014 at 8:47 PM, wrote: > Javier Martinez Canillas wrote: >> >> Hello Kukjin, >> > Hi, > >> On Wed, Aug 20, 2014 at 1:19 PM, Javier Martinez Canillas >> wrote: >> > >> > This is a second version of the series that adds max77802 support for >> > the Peach Pit and Pi boards.

Re: [PATCH v6] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-09-09 Thread Daniel Baluta
On Wed, Sep 10, 2014 at 1:07 AM, Hartmut Knaack wrote: > Daniel Baluta schrieb, Am 08.09.2014 10:13: >> Minimal implementation. This driver provides raw illuminance readings. >> >> This is based on drivers/hwmon/al3320.c (*) driver from msm tree written >> by Tsechih Lin >> >> *

Re: [PATCH v6 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-09-09 Thread Felipe Balbi
On Wed, Sep 10, 2014 at 09:09:57AM +0530, Vivek Gautam wrote: > On Wed, Sep 10, 2014 at 9:07 AM, Vivek Gautam > wrote: > > adding Julius here, > > i think i had missed adding Julius for this entire series :-( > I should be more careful with the CC list in future. > Added his chromium id, since

Re: [PATCH v2 5/5] ARM: dts: Add Peach Pit and Pi dts entry for ISL29018 sensor

2014-09-09 Thread Doug Anderson
Javier, On Wed, Aug 20, 2014 at 4:19 AM, Javier Martinez Canillas wrote: > The Exynos5420 based Peach Pit and the Exynos5800 based Peach Pi > machines have an i2c ISL29018 light sensor. This patch adds the > device nodes needed to support this device. > > These DTS snippets were taken from the

Re: [PATCH v2 4/5] ARM: dts: Add thermistor dts fragment used by exynos based Peach boards

2014-09-09 Thread Doug Anderson
Javier / Naveen, On Wed, Aug 20, 2014 at 4:19 AM, Javier Martinez Canillas wrote: > From: Naveen Krishna Chatradhi > > This patch creates a thermistor fragment carrying the NTC Thermistor > nodes as children of the IIO based ADC. > > This fragment is included in exynos5420-peach-pit.dts and >

linux-next: manual merge of the net-next tree with the arm-soc tree

2014-09-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in arch/arm/boot/dts/rk3188-radxarock.dts between commit 4721ab855d1a ("ARM: dts: rockchip: add hym8563 rtc to Radxa Rock board") from the arm-soc tree and commit c6ec956b73db ("ARM: dts: Enable emac node on the rk3188-radxarock

Re: [PATCH v2 2/5] ARM: dts: add hdmi regulators for exynos5800 based peach-pi board

2014-09-09 Thread Doug Anderson
Javier / Rahul, On Wed, Aug 20, 2014 at 4:19 AM, Javier Martinez Canillas wrote: > From: Rahul Sharma > > Adding regulators for HDMI for Peach-pi board. > > Signed-off-by: Rahul Sharma > Reviewed-by: Javier Martinez Canillas > Signed-off-by: Javier Martinez Canillas > --- >

Re: [PATCH v2 3/5] ARM: dts: add hdmi regulators for exynos5420 based peach-pit board

2014-09-09 Thread Doug Anderson
Javier / Rahul. On Wed, Aug 20, 2014 at 4:19 AM, Javier Martinez Canillas wrote: > From: Rahul Sharma > > Adding regulators for hdmi for peach-pit board. > > Signed-off-by: Rahul Sharma > Reviewed-by: Javier Martinez Canillas > Signed-off-by: Javier Martinez Canillas > --- >

Re: [PATCH 2/6] ARM: dts: add hdmi regulators for exynos5800 based peach-pi board

2014-09-09 Thread Doug Anderson
Hi, On Tue, Sep 9, 2014 at 9:44 PM, Doug Anderson wrote: > Javier / Rahul, > > On Tue, Aug 19, 2014 at 8:08 AM, Javier Martinez Canillas > wrote: >> From: Rahul Sharma >> >> Adding regulators for HDMI for Peach-pi board. >> >> Signed-off-by: Rahul Sharma >> Reviewed-by: Javier Martinez

Re: [PATCH 2/6] ARM: dts: add hdmi regulators for exynos5800 based peach-pi board

2014-09-09 Thread Doug Anderson
Javier / Rahul, On Tue, Aug 19, 2014 at 8:08 AM, Javier Martinez Canillas wrote: > From: Rahul Sharma > > Adding regulators for HDMI for Peach-pi board. > > Signed-off-by: Rahul Sharma > Reviewed-by: Javier Martinez Canillas > Signed-off-by: Javier Martinez Canillas > --- > > v2: 1) Add

Re: [PATCH v4 1/4] thermal: rockchip: add driver for thermal

2014-09-09 Thread Caesar Wang
Dear Eduardo, I'm sorry for it. I just received this message.Maybe my mailbox has a problem. Thank you for your comments. 在 2014年08月31日 04:09, Eduardo Valentin 写道: Hello Ceasar, On Wed, Sep 03, 2014 at 10:10:36AM +0800, Caesar Wang wrote: Thermal is TS-ADC Controller module supports

Re: [PATCH V2 1/3] x86: Make page cache mode a real type

2014-09-09 Thread Juergen Gross
On 09/09/2014 07:24 PM, Toshi Kani wrote: On Mon, 2014-09-08 at 10:01 +0200, Juergen Gross wrote: At the moment there are a lot of places that handle setting or getting the page cache mode by treating the pgprot bits equal to the cache mode. This is only true because there are a lot of

[PATCH v6 06/13] input: cyapa: add gen3 trackpad device basic functions support

2014-09-09 Thread Dudley Du
Based on the cyapa core, add the gen3 trackpad device's basic functions supported, so gen3 trackpad device can work with kernel input system. The basic function is absolutely same as previous cyapa driver only support gen3 trackpad device. TEST=test on Chromebooks. Signed-off-by: Dudley Du ---

[PATCH v6 13/13] input: cyapa: add gen5 trackpad device read firmware image and raw data functions support

2014-09-09 Thread Dudley Du
Add read firmware image function supported for gen5 trackpad device, which its function is supplied through cyapa core read_fw interface. Through this interface, upper layer application can read out, check and backup the firmware image in trackpad device before updated with new one when new

Re: [PATCH v2 1/5] ARM: dts: Add Peach Pit and Pi dts entry for max77802 PMIC

2014-09-09 Thread Doug Anderson
Javier, On Wed, Aug 20, 2014 at 4:19 AM, Javier Martinez Canillas wrote: > Exynos5420 based Peach Pit and Exynos5800 based Peach Pi boards > uses a Maxim 77802 power management IC to drive regulators and > its Real Time Clock. This patch adds support for this chip. > > These are the device nodes

[PATCH v6 12/13] input: cyapa: add gen5 trackpad device baseline and calibrate functions support

2014-09-09 Thread Dudley Du
Add report baseline and force calibrate functions supported for gen5 trackpad device, which these functions are supplied through cyapa core baseline and calibrate interfaces. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 670

[PATCH v6 09/13] input: cyapa: add gen3 trackpad device read firmware image function support

2014-09-09 Thread Dudley Du
Add read firmware image function supported for gen3 trackpad device, which its function is supplied through cyapa core read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 73 1 file changed, 73

[PATCH v6 07/13] input: cyapa: add gen3 trackpad device firmware update function support

2014-09-09 Thread Dudley Du
Add firmware image update function supported for gen3 trackpad device, which its function is supplied through cyapa core update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 290 +++ 1 file changed,

[PATCH v6 10/13] input: cyapa: add gen5 trackpad device basic functions support

2014-09-09 Thread Dudley Du
Based on the cyapa core, add the gen5 trackpad device's basic functions supported, so gen5 trackpad device can work with kernel input system. And also based on the state parse interface, the cyapa driver can automatically determine the attached is gen3 or gen5 protocol trackpad device, then set

[PATCH v6 04/13] input: cyapa: add cyapa key function interfaces in sysfs system

2014-09-09 Thread Dudley Du
Add key basic function interfaces in cyapa driver in sysfs system, these interfaces are commonly used in pre- and after production, and for trackpad device state checking, manage and firmware image updating. These interfaces including firmware_version and product_id interfaces for reading firmware

[PATCH v6 05/13] input: cyapa: add read firmware image and raw data interfaces in debugfs system

2014-09-09 Thread Dudley Du
Add read_fw and raw_data debugfs interfaces for easier issues location and collection when report by user. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 221 1 file changed, 221 insertions(+) diff --git

[PATCH v6 11/13] input: cyapa: add gen5 trackpad device firmware update function support

2014-09-09 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, which its function is supplied through cyapa core update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Kconfig | 2 +- drivers/input/mouse/cyapa_gen5.c | 294

[PATCH v6 08/13] input: cyapa: add gen3 trackpad device baseline and calibrate functions support

2014-09-09 Thread Dudley Du
Add report baseline and force calibrate functions supported for gen3 trackpad device, which these functions are supplied through cyapa core baseline and calibrate interfaces. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 135

[PATCH v6 01/13] input: cyapa: re-architecture driver to support

2014-09-09 Thread Dudley Du
In order to support two different communication protocol based trackpad device in one cyapa, the new cyapa driver is re-designed with one cyapa driver core and two devices' functions component. The cyapa driver core is contained in this patch, it supplies the basic function with input and kernel

[PATCH v6 03/13] input: cyapa: add cyapa driver runtime power management interfaces support

2014-09-09 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 142

[PATCH v6 02/13] input: cyapa: add cyapa driver power management interfaces support

2014-09-09 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 85

[PATCH v6 00/13] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-09-09 Thread Dudley Du
This v6 patch set is updated based on cyapa v5 patches, it has below updates: 1) Remove patch 14 of the lid filtering from the cyapa driver. v5 patch set updates compared with cyapa v4 patches: 1) Uses get_device()/put_device() instead of kobject_get()/kobject_put(); 2) Fix memories freed before

Re: [PATCH v2] checkpatch: look for common misspellings

2014-09-09 Thread Masanari Iida
Hello Joe, Kees, Sorry for late reply. I was on holiday when the version 1 patch discussions were posted. I am using codespell ( https://github.com/lucasdemarchi/codespell/ ). The codespell has its own typo dictionary. The dictionary format is typo->good (1 candidate) typo->good1,good2,

Re: [PATCH] regulator: remove unnecessary of_node_get() to parent

2014-09-09 Thread Axel Lin
2014-09-10 12:20 GMT+08:00 Axel Lin : > 2014-09-10 11:50 GMT+08:00 Guodong Xu : >> These of_node_get() were added to balance refcount decrements inside of >> of_find_node_by_name(). >> See: commit c92f5dd2c42f ("regulator: Add missing of_node_put()") >> >> However of_find_node_by_name() was then

[PATCH net-next 0/5] net: Convert pr_warning to pr_warn

2014-09-09 Thread Joe Perches
Remove remaining uses of pr_warning in net/ Joe Perches (5): atm: Convert pr_warning to pr_warn ceph: Convert pr_warning to pr_warn pktgen: Convert pr_warning to pr_warn iucv: Convert pr_warning to pr_warn netfilter: Convert pr_warning to pr_warn net/atm/clip.c

Re: [PATCH 5/5] toshiba_acpi: Change touchpad store to check for invalid values

2014-09-09 Thread Darren Hart
On Fri, Sep 05, 2014 at 11:14:07AM -0600, Azael Avalos wrote: > The function toshiba_touchpad_store is not checking > for invalid values and simply returns silently. > > This patch checks for invalid values and returns accordingly. > > Signed-off-by: Azael Avalos Queued, thanks. -- Darren

Re: [PATCH] regulator: remove unnecessary of_node_get() to parent

2014-09-09 Thread Axel Lin
2014-09-10 11:50 GMT+08:00 Guodong Xu : > These of_node_get() were added to balance refcount decrements inside of > of_find_node_by_name(). > See: commit c92f5dd2c42f ("regulator: Add missing of_node_put()") > > However of_find_node_by_name() was then replaced by of_get_child_by_name(), > which

RE: [PATCH 4/4] iio/adc/axp288: add support for axp288 gpadc

2014-09-09 Thread Pallala, Ramakrishna
Hi Jacob, > +#if defined(CONFIG_PM_SLEEP) || defined(CONFIG_PM_RUNTIME) static int > +axp288_gpadc_suspend(struct device *dev) { > + int ret; > + struct iio_dev *indio_dev = dev_get_drvdata(dev); > + struct gpadc_info *info = iio_priv(indio_dev); > + > + mutex_lock(_dev->mlock);

[PATCH net-next 3/5] pktgen: Convert pr_warning to pr_warn

2014-09-09 Thread Joe Perches
Use the more common pr_warn. Realign arguments. Signed-off-by: Joe Perches --- net/core/pktgen.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 21cb483..5c728aa 100644 --- a/net/core/pktgen.c +++

linux-next: manual merge of the pm tree with the arm-soc tree

2014-09-09 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in arch/arm/mach-shmobile/setup-sh73a0.c between commit aa0bdc303b0f ("ARM: shmobile: sh73a0: Remove duplicate CPUFreq bits") from the arm-soc tree and commit 978027e170fb ("cpufreq: cpu0: rename driver and internals to

[PATCH net-next 2/5] ceph: Convert pr_warning to pr_warn

2014-09-09 Thread Joe Perches
Use the more common pr_warn. Other miscellanea: o Coalesce formats o Realign arguments Signed-off-by: Joe Perches --- net/ceph/ceph_common.c | 15 +-- net/ceph/messenger.c | 19 ++- net/ceph/osd_client.c | 15 +++ net/ceph/osdmap.c | 20

Re: [PATCH v5] spi: spi-imx: add DMA support

2014-09-09 Thread Varka Bhadram
On 09/10/2014 07:00 AM, Robin Gong wrote: Enable DMA support on i.mx6. The read speed can increase from 600KB/s to 1.2MB/s on i.mx6q. You can disable or enable dma function in dts. (...) + +static int spi_imx_sdma_init(struct device *dev, struct spi_imx_data *spi_imx, +

[PATCH net-next 5/5] netfilter: Convert pr_warning to pr_warn

2014-09-09 Thread Joe Perches
Use the more common pr_warn. Other miscellanea: o Coalesce formats o Realign arguments Signed-off-by: Joe Perches --- net/netfilter/ipset/ip_set_core.c | 23 +++--- net/netfilter/ipset/ip_set_hash_gen.h | 12 ++-- net/netfilter/xt_connbytes.c | 2 +-

[PATCH net-next 4/5] iucv: Convert pr_warning to pr_warn

2014-09-09 Thread Joe Perches
Use the more common pr_warn. Coalesce formats. Realign arguments. Signed-off-by: Joe Perches --- net/iucv/iucv.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c index da78793..2a6a1fd 100644 --- a/net/iucv/iucv.c +++

[PATCH net-next 1/5] atm: Convert pr_warning to pr_warn

2014-09-09 Thread Joe Perches
Use the more common pr_warn. Signed-off-by: Joe Perches --- net/atm/clip.c | 4 ++-- net/atm/common.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/atm/clip.c b/net/atm/clip.c index 4633904..1d9eaa4 100644 --- a/net/atm/clip.c +++ b/net/atm/clip.c @@ -384,7 +384,7

[PATCH v1 6/8] block: flush: avoid to figure out flush queue unnecessarily

2014-09-09 Thread Ming Lei
Just figuring out flush queue at the entry of kicking off flush machinery and request's completion handler, then pass it through. Reviewed-by: Christoph Hellwig Signed-off-by: Ming Lei --- block/blk-flush.c | 30 -- 1 file changed, 16 insertions(+), 14

linux-next: manual merge of the pm tree with the arm-soc tree

2014-09-09 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in arch/arm/mach-shmobile/board-ape6evm-reference.c between commit 664b4c172209 ("ARM: shmobile: ape6evm: Remove duplicate CPUFreq bits") from the arm-soc tree and commit 978027e170fb ("cpufreq: cpu0: rename driver and internals to

[PATCH v1 7/8] block: introduce 'blk_mq_ctx' parameter to blk_get_flush_queue

2014-09-09 Thread Ming Lei
This patch adds 'blk_mq_ctx' parameter to blk_get_flush_queue(), so that this function can find the corresponding blk_flush_queue bound with current mq context since the flush queue will become per hw-queue. For legacy queue, the parameter can be simply 'NULL'. For multiqueue case, the parameter

[PATCH v1 8/8] blk-mq: support per-distpatch_queue flush machinery

2014-09-09 Thread Ming Lei
This patch supports to run one single lush machinery for each blk-mq dispatch queue, so that: - current init_request and exit_request callbacks can cover flush request too, then the buggy copying way of initializing flush request's pdu can be fixed - flushing performance gets improved in case of

[PATCH v1 5/8] block: introduce blk_flush_queue to drive flush machinery

2014-09-09 Thread Ming Lei
This patch introduces 'struct blk_flush_queue' and puts all flush machinery related fields into this structure, so that - flush implementation details aren't exposed to driver - it is easy to convert to per dispatch-queue flush machinery This patch is basically a mechanical

[PATCH v1 4/8] block: avoid to use q->flush_rq directly

2014-09-09 Thread Ming Lei
This patch trys to use local variable to access flush request, so that we can convert to per-queue flush machinery a bit easier. Reviewed-by: Christoph Hellwig Signed-off-by: Ming Lei --- block/blk-flush.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git

[PATCH v1 3/8] block: move flush initialization to blk_flush_init

2014-09-09 Thread Ming Lei
These fields are always used with the flush request, so initialize them together. Reviewed-by: Christoph Hellwig Signed-off-by: Ming Lei --- block/blk-core.c |3 --- block/blk-flush.c |4 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/block/blk-core.c

[PATCH v1 1/8] blk-mq: allocate flush_rq in blk_mq_init_flush()

2014-09-09 Thread Ming Lei
It is reasonable to allocate flush req in blk_mq_init_flush(). Reviewed-by: Christoph Hellwig Signed-off-by: Ming Lei --- block/blk-flush.c | 11 ++- block/blk-mq.c| 16 ++-- block/blk-mq.h|2 +- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git

[PATCH v1 2/8] block: introduce blk_init_flush and its pair

2014-09-09 Thread Ming Lei
These two functions are introduced to initialize and de-initialize flush stuff centrally. Reviewed-by: Christoph Hellwig Signed-off-by: Ming Lei --- block/blk-core.c |5 ++--- block/blk-flush.c | 19 ++- block/blk-mq.c|2 +- block/blk-mq.h|1 -

[PATCH v1 0/8] block: per-distpatch_queue flush machinery

2014-09-09 Thread Ming Lei
Hi, As recent discussion, especially suggested by Christoph, this patchset implements per-distpatch_queue flush machinery, so that: - current init_request and exit_request callbacks can cover flush request too, then the buggy copying way of initializing flush request's

Re: [PATCH 4/5] toshiba_acpi: Support new keyboard backlight type

2014-09-09 Thread Darren Hart
On Fri, Sep 05, 2014 at 11:14:06AM -0600, Azael Avalos wrote: Hi Azael, Apologies for the delay. I'm still recovering from a couple weeks of travel and a nasty conference bug. Thanks for being patient. > Newer Toshiba models now come with a new (and different) keyboard > backlight

linux-next: manual merge of the pm tree with the mvebu tree

2014-09-09 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in arch/arm/configs/mvebu_v7_defconfig between commit fc9fa8714a75 ("ARM: mvebu: update v7 defconfig with useful options") from the mvebu tree and commit 978027e170fb ("cpufreq: cpu0: rename driver and internals to 'cpufreq_dt'")

[PATCHv4] ASoC: simple-card: binding: update binding to support the new style.

2014-09-09 Thread Xiubo Li
This patch will split the DT binding into old style and new style, the new style will be easier to add many DAI links from old single DAI link DTs. This patch will maintian compatibility with the old DTs. Signed-off-by: Xiubo Li --- Changes in v4: - Follow Jyri's advice. - Fix some small

Re: i386 minimal config w/ PCI is broken

2014-09-09 Thread Jiang Liu
Hi Andy, Sorry for this. It should be fixed by: http://marc.info/?l=linux-kernel=140938277815528=2 Regards! Gerry On 2014/9/10 8:08, Andy Lutomirski wrote: > The attached config doesn't compile for me w/ Linus' tree from today. > It complains about undeclared mp_should_keep_irq in >

[PATCH] regulator: remove unnecessary of_node_get() to parent

2014-09-09 Thread Guodong Xu
These of_node_get() were added to balance refcount decrements inside of of_find_node_by_name(). See: commit c92f5dd2c42f ("regulator: Add missing of_node_put()") However of_find_node_by_name() was then replaced by of_get_child_by_name(), which doesn't call of_node_put() against its input

Re: [PATCH] RxRPC: Fix missing __user annotation

2014-09-09 Thread David Miller
From: David Howells Date: Tue, 09 Sep 2014 15:19:44 +0100 > Fix a missing __user annotation in a cast of a user space pointer (found by > checker). > > Signed-off-by: David Howells Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v6 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-09-09 Thread Vivek Gautam
On Wed, Sep 10, 2014 at 9:07 AM, Vivek Gautam wrote: > adding Julius here, i think i had missed adding Julius for this entire series :-( I should be more careful with the CC list in future. Added his chromium id, since that seems to be more active. > > > On Tue, Sep 9, 2014 at 8:12 PM, Felipe

Re: [PATCH 1/3] kbuild: remove unnecessary "obj- := dummy.o" trick

2014-09-09 Thread David Miller
From: Masahiro Yamada Date: Tue, 9 Sep 2014 19:26:19 +0900 > In these Makefiles, at least one of "obj-y" and "obj-" is non-empty, > hence built-in.o is always created without such a trick. > > Signed-off-by: Masahiro Yamada For networking: Acked-by: David S. Miller -- To unsubscribe from

Re: [Bug] 3.16 fwdownload failure on Marvell 88SE9125 sata controller

2014-09-09 Thread Robert Hancock
On 01/09/14 02:22 AM, Ming Lei wrote: Hi Guys, When we use hdparm to download firmware on system with Marvell 88SE9125 SATA controller, it returns failure always and it has been observed in several systems: #hdparm --fwdownload-mode7 fw.bin --yes-i-kno-what-i-am-doing --please-destroy-my-drive

Re: [PATCH] net:bonding: Add missing space in bonding driver parameter description

2014-09-09 Thread David Miller
From: Masanari Iida Date: Tue, 9 Sep 2014 18:07:55 +0900 > This patch adds missing space between "interface" and "by" > in bonding module parameter description. > > Signed-off-by: Masanari Iida Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

RE: [PATCH v2] QE: move qe code from arch/powerpc to drivers/soc

2014-09-09 Thread qiang.z...@freescale.com
On Wed, 2014-09-10 at 07:27 -0500, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 10, 2014 7:27 AM > To: Zhao Qiang-B45475 > Cc: Li Yang-Leo-R58472; linuxppc-...@lists.ozlabs.org; Xie Xiaobo-R63061; > linux-kernel@vger.kernel.org >

Re: [PATCH v6 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-09-09 Thread Vivek Gautam
adding Julius here, On Tue, Sep 9, 2014 at 8:12 PM, Felipe Balbi wrote: > On Tue, Sep 09, 2014 at 07:19:50AM +0530, Vivek Gautam wrote: >> Hi, >> >> >> On Mon, Sep 8, 2014 at 7:14 PM, Felipe Balbi wrote: >> > Hi, >> > >> > On Mon, Sep 08, 2014 at 09:53:09AM +0530, Vivek Gautam wrote: >> >> On

Re: [PATCH net-next] drivers/net: Convert remaining uses of pr_warning to pr_warn

2014-09-09 Thread David Miller
From: Joe Perches Date: Tue, 09 Sep 2014 20:27:44 -0700 > Use the much more common pr_warn instead of pr_warning. > > Other miscellanea: > > o Typo fixes submiting/submitting > o Coalesce formats > o Realign arguments > o Add missing terminating '\n' to formats > > Signed-off-by: Joe Perches

Re: [PATCH 3/5] toshiba_acpi: Add accelerometer input polled device

2014-09-09 Thread Darren Hart
On Mon, Sep 08, 2014 at 06:35:53PM -0700, Greg Kroah-Hartman wrote: > On Mon, Sep 08, 2014 at 05:04:30PM -0700, Darren Hart wrote: > > On Fri, Sep 05, 2014 at 11:04:18PM -0600, Azael Avalos wrote: > > > Hi there, > > > > > > 2014-09-05 20:42 GMT-06:00 Darren Hart : > > > > On Fri, Sep 05, 2014 at

Re: [PATCH] eeepc-laptop: remove possible use of uninitialized value

2014-09-09 Thread Darren Hart
On Tue, Sep 09, 2014 at 10:50:08AM +0200, Paul Bolle wrote: > Hi Darren, > > On Sat, 2014-09-06 at 23:17 +0200, Rafael J. Wysocki wrote: > > On Friday, September 05, 2014 07:17:57 PM Darren Hart wrote: > > > On Thu, Sep 04, 2014 at 09:08:08AM +0200, Paul Bolle wrote: > > > [...] > > > > static

Re: [PATCH 0/3] alarmtimer: Fix some non-standard alarm timer behavior

2014-09-09 Thread John Stultz
On Tue, Sep 9, 2014 at 6:31 PM, Richard Larocque wrote: > I've been working on some changes to posix-timers.c in an attempt to better > support CRIU. Along the way, I've discovered some issues with the posix alarm > timers that should be fixed independent of any other work. > > It seems that

Re: [PATCH] bq27x00_battery: Add support to bq27742

2014-09-09 Thread Benson Leung
On Wed, Sep 10, 2014 at 3:20 AM, Puthikorn Voravootivat wrote: > Add support to bq27742 in bq27x00 driver. bq27742 register > addresses are mostly mostly the same as bq27500 addresses > with minor differences. > > Signed-off-by: Puthikorn Voravootivat > Reviewed-by: Gwendal Grignou >

[PATCH net-next] drivers/net: Convert remaining uses of pr_warning to pr_warn

2014-09-09 Thread Joe Perches
Use the much more common pr_warn instead of pr_warning. Other miscellanea: o Typo fixes submiting/submitting o Coalesce formats o Realign arguments o Add missing terminating '\n' to formats Signed-off-by: Joe Perches --- Most of these are old drivers so I'm not cc'ing everyone. Let me know if

Re: [PATCH 1/4 v3] GPIO: gpio-dwapb: Enable platform driver binding to MFD driver

2014-09-09 Thread Darren Hart
On Wed, Sep 10, 2014 at 12:34:50AM +, Chen, Alvin wrote: > > >@@ -136,7 +136,6 @@ config GPIO_DWAPB > > > tristate "Synopsys DesignWare APB GPIO driver" > > > select GPIO_GENERIC > > > select GENERIC_IRQ_CHIP > > >- depends on OF_GPIO > > > > You cover this specific dependencies with

Re: [PATCH V1 0/3] refine the ssi clock for imx6sl, and update dts file.

2014-09-09 Thread Shawn Guo
On Tue, Sep 09, 2014 at 05:13:24PM +0800, Shengjiu Wang wrote: > This serial patch is for refining the ssi clock tree for imx6sl, > and update imx6qdl and imx6sl dts file. > > Shengjiu Wang (3): > ARM: clk-imx6sl: refine clock tree for SSI > ARM: dts: imx6qdl: add baud clock and clock-names

Re: [PATCH v1] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-09-09 Thread Shawn Guo
On Wed, Sep 10, 2014 at 09:33:36AM +0800, Robin Gong wrote: > There is one weird data in rxfifo after one full rx/tx transfer > done sometimes. It looks a design issue and hard to workaround > totally, so disable dma functhion here. And will re-enable it > once the root cause found. > >

[PATCH v10 2/3] clk: RK808: Add clkout driver for RK808

2014-09-09 Thread Chris Zhong
Signed-off-by: Chris Zhong Reviewed-by: Doug Anderson Tested-by: Doug Anderson Tested-by: Heiko Stuebner --- Changes in v10: Adviced by Mike - remove rk808_clkout1_is_prepared Adviced by Dmitry Torokhov - add rk808_clkout_remove Changes in v9: None Changes in v8: Adviced by Mike - rename

[PATCH v10 1/3] RTC: RK808: add RTC driver for RK808

2014-09-09 Thread Chris Zhong
Adding RTC driver for supporting RTC device present inside RK808 PMIC. Signed-off-by: Chris Zhong Signed-off-by: Zhang Qing Tested-by: Heiko Stuebner --- Changes in v10: Adviced by Doug - modify rk808_rtc->irq err print Changes in v9: Adviced by Dmitry - if(rk808_rtc->irq < 0), return

Re: [Patch v4 12/16] x86, irq, ACPI: Implement interface to support ACPI based IOAPIC hot-addition

2014-09-09 Thread Jiang Liu
On 2014/9/9 20:20, Thomas Gleixner wrote: > On Thu, 28 Aug 2014, Jiang Liu wrote: >> EXPORT_SYMBOL(acpi_register_ioapic); >> diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c >> index 6e67af0c5f99..b286461cabf9 100644 >> --- a/arch/x86/kernel/apic/io_apic.c >> +++

Re: [PATCH net-next] r8152: use usleep_range

2014-09-09 Thread David Miller
From: Hayes Wang Date: Tue, 9 Sep 2014 11:40:28 +0800 > Replace mdelay with usleep_range to avoid busy loop. > > Signed-off-by: Hayes Wang Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH V2] Staging: octeon-hcd: removed dummy label

2014-09-09 Thread Nitin Kuppelur
This is a patch to the octeon-hcd.c file that fixes removes dummy label i.e. label followed by return of void function Signed-off-by: Nitin Kuppelur --- drivers/staging/octeon-usb/octeon-hcd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

  1   2   3   4   5   6   7   8   9   10   >