[PATCH 2/2] f2fs: fix to do f2fs_balance_fs in f2fs_map_blocks correctly

2016-08-20 Thread Chao Yu
If we preallocate blocks with f2fs_reserve_blocks in f2fs_map_blocks, we should call f2fs_balance_fs for checking and reclaiming space, fix it. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index dee3a78..040a07a 100

[PATCH 1/2] f2fs: fix to preallocate block only aligned to 4K

2016-08-20 Thread Chao Yu
In write_begin(), we skip checking dnode block for preallocating block when whole block needs to be updated since we preallocated its block in f2fs_preallocate_blocks, for partial updated block, we will still try to lock its node and do preallocation in write_begin(), so in f2fs_preallocate_blocks

Re: Memory (skb) leak in kernel 4.8-rc2

2016-08-20 Thread Johan Hedberg
Hi Marcel, On Sat, Aug 20, 2016, Marcel Holtmann wrote: > > I am seeing two skb leaks in the BT sub-system for kernel 4.8-rc2. I > > only recently re-enabled kmemleak, but I do not think I saw these > > leaks in 4.7. > > > > The first leak is at btusb_recv_intr+0x12b/0x170 [btusb]. This > > addre

[PATCH 1/1] sched/clock: add __init attribute to sched_clock_init()

2016-08-20 Thread seokhoon.yoon
sched_clock_init() is only called from start_kernel(). So add __init attritute to it. Signed-off-by: seokhoon.yoon --- kernel/sched/clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/clock.c b/kernel/sched/clock.c index e85a725..e5795e8 100644 --- a/kern

[PATCH 0/2] tun: Fine-tuning for update_filter()

2016-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 Aug 2016 09:16:16 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Use memdup_user() Rename a jump label drivers/net/tun.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-)

Re: [PATCH 0/2] fs, proc: optimize smaps output formatting

2016-08-20 Thread Michal Hocko
On Fri 19-08-16 10:43:15, Joe Perches wrote: > On Fri, 2016-08-19 at 12:12 +0200, Michal Hocko wrote: > > Hi, > > this is rebased on top of next-20160818. Joe has pointed out that > > meminfo is using a similar trick so I have extracted guts of what we > > have already and made it more generic to b

[PATCH 1/2] tun: Use memdup_user() rather than duplicating its implementation

2016-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 Aug 2016 08:54:15 +0200 Reuse existing functionality from memdup_user() instead of keeping duplicate source code. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/tun.c | 11 +++ 1 file changed,

[PATCH 2/2] tun: Rename a jump label in update_filter()

2016-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 Aug 2016 09:00:34 +0200 Adjust a jump target according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/net/tun.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c ind

Re: [PATCH 0/2] fs, proc: optimize smaps output formatting

2016-08-20 Thread Joe Perches
On Sat, 2016-08-20 at 09:29 +0200, Michal Hocko wrote: > On Fri 19-08-16 10:43:15, Joe Perches wrote: > > > > On Fri, 2016-08-19 at 12:12 +0200, Michal Hocko wrote: > > > > > > Hi, > > > this is rebased on top of next-20160818. Joe has pointed out that > > > meminfo is using a similar trick so I

[PATCH 0/2] seq: Speed up /proc//smaps

2016-08-20 Thread Joe Perches
Doing a simple cat of these files can take a lot more cpu than it should. Optimize it a bit. Joe Perches (2): seq_file: Add __seq_open_private_bufsize for seq file_operation sizes proc: task_mmu: Reduce output processing cpu time fs/proc/task_mmu.c | 94 ---

[PATCH 1/2] seq_file: Add __seq_open_private_bufsize for seq file_operation sizes

2016-08-20 Thread Joe Perches
Specifying an initial output buffer size can reduce the number of regenerations of the seq_ buffers when the buffer overflows. Add another version of __seq_open_private that takes an initial buffer size. Signed-off-by: Joe Perches --- fs/seq_file.c| 31 ++

[PATCH 2/2] proc: task_mmu: Reduce output processing cpu time

2016-08-20 Thread Joe Perches
Use the new __seq_open_private_buffer to estimate the final output /proc//smaps filesize to reduce the number of reallocations of overflowed buffers. Use a simpler single-line function to emit various values in kB. Signed-off-by: Joe Perches --- fs/proc/task_mmu.c | 94 +

[RFC/PATCHSET 0/3] virtio: Implement virtio pstore device (v3)

2016-08-20 Thread Namhyung Kim
Hello, This is another iteration of the virtio-pstore work. In this patchset I addressed most of feedbacks from previous version and drooped the support for PSTORE_TYPE_CONSOLE for simplicity. It'll be added once the basic implementation * changes in v3) - use QIOChannel API (Stefan, Danie

[PATCH 3/3] kvmtool: Implement virtio-pstore device

2016-08-20 Thread Namhyung Kim
From: Namhyung Kim Add virtio pstore device to allow kernel log messages saved on the host. With this patch, it will save the log files under directory given by --pstore option. $ lkvm run --pstore=dir-xx (guest) # echo c > /proc/sysrq-trigger $ ls dir-xx dmesg-1.enc.z dmesg-2.enc.z

[PATCH 2/3] qemu: Implement virtio-pstore device

2016-08-20 Thread Namhyung Kim
Add virtio pstore device to allow kernel log files saved on the host. It will save the log files on the directory given by pstore device option. $ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ... (guest) # echo c > /proc/sysrq-trigger $ ls dir-xx dmesg-1.enc.z dmesg-2.enc.z

[PATCH 1/3] virtio: Basic implementation of virtio pstore driver

2016-08-20 Thread Namhyung Kim
The virtio pstore driver provides interface to the pstore subsystem so that the guest kernel's log/dump message can be saved on the host machine. Users can access the log file directly on the host, or on the guest at the next boot using pstore filesystem. It currently deals with kernel log (print

Re: [PATCH] Fix /proc/stat freezes (was [PATCH v15] "task_isolation" mode)

2016-08-20 Thread Chris Metcalf
On 8/17/2016 3:37 PM, Christoph Lameter wrote: On Tue, 16 Aug 2016, Chris Metcalf wrote: - Dropped Christoph Lameter's patch to avoid scheduling the clocksource watchdog on nohz cores; the recommendation is to just boot with tsc=reliable for NOHZ in any case, if necessary. We also said t

[PATCH] wan-cosa: Use memdup_user() rather than duplicating its implementation

2016-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 Aug 2016 10:10:12 +0200 Reuse existing functionality from memdup_user() instead of keeping duplicate source code. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/wan/cosa.c | 12 +++- 1 file cha

Re: [PATCH] wan-cosa: Use memdup_user() rather than duplicating its implementation

2016-08-20 Thread Christophe JAILLET
Le 20/08/2016 à 10:25, SF Markus Elfring a écrit : From: Markus Elfring Date: Sat, 20 Aug 2016 10:10:12 +0200 Reuse existing functionality from memdup_user() instead of keeping duplicate source code. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH 1/2] mmc-block: Use memdup_user() rather than duplicating its implementation

2016-08-20 Thread walter harms
Am 19.08.2016 23:10, schrieb SF Markus Elfring: > From: Markus Elfring > Date: Fri, 19 Aug 2016 22:46:38 +0200 > > * Reuse existing functionality from memdup_user() instead of keeping > duplicate source code. > > This issue was detected by using the Coccinelle software. > > * Delete the i

Re: [PATCH v8 1/4] nmi_backtrace: add more trigger_*_cpu_backtrace() methods

2016-08-20 Thread Chris Metcalf
On 8/18/2016 10:12 AM, Petr Mladek wrote: On Tue 2016-08-16 15:50:21, Chris Metcalf wrote: Currently you can only request a backtrace of either all cpus, or all cpus but yourself. It can also be helpful to request a remote backtrace of a single cpu, and since we want that, the logical extension

Re: [PATCH] mlx5/core: Use memdup_user() rather than duplicating its implementation

2016-08-20 Thread walter harms
Am 20.08.2016 08:01, schrieb SF Markus Elfring: > From: Markus Elfring > Date: Sat, 20 Aug 2016 07:50:09 +0200 > > * Reuse existing functionality from memdup_user() instead of keeping > duplicate source code. > > This issue was detected by using the Coccinelle software. > > * Return direc

Re: [PATCH] mm, numa: boot cpu should bound to the node0 when node_off enable

2016-08-20 Thread zhong jiang
On 2016/8/19 12:11, Ganapatrao Kulkarni wrote: > On Fri, Aug 19, 2016 at 9:30 AM, Ganapatrao Kulkarni > wrote: >> On Fri, Aug 19, 2016 at 7:28 AM, zhong jiang wrote: >>> On 2016/8/19 1:45, Ganapatrao Kulkarni wrote: On Thu, Aug 18, 2016 at 9:34 PM, Catalin Marinas wrote: > On Thu,

Re: [PATCH 4.7 000/186] 4.7.2-stable review

2016-08-20 Thread Greg Kroah-Hartman
On Fri, Aug 19, 2016 at 12:45:29PM -0700, kernelci.org bot wrote: > stable-rc boot: 146 boots: 0 failed, 139 passed with 7 offline > (v4.7.1-186-ge94b177018fe) > > Full Boot Summary: > https://kernelci.org/boot/all/job/stable-rc/kernel/v4.7.1-186-ge94b177018fe/ > Full Build Summary: > https://k

[PATCH] lib/Kconfig.debug: fix typo in select statement

2016-08-20 Thread Valentin Rothberg
Commit 484f29c7430b3 ("bug: Provide toggle for BUG on data corruption") added a Kconfig select statement on CONFIG_DEBUG_LIST, but the CONFIG_ prefix is only used in Make and C(PP) syntax. Remove the CONFIG_ prefix to correctly select the Kconfig option DEBUG_LIST. Signed-off-by: Valentin Rothber

BUG: spinlock recursion in sched/fair.c | struct rq::lock

2016-08-20 Thread Vegard Nossum
Hi, Got this: BUG: spinlock recursion on CPU#0, trinity-c2/27519 lock: 0x88011ab20180, .magic: dead4ead, .owner: trinity-c2/27519, .owner_cpu: 2 CPU: 0 PID: 27519 Comm: trinity-c2 Not tainted 4.8.0-rc2+ #143 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.9.3-0-ge2fc41e

Re: [PATCH 0/2] minor x86 PM source file cleanup

2016-08-20 Thread Pavel Machek
On Fri 2016-08-19 17:24:00, Al Stone wrote: > Really minor patches: one to cleanup whitespace, the second just makes > the code a wee bit more maintainable by correcting some variable names > without changing functionality. Acked-by: Pavel Machek (for both) > Al Stone (2): > x86: ACPI: remove

Re: [PATCH 6/6] Add dockerfile

2016-08-20 Thread Dmitry Monakhov
Theodore Ts'o writes: > On Fri, Aug 19, 2016 at 12:27:43PM +0300, Dmitry Monakhov wrote: >> Actually main idea is to have build environment for xfstests-bld development >> plus automatic builds gives us CI. This is important because >> xfstests-blk build is silently broken since May 30 due to 82c

Re: [PATCH 1/2] tun: Use memdup_user() rather than duplicating its implementation

2016-08-20 Thread Shmulik Ladkani
Hi, On Sat, 20 Aug 2016 09:34:56 +0200 SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 20 Aug 2016 08:54:15 +0200 > > Reuse existing functionality from memdup_user() instead of keeping > duplicate source code. > > This issue was detected by using the Coccinelle software. > > Sig

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-20 Thread Mel Gorman
On Sat, Aug 20, 2016 at 09:48:39AM +1000, Dave Chinner wrote: > On Fri, Aug 19, 2016 at 11:49:46AM +0100, Mel Gorman wrote: > > On Thu, Aug 18, 2016 at 03:25:40PM -0700, Linus Torvalds wrote: > > > It *could* be as simple/stupid as just saying "let's allocate the page > > > cache for new pages from

Re: [RFC PATCH 0/3] UART slave device bus

2016-08-20 Thread One Thousand Gnomes
On Fri, 19 Aug 2016 19:42:37 +0200 "H. Nikolaus Schaller" wrote: > > Am 19.08.2016 um 13:06 schrieb One Thousand Gnomes > > : > > > >> If possible, please do a callback for every character that arrives. > >> And not only if the rx buffer becomes full, to give the slave driver > >> a chance to

Re: [RFC PATCH 0/3] UART slave device bus

2016-08-20 Thread One Thousand Gnomes
> A single one is already difficult... And some scenarios need to shield the > UART > from user space (currently there is always one /dev/tty per UART - unless the > UART is completely disabled). That bit is already covered and one or two devices support this because they have things like 3 seria

Hello Dear

2016-08-20 Thread Catherine Wormer
My name is Sgt Catherine from United States. I'm a woman seeking for true  friendship and partner, please if you don't mind I will like you to respond to my mail so I can send you my photo and details about me, Sgt Catherine Wormer

Re: [RFC PATCH 1/5] Add generation of Module.symb in streamline_config

2016-08-20 Thread Cristina-Gabriela Moraru
2016-08-20 15:59 GMT+02:00 Cristina-Gabriela Moraru : > > > 2016-08-18 20:22 GMT+02:00 Luis R. Rodriguez : >> >> On Wed, Aug 17, 2016 at 09:26:59PM +0200, Cristina Moraru wrote: >> > Add generation of ./scripts/Module.ksymb file containing >> > associations of driver file names and corresponding CO

Re: [RFC PATCH 2/5] Add CONFIG symbol to module as compilation parameter

2016-08-20 Thread Cristina-Gabriela Moraru
2016-08-18 20:10 GMT+02:00 Luis R. Rodriguez : > On Wed, Aug 17, 2016 at 09:27:00PM +0200, Cristina Moraru wrote: >> Add CONFIG symbol to kernel modules as a define via -D > > Perhaps better worded as: > > When modules have a direct Kconfig CONFIG_ symbol associated with > we want to be able to ma

Re: [RFC PATCH 4/5] Set KCONFIG_KSYMB as value for kconfig_ksymb module attribute

2016-08-20 Thread Cristina-Gabriela Moraru
2016-08-18 20:59 GMT+02:00 Luis R. Rodriguez : > > On Wed, Aug 17, 2016 at 09:27:02PM +0200, Cristina Moraru wrote: > > Update modpost to add in *.mod.c files generated for each > > module the setting of module attribute kernel_ksymb to > > value given by KBUILD_KSYMB macro. > > Please review your

[PATCH] Staging: wlan-ng: improved code in p80211req.c file

2016-08-20 Thread Claudiu Beznea
This patch improves code from p80211req.c file by removing duplicate code, by keeping count of returning code of the called functions and also aesthetically. Signed-off-by: Claudiu Beznea --- drivers/staging/wlan-ng/p80211req.c | 163 +++- 1 file changed, 84 inser

[PATCH -next] irqchip/irq-jcore-aic: fix non static symbol warning

2016-08-20 Thread Wei Yongjun
Fixes the following sparse warning: drivers/irqchip/irq-jcore-aic.c:47:12: warning: symbol 'aic_irq_of_init' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/irqchip/irq-jcore-aic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/irqch

Re: [PATCH v2 1/2] cpufreq / sched: Pass flags to cpufreq_update_util()

2016-08-20 Thread Krzysztof Kozlowski
On Sat, Aug 20, 2016 at 03:08:01AM +0200, Rafael J. Wysocki wrote: > On Friday, August 19, 2016 03:26:21 PM Krzysztof Kozlowski wrote: > > On Fri, Aug 12, 2016 at 2:04 AM, Rafael J. Wysocki > > wrote: > > > From: Rafael J. Wysocki > > > > > > It is useful to know the reason why cpufreq_update_ut

Greetings Urgent

2016-08-20 Thread Lehman
>From Mrs Esther G Mahmood I need your urgent assistance in transferring MY LATE HUSBEND ($(6.5)million into your account for investment in your country if you are ready to assit me, plesae get back to me i will give you full details on how the money will be transfer to you for investment in your

Re: [Documentation] State of CPU controller in cgroup v2

2016-08-20 Thread Tejun Heo
Hello, Andy. On Wed, Aug 17, 2016 at 01:18:24PM -0700, Andy Lutomirski wrote: > > 2-1-1. Process Granularity > > > > For memory, because an address space is shared between all threads > > of a process, the terminal consumer is a process, not a thread. > > Separating the threads of a single

Re: [RFC 00/17] clk: Add per-controller locks to fix deadlocks

2016-08-20 Thread Krzysztof Kozlowski
On Fri, Aug 19, 2016 at 03:31:08PM -0400, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 08/16/2016 09:34 AM, Krzysztof Kozlowski wrote: > > Hi, > > > > RFC, please, do not apply, maybe except patch #1 which is harmless. > > > > > > Introduction > > > > The patchset brin

[PATCH] hw_random: omap3-rom-rng.c: Remove obsoleted functions

2016-08-20 Thread PrasannaKumar Muralidharan
Remove omap3_rom_rng_data_present method as it was returning 1 always. Use .read callback instead of .data_read callback. This avoids use of obsolete callbacks. This patch is not tested with hardware as I don't have access to it. Signed-off-by: PrasannaKumar Muralidharan --- drivers/char/hw_ran

Re: Linux 3.14.77

2016-08-20 Thread Greg KH
diff --git a/Documentation/module-signing.txt b/Documentation/module-signing.txt index 2b40e04d3c49..f18b6ef7f805 100644 --- a/Documentation/module-signing.txt +++ b/Documentation/module-signing.txt @@ -238,3 +238,9 @@ Since the private key is used to sign modules, viruses and malware could use t

Linux 3.14.77

2016-08-20 Thread Greg KH
I'm announcing the release of the 3.14.77 kernel. All users of the 3.14 kernel series must upgrade. The updated 3.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.19

2016-08-20 Thread Greg KH
I'm announcing the release of the 4.4.19 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 4.7.2

2016-08-20 Thread Greg KH
I'm announcing the release of the 4.7.2 kernel. All users of the 4.7 kernel series must upgrade. The updated 4.7.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.7.y and can be browsed at the normal kernel.org git web browser:

Re: Memory (skb) leak in kernel 4.8-rc2

2016-08-20 Thread Larry Finger
On 08/20/2016 01:01 AM, Marcel Holtmann wrote: Hi Larry, I can not see a leak. Maybe Johan has an idea. Marcel and Johan, The hardware in question is an Intel device with USB ID 8087:07dc, which is part of an Intel Wireless 7260. The kmemleak backtraces for the two kinds of leaks are: unr

[PATCH 0/3] hostap: Fine-tuning for a few functions

2016-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 Aug 2016 18:35:43 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): Use memdup_user() Delete an unnecessary jump label Delete unnecessary variable initialisations .../net/wireless/intersil/hosta

[PATCH 1/3] hostap: Use memdup_user() rather than duplicating its implementation

2016-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 Aug 2016 18:19:43 +0200 Reuse existing functionality from memdup_user() instead of keeping duplicate source code. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- .../net/wireless/intersil/hostap/hostap_ioctl.c|

[PATCH 2/3] hostap: Delete an unnecessary jump label in prism2_ioctl_priv_hostapd()

2016-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 Aug 2016 18:21:29 +0200 Remove a jump label which is unneeded in this function at the end. Signed-off-by: Markus Elfring --- drivers/net/wireless/intersil/hostap/hostap_ioctl.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/

[PATCH 3/3] hostap: Delete unnecessary initialisations for the variable "ret"

2016-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 Aug 2016 18:23:14 +0200 The local variable "ret" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning of four functions. Signed-off-by: Markus Elfring --- drivers/net/wireless/intersil/hostap/hostap_ioctl.c |

runaway latency detection

2016-08-20 Thread T. Smith
Trying to isolate PREEMPT_RT (full preemption) runaway latency conditions seen when using the cyclictest on the 4.1.8 SMP PREEMPT_RT kernel. Seen average latency of 3uS, but runaway or outlier max latency seems indeterminate. Noted 72uS with one run of the cyclictest for example. Is this a kno

Moving GPIO interrupts and IPIs to a core other than 0

2016-08-20 Thread T. Smith
On the 4.1.8-rt8+gdb51baf SMP PREMPT RT kernel, GPIO interrupts are assigned to core 0 as are the following IPI interrupts: Arch_timer Rescheduling Interrupt Function call interrupt Trying to assign GPIO interrupts to core 2 for example, or trying to reassign or move IPI interrupts running on c

[PATCH] s390/tape: Use memdup_user() rather than duplicating its implementation

2016-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 Aug 2016 19:25:34 +0200 Reuse existing functionality from memdup_user() instead of keeping duplicate source code. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/s390/char/tape_3590.c | 11 +++ 1 fi

Re: runaway latency detection

2016-08-20 Thread Nikolay Borisov
On 20.08.2016 20:03, T. Smith wrote: > The goal is to isolate causes of indeterminism when using the PREEMPT_RT > kernel configuration with full preemption and to characterize latency and > jitter using ftrace, any recommendations? What hardware is it ? If it's x86 it's entirely possible you a

Re: [PATCH 1/2] Revert "include/uapi/drm/amdgpu_drm.h: use __u32 and __u64 from "

2016-08-20 Thread Mikko Rapeli
Cc'ing lkml too. On Fri, Aug 19, 2016 at 11:54:21PM +0100, Emil Velikov wrote: > Story time: > I was dreaming of a day were we can stop installing these headers, > thus making deprecation a bit easier process. > Yet after failing to convince Dave and Daniel on a number of occasions > I've accepted

Re: [PATCH 1/2] Revert "include/uapi/drm/amdgpu_drm.h: use __u32 and __u64 from "

2016-08-20 Thread Mikko Rapeli
Cc'ing lkml. On Fri, Aug 19, 2016 at 09:18:24PM -0500, Ken Phillis Jr wrote: > On Fri, Aug 19, 2016 at 8:46 PM, Rob Clark wrote: > > > perhaps, but if the target audience for driver specific APIs is > > libdrm/mesa, which already uses stdint types, then I fail to see the > > point.. > > > > It i

[GIT PULL] parisc architecture fixes for 4.8-rc3

2016-08-20 Thread Helge Deller
Hi Linus, Please pull two fixes for the parisc architecture for kernel 4.8-rc3 from git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.8-2 The first patch ensures that the high-res cr16 clocksource (which was added in kernel 4.7) gets choosen as default clocksource

Re: [PATCH v2 1/2] ARM: dts: Add MDM9615 dtsi

2016-08-20 Thread Neil Armstrong
On 08/18/2016 08:08 PM, Stephen Boyd wrote: > On 08/18, Neil Armstrong wrote: >> + >> +/dts-v1/; >> + >> +/include/ "skeleton.dtsi" >> + >> +#include >> +#include >> +#include >> +#include >> +#include >> + >> +/ { >> +model = "Qualcomm MDM9615"; >> +compatible = "qcom,mdm9615"; >> +

Re: [PATCH 1/2] Revert "include/uapi/drm/amdgpu_drm.h: use __u32 and __u64 from "

2016-08-20 Thread Mikko Rapeli
Cc'ing lkml. On Sat, Aug 20, 2016 at 12:05:54PM +0200, Marek Olšák wrote: > On Sat, Aug 20, 2016 at 12:54 AM, Emil Velikov > wrote: > > On 19 August 2016 at 15:26, Christian König wrote: > >> Am 19.08.2016 um 15:50 schrieb Marek Olšák: > >>> > >>> From: Marek Olšák > >>> > >>> This reverts com

Re: [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add Sierra Wireless

2016-08-20 Thread Neil Armstrong
On 08/19/2016 03:48 PM, Rob Herring wrote: > On Thu, Aug 18, 2016 at 03:11:18PM +0200, Neil Armstrong wrote: >> Add Sierra Wireless as swi vendor prefix. >> >> Signed-off-by: Neil Armstrong >> --- >> Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + >> 1 file changed, 1 insertion(+) >>

Re: [PATCH v6 0/3] virtually mapped stacks

2016-08-20 Thread Andy Lutomirski
On Thu, Aug 11, 2016 at 2:35 AM, Andy Lutomirski wrote: > Andy Lutomirski (3): > fork: Add generic vmalloced stack support > dma-api: Teach the "DMA-from-stack" check about vmapped stacks > x86/mm/64: Enable vmapped stacks Hi Ingo- Is this a good format for this series? Is there anything

Re: [PATCH] lib/Kconfig.debug: fix typo in select statement

2016-08-20 Thread Paul E. McKenney
On Sat, Aug 20, 2016 at 12:16:10PM +0200, Valentin Rothberg wrote: > Commit 484f29c7430b3 ("bug: Provide toggle for BUG on data corruption") > added a Kconfig select statement on CONFIG_DEBUG_LIST, but the CONFIG_ > prefix is only used in Make and C(PP) syntax. Remove the CONFIG_ prefix > to corre

Re: [PATCH 1/2] Revert "include/uapi/drm/amdgpu_drm.h: use __u32 and __u64 from "

2016-08-20 Thread Marek Olšák
On Sat, Aug 20, 2016 at 8:08 PM, Mikko Rapeli wrote: > Cc'ing lkml. > > On Sat, Aug 20, 2016 at 12:05:54PM +0200, Marek Olšák wrote: >> On Sat, Aug 20, 2016 at 12:54 AM, Emil Velikov >> wrote: >> > On 19 August 2016 at 15:26, Christian König >> > wrote: >> >> Am 19.08.2016 um 15:50 schrieb Mar

Re: [PATCH] Try to support analog audio codec at firefly reload

2016-08-20 Thread John Keeping
On Tue, Aug 16, 2016 at 04:42:06AM +0800, Randy Li wrote: > This patch could enabled the es8328 codec at firefly reload board, > but it doesn't not really work. I disable the mute of channel > Left mix and Right mix in alsamixer, I could hear the noise from > my headphone, but it never be a musi

[RESEND PATCH v2 0/4] pwm: Add Amlogic Meson SoC PWM Controller

2016-08-20 Thread Neil Armstrong
Add support for the PWM controller found in Amlogic Meson SoCs. This controller provides a dual PWM output with 4 selectable clock source and a two level divider to achieve a better PWM range. Currently Meson8b and GXBB SoCs are supported. Changes since v1 at http://lkml.kernel.org/r/1466173784-

[RESEND PATCH v2 4/4] ARM: dts: meson8b: Add Meson8b PWM Controller nodes

2016-08-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson8b.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index fc4080d..41fd536 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/me

[RESEND PATCH v2 1/4] pwm: Add support for Meson PWM Controller

2016-08-20 Thread Neil Armstrong
Add support for the PWM controller found in the Amlogic SoCs. This driver supports the Meson8b and GXBB SoCs. Signed-off-by: Neil Armstrong --- drivers/pwm/Kconfig | 9 + drivers/pwm/Makefile| 1 + drivers/pwm/pwm-meson.c | 491 3 file

[RESEND PATCH v2 3/4] ARM64: dts: meson-gxbb: Add Meson GXBB PWM Controller nodes

2016-08-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index e502c24..e3f4d36 100644 --- a/arch/arm64

[RESEND PATCH v2 2/4] dt-bindings: pwm: Add bindings for Meson PWM Controller

2016-08-20 Thread Neil Armstrong
Add bindings for the Amlogic PWM Controller in Meson8b and GXBB SoCs. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/pwm/pwm-meson.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-meson.txt diff -

Re: [PATCH 1/2] Revert "include/uapi/drm/amdgpu_drm.h: use __u32 and __u64 from "

2016-08-20 Thread Marek Olšák
On Sat, Aug 20, 2016 at 8:28 PM, Marek Olšák wrote: > On Sat, Aug 20, 2016 at 8:08 PM, Mikko Rapeli wrote: >> Cc'ing lkml. >> >> On Sat, Aug 20, 2016 at 12:05:54PM +0200, Marek Olšák wrote: >>> On Sat, Aug 20, 2016 at 12:54 AM, Emil Velikov >>> wrote: >>> > On 19 August 2016 at 15:26, Christian

Re: [Documentation] State of CPU controller in cgroup v2

2016-08-20 Thread Andy Lutomirski
On Sat, Aug 20, 2016 at 8:56 AM, Tejun Heo wrote: > Hello, Andy. > > On Wed, Aug 17, 2016 at 01:18:24PM -0700, Andy Lutomirski wrote: >> > 2-1-1. Process Granularity >> > >> > For memory, because an address space is shared between all threads >> > of a process, the terminal consumer is a pro

hi

2016-08-20 Thread Tjenarvi Tjenarvi
good evening http://saydamyazilim.net/serve.php?temperature=s1m6nk9p7yw4nu Tjenarvi Tjenarvi

Re: [PATCH 0/3] hostap: Fine-tuning for a few functions

2016-08-20 Thread Arend van Spriel
On 20-08-16 18:43, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 20 Aug 2016 18:35:43 +0200 > > A few update suggestions were taken into account > from static source code analysis. Is it worth touching this old stuff especially when you are not making any functional changes. Rega

Re: [PATCH 1/2] net: ethernet: renesas: ravb: use phydev from struct net_device

2016-08-20 Thread Sergei Shtylyov
Hello. On 08/20/2016 01:52 AM, Philippe Reynes wrote: The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy_dev in the private structure, and update the driver to use the one contained in struct net_device.

Re: [PATCH 2/2] net: ethernet: renesas: ravb: use new api ethtool_{get|set}_link_ksettings

2016-08-20 Thread Sergei Shtylyov
On 08/20/2016 01:52 AM, Philippe Reynes wrote: The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes [...] Acked-by: Sergei Shtylyov Sorry for missing the sh_eth patchset. :-< MBR, Sergei

Re: [PATCH 6/6] Add dockerfile

2016-08-20 Thread Theodore Ts'o
On Sat, Aug 20, 2016 at 02:31:26PM +0300, Dmitry Monakhov wrote: > > I'm not sure I see the advantage of doing this in a container, I > > guess. I just do in my standard laptop environment today. > I can not because I laptop from famous thinkpad t430 series with > flaky SSD which starts to return

[PATCH 0/4 v4] usb: dwc2: fix the usb host for host port at RK32

2016-08-20 Thread Randy Li
Hello All: This version would move reset into phy. I wanted to implement a hard code version but I meet some problem with ioremap reset controller, in order to keep my word, I offer this version this time. Randy Li (4): phy: Add reset callback phy: rockchip-usb: use rockchip_usb_phy_reset to

[PATCH 4/4] ARM: dts: rockchip: Point rk3288 dwc2 usb at the full PHY reset

2016-08-20 Thread Randy Li
The "host1" port (AKA the dwc2 port that isn't the OTG port) on rk3288 has a hardware errata that causes everything to get confused when we get a remote wakeup. We'll use the reset that's in the CRU to reset the port when it's in a bad state. Note that we add the reset to both dwc2 controllers ev

[PATCH 3/4] usb: dwc2: assert phy reset when waking up in rk3288 platform

2016-08-20 Thread Randy Li
On the rk3288 USB host-only port (the one that's not the OTG-enabled port) the PHY can get into a bad state when a wakeup is asserted (not just a wakeup from full system suspend but also a wakeup from autosuspend). We can get the PHY out of its bad state by asserting its "port reset", but unfortun

[PATCH 2/4] phy: rockchip-usb: use rockchip_usb_phy_reset to reset phy during wakeup

2016-08-20 Thread Randy Li
It is a hardware bug in RK3288, the only way to solve it is to reset the phy. Signed-off-by: Randy Li --- drivers/phy/phy-rockchip-usb.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/phy/phy-rockchip-usb.c b/drivers/phy/phy-rockchip-usb.c index 2a7381f..734987

[PATCH 1/4] phy: Add reset callback

2016-08-20 Thread Randy Li
The only use for this is for solving a hardware design problem in usb of Rockchip RK3288. Signed-off-by: Randy Li --- include/linux/phy/phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index f08b672..4d34607 100644 --- a/include/linux/

Re: [PATCH 3/4] usb: dwc2: assert phy reset when waking up in rk3288 platform

2016-08-20 Thread Sergei Shtylyov
Hello. On 08/20/2016 11:32 PM, Randy Li wrote: On the rk3288 USB host-only port (the one that's not the OTG-enabled port) the PHY can get into a bad state when a wakeup is asserted (not just a wakeup from full system suspend but also a wakeup from autosuspend). We can get the PHY out of its ba

[PATCH 05/13] lustre: constify lib-move.c stuff

2016-08-20 Thread Oleg Drokin
From: Al Viro Signed-off-by: Al Viro Signed-off-by: Oleg Drokin --- .../staging/lustre/include/linux/lnet/lib-lnet.h | 28 +++--- drivers/staging/lustre/lnet/lnet/lib-move.c| 20 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers

[PATCH 08/13] staging/lustre: Always return EEXIST on mkdir for existing names

2016-08-20 Thread Oleg Drokin
if the name already exists, but we don't have write permissions in the parent, force talking to the MDS to determine what more sensical error code to return. This also happens to fix matlab and other such programs that assume that EEXIST is the only valid error code for mkdir of an existing directo

[PATCH 01/13] ksocknal_lib_recv_iov(): recvmsg doesn't bugger iovec anymore...

2016-08-20 Thread Oleg Drokin
From: Al Viro Signed-off-by: Al Viro Signed-off-by: Oleg Drokin --- .../lustre/lnet/klnds/socklnd/socklnd_lib.c| 22 +- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c b/drivers/staging/lustre/l

[PATCH 13/13] Add James Simmons as another Lustre maintainer

2016-08-20 Thread Oleg Drokin
James Simmons is also spendign a lot of efforts on cleaning up staging tree Lustre code and also helps to sync up all the missing changes from the other tree. Signed-off-by: Oleg Drokin --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index a306795..f

[PATCH 11/13] staging/lustre: Make alignment match open parenthesis

2016-08-20 Thread Oleg Drokin
From: Emoly Liu This patch fixes most of checkpatch occurences of "CHECK: Alignment should match open parenthesis" in Lustre code. Signed-off-by: Emoly Liu Signed-off-by: Oleg Drokin --- .../staging/lustre/include/linux/libcfs/libcfs.h | 6 +- .../lustre/include/linux/libcfs/libcfs_debug.

[PATCH 09/13] staging/lustre: Add spaces preferred around that '{+,-,*,/,|,<<

2016-08-20 Thread Oleg Drokin
From: Emoly Liu This patch fixes all checkpatch occurences of "CHECK: spaces preferred around that '{+,-,*,/,|,<<,>>,&}' (ctx:VxV)" in Lustre code. Signed-off-by: Emoly Liu Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lu_object.h | 3 +- .../lustre/lustre/include/lus

[PATCH 12/13] staging/lustre: Remove unused cp_error from struct cl_page

2016-08-20 Thread Oleg Drokin
cp_error member is not really set anywhere, so kill it and the only printing user of it too. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/cl_object.h | 2 -- drivers/staging/lustre/lustre/obdclass/cl_page.c | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff

[PATCH 10/13] staging/lustre: Fix unnecessary parentheses around variables

2016-08-20 Thread Oleg Drokin
From: Emoly Liu This patch fixes all checkpatch occurences of "CHECK: Unnecessary parentheses around xxx" in Lustre code. Signed-off-by: Emoly Liu Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/include/lustre/lustre_user.h | 2 +- drivers/staging/lustre/lustre/lov/lov_obd.c

[PATCH 07/13] lustre: introduce lnet_copy_{k,}iov2iter(), kill lnet_copy_{k,}iov2{k,}iov()

2016-08-20 Thread Oleg Drokin
From: Al Viro Signed-off-by: Al Viro Signed-off-by: James Simmons Signed-off-by: Oleg Drokin --- .../staging/lustre/include/linux/lnet/lib-lnet.h | 57 +--- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 37 ++- drivers/staging/lustre/lnet/lnet/lib-move.c| 314 --

[PATCH 00/13] Lustre patches

2016-08-20 Thread Oleg Drokin
This is rebase of the previous set that got merged only half-way with added signed-offs as requested. I also added a patch to include James Simmons as a Lustre maintainer too since he is performing a lot of work in the area. Al Viro (7): ksocknal_lib_recv_iov(): recvmsg doesn't bugger iovec any

[PATCH 03/13] ksocknal_lib_send_kiov(): sendmsg doesn't bugger iovec...

2016-08-20 Thread Oleg Drokin
From: Al Viro Signed-off-by: Al Viro Signed-off-by: Oleg Drokin --- .../lustre/lnet/klnds/socklnd/socklnd_lib.c| 29 -- 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c b/drivers/staging/lustre/l

[PATCH 04/13] lustre: ->kss_scratch... are unused now

2016-08-20 Thread Oleg Drokin
From: Al Viro Signed-off-by: Al Viro Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h index d5efb4

[PATCH 06/13] lustre: pass iov_iter to ->lnd_recv()

2016-08-20 Thread Oleg Drokin
From: Al Viro Signed-off-by: Al Viro Signed-off-by: Oleg Drokin --- .../staging/lustre/include/linux/lnet/lib-types.h | 5 +--- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 3 +- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 32 -- .../staging/lustre/lnet/

[PATCH 02/13] ksocknal_lib_send_iov(): sendmsg doesn't bugger iovec...

2016-08-20 Thread Oleg Drokin
From: Al Viro Signed-off-by: Al Viro Signed-off-by: Oleg Drokin --- .../lustre/lnet/klnds/socklnd/socklnd_lib.c| 38 ++ 1 file changed, 10 insertions(+), 28 deletions(-) diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c b/drivers/staging/lustre/

re

2016-08-20 Thread Ali Saeed
I need your assistance in executing a profitable project...

Re: [PATCH 1/2] Revert "include/uapi/drm/amdgpu_drm.h: use __u32 and __u64 from "

2016-08-20 Thread Rob Clark
On Sat, Aug 20, 2016 at 1:58 PM, Mikko Rapeli wrote: > Cc'ing lkml too. > > On Fri, Aug 19, 2016 at 11:54:21PM +0100, Emil Velikov wrote: >> Story time: >> I was dreaming of a day were we can stop installing these headers, >> thus making deprecation a bit easier process. >> Yet after failing to co

  1   2   >