[PATCH] staging: ft1000: Remove boolean comparisons

2015-10-18 Thread Luis de Bethencourt
Boolean tests do not need explicit comparison to true or false. Signed-off-by: Luis de Bethencourt --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 4 ++-- drivers/staging/ft1000/ft1000-usb/ft1000_hw.c| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-18 Thread Alexei Starovoitov
On 10/18/15 9:49 AM, Daniel Borkmann wrote: Okay, I have pushed some rough working proof of concept here: https://git.breakpoint.cc/cgit/dborkman/net-next.git/log/?h=ebpf-fds-final5 So the idea eventually had to be slightly modified after giving this further thoughts and is the following: We

[PATCH 1/1] x86: Fix reading the current exposure value of UVC

2015-10-18 Thread Anton V. Shokurov
V4L2_CID_EXPOSURE_ABSOLUTE property does not return an updated value when autoexposure (V4L2_CID_EXPOSURE_AUTO) is turned on. This patch fixes this issue by adding the UVC_CTRL_FLAG_AUTO_UPDATE flag. Tested on a C920 camera. Signed-off-by: Anton V. Shokurov ---

[PATCH 0/5] drivers/tty: make more bool drivers explicitly non-modular

2015-10-18 Thread Paul Gortmaker
This next set of patches to drivers/tty fixes up more drivers that would perhaps appear modular when looking at the code, but are controlled by a bool Kconfig. We make sure they don't look modular and get rid of module related code in the drivers that would never be used. The one common thread

[PATCH 4/5] drivers/tty/serial: make msm_serial.c explicitly non-modular

2015-10-18 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/tty/serial/Kconfig:config SERIAL_MSM drivers/tty/serial/Kconfig: bool "MSM on-chip serial port support" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is

[PATCH 3/5] drivers/tty/serial: make serial/atmel_serial.c explicitly non-modular

2015-10-18 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/tty/serial/Kconfig:config SERIAL_ATMEL drivers/tty/serial/Kconfig: bool "AT91 / AT32 on-chip serial port support" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that

Re: [Y2038] [PATCH V2] hp_sdc_rtc: fixed y2038 problem in proc_show

2015-10-18 Thread Dmitry Torokhov
On Wed, Sep 16, 2015 at 03:55:37PM +0200, Arnd Bergmann wrote: > On Wednesday 16 September 2015 21:45:38 WEN Pingbo wrote: > > hp_sdc_rtc_proc_show() use timeval to store the time, which will > > overflowed in 2038. > > > > This patch fixes this problem by replacing timeval with timespec64. > >

[PATCH v2 1/3] clocksource: mtk_timer: add pr_fmt define

2015-10-18 Thread Alexey Klimov
It's a bit unclear what subsystem/driver emits some messages to dmesg in function mtk_init_timer(). Use pr_fmt to auto-prefix the messages appropriately. Acked-by: Matthias Brugger Signed-off-by: Alexey Klimov ---

Re: [RFT PATCH v2 3/6] ARM: dts: Mark SDIO as non-removable in exynos5250-snow-common

2015-10-18 Thread Krzysztof Kozlowski
On 16.10.2015 01:51, Javier Martinez Canillas wrote: > The Exynos5250 Snow Chromebooks have a Marvell WiFi SDIO chip which > can't neither be removed nor be detected. But the node isn't marked > as non-removable and instead has the broken-cd DT property. > > This causes the device to be removed

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-18 Thread Boqun Feng
On Thu, Oct 15, 2015 at 09:30:40AM -0700, Paul E. McKenney wrote: > On Thu, Oct 15, 2015 at 12:48:03PM +0800, Boqun Feng wrote: > > On Wed, Oct 14, 2015 at 08:07:05PM -0700, Paul E. McKenney wrote: [snip] > > > > > Why not try creating a longer litmus test that requires P0's write to > > > "a" to

Re: [PATCH] userns/capability: Add user namespace capability

2015-10-18 Thread Serge E. Hallyn
On Sun, Oct 18, 2015 at 10:13:54PM +0200, Tobias Markus wrote: > On 17.10.2015 23:55, Serge E. Hallyn wrote: > > On Sat, Oct 17, 2015 at 05:58:04PM +0200, Tobias Markus wrote: > >> Add capability CAP_SYS_USER_NS. > >> Tasks having CAP_SYS_USER_NS are allowed to create a new user namespace > >>

Re: [RFC PATCH] RDS: convert bind hash table to re-sizable hashtable

2015-10-18 Thread David Miller
From: Santosh Shilimkar Date: Wed, 14 Oct 2015 14:15:31 -0700 > From: Santosh Shilimkar > > To further improve the RDS connection scalabilty on massive systems > where number of sockets grows into tens of thousands of sockets, there > is a

Re: [PATCH] hwrng: exynos - Fix unbalanced PM runtime get/puts

2015-10-18 Thread Krzysztof Kozlowski
On 17.10.2015 01:01, Daniel Thompson wrote: > Currently this driver calls pm_runtime_get_sync() rampantly > but never puts anything back. This makes it impossible for the > device to autosuspend properly; it will remain fully active > after the first use. > > Fix in the obvious way. > >

[PATCH v2 10/14] ACPICA: Debugger: Fix "terminate" command by cleaning up subsystem shutdown logic

2015-10-18 Thread Lv Zheng
ACPICA commit 7e823714911480be47e310fb1b3590d289b9fd99 Segmentation fault can be seen for executing the "terminate" command. This is because acpi_ut_subsystem_shutdown() is errnously called multiple times. This patch cleans up acpi_ut_subsystem_shutdown() logics to fix this issue. Lv Zheng.

[PATCH v2 12/14] ACPI: Enable build of AML interpreter debugger

2015-10-18 Thread Lv Zheng
This patch enables ACPICA debugger files using a configurable CONFIG_ACPI_DEBUGGER configuration item. Those debugger related code that was originally masked as ACPI_FUTURE_USAGE now gets unmasked. Necessary OSL stubs are also added in this patch: 1. acpi_os_readable(): This should be arch

[PATCH v2 11/14] ACPICA: Debugger: Add thread ID support so that single step mode can only apply to the debugger thread

2015-10-18 Thread Lv Zheng
When the debugger is running in the kernel mode, acpi_db_single_step() may also be invoked by the kernel runtime code path but the single stepping command prompt may be erronously logged as the kernel logs and runtime code path cannot proceed. This patch fixes this issue by adding

[PATCH v2 07/14] ACPICA: iASL: General cleanup of the file suffix #defines

2015-10-18 Thread Lv Zheng
From: Bob Moore ACPICA commit bed456ed2976bdaafdef406b982fdf6c539befc0 Removed some extraneous defines, reordered others. Link: https://github.com/acpica/acpica/commit/bed456ed Signed-off-by: Bob Moore Signed-off-by: Lv Zheng

[PATCH v2 03/14] ACPICA: Update exception code for "file not found" error

2015-10-18 Thread Lv Zheng
From: Bob Moore ACPICA commit ac1564c26d239348ef13455f61d5616f3961ff43 Used by the ACPICA applications. This patch is a bit broken due to non-portable inclusion as on some platforms, there is no such a header file for their lib-c exports. Fortunately, Linux doesn't

[PATCH v2 14/14] ACPICA: Update version to 20150930

2015-10-18 Thread Lv Zheng
From: Bob Moore ACPICA commit e9c75ca267262326e80d49a290e8387a5963e2d2 Version 20150930. Link: https://github.com/acpica/acpica/commit/e9c75ca2 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/acpixf.h |

Re: [PATCH V3 1/2] bpf: control the trace data output on current cpu when perf sampling

2015-10-18 Thread xiakaixu
于 2015/10/17 6:06, Alexei Starovoitov 写道: > On 10/16/15 12:42 AM, Kaixu Xia wrote: >> This patch adds the flag dump_enable to control the trace data >> output process when perf sampling. By setting this flag and >> integrating with ebpf, we can control the data output process and >> get the

[PATCH V2 29/30] perf tools: adding coresight define for auxtrace

2015-10-18 Thread Mathieu Poirier
Adding new define for auxiliary traces collected by ETM tracers. Signed-off-by: Mathieu Poirier --- tools/perf/util/auxtrace.c | 1 + tools/perf/util/auxtrace.h | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/perf/util/auxtrace.c

[PATCH V2 10/30] coresight: etm3x: consolidating initial config

2015-10-18 Thread Mathieu Poirier
There is really no point having two functions to take care of doing the initials tracer configuration. As such moving everything to 'etm_set_default()'. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm3x.c | 37 ++-

[PATCH V2 11/30] coresight: etm3x: implementing user/kernel mode tracing

2015-10-18 Thread Mathieu Poirier
Adding new mode to limit tracing to kernel or user space. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm.h| 9 +++- .../hwtracing/coresight/coresight-etm3x-sysfs.c| 4 ++ drivers/hwtracing/coresight/coresight-etm3x.c |

[PATCH V2 27/30] perf build: adding X86 auxiliary specific flags

2015-10-18 Thread Mathieu Poirier
Adding an X86 specific flag to split AUX components that are generic and specific to architectures. That way the auxiliary area mechanic can be compiled in for other architecture without including X86 specific code. Signed-off-by: Mathieu Poirier ---

[PATCH V2 24/30] perf tools: making function set_max_cpu_num() non static

2015-10-18 Thread Mathieu Poirier
For memory allocation purpuses, code located in other places then util/cpumap.c may want to know how many CPUs the system has. This patch is making function set_max_cpu_num() available to other parts of the perf tool so that global variable @max_cpu_num gets the right value when referenced by

[PATCH V2 28/30] perf tools: making coresight PMU listable

2015-10-18 Thread Mathieu Poirier
Adding the required mechanic allowing 'perf list pmu' to discover coresight ETM/PTM tracers. Signed-off-by: Mathieu Poirier --- tools/perf/arch/arm/util/Build | 2 ++ tools/perf/arch/arm/util/pmu.c | 18 ++ tools/perf/builtin-inject.c| 2 +-

[PATCH V2 30/30] perf tools: adding coresight etm PMU record capabilities

2015-10-18 Thread Mathieu Poirier
Coresight ETMs are IP blocks allowing to perform HW assisted tracing on a CPU core. This patch introduce the required auxiliary API functions allowing the perf core to interact with a tracer. Signed-off-by: Mathieu Poirier --- tools/perf/arch/arm/util/Build |

[PATCH V2 16/30] coresight: keeping track of enabled sink buffers

2015-10-18 Thread Mathieu Poirier
Keep track of enabled sink buffers as a path between source and sinks is being built. That way sinks associated to a source can be accessed quickly. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-priv.h | 3 ++-

[PATCH V2 07/30] coresight: etm3x: moving etm_drvdata::enable to atomic field

2015-10-18 Thread Mathieu Poirier
Moving etm_drvdata::enable to an atomic type that gives the 'state' of the tracer, i.e disabled, handled via sysFS or Perf. That way a tracer can't be used if it is already marshaled by another subsystem. Signed-off-by: Mathieu Poirier ---

[PATCH V2 14/30] coresight: etm3x: implementing perf_start/stop() API

2015-10-18 Thread Mathieu Poirier
Adding an API to deal with runtime PM (and anything else) that might be required by a tracer before and after it is to be used by the Perf framework. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm3x.c | 12

[PATCH V2 23/30] coresight: updating documentation to reflect integration with perf

2015-10-18 Thread Mathieu Poirier
Adding a new section giving information on how coresight has been integrated with the perf subsystem along with a general idea of how to control tracing from the perf tool cmd line. Signed-off-by: Mathieu Poirier --- Documentation/trace/coresight.txt | 138

[PATCH V2 21/30] coresight: etb10: implementing buffer update API

2015-10-18 Thread Mathieu Poirier
Implementing buffer API to update the location of the ETB internal ring buffer once a trace session has ended. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etb10.c | 128 ++ include/linux/coresight.h

[PATCH V2 22/30] coresight: etm-perf: new PMU driver for ETM tracers

2015-10-18 Thread Mathieu Poirier
Perf is a well known and used tool for performance monitoring and much more. A such it is an ideal condaditate for integration with coresight based HW tracing. This patch introduces a PMU that represent a coresight tracer to the Perf core. Signed-off-by: Mathieu Poirier

[PATCH V2 20/30] coresight: etb10: implementing buffer set/reset() API

2015-10-18 Thread Mathieu Poirier
Implementing perf related APIs to activate and terminate a trace session. More specifically dealing with the sink buffer's internal mechanic along with perf's API to start and stop interactions with the ring buffers. Signed-off-by: Mathieu Poirier ---

[PATCH V2 25/30] perf tools: adding perf_session to *info_prive_size()

2015-10-18 Thread Mathieu Poirier
On some architecture the size of the private header may be dependent on the number of tracers used in the session. As such adding a "struct perf_session" parameter, which should contain all the required information. Also adjusting the existing client of the interface to take the new parameter

[PATCH V2 26/30] perf tools: making source devices path broadly accessible

2015-10-18 Thread Mathieu Poirier
Other perf tools may want access to the event source device directory. As such moving the path definition to pmu.h for easy inclusion by other clients. Signed-off-by: Mathieu Poirier --- tools/perf/util/pmu.c | 2 -- tools/perf/util/pmu.h | 1 + 2 files changed, 1

[PATCH V2 19/30] coresight: etb10: implementing the setup_aux() API

2015-10-18 Thread Mathieu Poirier
Adding an ETB10 specific auxiliary area setup operation to be used by the perf framework when events are initialised. Part of this operation involves modeling the mmap'ed area based on the specific ways a sink buffer gathers information. Signed-off-by: Mathieu Poirier

[PATCH V2 15/30] coresight: making coresight_build_paths() public

2015-10-18 Thread Mathieu Poirier
That way a path can be built outside of the core framework, something useful when a PMU is initialised from the perf subsystem. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-priv.h | 3 +++ drivers/hwtracing/coresight/coresight.c | 5

[PATCH V2 13/30] coresight: etm3x: implementing perf_enable/disable() API

2015-10-18 Thread Mathieu Poirier
That way traces can be enable and disabled automatically from the Perf subystem using the PMU abstraction. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm3x.c | 50 --- include/linux/coresight.h

[PATCH V2 17/30] perf: changing pmu::setup_aux() parameter to include event

2015-10-18 Thread Mathieu Poirier
For some tracers the event carries information to be embedded in the private structure returned by setup_aux(). As such changing the first parameter to be of type struct perf_event * so that all the necessary information can be conveyed. Also changing current customer of the API to reflect the

[PATCH V2 18/30] coresight: etb10: moving to local atomic operations

2015-10-18 Thread Mathieu Poirier
Moving to use local atomic operations to take advantage of the lockless implementation, something that will come handy when the ETB is accessed from the Perf subsystem. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etb10.c | 6 +++--- 1

[PATCH V2 09/30] coresight: etm3x: changing default trace configuration

2015-10-18 Thread Mathieu Poirier
Changing default configuration to include the entire address range rather than just the kernel. That way traces are more inclusive and it is easier to narrow down if needed. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm.h | 2 ++

[PATCH V2 08/30] coresight: etm3x: implementing 'cpu_id()' API

2015-10-18 Thread Mathieu Poirier
Adding an interface to lookup the CPU a tracer has been affined to along with a source operation allowing external customers to access it. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm3x.c | 8 include/linux/coresight.h

[PATCH V2 06/30] coresight: clearly labeling source operarions

2015-10-18 Thread Mathieu Poirier
When integrating coresight with Perf, it is important to clearly identify which operations are used by sysFS and which ones by Perf. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm3x.c | 8

[PATCH V2 02/30] coresight: etm3x: moving sysFS entries to dedicated file

2015-10-18 Thread Mathieu Poirier
SysFS entries are big enough to justify their own file. As such moving all sysFS related declarations to a dedicated location. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/Makefile |3 +- drivers/hwtracing/coresight/coresight-etm.h

[PATCH V2 04/30] coresight: etm3x: splitting struct etm_drvdata

2015-10-18 Thread Mathieu Poirier
Structure "etm_drvdata" carries the tracer's static configuration (as laid out in hardware) and the session specific configuration determined by users. This doesn't work when tracers are to support multiple, simultaneous, tracing session. As such splitting "etm_drvdata" in two sections, one for

[PATCH V2 12/30] coresight: etm3x: adding perf_get/set_config() API

2015-10-18 Thread Mathieu Poirier
Adding a source operation to build a tracer configuration from a perf_event. That way possibly complex parsing of the information coveyed by the event doesn't have to be carried out every time the configuration is needed. Since event configuration can change between concurrent sessions, the

[PATCH V2 01/30] coresight: etm3x: moving etm_readl/writel to header file

2015-10-18 Thread Mathieu Poirier
Moving functions etm_readl/writel to file "coresight-etm.h" for access by code outside of the main ETM3x driver. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm.h | 29 +++

[PATCH V2 03/30] coresight: etm3x: unlocking tracers in default arch init

2015-10-18 Thread Mathieu Poirier
Calling function 'smp_call_function_single()' to unlock a tracer and calling it right after to perform the default initialisation doesn't make sense. Moving 'etm_os_unlock()' just before making the default initialisation results in the same outcome while saving one call to

[PATCH] btrfs: switch __btrfs_fs_incompat return type from int to bool

2015-10-18 Thread Alexandru Moise
Conform to __btrfs_fs_incompat() cast-to-bool (!!) by explicitly returning boolean not int. Signed-off-by: Alexandru Moise <00moses.alexande...@gmail.com> --- fs/btrfs/ctree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index

Re: [PATCH v2 4/4] Staging: rtl8712: fix warning for placing constant on the right side of test

2015-10-18 Thread Tillmann Heidsieck
Hi, On 2015-10-18 08:32, punit vara wrote: On Sat, Oct 17, 2015 at 10:46 AM, Greg KH wrote: On Wed, Oct 14, 2015 at 11:55:55PM +0530, Punit Vara wrote: Put constant on the right side of a test.Problem found using checkpatch: Warning:Comparisons should place the

Xen build error in 4.2.4-rc1 (sched/preempt: Fix cond_resched_lock() and cond_resched_softirq())

2015-10-18 Thread Andre Tomt
On 18. okt. 2015 03:55, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.2.4 release. There are 258 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. There is a new build

Re: [PATCHv2 0/3] Adding FPGA Manager support for Xilinx Zynq

2015-10-18 Thread Josh Cartwright
On Fri, Oct 16, 2015 at 03:42:27PM -0700, Moritz Fischer wrote: > Hi all, > > I've tried to address most of the feedback that was brought up, > the one thing I haven't looked at was the firmware format part, > since that was still in discussion. > So I'm still open to suggestions on how to handle

Re: [PATCH v2 4/4] Staging: rtl8712: fix warning for placing constant on the right side of test

2015-10-18 Thread Tillmann Heidsieck
On Sun, Oct 18, 2015 at 08:54:57PM +0200, Tillmann Heidsieck wrote: > Hi, [...] > Greg is probably trying to apply this series to the staging-next branch of > his staging tree[0] > so you need to clone that one, or add it as an additional remote[1] to your > clone of the kernel tree (much better

Re: [PATCH 1/2 v3] drivers: staging: rtl8723au: Changed rssi_cmd to little-endian param

2015-10-18 Thread Jacob Kiefer
> I am fine with this code in principle, but has it been tested? This > stuff will break the driver miserably if it's wrong. > > Thanks, > Jes > This patchset has not been tested. Unfortunately, I don't have to proper card to test this patch on my local. It built for me, and that's as far as I

Re: [PATCH 3.10 00/54] 3.10.91-stable review

2015-10-18 Thread Willy Tarreau
On Sun, Oct 18, 2015 at 09:05:40AM -0700, Greg Kroah-Hartman wrote: > On Sun, Oct 18, 2015 at 09:05:54AM +0200, Willy Tarreau wrote: > > Greg, > > > > neither 3.10.91-rc1 nor 3.14.55-rc1 are online. I guess you forgot > > to upload them. 4.1.11-rc1 and 4.2.4-rc1 are there however. > > Hm,

Re: [GIT PULL] On-demand device probing

2015-10-18 Thread Mark Brown
On Fri, Oct 16, 2015 at 11:57:50PM -0700, Greg Kroah-Hartman wrote: > I can't see adding calls like this all over the tree just to solve a > bus-specific problem, you are adding of_* calls where they aren't > needed, or wanted, at all. This isn't bus specific, I'm not sure what makes you say

[PATCH] staging: rtl8712: Remove boolean comparisons

2015-10-18 Thread Luis de Bethencourt
Boolean tests do not need explicit comparison to true or false. Signed-off-by: Luis de Bethencourt --- drivers/staging/rtl8712/os_intfs.c| 4 +- drivers/staging/rtl8712/rtl8712_cmd.c | 9 +- drivers/staging/rtl8712/rtl8712_efuse.c | 49

Re: Stable queue is caught up on for 3.10, 3.14, 4.1, and 4.2-stable kernels

2015-10-18 Thread Willy Tarreau
On Sat, Oct 17, 2015 at 11:02:37PM -0700, Greg KH wrote: > On Sun, Oct 18, 2015 at 07:56:06AM +0200, Willy Tarreau wrote: > > Hi Greg, > > > > On Sat, Oct 17, 2015 at 07:09:52PM -0700, Greg KH wrote: > > > Hi all, > > > > > > I've finally caught up on all pending patches for the above mentioned

Re: [PATCH v4 1/2] compiler, atomics: Provide READ_ONCE_NOKSAN()

2015-10-18 Thread Ingo Molnar
* Andrey Ryabinin wrote: > On 10/16/2015 01:33 PM, Borislav Petkov wrote: > > On Fri, Oct 16, 2015 at 12:44:53PM +0300, Andrey Ryabinin wrote: > >> Some code may perform racy by design memory reads. This could be > >> harmless, yet such code may produce KASAN warnings.

[PATCH] hil_mlc: convert timeval to timespec64

2015-10-18 Thread WEN Pingbo
Using struct timeval will cause time overflow in 2038, replacing it with a 64bit version. In addition, the origin driver try to covert usec to jiffies manually in hilse_donode(). This is not a universal and safe way, using nsecs_to_jiffies() to fix that. Signed-off-by: WEN Pingbo

[PATCH] hp_sdc: fixed y2038 problem

2015-10-18 Thread WEN Pingbo
Two replacements happened in this patch: 1. using timespec64 to prevent time overflow in 2038 2. using ktime_get_ts64 to avoid wall time issues(leap second, etc) Signed-off-by: WEN Pingbo --- drivers/input/serio/hp_sdc.c | 18 +-

Re: Stable queue is caught up on for 3.10, 3.14, 4.1, and 4.2-stable kernels

2015-10-18 Thread Greg KH
On Sun, Oct 18, 2015 at 07:56:06AM +0200, Willy Tarreau wrote: > Hi Greg, > > On Sat, Oct 17, 2015 at 07:09:52PM -0700, Greg KH wrote: > > Hi all, > > > > I've finally caught up on all pending patches for the above mentioned > > stable kernels that have either hit Linus's tree with a stable@ or

Re: [PATCH v2 4/4] Staging: rtl8712: fix warning for placing constant on the right side of test

2015-10-18 Thread punit vara
On Sat, Oct 17, 2015 at 10:46 AM, Greg KH wrote: > On Wed, Oct 14, 2015 at 11:55:55PM +0530, Punit Vara wrote: >> Put constant on the right side of a test.Problem found using checkpatch: >> >> Warning:Comparisons should place the constant on the right side of the test

[PATCH-v8] serial: 8250_dw: Add support for big-endian MMIO accesses

2015-10-18 Thread Noam Camus
From: Noam Camus Add support for UPIO_MEM32BE in addition to UPIO_MEM32. dw8250_serial_out32() extra functionality that is not part of the 8250 core driver was moved to new function called dw8250_check_LCR(). For big endian we use 2 new accessors similar to little endian,

Re: [PATCH 2/3] net: wireless: b43: Fixed Pointer issue

2015-10-18 Thread Michael Büsch
On Sun, 18 Oct 2015 00:01:37 +0100 Paul McQuade wrote: > Moved around pointer to avoid ERROR > > Signed-off-by: Paul McQuade > --- > drivers/net/wireless/b43/dma.h | 14 +++--- > drivers/net/wireless/b43/main.c | 6 +++--- >

Re: [PATCH v3 06/10] Documentation: leds: Add description of brightness setting API

2015-10-18 Thread Jacek Anaszewski
Hi Sakari, Thanks for the review. On 10/16/2015 05:36 PM, Sakari Ailus wrote: Hi Jacek, On Wed, Oct 07, 2015 at 11:10:44AM +0200, Jacek Anaszewski wrote: This patch adds description of the LED subsystem API for setting an LED brightness. Signed-off-by: Jacek Anaszewski

Re: [PATCH] pinctrl: mvebu: armada-38x: add suspend/resume support

2015-10-18 Thread Marcin Wojtas
Hi Russell, Thanks for pointing this. I based on pinctrl-armada-xp.c (it needs a fix then, too) and it worked. I must have missed, because I got proper registers' number and values in suspend/resume routines. As pinctrl-armada-xp.c needs also a small fix and in order not to duplicate code, how

[PATCH V3] debugfs: Add debugfs_create_ulong()

2015-10-18 Thread Viresh Kumar
Add debugfs_create_ulong() for the users of type 'unsigned long'. These will be 32 bits long on a 32 bit machine and 64 bits long on a 64 bit machine. Signed-off-by: Viresh Kumar --- V2->V3: - Rebased over driver-core tree. - Also add missing fops_xlong_ro/wo.

Re: [PATCH 3/3] net: wireless: b43: statics Don't init to 0

2015-10-18 Thread Rafał Miłecki
On 18 October 2015 at 01:01, Paul McQuade wrote: > Don't turn statics to 0 or NULL Same request as Michael's in 2/3. Your "statics Don't init to 0" message sounds strange, statics *are* initialized to 0 by default (as you probably know but described it in a unclear way). --

Re: [PATCH 04/14] init: deps: order network interfaces by link order

2015-10-18 Thread Greg Kroah-Hartman
On Sun, Oct 18, 2015 at 07:20:34AM +0200, Alexander Holler wrote: > Am 18.10.2015 um 07:14 schrieb Greg Kroah-Hartman: > >On Sun, Oct 18, 2015 at 06:59:22AM +0200, Alexander Holler wrote: > >>Am 17.10.2015 um 21:36 schrieb Greg Kroah-Hartman: > >> > >>>Again, parallelizing does not solve anything,

Re: [PATCH v3 04/10] leds: core: Use set_brightness_work for the blocking op

2015-10-18 Thread Jacek Anaszewski
Hi Sakari, Thanks for the review. On 10/16/2015 05:43 PM, Sakari Ailus wrote: Hi Jacek, I think I'd rearrange patches 3 and 4; delayed_set_brightness is briefly needed in patch 3 but again no longer here. The impression that delayed_set_brightness is not needed is caused by my mistake in

Re: [PATCH 3.10 00/54] 3.10.91-stable review

2015-10-18 Thread Willy Tarreau
Greg, neither 3.10.91-rc1 nor 3.14.55-rc1 are online. I guess you forgot to upload them. 4.1.11-rc1 and 4.2.4-rc1 are there however. Thanks, Willy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH] staging: wilc1000: restore wilc_spi_dev variable

2015-10-18 Thread Stanislav Kholmanskikh
Hi! On 16.10.2015 23:05, Arnd Bergmann wrote: > A recent change to wilc1000 accidentally deleted an important > variable, so we now get a build error when the SPI mode is > selected: > > ERROR: "wilc_spi_dev" [drivers/staging/wilc1000/wilc1000.ko] undefined! > > This partially reverts the

Re: [PATCH 1/2] coccinelle: ifnullfree: improve and extend ifnullfree

2015-10-18 Thread SF Markus Elfring
> Remove removal and re-addition of freeing functions. I find such a wording confusing for a commit message. > Add position variable on usb_free_urb in the non-patch case. Is it interesting that this fix corresponds to a bug report from 2014-08-09? https://lkml.org/lkml/2014/8/9/33

Re: [PATCH 04/14] init: deps: order network interfaces by link order

2015-10-18 Thread Alexander Holler
Am 18.10.2015 um 07:59 schrieb Greg Kroah-Hartman: On Sun, Oct 18, 2015 at 07:20:34AM +0200, Alexander Holler wrote: Am 18.10.2015 um 07:14 schrieb Greg Kroah-Hartman: On Sun, Oct 18, 2015 at 06:59:22AM +0200, Alexander Holler wrote: Am 17.10.2015 um 21:36 schrieb Greg Kroah-Hartman: Again,

Re: [PATCH 01/10] tpm, tpm_crb: fix unaligned read of the command buffer address

2015-10-18 Thread Jarkko Sakkinen
On Sun, Oct 18, 2015 at 05:02:55AM +0200, Peter Hüwe wrote: > Am Freitag, 16. Oktober 2015, 20:40:20 schrieb Jarkko Sakkinen: > > + pa = ((u64) le32_to_cpu(ioread32(>cca->cmd_pa_high)) << 32) + > > + (u64) le32_to_cpu(ioread32(>cca->cmd_pa_low)); > > The canonical form would

[PULL REQUEST] i2c for 4.3

2015-10-18 Thread Wolfram Sang
Linus, here are some bugfixes for the I2C subsystem. Kieran found a flaw in the recently renewed wake irq handling. Mika handled a user bug report where the ACPI info turned out to be unusable. I updated MAINTAINERS so that such bug reports will sooner get to the right people. Geert pointed me to

Re: [PATCH 03/10] sysfs: added __compat_only_sysfs_link_entry_to_kobj()

2015-10-18 Thread Jarkko Sakkinen
On Sun, Oct 18, 2015 at 03:37:16AM +0200, Peter Hüwe wrote: > Am Freitag, 16. Oktober 2015, 20:40:22 schrieb Jarkko Sakkinen: > > Added a new function __compat_only_sysfs_link_group_to_kobj() that adds > > a symlink from attribute or group to a kobject. This needed for > > maintaining backwards

[PATCH 0/3] Some tracing fixes.

2015-10-18 Thread Jiaxing Wang
In short: The first patch update instance_rmdir() to use tracefs_remove_recursive. The second one make tracing work when debugfs is not initialized, currently we get an empty directory after mounting tracefs manually. The third one makes it possible to specify tracer specific options from

[PATCH 1/3] tracing: Update instance_rmdir() to use tracefs_remove_recursive.

2015-10-18 Thread Jiaxing Wang
Update instancd_rmdir to use tracefs_remove_recursive instead of debugfs_remove_recursive.This was left in the transition from debugfs to tracefs. Signed-off-by: Jiaxing Wang --- kernel/trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 3/3] tracing: Apply tracer specific options from kernel command line.

2015-10-18 Thread Jiaxing Wang
Currently, the trace_options parameter is only applied in tracer_alloc_buffers() when global_trace.current_trace is nop_trace, so a tracer specific option will not be applied even when the specific tracer is also enabled from kernel command line. For example, the 'func_stack_trace' option can't be

Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit signal context

2015-10-18 Thread Stas Sergeev
15.10.2015 00:41, Andy Lutomirski пишет: If this my understanding is correct and the flag is just an indication rather than a requested action, perhaps the name should be different, e.g. UC_SIG_FROM_32BIT or the like? Anyway, this is minor. :) I'll try to test the patch within a few days, thanks

[PATCH linux-firmware 0/7] Metadata fixes for linux-firmware

2015-10-18 Thread Ben Hutchings
I've been updating Debian's firmware-nonfree package to be based more closely on linux-firmware.git. This included some new checks on the WHENCE file, which uncovered some errors, omissions and oddities. Ben. Ben Hutchings (7):   WHENCE: Remove listing of a nonexistent file   WHENCE: Expand file

[PATCH linux-firmware 1/7] WHENCE: Remove listing of a nonexistent file

2015-10-18 Thread Ben Hutchings
v4l-cx23885-enc.fw was removed by commit c11f374afdd2 ("cx231xx/cx23885: Remove incorrect Conexant CX23885 firmware"). Signed-off-by: Ben Hutchings ---  WHENCE | 1 -  1 file changed, 1 deletion(-) diff --git a/WHENCE b/WHENCE index e3a3d89..b26cf40 100644 --- a/WHENCE +++

Re: [PATCH 06/10] tpm: introduce tpm_buf

2015-10-18 Thread Jarkko Sakkinen
On Sun, Oct 18, 2015 at 04:57:49AM +0200, Peter Hüwe wrote: > Am Freitag, 16. Oktober 2015, 20:40:25 schrieb Jarkko Sakkinen: > > This patch introduces struct tpm_buf that provides a string buffer for > > constructing TPM commands. This allows to construct variable sized TPM > > commands. For the

[RFC][PATCH] Memory allocation watchdog kernel thread.

2015-10-18 Thread Tetsuo Handa
>From e07c200277cdb8e46aa754d3b980b02ab727cb80 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Sun, 18 Oct 2015 20:28:45 +0900 Subject: [PATCH] Memory allocation watchdog kernel thread. This patch adds a kernel thread which periodically reports number of

Re: [PATCH v2] watchdog: Add sysctl knob hardlockup_panic

2015-10-18 Thread Aaron Tomlin
On Thu 2015-10-15 11:06 -0400, Don Zickus wrote: > The only way to enable a hardlockup to panic the machine is to set > 'nmi_watchdog=panic' on the kernel command line. > > This makes it awkward for end users and folks who want to run automate tests > (like myself). > > Mimic the

Re: [PATCH] vme: 8-bit status/id takes 256 values, not 255

2015-10-18 Thread Martyn Welch
On 10 October 2015 at 23:00, Dmitry Kalinkin wrote: > Fixes an off by one array size. > The Status/ID is an 8-bit value (OK, the standard states it can be a 8, 16 or 32-bit value, however both of the chipsets we support at this point in time support an 8-bit value),

[PATCH v2 1/2] staging: IB/ipath: use TASK_COMM_LEN in ipath_portdata

2015-10-18 Thread Geliang Tang
Use comm[TASK_COMM_LEN] instead of comm[16] in ipath_kernel.h. And add sched.h header in it. Signed-off-by: Geliang Tang --- Changes in v2: - split it into two patches. --- drivers/staging/rdma/ipath/ipath_kernel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v2 2/2] staging: IB/ipath: remove sched.h header

2015-10-18 Thread Geliang Tang
sched.h header in ipath_*.c is now unnecessary, since I have added sched.h in ipath_kernel.h. So remove it. Signed-off-by: Geliang Tang --- Changes in v2: - split it into two patches. --- drivers/staging/rdma/ipath/ipath_driver.c | 1 -

Re: [PATCH] pinctrl: mvebu: armada-38x: add suspend/resume support

2015-10-18 Thread Thomas Petazzoni
Hello Marcin, On Sun, 18 Oct 2015 10:43:42 +0200, Marcin Wojtas wrote: > Thanks for pointing this. I based on pinctrl-armada-xp.c (it needs a > fix then, too) and it worked. I must have missed, because I got proper > registers' number and values in suspend/resume routines. As >

[PATCH linux-firmware 7/7] WHENCE: Summarise several more custom licences as 'Redistributable'

2015-10-18 Thread Ben Hutchings
This makes it easier for downstream distributors to check which files are clearly distributable without unusual restrictions. Signed-off-by: Ben Hutchings ---  WHENCE | 40 +---  1 file changed, 25 insertions(+), 15 deletions(-) diff

[PATCH linux-firmware 4/7] Add licence information for kaweth firmware

2015-10-18 Thread Ben Hutchings
Based on the discussion at , this is BSD-licenced. Signed-off-by: Ben Hutchings ---  LICENCE.kaweth | 28  WHENCE |  2 +-  2 files changed, 29 insertions(+), 1 deletion(-)  create mode 100644 LICENCE.kaweth

[PATCH linux-firmware 6/7] Add licence information for qla1280 firmware

2015-10-18 Thread Ben Hutchings
These files were previously available from ftp://ftp.qlogic.com/outgoing/linux/firmware under a BSD-ish licence. Signed-off-by: Ben Hutchings ---  LICENCE.qla1280 | 23 +++  WHENCE  |  6 +-  2 files changed, 24 insertions(+), 5 deletions(-)  

[PATCH linux-firmware 2/7] WHENCE: Expand file wildcard RTL8192E/*

2015-10-18 Thread Ben Hutchings
No other entry uses a wildcard, so keep things simple for scripts that parse this file. Signed-off-by: Ben Hutchings ---  WHENCE | 5 -  1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/WHENCE b/WHENCE index b26cf40..df6c27c 100644 --- a/WHENCE +++ b/WHENCE

[PATCH linux-firmware 3/7] WHENCE: Fix several licen[cs]e filenames

2015-10-18 Thread Ben Hutchings
Signed-off-by: Ben Hutchings ---  WHENCE | 10 +-  1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/WHENCE b/WHENCE index df6c27c..5ebc631 100644 --- a/WHENCE +++ b/WHENCE @@ -1400,7 +1400,7 @@ Driver: dib0700 - DiBcom dib0700 USB DVB bridge driver  File:

[PATCH linux-firmware 5/7] Add licence information for e100 microcode

2015-10-18 Thread Ben Hutchings
The BSDs include the same code under a typical BSD-ish licence, e.g. http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/microcode/fxp/rcvbundl.h?rev=1.2 Signed-off-by: Ben Hutchings ---  LICENCE.e100 | 28  WHENCE   |  4 +---  2 files

[tip:x86/asm] x86/entry/32: Fix entry_INT80_32() to expect interrupts to be on

2015-10-18 Thread tip-bot for Andy Lutomirski
Commit-ID: 657c1eea0019e80685a84cbb1919794243a187c9 Gitweb: http://git.kernel.org/tip/657c1eea0019e80685a84cbb1919794243a187c9 Author: Andy Lutomirski AuthorDate: Fri, 16 Oct 2015 15:42:54 -0700 Committer: Ingo Molnar CommitDate: Sun, 18 Oct 2015

[tip:x86/asm] x86/entry/32: Fix FS and GS restore in opportunistic SYSEXIT

2015-10-18 Thread tip-bot for Andy Lutomirski
Commit-ID: 3bd29515d1cad26fa85a1a9b442de8816c1f5c54 Gitweb: http://git.kernel.org/tip/3bd29515d1cad26fa85a1a9b442de8816c1f5c54 Author: Andy Lutomirski AuthorDate: Fri, 16 Oct 2015 15:42:55 -0700 Committer: Ingo Molnar CommitDate: Sun, 18 Oct 2015

<    1   2   3   4   5   6   >