Re: [PATCH v3 2/2] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2014-09-09 Thread Srikanth Thokala
Hi Vinod, On Tue, Sep 9, 2014 at 9:27 PM, Vinod Koul wrote: > On Tue, Sep 09, 2014 at 12:52:16AM +0530, Srikanth Thokala wrote: >> Hi Vinod, >> >> On Thu, Sep 4, 2014 at 12:06 PM, Vinod Koul wrote: >> > On Wed, Sep 03, 2014 at 12:17:43PM +0530, Srikanth Thokala wrote: >> >> Hi Vinod, >> >> >> >>

Re: [PATCH v2] cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

2014-09-09 Thread shilpa
On 09/01/2014 02:42 PM, David Laight wrote: >> Yes unlikely() should cover the whole if statement... > > Actually it probably shouldn't. > You need to look at the generated code with each different set of 'unlikely()' > to see how gcc processes them. > In this case, if 'rebooting' is false you wan

Re: [RFC] iommu/vt-d: Use the SIRTP when enabling remapping

2014-09-09 Thread Jan Kiszka
On 2014-09-09 23:11, Nathan Zimmer wrote: > The previous change (iommu/vt-d: Don't store SIRTP request) to this area > caused a crash in our simulator. In particular is seems that by the time a > UART interrupt is sent through the system, we don't see interrupt remapping > to be enabled. So the in

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

2014-09-09 Thread Daniel Baluta
Minimal implementation. This driver provides raw illuminance readings. This is based on drivers/hwmon/al3320.c (*) driver from msm tree written by Tsechih Lin * https://android.googlesource.com/kernel/msm.git Signed-off-by: Daniel Baluta --- Changes since v6: (reported by Hartmut) * dr

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

2014-09-09 Thread Dan Carpenter
On Wed, Sep 10, 2014 at 01:15:15AM -0400, valdis.kletni...@vt.edu wrote: > 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 kn

Re: [PATCH] intel_pstate: track and export frequency residency stats via sysfs.

2014-09-09 Thread Viresh Kumar
On 10 September 2014 05:01, Anup Chenthamarakshan wrote: > Here's a comparison of time taken to run intel_pstate_set_pstate() using > different approaches: > average time for a transition > no stats 4.7us > intel_pstate-stats

Re: [PATCH] lpfc: Avoid to disable pci_dev twice

2014-09-09 Thread Mike Qiu
On 08/28/2014 02:34 AM, James Smart wrote: Mike, Can you confirm - the "nulls" this patch correct are because the probe_one and error_detect threads are running concurrently, thus battling ? If so - this fix looks insufficient and we should rework it. Yes, it is. My patch is just a workaro

[PATCH] [media] videobuf-dma-contig: replace vm_iomap_memory() with remap_pfn_range().

2014-09-09 Thread Fancy Fang
When user requests V4L2_MEMORY_MMAP type buffers, the videobuf-core will assign the corresponding offset to the 'boff' field of the videobuf_buffer for each requested buffer sequentially. Later, user may call mmap() to map one or all of the buffers with the 'offset' parameter which is equal to its

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

2014-09-09 Thread Tom Gundersen
On Tue, Sep 9, 2014 at 10:45 PM, Luis R. Rodriguez wrote: > On Tue, Sep 9, 2014 at 12:35 PM, James Bottomley > wrote: >> On Tue, 2014-09-09 at 12:16 -0700, Luis R. Rodriguez wrote: >>> On Mon, Sep 8, 2014 at 10:38 PM, James Bottomley >>> wrote: >>> > If we want to sort out some sync/async mechan

Re: [alsa-devel] [PATCH V1] ASoC: fsl_ssi: refine ipg clock usage in this module

2014-09-09 Thread Nicolin Chen
On Wed, Sep 10, 2014 at 08:21:18AM +0200, Markus Pargmann wrote: > On Tue, Sep 09, 2014 at 11:38:05AM -0700, Nicolin Chen wrote: > > On Tue, Sep 09, 2014 at 05:18:07PM +0800, Shengjiu Wang wrote: > > > @@ -1321,7 +1333,11 @@ static int fsl_ssi_probe(struct platform_device > > > *pdev) > > >

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

2014-09-09 Thread Dan Carpenter
On Tue, Sep 09, 2014 at 10:11:38PM -0700, Andrew Morton wrote: > On Wed, 10 Sep 2014 07:05:40 +0200 (CEST) Jiri Kosina wrote: > This is the sort of error which a static checker could find. I wonder > if any of them do so. Yes. Ted asked me to add this to Smatch and that's how we found the probl

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

2014-09-09 Thread Ming Lei
On Wed, Sep 10, 2014 at 11:38 AM, Robert Hancock wrote: > 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 -

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

2014-09-09 Thread Robin Gong
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. Signed-off-by: Robin Gong --- arch/arm/boot/dts/imx6q.dtsi | 20 ++

Re: [PATCH V1] ASoC: fsl_ssi: refine ipg clock usage in this module

2014-09-09 Thread Markus Pargmann
On Tue, Sep 09, 2014 at 11:38:05AM -0700, Nicolin Chen wrote: > On Tue, Sep 09, 2014 at 05:18:07PM +0800, Shengjiu Wang wrote: > > @@ -1321,7 +1333,11 @@ static int fsl_ssi_probe(struct platform_device > > *pdev) > > return -ENOMEM; > > } > > > > - ssi_private->regs = devm_regm

Re: [PATCH 1/4] kaslr: check user's config too when handle relocations

2014-09-09 Thread Baoquan He
On 09/09/14 at 08:53am, Kees Cook wrote: > > > Hi Kees, > > > > Checking handle_relocations() again, I just didn't notice it's mandatory > > to do the relocations handling in i386. So in this function delta is > > checked to see if it's a kaslr relocation handling. This might be a > > little confu

Re: [PATCH] tty: serial: men_z135_uart: Fix driver for changes in hardware

2014-09-09 Thread Johannes Thumshirn
On Tue, Sep 09, 2014 at 05:26:35PM -0700, Greg Kroah-Hartman wrote: > On Tue, Sep 09, 2014 at 07:56:15AM +0200, Johannes Thumshirn wrote: > > On Mon, Sep 08, 2014 at 04:17:33PM -0700, Greg Kroah-Hartman wrote: > > > > > > > > @@ -118,6 +117,10 @@ static int align; > > > > module_param(align, int,

Re: [PATCH] Hibernate: Do not assume the first e820 area to be RAM

2014-09-09 Thread Yinghai Lu
On Mon, Sep 8, 2014 at 3:52 PM, Rafael J. Wysocki wrote: > On Monday, August 11, 2014 06:50:52 PM Lee, Chun-Yi wrote: >> In arch/x86/kernel/setup.c::trim_bios_range(), the codes introduced >> by 1b5576e6 (base on d8a9e6a5), it updates the first 4Kb of memory >> to be E820_RESERVED region. That's b

[PATCH 4/4] staging: comedi: hwdrv_apci3120: remove void function return statement

2014-09-09 Thread Chase Southwood
Returns at the end of void functions are useless. Remove this one. Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/addi-data/hw

[PATCH RESEND] tty: serial: men_z135_uart: Fix driver for changes in hardware

2014-09-09 Thread Johannes Thumshirn
16z135 IP Core has changed so the driver needs to be updated to respect these changes. The following changes have been made: * Don't invert the 16z135 modem status register when reading. * Add module parameter to configure the (baud rate dependent) RX timeout. Character timeout in seconds = (tim

[PATCH 3/4] staging: comedi: hwdrv_apci3120: else is not useful after return

2014-09-09 Thread Chase Southwood
The statement nested in an else after a return may be brought out one indent level, the else is useless. Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 2/4] staging: comedi: hwdrv_apci3120: add a blank line after declarations

2014-09-09 Thread Chase Southwood
Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3

[PATCH 0/4] staging: comedi: hwdrv_apci1320: style cleanups

2014-09-09 Thread Chase Southwood
This patchset begins by cleaning up the mess of the comments in this driver, then follows that with three very small and trivial checkpatch warning fixes. Chase Southwood (4): staging: comedi: hwdrv_apci3120: clean up comments staging: comedi: hwdrv_apci3120: add a blank line after declaration

[PATCH 1/4] staging: comedi: hwdrv_apci3120: clean up comments

2014-09-09 Thread Chase Southwood
This patch fixes improper comment indentation, removes dead code and obsolete comments, and conforms remaining comments to a consistent kernel commenting style. Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- .../comedi/drivers/addi-data/hwdrv_apci3120.c | 364

linux-next: manual merge of the trivial tree with the block tree

2014-09-09 Thread Stephen Rothwell
Hi Jiri, Today's linux-next merge of the trivial tree got a conflict in block/blk-core.c between commit a492f075450f ("block,scsi: fixup blk_get_request dead queue scenarios") from the block tree and commit da3dae54e4ff ("Documentation: Docbook: Fix generated DocBook/kernel-api.xml") from the triv

[PATCH] clk: samsung: exynos5260: fix typo in clock name

2014-09-09 Thread Pankaj Dubey
From: Chander Kashyap The parent name added in parent list as mout_phyclk_mipi_dphy_4l_m_txbyte_clkhs_p, is different than the defined parent due to typo. Signed-off-by: Abhilash Kesavan Signed-off-by: Chander Kashyap --- drivers/clk/samsung/clk-exynos5260.c |2 +- 1 file changed, 1 inser

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 spi_imx_sdma_

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 pat

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 here.

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 9

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 carefu

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 safe,

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 ZERO

[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 on

[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 negativ

[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 red

[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 func_i

[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 s

[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() c

[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 bpf_get_next_key(in

[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 BPF

[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 (unlikely(ZERO_OR_NULL_PT

[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 retu

[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 --- kernel/bpf/

[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 s

[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. Th

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 >> >> * https://android.g

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 t

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 do

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 > ex

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 > --- > arch/arm/boot/dts

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 > --- > arch/arm/boot/dt

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 Canilla

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 blank

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 user-de

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 assumptio

[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 --- d

[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 firmwar

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 inse

[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, 290

[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 the

[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 a/driver

[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 sy

[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 d

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, (mult

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 re

[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 Har

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 doe

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(&indio_dev->mlo

[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 +++ b/net/co

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 'cpufreq_dt'

[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 +- net/n

[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 +++ b/net/iucv/iucv.

[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 deletions(-)

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 replac

[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 a/b

[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 b/block/blk-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 - block/blk-s

[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 pdu

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 implementation

  1   2   3   4   5   6   7   8   9   10   >