[PATCH] ARM: zynq: DT: Fix binding for cadence WDT

2015-01-15 Thread Michal Simek
Based on: "devicetree: Add Cadence WDT devicetree bindings documentation" (sha1: 191891c0378f44aec8e06e889a08d0b76fe6c5cb) - compatible string is cdns,wdt-r1p2 - remove device_type property - remove int reset property (reset-on-timeout is bool) Signed-off-by: Michal Simek --- arch/arm/boot/dts

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-15 Thread Chanwoo Choi
Hi Mark, On Thu, Jan 15, 2015 at 8:29 PM, Mark Rutland wrote: > On Wed, Jan 14, 2015 at 11:57:00PM +, Chanwoo Choi wrote: >> Hi Kukjin, >> >> On 01/15/2015 01:02 AM, Daniel Lezcano wrote: >> > On 01/14/2015 04:51 PM, Kukjin Kim wrote: >> >> On 01/14/15 14:33, Chanwoo Choi wrote: >> >> >> >> H

Re: [PATCH 6/8] adm8211: fix error return code

2015-01-15 Thread Kalle Valo
Julia Lawall writes: > Return a negative error code on failure. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @@ > identifier ret; expression e1,e2; > @@ > ( > if (\(ret < 0\|ret != 0\)) > { ... return ret; } > | >

[PATCH] coresight: remove the unnecessary function coresight_is_bit_set()

2015-01-15 Thread Kaixu Xia
This function coresight_is_bit_set() isn't called, so we should remove it. Signed-off-by: Kaixu Xia --- include/linux/coresight.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/coresight.h b/include/linux/coresight.h index 5d3c543..a860933 100644 --- a/include/linux/coresigh

Re: [PATCH] bcma: fix three coding style issues, more than 80 characters per line

2015-01-15 Thread Kalle Valo
Oscar Forner Martinez writes: > Three lines with more than 80 characters per line have been split in > several lines. > > Signed-off-by: Oscar Forner Martinez Thanks, applied to wireless-drivers-next.git. Hopefully I took the correct version this time :) -- Kalle Valo -- To unsubscribe from

[PATCH] watchdog: Remove .owner field from cadence driver

2015-01-15 Thread Michal Simek
.owner files is filled by module_platform_driver(). Signed-off-by: Michal Simek --- Big cleanup was done and this new driver was missed. --- drivers/watchdog/cadence_wdt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/watchdog/cadence_wdt.c b/drivers/watchdog/cadence_wdt.c index 59

Re: [PATCH v4 4/6] dgnc: checkpatch: macros in enclosed parantheses

2015-01-15 Thread Dan Carpenter
On Thu, Jan 15, 2015 at 01:32:39PM +0100, Simone Weiss wrote: > dpacompat.h and digi.h partly define the same macros, so it is necessary to > change them both. I also removed some defines as they were unnecessary, > because they were already defined, or because they were never used. Thanks for ch

[PATCH 3/3] arm64: Emulate SETEND for AArch32 tasks

2015-01-15 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" Emulate deprecated 'setend' instruction for AArch32 bit tasks. setend [le/be] - Sets the endianness of EL0 On systems with CPUs which support mixed endian at EL0, the hardware support for the instruction can be enabled by setting the SCTLR_EL1.SED bit. Like the

Re: [PATCH 3.19 v4 2/2] x86: Enforce maximum instruction size in the instruction decoder

2015-01-15 Thread Masami Hiramatsu
(2015/01/14 6:49), Andy Lutomirski wrote: > x86 instructions cannot exceed 15 bytes, and the instruction decoder > should enforce that. Prior to 6ba48ff46f76, the instruction length > limit was implicitly set to 16, which was an approximation of 15, > but there is currently no limit at all. > > F

[PATCH 1/3] arm64: Track system support for mixed endian EL0

2015-01-15 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" This patch keeps track of the mixed endian EL0 support across the system and provides helper functions to export it. The status is a boolean indicating whether all the CPUs on the system supports mixed endian at EL0. Signed-off-by: Suzuki K. Poulose --- arch/arm64/inc

[PATCHv2 0/3] Handle SETEND for AArch32 tasks

2015-01-15 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" This series add support for controlling the 'setend' instruction, which is deprecated in ARMv8, using the legacy instruction emulation framework, introduced by Punit Agrawal. Changes since V1: - Added a patch to keep track of the mixed endian support and register t

[PATCH 2/3] arm64: Consolidate hotplug notifier for instruction emulation

2015-01-15 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" As of now each insn_emulation has a cpu hotplug notifier that enables/disables the CPU feature bit for the functionality. This patch re-arranges the code, such that there is only one notifier that runs through the list of registered emulation hooks and runs their corresp

Re: [PATCH] ethernet: atheros: Add nss-gmac driver

2015-01-15 Thread Arnd Bergmann
On Thursday 15 January 2015 08:12:51 wstep...@codeaurora.org wrote: > > The nss-gmac driver is for the internal GMAC IP in the Qualcomm IPQ806x > SoC. There are 2 ARM cores and 2 NSS cores inside the IPQ806x SoC. The > main purpose of these NSS cores is to offload the networking stack from > the A

Re: [PATCH/RFC v10 03/19] DT: leds: Add led-sources property

2015-01-15 Thread Sylwester Nawrocki
On 12/01/15 18:06, Mark Brown wrote: > On Mon, Jan 12, 2015 at 10:55:29AM -0600, Rob Herring wrote: >> > On Mon, Jan 12, 2015 at 10:10 AM, Jacek Anaszewski >>> > > There are however devices that don't fall into this category, i.e. they >>> > > have many outputs, that can be connected to a single LE

[PATCH v4] ARM: dts: add bcm2835-pwm bindings

2015-01-15 Thread Bart Tanghe
To probe the bcm2835-pwm driver properly, this dts bindings has to be added to the bcm2835 dtsi file. In expectation of a bcm2835 clock driver, I've added fixed-clock clock binding. --- Changes in v4: - node added by reg value Signed-off-by: Bart Tanghe Acked-by: Stephen Warren diff --git

[PATCH v4 4/6] dgnc: checkpatch: macros in enclosed parantheses

2015-01-15 Thread Simone Weiss
dpacompat.h and digi.h partly define the same macros, so it is necessary to change them both. I also removed some defines as they were unnecessary, because they were already defined, or because they were never used. Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging

Re: [PATCH v9 12/14] x86: perf: intel_pt: Intel PT PMU driver

2015-01-15 Thread Alexander Shishkin
Peter Zijlstra writes: > On Wed, Jan 14, 2015 at 02:18:21PM +0200, Alexander Shishkin wrote: >> +static __init int pt_init(void) >> +{ > >> +pt_pmu.pmu.attr_groups = pt_attr_groups; >> +pt_pmu.pmu.task_ctx_nr = perf_hw_context; > > I just noticed this one, how can this ever work? We wan

[RFC PATCH v3] audit: move the tree pruning to a dedicated thread

2015-01-15 Thread Imre Palik
From: "Palik, Imre" When file auditing is enabled, during a low memory situation, a memory allocation with __GFP_FS can lead to pruning the inode cache. Which can, in turn lead to audit_tree_freeing_mark() being called. This can call audit_schedule_prune(), that tries to fork a pruning thread,

Re: [PATCH v8 2/11] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-01-15 Thread Brian Foster
On Wed, Jan 14, 2015 at 01:05:17AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > This patch implements fallocate's FALLOC_FL_INSERT_RANGE for XFS. > > 1) Make sure that both offset and len are block size aligned. > 2) Update the i_size of inode by len bytes. > 3) Compute the file's logical b

Re: [PATCH v3] ARM: dts: add bcm2835-pwm bindings

2015-01-15 Thread Bart Tanghe
I'm really sorry. I've used the wrong source. I make v4. Regards, Bart On 01/14/2015 06:06 PM, Stephen Warren wrote: > On 01/14/2015 02:18 AM, Bart Tanghe wrote: >> To probe the bcm2835-pwm driver properly, this dts bindings has to be added >> to the bcm2835 dtsi file. >> In expectation of a bcm

Re: [PATCH v8 11/11] xfstests: fsx: Add fallocate insert range operation

2015-01-15 Thread Brian Foster
On Thu, Jan 15, 2015 at 07:14:11PM +0900, Namjae Jeon wrote: > > > > } > > > do_collapse_range(offset, size); > > > break; > > > + case OP_INSERT_RANGE: > > > + TRIM_OFF(offset, file_size); > > > + TRIM_LEN(offset, size, maxfilelen - file_size); > > >

Re: [PATCH v8 9/11] xfstests: generic/043: Test multiple fallocate insert/collapse range calls

2015-01-15 Thread Brian Foster
On Thu, Jan 15, 2015 at 07:14:26PM +0900, Namjae Jeon wrote: > > > > +_require_scratch > > > +_require_xfs_io_command "fiemap" > > > +_require_xfs_io_command "finsert" > > > +_require_xfs_io_command "fcollapse" > > > +_do_die_on_error=y > > > > What is _do_die_on_error for? Seems like that's only

Re: [PATCH] clocksource: timer-atmel-pit: don't suspend/resume if unused

2015-01-15 Thread Daniel Lezcano
On 01/15/2015 12:52 PM, Alexandre Belloni wrote: Hi, I'll do it but only if you review my other series :) deal ! ;) -- Daniel On 15/01/2015 at 12:41:27 +0100, Daniel Lezcano wrote : On 01/13/2015 11:47 AM, Thomas Gleixner wrote: On Mon, 12 Jan 2015, Daniel Lezcano wrote: On 01/12/20

Re: Another SCHED_DEADLINE bug (with bisection and possible fix)

2015-01-15 Thread Peter Zijlstra
On Thu, Jan 15, 2015 at 12:23:43PM +0100, Luca Abeni wrote: > There are some parts of the patch that I do not understand (for example: > if I understand well, if the task is not throttled you set dl_new to 1... > And if it is throttled you change its current runtime and scheduling > deadline... >

Re: [PATCH v3 3/3] perf probe: Fix probing kretprobes

2015-01-15 Thread Masami Hiramatsu
(2015/01/15 8:48), Namhyung Kim wrote: > The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address > instead of the symbol name") converts kprobes to use ref_reloc_sym > (i.e. _stext) and offset instead of using symbol's name directly. So > on my system, adding do_fork ends up with lik

Re: [PATCH v3 2/3] perf probe: Do not rely on map__load() filter to find symbols

2015-01-15 Thread Masami Hiramatsu
(2015/01/15 8:48), Namhyung Kim wrote: > The find_probe_trace_events_from_map() searches matching symbol from a > map (so from a backing dso). For uprobes, it'll create a new map (and > dso) and loads it using a filter. It's a little bit inefficient in that > it'll read out the symbol table every

[PATCH v2 0/1] Email update

2015-01-15 Thread Dmitry Kasatkin
Hello, Sorry for the ugly typo in MAINTAINERS. - Dmitry Dmitry Kasatkin (1): MAINTAINERS: email update MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord..

[PATCH 2/2] virtio_pci: drop Kconfig warnings

2015-01-15 Thread Michael S. Tsirkin
The ABI *is* stable, and has been for a while now. Drop Kconfig warning saying that it's not guaranteed to work. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index 8286b63..083fb

[PATCH 1/2] virtio_pci: Kconfig grammar fix

2015-01-15 Thread Michael S. Tsirkin
This drivers -> this driver. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index 00b2286..8286b63 100644 --- a/drivers/virtio/Kconfig +++ b/drivers/virtio/Kconfig @@

Re: [PATCH v3 1/3] perf tools: Add from argument to dso__find_symbol_by_name()

2015-01-15 Thread Masami Hiramatsu
(2015/01/15 8:48), Namhyung Kim wrote: > When a dso contains multiple symbols which have same name, current > dso__find_symbol_by_name() only finds an one of them and there's no way > to get the all symbols without going through the rbtree. > > So add the new 'from' argument to dso__find_symbol_by

[PATCH v2 1/1] MAINTAINERS: email update

2015-01-15 Thread Dmitry Kasatkin
Changed to my private email address as I left Samsung. Signed-off-by: Dmitry Kasatkin --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index ccb0fef..0ee6758 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4655,7 +4655,7 @@ F:dr

LED-LENSER flashlight

2015-01-15 Thread LED-LENSER
How is your business? This is Hellen from JRS Technology Co.,Ltd. Good News,NOW the LED LENSER H14.2 Headlamp and LED LENSER P7.2 H14R.2 rechargeable headlamp are available. And others LED LENSER flashlight models are all have competitive price. For more products information.please contact us in

Re: [PATCH v2 4/4] perf probe: Fix probing kretprobes

2015-01-15 Thread Masami Hiramatsu
(2015/01/14 20:18), Namhyung Kim wrote: > The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address > instead of the symbol name") converts kprobes to use ref_reloc_sym > (i.e. _stext) and offset instead of using symbol's name directly. So > on my system, adding do_fork ends up with li

Re: Re: [PATCH v2 3/4] perf probe: Do not rely on map__load() filter to find symbols

2015-01-15 Thread Masami Hiramatsu
(2015/01/14 22:54), Arnaldo Carvalho de Melo wrote: > Em Wed, Jan 14, 2015 at 08:18:07PM +0900, Namhyung Kim escreveu: >> The find_probe_trace_events_from_map() searches matching symbol from a >> map (so from a backing dso). For uprobes, it'll create a new map (and >> dso) and loads it using a fil

Re: [PATCH v4 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-15 Thread Wolfram Sang
> > + iproc_i2c->msg = msg; > Can it happen that iproc_i2c->msg still holds an uncompleted message > here or is this serialized by the core? Wolfram? Either here something We have per-adapter locks serializing transfers, if you mean that? > > +static int bcm_iproc_i2c_cfg_speed(struct bcm_ipro

[PATCH 1/1] MAINTEINERS: email update

2015-01-15 Thread Dmitry Kasatkin
Changed to my private email address as I left Samsung. Signed-off-by: Dmitry Kasatkin --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index ccb0fef..0ee6758 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4655,7 +4655,7 @@ F:dr

Re: [PATCH v3 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-15 Thread Wolfram Sang
> >> + case M_CMD_STATUS_LOST_ARB: > >> + dev_err(dev->device, "lost bus arbitration\n"); > > I wouldn't dev_err that, only dev_dbg. I'm not sure how usual the errors > > for the next two cases is, maybe degrade them to dev_dbg, too? > > > These errors are rare, and it's nice to keep the

Re: [PATCH V2 18/24] irqchip: mips-gic: Stop using per-platform mapping tables

2015-01-15 Thread James Hogan
Hi Andrew, On 18/09/14 22:47, Andrew Bresticker wrote: > Now that the GIC properly uses IRQ domains, kill off the per-platform > routing tables that were used to make the GIC appear transparent. > > This includes: > - removing the mapping tables and the support for applying them, > - moving GIC

Re: [PATCH 3/3] ftrace/jprobes/x86: Fix conflict between jprobes and function graph tracing

2015-01-15 Thread Masami Hiramatsu
Hi Steven, Thank you for fixing this bug! (2015/01/15 0:40), Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > If the function graph tracer traces a jprobe callback, the system will > crash. This can easily be demonstrated by compiling the jprobe > sample module that is in the kernel

Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table

2015-01-15 Thread Mark Brown
On Mon, Dec 15, 2014 at 11:31:11AM +0800, Bo Shen wrote: > +#ifdef CONFIG_OF > +static enum wm8904_type wm8904_data = WM8904; > +static enum wm8904_type wm8912_data = WM8912; > + > +static const struct of_device_id wm8904_of_match[] = { > + { > + .compatible = "wlf,wm8904", > +

Re: [PATCH] clocksource: timer-atmel-pit: don't suspend/resume if unused

2015-01-15 Thread Alexandre Belloni
Hi, I'll do it but only if you review my other series :) On 15/01/2015 at 12:41:27 +0100, Daniel Lezcano wrote : > On 01/13/2015 11:47 AM, Thomas Gleixner wrote: > >On Mon, 12 Jan 2015, Daniel Lezcano wrote: > > > >>On 01/12/2015 03:04 PM, Nicolas Ferre wrote: > >>>Le 18/12/2014 15:05, Nicolas Fe

[PATCH] cris: Remove unnecessary KERN_INFO from sync_serial.c

2015-01-15 Thread Masanari Iida
This patch remove unnecessary KERN_INFO in sync_serial.c Signed-off-by: Masanari Iida --- arch/cris/arch-v32/drivers/sync_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/cris/arch-v32/drivers/sync_serial.c b/arch/cris/arch-v32/drivers/sync_serial.c index 08

[PATCH] virtio_rng: drop extra empty line

2015-01-15 Thread Michael S. Tsirkin
makes code look a bit prettier. Signed-off-by: Michael S. Tsirkin --- drivers/char/hw_random/virtio-rng.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c index 72295ea..3fa2f8a 100644 --- a/drivers/char/hw_random/virti

RE: [PATCH v2 1/2] fixup! net/macb: Adding comments to various #defs to make interpretation easier

2015-01-15 Thread David Laight
From: Xander Huff > Put #define comments into a single line. Breaks the 80 char limit. I suspect the definitions could be made to fit by judicial editing. But that probably requires knowing exactly what the comments mean. David > Signed-off-by: Xander Huff > --- > drivers/net/ethernet/

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 11:36:17AM +, One Thousand Gnomes wrote: > yes - there is a model for this in Linux already. Some of the audio > subsystems have "firmware" files distributed which are actually a > structured file that userspace parses to get a real set of firmware for > the controller

Re: [PATCH -mm v2] vmscan: move reclaim_state handling to shrink_slab

2015-01-15 Thread Hillf Danton
> current->reclaim_state is only used to count the number of slab pages > reclaimed by shrink_slab(). So instead of initializing it before we are > going to call try_to_free_pages() or shrink_zone(), let's set in > directly in shrink_slab(). > > Note that after this patch try_to_free_mem_cgroup_pa

[PATCH] virtio_blk: coding style fixes

2015-01-15 Thread Michael S. Tsirkin
Most of our code has struct foo { } Fix two instances where blk is inconsistent. Signed-off-by: Michael S. Tsirkin --- drivers/block/virtio_blk.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 7164da8..c573

[patch] ti-st: clean up data types (fix harmless memory corruption)

2015-01-15 Thread Dan Carpenter
The big issue here is: of_property_read_u32(np, "flow_cntrl", (u32 *)&dt_pdata->flow_cntrl); "->flow_cntrl" is a char so when we write a 32 bit number to it then it corrupts past the end of the char. It's probably hard to notice because the struct has padding so the code works on little

Re: [PATCH] clocksource: timer-atmel-pit: don't suspend/resume if unused

2015-01-15 Thread Daniel Lezcano
On 01/13/2015 11:47 AM, Thomas Gleixner wrote: On Mon, 12 Jan 2015, Daniel Lezcano wrote: On 01/12/2015 03:04 PM, Nicolas Ferre wrote: Le 18/12/2014 15:05, Nicolas Ferre a écrit : From: Sylvain Rochet Waiting for PIT to stop counting takes a long time: 1/(Master clock/prescaler/PIVR) =

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-15 Thread One Thousand Gnomes
On Wed, 14 Jan 2015 11:12:58 -0700 Jason Gunthorpe wrote: > On Wed, Jan 14, 2015 at 04:06:17PM +, One Thousand Gnomes wrote: > > > and I think you effectively have the user usage covered here for such > > things. It much like GPIO pins - we can describe them but we can also > > declare they

Re: [PATCH v4 20/20] kbuild: add a new kselftest_install make target to install selftests

2015-01-15 Thread Michal Marek
On 2015-01-14 17:32, Shuah Khan wrote: > On 01/06/2015 12:43 PM, Shuah Khan wrote: >> Add a new make target to install to install kernel selftests. >> This new target will build and install selftests. kselftest >> target now depends on kselftest_install and runs the generated >> kselftest script to

[PATCH] virtio_balloon: coding style fixes

2015-01-15 Thread Michael S. Tsirkin
Most of our code has struct foo { } Fix two instances where balloon is inconsistent. Signed-off-by: Michael S. Tsirkin --- include/uapi/linux/virtio_balloon.h | 3 +-- drivers/virtio/virtio_balloon.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/uapi/linux/

[RFC PATCH] fs: file freeze support

2015-01-15 Thread Namjae Jeon
We introduce per-file freeze feature for unifying defrag ext4 and xfs as first ingredient. We get the idea courtesy of Dave Chinner (https://lkml.org/lkml/2014/7/14/759) per-file freeze will be used to avoid that file is not modified while userspace is doing the defrag. This patch tries to impleme

[git pull] m68k updates for 3.19 (take 2)

2015-01-15 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit b1940cd21c0f4abdce101253e860feff547291b0: Linux 3.19-rc3 (2015-01-05 17:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-linus for you to fetch changes up to f27b

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-15 Thread Mark Rutland
On Wed, Jan 14, 2015 at 11:57:00PM +, Chanwoo Choi wrote: > Hi Kukjin, > > On 01/15/2015 01:02 AM, Daniel Lezcano wrote: > > On 01/14/2015 04:51 PM, Kukjin Kim wrote: > >> On 01/14/15 14:33, Chanwoo Choi wrote: > >> > >> Hi, > >> > >> + Doug, Olof > >> > >>> This patch adds the support for Exy

Re: [PATCH] char: Added support for u-blox 6 i2c gps driver

2015-01-15 Thread One Thousand Gnomes
Which kernel did you see the write_room oops ? and I'll double check its all fixed. > >> + ublox_gps_i2c_client = client; > >> + ublox_gps_filp = NULL; > >> + ublox_gps_tty_port = NULL; > >> + ublox_gps_is_open = false; > > > > There are some other i2c based tty drivers in the kern

Re: [PATCH 1/2] fbdev: ssd1307fb: set default height if not found in DT node

2015-01-15 Thread Tomi Valkeinen
On 08/01/15 10:17, Lad, Prabhakar wrote: > this patch sets the default height if its not found in DT. > > Signed-off-by: Lad, Prabhakar > --- > drivers/video/fbdev/ssd1307fb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/vide

Re: [PATCH] fbdev: ssd1307fb: drop unused function ssd1307fb_write_data()

2015-01-15 Thread Tomi Valkeinen
On 12/01/15 21:21, Lad, Prabhakar wrote: > this patch drops the unused function ssd1307fb_write_data(). > > Signed-off-by: Lad, Prabhakar > --- > drivers/video/fbdev/ssd1307fb.c | 17 - > 1 file changed, 17 deletions(-) > > diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/

[GIT PULL] fbdev fixes for 3.19

2015-01-15 Thread Tomi Valkeinen
Hi Linus, Please pull fbdev fixes for 3.19: The following changes since commit eaa27f34e91a14cdceed26ed6c6793ec1d186115: linux 3.19-rc4 (2015-01-11 12:44:53 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git tags/fbdev-fixes-3.19

[PATCH 02/10] mfd: rtsx: place register address and values togather

2015-01-15 Thread micky_ching
From: Micky Ching It is more readable to place register address and values define togather. The values define add two leading space indicate belong to the register address defined above. Signed-off-by: Micky Ching --- include/linux/mfd/rtsx_pci.h | 836 +++--

Re: Another SCHED_DEADLINE bug (with bisection and possible fix)

2015-01-15 Thread Luca Abeni
Hi Kirill, On 01/14/2015 01:43 PM, Kirill Tkhai wrote: [...] Say we have a userspace task that evaluates and changes runtime parameters for other tasks (basically what Luca is doing IIRC), and the changes keep resetting the sleep time, the whole guarantee system comes down, rendering the deadlin

Re: [PATCHv2 2/2] spi: orion: Add multiple chip select support to spi-orion

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 11:07:12AM +1000, Ken Wilson wrote: > I agree that we could support any sane chip select for a slave, since the > slave addresses do need > to be explicitly defined. I'm happy with whatever your preference is. Just accepting anything seems easier both for users and in impl

[PATCH 03/10] mfd: rtsx: add debug info when access register failed

2015-01-15 Thread micky_ching
From: Micky Ching Add debug info when access register failed, this is useful for debug. Signed-off-by: Micky Ching --- drivers/mfd/rtsx_pcr.c | 22 +- include/linux/mfd/rtsx_pci.h | 2 ++ 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/rts

[PATCH 01/10] mfd: rtsx: replace TAB by SPC after #define

2015-01-15 Thread micky_ching
From: Micky Ching Re-format coding-style, using uniform SPC after "#define" keyword instead of mixing using TAB and SPC. Signed-off-by: Micky Ching --- include/linux/mfd/rtsx_pci.h | 254 +-- 1 file changed, 127 insertions(+), 127 deletions(-) diff --gi

[PATCH 08/10] mfd: rtsx: add support for rts524A

2015-01-15 Thread micky_ching
From: Micky Ching add support for new chip rts524A. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c| 112 +++ drivers/mfd/rtsx_pcr.c | 5 ++ drivers/mfd/rtsx_pcr.h | 4 ++ include/linux/mfd/rtsx_pci.h | 87 ++

Re: [PATCH V1] regulator: da9211: fix unmatched of_node and add gpio control

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 10:29:08AM +0900, James Ban wrote: > This is a patch for fixing unmatched of_node and adding gpio control. That sounds like two separate changes to me... > Optional properties: > +- bucka-uses-gpio: BUCKA can be controlled by gpio. > +- bucka-enable-platform-gpio: platfor

[PATCH 10/10] mfd: rtsx: using pcr_dbg replace dev_dbg

2015-01-15 Thread micky_ching
From: Micky Ching pcr_dbg is a wrapper of dev_dbg, which can save some code, and help to enable/disable debug message static. Signed-off-by: Micky Ching --- drivers/mfd/rtl8411.c | 11 +-- drivers/mfd/rts5209.c | 4 ++-- drivers/mfd/rts5227.c | 4 ++-- drivers/mfd/rts5229.c | 4

[PATCH 09/10] mfd: rtsx: add support for rts525A

2015-01-15 Thread micky_ching
From: Micky Ching add support for new chip rts525A. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c | 93 +- drivers/mfd/rtsx_pcr.c | 13 +-- drivers/mfd/rtsx_pcr.h | 1 + 3 files changed, 103 insertions(+), 4 deletions(-) diff --git

[PATCH 06/10] mfd: rtsx: update phy register

2015-01-15 Thread micky_ching
From: Micky Ching update phy register value and using direct value instead of macros. It is much easier to debug using constant value than a lot of macros. We usually need compare the value directly to check the configure. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c | 46 +

[PATCH 05/10] mfd: rtsx: update driving settings

2015-01-15 Thread micky_ching
From: Micky Ching update card drive settings, This setting can be used for rts5249 rts524A and rts525A. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/rts5249.c b/drivers/mfd/rts5249.c index 225a

[PATCH 04/10] mfd: rtsx: update PETXCFG address

2015-01-15 Thread micky_ching
From: Micky Ching PETXCFG is defined at 0xFF03, the old 0xFE49 not used any more. Signed-off-by: Micky Ching --- drivers/mfd/rts5227.c| 6 ++ drivers/mfd/rts5249.c| 6 ++ include/linux/mfd/rtsx_pci.h | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a

Re: 3.19-rc4: Xen pci-passthrough regression, bisected to commit cffe0a2b5a34c95a4dadc9ec7132690a5b0f6687 "x86, irq: Keep balance of IOAPIC pin reference count"

2015-01-15 Thread Jiang Liu
Hi Sander, It really cost me some time to understand HVM, PVH, Dom0, PV and read Xen interrupt related code:( Now I have basic understanding of related staffs. The patch for previous issue is actually wrong and I'm working on another fixes for it. I will handle this issue once getting done

[PATCH 00/10] mfd: rtsx: add support for new rts524A and rts525A

2015-01-15 Thread micky_ching
From: Micky Ching This patchset including re-format some coding-style and add two new chip rts524A and rts525A. Micky Ching (10): mfd: rtsx: replace TAB by SPC after #define mfd: rtsx: place register address and values togather mfd: rtsx: add debug info when access register failed mfd: r

[PATCH 07/10] mfd: rtsx: remove LCTLR defination

2015-01-15 Thread micky_ching
From: Micky Ching To enable/disable ASPM we should find LINK CONTROL register in PCI config space. All old chip use 0x80 address, but new chip may use another address, so we using pci_find_capability() to get LINK CONTROL address. rtsx_gops.c was removed, we consider to put some common operation

[PATCH v3] usb: dwc2: call dwc2_is_controller_alive() under spinlock

2015-01-15 Thread Robert Baldyga
This patch fixes the following problem: data transmission in direction IN break unless the GSNPSID register access is done with spinlock held. This issue occurs at least in Exynos4412 SoC, probably in many SoC's from Exynos familly. The problem is described here: https://lkml.org/lkml/2014/12/22/1

Re: [PATCH] pci: generic host: make it more generic

2015-01-15 Thread Alexander Graf
On 11.11.14 11:33, Ming Lei wrote: > This patch converts the generic host controller driver > into a more generic one, and basically don't need > platform's pcibios support, and use DT based generic > APIs to parse resource and remap IO port. > > This patch has been tested on both ARMv7 and ARMv8

Re: [Xen-devel] [PATCH 3/8] x86/xen/p2m: Replace ACCESS_ONCE with READ_ONCE

2015-01-15 Thread Christian Borntraeger
Am 15.01.2015 um 11:43 schrieb David Vrabel: > On 15/01/15 08:58, Christian Borntraeger wrote: >> ACCESS_ONCE does not work reliably on non-scalar types. For >> example gcc 4.6 and 4.7 might remove the volatile tag for such >> accesses during the SRA (scalar replacement of aggregates) step >> (http

Re: [PATCH] [trivial] ASoC: Fix typo in bt-sco.c

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 07:29:28PM +0900, Masanari Iida wrote: > This patch fix spelling typo in bt-sco.c Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v6 3/4] KVM: arm/arm64: implement kvm_arch_intc_initialized and use it in irqfd

2015-01-15 Thread Christoffer Dall
On Tue, Jan 13, 2015 at 06:33:39PM +0100, Eric Auger wrote: > On arm/arm64 the VGIC is dynamically instantiated and it is useful > to expose its state, especially for irqfd setup. > > This patch defines __KVM_HAVE_ARCH_INTC_INITIALIZED and > implements kvm_arch_intc_initialized. > > The new funct

Re: [PATCH v6 2/4] KVM: introduce kvm_arch_intc_initialized

2015-01-15 Thread Christoffer Dall
On Tue, Jan 13, 2015 at 06:33:38PM +0100, Eric Auger wrote: > Introduce __KVM_HAVE_ARCH_INTC_INITIALIZED define and > associated kvm_arch_intc_initialized function. This latter > allows to test whether the virtual interrupt controller is initialized > and ready to accept virtual IRQ injection. On s

Re: backport a4dba130891271084344c12537731542ec77cb85 to 3.16+

2015-01-15 Thread Luis Henriques
On Mon, Jan 12, 2015 at 06:09:33PM +, Stefano Stabellini wrote: > Hi all, > I would like to request a backport of the following commit: > > > commit a4dba130891271084344c12537731542ec77cb85 > Author: Stefano Stabellini > Date: Fri Nov 21 11:07:39 2014 + > > xen/arm/arm64: introduc

Re: [PATCH][trivial] ALSA:hda - Fix typo in hda_controller.c

2015-01-15 Thread Takashi Iwai
At Thu, 15 Jan 2015 19:22:19 +0900, Masanari Iida wrote: > > This patch fix spelling typo in hda_controller.c. > > Signed-off-by: Masanari Iida Applied, thanks. Takashi > --- > sound/pci/hda/hda_controller.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/pci

Re: [PATCH] usb: Fix typo in `struct usb_host_interface' comment

2015-01-15 Thread Oliver Neukum
On Wed, 2015-01-14 at 21:52 -0600, Chris Rorvick wrote: > The descriptor member `bNumEndpoints' is plural. I am afraid that is not a good idea. The name of a member of a structure mentioned in the specification should appear as it is used in the specification. Regards Oliv

[PATCH] ARM: tegra: Store tegra_resume() address in IRAM

2015-01-15 Thread Dmitry Osipenko
Commit 7232398abc6a ("ARM: tegra: Convert PMC to a driver") changed tegra_resume() location storing from late to early and, as a result, broke suspend on Tegra20. PMC scratch register 41 is used by tegra LP1 resume code for retrieving stored physical memory address of common resume function and in

[PATCH] ARM: tegra20: Store CPU "resettable" status in IRAM

2015-01-15 Thread Dmitry Osipenko
Commit 7232398abc6a ("ARM: tegra: Convert PMC to a driver") changed tegra_resume() location storing from late to early and, as a result, broke suspend on Tegra20. PMC scratch register 41 is used by tegra LP1 resume code for retrieving stored physical memory address of common resume function and in

Two variants of fixing Tegra20 suspend bug

2015-01-15 Thread Dmitry Osipenko
Hi, this is third attempt to fix Tegra20 suspend bug. First was to use other PMC scratch register for tegra_resume() address store and second to use syscore ops for PMC driver. Thierry Reding proposed other solution: to use IRAM instead of PMC scratch register. I prepared two implementation varian

Re: [PATCH 2/3] ftrace: Check both notrace and filter for old hash

2015-01-15 Thread Masami Hiramatsu
(2015/01/15 0:40), Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Using just the filter for checking for trampolines or regs is not enough > when updating the code against the records that represent all functions. > Both the filter hash and the notrace hash need to be checked. > >

Re: [PATCH 1/1] gspca: Add high-speed modes for PS3 Eye camera

2015-01-15 Thread Hans de Goede
Hi, On 04-01-15 16:29, Antonio Ospite wrote: On Mon, 29 Dec 2014 11:00:03 -0400 Joe Howse wrote: Add support in the PS3 Eye driver for QVGA capture at higher frame rates: 187, 150, and 137 FPS. This functionality is valuable because the PS3 Eye is popular for computer vision projects and no o

Re: [alsa-devel] unload Audio drivers while playback stream is active case kernel crash

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 01:40:49PM +0900, jiwang wrote: > Can we have a more generic fix to this issue? > Or shall we set owner field for all machine drivers? Ideally we should do both. signature.asc Description: Digital signature

Re: [PATCH v3 3/4] ata: libahci: Allow using multiple regulators

2015-01-15 Thread Gregory CLEMENT
Hi Hans, On 15/01/2015 09:46, Hans de Goede wrote: > Hi, > > On 13-01-15 15:22, Gregory CLEMENT wrote: >> The current implementation of the libahci allows using multiple PHYs >> but not multiple regulators. This patch adds the support of multiple >> regulators. Until now it was mandatory to have

Re: [PATCH 3.16.y-ckt 075/216] drm/i915: Disallow pin ioctl completely for kms drivers

2015-01-15 Thread Luis Henriques
On Tue, Jan 13, 2015 at 07:33:57PM +, Luis Henriques wrote: > On Mon, Jan 12, 2015 at 06:03:12PM +, Luis Henriques wrote: > > 3.16.7-ckt4 -stable review patch. If anyone has any objections, please let > > me know. > > > > Hi Daniel and Chris, > > Thomas Voegtle (on Cc:) reported a regre

Re: [PATCH v3 2/2] x86, arm, platform, xen, kconfig: add xen defconfig helper

2015-01-15 Thread Stefano Stabellini
On Wed, 14 Jan 2015, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This lets you build a kernel which can support xen dom0 > or xen guests by just using: > >make xenconfig > > on both x86 and arm64 kernels. This also splits out the > options which are available currently to be bu

Re: [PATCH] sched,numa: do not move past the balance point if unbalanced

2015-01-15 Thread Peter Zijlstra
On Mon, Jan 12, 2015 at 04:30:39PM -0500, Rik van Riel wrote: > There is a subtle interaction between the logic introduced in commit > e63da03639cc9e6e83b62e7ef8ffdbb92421416a, the way the load balancer e63da03639cc ("sched/numa: Allow task switch if load imbalance improves") I have the below i

Re: [Xen-devel] [PATCH 3/8] x86/xen/p2m: Replace ACCESS_ONCE with READ_ONCE

2015-01-15 Thread David Vrabel
On 15/01/15 08:58, Christian Borntraeger wrote: > ACCESS_ONCE does not work reliably on non-scalar types. For > example gcc 4.6 and 4.7 might remove the volatile tag for such > accesses during the SRA (scalar replacement of aggregates) step > (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145) >

Re: [3/5, media] pwc-if: fix build warning when !CONFIG_USB_PWC_INPUT_EVDEV

2015-01-15 Thread Hans de Goede
Hi, On 02-10-14 01:10, Luis Henriques wrote: Label err_video_unreg in function usb_pwc_probe() is only used when CONFIG_USB_PWC_INPUT_EVDEV is defined. drivers/media/usb/pwc/pwc-if.c:1104:1: warning: label 'err_video_unreg' defined but not used [-Wunused-label] Signed-off-by: Luis Henriques

Re: [GIT PULL] x86/entry changes for 3.20, round 1

2015-01-15 Thread Ingo Molnar
* Paul E. McKenney wrote: > On Wed, Jan 14, 2015 at 05:59:26PM -0800, Andy Lutomirski wrote: > > Hi Ingo and Thomas, > > > > At Linus' suggestion, I'm trying out some maintainerish stuff for x86 > > entry code. Please consider pulling to an appropriate branch *after > > Paul sends his RCU pull

[PATCH v3 2/2] irqchip: Conexant CX92755 interrupts controller driver

2015-01-15 Thread Baruch Siach
Add interrupt controller driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Use the generic irq framework support. Use syscon to access the system global UC_IRQ_CONTROL register. Signed-off-by: Baruch Siach --- drivers/irqchip/Makefile| 1 + drivers/irqchip/irq-digi

Re: [PATCH v2 2/2] fixup! net/macb: improved ethtool statistics support

2015-01-15 Thread Nicolas Ferre
Le 14/01/2015 23:20, Xander Huff a écrit : > Add spaces around arithmetic operators. > Make a separate gem_ethtool_ops for the new statistics functions. > Adjust new block comments to match the existing comments in macb.h. I wouldn't have mixed the 3 modification in one patch. More comments below

[PATCH v3 0/2] irqchip: Conexant CX92755 interrupts controller support

2015-01-15 Thread Baruch Siach
This short series adds support for the Conexant CX92755 SoC interrupts controller. This SoC is part of the Conexant Digicolor series of SoCs. v3: * Split from the "ARM: Conexant Digicolor CX92755 SoC support" series, as these patches should go via the irqchip maintainers * Use syscon

[PATCH v3 1/2] irqchip: devicetree: document Conexant Digicolor irq binding

2015-01-15 Thread Baruch Siach
Signed-off-by: Baruch Siach --- .../bindings/interrupt-controller/digicolor-ic.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt diff --git a/Documentation/devicetree/bindings/interrupt-

<    3   4   5   6   7   8   9   10   >