Re: [PATCH v4 2/5] irqchip: add virtual demultiplexer implementation

2015-02-10 Thread Peter Zijlstra
On Thu, Jan 29, 2015 at 11:33:37AM +0100, Boris Brezillon wrote: > +#ifdef CONFIG_VIRT_IRQ_DEMUX_CHIP > +/** > + * struct irq_chip_virt_demux - Dumb demultiplexer irq chip data structure s/Dumb/Virtual/ ? > + * @domain: irq domain pointer > + * @available: Bitfield of

[PATCH] fsnotify: Fix handling of renames in audit

2015-02-10 Thread Jan Kara
Commit e9fd702a58c4 (audit: convert audit watches to use fsnotify instead of inotify) broke handling of renames in audit. Audit code wants to update inode number of an inode corresponding to watched name in a directory. When something gets renamed into a directory to a watched name, inotify

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 07:58:30PM +0900, Masami Hiramatsu wrote: > (2015/02/10 2:31), Josh Poimboeuf wrote: > > +/* > > + * Try to safely transition a task to the universe goal. If the task is > > + * currently running or is sleeping on a to-be-patched or to-be-unpatched > > + * function, return

Re: [RFC PATCH 5/9] sched: move task rq locking functions to sched.h

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 07:48:17PM +0900, Masami Hiramatsu wrote: > (2015/02/10 2:31), Josh Poimboeuf wrote: > > Move task_rq_lock/unlock() to sched.h so they can be used elsewhere. > > The livepatch code needs to lock each task's rq in order to safely > > examine its stack and switch it to a new

Re: [PATCH v2] i2c: cadence: fixup of wait_for_completion_timeout return handling

2015-02-10 Thread Nicholas Mc Guire
On Tue, 10 Feb 2015, Sergei Shtylyov wrote: > Hello. > > On 2/9/2015 6:03 PM, Nicholas Mc Guire wrote: > >> return type of wait_for_completion_timeout is unsigned long not int. The >> return variable is renamed to reflect its use and the type adjusted to >> unsigned long. > >> Signed-off-by:

Re: [PATCH v3 linux-trace 0/8] tracing: attach eBPF programs to tracepoints/syscalls/kprobe

2015-02-10 Thread Steven Rostedt
On Mon, 9 Feb 2015 19:45:53 -0800 Alexei Starovoitov wrote: > So the overhead of realistic bpf program is 5.05963/4.80074 = ~5% > which is faster than perf_event filtering: 5.69732/4.80074 = ~18% > or ftrace filtering: 6.50091/4.80074 = ~35% Come to think of it, this is comparing apples to

Re: [PATCH] libata: fixup return type of wait_for_completion_timeout

2015-02-10 Thread Tejun Heo
On Tue, Feb 10, 2015 at 03:39:36AM -0500, Nicholas Mc Guire wrote: > - if (!rc) { > + if (irq_timeout == 0) { Why == 0 tho? This always bothers me. To match this style, we'd use != 0 to test the other direction. In what way is "if (ret != 0)" better than "if (ret)"? We're negating the

Re: 3.19: device name associates with IRQ's for ahci controllers operating with a single IRQ changed from "ahci?" to ""

2015-02-10 Thread Tejun Heo
Hello, On Tue, Feb 10, 2015 at 08:57:46AM +0100, Stefan Bader wrote: > On 09.02.2015 20:54, Sander Eikelenboom wrote: > > Hi. > > > > In 3.19 the device name associates with IRQ's for ahci controllers operating > > with a single IRQ changed from "ahci?" to "", was this intentional ? > > > >

Re: [PATCH 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-10 Thread Sudip Mukherjee
On Tue, Feb 10, 2015 at 03:27:11PM +0100, Bas Peters wrote: > >> @@ -101,8 +101,7 @@ void rtl88eu_phy_rf6052_set_cck_txpower(struct adapter > >> *adapt, u8 *powerlevel) > >> ptr++; > >> } > >> } > >> - rtl88eu_dm_txpower_track_adjust(_data->odmpriv,

Re: [RFC PATCH v1] usb: dwc2: reduce dwc2 driver probe time

2015-02-10 Thread Felipe Balbi
Hi, On Tue, Feb 10, 2015 at 10:05:39PM +0800, Yunzhi Li wrote: > I found that the probe function of dwc2 driver takes much time > when kernel boot up. There are many long delays in the probe > function these take almost 1 second. > > This patch trying to reduce unnecessary delay time. > > In

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-10 Thread Rafael J. Wysocki
On Tuesday, February 10, 2015 06:32:46 PM Alexandre Courbot wrote: > On Fri, Jan 23, 2015 at 8:21 PM, Heikki Krogerus > wrote: > > Hi guys, > > > > On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J. Wysocki wrote: > >> On Thursday, January 22, 2015 11:57:55 AM Alexandre Courbot wrote: > >> > If

[PATCH 6/6] kvm,rcu,nohz: use RCU extended quiescent state when running KVM guest

2015-02-10 Thread riel
From: Rik van Riel The host kernel is not doing anything while the CPU is executing a KVM guest VCPU, so it can be marked as being in an extended quiescent state, identical to that used when running user space code. The only exception to that rule is when the host handles an interrupt, which is

Re: [RFC PATCH 0/9] livepatch: consistency model

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 09:57:44AM +0100, Jiri Kosina wrote: > On Mon, 9 Feb 2015, Josh Poimboeuf wrote: > > > 2) As mentioned above, kthreads which are always sleeping on a patched > > function > >will never transition to the new universe. This is really a minor issue > >(less than 1%

Re: [V3 PATCH 1/2] ACPI / scan: Add support for ACPI _CLS device matching

2015-02-10 Thread Rafael J. Wysocki
On Tuesday, February 10, 2015 11:59:32 AM Mika Westerberg wrote: > On Mon, Feb 09, 2015 at 09:02:11PM +, Suthikulpanit, Suravee wrote: > > On 2/9/15, 19:15, "Mika Westerberg" > > wrote: > > > > >On Mon, Feb 09, 2015 at 12:02:43AM +0100, Rafael J. Wysocki wrote: > > >> On Monday, February 09,

[PATCH 5/6] nohz,kvm: export context_tracking_user_enter/exit

2015-02-10 Thread riel
From: Rik van Riel Export context_tracking_user_enter/exit so it can be used by KVM. Signed-off-by: Rik van Riel --- kernel/context_tracking.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c index 0e4e318d5ea4..5bdf1a342ab3 100644

Re: [PATCH 1/2] drm: atmel-hlcdc: Add PM suspend/resume support

2015-02-10 Thread Sylvain Rochet
Hello Boris, On Tue, Feb 10, 2015 at 03:05:57PM +0100, Boris Brezillon wrote: > On Tue, 10 Feb 2015 14:40:45 +0100 > Sylvain Rochet wrote: > > + > > +static SIMPLE_DEV_PM_OPS(atmel_hlcdc_dc_drm_pm_ops, > > + atmel_hlcdc_dc_drm_suspend, atmel_hlcdc_dc_drm_resume); > > + > > Do we

[PATCH 2/6] rcu,nohz: add state parameter to context_tracking_enter/exit

2015-02-10 Thread riel
From: Rik van Riel Add the expected ctx_state as a parameter to context_tracking_enter and context_tracking_exit, allowing the same functions to not just track kernel <> user space switching, but also kernel <> guest transitions. Signed-off-by: Rik van Riel ---

[PATCH 3/6] nohz: add stub context_tracking_is_enabled

2015-02-10 Thread riel
From: Rik van Riel With code elsewhere doing something conditional on whether or not context tracking is enabled, we want a stub function that tells us context tracking is not enabled, when CONFIG_CONTEXT_TRACKING is not set. Signed-off-by: Rik van Riel ---

[PATCH 4/6] rcu,nohz: run vtime_user_enter/exit only when state == IN_USER

2015-02-10 Thread riel
From: Rik van Riel Only run vtime_user_enter, vtime_user_exit, and the user enter & exit trace points when we are entering or exiting user state, respectively. The KVM code in guest_enter and guest_exit already take care of calling vtime_guest_enter and vtime_guest_exit, respectively. The RCU

Re: [PATCH v2 1/1] staging: ozwpan: Remove allocation from delaration line

2015-02-10 Thread Joe Perches
On Tue, 2015-02-10 at 13:13 +0300, Dan Carpenter wrote: > > diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c [] > > @@ -280,8 +280,9 @@ static void oz_free_urb_link(struct oz_urb_link *urbl) > > */ > > static struct oz_endpoint *oz_ep_alloc(int buffer_size, gfp_t

[PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread riel
From: Rik van Riel These wrapper functions allow architecture code (eg. ARM) to keep calling context_tracking_user_enter & context_tracking_user_exit the same way it always has, without error prone tricks like duplicate defines of argument values in assembly code. Signed-off-by: Rik van Riel

[PATCH -v4 0/6] rcu,nohz,kvm: use RCU extended quiescent state when running KVM guest

2015-02-10 Thread riel
When running a KVM guest on a system with NOHZ_FULL enabled, and the KVM guest running with idle=poll mode, we still get wakeups of the rcuos/N threads. This problem has already been solved for user space by telling the RCU subsystem that the CPU is in an extended quiescent state while running

Re: [PATCH 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-10 Thread Bas Peters
>> @@ -101,8 +101,7 @@ void rtl88eu_phy_rf6052_set_cck_txpower(struct adapter >> *adapt, u8 *powerlevel) >> ptr++; >> } >> } >> - rtl88eu_dm_txpower_track_adjust(_data->odmpriv, 1, , >> - _value); >> +

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-10 Thread Oleg Nesterov
On 02/10, Denys Vlasenko wrote: > > # define HEAD_MASK (TICKET_SLOWPATH_FLAG-1) > > ... > unlock_again: > > val = xadd((>ticket.head_tail, TICKET_LOCK_INC); > if (unlikely(!(val & HEAD_MASK))) { > /* overflow. we inadvertently incremented the tail word. > * tail's lsb is

Re: [PATCH] perf symbols: Define STT_GNU_IFUNC for glibc 2.9 and older.

2015-02-10 Thread Namhyung Kim
Hi Vinson, On Mon, Feb 09, 2015 at 04:29:37PM -0800, Vinson Lee wrote: > From: Vinson Lee > > The token STT_GNU_IFUNC is not available with glibc 2.9 and older. > Define this token if it is not already defined. > > This patch fixes this build errors with older versions of glibc. > > CC

[RFC PATCH 3/3] drm: bridge/dw_hdmi: improve hdmi single-end test

2015-02-10 Thread Yakir Yang
Because of iMX6 & Rockchip have differnet mpll config parameter, than the cklvl & txlvl would be different, we also should seperate this parmeter. As for Rockchip HDMI, when pixle clock less than 148MHz, the cklvl & txlvl should be set to 13. When pixel clock less than 74.25MHz the cklvl & txlvl

Re: [PATCH v3 3/3] lib/string_helpers.c: Change semantics of string_escape_mem

2015-02-10 Thread Andy Shevchenko
On Tue, 2015-02-10 at 14:02 +0100, Rasmus Villemoes wrote: > On Tue, Feb 10 2015, Andy Shevchenko > wrote: > > > On Tue, 2015-02-10 at 00:44 +0100, Rasmus Villemoes wrote: > >> The current semantics of string_escape_mem are inadequate for one of > >> its current users, vsnprintf(). If that is

[PATCH] rds: rds_cong_queue_updates needs to defer the congestion update transmission

2015-02-10 Thread Sowmini Varadhan
This patch fixes a sock_lock deadlock in the rds_cong_queue_update path. We cannot inline the call to rds_send_xmit from rds_cong_queue_update because (a) we are already holding the sock_lock in the recv path, and will deadlock when tcp_setsockopt/tcp_sendmsg try to get the sock lock (b)

[RFC PATCH 0/1] Improve eye-diagram & single-ended test for rk3288 hdmi

2015-02-10 Thread Yakir Yang
RK3288 hdmi eye-diagram test would fail when pixel clock is 148.5MHz, and single-ended test would failed when display mode is 74.25MHz. - Fix some code style, leave space for next patches. - For hdmi eye-diagram test, we turn on the Transmitter Trailer-B and improve slopeboost to 25%-30%

Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-02-10 Thread Brent Wang
Hello Mark, 2015-02-10 21:37 GMT+08:00 Mark Rutland : > On Fri, Feb 06, 2015 at 03:37:52PM +, Brent Wang wrote: >> Hello Mark, >> >> 2015-02-06 18:44 GMT+08:00 Mark Rutland : >> > On Fri, Feb 06, 2015 at 08:42:22AM +, Brent Wang wrote: >> >> Hello Mark, >> >> >> >> 2015-02-06 3:30

Re: [PATCH v3 1/2] time: Don't bother to run rtc_resume() for the nonstop clocksource

2015-02-10 Thread Peter Zijlstra
On Wed, Feb 04, 2015 at 09:59:02PM +0800, Xunlei Pang wrote: > Ping ... John, could you look at this? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[RFC PATCH 2/3] drm: bridge/dw_hdmi_rockchip: improve hdmi eye-diagram test

2015-02-10 Thread Yakir Yang
As for 1920x1080 display resolution, we should turn on the Transmitter Trailer-B, and adjust slopeboost to 25%-35% decrease. Signed-off-by: Yakir Yang --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[RFC PATCH 1/3] drm: bridge/dw_hdmi: fixed codec style

2015-02-10 Thread Yakir Yang
- const struct dw_hdmi_mpll_config *mpll_config = -hdmi->plat_data->mpll_cfg; - const struct dw_hdmi_curr_ctrl *curr_ctrl = hdmi->plat_data->cur_ctr; - const struct dw_hdmi_sym_term *sym_term = hdmi->plat_data->sym_term; + const struct dw_hdmi_plat_data

Re: [PATCH v2] i2c: cadence: fixup of wait_for_completion_timeout return handling

2015-02-10 Thread Sergei Shtylyov
Hello. On 2/9/2015 6:03 PM, Nicholas Mc Guire wrote: return type of wait_for_completion_timeout is unsigned long not int. The return variable is renamed to reflect its use and the type adjusted to unsigned long. Signed-off-by: Nicholas Mc Guire --- v2: int ret is an idiom not only a

Re: davinci-mcasp: extension to use AHCLKX pin as external clock source

2015-02-10 Thread Urs Fässler
On 06.02.2015 12:50, Peter Ujfalusi wrote: > On 02/06/2015 11:22 AM, Urs Fässler wrote: >> The AHCLKX pin seems not to be supported as external source. The first >> patch is a general fix to allow external clock. The second allows you to >> select the AHCLKX pin as clock source. >> >> Patch built

[RFC PATCH 0/3]

2015-02-10 Thread Yakir Yang
RK3288 hdmi eye-diagram test would fail when pixel clock is 148.5MHz, and single-ended test would failed when display mode is 74.25MHz. - Fix some code style, leave space for next patches. - For hdmi eye-diagram test, we turn on the Transmitter Trailer-B and improve slopeboost to 25%-30%

Re: [PATCH] clockevents: Introduce mode specific callbacks

2015-02-10 Thread Peter Zijlstra
On Wed, Feb 04, 2015 at 01:06:23PM +0530, Viresh Kumar wrote: > + /* > + * Mode transition callback(s): Only one of the two groups should be > + * defined: > + * - set_mode(), only for modes <= CLOCK_EVT_MODE_RESUME. > + * - set_mode_{shutdown|periodic|oneshot|resume}(). >

Re: [PATCH 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-10 Thread Sudip Mukherjee
On Tue, Feb 10, 2015 at 06:32:49PM +0530, Pushpendra Singh wrote: > Removed checkpatch.pl error > ERROR: code indent should use tabs where possible > > Signed-off-by: Pushpendra Singh > --- > drivers/staging/rtl8188eu/hal/rf.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff

[PATCH v2 1/1] staging: unisys: Remove allocation from declaration line

2015-02-10 Thread Quentin Lambert
This patch removes allocation from declaration line because people are known to gloss over declarations. Signed-off-by: Quentin Lambert --- The second of version of this patch fix the checkpatch warning of line over 80 char by rewriting the size argument of kmalloc as suggested by Sudip.

Re: [PATCH 2/2] drm: atmel-hlcdc: Add pinctrl PM select sleep,default state in CRTC suspend/resume

2015-02-10 Thread Boris Brezillon
On Tue, 10 Feb 2015 14:40:46 +0100 Sylvain Rochet wrote: > Some LCD panels have back-powering issue when un-powered, allows users > to use an alternate pinctrl "sleep" in order to clamp outputs to a > wanted state at suspend. > > Signed-off-by: Sylvain Rochet Acked-by: Boris Brezillon > ---

Re: [PATCH 1/1] ARM: dts: Use more descriptive names for Exynos5420 PDs

2015-02-10 Thread Sylwester Nawrocki
On 10/02/15 14:14, Krzysztof Kozlowski wrote: > On wto, 2015-02-10 at 14:00 +0100, Sylwester Nawrocki wrote: >> > On 10/02/15 13:46, Javier Martinez Canillas wrote: >> > This debugfs code iterates over list of generic_pm_domains >> > (gpd_list). I > > >> > cannot

Re: [perf/core PATCH v2 0/4] perf-buildid-cache: Cleanup, enhance --update and add --remove-all

2015-02-10 Thread Namhyung Kim
Hi Masami, On Tue, Feb 10, 2015 at 06:18:49PM +0900, Masami Hiramatsu wrote: > Hi, > > Here is the 2nd version of of perf buildid-cache update. > I've fixed a bug in patch 4/4 reported by Namhyung, Thanks! > > The first 2 patches are cleanup code, just reducing the > redundant code. The 3rd one

[3.16.y-ckt stable] Patch "MIPS: Fix kernel lockup or crash after CPU offline/online" has been added to staging queue

2015-02-10 Thread Luis Henriques
This is a note to let you know that I have just added a patch titled MIPS: Fix kernel lockup or crash after CPU offline/online to the linux-3.16.y-queue branch of the 3.16.y-ckt extended stable tree which can be found at:

[3.16.y-ckt stable] Patch "lib/checksum.c: fix carry in csum_tcpudp_nofold" has been added to staging queue

2015-02-10 Thread Luis Henriques
This is a note to let you know that I have just added a patch titled lib/checksum.c: fix carry in csum_tcpudp_nofold to the linux-3.16.y-queue branch of the 3.16.y-ckt extended stable tree which can be found at:

doubt about sm7xxfb

2015-02-10 Thread Sudip Mukherjee
Hi Greg, we have this sm7xxfb in drivers/staging now which is supporting SM710, SM712, SM721 and SM722. I am also working on another new hardware SM750, which will be ready for staging in next 1 -2 weeks. this SM750 is entirely different hardware and these two drivers will have nothing in

Re: [PATCH 1/2] drm: atmel-hlcdc: Add PM suspend/resume support

2015-02-10 Thread Boris Brezillon
Hi Sylvain, On Tue, 10 Feb 2015 14:40:45 +0100 Sylvain Rochet wrote: > On suspend: switch off CRTC if not already suspended with runtime PM > > On resume: switch on CRTC if we were not already suspended from runtime > PM while suspending. > > Signed-off-by: Sylvain Rochet > --- >

Re: [PATCH] rtl2832: remove compiler warning

2015-02-10 Thread Luis de Bethencourt
On Tue, Feb 10, 2015 at 12:57:24PM +0200, Antti Palosaari wrote: > On 02/09/2015 12:44 AM, Luis de Bethencourt wrote: > >Cleaning the following compiler warning: > >rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function > > > >Even though it could never happen since if

[RFC PATCH v1] usb: dwc2: reduce dwc2 driver probe time

2015-02-10 Thread Yunzhi Li
I found that the probe function of dwc2 driver takes much time when kernel boot up. There are many long delays in the probe function these take almost 1 second. This patch trying to reduce unnecessary delay time. In dwc2_core_reset() I see it use two at least 20ms delays to wait AHB idle and

Re: [PATCH v1 2/4] scsi: ufs: add debugfs for ufs

2015-02-10 Thread Gilad Broner
> Should we append the index for unique directory > name for each contoroller like "ufs0", "ufs1", ...? I agree - uploaded patch V2 in which this is handled. Thanks, Gilad. -- Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the

Re: [PATCH] llist: Fix missing lockless_dereference()

2015-02-10 Thread Peter Hurley
On 02/06/2015 09:08 PM, Mathieu Desnoyers wrote: > A lockless_dereference() appears to be missing in llist_del_first(). > It should only matter for Alpha in practice. > > Signed-off-by: Mathieu Desnoyers > CC: Huang Ying > CC: Paul McKenney > CC: David Howells > CC: Pranith Kumar > CC:

[PATCH 0/7] ARM: davinci: McASP related cleanups and fixes

2015-02-10 Thread Peter Ujfalusi
Hi, Clean up series of McASP device creation for da8xx and dm646x DMSoCs. Patch5 (dm646x: Clean up the McASP DMA resources) depends on a patch queed for 3.20 via ASoC: http://mailman.alsa-project.org/pipermail/alsa-devel/2015-February/087321.html There is another daVinci related fix going via

[PATCH] mm/page_alloc: add a necessary 'leave'

2015-02-10 Thread Yaowei Bai
Signed-off-by: Yaowei Bai --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 7633c50..c88d495 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -172,7 +172,7 @@ static void __free_pages_ok(struct page *page,

Re: bride: IPv6 multicast snooping enhancements

2015-02-10 Thread Vasily Averin
On 10.02.2015 14:44, Linus Lüssing wrote: > Hi Vasily, > > On Tue, Feb 10, 2015 at 11:44:29AM +0300, Vasily Averin wrote: >> This patch prevent forwarding of ICMPv6 in bridges, >> so containers/VMs with virtual eth adapters connected in local bridge cannot >> ping each other via ipv6 (but can do

[PATCH v2 0/4] Add ioctl and debug utilities to UFS driver

2015-02-10 Thread Gilad Broner
Changes from V1: - Renamed debugfs.* to ufs-debugfs.* - Added host controller instance number to ufs debug-fs entry name. - Removed FTRACE_EVENT_ENABLED macro as it was redundant. Dolev Raviv (1): scsi: ufs: add ioctl interface for query request Gilad Broner (1): scsi: ufs: add trace events

[PATCH 3/7] ARM: davinci: devices-da8xx: Clean up and correct the McASP device creation

2015-02-10 Thread Peter Ujfalusi
Both DA830 and DA850 has McASP0 module, so do not restrict the use of McASP0 for da850 only. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/devices-da8xx.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git

Re: [PATCH] time, ntp: Do not update time_state in middle of leap second

2015-02-10 Thread Peter Zijlstra
On Sat, Feb 07, 2015 at 01:29:39PM -0500, Prarit Bhargava wrote: > During leap second insertion testing it was noticed that a small window > exists where the time_state could be reset such that > time_state = TIME_OK, which then causes the leap second to not occur, or > causes the entire leap

[PATCH 5/7] ARM: davinci: dm646x: Clean up the McASP DMA resources

2015-02-10 Thread Peter Ujfalusi
Add names to the DMA resources and remove the RX DMA dummy part for McASP1. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/dm646x.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c index

Re: [PATCH 0/6 v3] perf: Have perf become tracefs aware

2015-02-10 Thread Namhyung Kim
Hi, On Mon, Feb 09, 2015 at 10:48:53AM -0500, Steven Rostedt wrote: > If you already applied v2, here's the patch that changes v3. In any case, please feel free to add my ACKs to this series. Thanks, Namhyung > > -- Steve > > From 55989e0e3e9c15d755a9cf0d8c6a899a0de7d1eb Mon Sep 17 00:00:00

[PATCH 6/7] ARM: davinci: irqs: Correct McASP1 TX interrupt definition for DM646x

2015-02-10 Thread Peter Ujfalusi
McASP1 TX interrupt is 30, not 32 on DM646x DMSoC Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/include/mach/irqs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-davinci/include/mach/irqs.h b/arch/arm/mach-davinci/include/mach/irqs.h index

[PATCH 4/7] ARM: davinci: devices-da8xx: Add support for McASP2 on da830

2015-02-10 Thread Peter Ujfalusi
da830 has three McASP blocks. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/asp.h | 7 ++ arch/arm/mach-davinci/devices-da8xx.c | 41 +++ 2 files changed, 48 insertions(+) diff --git a/arch/arm/mach-davinci/asp.h

[PATCH v2 1/4] scsi: ufs: add ioctl interface for query request

2015-02-10 Thread Gilad Broner
From: Dolev Raviv This patch exposes the ioctl interface for UFS driver via SCSI device ioctl interface. As of now UFS driver would provide the ioctl for query interface to connected UFS device. Signed-off-by: Dolev Raviv Signed-off-by: Noa Rubens Signed-off-by: Raviv Shvili Signed-off-by:

[PATCH v2 2/4] scsi: ufs: add debugfs for ufs

2015-02-10 Thread Gilad Broner
From: Lee Susman Adding debugfs capability for ufshcd. debugfs attributes introduced in this patch: - View driver/controller runtime data - Command tag statistics for performance analisis - Dump device descriptor info - Track recoverable errors statistics during runtime - Change UFS power

[PATCH v2 4/4] scsi: ufs: inject errors to verify error handling

2015-02-10 Thread Gilad Broner
From: Sujit Reddy Thumma Use fault-injection framework to simulate error conditions in the controller and verify error handling mechanisms implemented in UFS host controller driver. This is used only during development and hence guarded by CONFIG_UFS_FAULT_INJECTION debug config option.

[PATCH 7/7] ARM: davinci: dm646x: Add interrupt resource for McASPs

2015-02-10 Thread Peter Ujfalusi
The interrupt can be used for error recovery. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/dm646x.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c index d2a2619aee81..c86e0d503b68 100644 ---

[PATCH v2 3/4] scsi: ufs: add trace events and dump prints for debug

2015-02-10 Thread Gilad Broner
Add trace events to driver to allow monitoring and profilig of activities such as PM suspend/resume, hibernate enter/exit, clock gating and clock scaling up/down. In addition, add UFS host controller register dumps to provide detailed information in case of errors to assist in analysis of issues.

[PATCH 1/7] ARM: davinci: devices-da8xx: Add resource name for the McASP DMA request

2015-02-10 Thread Peter Ujfalusi
Add "tx" or "rx" as resource name for the DMA resources. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/devices-da8xx.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index

[PATCH 2/7] ARM: davinci: devices-da8xx: Add interrupt resource to McASP structs

2015-02-10 Thread Peter Ujfalusi
On da8xx McASP TX/RX interrupt requests are combined. The interrupt can be used for error recovery. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/devices-da8xx.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-davinci/devices-da8xx.c

[PATCH] Documentation/vm: there should have a 'non' according to the context

2015-02-10 Thread Yaowei Bai
Signed-off-by: Yaowei Bai --- Documentation/vm/balance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/vm/balance b/Documentation/vm/balance index c46e68c..3a2cacf 100644 --- a/Documentation/vm/balance +++ b/Documentation/vm/balance @@ -8,7 +8,7 @@ the caller

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

2015-02-10 Thread Stefan Wahren
Hi Fabio, Am 10.02.2015 um 14:09 schrieb Fabio Estevam: > Hi Stefan, > > On Tue, Feb 10, 2015 at 11:05 AM, Stefan Wahren > wrote: > >> sorry no. But i will try to get a mx28evk to reproduce the problem and > Just a comment: mx28evk comes without SPI NOR flash from the factory. > I have

Re: [PATCH] rtlwifi: ratelimit skb allocation failure message

2015-02-10 Thread Colin Ian King
On 10/02/15 13:48, Kalle Valo wrote: > Eric Dumazet writes: > >> On Tue, 2015-02-10 at 08:54 +, Colin King wrote: >>> From: Colin Ian King >>> >>> when running low on memory I noticed rtlwifi was producing a large >>> quantity of repeated skb allocation failures messages. This should >>>

Re: [PATCH] rtlwifi: ratelimit skb allocation failure message

2015-02-10 Thread Kalle Valo
Eric Dumazet writes: > On Tue, 2015-02-10 at 08:54 +, Colin King wrote: >> From: Colin Ian King >> >> when running low on memory I noticed rtlwifi was producing a large >> quantity of repeated skb allocation failures messages. This should >> be ratelimited to reduce the noise. >> >>

Re: [PATCH 1/1] staging: unisys: Remove allocation from declaration line

2015-02-10 Thread Sudip Mukherjee
On Tue, Feb 10, 2015 at 02:02:14PM +0100, Quentin Lambert wrote: > This patch removes allocation from declaration line because > people are known to gloss over declarations. > > Signed-off-by: Quentin Lambert > --- > drivers/staging/unisys/visorchipset/visorchipset_main.c | 6 +++--- >

[PATCH 1/2] drm: atmel-hlcdc: Add PM suspend/resume support

2015-02-10 Thread Sylvain Rochet
On suspend: switch off CRTC if not already suspended with runtime PM On resume: switch on CRTC if we were not already suspended from runtime PM while suspending. Signed-off-by: Sylvain Rochet --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 60 1 file changed, 60

[PATCH 2/2] drm: atmel-hlcdc: Add pinctrl PM select sleep,default state in CRTC suspend/resume

2015-02-10 Thread Sylvain Rochet
Some LCD panels have back-powering issue when un-powered, allows users to use an alternate pinctrl "sleep" in order to clamp outputs to a wanted state at suspend. Signed-off-by: Sylvain Rochet --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH 0/2] drm: atmel-hlcdc: PM support

2015-02-10 Thread Sylvain Rochet
This series depends on Boris' "[PATCH v2] drm: atmel-hlcdc: Atomic mode-setting conversion" <1423236143-6494-1-git-send-email-boris.brezil...@free-electrons.com> plus a few fixes which are going to be in v3 of Boris' patch. This series adds basic PM support for Atmel HLCDC. Sylvain Rochet

[3.16.y-ckt stable] Linux 3.16.7-ckt6

2015-02-10 Thread Luis Henriques
I am announcing the release of the Linux 3.16.7-ckt6 kernel. The updated 3.16.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.16.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.16.y;a=shortlog The diff from

Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-02-10 Thread Mark Rutland
On Fri, Feb 06, 2015 at 03:37:52PM +, Brent Wang wrote: > Hello Mark, > > 2015-02-06 18:44 GMT+08:00 Mark Rutland : > > On Fri, Feb 06, 2015 at 08:42:22AM +, Brent Wang wrote: > >> Hello Mark, > >> > >> 2015-02-06 3:30 GMT+08:00 Mark Rutland : > >> > On Thu, Feb 05, 2015 at 09:24:37AM

Re: [Bugfix 0/3] Xen IRQ related hotfixes for v3.19

2015-02-10 Thread Stefan Bader
On 09.02.2015 20:15, Sander Eikelenboom wrote: > > Monday, February 9, 2015, 5:09:44 PM, you wrote: > >> On 09.02.2015 13:29, Stefan Bader wrote: >>> On 09.02.2015 13:12, Jiang Liu wrote: On 2015/2/9 17:47, Stefan Bader wrote: > On 05.02.2015 21:07, Sander Eikelenboom wrote: >>

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-10 Thread Oleg Nesterov
On 02/10, Raghavendra K T wrote: > > On 02/10/2015 06:23 AM, Linus Torvalds wrote: > >> add_smp(>tickets.head, TICKET_LOCK_INC); >> if (READ_ONCE(lock->tickets.tail) & TICKET_SLOWPATH_FLAG) .. >> >> into something like >> >> val = xadd((>ticket.head_tail, TICKET_LOCK_INC

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-10 Thread Sasha Levin
On 02/10/2015 04:30 AM, Raghavendra K T wrote: >> >> So I think Raghavendra's last version (which hopefully fixes the >> lockup problem that Sasha reported) together with changing that > > V2 did pass the stress, but getting confirmation Sasha would help. I've been running it for the last two

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-10 Thread Denys Vlasenko
On Tue, Feb 10, 2015 at 2:18 PM, Denys Vlasenko wrote: > while (1) { > if (READ_ONCE(lock->tickets.head) != TICKET_TAIL(val)) > cpu_relax(); > } Doh should be while (READ_ONCE(lock->tickets.head) != TICKET_TAIL(val)

Dell ALPS patches for Dell Latitude 7250 & 7450

2015-02-10 Thread Pali Rohár
Hello, now I found on Dell support website, that they also provide psmouse/alps.c driver for new Dell Latitude 7250 & 7450 machines: http://www.dell.com/support/home/gh/en/ghdhs1/Drivers/DriversDetails?driverId=N5V5D It is again in Ubuntu support package and so users and developers who do not

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-10 Thread Denys Vlasenko
On Tue, Feb 10, 2015 at 10:30 AM, Raghavendra K T wrote: > On 02/10/2015 06:23 AM, Linus Torvalds wrote: >> add_smp(>tickets.head, TICKET_LOCK_INC); >> if (READ_ONCE(lock->tickets.tail) & TICKET_SLOWPATH_FLAG) .. >> >> into something like >> >> val =

[PATCH] x86, kaslr: propagate base load address calculation

2015-02-10 Thread Jiri Kosina
Commit e2b32e678 ("x86, kaslr: randomize module base load address") makes the base address for module to be unconditionally randomized in case when CONFIG_RANDOMIZE_BASE is defined and "nokaslr" option isn't present on the commandline. This is not consistent with how choose_kernel_location()

Re: [PATCH] rtlwifi: ratelimit skb allocation failure message

2015-02-10 Thread Eric Dumazet
On Tue, 2015-02-10 at 08:54 +, Colin King wrote: > From: Colin Ian King > > when running low on memory I noticed rtlwifi was producing a large > quantity of repeated skb allocation failures messages. This should > be ratelimited to reduce the noise. > > Signed-off-by: Colin Ian King > ---

Re: [PATCH 1/1] ARM: dts: Use more descriptive names for Exynos5420 PDs

2015-02-10 Thread Krzysztof Kozlowski
On wto, 2015-02-10 at 14:00 +0100, Sylwester Nawrocki wrote: > On 10/02/15 13:46, Javier Martinez Canillas wrote: > This debugfs code iterates over list of generic_pm_domains (gpd_list). I > >> > cannot find function for translating from genpd to its platform > >> > device >

Re: [PATCH] ARM: EXYNOS: Use platform device name as power domain name

2015-02-10 Thread Javier Martinez Canillas
Hello Krzysztof, On 02/10/2015 01:57 PM, Krzysztof Kozlowski wrote: > The power domain nodes in DTS may be very generic (e.g. "power-domain" > for Exynos 5420) making it very hard to debug: > > $ cat /sys/kernel/debug/pm_genpd/pm_genpd_summary > domain status

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

2015-02-10 Thread Fabio Estevam
Hi Stefan, On Tue, Feb 10, 2015 at 11:05 AM, Stefan Wahren wrote: > sorry no. But i will try to get a mx28evk to reproduce the problem and Just a comment: mx28evk comes without SPI NOR flash from the factory. I have populated one in my mx28evk (slot U49). > narrow down which part of the patch

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

2015-02-10 Thread Stefan Wahren
Hi Fabio, Am 10.02.2015 um 13:52 schrieb Fabio Estevam: > Hi Stefan, > > On Fri, Jan 30, 2015 at 5:20 PM, Stefan Wahren wrote: >> According to i.MX23 and i.MX28 reference manual [1],[2] the fractional >> clock control register is 32-bit wide, but is separated in 4 parts. >> So write instructions

Re: [PATCH v3 linux-trace 1/8] tracing: attach eBPF programs to tracepoints and syscalls

2015-02-10 Thread Steven Rostedt
On Mon, 9 Feb 2015 22:10:45 -0800 Alexei Starovoitov wrote: > One can argue that current TP_printk format is already an ABI, > because somebody might be parsing the text output. If somebody does, then it is an ABI. Luckily, it's not that useful to parse, thus it hasn't been an issue. As Linus

[PATCH 1/1] staging: unisys: Remove allocation from declaration line

2015-02-10 Thread Quentin Lambert
This patch removes allocation from declaration line because people are known to gloss over declarations. Signed-off-by: Quentin Lambert --- drivers/staging/unisys/visorchipset/visorchipset_main.c | 6 +++--- drivers/staging/unisys/visorutil/charqueue.c| 3 ++-

Re: [PATCH v3 3/3] lib/string_helpers.c: Change semantics of string_escape_mem

2015-02-10 Thread Rasmus Villemoes
On Tue, Feb 10 2015, Andy Shevchenko wrote: > On Tue, 2015-02-10 at 00:44 +0100, Rasmus Villemoes wrote: >> The current semantics of string_escape_mem are inadequate for one of >> its current users, vsnprintf(). If that is to honour its contract, it >> must know how much space would be needed

[PATCH 6/6] staging: rtl8188eu: hal: removed unnecessary parentheses

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: Unnecessary parentheses - maybe == should be = ? Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c

[PATCH 5/6] staging: rtl8188eu: hal: removed spaces at start of line

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: please, no spaces at the start of a line Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c

[PATCH 4/6] staging: rtl8188eu: hal: added blank line after declarations

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: Missing a blank line after declarations Signed-off-by: Pushpendra Singh --- .../staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 1 + drivers/staging/rtl8188eu/hal/hal_intf.c | 2 ++ drivers/staging/rtl8188eu/hal/odm.c| 3

Re: [PATCH 1/1] ARM: dts: Use more descriptive names for Exynos5420 PDs

2015-02-10 Thread Sylwester Nawrocki
On 10/02/15 13:46, Javier Martinez Canillas wrote: This debugfs code iterates over list of generic_pm_domains (gpd_list). I >> > cannot find function for translating from genpd to its platform device >> > so only genpd->name can be printed. >>> >> >>> >> Then why power domains

[PATCH 3/6] staging: rtl8188eu: hal: removed unnecessary braces

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/hal/bb_cfg.c| 15 +++ drivers/staging/rtl8188eu/hal/fw.c| 3 +--

[PATCH 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: code indent should use tabs where possible Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/hal/rf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rf.c b/drivers/staging/rtl8188eu/hal/rf.c

[PATCH 1/6] staging: rt8188eu: hal: removed space before ','

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 4 ++-- drivers/staging/rtl8188eu/hal/odm.c | 8 drivers/staging/rtl8188eu/hal/pwrseqcmd.c

[GIT PULL] (xen) for-jens-3.20 for v3.20 Xen blk driver updates

2015-02-10 Thread Roger Pau Monné
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Jens, There are 3 fixes for Xen blk drivers. One adds myself as a maintainer (together with Konrad). There's also one to improve compatibility with older xen-blkfront versions that did not specify a protocol version. The remaining one is a fix

<    1   2   3   4   5   6   7   8   9   10   >