Re: [PATCH v4 0/2] fbcon: user-defined cursor blink interval

2015-01-30 Thread Tomi Valkeinen
On 27/01/15 01:09, Scot Doyle wrote: > Since users prefer different fbcon cursor blink intervals, allow the > interval to be set via sysfs. The current interval of 200 milliseconds > is retained as the default. Tested with intelfb. > > v2: Use kstrtos16() instead of kstrtoul() and min_t() as sugg

Re: [Nbd] [RFC 4/4] nbd: Add support for nbd as root device

2015-01-30 Thread Markus Pargmann
Hi, On Fri, Jan 30, 2015 at 12:42:54AM +0100, Wouter Verhelst wrote: > On Tue, Jan 13, 2015 at 02:44:25PM +0100, Markus Pargmann wrote: > > Adding support to nbd to use it as a root device. This code essentially > > provides a minimal nbd-client implementation within the kernel. It opens > > a soc

Re: [PATCH net-next] drivers: net: cpsw: make cpsw_ale.c a module to allow re-use on Keystone

2015-01-30 Thread Lad, Prabhakar
On Thu, Jan 29, 2015 at 11:15 PM, Murali Karicheri wrote: > NetCP on Keystone has cpsw ale function similar to other TI SoCs > and this driver is re-used. To allow both ti cpsw and keystone netcp > to re-use the driver, convert the cpsw ale to a module and configure > it through Kconfig option CON

Re: [PATCH v1 2/2] zram: remove init_lock in zram_make_request

2015-01-30 Thread Sergey Senozhatsky
On (01/30/15 15:52), Ganesh Mahendran wrote: > >> When I/O operation is running, that means the /dev/zram0 is > >> mounted or swaped on. Then the device could not be reset by > >> below code: > >> > >> /* Do not reset an active device! */ > >> if (bdev->bd_holders) { > >> ret = -EBU

Re: [Nbd] [PATCH] MAINTAINERS: Update NBD maintainer

2015-01-30 Thread Markus Pargmann
Hi Wouter, On Fri, Jan 30, 2015 at 12:51:06AM +0100, Wouter Verhelst wrote: > Hi Markus, > > On Wed, Jan 28, 2015 at 07:35:38PM +0100, Markus Pargmann wrote: > > Paul stops maintining NBD and I will take his place from now on. > > Thanks for stepping in! > > For clarity: I've been maintaining t

Re: 3.19 on Nokia n900: audio quality awful

2015-01-30 Thread Pali Rohár
On Thursday 29 January 2015 21:42:18 Pavel Machek wrote: > Hi! > > > >> I did this: > > >> > > >> I'm not sure which one is "main" microphone and which is > > >> headset, but I guess 2V should be "close enough" to 2.5V > > >> to produce something different from zeros..? > > > > > > Main or integ

Re: [PATCH net-next] drivers: net: cpsw: make cpsw_ale.c a module to allow re-use on Keystone

2015-01-30 Thread Mugunthan V N
On Friday 30 January 2015 04:45 AM, Murali Karicheri wrote: > NetCP on Keystone has cpsw ale function similar to other TI SoCs > and this driver is re-used. To allow both ti cpsw and keystone netcp > to re-use the driver, convert the cpsw ale to a module and configure > it through Kconfig option CO

BUSINESS PROPOSAL

2015-01-30 Thread Dr. Isiaka Yusuf
ATTN; I'M DR ISIAKA YUSUF, I HAVE A BUSINESS PROPOSAL FOR YOU. KINDLY GET BACK TO ME ON MY PRIVATE EMAIL: (dr.iskyu...@rediffmail.com) FOR MORE DETAILS. BEST REGARDS, DR. ISIAKA YUSUF -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord..

Re: [RFC V2] mm:change smaps/pagemap_read calculation behavior

2015-01-30 Thread Naoya Horiguchi
On Fri, Jan 30, 2015 at 03:47:54PM +0800, Wang, Yalin wrote: > This patch change smaps/pagemap_read pagetable walk behavior, to make > sure not skip VM_PFNMAP pagetables, > so that we can calculate COW pages of VM_PFNMAP as normal pages. > > Signed-off-by: Yalin Wang Hi Yalin, The original moti

Re: [PATCH] mmc: Add hardware dependencies for sdhci-pxav3 and sdhci-pxav2

2015-01-30 Thread Jean Delvare
Hi Ulf, On Thu, 29 Jan 2015 16:01:48 +0100, Ulf Hansson wrote: > On 29 January 2015 at 15:17, Jean Delvare wrote: > > On Wed, 28 Jan 2015 15:04:24 +0100, Ulf Hansson wrote: > >> For those SOC that want these drivers, they should be able to select > >> them from their defconfigs. So it will be an

[patch] irqchip: mtk-sysirq: fix an error code

2015-01-30 Thread Dan Carpenter
"chip_data->intpol_base" used to be an ERR_PTR() but we recently changed it to be NULL. We need to update the error code as well because "PTR_ERR(NULL)" means success where really we want to return -ENOMEM. Fixes: cdb647a772e9 ('irqchip: mtk-sysirq: Get irq number from register resource size') S

Re: [PATCH] x86/mm, hibernate: Fix misjudgment of register setup_data page to nosave region

2015-01-30 Thread Yinghai Lu
On Thu, Jan 29, 2015 at 7:58 PM, Lee, Chun-Yi wrote: > The reserve setup_data action break usable regions to not align to > page size. As following case: > > BIOS-e820: [mem 0x00088000-0x000b] reserved > BIOS-e820: [mem 0x0010-0x94ca] usable > ... > e820

Re: [PATCH v4] mm: incorporate read-only pages into transparent huge pages

2015-01-30 Thread Vlastimil Babka
On 01/29/2015 03:59 PM, Ebru Akagunduz wrote: > This patch aims to improve THP collapse rates, by allowing > THP collapse in the presence of read-only ptes, like those > left in place by do_swap_page after a read fault. > > Currently THP can collapse 4kB pages into a THP when > there are up to khu

Re: xen-blkfront: weird behavior of "iostat" after VM live-migrate which xen-blkfront module has indirect descriptors

2015-01-30 Thread Ouyang Zhaowei (Charles)
On 2015.1.26 10:30, Ouyang Zhaowei (Charles) wrote: > > On 2015.1.23 19:15, Roger Pau Monné wrote: >> Hello, >> >> El 23/01/15 a les 8.59, Ouyang Zhaowei (Charles) ha escrit: >>> Hi Roger, >>> >>> We are testing the indirect feature of xen-blkfront module these days. >>> And we found that, after

KEYS: KEYS_DEBUG_PROC_KEYS

2015-01-30 Thread Paul Bolle
Your commit dabd39cc2fb1 ("KEYS: Make /proc/keys unconditional if CONFIG_KEYS=y") is included in today's linux-next (ie, next-20150130). I noticed because a script I use to check linux-next spotted a minor problem with it. That commit removed the Kconfig symbol KEYS_DEBUG_PROC_K

[PATCH v5 0/2] fbcon: user-defined cursor blink interval

2015-01-30 Thread Scot Doyle
Since users prefer different fbcon cursor blink intervals, allow the interval to be set via sysfs. The current interval of 200 milliseconds is retained as the default. Tested with intelfb. v2: Use kstrtos16() instead of kstrtoul() and min_t() as suggested by Geert Uytterhoeven v3: Add error

Re: [RFC PATCH 1/1] PM / domains: Add support for virtual power domains

2015-01-30 Thread amit daniel kachhap
Hi Karol, I guess this patch series is not complete and use case implementation will be more helpful for clarity. Also I can think of another way in which this complete implementation can be done with pd name as something "pd-virt". This pd can be handled differently inside the platform specific e

[PATCH v5 1/2] fbcon: store cursor blink interval in fbcon_ops

2015-01-30 Thread Scot Doyle
fbcon toggles cursor display state every 200 milliseconds when blinking. Since users prefer different toggle intervals, prepare to expose the interval via sysfs by moving it to fbdev_ops and setting the default to 200 milliseconds. Signed-off-by: Scot Doyle --- drivers/video/console/fbcon.c | 5

[PATCH v5 2/2] fbcon: expose cursor blink interval via sysfs

2015-01-30 Thread Scot Doyle
fbcon toggles cursor display state every 200 milliseconds when blinking. Since users prefer different toggle intervals, expose the interval via /sys/class/graphics/fbcon/cursor_blink_ms so that it may be customized. Values written to the interface set the approximate time interval in milliseconds

[patch] bnx2fc: fix test of "err_warn_bit_map"

2015-01-30 Thread Dan Carpenter
The bug in this code is "if (err_warn_bit_map & (u64) (1 << i)) {". The cast to u64 happens after we have already shift wrapped so it's too late. Presumably this means some warnings are ignored. I also cleanup the other err_warn_bit_map check. Signed-off-by: Dan Carpenter --- Not tested. diff

Re: [PATCH v2] video: fbdev: fix sys_copyarea

2015-01-30 Thread Måns Rullgård
Tomi Valkeinen writes: > On 22/01/15 03:19, Mans Rullgard wrote: >> The sys_copyarea() function performs the same operation as >> cfb_copyarea() but using normal memory access instead of I/O >> accessors. Since the introduction of sys_copyarea(), there >> have been two fixes to cfb_copyarea(): >

Re: [PATCH 1/8] KVM: x86: return bool from kvm_apic_match*()

2015-01-30 Thread Paolo Bonzini
On 29/01/2015 23:10, Joe Perches wrote: > On Thu, 2015-01-29 at 22:48 +0100, Radim Krčmář wrote: >> And don't export the internal ones while at it. > [] >> -int kvm_apic_match_logical_addr(struct kvm_lapic *apic, u32 mda) >> +static bool kvm_apic_match_logical_addr(struct kvm_lapic *apic, u32 mda

Re: 3.19 on Nokia n900: audio quality awful

2015-01-30 Thread Pavel Machek
Hi! > > > diff --git a/sound/soc/omap/rx51.c b/sound/soc/omap/rx51.c > > > index 04896d6252a2..7f299357c2d2 100644 > > > --- a/sound/soc/omap/rx51.c > > > +++ b/sound/soc/omap/rx51.c > > > @@ -250,14 +250,14 @@ static const struct snd_soc_dapm_route > > > audio_map[] = { > > > > > > {"FM Transm

Re: [PATCH 2/8] KVM: x86: cleanup kvm_apic_match_*()

2015-01-30 Thread Paolo Bonzini
On 29/01/2015 22:48, Radim Krčmář wrote: > The majority of this patch turns > result = 0; if (CODE) result = 1; return result; > into > return CODE; > because we return bool now. Added a bunch of "!= 0" to avoid automagic conversion to bool. Paolo > Signed-off-by: Radim Krčmář > --- > ar

Re: Reading /sys with side effects (was Re: [PATCH 1/2] Documentation: leds: Add description of LED Flash class extension)

2015-01-30 Thread Jacek Anaszewski
Hi Pavel, On 01/29/2015 10:14 PM, Pavel Machek wrote: Hi! + - flash_fault - list of flash faults that may have occurred: + * led-over-voltage - flash controller voltage to the flash LED + has exceededthe limit specific to the flash controller +

Re: [PATCH] regulator: qcom-rpm: Make it possible to specify supply

2015-01-30 Thread Srinivas Kandagatla
Hi Bjorn, Thanks for sending this patch.. I almost forgot about this. Shouldn’t we update the DT Bindings with this info? Other than that: Acked-by: Srinivas Kandagatla --srini On 30/01/15 00:22, Bjorn Andersson wrote: Make it possible to specify the supply of a regulator, through the vin-su

Re: [1/3] powerpc/pmac: Fix DT refcount imbalance in pmac_pic_probe_oldstyle

2015-01-30 Thread Geert Uytterhoeven
Hi Michael, On Fri, Jan 30, 2015 at 5:09 AM, Michael Ellerman wrote: > On Wed, 2015-14-01 at 13:51:57 UTC, Geert Uytterhoeven wrote: >> of_find_node_by_name() calls of_node_put() on its "from" parameter, >> which must not be done on "master", as it's still in use, and will be >> released manually

RE: [PATCH 1/2] dmaengine: fsl-edma: add dma memcpy support

2015-01-30 Thread Yao Yuan
Hi Vinod, Could you please take some times help to review the two patches? Thanks. Best Regards, Yuan Yao > -Original Message- > From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org] > On Behalf Of Jingchang Lu > Sent: Wednesday, January 14, 2015 5:37 PM > To: Lu

Re: [PATCH v5 1/2] DT: iio: vadc: document dt binding

2015-01-30 Thread Ivan T. Ivanov
On Wed, 2015-01-28 at 18:45 +, Jonathan Cameron wrote: > On 20/01/15 10:15, Ivan T. Ivanov wrote: > > From: Stanimir Varbanov > > > > Document DT binding for Qualcomm SPMI PMIC voltage ADC > > driver. > > > > Signed-off-by: Stanimir Varbanov > > Signed-off-by: Ivan T. Ivanov > Given the o

Re: [PATCH 5/8] KVM: x86: use MDA for interrupt matching

2015-01-30 Thread Paolo Bonzini
On 29/01/2015 22:48, Radim Krčmář wrote: > In mixed modes, we musn't deliver xAPIC IPIs like x2APIC and vice versa. > Instead of preserving the information in apic_send_ipi(), we regain it > by converting all destinations into correct APIC MDA in the slow path. > This allows easier reasoning abou

Re: [PATCH] apply: refuse touching a file beyond symlink

2015-01-30 Thread Christian Couder
On Thu, Jan 29, 2015 at 9:45 PM, Junio C Hamano wrote: > > Instead, for any patch in the input that leaves a path (i.e. a non > deletion) in the result, we check all leading paths against interim > result and then either the index or the working tree. The interim > results of applying patches are

Re: [PATCH] devfreq: Fix build break of devfreq-event class

2015-01-30 Thread MyungJoo Ham
On Fri, Jan 30, 2015 at 1:54 PM, Chanwoo Choi wrote: > This patch fixes the build break of the exynos-ppmu driver because Makefile > in drivers/devfreq don't include the entry of devfreq-event.c driver. > > The original patch[1] includes the entry to build devfreq-event.c without > the build break

Re: [PATCH v5 2/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2015-01-30 Thread Ivan T. Ivanov
On Wed, 2015-01-28 at 18:46 +, Jonathan Cameron wrote: > On 20/01/15 10:15, Ivan T. Ivanov wrote: > > From: Stanimir Varbanov > > > > The voltage ADC is peripheral of Qualcomm SPMI PMIC chips. It has > > 15bits resolution and register space inside PMIC accessible across > > SPMI bus. > > >

Re: [PATCH v2 00/30] Refine PCI scan interfaces and make generic pci host bridge

2015-01-30 Thread Yijing Wang
Hi Bjorn, Any comments for this series ? I'm so sorry to bother you. :) On 2015/1/21 8:29, Yijing Wang wrote: > v1->v2: > Split pci_host_bridge_list into a new patch, remove .phb_probe_mode > and rework powerpc .phb_of_scan_bus() for simpilicty suggested by > Arnd. Refresh s

[PATCH 1/5] locking/rwsem: Use task->state helpers

2015-01-30 Thread Davidlohr Bueso
Call __set_task_state() instead of assigning the new state directly. These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping track of who last changed the state. Signed-off-by: Davidlohr Bueso --- kernel/locking/rwsem-spinlock.c | 2 +- kernel/locking/rwsem-xadd.c | 3 +--

[PATCH 3/5] locking/rwsem: Set lock ownership ASAP

2015-01-30 Thread Davidlohr Bueso
In order to optimize the spinning step, we need to set the lock owner as soon as the lock is acquired; after a successful counter cmpxchg operation, that is. This is particularly useful as rwsems need to set the owner to nil for readers, so there is a greater chance of falling out of the spinning.

RE: [RFC V2] mm:change smaps/pagemap_read calculation behavior

2015-01-30 Thread Wang, Yalin
> -Original Message- > From: Naoya Horiguchi [mailto:n-horigu...@ah.jp.nec.com] > Sent: Friday, January 30, 2015 4:24 PM > To: Wang, Yalin > Cc: 'a...@linux-foundation.org'; 'kirill.shute...@linux.intel.com'; > 'o...@redhat.com'; 'gorcu...@openvz.org'; 'pfei...@google.com'; > 'aqu...@redhat

[PATCH 4/5] locking/rwsem: Avoid deceiving lock spinners

2015-01-30 Thread Davidlohr Bueso
When readers hold the semaphore, the ->owner is nil. As such, and unlike mutexes, '!owner' does not necessarily imply that the lock is free. This will cause writers to potentially spin excessively as they've been mislead to thinking they have a chance of acquiring the lock, instead of blocking. Th

[PATCH 5/5] locking/rwsem: Check for active lock before bailing on spinning

2015-01-30 Thread Davidlohr Bueso
37e9562453b (locking/rwsem: Allow conservative optimistic spinning when readers have lock) forced the default for optimistic spinning to be disabled if the lock owner was nil, which makes much sense for readers. However, while it is not our priority, we can make some optimizations for write-mostly

[PATCH 2/5] locking/rwsem: Document barrier need when waking tasks

2015-01-30 Thread Davidlohr Bueso
The need for the smp_mb in __rwsem_do_wake should be properly documented. Applies to both xadd and spinlock variants. Signed-off-by: Davidlohr Bueso --- kernel/locking/rwsem-spinlock.c | 7 +++ kernel/locking/rwsem-xadd.c | 7 +++ 2 files changed, 14 insertions(+) diff --git a/kerne

[PATCH -tip v2 0/5] rwsem: Fine tuning

2015-01-30 Thread Davidlohr Bueso
Hello, First two patches are self descriptive obvious add-ons. The rest are performance enhancements for write-mostly workloads. While this is not our priority (use mutexes instead!!), there are cases where heavy use of writers can severely hurt rwsem performance. For instance, we got reports[1]

Re: [PATCH v8 0/2] Imagination Technologies PWM support

2015-01-30 Thread Thierry Reding
On Thu, Jan 29, 2015 at 01:32:09PM -0300, Ezequiel Garcia wrote: > On 01/20/2015 07:52 AM, Ezequiel Garcia wrote: > > > > > > On 01/09/2015 02:54 PM, Ezequiel Garcia wrote: > >> A new round for the IMG PWM driver. > >> > >> The IMG PWM controller is muxed with a PDM controller, through a shared >

Re: [PATCH 8/8] KVM: x86: simplify kvm_apic_map

2015-01-30 Thread Paolo Bonzini
On 29/01/2015 22:48, Radim Krčmář wrote: > recalculate_apic_map() uses two passes over all VCPUs. This is a relic > from time when we selected a global mode in the first pass and set up > the optimized table in the second pass (to have a consistent mode). > > Recent changes made mixed mode unop

Re: [PATCH 7/8] KVM: x86: avoid logical_map when it is invalid

2015-01-30 Thread Paolo Bonzini
On 29/01/2015 22:48, Radim Krčmář wrote: > We want to support mixed modes and the easiest solution is to avoid > optimizing those weird and unlikely scenarios. Hmm, what happens if use maxcpus to disable some CPUs at startup? Could the disabled CPUs remain in xapic mode while the others move to

Re: [PATCH 0/8] KVM: minor APIC fixes and cleanups

2015-01-30 Thread Paolo Bonzini
On 29/01/2015 22:48, Radim Krčmář wrote: > This patch series is made our of three logical parts, > > [1-3/8] are just a cleanup and could be omitted > [4-6/8] improve broadcast detection and unoptimized delivery > [7-8/8] handle mixed mode (by falling back to improvements from [5-6/9]) I applie

Re: [PATCH v2 2/2] MIPS: fix kernel lockup or crash after CPU offline/online

2015-01-30 Thread Maciej W. Rozycki
On Thu, 15 Jan 2015, Aaro Koskinen wrote: > As printk() invocation can cause e.g. a TLB miss, printk() cannot be > called before the exception handlers have been properly initialized. > This can happen e.g. when netconsole has been loaded as a kernel module > and the TLB table has been cleared whe

Re: [PATCH 1/2] gpio: sysfs: fix memory leak in gpiod_export_link

2015-01-30 Thread Linus Walleij
On Mon, Jan 26, 2015 at 12:02 PM, Johan Hovold wrote: > Fix memory leak in the gpio sysfs interface due to failure to drop > reference to device returned by class_find_device when creating a link. > > Fixes: a4177ee7f1a8 ("gpiolib: allow exported GPIO nodes to be named > using sysfs links") > Cc:

Re: [PATCH 8/8] phy: add driver for TI TUSB1210 ULPI PHY

2015-01-30 Thread Heikki Krogerus
Hi, > > You can't really compare a bus like i2c, which can't enumerate devices > > natively, to ULPI which can. > > why not ? The BIOS might not need to use the PHY (or USB) at all, it can > very well decide to never turn it on, right ? If ULPI was seen as a bus, then no. BIOS would have definit

Re: [PATCH 2/2] gpio: sysfs: fix memory leak in gpiod_sysfs_set_active_low

2015-01-30 Thread Linus Walleij
On Mon, Jan 26, 2015 at 12:02 PM, Johan Hovold wrote: > Fix memory leak in the gpio sysfs interface due to failure to drop > reference to device returned by class_find_device when setting the > gpio-line polarity. > > Fixes: 0769746183ca ("gpiolib: add support for changing value polarity > in sys

Re: [PATCH] pinctrl: zynq: Fix usb0 pins

2015-01-30 Thread Linus Walleij
On Mon, Jan 26, 2015 at 5:48 PM, Andreas Färber wrote: > Fix usb0 pin 19 -> 29 (matching ethernet1 pins and manual). > Pin 19 is used for ethernet0 on the Parallella board. > > Fixes: add958cee967 ("pinctrl: Add driver for Zynq") > Signed-off-by: Andreas Färber Patch applied with Sören's ACK.

Re: [PATCH v4 5/5] drivers: bus: Add Simple Power-Managed Bus Driver

2015-01-30 Thread Ulf Hansson
On 26 January 2015 at 17:16, Geert Uytterhoeven wrote: > Add a driver for transparent busses that don't need a real driver, but > where the bus controller is part of a PM domain, or under the control of > a functional clock. Typically, the bus controller's PM domain and/or > clock must be enabled

[PATCH v6 0/2] fbcon: user-defined cursor blink interval

2015-01-30 Thread Scot Doyle
Since users prefer different fbcon cursor blink intervals, allow the interval to be set via sysfs. The current interval of 200 milliseconds is retained as the default. Tested with intelfb. v2: Use kstrtos16() instead of kstrtoul() and min_t() as suggested by Geert Uytterhoeven v3: Add error

[PATCH perf/core 0/2] perf-probe: bugfix and update

2015-01-30 Thread Masami Hiramatsu
Hi, These patches are a bugfix and an update of the document about perf-probe. - The first one fixes probing on the function which has been inlined by optimizer but is not marked as inlined in the debuginfo. - The second one just updates perf-probe document. Thank you, --- Masami Hira

Re: [PATCH 7/8] KVM: x86: avoid logical_map when it is invalid

2015-01-30 Thread Paolo Bonzini
On 29/01/2015 22:48, Radim Krčmář wrote: > We want to support mixed modes and the easiest solution is to avoid > optimizing those weird and unlikely scenarios. > > Signed-off-by: Radim Krčmář > --- > arch/x86/include/asm/kvm_host.h | 1 + > arch/x86/kvm/lapic.c| 16 +++

[PATCH perf/core 2/2] [DOC] perf-probe: Update perf-probe document

2015-01-30 Thread Masami Hiramatsu
Update Documentation/perf-probe.txt to add descriptions of some newer options. Signed-off-by: Masami Hiramatsu --- tools/perf/Documentation/perf-probe.txt | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/tools/perf/Documentation/perf-probe.txt b/tools/perf

[PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown

2015-01-30 Thread Bo Shen
In startup function, enable ssc clock and in shutdown function, disable clock. And also remove disable ssc in shutdown function, as ssc is disabled in prepare function. Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 28 +++- 1 file changed, 11 insertions(+)

[PATCH 0/3] ASoC: atmel_ssc_dai: fix and refactor

2015-01-30 Thread Bo Shen
This patch set do following things: - Fix the DSP mode A setting. - Refactor the startup and shutdown function. - Only clean PDC when use PDC. Bo Shen (3): ASoC: atmel_ssc_dai: fix the setting for DSP mode ASoC: atmel_ssc_dai: refactor the startup and shutdown ASoC: atmel_ssc_dai: onl

[PATCH 3/3] ASoC: atmel_ssc_dai: only clean PDC when using PDC

2015-01-30 Thread Bo Shen
Only using PDC, it needs to clean PDC registers. Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index 0ed5ac3..80eb1f1 100644 -

[PATCH v6 1/2] fbcon: store cursor blink interval in fbcon_ops

2015-01-30 Thread Scot Doyle
fbcon toggles cursor display state every 200 milliseconds when blinking. Since users prefer different toggle intervals, prepare to expose the interval via sysfs by moving it to fbdev_ops and setting the default to 200 milliseconds. Signed-off-by: Scot Doyle --- drivers/video/console/fbcon.c | 5

Re: [PATCH] pinctrl: rockchip: Only mask interrupts; never disable

2015-01-30 Thread Linus Walleij
On Mon, Jan 26, 2015 at 5:24 PM, Doug Anderson wrote: > The Rockchip GPIO interrupt controller totally throws away all status > about an interrupt when you "disable" the interrupt. That has > unfortunate consequences in the following situation: > > 1. An edge-triggered interrupt is enabled and s

[PATCH 1/3] ASoC: atmel_ssc_dai: fix the setting for DSP mode

2015-01-30 Thread Bo Shen
When SCC work in DSP A mode, the data outputs/inputs are shift out on falling edge, the frame sync are sample on the rising edge. Reported-by: Songjun Wu Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/s

[PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-01-30 Thread Masami Hiramatsu
Fix to handle optimized no-inline functions which have only function definition but no actual instance at that point. To fix this problem, we need to find actual instance of the function. Without this patch: # perf probe -a __up Failed to get entry address of __up. Error: Failed to

[PATCH v6 2/2] fbcon: expose cursor blink interval via sysfs

2015-01-30 Thread Scot Doyle
fbcon toggles cursor display state every 200 milliseconds when blinking. Since users prefer different toggle intervals, expose the interval via /sys/class/graphics/fbcon/cursor_blink_ms so that it may be customized. Values written to the interface set the approximate time interval in milliseconds

Re: [PATCH] ARM: dts: mvebu: add ethernet to the cm-a510 board

2015-01-30 Thread Sebastian Hesselbarth
[added MVEBU maintainers and Gabriel to Cc] On 30.01.2015 07:06, Jean-Francois Moine wrote: This patch enables the ethernet device by default, permitting CM-A510 boards to access the network when an ethernet connector is present. Signed-off-by: Jean-Francois Moine Tested-by: Gabriel Dobato

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

2015-01-30 Thread Alexander Shishkin
On 29 January 2015 at 17:20, Peter Zijlstra wrote: > On Thu, Jan 29, 2015 at 05:03:21PM +0200, Alexander Shishkin wrote: >> > We're already holding ctx->mutex, this should have made lockdep scream. >> >> As I mentioned offline, cpuctx->ctx.mutex is set to a lockdep class of >> its own, so lockdep

[PATCH 0/2] clk: qcom: gcc: Add support to child devices.

2015-01-30 Thread Srinivas Kandagatla
This patchset adds support to child devices whose memory registers fall insider gcc memory map. For example on APQ8064 whose thermal sensor registers are inside gcc memory range. Thanks, srini Srinivas Kandagatla (2): clk: qcom: gcc-msm8960: add child devices support. clk: qcom: gcc bindings

Re: [PATCH v8 0/2] Imagination Technologies PWM support

2015-01-30 Thread Andrew Bresticker
> Also you're making it especially difficult to build-test by not > providing even the basic bits of your SoC support first. All even > linux-next seems to have for the Pistachio SoC is the addition of a > compatible string to the dw-mmc driver. > > I'll take the PWM driver, but I'll assume that yo

[PATCH 2/2] clk: qcom: gcc bindings: Update to add child node support.

2015-01-30 Thread Srinivas Kandagatla
This patch adds note in the bindings about the optional child nodes which are currently possible with SOCs like MSM8960, APQ8064. These child device nodes are typically for drivers like thermal sensor which fall under the memory-map of gcc. Signed-off-by: Srinivas Kandagatla --- Documentation/de

[PATCH 1/2] clk: qcom: gcc-msm8960: add child devices support.

2015-01-30 Thread Srinivas Kandagatla
This patch adds support to add child devices to gcc as some of the registers mapped by gcc are used by drivers like thermal sensors. Signed-off-by: Srinivas Kandagatla --- drivers/clk/qcom/gcc-msm8960.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/clk/qcom/gc

Re: [PATCH net-next] drivers: net: cpsw: make cpsw_ale.c a module to allow re-use on Keystone

2015-01-30 Thread Mugunthan V N
On Friday 30 January 2015 01:48 PM, Mugunthan V N wrote: > On Friday 30 January 2015 04:45 AM, Murali Karicheri wrote: >> NetCP on Keystone has cpsw ale function similar to other TI SoCs >> and this driver is re-used. To allow both ti cpsw and keystone netcp >> to re-use the driver, convert the cps

[PATCH 06/10] staging: comedi: ni_daq_dio24: include new "comedi_pcmcia.h" header

2015-01-30 Thread Ian Abbott
Include the new "../comedi_pcmcia.h" header instead of , , and "../comedidev.h". isn't needed and the others will now get included indirectly. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/ni_daq_dio24.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/d

[PATCH 08/10] staging: comedi: ni_mio_cs: include new "comedi_pcmcia.h" header

2015-01-30 Thread Ian Abbott
Include the new "../comedi_pcmcia.h" header instead of , and "../comedidev.h", which will now get included indirectly. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/ni_mio_cs.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/comedi/drivers

[PATCH 07/10] staging: comedi: ni_labpc_cs: include new "comedi_pcmcia.h" header

2015-01-30 Thread Ian Abbott
Include the new "../comedi_pcmcia.h" header instead of , , and "../comedidev.h". isn't needed and the others will now get included indirectly. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/ni_labpc_cs.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dr

[PATCH 09/10] staging: comedi: quatech_daqp_cs: include new "comedi_pcmcia.h" header

2015-01-30 Thread Ian Abbott
Include the new "../comedi_pcmcia.h" header instead of , , and "../comedidev.h". isn't needed and the others will now get included indirectly. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/quatech_daqp_cs.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git

[PATCH 10/10] staging: comedi: comedi_pcmcia.h: move PCMCIA stuff out of comedidev.h

2015-01-30 Thread Ian Abbott
Move the PCMCIA-specific stuff out of "comedidev.h" into "comedi_pcmcia.h". Comedi PCMCIA drivers now include "comedi_pcmcia.h" instead of "comedidev.h", which now gets pulled in indirectly. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_pcmcia.h | 28 ++--

[PATCH 05/10] staging: comedi: ni_daq_700: include new "comedi_pcmcia.h" header

2015-01-30 Thread Ian Abbott
Include the new "../comedi_pcmcia.h" header instead of , and "../comedidev.h", which will now get included indirectly. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/ni_daq_700.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers

[PATCH 03/10] staging: comedi: cb_das16_cs: include new "comedi_pcmcia.h" header

2015-01-30 Thread Ian Abbott
Include the new "../comedi_pcmcia.h" header instead of , and "../comedidev.h", which will now get included indirectly. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/cb_das16_cs.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/comedi/driver

[PATCH 02/10] staging: comedi: comedi_pcmcia.c: include new "comedi_pcmcia.h" header

2015-01-30 Thread Ian Abbott
Include the new "comedi_pcmcia.h" header instead of , and "comedidev.h", which will now get included indirectly. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_pcmcia.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/comedi/comedi_pcmcia.c b

[PATCH 04/10] staging: comedi: das08_cs: include new "comedi_pcmcia.h" header

2015-01-30 Thread Ian Abbott
Include the new "../comedi_pcmcia.h" header instead of , and "../comedidev.h", which will now get included indirectly. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/das08_cs.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/d

[PATCH 00/10] staging: comedi: introduce comedi_pcmcia.h header

2015-01-30 Thread Ian Abbott
"comedidev.h" includes PCMCIA-specific stuff that gets included by all comedi drivers including non-PCMCIA ones. Separate it out into its own header "comedi_pcmcia.h". Make the new header include , and "comedidev.h" so that comedi PCMCIA drivers do not need to include them explicitly. 01) stagi

Re: [PATCH v4] mm: incorporate read-only pages into transparent huge pages

2015-01-30 Thread Kirill A. Shutemov
On Thu, Jan 29, 2015 at 04:59:07PM +0200, Ebru Akagunduz wrote: > This patch aims to improve THP collapse rates, by allowing > THP collapse in the presence of read-only ptes, like those > left in place by do_swap_page after a read fault. > > Currently THP can collapse 4kB pages into a THP when > t

[PATCH 01/10] staging: comedi: add comedi_pcmcia.h

2015-01-30 Thread Ian Abbott
Add a new header that Comedi PCMCIA drivers can include instead of "comedidev.h". Currently, it just pulls in , and "comedidev.h", but the plan is to migrate the PCMCIA-specific stuff from "comedidev.h" here. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_pcmcia.h | 31 +++

[PATCH v3 0/3] pinctrl: Qualcomm msm8916 pinctrl driver

2015-01-30 Thread Stanimir Varbanov
Changes since v2: - addressed all Andy's comments --- Changes since v1: - correct the subject and description in 1/3 - not break the fields in msm8916_groups[] array in 3/3 - added Reviewed-by tags on all three patch

[PATCH] mm: remove remaining references to NUMA hinting bits and helpers -fix

2015-01-30 Thread Mel Gorman
The patch "mm: remove remaining references to NUMA hinting bits and helpers" was meant to remove NUMA hinting bits and helpers but broke is_swap_pte. >From the original bug report For at least the past couple of days tests of libhugetlbfs have been hanging on mustang in the mlock t

[PATCH v3 1/3] pinctrl: qcom: increase variable size for register offsets

2015-01-30 Thread Stanimir Varbanov
From: Joonwoo Park On newer TLMM hardware blocks the registers are spread and we need an offsets upper than 16 bits to address them. Increase the register offset variables to 32 bits size. Signed-off-by: Joonwoo Park Signed-off-by: Stanimir Varbanov Reviewed-by: Bjorn Andersson --- drivers/p

[PATCH v3 2/3] DT: pinctrl: Document Qualcomm MSM8916 pinctrl binding

2015-01-30 Thread Stanimir Varbanov
Adds devicetree binding documentation. Signed-off-by: Stanimir Varbanov Reviewed-by: Bjorn Andersson --- .../bindings/pinctrl/qcom,msm8916-pinctrl.txt | 186 1 files changed, 186 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/pinc

Re: [PATCH] arm/mm: fix compiler warning in pmdp_invalidate() (in -next)

2015-01-30 Thread Mel Gorman
On Thu, Jan 29, 2015 at 05:48:00PM +, Andre Przywara wrote: > Commit ff61d185f4e7 ("mm: convert p[te|md]_mknonnuma and remaining > page table manipulations") removed a check in > mm/pgtable-generic.c:pmdp_invalidate(), which leaves the > pmd_mknotpresent macro the only user of the entry variabl

Re: [PATCH] spi/xilinx: Fix access invalid memory on xilinx_spi_tx

2015-01-30 Thread Geert Uytterhoeven
Hi Ricardo, On Fri, Jan 30, 2015 at 7:10 AM, Ricardo Ribalda Delgado wrote: > On 1 and 2 bytes per word, the transfer of the 3 last bytes will access > memory outside rx_ptr. > > Although this has not trigger any error on real hardware, we should > better fix this. > > Fixes: 24ba5e593f391507 Rem

[PATCH v3 3/3] pinctrl: qcom: Add msm8916 pinctrl driver

2015-01-30 Thread Stanimir Varbanov
From: Joonwoo Park Add initial pinctrl driver to support pin configuration with pinctrl framework for msm8916. Signed-off-by: Joonwoo Park Signed-off-by: Stanimir Varbanov Reviewed-by: Bjorn Andersson --- drivers/pinctrl/qcom/Kconfig |8 + drivers/pinctrl/qcom/Makefile

Re: Question about ftrace, dynamically allocated trampolines and dynamic fops

2015-01-30 Thread Miroslav Benes
; > ftrace_ops_list_func in such situation? Even for nonpreemptive kernel and > > dynamic fops ftrace_ops_list_func has unnecessary overhead. > > It points the dynamic ops (in non-preempt) to ftrace_ops_list_func? Are > you sure about that. One way to verify is to > cat /sys/

[PATCH v2] MAINTAINERS: Add entry for Maxim PMICs on Samsung boards

2015-01-30 Thread Krzysztof Kozlowski
Add myself and Chanwoo Choi as supporters to help in reviewing patches for Maxim 77686 PMIC and Maxim 14577/77693 MUIC drivers: - mfd (all of them), - extcon (extcon-max14577.c, extcon-max77693.c), - regulator (all of them), - clock (clk-max77686.c), - RTC (rtc-max77686.c). Lately I am the au

Re: [PATCH v2 2/3] lib/string_helpers.c: Refactor string_escape_mem

2015-01-30 Thread Andy Shevchenko
On Thu, 2015-01-29 at 13:33 -0600, Jeff Epler wrote: > [discussing the repeated three-line idiom] > > if (out < end) > > *out = '\\'; > > ++out; > > Instead of open-coding this each time, perhaps it would be appropriate > to define a macro to possibly put a character and also advance the > pointe

Re: [PATCH v4 05/13] pm: at91: move the copying the sram function to the sram initializationi phase

2015-01-30 Thread Russell King - ARM Linux
On Fri, Jan 30, 2015 at 06:59:58AM +, Yang, Wenyou wrote: > Hi Russell, > > Thank you for your review. > > > -Original Message- > > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > > > > On Wed, Jan 28, 2015 at 09:43:16AM +0800, Wenyou Yang wrote: > > > @@ -272,6 +268

[PATCH v2 0/2] clk: qcom: gcc: Add support to child devices.

2015-01-30 Thread Srinivas Kandagatla
This patchset adds support to child devices whose memory registers fall insider gcc memory map. For example on APQ8064 whose thermal sensor registers are inside gcc memory range. Changes since v1: - Check return value of qcom_cc_probe spotted by Pramod. Thanks, srini Srinivas Kandagatla

[PATCH v2 1/2] clk: qcom: gcc-msm8960: add child devices support.

2015-01-30 Thread Srinivas Kandagatla
This patch adds support to add child devices to gcc as some of the registers mapped by gcc are used by drivers like thermal sensors. Signed-off-by: Srinivas Kandagatla --- drivers/clk/qcom/gcc-msm8960.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/clk/qco

Re: [PATCH 2/7] pm: at91: pm_suspend: add the WFI support for ARMv7

2015-01-30 Thread Lorenzo Pieralisi
On Fri, Jan 30, 2015 at 07:23:21AM +, Yang, Wenyou wrote: [...] > > > > > + * Put the processor to enter the WFI state */ > > > > > + .macro _do_wfi > > > > > > > > You will have to explain why you need this, really. > > > I don't understand your meaning. > > > > I want to understand wh

[PATCH v2 2/2] clk: qcom: gcc bindings: Update to add child node support.

2015-01-30 Thread Srinivas Kandagatla
This patch adds note in the bindings about the optional child nodes which are currently possible with SOCs like MSM8960, APQ8064. These child device nodes are typically for drivers like thermal sensor which fall under the memory-map of gcc. Signed-off-by: Srinivas Kandagatla --- Documentation/de

Re: [PATCH v10 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-30 Thread Thierry Reding
On Thu, Jan 29, 2015 at 04:05:53PM +, Russell King - ARM Linux wrote: > On Thu, Jan 29, 2015 at 10:49:34AM -0500, Peter Hurley wrote: > > Hi Varka, > > > > On 01/29/2015 10:26 AM, Varka Bhadram wrote: > > > This check is not required. It will be done by devm_ioremap_resource() > > > > I disag

Re: [PATCH v2] staging: comedi: drivers: jr3_pci: Removed variables that is never used

2015-01-30 Thread Ian Abbott
On 29/01/15 22:15, Rickard Strandqvist wrote: Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/comedi/

Re: [PATCH v2 2/2] MIPS: fix kernel lockup or crash after CPU offline/online

2015-01-30 Thread James Hogan
Hi Maciej, On 30/01/15 09:25, Maciej W. Rozycki wrote: > On Thu, 15 Jan 2015, Aaro Koskinen wrote: > >> As printk() invocation can cause e.g. a TLB miss, printk() cannot be >> called before the exception handlers have been properly initialized. >> This can happen e.g. when netconsole has been loa

  1   2   3   4   5   6   7   8   >