rfc: Are any of the seq_pad() uses really necessary?

2016-09-22 Thread Joe Perches
$ git grep -w seq_pad net net/ipv4/fib_trie.c:seq_pad(seq, '\n'); net/ipv4/ping.c:seq_pad(seq, '\n'); net/ipv4/tcp_ipv4.c:seq_pad(seq, '\n'); net/ipv4/udp.c: seq_pad(seq, '\n'); net/phonet/socket.c:seq_pad(seq, '\n'); net/phonet/socket.c:seq_pad(seq, '\n');

Re: recommended use of request_any_context_irq()

2016-09-22 Thread Leo Li
On Thu, Sep 22, 2016 at 3:47 PM, Thomas Gleixner wrote: > On Thu, 22 Sep 2016, Leo Li wrote: >> On Thu, Sep 22, 2016 at 3:10 AM, Marc Zyngier wrote: >> > There is strictly no reason to perform a blanket change of all the >> > drivers. What would be the

Re: [PATCH RT 05/10] net: add back the missing serialization in ip_send_unicast_reply()

2016-09-22 Thread Steven Rostedt
And again. I need to fix quilt mail to handle this. -- Steve On Thu, 22 Sep 2016 17:57:52 -0400 Steven Rostedt wrote: > 4.1.33-rt38-rc1 stable review patch. > If anyone has any objections, please let me know. > > -- > > From: Sebastian Andrzej Siewior

Re: [PATCH v4 0/3] nvme power saving

2016-09-22 Thread Keith Busch
On Thu, Sep 22, 2016 at 02:33:36PM -0700, J Freyensee wrote: > ...and some SSDs don't even support this feature yet, so the number of > different NVMe devices available to test initially will most likely be > small (like the Fultondales I have, all I could check is to see if the > code broke

Re: [PATCH] drivers: wlan-ng: fixed a coding style issue

2016-09-22 Thread Joe Perches
On Thu, 2016-09-22 at 23:56 +0200, Jannik Becher wrote: > removed a space after a cast to obtain the coding style. Better would be to change the subject to something like: [PATCH] staging: wlan-ng: Remove unnecessary spaces before casts

Re: [PATCH v4 0/3] nvme power saving

2016-09-22 Thread Andy Lutomirski
On Thu, Sep 22, 2016 at 2:33 PM, J Freyensee wrote: > On Thu, 2016-09-22 at 14:43 -0600, Jens Axboe wrote: >> On 09/22/2016 02:11 PM, Andy Lutomirski wrote: >> > >> > On Thu, Sep 22, 2016 at 7:23 AM, Jens Axboe wrote: >> > > >> > > >> > > On

[PATCH 1/2] power/reset: at91-reset: add samx7 support

2016-09-22 Thread Alexandre Belloni
From: Szemző András Add samx7 support. It is lacking a few bits and needs a new reset function. Signed-off-by: Szemző András Signed-off-by: Alexandre Belloni --- drivers/power/reset/at91-reset.c | 10 ++ 1 file changed,

[PATCH 2/2] power/reset: at91-reset: remove leftover platform_device_id

2016-09-22 Thread Alexandre Belloni
commit eacd8d09db7f ("power/reset: at91-reset: remove useless at91_reset_platform_probe()") removed non DT probe support but forgot to remove the now useless id_table. Do that now. Signed-off-by: Alexandre Belloni --- drivers/power/reset/at91-reset.c | 7

Re: [PATCH] KVM: nVMX: Fix reload apic access page warning

2016-09-22 Thread Radim Krčmář
2016-09-06 17:20+0800, Wanpeng Li: > From: Wanpeng Li > WARNING: CPU: 1 PID: 4230 at kernel/sched/core.c:7564 __might_sleep+0x7e/0x80 > do not call blocking ops when !TASK_RUNNING; state=1 set at > [] prepare_to_swait+0x39/0xa0 > CPU: 1 PID: 4230 Comm: qemu-system-x86 Not

Re: [PATCH v18 6/6] ARM: socfpga: fpga bridge driver support

2016-09-22 Thread atull
On Tue, 9 Aug 2016, Paul Gortmaker wrote: > [Re: [PATCH v18 6/6] ARM: socfpga: fpga bridge driver support] On 08/08/2016 > (Mon 13:44) Moritz Fischer wrote: > > > Hi Alan, > > > > On Mon, Aug 8, 2016 at 12:18 PM, atull wrote: > > > > >> Please don't use module.h

Re: [PATCH 4.4 000/118] 4.4.22-stable review

2016-09-22 Thread Guenter Roeck
On Thu, Sep 22, 2016 at 07:28:20PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.22 release. > There are 118 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

Re: [PATCH net-next 0/4] net: dsa: add port fast ageing

2016-09-22 Thread Andrew Lunn
On Thu, Sep 22, 2016 at 04:49:20PM -0400, Vivien Didelot wrote: > Today the DSA drivers are in charge of flushing the MAC addresses > associated to a port when its STP state changes from Learning or > Forwarding, to Disabled or Blocking or Listening. > > This makes the drivers more complex and

Re: [PATCH v2] bpf: Set register type according to is_valid_access()

2016-09-22 Thread Alexei Starovoitov
On Thu, Sep 22, 2016 at 09:56:47PM +0200, Mickaël Salaün wrote: > This fix a pointer leak when an unprivileged eBPF program read a pointer > value from the context. Even if is_valid_access() returns a pointer > type, the eBPF verifier replace it with UNKNOWN_VALUE. The register > value containing

[PATCH] raid6/test/test.c: bug fix: Specify aligned(alignment) attributes to the char arrays

2016-09-22 Thread Gayatri Kammela
Specifying the aligned attributes to the char recovi[PAGE_SIZE] and char recovi[PAGE_SIZE] arrays, so that all malloc memory is page boundary aligned. Without these alignment attributes, the test causes a segfault in userspace when the NDISKS are changed to 4 from 16. Cc: H. Peter Anvin

RE: [PATCH v2] raid6/test/test.c: bug fix: Specify aligned(alignment) attributes to the char arrays

2016-09-22 Thread Kammela, Gayatri
Hi all, Sorry for the noise! I didn't mean to send the version2. -Original Message- From: Kammela, Gayatri Sent: Thursday, September 22, 2016 5:08 PM To: linux-r...@vger.kernel.org; linux-kernel@vger.kernel.org Cc: s...@kernel.org; Anvin, H Peter ; Shankar, Ravi

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-22 Thread Ian Kent
On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > Eric, Mateusz, I appreciate your spending time on this and particularly > > pointing > > out my embarrassingly stupid is_local_mountpoint() usage mistake. > > > > Please accept my apology for

Re: Should drivers like nvme let userspace control their latency via dev_pm_qos?

2016-09-22 Thread Rafael J. Wysocki
On 9/16/2016 5:26 PM, Andy Lutomirski wrote: I'm adding power management to the nvme driver, and I'm exposing exactly one knob via sysfs: the maximum permissible latency. This isn't a power domain issue, and it has no dependencies -- it's literally just the maximum latency that the driver may

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-09-22 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b1f2beb87bb034bb209773807994279f90cace78 commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Thomas Gleixner
On Thu, 22 Sep 2016, Davidlohr Bueso wrote: > On Thu, 22 Sep 2016, Waiman Long wrote: > > > BTW, my initial attempt for the new futex was to use the same workflow as > > the PI futexes, but use mutex which has optimistic spinning instead of > > rt_mutex. > > Btw, Thomas, do you still have any

[PATCH] arch/arm: enable task isolation functionality

2016-09-22 Thread Francis Giraldeau
This patch is a port of the task isolation functionality to the arm 32-bit architecture. The task isolation needs an additional thread flag that requires to change the entry assembly code to accept a bitfield larger than one byte. The constants _TIF_SYSCALL_WORK and _TIF_WORK_MASK are now defined

[PATCH] drivers: wlan-ng: fixed a coding style issue

2016-09-22 Thread Jannik Becher
removed a space after a cast to obtain the coding style. Signed-off-by: Jannik Becher --- drivers/staging/wlan-ng/hfa384x.h | 4 ++-- drivers/staging/wlan-ng/p80211netdev.c | 12 ++-- drivers/staging/wlan-ng/p80211req.c| 16

Re: [PATCH 1/1 linux-next] netfilter: conntrack: fix kmemleak false positive

2016-09-22 Thread Florian Westphal
Fabian Frederick wrote: > Hello Florian, > >         First problem is solved: table gets cleared 3 minutes earlier > but I still have kmemleak before running the following: > > echo scan > /sys/kernel/debug/kmemleak > cat /sys/kernel/debug/kmemleak > Nothing > echo scan >

[PATCH 3/4] ARM: dts: at91: add samx7 dtsi

2016-09-22 Thread Alexandre Belloni
From: Szemző András Add device tree support for Atmel samx7 SoCs family. Signed-off-by: Szemző András Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/samx7.dtsi | 1166 ++ 1 file

[PATCH 4/4] ARM: at91: debug: add samx7 support

2016-09-22 Thread Alexandre Belloni
From: Szemző András Add support for low level debugging on Atmel samx7. Signed-off-by: Szemző András Signed-off-by: Alexandre Belloni --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH 1/4] ARM: at91: Add armv7m support

2016-09-22 Thread Alexandre Belloni
From: Szemző András Add Atmel SAME70/SAMS70/SAMV71 SoC support and detection. Signed-off-by: Szemző András Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/Kconfig | 9 +- arch/arm/mach-at91/Makefile | 1

Re: [PATCH 1/2] config: move x86 kvm_guest.config to a common locaton

2016-09-22 Thread Radim Krčmář
2016-09-08 13:41-0500, Rob Herring: > kvm_guest.config is useful for KVM guests on other arches, and nothing > in it appears to be x86 specific, so just move the whole file. Kbuild > will find it in either location. > > Signed-off-by: Rob Herring > Cc: Christoffer Dall

Re: [PATCH v2] KVM: nVMX: Fix the NMI IDT-vectoring handling

2016-09-22 Thread Radim Krčmář
2016-09-22 17:55+0800, Wanpeng Li: > From: Wanpeng Li > > Run kvm-unit-tests/eventinj.flat in L1: > > Sending NMI to self > After NMI to self > FAIL: NMI > > This test scenario is to test whether VMM can handle NMI IDT-vectoring info > correctly. > > At the beginning,

Re: [PATCH 3/5] mmc: core: changes frequency to hs_max_dtr when selecting hs400es

2016-09-22 Thread Shawn Lin
On 2016/9/22 18:21, Ulf Hansson wrote: On 22 September 2016 at 12:06, Shawn Lin wrote: Hi ulf, 在 2016/9/22 17:38, Ulf Hansson 写道: On 21 September 2016 at 03:43, Shawn Lin wrote: Per JESD84-B51 P69, Host need to change frequency to

Re: [PATCH v2] arm: dts: zynq: Add MicroZed board support

2016-09-22 Thread Sören Brinkmann
On Thu, 2016-09-22 at 18:51:29 +0530, Jagan Teki wrote: > From: Jagan Teki > > Added basic dts support for MicroZed board. > > - UART > - SDHCI > - Ethernet > > Cc: Soren Brinkmann > Cc: Michal Simek > Signed-off-by:

Re: [PATCH -v3 00/10] THP swap: Delay splitting THP during swapping out

2016-09-22 Thread Andi Kleen
"Chen, Tim C" writes: >> >>So this is impossible without THP swapin. While 2M swapout makes a lot of >>sense, I doubt 2M swapin is really useful. What kind of application is >>'optimized' >>to do sequential memory access? Anything that touches regions larger than 4K and

[ANNOUNCE] linux-4.7-ck5

2016-09-22 Thread Con Kolivas
Announcing the latest release of the -ck patchset for improved responsiveness and interactivity. http://ck.kolivas.org/patches/4.0/4.7/4.7-ck5/ This is normally just a branded version of BFS with some different default kernel options, however this version incorporates Jens Axboe's writeback

Re: [PATCH 04/11] staging: dgnc: kfree for board structure in

2016-09-22 Thread DaeSeok Youn
2016-09-22 16:21 GMT+09:00 Greg KH : > On Thu, Sep 22, 2016 at 02:22:03PM +0900, Daeseok Youn wrote: >> The board structure should be freed when any function was failed >> in dgnc_found_board(). And the board strucure will be stored >> into dgnc_board array when the

Re: [PATCH v2] usb: gadget: Add uevent to notify userspace

2016-09-22 Thread Baolin Wang
Hi, On 22 September 2016 at 20:53, Felipe Balbi wrote: > > > Hi, > > Baolin Wang writes: static const struct usb_gadget_driver configfs_driver_template = { .bind = configfs_composite_bind, .unbind =

Re: [PATCH -v3 00/10] THP swap: Delay splitting THP during swapping out

2016-09-22 Thread Huang, Ying
Rik van Riel writes: > On Thu, 2016-09-22 at 15:56 -0700, Shaohua Li wrote: >> On Wed, Sep 07, 2016 at 09:45:59AM -0700, Huang, Ying wrote: >> >  >> > - It will help the memory fragmentation, especially when the THP is >> >   heavily used by the applications.  The 2M continuous

Re: [PATCH v4 10/10] cpufreq: intel_pstate: Use CPPC to get max performance

2016-09-22 Thread Tim Chen
On Thu, 2016-09-22 at 22:58 +0200, Rafael J. Wysocki wrote: >  > > > so what if there are two CPU packages > > > and there are highest_perf differences in both, and we first enumerate > > > the first package entirely before getting to the second one? > > > > > > In that case we'll schedule the

Re: [PATCH RT 05/10] net: add back the missing serialization in ip_send_unicast_reply()

2016-09-22 Thread Steven Rostedt
This got rejected by vger.kernel.org because quilt mail can't handle that funny symbol in Sami's name. -- Steve On Thu, 22 Sep 2016 17:47:57 -0400 Steven Rostedt wrote: > 4.4.21-rt31-rc1 stable review patch. > If anyone has any objections, please let me know. > >

[PATCH RT 02/10] timers: wakeup all timer waiters without holding the base lock

2016-09-22 Thread Steven Rostedt
4.1.33-rt38-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior There should be no need to hold the base lock during the wakeup. There should be no boosting involved, the wakeup list has its own

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Waiman Long
On 09/22/2016 05:41 PM, Thomas Gleixner wrote: On Thu, 22 Sep 2016, Davidlohr Bueso wrote: On Thu, 22 Sep 2016, Waiman Long wrote: BTW, my initial attempt for the new futex was to use the same workflow as the PI futexes, but use mutex which has optimistic spinning instead of rt_mutex. Btw,

[PATCH RT 07/10] fs/dcache: resched/chill only if we make no progress

2016-09-22 Thread Steven Rostedt
4.1.33-rt38-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Upstream commit 47be61845c77 ("fs/dcache.c: avoid soft-lockup in dput()") changed the condition _when_ cpu_relax() / cond_resched()

[PATCH RT 01/10] timers: wakeup all timer waiters

2016-09-22 Thread Steven Rostedt
4.1.33-rt38-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior The base lock is dropped during the invocation if the timer. That means it is possible that we have one waiter while timer1 is

[PATCH RT 03/10] sched: lazy_preempt: avoid a warning in the !RT case

2016-09-22 Thread Steven Rostedt
4.1.33-rt38-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Steven Rostedt ---

[PATCH RT 04/10] scsi/fcoe: Fix get_cpu()/put_cpu_light() imbalance in fcoe_recv_frame()

2016-09-22 Thread Steven Rostedt
4.1.33-rt38-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith During master->rt merge, I stumbled across the buglet below. Fix get_cpu()/put_cpu_light() imbalance. Cc: stable...@vger.kernel.org

[PATCH RT 08/10] x86/preempt-lazy: fixup should_resched()

2016-09-22 Thread Steven Rostedt
4.1.33-rt38-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior should_resched() returns true if NEED_RESCHED is set and the preempt_count is 0 _or_ if NEED_RESCHED_LAZY is set ignoring the preempt

[PATCH RT 09/10] fs/dcache: incremental fixup of the retry routine

2016-09-22 Thread Steven Rostedt
4.1.33-rt38-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior It has been pointed out by tglx that on UP the non-RT task could spin its entire time slice because the lock owner is preempted. This

Re: [RFC PATCH 2/8] thread_info: allow custom in-task thread_info

2016-09-22 Thread Andy Lutomirski
On Sep 21, 2016 12:28 AM, "Mark Rutland" wrote: > > Hi Andy, > > On Fri, Sep 16, 2016 at 08:11:14AM -0700, Andy Lutomirski wrote: > > > On Thu, Sep 15, 2016 at 11:37:47AM -0700, Andy Lutomirski wrote: > > > Just to check, what do you mean to happen with the flags field?

Re: [PATCH 09/12] x86/process: Pin the target stack in get_wchan()

2016-09-22 Thread Andy Lutomirski
On Fri, Sep 16, 2016 at 7:00 PM, Jann Horn wrote: > On Tue, Sep 13, 2016 at 02:29:29PM -0700, Andy Lutomirski wrote: >> This will prevent a crash if get_wchan() runs after the task stack >> is freed. > > I think I found some more stuff. Have a look at KSTK_EIP() and KSTK_ESP(), I

Re: [PATCH v4] KVM: VMX: Enable MSR-BASED TPR shadow even if APICv is inactive

2016-09-22 Thread Radim Krčmář
2016-09-22 07:43+0800, Wanpeng Li: > From: Wanpeng Li > > I observed that kvmvapic(to optimize flexpriority=N or AMD) is used > to boost TPR access when testing kvm-unit-test/eventinj.flat tpr case > on my haswell desktop (w/ flexpriority, w/o APICv). Commit

Re: [RFC PATCH v2 1/5] futex: Add futex_set_timer() helper function

2016-09-22 Thread Waiman Long
On 09/22/2016 05:31 PM, Thomas Gleixner wrote: On Tue, 20 Sep 2016, Waiman Long wrote: Please be more careful of your subject lines. First thing I thought was that you add a helper which is used in later patches to find out that you actualy consolidate duplicated code. Something like:

[PATCH 01/11 V2] staging: dgnc: remove redundant initialization for channel array

2016-09-22 Thread Daeseok Youn
The channel array in board_t was initialized in dgnc_found_board() with NULL. But the channel is going to initialize in dgnc_tty_init() again. So the channel array doesn't need to set NULL for initailization in dgnc_found_board(). Signed-off-by: Daeseok Youn --- V2: The

[PATCH 09/11 V2] staging: dgnc: rename dgnc_tty_uninit() to dgnc_cleanup_tty()

2016-09-22 Thread Daeseok Youn
The dgnc_tty_uninit() doesn't match with dgnc_tty_init() at all. And also the dgnc_cleanup_tty() is only called for exiting the module. Signed-off-by: Daeseok Youn --- V2: the subject line was cut off, I put it completely. drivers/staging/dgnc/dgnc_driver.c | 2 +-

Re: [PATCH] PCI: rockchip: Support quirk to disable 5 GT/s (PCIe 2.x) link rate

2016-09-22 Thread Shawn Lin
Hi Brain, 在 2016/9/23 9:15, Brian Norris 写道: Hi Shawn, On Fri, Sep 23, 2016 at 08:27:35AM +0800, Shawn Lin wrote: 在 2016/9/23 1:31, Brian Norris 写道: rk3399 supports PCIe 2.x link speeds marginally at best, and on some boards, the link won't train at 5 GT/s at all. Rather than sacrifice 500

linux-next: manual merge of the drm-misc tree with Linus' tree

2016-09-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/drm_crtc.c between commit: 6f00975c6190 ("drm: Reject page_flip for !DRIVER_MODESET") from Linus' tree and commit: 43968d7b806d ("drm: Extract drm_plane.[hc]") from the drm-misc tree. I fixed it

Re: [RFC PATCH 3/4] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Waiman Long
On 09/22/2016 09:32 AM, Thomas Gleixner wrote: On Tue, 6 Sep 2016, Waiman Long wrote: +enum futex_type { + TYPE_PI = 0, + TYPE_TO, +}; Please introduce the futex_type magic and the related changes to the pi code in a seperate patch so it can be verified independently. It's sad

Re: [PATCH] clocksource/drivers/ti-32k: Prevent ftrace recursion

2016-09-22 Thread Steven Rostedt
On Fri, 23 Sep 2016 10:04:31 +0800 Jisheng Zhang wrote: > Hi Thomas, > > On Thu, 22 Sep 2016 15:58:03 +0200 Thomas Gleixner wrote: > > > On Thu, 22 Sep 2016, Jisheng Zhang wrote: > > > > > Currently ti-32k can be used as a scheduler clock. We properly marked > > >

[PATCH RT 02/10] timers: wakeup all timer waiters without holding the base lock

2016-09-22 Thread Steven Rostedt
4.4.21-rt31-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior There should be no need to hold the base lock during the wakeup. There should be no boosting involved, the wakeup list has its own

[PATCH RT 03/10] sched: lazy_preempt: avoid a warning in the !RT case

2016-09-22 Thread Steven Rostedt
4.4.21-rt31-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Steven Rostedt ---

[PATCH RT 01/10] timers: wakeup all timer waiters

2016-09-22 Thread Steven Rostedt
4.4.21-rt31-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior The base lock is dropped during the invocation if the timer. That means it is possible that we have one waiter while timer1 is

[PATCH RT 10/10] Linux 4.4.21-rt31-rc1

2016-09-22 Thread Steven Rostedt
4.4.21-rt31-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

[PATCH RT 07/10] fs/dcache: resched/chill only if we make no progress

2016-09-22 Thread Steven Rostedt
4.4.21-rt31-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Upstream commit 47be61845c77 ("fs/dcache.c: avoid soft-lockup in dput()") changed the condition _when_ cpu_relax() / cond_resched()

[PATCH RT 00/10] Linux 4.4.21-rt31-rc1

2016-09-22 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 4.4.21-rt31-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

[PATCH RT 08/10] x86/preempt-lazy: fixup should_resched()

2016-09-22 Thread Steven Rostedt
4.4.21-rt31-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior should_resched() returns true if NEED_RESCHED is set and the preempt_count is 0 _or_ if NEED_RESCHED_LAZY is set ignoring the preempt

[PATCH RT 04/10] scsi/fcoe: Fix get_cpu()/put_cpu_light() imbalance in fcoe_recv_frame()

2016-09-22 Thread Steven Rostedt
4.4.21-rt31-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith During master->rt merge, I stumbled across the buglet below. Fix get_cpu()/put_cpu_light() imbalance. Cc: stable...@vger.kernel.org

Re: [PATCH V6 3/5] PCI: thunder-pem: Allow to probe PEM-specific register range for ACPI case

2016-09-22 Thread Bjorn Helgaas
On Thu, Sep 22, 2016 at 01:31:01PM -0500, Bjorn Helgaas wrote: > On Thu, Sep 22, 2016 at 01:44:46PM +0100, Lorenzo Pieralisi wrote: > > On Thu, Sep 22, 2016 at 11:10:13AM +, Gabriele Paoloni wrote: > > > Hi Lorenzo, Bjorn > > > > > > > -Original Message- > > > > From: Lorenzo

[PATCH RT 09/10] fs/dcache: incremental fixup of the retry routine

2016-09-22 Thread Steven Rostedt
3.18.42-rt45-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior It has been pointed out by tglx that on UP the non-RT task could spin its entire time slice because the lock owner is preempted.

RE: [PATCH -v3 00/10] THP swap: Delay splitting THP during swapping out

2016-09-22 Thread Chen, Tim C
> >So this is impossible without THP swapin. While 2M swapout makes a lot of >sense, I doubt 2M swapin is really useful. What kind of application is >'optimized' >to do sequential memory access? We waste a lot of cpu cycles to re-compact 4K pages back to a large page under THP. Swapping it back

[PATCH v2 4/4] mmc: sdhci-of-arasan: add sdhci_arasan_voltage_switch for arasan,5.1

2016-09-22 Thread Shawn Lin
Per the vendor's requirement, we shouldn't do any setting for 1.8V Signaling Enable, otherwise the interaction/behaviour between phy and controller will be undefined. Mostly it works fine if we do that, but we still see failures. Anyway, let's fix it to meet the vendor's requirement. The error log

[PATCH v2 3/4] mmc: sdhci: Don't try to switch to unsupported voltage

2016-09-22 Thread Shawn Lin
From: Ziyuan Xu Sdhci shouldn't switch to the unsupported voltage if claiming that it can not support the requested voltage. Let's fix it. Signed-off-by: Ziyuan Xu Signed-off-by: Shawn Lin --- Changes in v2: None

[PATCH v2 2/4] mmc: core: changes frequency to hs_max_dtr when selecting hs400es

2016-09-22 Thread Shawn Lin
Per JESD84-B51 P69, Host need to change frequency to <=52MHz after setting HS_TIMING to 0x1, and host may changes frequency to <= 200MHz after setting HS_TIMING to 0x3. That means the card expects the clock rate to increase from the current used f_init (which is less than 400KHz, but still being

Re: [PATCH] PCI: rockchip: fix uninitialized variable use

2016-09-22 Thread Shawn Lin
Hi Arnd, 在 2016/9/22 17:39, Arnd Bergmann 写道: The newly added pcie-rockchip driver fails to initialize the io_size variable if the DT doesn't provide ranges for the PCI I/O space, as found by building it with -Wmaybe-uninitialized: drivers/pci/host/pcie-rockchip.c: In function

[PATCH 03/11 V2] staging: dgnc: missing NULL check for ioremap in dgnc_do_remap()

2016-09-22 Thread Daeseok Youn
The ioremap() function can be failed, so it need to have error handling in dgnc_do_remap(). And also the return type of dgnc_do_remap() should be changed from "void" to "int" Signed-off-by: Daeseok Youn --- V2: the subject line was cut off, I put it completely.

Re: Should drivers like nvme let userspace control their latency via dev_pm_qos?

2016-09-22 Thread Andy Lutomirski
On Thu, Sep 22, 2016 at 6:26 PM, Rafael J. Wysocki wrote: > On 9/16/2016 5:26 PM, Andy Lutomirski wrote: >> >> I'm adding power management to the nvme driver, and I'm exposing >> exactly one knob via sysfs: the maximum permissible latency. This >> isn't a power domain

Re: [PATCH net-next] Documentation: devicetree: revise ethernet device-tree binding about TRGMII

2016-09-22 Thread Sean Wang
Date: Thu, 22 Sep 2016 19:48:47 +0300, Sergei Shtylyov wrote: >On 09/22/2016 07:16 PM, sean.w...@mediatek.com wrote: > >> From: Sean Wang >> >> fix typo in mediatek-net.txt and add phy-mode "trgmii" to ethernet.txt > >These changes

Re: [PATCH] clocksource/drivers/ti-32k: Prevent ftrace recursion

2016-09-22 Thread Jisheng Zhang
On Thu, 22 Sep 2016 22:45:14 -0400 Steven Rostedt wrote: > On Fri, 23 Sep 2016 10:04:31 +0800 > Jisheng Zhang wrote: > > > Hi Thomas, > > > > On Thu, 22 Sep 2016 15:58:03 +0200 Thomas Gleixner wrote: > > > > > On Thu, 22 Sep 2016, Jisheng Zhang wrote: > > > > > > >

Re: [RFC v7 00/23] adapt clockevents frequencies to mono clock

2016-09-22 Thread Thomas Gleixner
On Wed, 21 Sep 2016, Nicolai Stange wrote: > Thomas Gleixner writes: > > > On Wed, 21 Sep 2016, Nicolai Stange wrote: > >> Thomas Gleixner writes: > >> > Have you ever measured the overhead of the extra work which has to be > >> > done > >> > in

[PATCH RT 09/10] fs/dcache: incremental fixup of the retry routine

2016-09-22 Thread Steven Rostedt
4.4.21-rt31-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior It has been pointed out by tglx that on UP the non-RT task could spin its entire time slice because the lock owner is preempted. This

Re: [PATCH v5 3/6] x86/arch_prctl Add a new do_arch_prctl

2016-09-22 Thread Andy Lutomirski
On Wed, Sep 21, 2016 at 11:58 AM, Kyle Huey wrote: > Add a new do_arch_prctl to handle arch_prctls that are not specific to 64 > bits. Call it from the syscall entry point, but not any of the other > callsites in the kernel, which all want one of the existing 64 bit only >

Re: modules still have .debug_* (was Re: [PATCH 0/3] ARC unwinder switch to .eh_frame)

2016-09-22 Thread Daniel Mentz
On Thu, Sep 22, 2016 at 1:59 PM, Vineet Gupta wrote: > Hi Daniel, > > On 09/19/2016 06:21 PM, Daniel Mentz wrote: >> I confirmed that the .eh_frame section is present and that the >> .debug_frame section is absent. I also verified that the file size of >> the .ko files

[PATCH] KVM: VMX: refactor global page-sized bitmaps

2016-09-22 Thread Radim Krčmář
We've had 10 page-sized bitmaps that were being allocated and freed one by one when we could just use a cycle and MSR bitmaps had a lot of useless code lying around. This patch * enumerates vmx bitmaps and uses an array to store them * replaces vmx_enable_intercept_msr_read_x2apic() with a

[PATCH RT 08/10] x86/preempt-lazy: fixup should_resched()

2016-09-22 Thread Steven Rostedt
3.18.42-rt45-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior should_resched() returns true if NEED_RESCHED is set and the preempt_count is 0 _or_ if NEED_RESCHED_LAZY is set ignoring the

[PATCH RT 04/10] scsi/fcoe: Fix get_cpu()/put_cpu_light() imbalance in fcoe_recv_frame()

2016-09-22 Thread Steven Rostedt
3.18.42-rt45-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith During master->rt merge, I stumbled across the buglet below. Fix get_cpu()/put_cpu_light() imbalance. Cc: stable...@vger.kernel.org

[PATCH RT 00/10] Linux 3.18.42-rt45-rc1

2016-09-22 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.18.42-rt45-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

[PATCH RT 06/10] net: add a lock around icmp_sk()

2016-09-22 Thread Steven Rostedt
3.18.42-rt45-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior It looks like the this_cpu_ptr() access in icmp_sk() is protected with local_bh_disable(). To avoid missing serialization in -RT I

[PATCH RT 03/10] sched: lazy_preempt: avoid a warning in the !RT case

2016-09-22 Thread Steven Rostedt
3.18.42-rt45-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Steven Rostedt ---

[PATCH RT 02/10] timers: wakeup all timer waiters without holding the base lock

2016-09-22 Thread Steven Rostedt
3.18.42-rt45-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior There should be no need to hold the base lock during the wakeup. There should be no boosting involved, the wakeup list has its own

[PATCH RT 07/10] fs/dcache: resched/chill only if we make no progress

2016-09-22 Thread Steven Rostedt
3.18.42-rt45-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Upstream commit 47be61845c77 ("fs/dcache.c: avoid soft-lockup in dput()") changed the condition _when_ cpu_relax() / cond_resched()

Re: + softirq-fix-tasklet_kill-and-its-users.patch added to -mm tree

2016-09-22 Thread Stephen Rothwell
Hi Thomas, On Thu, 22 Sep 2016 09:05:23 +0200 (CEST) Thomas Gleixner wrote: > > B1;2802;0cOn Wed, 21 Sep 2016, Santosh Shilimkar wrote: > > I requested you to include this patch but now am not sure anymore. > > Looks like there are almost 30 more users which are directly > >

Re: [PATCH] ASoC: simple-card: add support for aux devices

2016-09-22 Thread Kuninori Morimoto
Hi Nikita > Example usage: > > codec: tlv320dac3100@18 { > compatible = "ti,tlv320dac3100"; > ... > } > > amp: tpa6130a2@60 { > compatible = "ti,tpa6130a2"; > ... > } > > sound { > compatible =

Re: [PATCH] PCI: rockchip: Support quirk to disable 5 GT/s (PCIe 2.x) link rate

2016-09-22 Thread Shawn Lin
Hi Brain, 在 2016/9/23 1:31, Brian Norris 写道: rk3399 supports PCIe 2.x link speeds marginally at best, and on some boards, the link won't train at 5 GT/s at all. Rather than sacrifice 500 ms waiting for training that will never happen, let's support a device tree quirk flag to disable generation

[PATCH] drivers: drm: nouveau: Fix brace coding style error

2016-09-22 Thread David Archuleta Jr
Fixed a coding style issue. Else should follow brace. Signed-off-by: David Archuleta Jr. --- drivers/gpu/drm/nouveau/nouveau_display.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c

Re: [PATCH] usb: dwc2: add USBTrdTim to initial value

2016-09-22 Thread John Youn
On 9/21/2016 6:43 PM, Pengcheng Li wrote: > After dwc2_core_reset,register is to the initial value, and the USBTrdTim > vale is 0x5. If hsotg->phyif = GUSBCFG_PHYIF8, after the dwc2_writel,the > value is 0xd.So we need to set the USBTrdTim to 0. [++ Felipe] Looks good. But please clean up the

Re: [PATCH 0/4 v3] Add an interface to discover relationships between namespaces

2016-09-22 Thread Eric W. Biederman
Andrei Vagin writes: > From: Andrey Vagin > > Each namespace has an owning user namespace and now there is not way > to discover these relationships. > > Pid and user namepaces are hierarchical. There is no way to discover > parent-child relationships too.

[PATCH RT 03/10] sched: lazy_preempt: avoid a warning in the !RT case

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Steven Rostedt ---

[PATCH RT 08/10] x86/preempt-lazy: fixup should_resched()

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior should_resched() returns true if NEED_RESCHED is set and the preempt_count is 0 _or_ if NEED_RESCHED_LAZY is set ignoring the

[PATCH RT 05/10] net: add back the missing serialization in ip_send_unicast_reply()

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Some time ago Sami Pietikainen reported a crash on -RT in ip_send_unicast_reply() which was later fixed by Nicholas Mc Guire

[PATCH RT 02/10] timers: wakeup all timer waiters without holding the base lock

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior There should be no need to hold the base lock during the wakeup. There should be no boosting involved, the wakeup list has its own

[PATCH RT 01/10] timers: wakeup all timer waiters

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior The base lock is dropped during the invocation if the timer. That means it is possible that we have one waiter while timer1 is

[PATCH RT 10/10] Linux 3.14.79-rt85-rc1

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-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

[PATCH RT 07/10] fs/dcache: resched/chill only if we make no progress

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Upstream commit 47be61845c77 ("fs/dcache.c: avoid soft-lockup in dput()") changed the condition _when_ cpu_relax() / cond_resched()

[PATCH RT 09/10] fs/dcache: incremental fixup of the retry routine

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior It has been pointed out by tglx that on UP the non-RT task could spin its entire time slice because the lock owner is preempted.

[PATCH 0/4] ARM: at91: initial samx7 support

2016-09-22 Thread Alexandre Belloni
Hi, This series adds initial support for Atmel armv7m SoCs. Most of the work has been done and tested by András, thanks! Alexandre Belloni (1): ARM: at91: handle CONFIG_PM for armv7m configurations Szemző András (3): ARM: at91: Add armv7m support ARM: dts: at91: add samx7 dtsi ARM:

  1   2   3   4   5   6   7   8   9   10   >