Applied "regulator: core: Add support for active-discharge configuration" to the regulator tree

2016-03-02 Thread Mark Brown
The patch regulator: core: Add support for active-discharge configuration has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the n

Applied "regulator: DT: Add DT property for active-discharge configuration" to the regulator tree

2016-03-02 Thread Mark Brown
The patch regulator: DT: Add DT property for active-discharge configuration has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "regulator: helper: Add helper to configure active-discharge using regmap" to the regulator tree

2016-03-02 Thread Mark Brown
The patch regulator: helper: Add helper to configure active-discharge using regmap has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime

Re: linux-next: unsigned commits in tpmdd tree

2016-03-02 Thread Jarkko Sakkinen
On Wed, Mar 02, 2016 at 07:42:18AM +1100, Stephen Rothwell wrote: > Hi Jarkko, > > All the new commits in you tree today have no Signed-off-by from you as > the committer. Oops :( This is my mistake. Do you want me to do git reverts and redo commits? > -- > Cheers, > Stephen Rothwell /Jarkko

Re: [PATCH 01/10] selftests/x86: In syscall_nt, test NT|TF as well

2016-03-02 Thread Borislav Petkov
On Wed, Mar 02, 2016 at 02:01:15PM +, One Thousand Gnomes wrote: > int main(void) is wrong as there are passed arguments Not in this particular case - test doesn't take args. > int main() is ok (in C89 at least) because it means "there are unknown > arguments" > > int main(int argc, char *ar

Re: [PATCH v2 0/6] ARM64: meson: GXBaby (S905) and Vega S95 enablement

2016-03-02 Thread Andreas Färber
Am 02.03.2016 um 14:52 schrieb Mark Rutland: > On Wed, Mar 02, 2016 at 03:34:55AM +0100, Andreas Färber wrote: >> Note: On the Vega S95 I need to change TEXT_OFFSET as follows, >> in order to avoid the vendor U-Boot overwriting itself (fwiu); >> for the Mini Mx that's reportedly not necessary. >> >

[PATCH] kbuild/mkspec: clean boot loader configuration on rpm removal

2016-03-02 Thread Paolo Abeni
This patch add a rpm preuninstall scriptlet to cleanup the boot loader configuration on kernel package uninstall. The initrd for the to-be-removed kernel is deleted, too. Signed-off-by: Paolo Abeni --- scripts/package/mkspec | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/packag

Re: [PATCH 3.10 00/80] 3.10.99-stable review

2016-03-02 Thread Guenter Roeck
On 03/01/2016 03:44 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.99 release. There are 80 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-03-02 Thread Bjorn Helgaas
On Thu, Feb 25, 2016 at 10:24:34PM +0100, Rafael J. Wysocki wrote: > On Thursday, February 25, 2016 01:59:12 PM Bjorn Helgaas wrote: > > On Thu, Feb 25, 2016 at 12:07:50PM +, Lorenzo Pieralisi wrote: > > > On Thu, Feb 25, 2016 at 03:01:19AM +, Gabriele Paoloni wrote: > > > > > > [...] > >

Re: [PATCH v15 02/23] tracing: Add 'hist' event trigger command

2016-03-02 Thread Steven Rostedt
On Fri, 26 Feb 2016 10:01:05 -0600 Tom Zanussi wrote: > +static int create_hitcount_val(struct hist_trigger_data *hist_data) > +{ > + hist_data->fields[HITCOUNT_IDX] = > + create_hist_field(NULL, HIST_FIELD_FL_HITCOUNT); > + if (!hist_data->fields[HITCOUNT_IDX]) > +

Re: [PATCH 3.14 000/130] 3.14.63-stable review

2016-03-02 Thread Guenter Roeck
On 03/01/2016 03:44 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.63 release. There are 130 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 0/3] OOM detection rework v4

2016-03-02 Thread Joonsoo Kim
2016-03-02 23:06 GMT+09:00 Michal Hocko : > On Wed 02-03-16 22:32:09, Joonsoo Kim wrote: >> 2016-03-02 18:50 GMT+09:00 Michal Hocko : >> > On Wed 02-03-16 11:19:54, Joonsoo Kim wrote: >> >> On Mon, Feb 29, 2016 at 10:02:13PM +0100, Michal Hocko wrote: >> > [...] >> >> > > + /* >> >> > > + * OK, so

Re: [PATCH 4.4 000/342] 4.4.4-stable review

2016-03-02 Thread Guenter Roeck
On 03/01/2016 03:53 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.4 release. There are 342 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH] kbuild/mkspec: clean boot loader configuration on rpm removal

2016-03-02 Thread Hannes Frederic Sowa
On 02.03.2016 15:28, Paolo Abeni wrote: This patch add a rpm preuninstall scriptlet to cleanup the boot loader configuration on kernel package uninstall. The initrd for the to-be-removed kernel is deleted, too. Signed-off-by: Paolo Abeni --- scripts/package/mkspec | 5 + 1 file changed,

Re: a question about slub in function __slab_free()

2016-03-02 Thread Joonsoo Kim
2016-03-02 21:26 GMT+09:00 Xishi Qiu : > ___slab_alloc() > deactivate_slab() > add_full(s, n, page); > The page will be added to full list and the frozen is 0, right? > > __slab_free() > prior = page->freelist; // prior is NULL > was_frozen = new.frozen; //

Re: [PATCH v15 03/23] tracing: Add hist trigger support for multiple values ('vals=' param)

2016-03-02 Thread Steven Rostedt
On Fri, 26 Feb 2016 10:01:06 -0600 Tom Zanussi wrote: > +static int create_val_field(struct hist_trigger_data *hist_data, > + unsigned int val_idx, > + struct trace_event_file *file, > + char *field_str) > +{ > + struct f

Re: [PATCH v2 4/5] mm, kswapd: replace kswapd compaction with waking up kcompactd

2016-03-02 Thread Vlastimil Babka
On 03/02/2016 03:22 PM, Joonsoo Kim wrote: > 2016-03-02 23:09 GMT+09:00 Vlastimil Babka : >> On 03/02/2016 02:57 PM, Joonsoo Kim wrote: >>> >>> >>> Yes, I know. >>> What I'd like to say here is that you need to care current_is_kswapd() in >>> this patch. This patch unintentionally change the back g

[PATCH V2] dma: tegra: don't open code of_device_get_match_data()

2016-03-02 Thread Laxman Dewangan
Use of_device_get_match_data() for getting matched data instead of implementing this locally. Signed-off-by: Laxman Dewangan Acked-by: Thierry Reding --- Changes form V1: - Found that it is possible to move of_device_id table to down where this is used i.e. just above the platform driver stru

Re: [PATCH] of/unittest: fix infinite loop in of_unittest_destroy_tracked_overlays()

2016-03-02 Thread Petr Mladek
On Wed 2016-03-02 20:24:49, Sergey Senozhatsky wrote: > of_overlay_destroy() can return `-ENODEV' error code once it > failed to find the requested overlay in `ov_idr'. However, > of_unittest_destroy_tracked_overlays() does not handle this > error code correctly and continues to call of_overlay_des

Applied "regulator: max77620: Add support to configure active-discharge" to the regulator tree

2016-03-02 Thread Mark Brown
The patch regulator: max77620: Add support to configure active-discharge has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the ne

Applied "regulator: core: Add support for active-discharge configuration" to the regulator tree

2016-03-02 Thread Mark Brown
The patch regulator: core: Add support for active-discharge configuration has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the n

Re: [patch 2/2] iommu/mediatek: checking for IS_ERR() instead of NULL

2016-03-02 Thread Joerg Roedel
On Wed, Mar 02, 2016 at 01:10:27PM +0300, Dan Carpenter wrote: > of_platform_device_create() returns NULL on error, it never returns > error pointers. > > Fixes: 0df4fabe208d ('iommu/mediatek: Add mt8173 IOMMU driver') > Signed-off-by: Dan Carpenter Applied, thanks.

Re: [PATCH 2/2] kasan: unpoison stack of idle task on cpu online

2016-03-02 Thread Mark Rutland
Hi, On Wed, Mar 02, 2016 at 04:51:59PM +0300, Andrey Ryabinin wrote: > KASAN poisons stack redzones on function's entrance and unpoisons prior > return. So when cpu goes offline the stack of idle task left poisoned. > When cpu goes back online it re-enters the kernel via another path and > starts

Re: [PATCH 3/3] ARM: dts: NSP: Add PWM Support to DT

2016-03-02 Thread Yendapally Reddy Dhananjaya Reddy
On Wed, Mar 2, 2016 at 1:55 AM, Arnd Bergmann wrote: > On Tuesday 01 March 2016 12:42:49 Yendapally Reddy Dhananjaya Reddy wrote: >> }; >> >> + pwm: pwm@31000 { >> + compatible = "brcm,iproc-pwm"; >> + reg = <0x31000 0x28>;

Re: [patch] iommu/exynos: checking for IS_ERR() instead of NULL

2016-03-02 Thread Joerg Roedel
On Wed, Mar 02, 2016 at 01:10:47PM +0300, Dan Carpenter wrote: > of_platform_device_create() returns NULL on error, it never returns > error pointers. > > Fixes: 8ed55c812fa8 ('iommu/exynos: Init from dt-specific callback instead of > initcall') > Signed-off-by: Dan Carpenter Applied, thanks.

Re: fs: uninterruptible hang in handle_userfault

2016-03-02 Thread Andrea Arcangeli
Hello, On Wed, Mar 02, 2016 at 12:48:46AM +, Al Viro wrote: > On Tue, Mar 01, 2016 at 12:06:49PM -0800, Linus Torvalds wrote: > > > So the only access we really care about is the child tid-pointer > > clearing one, and that always happens after PF_EXITING has been set > > afaik. > > > > No o

Re: [PATCH 17/41] clk: tegra: Remove CLK_IS_ROOT

2016-03-02 Thread Thierry Reding
On Tue, Mar 01, 2016 at 11:00:02AM -0800, Stephen Boyd wrote: > This flag is a no-op now. Remove usage of the flag. > > Cc: Rhyland Klein > Cc: Thierry Reding > Signed-off-by: Stephen Boyd > --- > drivers/clk/tegra/clk-audio-sync.c | 2 +- > drivers/clk/tegra/clk-dfll.c| 1 - > driv

Re: [PATCH] iommu/vt-d: Assign old irt entries a common valid vector in kdump kernel

2016-03-02 Thread Joerg Roedel
On Wed, Mar 02, 2016 at 06:02:28PM +0800, Xunlei Pang wrote: > Currently, the kernel copies the old irt entries during iommu > initialization for kdump, so old vectors in the first kernel are > used but having no related kernel irq handlers set explicitly, > this can lead to some problems after lap

Re: [PATCH v2 4/5] mm, kswapd: replace kswapd compaction with waking up kcompactd

2016-03-02 Thread Joonsoo Kim
2016-03-02 23:40 GMT+09:00 Vlastimil Babka : > On 03/02/2016 03:22 PM, Joonsoo Kim wrote: >> 2016-03-02 23:09 GMT+09:00 Vlastimil Babka : >>> On 03/02/2016 02:57 PM, Joonsoo Kim wrote: Yes, I know. What I'd like to say here is that you need to care current_is_kswapd() in th

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2016-03-02 Thread Sedat Dilek
On 3/1/16, Peter Zijlstra wrote: > On Tue, Mar 01, 2016 at 10:07:40AM -0500, Steven Rostedt wrote: >> On Tue, 1 Mar 2016 11:05:42 +0100 >> Sedat Dilek wrote: >> >> >> > [ FACT #3: TEST-CASE #2 ] >> > >> > The most reliable test-case is to simply unplug my external Logitech >> > USB mouse - saw th

Re: [PATCH 0/3] OOM detection rework v4

2016-03-02 Thread Minchan Kim
On Wed, Mar 02, 2016 at 10:50:56AM +0100, Michal Hocko wrote: > On Wed 02-03-16 11:19:54, Joonsoo Kim wrote: > > On Mon, Feb 29, 2016 at 10:02:13PM +0100, Michal Hocko wrote: > [...] > > > > + /* > > > > +* OK, so the watermak check has failed. Make sure we do all the > > > > +

[PATCH] perf tools: fix incorrect argument order in calls to get_common_field

2016-03-02 Thread Colin King
From: Colin Ian King Although the arguments are not currently being used, there are three places where the size and offset arguments are being passed in the wrong order, so fix these. Signed-off-by: Colin Ian King --- tools/perf/util/trace-event-parse.c | 6 +++--- 1 file changed, 3 insertions

Re: [RFC PATCH 0/7] KEYS: Adjust public key signature handling

2016-03-02 Thread Mimi Zohar
On Wed, 2016-03-02 at 12:24 +, David Howells wrote: > Mimi Zohar wrote: > > > These patches don't apply directly on top of linux-security. Maybe > > they apply on top of an updated version of the "X.509: Software public > > key subtype changes" patch set. In which branch are these patche

Re: [PATCH v2 0/8] arm64: Support for systems without AArch32 state

2016-03-02 Thread Yury Norov
On Wed, Mar 02, 2016 at 12:19:23AM +0300, Yury Norov wrote: > On Thu, Feb 25, 2016 at 09:52:40AM +, Suzuki K Poulose wrote: > > This series add checks to make sure that the AArch32 state is > > supported before we process the 32bit ID registers. Also > > checks the same for COMPAT binary execut

Re: [PATCH] kbuild/mkspec: clean boot loader configuration on rpm removal

2016-03-02 Thread Josh Boyer
On Wed, Mar 2, 2016 at 9:38 AM, Hannes Frederic Sowa wrote: > On 02.03.2016 15:28, Paolo Abeni wrote: >> >> This patch add a rpm preuninstall scriptlet to cleanup the >> boot loader configuration on kernel package uninstall. >> The initrd for the to-be-removed kernel is deleted, too. >> >> Signed-

[PATCH RT 17/22] drm,i915: Use local_lock/unlock_irq() in intel_pipe_update_start/end()

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith [8.014039] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:918 [8.014041] in_atomic(): 0, irqs_disabled(): 1, pid: 78, name: kwo

[PATCH RT 05/22] net/core: protect users of napi_alloc_cache against reentrance

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior On -RT the code running in BH can not be moved to another CPU so CPU local variable remain local. However the code can be preempted and another task may ente

[PATCH RT 03/22] net: move xmit_recursion to per-task variable on -RT

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior A softirq on -RT can be preempted. That means one task is in __dev_queue_xmit(), gets preempted and another task may enter __dev_queue_xmit() aw well. netper

[PATCH RT 16/22] drm,radeon,i915: Use preempt_disable/enable_rt() where recommended

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith DRM folks identified the spots, so use them. Signed-off-by: Mike Galbraith Cc: Sebastian Andrzej Siewior Cc: linux-rt-users Signed-off-by: Thomas Gleixner Signed-o

[PATCH RT 15/22] sched,rt: __always_inline preemptible_lazy()

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith homer: # nm kernel/sched/core.o|grep preemptible_lazy 00b5 t preemptible_lazy echo wakeup_rt > current_tracer ==> Welcome to infinity. Signed-off-by: Mike

Re: a question about slub in function __slab_free()

2016-03-02 Thread Jianyu Zhan
On Wed, Mar 2, 2016 at 8:26 PM, Xishi Qiu wrote: > __slab_free() > prior = page->freelist; // prior is NULL > was_frozen = new.frozen; // was_frozen is 0 > ... > /* > * Slab was on no list before and will be > * partially

[PATCH RT 20/22] rcu/torture: Comment out rcu_bh ops on PREEMPT_RT_FULL

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Clark Williams RT has dropped support of rcu_bh, comment out in rcutorture. Signed-off-by: Clark Williams Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Thomas Gleixner S

[PATCH RT 01/22] sched: reset tasks lockless wake-queues on fork()

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior In 7675104990ed ("sched: Implement lockless wake-queues") we gained lockless wake-queues. -RT managed to lockup itself with those. There could be multiple at

[PATCH RT 14/22] tick/broadcast: Make broadcast hrtimer irqsafe

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner Otherwise we end up with the following: |= |[ INFO: inconsistent lock state ] |4.4.2-rt7+ #5 Not tainted |

[PATCH RT 09/22] latencyhist: disable jump-labels

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Atleast on X86 we die a recursive death |CPU: 3 PID: 585 Comm: bash Not tainted 4.4.1-rt4+ #198 |Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS De

[PATCH RT 21/22] kernel: sched: Fix preempt_disable_ip recodring for preempt_disable()

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior preempt_disable() invokes preempt_count_add() which saves the caller in current->preempt_disable_ip. It uses CALLER_ADDR1 which does not look for its caller

[PATCH RT 19/22] f2fs: Mutex cant be used by down_write_nest_lock()

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Yang Shi fsf2_lock_all() calls down_write_nest_lock() to acquire a rw_sem and check a mutex, but down_write_nest_lock() is designed for two rw_sem accoring to the comment in include/l

[PATCH RT 08/22] net: provide a way to delegate processing a softirq to ksoftirqd

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior If the NET_RX uses up all of his budget it moves the following NAPI invocations into the `ksoftirqd`. On -RT it does not do so. Instead it rises the NET_RX s

[PATCH RT 11/22] kernel: migrate_disable() do fastpath in atomic & irqs-off

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior With interrupts off it makes no sense to do the long path since we can't leave the CPU anyway. Also we might end up in a recursion with lockdep. Signed-off-

[PATCH RT 10/22] arm64: replace read_lock to rcu lock in call_step_hook

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Yang Shi BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:917 in_atomic(): 1, irqs_disabled(): 128, pid: 383, name: sh Preemption disabled at:[] kgdb_cp

[PATCH RT 02/22] ptrace: dont open IRQs in ptrace_freeze_traced() too early

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior In the non-RT case the spin_lock_irq() here disables interrupts as well as raw_spin_lock_irq(). So in the unlock case the interrupts are enabled too early.

[PATCH RT 06/22] preempt-lazy: Add the lazy-preemption check to preempt_schedule()

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Probably in the rebase onto v4.1 this check got moved into less commonly used preempt_schedule_notrace(). This patch ensures that both functions use it. Rep

[PATCH RT 22/22] Linux 4.1.15-rt18-rc1

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 1e584b47c987..26374fc600bc

[PATCH RT 04/22] kernel/softirq: use cond_resched_rcu_qs() on -RT as well (run_ksoftirqd())

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior The upstream changes were: 6047967 ksoftirqd: Use new cond_resched_rcu_qs() function 28423ad ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

[PATCH RT 12/22] kernel: softirq: unlock with irqs on

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior We unlock the lock while the interrupts are off. This isn't a problem now but will get because the migrate_disable() + enable are not symmetrical in regard t

[PATCH RT 00/22] Linux 4.1.15-rt18-rc1

2016-03-02 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 4.1.15-rt18-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release cand

[PATCH RT 18/22] trace: Use rcuidle version for preemptoff_hist trace point

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Yang Shi When running -rt kernel with both PREEMPT_OFF_HIST and LOCKDEP enabled, the below error is reported: [ INFO: suspicious RCU usage. ] 4.4.1-rt6 #1 Not tainted include/trac

Re: [PATCH v2 0/6] ARM64: meson: GXBaby (S905) and Vega S95 enablement

2016-03-02 Thread Mark Rutland
On Wed, Mar 02, 2016 at 03:31:52PM +0100, Andreas Färber wrote: > Am 02.03.2016 um 14:52 schrieb Mark Rutland: > > On Wed, Mar 02, 2016 at 03:34:55AM +0100, Andreas Färber wrote: > >> Note: On the Vega S95 I need to change TEXT_OFFSET as follows, > >> in order to avoid the vendor U-Boot overwriting

[PATCH RT 13/22] kernel/stop_machine: partly revert "stop_machine: Use raw spinlocks"

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior With completion using swait and so rawlocks we don't need this anymore. Further, bisect thinks this patch is responsible for: |BUG: unable to handle kernel

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2016-03-02 Thread Peter Zijlstra
On Wed, Mar 02, 2016 at 04:00:49PM +0100, Sedat Dilek wrote: > > > > Right, most odd. Sedat, could you provide objdump -D of the relevant > > sections of vmlinux ? > > > > Can you give some clear instructions - for what shall I look for in special? objdump -D vmlinux | awk '/<[^>]*>:$/ { p=0; } /

[PATCH RT 07/22] softirq: split timer softirqs out of ksoftirqd

2016-03-02 Thread Steven Rostedt
4.1.15-rt18-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior The softirqd runs in -RT with SCHED_FIFO (prio 1) and deals mostly with timer wakeup which can not happen in hardirq context. The prio has been risen from th

[PATCH] lightnvm: do not load L2P table if not supported

2016-03-02 Thread Javier González
An Open-Channel SSD can work on two modes: (i) hybrid mode, where the L2P table is maintained both by the host and by the device; and (ii) full host-based, where the L2P table is uniquely maintained by the host. The current rrpc target operates on hybrid mode. In the advent of a new target impleme

Re: [PATCH 1/2] dt-bindings: Add URT UMSH-8596MD-xT panel bindings

2016-03-02 Thread Maciej S. Szmigiero
On 22.02.2016 03:54, Rob Herring wrote: > On Sat, Feb 13, 2016 at 10:50:24PM +0100, Maciej S. Szmigiero wrote: >> Add DT bindings for United Radiant Technology >> UMSH-8596MD-xT 7.0" WVGA TFT LCD panels. >> >> Signed-off-by: Maciej S. Szmigiero >> --- >> This replaces "of: add URT UMSH-8596MD-xT p

Re: [PATCH v2 4/5] mm, kswapd: replace kswapd compaction with waking up kcompactd

2016-03-02 Thread Vlastimil Babka
On 03/02/2016 03:59 PM, Joonsoo Kim wrote: 2016-03-02 23:40 GMT+09:00 Vlastimil Babka : On 03/02/2016 03:22 PM, Joonsoo Kim wrote: So I understand that patch 5 would be just about this? - if (compaction_restarting(zone, cc->order) && !current_is_kcompactd()) + if (compaction_restar

Re: [PATCH] ALSA: portman2x4: fix NULL pointer dereference

2016-03-02 Thread Takashi Iwai
On Wed, 02 Mar 2016 12:40:30 +0100, Sudip Mukherjee wrote: > > While registering pardev, the irq_func was also registered. As a result > when we tried to probe for the card, an interrupt was generated and in > the ISR we tried to dereference private_data. But private_data is still > NULL as we hav

Re: [PATCH v2 0/8] arm64: Support for systems without AArch32 state

2016-03-02 Thread Mark Rutland
On Wed, Mar 02, 2016 at 06:07:21PM +0300, Yury Norov wrote: > ubuntu@arm64:~$ uname -a > Linux arm64 4.5.0-rc5-00019-g3e330b9 #76 SMP PREEMPT Wed Mar 2 17:46:57 MSK > 2016 aarch64 aarch64 aarch64 GNU/Linux > > ubuntu@arm64:~$ cat /proc/cpuinfo > processor : 0-47 > BogoMIPS: 200.00 >

[PATCH 2/6] usb: xhci-mtk: use __maybe_unused to hide pm functions

2016-03-02 Thread Arnd Bergmann
The mediatek XHCI glue driver uses SET_SYSTEM_SLEEP_PM_OPS() to conditionally set the correct suspend/resume options, and also puts both the dev_pm_ops and the functions inside of an #ifdef testing for CONFIG_PM_SLEEP, but those functions then call other code that becomes unused: drivers/usb/host/

[PATCH 1/6] usb: host: unhide suspend/resume declarations

2016-03-02 Thread Arnd Bergmann
There is no need to hide function declarations, and making these visible to the SoC specific host drivers lets us use __maybe_unused and IS_ENABLED() checks to control their use, rather than having to use #ifdef to hide all callers. Signed-off-by: Arnd Bergmann --- drivers/usb/host/ehci.h | 2 --

Re: [PATCH v2 0/8] arm64: Support for systems without AArch32 state

2016-03-02 Thread Suzuki K. Poulose
On 02/03/16 15:07, Yury Norov wrote: On Wed, Mar 02, 2016 at 12:19:23AM +0300, Yury Norov wrote: On Thu, Feb 25, 2016 at 09:52:40AM +, Suzuki K Poulose wrote: This series add checks to make sure that the AArch32 state is supported before we process the 32bit ID registers. Also checks the sa

[PATCH 6/6] phy: twl4030: use __maybe_unused to hide pm functions

2016-03-02 Thread Arnd Bergmann
The twl4030 USB PHY driver uses UNIVERSAL_DEV_PM_OPS to access its suspend/resume functions, which causes a warning about unused symbols when CONFIG_PM is disabled: drivers/phy/phy-twl4030-usb.c:394:12: error: 'twl4030_usb_runtime_suspend' defined but not used [-Werror=unused-function] drivers/ph

Re: [PATCH] batman-adv: clarify CFG80211 dependency

2016-03-02 Thread Antonio Quartulli
On Wed, Mar 02, 2016 at 02:54:35PM +0100, Arnd Bergmann wrote: > The driver calls cfg80211_get_station, which may be part of a > module, so we must not enable BATMAN_ADV_BATMAN_V if > BATMAN_ADV=y and CFG80211=m: > > net/built-in.o: In function `batadv_v_elp_get_throughput': > (text+0x5c62c): unde

[PATCH 5/6] phy: dm816x: use __maybe_unused to hide pm functions

2016-03-02 Thread Arnd Bergmann
The dm816x USB PHY driver uses UNIVERSAL_DEV_PM_OPS to access its suspend/resume functions, which causes a warning about unused symbols when CONFIG_PM is disabled: drivers/phy/phy-dm816x-usb.c:121:12: error: 'dm816x_usb_phy_runtime_suspend' defined but not used [-Werror=unused-function] drivers/p

[PATCH 3/6] usb: ohci-at91: use __maybe_unused to hide pm functions

2016-03-02 Thread Arnd Bergmann
The ohci-at91 driver uses #ifdef to check for CONFIG_PM, but then uses SIMPLE_DEV_PM_OPS, which leaves the references out when CONFIG_PM_SLEEP is not defined, so we get a warning with PM=y && PM_SLEEP=n: drivers/usb/host/ohci-at91.c:587:1: error: 'ohci_hcd_at91_drv_suspend' defined but not used [

Re: [PATCH 2/2] kasan: unpoison stack of idle task on cpu online

2016-03-02 Thread Andrey Ryabinin
On 03/02/2016 05:50 PM, Mark Rutland wrote: > Hi, > > On Wed, Mar 02, 2016 at 04:51:59PM +0300, Andrey Ryabinin wrote: >> KASAN poisons stack redzones on function's entrance and unpoisons prior >> return. So when cpu goes offline the stack of idle task left poisoned. >> When cpu goes back online

Re: [PATCH v3 1/2] sched/core: Get rid of 'cpu' argument in wq_worker_sleeping()

2016-03-02 Thread Tejun Heo
On Wed, Mar 02, 2016 at 01:03:16PM +0100, Peter Zijlstra wrote: > > This really should also have been Cc'ed to TJ, doing so now. > > On Wed, Mar 02, 2016 at 12:53:31PM +0100, Alexander Gordeev wrote: > > Given that wq_worker_sleeping() could only be called for a > > CPU it is running on, we do no

Re: [PATCH 3/3] ARM: dts: NSP: Add PWM Support to DT

2016-03-02 Thread Arnd Bergmann
On Wednesday 02 March 2016 20:22:01 Yendapally Reddy Dhananjaya Reddy wrote: > On Wed, Mar 2, 2016 at 1:55 AM, Arnd Bergmann wrote: > > On Tuesday 01 March 2016 12:42:49 Yendapally Reddy Dhananjaya Reddy wrote: > >> }; > >> > >> + pwm: pwm@31000 { > >> +

Re: 4.4.3 issue: Hisax driver no longer loading

2016-03-02 Thread Udo van den Heuvel
On 2016-03-02 15:43, Udo van den Heuvel wrote: > [2.048185] Winbond 6692: IRQ 6 count 0 > [2.048292] Winbond 6692: IRQ(6) getting no interrupts during init 3 > [2.048592] HiSax: Card Winbond 6692 not installed ! > > I reserved some IRQs in the BIOS of the box but different IRQ does not

[PATCH 4/6] usb: ehci-atmel: use __maybe_unused to hide pm functions

2016-03-02 Thread Arnd Bergmann
The ehci-atmel driver uses #ifdef to check for CONFIG_PM, but then uses SIMPLE_DEV_PM_OPS, which leaves the references out when CONFIG_PM_SLEEP is not defined, so we get a warning with PM=y && PM_SLEEP=n: drivers/usb/host/ehci-atmel.c:189:12: error: 'ehci_atmel_drv_suspend' defined but not used [

Re: [PATCH 18/41] clk: ti: Remove CLK_IS_ROOT

2016-03-02 Thread Tero Kristo
On 03/01/2016 09:00 PM, Stephen Boyd wrote: This flag is a no-op now. Remove usage of the flag. Cc: Tero Kristo Signed-off-by: Stephen Boyd Acked-by: Tero Kristo --- drivers/clk/ti/clk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/ti/clk.c b/driv

[RESEND 09/11] pwm: sti: Add PWM Capture call-back

2016-03-02 Thread Lee Jones
Once a PWM Capture has been initiated, the capture call enables a rising edge detection IRQ, then waits. Once each of the 3 phase changes have been recorded the thread then wakes. The remaining part of the call carries out the relevant calculations and passes back a formatted string to the caller

Re: [PATCH 3/6] usb: ohci-at91: use __maybe_unused to hide pm functions

2016-03-02 Thread Nicolas Ferre
Le 02/03/2016 16:24, Arnd Bergmann a écrit : > The ohci-at91 driver uses #ifdef to check for CONFIG_PM, but then > uses SIMPLE_DEV_PM_OPS, which leaves the references out when > CONFIG_PM_SLEEP is not defined, so we get a warning with > PM=y && PM_SLEEP=n: > > drivers/usb/host/ohci-at91.c:587:1: e

[RESEND 00/11] pwm: Add support for PWM Capture

2016-03-02 Thread Lee Jones
The first part of this set extends the current PWM API to allow external code to request a PWM Capture. Subsequent patches then make use of the new API by providing a userspace offering via /sysfs. The final part of the set supplies PWM Capture functionality into the already existing STi PWM driv

Re: [PATCH 5/7] perf, tools, stat: Implement --metric-only mode

2016-03-02 Thread Andi Kleen
> > @@ -1229,6 +1397,8 @@ static void print_counters(struct timespec *ts, int > > argc, const char **argv) > > case AGGR_GLOBAL: > > evlist__for_each(evsel_list, counter) > > print_counter_aggr(counter, prefix); > > + if (metric_only) > > +

[RESEND 03/11] pwm: sti: Reorganise register names in preparation for new functionality

2016-03-02 Thread Lee Jones
Exciting functionality is on the way to this device. But before we can add it, we need to do some basic housekeeping so the additions can be added cleanly. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 76 +++ 1 file changed, 41 insertions(

[RESEND 10/11] pwm: sti: Enable PWM Capture

2016-03-02 Thread Lee Jones
Once all functionality is in place, we provide the means to enable PWM Capture. Here we are simply obtaining the associated regmap and twiddling the relevant enable register bits. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 13 + 1 file changed, 13 insertions(+) diff --git

[RESEND 08/11] pwm: sti: Add support for PWM Capture IRQs

2016-03-02 Thread Lee Jones
Here we're requesting the PWM Capture IRQ and supplying the handler which will be called in the event of an IRQ fire to handle it. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 91 ++- 1 file changed, 90 insertions(+), 1 deletion(-) diff --

Re: [PATCH 4/6] usb: ehci-atmel: use __maybe_unused to hide pm functions

2016-03-02 Thread Nicolas Ferre
Le 02/03/2016 16:24, Arnd Bergmann a écrit : > The ehci-atmel driver uses #ifdef to check for CONFIG_PM, but then > uses SIMPLE_DEV_PM_OPS, which leaves the references out when > CONFIG_PM_SLEEP is not defined, so we get a warning with > PM=y && PM_SLEEP=n: > > drivers/usb/host/ehci-atmel.c:189:12

[RESEND 11/11] pwm: sti: Take the opportunity to conduct a little house keeping

2016-03-02 Thread Lee Jones
This includes fixing some Coding Style issues and re-ordering/ simplifying a little code. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/drivers/pwm/pwm-sti.c b/drivers/pwm/pwm-sti.c index 93cf2

[PATCH RT 15/20] drm,i915: Use local_lock/unlock_irq() in intel_pipe_update_start/end()

2016-03-02 Thread Steven Rostedt
3.18.27-rt27-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith [8.014039] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:918 [8.014041] in_atomic(): 0, irqs_disabled(): 1, pid: 78, name: kw

Re: [PATCH 5/7] perf, tools, stat: Implement --metric-only mode

2016-03-02 Thread Andi Kleen
On Wed, Mar 02, 2016 at 12:28:42PM +0100, Jiri Olsa wrote: > On Tue, Mar 01, 2016 at 01:32:39PM +0100, Jiri Olsa wrote: > > On Mon, Feb 29, 2016 at 02:36:24PM -0800, Andi Kleen wrote: > > > From: Andi Kleen > > > > > > Add a new mode to only print metrics. Sometimes we don't care about > > > the

[PATCH RT 19/20] kernel: sched: Fix preempt_disable_ip recodring for preempt_disable()

2016-03-02 Thread Steven Rostedt
3.18.27-rt27-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior preempt_disable() invokes preempt_count_add() which saves the caller in current->preempt_disable_ip. It uses CALLER_ADDR1 which does not look for its caller

[PATCH RT 10/20] kernel: softirq: unlock with irqs on

2016-03-02 Thread Steven Rostedt
3.18.27-rt27-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior We unlock the lock while the interrupts are off. This isn't a problem now but will get because the migrate_disable() + enable are not symmetrical in regard

[RESEND 04/11] pwm: sti: Only request clock rate when you need to

2016-03-02 Thread Lee Jones
In the original code the clock rate was only obtained during initialisation; however, the rate may change between then and its use. This patch ensures the correct rate is acquired just before use. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 16 1 file changed, 8 insert

[RESEND 07/11] pwm: sti: Initialise PWM Capture channel data

2016-03-02 Thread Lee Jones
Each PWM Capture channel is allocated a structure to hold its own state. During a capture the channel may be partaking in one of 3 phases. Initial (rising) phase change, a subsequent (falling) phase change indicating end of the duty-cycle phase and finally a final (rising) phase change indicating

[PATCH RT 07/20] latencyhist: disable jump-labels

2016-03-02 Thread Steven Rostedt
3.18.27-rt27-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Atleast on X86 we die a recursive death |CPU: 3 PID: 585 Comm: bash Not tainted 4.4.1-rt4+ #198 |Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS D

[RESEND 06/11] pwm: sti: Supply PWM Capture clock handling

2016-03-02 Thread Lee Jones
ST's PWM IP is supplied by 2 different clocks. One for PWM Output and the other for Capture. This patch provides clock handling for the latter. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/pwm/pwm-sti.

4.4.3 issue: Hisax driver no longer loading

2016-03-02 Thread Udo van den Heuvel
Hello, On 3.18.11 the card was functioning OK. On 4.4.3 I get: 1.894086] HiSax: Card 1 Protocol EDSS1 Id=HiSax (0) [1.894198] HiSax: W6692 driver Rev. 1.18.2.4 [1.894364] Found: Dynalink/AsusCom IS64PH, I/O base: 0xd000, irq: 6 [1.894490] HiSax: IS64PH config irq:6 I/O:d000 [1.

[PATCH RT 20/20] Linux 3.18.27-rt27-rc1

2016-03-02 Thread Steven Rostedt
3.18.27-rt27-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 2e9afd4a0afd..3b0c6038dae9

[PATCH RT 06/20] net: provide a way to delegate processing a softirq to ksoftirqd

2016-03-02 Thread Steven Rostedt
3.18.27-rt27-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior If the NET_RX uses up all of his budget it moves the following NAPI invocations into the `ksoftirqd`. On -RT it does not do so. Instead it rises the NET_RX

[PATCH RT 05/20] softirq: split timer softirqs out of ksoftirqd

2016-03-02 Thread Steven Rostedt
3.18.27-rt27-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior The softirqd runs in -RT with SCHED_FIFO (prio 1) and deals mostly with timer wakeup which can not happen in hardirq context. The prio has been risen from t

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