Re: [PATCH v6 4/4] crypto: AF_ALG: enable RNG interface compilation

2014-12-30 Thread Stephan Mueller
Am Montag, 29. Dezember 2014, 21:41:58 schrieb Herbert Xu: Hi Herbert, > On Thu, Dec 25, 2014 at 11:00:39PM +0100, Stephan Mueller wrote: > > Enable compilation of the RNG AF_ALG support and provide a Kconfig > > option to compile the RNG AF_ALG support. > > > > Signed-off-by: Stephan Mueller

RE: iwlwifi-driver card doesn't work with 3.19-rc2+

2014-12-30 Thread Grumbach, Emmanuel
> > On Tue, 30 Dec 2014, Larry Finger wrote: > > > > > If wireless maintainers think otherwise, I'll send a revert > > > > request to Linus for consideration. > > > > > > I wonder if the reaction would be like this one: > > > > > > https://lkml.org/lkml/2012/12/23/75 > > > > > > :-) > > > > It

[PATCH] coresight: fix typo in comment in of_coresight.c

2014-12-30 Thread Kaixu Xia
Debugfs isn't used for coresight configuration, so the corresponding comments should be changed. Signed-off-by: Kaixu Xia --- drivers/coresight/of_coresight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/coresight/of_coresight.c b/drivers/coresight/of_coresight.c

RE: [PATCH] Revert "cfg80211: make WEXT compatibility unselectable"

2014-12-30 Thread Grumbach, Emmanuel
> Subject: [PATCH] Revert "cfg80211: make WEXT compatibility unselectable" > > This reverts commit 24a0aa212ee2dbe44360288684478d76a8e20a0a. > > It's causing severe userspace breakage. Namely, all the utilities from > wireless-utils which are relying on CONFIG_WEXT (which means tools like >

Re: [PATCH 0/3] mm: cma: /proc/cmainfo

2014-12-30 Thread Minchan Kim
On Wed, Dec 31, 2014 at 03:47:59PM +0900, Namhyung Kim wrote: > Hello, > > On Wed, Dec 31, 2014 at 09:58:04AM +0900, Gioh Kim wrote: > > 2014-12-30 오후 1:47에 Minchan Kim 이(가) 쓴 글: > > >On Mon, Dec 29, 2014 at 11:52:58AM -0800, Laura Abbott wrote: > > >>I've been meaning to write something like

[PATCH v4] x86/boot/early_serial_console: Remove unnecessary check

2014-12-30 Thread Alexander Kuleshov
There is already the same check before. Signed-off-by: Alexander Kuleshov --- arch/x86/boot/early_serial_console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/boot/early_serial_console.c b/arch/x86/boot/early_serial_console.c index 5df2869..2b1c403 100644

[GIT PULL] arch/nios2 fixes for 3.19-rc3

2014-12-30 Thread Ley Foon Tan
Hi Linus, There are 2 arch/nios2 fixes for 3.19. Please consider pulling. Happy new year. Regards Ley Foon The following changes since commit b7392d2247cfe6771f95d256374f1a8e6a6f48d6: Linux 3.19-rc2 (2014-12-28 16:49:37 -0800) are available in the git repository at:

[PATCH] fbdev: geocode: remove unneeded NULL check

2014-12-30 Thread Sudip Mukherjee
the check for info is not required as we are checking it immediately after gx1fb_init_fbinfo() and returnig -ENOMEM if it is NULL. Signed-off-by: Sudip Mukherjee --- drivers/video/fbdev/geode/gx1fb_core.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 0/3] mm: cma: /proc/cmainfo

2014-12-30 Thread Namhyung Kim
Hello, On Wed, Dec 31, 2014 at 09:58:04AM +0900, Gioh Kim wrote: > 2014-12-30 오후 1:47에 Minchan Kim 이(가) 쓴 글: > >On Mon, Dec 29, 2014 at 11:52:58AM -0800, Laura Abbott wrote: > >>I've been meaning to write something like this for a while so I'm > >>happy to see an attempt made to fix this. I can't

[PATCH] [BUGFIX] perf-probe: Fix to fall back to find probe point in symbols

2014-12-30 Thread Masami Hiramatsu
Fix to fall back to find a probe point in symbols if perf fails to find it in debuginfo. This can happen when the target function is an alias of another function. Such alias doesn't have an entry in debuginfo but in symbols. David Ahern reported this problem in

Re: Bug#772807: binfmt-support: unable to close /proc/sys/fs/binfmt_misc/register: Invalid argument

2014-12-30 Thread Mike Frysinger
On 12 Dec 2014 06:01, Al Viro wrote: > On Fri, Dec 12, 2014 at 02:51:55PM +1030, Arthur Marsh wrote: > > 6b899c4e9a049dfca759d990bd53b14f81c3626c is the first bad commit > > commit 6b899c4e9a049dfca759d990bd53b14f81c3626c > > Author: Mike Frysinger > > Date: Wed Dec 10 15:52:08 2014 -0800 > >

Re: [PATCH] tty: 8250: Add 64byte UART support for FSL platforms

2014-12-30 Thread Scott Wood
On Tue, 2014-12-30 at 15:08 +0530, Vijay Rai wrote: > Some of FSL SoCs like T1040 has new version of UART controller which > can support 64byte FiFo. > To enable 64 byte support, following needs to be done: > -FCR[EN64] needs to be programmed to 1 to enable it. > -Also, when FCR[EN64]==1, RTL bits

Re: [PATCH] Documentation: Add entry for dell-laptop sysfs interface

2014-12-30 Thread Brian Norris
Hi, On Wed, Dec 03, 2014 at 06:41:33PM +0100, Gabriele Mazzotta wrote: > Add the documentation for the new sysfs interface of dell-laptop > that allows to configure the keyboard illumination on Dell systems. > > Signed-off-by: Gabriele Mazzotta > Signed-off-by: Pali Rohár > --- >

[RFC PATCHv2 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2014-12-30 Thread Chanwoo Choi
This patch adds the documentation for generic exynos memory bus frequency driver. Cc: MyungJoo Ham Cc: Kyungmin Park Signed-off-by: Chanwoo Choi --- .../devicetree/bindings/devfreq/exynos-busfreq.txt | 184 + 1 file changed, 184 insertions(+) create mode 100644

[RFC PATCHv2 7/8] ARM: dts: Add memory bus node for Exynos3250-based Rinato board

2014-12-30 Thread Chanwoo Choi
This patch adds the Exynos3250 memory-bus node which includes the regulator and devfreq-event phandle. The devfreq-event phandle is used for the governor of devfreq device and provide the current usage state of MIF (Memory Interface) / INT (Internal) memory bus group. Cc: Kukjin Kim Cc: Myungjoo

[RFC PATCHv2 1/8] devfreq: exynos: Add generic exynos memory bus frequency driver

2014-12-30 Thread Chanwoo Choi
This patch adds the generic exynos bus frequency driver for memory bus with DEVFREQ framework. The Samsung Exynos SoCs have the common architecture for memory bus between DRAM memory and MMC/sub IP in SoC. This driver can support the memory bus frequency driver for Exynos SoCs. Each memory bus

[RFC PATCHv2 4/8] clk: samsung: exynos4: Add divider clock id for memory bus frequency

2014-12-30 Thread Chanwoo Choi
This patch adds the divider clock id for Exynos4 memory bus frequency. The clock id is used fo DVFS (Dynamic Voltage/Frequency Scaling) feature of exynos memory bus frequency. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos4.c | 10

[RFC PATCHv2 3/8] ARM: dts: Add memory bus node for Exynos3250

2014-12-30 Thread Chanwoo Choi
This patch adds the memory bus node for Exynos3250 SoC. Exynos3250 has following memory buses to translate data between DRAM and eMMC/sub-IPs. Following list specifies the detailed relation between memory bus clock and DMC IP in MIF (Memory Interface) block: - DMC clock : DMC (Dynamic Memory

Re: [PATCH] staging: lustre: linux-prim.c: fix sparse warnings about static declaration

2014-12-30 Thread Sudip Mukherjee
On Tue, Dec 30, 2014 at 07:04:35PM -0800, Serguey Parkhomovsky wrote: > On Tue, Dec 30, 2014 at 02:35:18PM -0800, Jeremiah Mahler wrote: > > > > If you look at the source code just below these functions you will find: > > > > EXPORT_SYMBOL(libcfs_arch_init); > >

[RFC PATCHv2 5/8] ARM: dts: Add memory bus node for Exynos4x12

2014-12-30 Thread Chanwoo Choi
This patch adds the memory bus node for Exynos4x12 SoC. Exynos4x12 SoC has two memory bus to translate data between DRAM and eMMC/sub-IPs. Following list specifies the detailed relation between memory bus clock and DMC IP in MIF (Memory Interface) block: - DMC/ACP clock : DMC (Dynamic Memory

[RFC PATCHv2 0/8] devfreq: Add generic exynos memory-bus frequency driver

2014-12-30 Thread Chanwoo Choi
This patch-set adds the generic exynos bus frequency driver for memory bus with DEVFREQ framework. The Samsung Exynos SoCs have the common architecture for memory bus between DRAM memory and MMC/sub IP in SoC. This driver can support the memory bus frequency driver for Exynos SoCs. Each memory

[RFC PATCHv2 8/8] ARM: dts: Add memory bus node for Exynos4412-based TRATS2 board

2014-12-30 Thread Chanwoo Choi
This patch adds the Exynos4412 memory-bus node which includes the regulator and devfreq-event phandle. The devfreq-event phandle is used for the governor of devfreq device and provide the current usage state of MIF (Memory Interface) / INT (Internal) memory bus group. Cc: Kukjin Kim Cc: Myungjoo

[RFC PATCHv2 6/8] ARM: dts: Add memory bus node for Exynos4210

2014-12-30 Thread Chanwoo Choi
This patch adds the memory bus node for Exynos4210 SoC. Exynos4210 SoC has one memory bus to translate data between DRAM and eMMC/sub-IPs because Exynos4210 must need only one regulator for memory bus. Following list specifies the detailed relation between memory bus clock and sub-IPs: - DMC/ACP

Re: [PATCH] tick/powerclamp: Remove tick_nohz_idle abuse

2014-12-30 Thread Preeti U Murthy
Hi Jacob, On 12/23/2014 08:27 AM, Jacob Pan wrote: > On Sat, 20 Dec 2014 07:01:12 +0530 > Preeti U Murthy wrote: > >> On 12/20/2014 01:26 AM, Thomas Gleixner wrote: >>> On Fri, 19 Dec 2014, Jacob Pan wrote: >>> On Thu, 18 Dec 2014 22:12:57 +0100 (CET) Thomas Gleixner wrote:

Re: [PATCH 1/1] perf list: Fix --raw-dump option

2014-12-30 Thread Namhyung Kim
Hi Taesoo, On Tue, Dec 30, 2014 at 10:36:55PM -0500, Taesoo Kim wrote: > Currently, 'perf list --raw-dump' requires extra arguments > (e.g., hw) to invoke, which breaks bash/zsh completion > (perf-completion.sh). > > $ perf list --raw-dump > Error: unknown option `raw-dump' > >

[PATCH 1/3] video / backlight: add two APIs for drivers to use

2014-12-30 Thread Aaron Lu
It is useful to get the backlight device's pointer and use it to set backlight in some cases(the following patch will make use of it) so add the two APIs and export them. Signed-off-by: Aaron Lu --- drivers/video/backlight/backlight.c | 44 -

[PATCH 2/3] video / backlight: remove the backlight_device_registered API

2014-12-30 Thread Aaron Lu
Since we will need the backlight_device_get_by_type API, we can use it instead of the backlight_device_registered API whenever necessary so remove the backlight_device_registered API. Signed-off-by: Aaron Lu --- drivers/acpi/video.c| 2 +- drivers/video/backlight/backlight.c | 6

[PATCH 0/3] Support INT3406 Display thermal device

2014-12-30 Thread Aaron Lu
The display thermal device represents the LED/LCD display panel that may or may not include touch support. The main function of the display thermal device is to allow control of the display brightness in order to address a thermal condition or to reduce power consumed by display device. Due to

[PATCH 3/3] Thermal: introduce INT3406 thermal driver

2014-12-30 Thread Aaron Lu
INT3406 ACPI device object resembles an ACPI video output device, but its _BCM is said to be deprecated and should not be used. So we will make use of the raw interface to do the actual cooling. Due to this, the APIs from backlight core are used to achieve this. Also, to re-use some of the ACPI

[alsa-devel][PATCH 1/4] ASoC: wm8960: Let wm8960 codec driver manage its own MCLK

2014-12-30 Thread Zidan Wang
When we want to use wm8960 codec, we should enable its MCLK in machine driver. It's reasonable for wm8960 codec driver to manage its own MCLK. When current bias_level is SND_SOC_BIAS_ON, it is preparing for a transition away from ON. In this case, disable the codec mclk. When current bias_level

[alsa-devel][PATCH 3/4] ASoC: wm8960: use pr_debug instead of pr_err

2014-12-30 Thread Zidan Wang
In machine driver, we should find a appropriate sysclk for codec driver, and will use codec set_dai_pll to judge if pll can generate such sysclk. When sample rate changed, we should look for a useful bclk, lrclk division ratio, and will try set_dai_pll for several times. So use pr_debug so that

[alsa-devel][PATCH 4/4] ASoC: wm8960: Fix capture sample rate from 11250 to 11025

2014-12-30 Thread Zidan Wang
wm8960 codec can't support sample rate 11250, it must be 11025. Signed-off-by: Zidan Wang --- sound/soc/codecs/wm8960.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c index cb42385..68790f1 100644 ---

[alsa-devel][PATCH 2/4] ASoC: wm8960: Let wm8960 driver configure its bit clock and frame clock

2014-12-30 Thread Zidan Wang
wm8960 codec driver missing configure its bit clock and frame clock, so add support for it. It will calculate a appropriate frequency dividing ratio according to the system clock, bit clock and frame clock, then set the corresponding registers. Signed-off-by: Zidan Wang ---

Crypto Fixes for 3.19

2014-12-30 Thread Herbert Xu
Hi Linus: This push fixes a use-after-free crash in the user-space crypto API. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Rabin Vincent (1): crypto: af_alg - fix backlog

[PATCH 1/1] perf list: Fix --raw-dump option

2014-12-30 Thread Taesoo Kim
Currently, 'perf list --raw-dump' requires extra arguments (e.g., hw) to invoke, which breaks bash/zsh completion (perf-completion.sh). $ perf list --raw-dump Error: unknown option `raw-dump' usage: perf list [hw|sw|cache|tracepoint|pmu|event_glob] After, $ perf list --raw-dump

Re: ARM: dts: sun9i: Allwinner A80 dtsi - missing clock-frequency property

2014-12-30 Thread Chen-Yu Tsai
On Wed, Dec 31, 2014 at 8:37 AM, Heinrich Schuchardt wrote: > When booting Linux 3.19-rc2 on a Merrii Optimusboard using > arch/arm/boot/dts/sun9i-a80-optimus.dts adn arch/arm/boot/dts/sun9i-a80.dtsi > I get errors > [0.061192] /cpus/cpu@0 missing clock-frequency property > [0.061209]

Re: [PATCH] staging: lustre: linux-prim.c: fix sparse warnings about static declaration

2014-12-30 Thread Serguey Parkhomovsky
On Tue, Dec 30, 2014 at 02:35:18PM -0800, Jeremiah Mahler wrote: > > If you look at the source code just below these functions you will find: > > EXPORT_SYMBOL(libcfs_arch_init); > EXPORT_SYMBOL(libcfs_arch_cleanup); > > So making these static is incorrect because they are being used outside >

Re: [PATCH] nios2: Use preempt_schedule_irq

2014-12-30 Thread Ley Foon Tan
On Tue, Dec 30, 2014 at 10:02 PM, Tobias Klauser wrote: > Follow aa0d53260596 ("ia64: Use preempt_schedule_irq") and use > preempt_schedule_irq instead of enabling/disabling interrupts and messing > around > with PREEMPT_ACTIVE in the nios2 low-level preemption code ourselves. Also get > rid of

Re: [PATCH 0/3] mm: cma: /proc/cmainfo

2014-12-30 Thread Gioh Kim
2014-12-31 오전 11:18에 Minchan Kim 이(가) 쓴 글: Hey, Gioh On Wed, Dec 31, 2014 at 09:58:04AM +0900, Gioh Kim wrote: 2014-12-30 오후 1:47에 Minchan Kim 이(가) 쓴 글: On Mon, Dec 29, 2014 at 11:52:58AM -0800, Laura Abbott wrote: On 12/28/2014 6:36 PM, Minchan Kim wrote: Hello, On Fri, Dec 26, 2014

Re: [PATCH v3 2/2] regulator: rk808: add dvs support

2014-12-30 Thread Chris Zhong
On 12/31/2014 01:04 AM, Mark Brown wrote: On Tue, Dec 30, 2014 at 11:07:14AM +0800, Chris Zhong wrote: On 12/30/2014 01:25 AM, Mark Brown wrote: So, this seems a bit odd. What we appear to be doing here is alternating between the two different voltage setting registers which is all well and

Re: [PATCH 0/3] mm: cma: /proc/cmainfo

2014-12-30 Thread Minchan Kim
Hey, Gioh On Wed, Dec 31, 2014 at 09:58:04AM +0900, Gioh Kim wrote: > > > 2014-12-30 오후 1:47에 Minchan Kim 이(가) 쓴 글: > >On Mon, Dec 29, 2014 at 11:52:58AM -0800, Laura Abbott wrote: > >>On 12/28/2014 6:36 PM, Minchan Kim wrote: > >>>Hello, > >>> > >>>On Fri, Dec 26, 2014 at 05:39:01PM +0300,

[PATCH 1/2] lib/bitmap.c: Change prototype of bitmap_copy_le

2014-12-30 Thread Rasmus Villemoes
Make the prototype of bitmap_copy_le the same as bitmap_copy's. All other bitmap_* functions take unsigned long* parameters; there's no reason this should be special. The only current user is the static inline uwb_mas_bm_copy_le, which already does the void* laundering, so the end users can pass

[PATCH 2/2] lib/bitmap.c: Elide bitmap_copy_le on little-endian

2014-12-30 Thread Rasmus Villemoes
On little-endian, there's no reason to have an extra, presumably less efficient, way of copying a bitmap. Signed-off-by: Rasmus Villemoes --- include/linux/bitmap.h | 4 lib/bitmap.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/include/linux/bitmap.h

Re: 答复:[PATCH] perf core: Use KSTK_ESP() instead of pt_regs->sp while output user regs

2014-12-30 Thread Andy Lutomirski
On Tue, Dec 30, 2014 at 3:29 PM, Andy Lutomirski wrote: > On Dec 30, 2014 11:03 AM, "Peter Zijlstra" wrote: >> >> On Thu, Dec 25, 2014 at 07:48:28AM -0800, Andy Lutomirski wrote: >> > On a quick look, there are plenty of other bugs in there besides just >> > the stack pointer issue. The ABI

[PATCH] timerfd: export defines to userspace

2014-12-30 Thread Mike Frysinger
Since userspace is expected to call timerfd syscalls directly with these flags/ioctls, make sure we export them so they don't have to duplicate the values themselves. Signed-off-by: Mike Frysinger --- include/linux/timerfd.h | 20 +--- include/uapi/linux/Kbuild| 1 +

Re: blk-mq: should elv_iosched_store return ENXIO/EINVAL?

2014-12-30 Thread Jens Axboe
On 12/30/2014 04:37 PM, Sebastian Herbszt wrote: Hello, setting an invalid elevator without blk-mq results in an error: # cat /sys/block/sda/queue/scheduler noop deadline [cfq] # echo foo > /sys/block/sda/queue/scheduler -bash: echo: write error: Invalid argument # dmesg [ 328.767088]

linux-next: Tree for Dec 31

2014-12-30 Thread Stephen Rothwell
Hi all, There will only be intermittent releases of linux-next between now and Jan 5. Changes since 20141226: New trees: wireless-drivers, wireless-drivers-next The rcu tree still had its build failure for which I reverted a commit. Non-merge commits (relative to Linus' tree): 842 900 files

[PATCH] serial: omap_8250: Fix RTS handling

2014-12-30 Thread Peter Hurley
The OMAP3 UART ignores MCR[1] (ie., UART_MCR_RTS) when in autoRTS mode (UPF_HARD_FLOW + CRTSCTS). This makes it impossible for either the serial core or userspace to manually flow control the sender. Disable autoRTS mode when RTS is lowered and restore the previous mode when RTS is raised. Note

[PATCH 00/19] lib: Some #include cleanups

2014-12-30 Thread Rasmus Villemoes
I'm contemplating doing some tree-wide spring cleaning, mostly consisting of removing redundant includes, but also refactoring some large and heterogeneous headers into smaller pieces. This patch series consists of low-hanging fruit I picked from lib/. I've verified that "objdump -d

[PATCH 03/19] lib/dynamic_queue_limits.c: Simplify includes

2014-12-30 Thread Rasmus Villemoes
The file doesn't use anything from ctype.h. Instead of module.h, just use export.h for EXPORT_SYMBOL. The latter requires the user to include compiler.h, so do that explicitly instead of relying on some other header pulling it in. Signed-off-by: Rasmus Villemoes --- lib/dynamic_queue_limits.c |

[PATCH 01/19] lib/interval_tree.c: Simplify includes

2014-12-30 Thread Rasmus Villemoes
The file uses nothing from init.h, and also doesn't need the full module.h machinery; export.h is sufficient. The latter requires the user to ensure compiler.h is included, so do that explicitly instead of relying on some other header pulling it in. Signed-off-by: Rasmus Villemoes ---

[PATCH 04/19] lib/halfmd4.c: Simplify includes

2014-12-30 Thread Rasmus Villemoes
We only need EXPORT_SYMBOL, so compiler.h and export.h suffice. This means linux/types.h is no longer implicitly included, so add an include of uapi/linux/types.h to linux/cryptohash.h for __u32. Other users of cryptohash.h cannot be affected, since they must already have been including

[PATCH 08/19] lib/md5.c: Simplify include

2014-12-30 Thread Rasmus Villemoes
md5.c doesn't use anything from kernel.h, except that that pulls in compiler.h, which is needed for the export.h to work. Signed-off-by: Rasmus Villemoes --- lib/md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/md5.c b/lib/md5.c index 958a3c15923c..bb0cd01d356d

[PATCH 02/19] lib/sort.c: Use simpler includes

2014-12-30 Thread Rasmus Villemoes
sort.c doesn't use facilities from kernel.h, but does use some types defined in linux/types.h. Include the latter directly instead of relying on some other header doing it. Similarly, include linux/export.h directly instead of through module.h. This removes 80 lines from the dependency file

[PATCH 07/19] lib/list_sort.c: Rearrange includes

2014-12-30 Thread Rasmus Villemoes
Memory allocation only happens in the self test, just as random numbers are only used there. So move the inclusion of slab.h inside the CONFIG_TEST_LIST_SORT. We don't need module.h and all of the stuff it carries with it, so replace with export.h and compiler.h. Unfortunately, the ARRAY_SIZE

[PATCH 09/19] lib/llist.c: Remove redundant include

2014-12-30 Thread Rasmus Villemoes
This file doesn't seem to use anything provided by linux/interrupt.h or anything recursively included through that. Removing it produces byte-identical output, while reducing .llist.o.cmd from 541 to 156 lines. Signed-off-by: Rasmus Villemoes --- lib/llist.c | 1 - 1 file changed, 1 deletion(-)

[PATCH 05/19] lib/idr.c: Remove redundant include

2014-12-30 Thread Rasmus Villemoes
idr.c doesn't seem to use anything from hardirq.h (or anything included from that). Removing it produces identical objdump -d output, and gives 44 fewer lines in the .idr.o.cmd dependency file. Signed-off-by: Rasmus Villemoes --- lib/idr.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 11/19] lib/nlattr.c: Remove redundant include

2014-12-30 Thread Rasmus Villemoes
nlattr.c doesn't seem to rely on anything from netdevice.h. Removing it yields identical objdump -d output for each of {allyes,allno,def}config, and eliminates more than 200 lines from the generated dependency file. Signed-off-by: Rasmus Villemoes --- lib/nlattr.c | 1 - 1 file changed, 1

[PATCH 13/19] lib/radix-tree.c: Change to simpler include

2014-12-30 Thread Rasmus Villemoes
The comment helpfully explains why hardirq.h is included, but since 2d4b84739f0a ("hardirq: Split preempt count mask definitions") in_interrupt() has been provided by preempt_mask.h. Use that instead, saving around 40 lines in the generated dependency file. Signed-off-by: Rasmus Villemoes ---

[PATCH 14/19] lib/show_mem.c: Remove redundant include

2014-12-30 Thread Rasmus Villemoes
show_mem.c doesn't use anything from nmi.h. Removing it yields identical objdump -d output for each of {allyes,allno,def}config and eliminates more than 100 lines in the dependency file. Signed-off-by: Rasmus Villemoes --- lib/show_mem.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 12/19] lib/plist.c: Remove redundant include

2014-12-30 Thread Rasmus Villemoes
Removing the include of linux/spinlock.h produces byte-identical output for {allno,def}config, and identical objdump -d output for allyesconfig. In the former two cases, more than a 100 lines are eliminated from the generated dependency file. Signed-off-by: Rasmus Villemoes --- lib/plist.c | 1

[PATCH 16/19] lib/stmp_device.c: Replace module.h include

2014-12-30 Thread Rasmus Villemoes
stmp_device.c only needs EXPORT_SYMBOL, so just include compiler.h and export.h instead of the whole module.h machinery. Signed-off-by: Rasmus Villemoes --- lib/stmp_device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/stmp_device.c b/lib/stmp_device.c index

[PATCH 17/19] lib/strncpy_from_user.c: Replace module.h include

2014-12-30 Thread Rasmus Villemoes
strncpy_from_user.c only needs EXPORT_SYMBOL, so just include compiler.h and export.h instead of the whole module.h machinery. Signed-off-by: Rasmus Villemoes --- lib/strncpy_from_user.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/strncpy_from_user.c

[PATCH 10/19] lib/kobject_uevent.c: Remove redundant include

2014-12-30 Thread Rasmus Villemoes
The file doesn't seem to use anything from linux/user_namespace.h, and removing it yields byte-identical object code and strictly fewer dependencies in the .cmd file. Signed-off-by: Rasmus Villemoes --- lib/kobject_uevent.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/kobject_uevent.c

[PATCH 18/19] lib/percpu_ida.c: Remove redundant includes

2014-12-30 Thread Rasmus Villemoes
These three #includes seem to be completely redundant: Removing them yields identical objdump -d output for each of {allyes,allno,def}config, and neither included file end up in the generated dependency file through some recursive include. In total, about 50 lines are eliminated from

[PATCH 19/19] lib/lcm.c: Replace include

2014-12-30 Thread Rasmus Villemoes
We don't need all the stuff kernel.h pulls in; just compiler.h since export.h doesn't do necessary #includes. This removes more than 100 dependencies. Signed-off-by: Rasmus Villemoes --- lib/lcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lcm.c b/lib/lcm.c index

[PATCH 06/19] lib/genalloc.c: Remove redundant include

2014-12-30 Thread Rasmus Villemoes
Removing this include produces byte-identical output, and thus removes a false dependency. Signed-off-by: Rasmus Villemoes --- lib/genalloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/genalloc.c b/lib/genalloc.c index 2e65d206b01c..17d8f58f6716 100644 --- a/lib/genalloc.c +++

[PATCH 15/19] lib/sort.c: Move include inside #if 0

2014-12-30 Thread Rasmus Villemoes
The sort function and its helpers don't do memory allocation, so the slab.h include is redundant. Move it inside the #if 0 protecting the self-test, similar to how it is done in lib/list_sort.c. This removes over 450 lines from the generated dependency file. Signed-off-by: Rasmus Villemoes ---

[PATCH v17 03/12] input: cyapa: add power management interfaces support for the device

2014-12-30 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 127

[PATCH v17 04/12] input: cyapa: add runtime power management interfaces support for the device

2014-12-30 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 180

[PATCH v17 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-30 Thread Dudley Du
In order to support multiple different chipsets and communication protocols trackpad devices in one cyapa driver, the new cyapa driver is re-designed with one cyapa driver core and multiple device specific functions component. The cyapa driver core is contained in this patch, it supplies basic

[PATCH v17 02/12] input: cyapa: add gen5 trackpad device basic functions support

2014-12-30 Thread Dudley Du
Based on the cyapa core, add the gen5 trackpad device's basic functions supported, so gen5 trackpad device can work with kernel input system. And also based on the state parse interface, the cyapa driver can automatically determine the attached is gen3 or gen5 protocol trackpad device, then set

[PATCH v17 06/12] input: cyapa: add gen3 trackpad device firmware update function support

2014-12-30 Thread Dudley Du
Add firmware image update function supported for gen3 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 291 +++ 1 file changed, 291 insertions(+) diff

[PATCH v17 07/12] input: cyapa: add gen3 trackpad device read baseline function support

2014-12-30 Thread Dudley Du
Add read baseline function supported for gen3 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 72 1 file changed, 72 insertions(+) diff --git

[PATCH v17 05/12] input: cyapa: add sysfs interfaces support in the cyapa driver

2014-12-30 Thread Dudley Du
Add device's basic control and features supported in cyapa driver through sysfs file system interfaces. These interfaces are commonly used in pre- and after production, for trackpad device state checking, managing and firmware image updating. These interfaces including mode, firmware_version and

[PATCH v17 00/12] input: cyapa: instruction of cyapa patches

2014-12-30 Thread Dudley Du
V17 patches have below updates, details of other updates see history list: 1) Fix kernel oops when system booting up with finger on TP. 2) Remove unnecessary error log that may to system. 3) Slipt out pm sleep code into cyapa_prepare_wakeup_controls(), remove #indefs in function body of

[PATCH v17 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-30 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Kconfig | 1 + drivers/input/mouse/cyapa_gen5.c | 390

[PATCH v17 08/12] input: cyapa: add gen3 trackpad device force re-calibrate function support

2014-12-30 Thread Dudley Du
Add force re-calibrate function supported for gen3 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 59 1 file changed, 59 insertions(+) diff

[PATCH v17 12/12] input: cyapa: add acpi device id support

2014-12-30 Thread Dudley Du
Add acpi device tree support. acpi device id "CYAP" is for old gen3 trackpad devices. acpi device id "CYAP0001" is for new gen5 trackpad devices. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 13 + 1 file changed, 13 insertions(+) diff

[PATCH v17 11/12] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-12-30 Thread Dudley Du
Add force re-calibrate function supported for gen5 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65 insertions(+) diff

[PATCH v17 10/12] input: cyapa: add gen5 trackpad device read baseline function support

2014-12-30 Thread Dudley Du
Add read baseline function supported for gen5 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.h | 2 + drivers/input/mouse/cyapa_gen5.c | 640 +++ 2

Re: [PATCH 2/3] mm: cma: introduce /proc/cmainfo

2014-12-30 Thread Gioh Kim
2014-12-29 오후 11:09에 Stefan Strogin 이(가) 쓴 글: Thanks for review Michał, On 12/26/2014 07:02 PM, Michal Nazarewicz wrote: On Fri, Dec 26 2014, "Stefan I. Strogin" wrote: /proc/cmainfo contains a list of currently allocated CMA buffers for every CMA area when CONFIG_CMA_DEBUG is enabled.

Re: [PATCH 0/3] mm: cma: /proc/cmainfo

2014-12-30 Thread Gioh Kim
2014-12-30 오후 1:47에 Minchan Kim 이(가) 쓴 글: On Mon, Dec 29, 2014 at 11:52:58AM -0800, Laura Abbott wrote: On 12/28/2014 6:36 PM, Minchan Kim wrote: Hello, On Fri, Dec 26, 2014 at 05:39:01PM +0300, Stefan I. Strogin wrote: Hello all, Here is a patch set that adds /proc/cmainfo. When

lk3.19.0-rc2: no cfg80211 wireless extensions compatibility

2014-12-30 Thread Douglas Gilbert
Was there a good reason for this change in net/wireless/Kconfig between lk 3.18 and 3.19-rc2 ?? --- /tmp/Kconfig2014-12-25 13:46:28.802185089 -0500 +++ ./Kconfig 2014-12-30 18:08:15.539337145 -0500 @@ -175,7 +175,7 @@ Most distributions have a CRDA package. So if unsure, say

ARM: dts: sun9i: Allwinner A80 dtsi - missing clock-frequency property

2014-12-30 Thread Heinrich Schuchardt
When booting Linux 3.19-rc2 on a Merrii Optimusboard using arch/arm/boot/dts/sun9i-a80-optimus.dts adn arch/arm/boot/dts/sun9i-a80.dtsi I get errors [0.061192] /cpus/cpu@0 missing clock-frequency property [0.061209] /cpus/cpu@1 missing clock-frequency property [0.061223] /cpus/cpu@2

Re: [PATCH 0/3] mm: cma: /proc/cmainfo

2014-12-30 Thread Minchan Kim
On Tue, Dec 30, 2014 at 02:00:27PM -0800, Laura Abbott wrote: > On 12/29/2014 8:47 PM, Minchan Kim wrote: > >> > >> > >>I've been meaning to write something like this for a while so I'm > >>happy to see an attempt made to fix this. I can't speak for the > >>author's reasons for wanting this

Re: fanotify bug on gdb -- hard crash

2014-12-30 Thread Eric Paris
On Mon, 2014-12-29 at 13:06 +0800, ivo welch wrote: > thank you, eric. will do. I read up on it above and now understand it > better. Great let us know if it keeps giving you trouble! > the example in the man page seems somewhat misfortunate. I would use > an example that does not, by

[PATCH] media: au0828 analog_register error path fixes to do proper cleanup

2014-12-30 Thread Shuah Khan
au0828_analog_register() doesn't release video and vbi queues created by vb2_queue_init(). In addition, it doesn't unregister vdev when vbi register fails. Add vb2_queue_release() calls to release video and vbi queues to the failure path to be called when vdev register fails. Add

Re: [PATCH net-next V2] virtio-net: don't do header check for dodgy gso packets

2014-12-30 Thread David Miller
From: Jason Wang Date: Wed, 24 Dec 2014 11:03:52 +0800 > There's no need to do header check for virtio-net since: > > - Host sets dodgy for all gso packets from guest and check the header. > - Host should be prepared for all kinds of evil packets from guest, since > malicious guest can send

blk-mq: should elv_iosched_store return ENXIO/EINVAL?

2014-12-30 Thread Sebastian Herbszt
Hello, setting an invalid elevator without blk-mq results in an error: # cat /sys/block/sda/queue/scheduler noop deadline [cfq] # echo foo > /sys/block/sda/queue/scheduler -bash: echo: write error: Invalid argument # dmesg [ 328.767088] elevator: type foo not found [ 328.767097] elevator:

Re: [PATCH 3/27] atl1e: Use setup_timer

2014-12-30 Thread David Miller
From: Julia Lawall Date: Fri, 26 Dec 2014 15:35:35 +0100 > Convert a call to init_timer and accompanying intializations of > the timer's data and function fields to a call to setup_timer. > > A simplified version of the semantic match that fixes this problem is as > follows:

Re: [PATCH 4/27] atheros: atlx: Use setup_timer

2014-12-30 Thread David Miller
From: Julia Lawall Date: Fri, 26 Dec 2014 15:35:34 +0100 > Convert a call to init_timer and accompanying intializations of > the timer's data and function fields to a call to setup_timer. > > A simplified version of the semantic match that fixes this problem is as > follows:

Re: [PATCH 11/27] ksz884x: Use setup_timer

2014-12-30 Thread David Miller
From: Julia Lawall Date: Fri, 26 Dec 2014 15:35:42 +0100 > Convert a call to init_timer and accompanying intializations of > the timer's data and function fields to a call to setup_timer. > > A simplified version of the semantic match that fixes this problem is as > follows:

Re: [PATCH 15/27] net: sxgbe: Use setup_timer

2014-12-30 Thread David Miller
From: Julia Lawall Date: Fri, 26 Dec 2014 15:35:46 +0100 > Convert a call to init_timer and accompanying intializations of > the timer's data and function fields to a call to setup_timer. > > A simplified version of the semantic match that fixes this problem is as > follows:

Re: [PATCH net-next 00/11] Time Counter fixes and improvements

2014-12-30 Thread David Miller
From: Richard Cochran Date: Sun, 21 Dec 2014 19:46:55 +0100 > Several PTP Hardware Clock (PHC) drivers implement the clock in > software using the timecounter/cyclecounter code. This series adds one > simple improvement and one more subtle fix to the shared timecounter > facility. Credit for

Re: 答复:[PATCH] perf core: Use KSTK_ESP() instead of pt_regs->sp while output user regs

2014-12-30 Thread Andy Lutomirski
On Dec 30, 2014 11:03 AM, "Peter Zijlstra" wrote: > > On Thu, Dec 25, 2014 at 07:48:28AM -0800, Andy Lutomirski wrote: > > On a quick look, there are plenty of other bugs in there besides just > > the stack pointer issue. The ABI check that uses TIF_IA32 in the perf > > core is completely wrong.

Re: [PATCH net-next] net: stmmac: add BQL support

2014-12-30 Thread Beniamino Galvani
On Mon, Dec 29, 2014 at 09:42:01AM -0800, Dave Taht wrote: > On Sun, Dec 28, 2014 at 1:48 PM, Beniamino Galvani > wrote: > > On Sun, Dec 28, 2014 at 08:25:40AM -0800, Dave Taht wrote: > >> On Sun, Dec 28, 2014 at 6:57 AM, Beniamino Galvani > >> wrote: > >> > Add support for Byte Queue Limits

Re: "perf top -g" leaking ~300MB per second.

2014-12-30 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 30, 2014 at 09:35:24AM +0100, Markus Trippelsdorf escreveu: > On 2014.12.30 at 14:38 +0900, Namhyung Kim wrote: > > Hi David and Markus, > > > > On Sat, Dec 13, 2014 at 11:16:43AM -0700, David Ahern wrote: > > > On 12/13/14 8:26 AM, Arnaldo Carvalho de Melo wrote: > > > >The callchain

Re: [PATCH 3/3] comedi: checkpatch warning: missing blank line

2014-12-30 Thread Ian Abbott
On 28/12/14 18:56, Andreas Siegling wrote: This patch will fix all occurrences of the checkpatch warning: WARNING: Missing a blank line after declarations in drivers/staging/comedi/. Signed-off-by: Andreas Siegling Signed-off-by: Zhutao Lu ---

[PATCH] Revert "cfg80211: make WEXT compatibility unselectable"

2014-12-30 Thread Jiri Kosina
This reverts commit 24a0aa212ee2dbe44360288684478d76a8e20a0a. It's causing severe userspace breakage. Namely, all the utilities from wireless-utils which are relying on CONFIG_WEXT (which means tools like 'iwconfig', 'iwlist', etc) are not working anymore. There is a 'iw' utility in newer

  1   2   3   4   5   6   7   >