include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'

2017-02-11 Thread kbuild test robot
Hi Russell, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 commit: b2c0b2cbb282f0cf42518ffacbe197e6f2884168 nmi: create generic NMI backtrace implementation date: 1 year,

[PATCH 14/15] staging: rtl8192u: Fixing no new typedef warning

2017-02-11 Thread simran singhal
This patch fixes following checkpatch.pl warnings: WARNING:do not add new typedefs. All the related files have been modified. Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211.h | 4 ++-- .../staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 4 ++-- .../

[PATCH] Staging: iio: impedance-analyzer: ad5933.c - style fix

2017-02-11 Thread Derek Robson
Change permissions to octal style. Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/iio/impedance-analyzer/ad5933.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/im

[PATCH] Staging: sm750fb: sm750.c - style fix

2017-02-11 Thread Derek Robson
Change permissions to octal style. Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/sm750fb/sm750.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index ee741c012b92..e49f8845f923 100644

Re: [PATCHSET for-4.11] cgroup: implement cgroup v2 thread mode

2017-02-11 Thread Mike Galbraith
On Sun, 2017-02-12 at 14:05 +0900, Tejun Heo wrote: > > I think cgroup tree depth is a more significant issue; because of > > hierarchy we often do tree walks (uo-to-root or down-to-task). > > > > So creating elaborate trees is something I try not to do. > > So, as long as the depth stays reason

[PATCH 1/2] arch/x86: Fix sparse warning symbol not declared

2017-02-11 Thread Tobin C. Harding
This patch adds static declaration to a number of variables. Fixes sparse symbol was not declared warnings. Signed-off-by: Tobin C. Harding --- arch/x86/purgatory/purgatory.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/purgatory/purgatory.c b/arch/x86/

[PATCH 0/2] arch/x86: Fix sparse warning

2017-02-11 Thread Tobin C. Harding
This series fixes multiple occurences of sparse warning, 'symbol is not declared. Should it be static?'. Initial patch adds 'static' keyword to variable declarations. Second patch declares function in order to clear same warning. Tobin C. Harding (2): arch/x86: Fix sparse warning symbol not dec

[PATCH 2/2] arch/x86: Fix sparse warning symbol not declared

2017-02-11 Thread Tobin C. Harding
This patch adds function declaration in order to quiet sparse symbol not declared warning. Signed-off-by: Tobin C. Harding --- Unsure why adding declaration quiets sparse. This may not be the correct solution. Only testing done is building and booting kernel. Since 'purgatory' is called from ass

Re: [PATCH 3/4] ASoC: sun8i-codec: Convert to SOC_MIXER_ARRAY

2017-02-11 Thread Chen-Yu Tsai
On Fri, Feb 10, 2017 at 5:41 PM, Mylène Josserand wrote: > SOC_MIXER_ARRAY is a simplified function of SND_SOC_DAPM_MIXER > which handles automatically the ARRAY_SIZE of controls. > > Update the driver to use SOC_MIXER_ARRAY. > > Signed-off-by: Mylène Josserand Acked-by: Chen-Yu Tsai

Re: [PATCH 2/4] ASoC: sun8i-codec: Update mixer to use SOC_DAPM_DOUBLE

2017-02-11 Thread Chen-Yu Tsai
On Fri, Feb 10, 2017 at 5:41 PM, Mylène Josserand wrote: > Update the driver to use the new SOC_DAPM_DOUBLE definition > on the digital DAC mixer. > Update the names accordingly as, when they are shared, the > controls are not prefixed with the widget's name anymore. > > Signed-off-by: Mylène Joss

Re: [PATCH 1/4] ASoC: sun8i-codec: Remove analog "HP" widget

2017-02-11 Thread Chen-Yu Tsai
On Fri, Feb 10, 2017 at 5:41 PM, Mylène Josserand wrote: > The "HP" widget is already present and take part to > the analog part (sun8i-codec-analog). > > Remove it from the digital part as it is unnecessary. > > Signed-off-by: Mylène Josserand Acked-by: Chen-Yu Tsai

[PATCH] usercopy: add testcases to check zeroing on failure of usercopy

2017-02-11 Thread Hoeun Ryu
In the hardend usercopy, the destination buffer will be zeroed if copy_from_user/get_user fails. This patch adds testcases for it. The destination buffer is set with non-zero value before illegal copy_from_user/get_user is executed and the buffer is compared to zero after usercopy is done. Signed-

RE: [PATCH 05/13] vmbus: remove per channel state

2017-02-11 Thread KY Srinivasan
> -Original Message- > From: Stephen Hemminger > Sent: Friday, February 10, 2017 8:39 AM > To: Greg KH ; KY Srinivasan > > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com; > jasow...@redhat.com; leann.ogasaw...@can

[PATCH 13/15] staging: rtl8192u: Prefer using the BIT macro

2017-02-11 Thread simran singhal
This patch replaces bit shifting on 1 with the BIT(x) macro as it's extensively used by other function in this driver. This was done with coccinelle: @@ int g; @@ -(1 << g) +BIT(g) Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211.h | 188 -

Re: [PATCH] device-dax: don't set kobj parent during cdev init

2017-02-11 Thread Logan Gunthorpe
On 11/02/17 11:58 AM, Dan Williams wrote: > Also when using an embedded cdev how would you recommend avoiding this > problem? I don't know. Hopefully, Greg has a good idea. But it sounds like a general problem that a lot of cdev's actually suffer from without realizing. Perhaps we need a more gen

Re: [PATCHSET for-4.11] cgroup: implement cgroup v2 thread mode

2017-02-11 Thread Tejun Heo
Hello, On Fri, Feb 10, 2017 at 06:51:45PM +0100, Peter Zijlstra wrote: > Sure, we're past that. This isn't about what memcg can or cannot do. > Previous discussions established that controllers come in two shapes: > > - task based controllers; these are build on per task properties and >grou

RE: [PATCH 0/9] Drivers: hv: Miscellaneous vmbus cleanup and improvements

2017-02-11 Thread KY Srinivasan
> -Original Message- > From: k...@exchange.microsoft.com [mailto:k...@exchange.microsoft.com] > Sent: Saturday, February 11, 2017 7:43 PM > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.c

collect2: error: ld returned 1 exit status

2017-02-11 Thread kbuild test robot
Hi Linus, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 6 months ago config: um-al

RE: [PATCH v2 3/5] pci: set msi_domain_ops as __ro_after_init

2017-02-11 Thread KY Srinivasan
> -Original Message- > From: Jess Frazelle [mailto:m...@jessfraz.com] > Sent: Friday, February 10, 2017 5:38 PM > To: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; Bjorn Helgaas ; Keith > Busch ; open list:Hyper-V CORE AND DRIVERS > ; open list:PCI SUBSYSTEM p...@vger.kernel.or

Re: [PATCH] acpi: acpica: fix acpi operand cache leak

2017-02-11 Thread kbuild test robot
Hi Seunghun, [auto build test WARNING on pm/linux-next] [also build test WARNING on v4.10-rc7 next-20170210] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Seunghun-Han/acpi-acpica-fix-acpi-oper

alg: comp: Compression test 1 failed for lz4

2017-02-11 Thread Christian Kujau
Hi, while the LZ4 and LZ4HC module appears to be available on PowerPC 32-bit (it's a PowerBook G4), I get these warnings below during module load. The lzo module is working just fine and I'm using it extensively for ZRAM on that machine. Is this a configuration[0] error or is LZ4 just not supp

[PATCH 0/2] net: Replace custom page based bitmap with IDA

2017-02-11 Thread Tobin C. Harding
Current implementation of __dev_alloc_name uses a custom bitmap of a single page to iterate network device id's and allocate an unused id. This is seemingly the same task that the IDA does. Also the current implementation leads to a upper limit of 8 * PAGE_SIZE on the number of network id's (for ea

[PATCH 2/2] net: Replace custom page based bitmap with IDA

2017-02-11 Thread Tobin C. Harding
Current implementation of __dev_alloc_name uses a custom bitmap of a single page to iterate network device id's and allocate an unused id. This leads to a upper limit of 8 * PAGE_SIZE network device id's (for each name format i.e eth0). This patch uses the kernel's IDA as a replacement to the page

[PATCH 1/2] include: Fix checkpatch whitespace error and warning

2017-02-11 Thread Tobin C. Harding
This patch fixes two trivial whitespace messages (ERROR/WARNING). Fixes trailing whitespace ERROR and fixes space before tabs WARNING. Signed-off-by: Tobin C. Harding --- include/linux/idr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/idr.h b/include/lin

[PATCH] acpi: acpica: fix acpi operand cache leak

2017-02-11 Thread Seunghun Han
I'm Seunghun Han, and I work for National Security Research Institute of South Korea. I have been doing a research on ACPI and making a handcrafted ACPI table for my research. Errors of handcrafted ACPI tables are handled well in Linux kernel while boot process, and Linux kernel goes well without

[PATCH] tools:perf:scripting-engines: Fix compile error with some perl5 versions

2017-02-11 Thread Wang YanQing
Fix below compile error: CC util/scripting-engines/trace-event-perl.o In file included from /usr/lib/perl5/5.22.2/i686-linux/CORE/perl.h:5673:0, from util/scripting-engines/trace-event-perl.c:31: /usr/lib/perl5/5.22.2/i686-linux/CORE/inline.h: In function 'S__is_utf8_char_sl

Re: [PATCH] net: ethernet: ti: cpsw: return NET_XMIT_DROP if skb_padto failed

2017-02-11 Thread David Miller
From: Ivan Khoronzhuk Date: Sat, 11 Feb 2017 03:49:57 +0200 > If skb_padto failed the skb has been dropped already, so it was > consumed, but it doesn't mean it was sent, thus no need to update > queue tx time, etc. So, return NET_XMIT_DROP as more appropriate. > > Signed-off-by: Ivan Khoronzhuk

Re: [PATCH v3 net-next 4/9] sunvnet: add driver stats for ethtool support

2017-02-11 Thread David Miller
From: Stephen Hemminger Date: Fri, 10 Feb 2017 16:22:08 -0800 > On Fri, 10 Feb 2017 09:38:20 -0800 > Shannon Nelson wrote: > >> +static void vsw_get_ethtool_stats(struct net_device *dev, >> + struct ethtool_stats *estats, u64 *data) >> +{ >> +int i = 0; >> + >>

Re: [PATCHv6 0/7] Refactor macvtap to re-use tap functionality by other virtual intefaces

2017-02-11 Thread David Miller
From: Sainath Grandhi Date: Fri, 10 Feb 2017 16:03:45 -0800 > Tap character devices can be implemented on other virtual interfaces like > ipvlan, similar to macvtap. Source code for tap functionality in macvtap > can be re-used for this purpose. > > This patch series splits macvtap source into t

[tip:WIP.sched/core 131/154] arch/sh/include/asm/fpu.h:11:6: error: dereferencing pointer to incomplete type 'struct pt_regs'

2017-02-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 12372f63e2728a509817b56878cd6633d92053b3 commit: 63a4ca7de1d32b82b973dc6eb1da7398fb2630d2 [131/154] sched/headers: Remove from config: sh-sh2007_defconfig (attached as .config) compiler: sh4-linux-gnu-gcc

[tip:WIP.sched/core 74/154] arch/arm/nwfpe/fpmodule.c:54:21: error: implicit declaration of function 'send_sig'

2017-02-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 12372f63e2728a509817b56878cd6633d92053b3 commit: 3cff44a935eba893a68a1bcb3ee7e90cbbbabbb7 [74/154] sched/headers: Move task_struct::signal and task_struct::sighand types and accessors into config: arm-h36

Re: [PATCH v5] fork: free vmapped stacks in cache when cpus are offline

2017-02-11 Thread Hoeun Ryu
applied to the wrong git tree, please drop us a note to >> help improve the system] >> >> url: >> https://github.com/0day-ci/linux/commits/Hoeun-Ryu/fork-free-vmapped-stacks-in-cache-when-cpus-are-offline/20170211-183401 >> config: ia64-allmodconfig (attached as

cc1: error: '-march=r3900' requires '-mfp32'

2017-02-11 Thread kbuild test robot
Hi James, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 commit: 034827c727f7f3946a18355b63995b402c226c82 MIPS: Fix -mabi=64 build of vdso.lds date: 4 months ago config: m

[tip:WIP.sched/core 88/154] arch/s390/appldata/appldata_base.c:572:19: error: 'nr_threads' undeclared here (not in a function)

2017-02-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 12372f63e2728a509817b56878cd6633d92053b3 commit: 1a0c1b565f6d461190282268c46480b53785651e [88/154] sched/headers: Move task statistics APIs from to config: s390-default_defconfig (attached as .config) com

[tip:WIP.sched/core 74/154] arch/sh/kernel/cpu/sh4/fpu.c:428:2: error: implicit declaration of function 'force_sig'

2017-02-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 12372f63e2728a509817b56878cd6633d92053b3 commit: 3cff44a935eba893a68a1bcb3ee7e90cbbbabbb7 [74/154] sched/headers: Move task_struct::signal and task_struct::sighand types and accessors into config: sh-sh20

Re: [PATCH v11 7/9] mmc: cavium: Add scatter-gather DMA support

2017-02-11 Thread kbuild test robot
Hi Jan, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc7 next-20170210] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jan-Glauber/Cavium-MMC-driver/20170206-214740 co

{standard input}:107: Error: unknown opcode

2017-02-11 Thread kbuild test robot
Hi Rich, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 commit: b4214e41b7152b1964a3421a40251d202ae2d2c0 sh: add SMP support for J2 date: 6 months ago config: sh-j2_defconf

Re: [PATCH v11 6/9] mmc: cavium: Add MMC PCI driver for ThunderX SOCs

2017-02-11 Thread kbuild test robot
Hi Jan, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc7 next-20170210] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jan-Glauber/Cavium-MMC-driver/20170206-214740 co

[PATCH v2] tty: pty: Fix flush ldisc after userspace see the data already

2017-02-11 Thread Wang YanQing
When tty_buffer_flush calling had been enabled in pty_flush_buffer (in commit 1d1d14da12e79a6c05fbe1a975401f0f56c93316 "pty: Fix buffer flush deadlock"), this causes a issue had been hidden before it. Don't flush line discipline of another side, because user could see the data in line discipline

arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)

2017-02-11 Thread kbuild test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT date: 1 year, 1 month ago

[tip:sched/core 83/86] kernel/sched/core.c:199:25: error: 'paravirt_steal_rq_enabled' undeclared

2017-02-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core head: bb3bac2ca9a3a5b7fa601781adf70167a0449d75 commit: 004172bdad644327dc7a6543186b9d7b529ee944 [83/86] sched/core: Remove unnecessary #include headers config: arm-allyesconfig (attached as .config) compiler: arm-linu

[tip:WIP.sched/core 98/154] arch/mips/include/asm/processor.h:384:41: error: implicit declaration of function 'task_stack_page'

2017-02-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 12372f63e2728a509817b56878cd6633d92053b3 commit: 030a6259fec4df48769d8efc0e0d4431e05935aa [98/154] sched/headers: Move task-stack related APIs from to config: mips-generic_defconfig (attached as .config)

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

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

[no subject]

2017-02-11 Thread Chagri
hiya Linux http://healthysumner.com/estadisticas.php?ride=2wvv41w9gskt1zkb Chagri

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

2017-02-11 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 1 year, 3 months ago

make[2]: *** No rule to make target 'olddefconfig'.

2017-02-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 commit: eed0eabd12ef061821cbfa20d903476e07645320 MIPS: generic: Introduce generic DT-based board support date: 4 months ago config: mips-64r6el_defconfig (attached

Re: 4.10-rc1: thinkpad x60: who ate my cpu?

2017-02-11 Thread Woody Suwalski
Pavel Machek wrote: On Sat 2017-01-14 12:30:54, Pavel Machek wrote: Hi! On Thu 2017-01-12 20:19:31, Woody Suwalski wrote: Pavel Machek wrote: Hi! I used to have two cpus, and Thinkpad X60 should have two cores, but I only see one on 4.10-rc1. This machine went through many suspend/resume cy

[PATCH] leds/trigger/activity: add a system activity LED trigger

2017-02-11 Thread Willy Tarreau
The "activity" trigger was inspired by the heartbeat one, but aims at providing instant indication of the immediate CPU usage. Under idle condition, it flashes 10ms every second. At 100% usage, it flashes 90ms every 100ms. The blinking frequency increases from 1 to 10 Hz until either the load is hi

Re: [PATCH -next] rtc: sun6i: Fix return value check in sun6i_rtc_clk_init()

2017-02-11 Thread Alexandre Belloni
On 09/02/2017 at 00:16:13 +, Wei Yongjun wrote: > From: Wei Yongjun > > In case of error, the function of_io_request_and_map() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check should > be replaced with IS_ERR(). > > Fixes: 847b8bf62eb4 ("rtc: sun6i: Expose

Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node

2017-02-11 Thread Matthias Brugger
On 02/06/2017 08:45 AM, Boris Brezillon wrote: Hi Guochun, On Sun, 5 Feb 2017 12:00:49 +0800 Guochun Mao wrote: + nor_flash: spi@11014000 { + compatible = "mediatek,mt2701-nor", +"mediatek,mt8173-nor"; + reg = <0 0x11014000 0 0

Re: [PATCH v2 06/10] clk: mediatek: add clk support for MT6797

2017-02-11 Thread Matthias Brugger
On 02/06/2017 01:15 PM, Mars Cheng wrote: From: Kevin-CW Chen Add MT6797 clock support, include topckgen, apmixedsys, infracfg and subsystem clocks Signed-off-by: Kevin-CW Chen Signed-off-by: Mars Cheng --- Tested-by: Matthias Brugger drivers/clk/mediatek/Kconfig | 33 ++

Re: [PATCH] smiapp: add CCP2 support

2017-02-11 Thread Pavel Machek
Hi! > Besides this patch, what else is needed? The CSI-2 / CCP2 support is > missing in V4L2 OF at least. It'd be better to have this all in the same > set. Quite a lot of is needed. > I pushed the two DT patches here: > > https://git.linuxtv.org/sailus/media_tree.git/commit/?h=ccp2> Thanks fo

Re: [PATCH v2 07/10] soc: mediatek: refine scysys for mediatek platforms

2017-02-11 Thread Matthias Brugger
On 02/06/2017 01:15 PM, Mars Cheng wrote: This adds 2 refinements: avoid fixed spm power statue and add vdec item Please be more explicit in the commit message. Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- drivers/soc/mediatek/mtk-scpsys.c | 35 ++

[PATCH] clk: qcom: Do not drop device node twice

2017-02-11 Thread Guenter Roeck
of_find_node_by_name() drops the reference to a passed device node. It is not necessary to drop it again, and doing so may result in the device node being released prematurely. Cc: Rob Herring Signed-off-by: Guenter Roeck --- drivers/clk/qcom/common.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH] ARM: OMAP2+: Grab reference to device nodes where needed

2017-02-11 Thread Guenter Roeck
After commit 'of: fix of_node leak caused in of_find_node_opts_by_path', the following error may be reported when running omap images. OF: ERROR: Bad of_node_put() on /ocp@6800 CPU: 0 PID: 0 Comm: swapper Not tainted 4.10.0-rc7-next-20170210 #1 Hardware name: Generic OMAP3-GP (Flattened Device

[PATCH net-next v1] bpf: Rebuild bpf.o for any dependency update

2017-02-11 Thread Mickaël Salaün
This is needed to force a rebuild of bpf.o when one of its dependencies (e.g. uapi/linux/bpf.h) is updated. Add a phony target. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: David S. Miller Cc: Wang Nan --- tools/testing/selftests/bpf/Makefile | 15 +++

Re: [PATCH] MIPS: sync-r4k: Fix KERN_CONT fallout

2017-02-11 Thread James Hogan
On Thu, Feb 02, 2017 at 01:22:04PM +, Matt Redfearn wrote: > Since commit 4bcc595ccd80 ("printk: reinstate KERN_CONT for printing > continuation lines") the output of counter synchornisation has been > split across lines: > [ 0.665181] Synchronize counters for CPU 1: > [ 0.678578] done. > > Fi

Re: [PATCHv2] v4l: split lane parsing code

2017-02-11 Thread Sakari Ailus
Hi Pavel, On Thu, Jan 12, 2017 at 11:24:06AM +0100, Pavel Machek wrote: > > From: Sakari Ailus > > The function to parse CSI2 bus parameters was called > v4l2_of_parse_csi_bus(), rename it as v4l2_of_parse_csi2_bus() in > anticipation of CSI1/CCP2 support. > > Obtain data bus type from bus-typ

Re: [PATCH] smiapp: add CCP2 support

2017-02-11 Thread Sakari
Thanks, Pavel! :-) Besides this patch, what else is needed? The CSI-2 / CCP2 support is missing in V4L2 OF at least. It'd be better to have this all in the same set. I pushed the two DT patches here: https://git.linuxtv.org/sailus/media_tree.git/commit/?h=ccp2> On Wed, Feb 08, 2017 at 02:11:27P

Re: [PATCH v4 3/3] MIPS: ath79: Fix the USB PHY reset names

2017-02-11 Thread James Hogan
Hi Alban, On Sun, Feb 05, 2017 at 08:52:32PM +0100, Alban wrote: > From: Alban Bedel > > The binding for the USB PHY went thru before the driver. However the > new version of the driver now use the PHY core support for reset, and > this expect the reset to be named "phy". So remove the "usb-" pr

Re: [PATCH] MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch

2017-02-11 Thread James Hogan
On Wed, Jan 25, 2017 at 05:00:25PM +, Matt Redfearn wrote: > Commit dda45f701c9d ("MIPS: Switch to the irq_stack in interrupts") > changed both the normal and vectored interrupt handlers. Unfortunately > the vectored version, "except_vec_vi_handler", was incorrectly modified > to unconditionall

Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback , breaks my box )

2017-02-11 Thread Borislav Petkov
On Sat, Feb 11, 2017 at 09:58:26PM +0100, Gabriel C wrote: > Yes , it will hang before tsc message .. > Also sometimes I have same trace sometimes it just hangs forever. It doesn't sound like dis_ucode_ldr changes anything. Or maybe it does, maybe the microcode applies some fix for some erratum or

Re: [PATCH] MIPS: Fix distclean with Makefile.postlink

2017-02-11 Thread James Hogan
On Mon, Jan 30, 2017 at 09:58:34AM +, Matt Redfearn wrote: > The postlink Makefile must include include/config/auto.conf to get the > kernel configuration variables. But in a clean kernel directory this > file does not exist, causing make to bail with the error: > > arch/mips/Makefile.postlink

[PATCH 12/15] staging: rtl8192u: Fix warnings relating to printk()

2017-02-11 Thread simran singhal
This fixes the following checkpatch.pl warnings: WARNING: printk() should include KERN_ facility level Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/

Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback , breaks my box )

2017-02-11 Thread Gabriel C
On 11.02.2017 15:21, Borislav Petkov wrote: On Sat, Feb 11, 2017 at 02:09:14PM +0100, Gabriel C wrote: Adding ' dis_ucode_ldr ' to commandline makes the kernel hangs right after : Wait a minute, are you saying that without dis_ucode_ldr you can't even boot so far? Yes , it will hang before

[PATCH 11/15] staging: rtl8192u: Fix RETURN_VOID warnings

2017-02-11 Thread simran singhal
Fix 'void function return statements are not generally useful' checkpatch.pl warnings. Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c b/drivers/stagin

[PATCH 10/15] staging: rtl8192u: Fix brace placement

2017-02-11 Thread simran singhal
Fix brace placement errors caught by checkpatch.pl ERROR: that open brace { should be on the previous line Signed-off-by: simran singhal --- .../staging/rtl8192u/ieee80211/rtl819x_BAProc.c| 90 -- 1 file changed, 30 insertions(+), 60 deletions(-) diff --git a/drivers/sta

[PATCH 09/15] staging: rtl8192u: Removing true and false comparison

2017-02-11 Thread simran singhal
Remove comparison to true and false in if statement. Problem found usingcheckpatch.pl. CHECK: Using comparison to true is error prone CHECK: Using comparison to false is error prone Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c | 4 ++-- 1 file changed, 2

[PATCH 08/15] staging: rtl8192u: Remove unnecessary space after a cast

2017-02-11 Thread simran singhal
This patch fixes the checkpatch issue: CHECK: No space is necessary after a cast Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c

[PATCH 07/15] staging: rtl8192u: Replace explicit NULL comparisons with !

2017-02-11 Thread simran singhal
This patch replace explicit NULL comparison with ! or unmark operator to simplify code. Reported by checkpatch.pl for comparison to NULL could be written "!XXX" or "XXX". Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c | 12 ++-- 1 file changed, 6 i

[PATCH 06/15] staging: rtl8192u: Remove useless function

2017-02-11 Thread simran singhal
This patch remove useless function ieee80211_ccmp_null. Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211.h| 1 - drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 6 -- drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 1 - 3 file

[PATCH 05/15] staging: rtl8192u: Fix braces {} style

2017-02-11 Thread simran singhal
This fixes all checkpatch form of this from the Lustre tree: CHECK: braces {} should be used on all arms of this statement Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/

Re: [RFC PATCH] perf/stat: Add --disable-hwdt

2017-02-11 Thread Ingo Molnar
* Borislav Petkov wrote: > On Sat, Feb 11, 2017 at 06:59:10PM +0100, Ingo Molnar wrote: > > So I checked the perf-list manpage and it didn't tell me much about how to > > disable > > the NMI watchdog. > > Oh, it is buried there: > > " > EVENT GROUPS > > > ... > > > Globally p

[PATCH 04/15] staging: rtl8192u: Clean up comparison to NULL

2017-02-11 Thread simran singhal
Checkpatch recommended changes. Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c b/drivers/staging/rtl8192u/ieee80211/ieee8021

[PATCH 03/15] staging: rtl8192u: Fixing multiple assignments

2017-02-11 Thread simran singhal
This patch modifies the assignments into single assignments. Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c b/drivers/stag

Re: [PATCH] clocksource: add __ro_after_init to cyclecounter

2017-02-11 Thread Thomas Gleixner
On Sat, 11 Feb 2017, Ard Biesheuvel wrote: > On 11 February 2017 at 19:20, Bhumika Goyal wrote: > > The object cyclecounter of type cyclecounter is not getting modified > > after getting initialized by arch_counter_register. Apart from > > initialization in arch_counter_register it is also passed

Re: [PATCH] clocksource: add __ro_after_init to cyclecounter

2017-02-11 Thread Thomas Gleixner
On Sun, 12 Feb 2017, Bhumika Goyal wrote: Please be more careful with your subject line. The prefix for this is definitely not 'clocksource'. git log would have told you the proper one: clocksource/drivers/arm_arch_timer 'clocksource' is the general subsystem and used for system wide changes or

[PATCH] kernfs: fix locking around kernfs_ops->release() callback

2017-02-11 Thread Tejun Heo
The release callback may be called from two places - file release operation and kernfs open file draining. kernfs_open_file->mutex is used to synchronize the two callsites. This unfortunately leads to possible circular locking because of->mutex is used to protect the usual kernfs operations which

[PATCH 02/15] staging: rtl8192u: Removing unnecessary space after a cast

2017-02-11 Thread simran singhal
This patch fixes the checkpatch warning by removing unnecessary space after a cast. CHECK: No space is necessary after a cast Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a

[tip:perf/core] perf/x86/intel: Add Kaby Lake support

2017-02-11 Thread tip-bot for Srinivas Pandruvada
Commit-ID: f2029b1e47b607619d1dd2cb0bbb77f64ec6b7c2 Gitweb: http://git.kernel.org/tip/f2029b1e47b607619d1dd2cb0bbb77f64ec6b7c2 Author: Srinivas Pandruvada AuthorDate: Fri, 10 Feb 2017 11:38:37 -0800 Committer: Thomas Gleixner CommitDate: Sat, 11 Feb 2017 21:28:23 +0100 perf/x86/intel:

Re: [PATCH] clocksource: add __ro_after_init to cyclecounter

2017-02-11 Thread Ard Biesheuvel
On 11 February 2017 at 19:20, Bhumika Goyal wrote: > The object cyclecounter of type cyclecounter is not getting modified > after getting initialized by arch_counter_register. Apart from > initialization in arch_counter_register it is also passed as an argument > to the function timecounter_init b

[PATCH 01/15] staging: rtl8192u: Removing multiple blank lines

2017-02-11 Thread simran singhal
This patch fixes the checkpatch warning by removing multiple blank lines. CHECK: Please don't use multiple blank lines Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/staging/rtl8

Re: [PATCH] Staging: setup.c : boot loader kernel arguments are secured over cmdline.txt arguments for some systems

2017-02-11 Thread kbuild test robot
Hi Kishore, [auto build test ERROR on tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kishore-Karanala/Staging-setup-c-boot-loader-kernel-arguments-are-secured-over-cmdline-txt-argu

Re: [PATCH v5] fork: free vmapped stacks in cache when cpus are offline

2017-02-11 Thread Thomas Gleixner
> https://github.com/0day-ci/linux/commits/Hoeun-Ryu/fork-free-vmapped-stacks-in-cache-when-cpus-are-offline/20170211-183401 > config: ia64-allmodconfig (attached as .config) > compiler: ia64-linux-gcc (GCC) 6.2.0 > reproduce: > wget > https://git.kernel.org/cgit/lin

Re: [PATCH RT] Align rt_mutex inlining with upstream behavior

2017-02-11 Thread Thomas Gleixner
On Sat, 11 Feb 2017, Ingo Molnar wrote: > > * Sebastian Andrzej Siewior wrote: > > > On 2017-02-10 10:09:29 [-0800], Andy Ritger wrote: > > > Is the > > > > > > WARN_ON(rt_mutex_is_locked(lock)); > > > > > > in rt_mutex_destroy() valuable in non-CONFIG_DEBUG_MUTEXES kernels, > > > such th

[PATCH] ARM: dts: exynos: Use thermal fuse value for thermal zone 0 on Exynos5420

2017-02-11 Thread Krzysztof Kozlowski
In Odroid XU3 Lite board, the temperature levels reported for thermal zone 0 were weird. In warm room: /sys/class/thermal/thermal_zone0/temp:32000 /sys/class/thermal/thermal_zone1/temp:51000 /sys/class/thermal/thermal_zone2/temp:55000 /sys/class/thermal/thermal_zone3

Re: [PATCHv4 4/5] x86/mm: check in_compat_syscall() instead TIF_ADDR32 for mmap(MAP_32BIT)

2017-02-11 Thread Thomas Gleixner
On Mon, 30 Jan 2017, Dmitry Safonov wrote: > At this momet, logic in arch_get_unmapped_area{,_topdown} for mmaps with > MAP_32BIT flag checks TIF_ADDR32 which means: > o if 32-bit ELF changes mode to 64-bit on x86_64 and then tries to > mmap() with MAP_32BIT it'll result in addr over 4Gb (as def

[PATCH] thermal: exynos: Remove parsing unused samsung,tmu_cal_mode property

2017-02-11 Thread Krzysztof Kozlowski
The property samsung,tmu_cal_mode is not used and not used. We can safely remove it. Signed-off-by: Krzysztof Kozlowski --- drivers/thermal/samsung/exynos_tmu.c | 1 - drivers/thermal/samsung/exynos_tmu.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c

Re: [PATCH] Staging: setup.c : boot loader kernel arguments are secured over cmdline.txt arguments for some systems

2017-02-11 Thread Thomas Gleixner
On Sun, 12 Feb 2017, Kishore Karanala wrote: 1;2802;0c The proper subsystem for x86 is x86 and not staging. Also your subject line is a way too long sentence instead of a short and precise summary of the change. > boot loader kernel arguments are secured over cmdline.txt > arguments for some syst

Re: [PATCH v3 2/4] iio: chemical: add driver for dsm501/ppd42ns particle sensors

2017-02-11 Thread Tomasz Duszynski
On Sat, Feb 11, 2017 at 10:45:38AM +, Jonathan Cameron wrote: > On 09/02/17 17:13, Tomasz Duszynski wrote: > > This patch adds support for dsm501 and ppd42ns particle sensors. > > > > Both sensors work on the same principle. Heater (resistor) heats up air > > in sensor chamber which induces upw

Re: [PATCH] Staging: arch/x86/kernel/setup.c : fixed empty line style issue

2017-02-11 Thread Thomas Gleixner
On Sat, 11 Feb 2017, Kishore Karanala wrote: > From: Kishore > > Fixed empty line style issue What? There is no issue. These empty lines are entirely correct and removing them is just hurting readability. Thanks, tglx > Signed-off-by: Kishore Karanala > --- > arch/x86/kernel/setup.

Re: [PATCHv4 3/5] x86/mm: fix 32-bit mmap() for 64-bit ELF

2017-02-11 Thread Thomas Gleixner
On Mon, 30 Jan 2017, Dmitry Safonov wrote: > Fix 32-bit compat_sys_mmap() mapping VMA over 4Gb in 64-bit binaries > and 64-bit sys_mmap() mapping VMA only under 4Gb in 32-bit binaries. > Introduced new bases for compat syscalls in mm_struct: > mmap_compat_base and mmap_compat_legacy_base for top-d

[PATCH net-next v1] bpf: Remove redundant ifdef

2017-02-11 Thread Mickaël Salaün
Remove a useless ifdef __NR_bpf as requested by Wang Nan. Inline one-line static functions as it was in the bpf_sys.h file. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: David S. Miller Cc: Wang Nan Link: https://lkml.kernel.org/r/828ab1ff-4dcf-53ff-c97b-074adb

[PATCH] Staging: setup.c : boot loader kernel arguments are secured over cmdline.txt arguments for some systems

2017-02-11 Thread Kishore Karanala
boot loader kernel arguments are secured over cmdline.txt arguments for some systems Signed-off-by: Kishore Karanala --- arch/x86/Kconfig| 3 +++ arch/x86/kernel/setup.c | 7 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e

[PATCH] clocksource: add __ro_after_init to cyclecounter

2017-02-11 Thread Bhumika Goyal
The object cyclecounter of type cyclecounter is not getting modified after getting initialized by arch_counter_register. Apart from initialization in arch_counter_register it is also passed as an argument to the function timecounter_init but this argument is of type const. Therefore, add __ro_after

Re: [PATCH 07/10] rcu: Separate the RCU synchronization types and APIs into

2017-02-11 Thread Paul McKenney
On Wed, Feb 8, 2017 at 10:34 AM, Ingo Molnar wrote: > So rcupdate.h is a pretty complex header, in particular it includes > which includes - creating a > dependency that includes in , > which prevents the isolation of from the derived > header. > > Solve part of the problem by decoupling rcup

[PATCH] kernel: ksysfs: add __ro_after_init to bin_attribute structure

2017-02-11 Thread Bhumika Goyal
The object notes_attr of type bin_attribute is not modified after getting initailized by ksysfs_init. Apart from initialization in ksysfs_init it is also passed as an argument to the function sysfs_create_bin_file but this argument is of type const. Therefore, add __ro_after_init to its declaration

Re: [PATCH] staging: r8712u: use __le32 type for little-endian data

2017-02-11 Thread Perry Hooker
Thank you all for taking the time to look at this. I'm sorry for filling your inboxes with my mistakes - as you probably guessed, I'm new to kernel development, so I really appreciate the feedback. Perry On Fri, Feb 10, 2017 at 1:55 PM, Larry Finger wrote: > On 02/10/2017 12:23 PM, Perry Hooker

Re: [PATCH] hwrng: cavium: Use per device name to allow for multiple devices.

2017-02-11 Thread Herbert Xu
On Mon, Feb 06, 2017 at 02:28:46PM -0800, David Daney wrote: > Systems containing the Cavium HW RNG may have one device per NUMA > node. A typical configuration is a 2-node NUMA system, which results > in 2 RNG devices. The hwrng subsystem refuses (and rightly so) to > register more than one devi

Re: crypto: NULL deref in sha512_mb_mgr_get_comp_job_avx2

2017-02-11 Thread Herbert Xu
On Wed, Feb 01, 2017 at 10:45:02AM -0800, Tim Chen wrote: > > One theory that Mehga and I have is that perhaps the flusher > and regular computaion updates are stepping on each other. > Can you try this patch and see if it helps? Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://go

  1   2   3   >