[PATCH] staging: lustre: ko2iblnd: Adapt to the removal of ib_get_dma_mr()

2017-02-12 Thread Doug Oucharek
In Linux kernel 4.9-rc1, the function ib_get_dma_mr() was removed and a second parameter was added to ib_alloc_pd(). As this broke the building of the ko2iblnd module in staging, the Kconfig for LNet has marked ko2iblnd as broken and stopped building it. This patch fixes this breakage by: - Remov

[PATCH 2/2] Staging: setup.c: fixed ERROR: trailing whitespace

2017-02-12 Thread Kishore Karanala
Fixed ERROR: trailing whitespace issues Signed-off-by: Kishore Karanala --- arch/x86/kernel/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 5fa3194..1a1e986 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86

arch/xtensa/include/asm/initialize_mmu.h:41: Error: invalid register 'atomctl' for 'wsr' instruction

2017-02-12 Thread kbuild test robot
Hi Pete, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 commit: d0b73b488c55df905ea8faaad079f8535629ed26 xtensa: Add config files for Diamond 233L - Rev C processor variant

drivers/auxdisplay/img-ascii-lcd.c:384: undefined reference to `devm_ioremap_resource'

2017-02-12 Thread kbuild test robot
Hi Paul, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 commit: 0cad855fbd083ee5fd0584a47c2aaa7dca936fd4 auxdisplay: img-ascii-lcd: driver for simple ASCII LCD displays date

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

2017-02-12 Thread Russell King - ARM Linux
The facts of this are: linux/kprobes.h includes asm/kprobes.h linux/kprobes.h wants the architecture to define struct kprobe_ctlblk. arch/mn10300/include/asm/kprobes.h fails to define this structure. So, I've no idea how kprobes can even work on this architecture. AFAICS it should not allow kpr

[PATCH] bcm2835-audio: Fix checkpatch errors

2017-02-12 Thread Man Choy
Fix following errors: ERROR: do not initialise statics to NULL +static struct snd_card *g_card = NULL; ERROR: do not initialise statics to NULL +static struct bcm2835_chip *g_chip = NULL; Signed-off-by: Man Choy --- drivers/staging/bcm2835-audio/bcm2835.c | 4 ++-- 1 file changed, 2 insertions

Re: [PATCH] ARM: dts: sun5i-gr8: Rename pwm0_pins_a to pwm0_pins

2017-02-12 Thread kbuild test robot
Hi Chen-Yu, [auto build test ERROR on robh/for-next] [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/Chen-Yu-Tsai/ARM-dts-sun5i-gr8-Rename-pwm0_

Re: [PATCH 00/22] m68k: Modernize printing of kernel messages

2017-02-12 Thread Geert Uytterhoeven
On Thu, Feb 9, 2017 at 2:25 PM, Geert Uytterhoeven wrote: > On Wed, Dec 7, 2016 at 4:08 PM, Geert Uytterhoeven > wrote: >> This patch series modernizes the printing of kernel messages in the m68k >> architecture core, which is mainly about converting from printk() to >> pr_*(). >> >> The trigger

[PATCH 15/15] staging: rtl8192u: Removing unnecessary parentheses

2017-02-12 Thread simran singhal
Removing unnecessary parentheses from an expression of the form &(x). Issue found by checkpatch. Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee

[PATCH] staging: lustre: lnet: fix type warning in lib-socket.c

2017-02-12 Thread William Blough
The local socket address is defined as a __be32 value. However, if the local ip address is not given, then the constant INADDR_ANY is used. This patch converts INADDR_ANY to __be32 for type consistency. Fixes the following sparse warnings: drivers/staging/lustre/lnet/lnet/lib-socket.c:396:41: w

[PATCH] staging: rtl8192e: Aligning the * on each line in block comments

2017-02-12 Thread Arushi
This patch fixes the issue by aligning the * on each line in block comments. Signed-off-by: Arushi Singhal --- --- drivers/staging/speakup/fakekey.c| 10 +- drivers/staging/speakup/i18n.c | 14 +++--- drivers/staging/speakup/main.c | 2 +- drivers/sta

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

2017-02-12 Thread Sergei Shtylyov
Hello! On 2/12/2017 5:57 AM, Tobin C. Harding wrote: 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 del

Re: [PATCH 2/2] Staging: setup.c: fixed ERROR: trailing whitespace

2017-02-12 Thread Thomas Gleixner
On Sun, 12 Feb 2017, Kishore Karanala wrote: You're not listening at all. I told you before: The proper subsystem for x86 is x86 and not staging. You can chose to ignore my review comments, but then you don't have to wonder that I'm going to ignore you as well. Aside of that, you got at

[PATCH] net: neterion: s2io: use new api ethtool_{get|set}_link_ksettings

2017-02-12 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/neterion/s2io.c | 51 +++

[PATCH] staging: rtl8192e: Aligning the * on each line in block comments

2017-02-12 Thread Arushi Singhal
This patch fixes the issue by aligning the * on each line in block comments. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/fakekey.c| 10 +- drivers/staging/speakup/i18n.c | 14 +++--- drivers/staging/speakup/main.c | 2 +- drivers/staging

[PATCH v2 1/2] staging: iio: isl29028: change sampling frequencies available to use decimals

2017-02-12 Thread Brian Masney
The sysfs attribute in_proximity_sampling_frequency_available currently shows the values 1 3 5 10 13 20 83 100. These values are supposed to correspond to the sleep values 800 400 200 100 75 50 12 0 (all in ms). When passing in a sampling frequency of 3, it actually uses a sleep time of 200ms inste

[PATCH v2 2/2] staging: iio: isl29028: move out of staging

2017-02-12 Thread Brian Masney
Move ISL29028 ALS / Proximity Sensor out of staging and into mainline. Signed-off-by: Brian Masney --- drivers/iio/light/Kconfig | 10 ++ drivers/iio/light/Makefile | 1 + drivers/{staging => }/iio/light/isl29028.c | 0 drivers/staging/iio/light/Kconfig

[PATCH v2 0/2] staging: iio: isl29028: move out of staging

2017-02-12 Thread Brian Masney
This is hopefully the last of the changes that are needed to move this driver out of staging. Datasheet: http://www.intersil.com/content/dam/Intersil/documents/isl2/isl29028.pdf Changes since v1: - in_proximity_sampling_frequency_available sysfs attribute now shows decimals. Brian Masney (2):

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

2017-02-12 Thread Thomas Gleixner
On Sun, 12 Feb 2017, Tobin C. Harding wrote: A few nitpicks. > Subject: [PATCH 1/2] arch/x86: Fix sparse warning symbol not declared arch/x86: is not the correct prefix. Run git log on a file to figure out what the usual prefix is. The file was checked in with 'purgatory', but I'd prefer 'x86/pu

Re: [PATCH v2 2/2] staging: iio: isl29028: move out of staging

2017-02-12 Thread Brian Masney
On Sun, Feb 12, 2017 at 05:55:34AM -0500, Brian Masney wrote: > Move ISL29028 ALS / Proximity Sensor out of staging and into mainline. > > Signed-off-by: Brian Masney Sorry, Jonathan, I forgot to run git format-patch with --no-renames and didn't realize until the emails went out. I attached the

Re: [PATCH v4 1/7] drm: Add DRM support for tiny LCD displays

2017-02-12 Thread Andy Shevchenko
On Sat, Feb 11, 2017 at 8:48 PM, Noralf Trønnes wrote: > tinydrm provides helpers for very simple displays that can use > CMA backed framebuffers and need flushing on changes. > +/** > + * tinydrm_gem_cma_free_object - Free resources associated with a CMA GEM > + *

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

2017-02-12 Thread Thomas Gleixner
On Sun, 12 Feb 2017, Tobin C. Harding wrote: > This patch adds function declaration in order to quiet sparse symbol > not declared warning. Same comment vs. 'This patch' as before. Hint, we already know that this is a patch, otherwise it would be mislabeled. > > Signed-off-by: Tobin C. Harding

Re: [PATCH v3 net-next 1/9] sunvnet: make sunvnet common code dynamically loadable

2017-02-12 Thread Sergei Shtylyov
Hello! On 2/10/2017 8:38 PM, Shannon Nelson wrote: When the sunvnet_common code was split out for use by both sunvnet and the newer ldmvsw, it was made into a static kernel library, which limits the usefulness of sunvnet and ldmvsw as loadables, since most of the real work is being done in the

Re: [PATCH v7 0/5] Update LZ4 compressor module

2017-02-12 Thread Sven Schmidt
On 02/10/2017 01:13 AM, Minchan Kim wrote: > Hello Sven, > > On Thu, Feb 09, 2017 at 11:56:17AM +0100, Sven Schmidt wrote: >> Hey Minchan, >> >> On Thu, Feb 09, 2017 at 08:31:21AM +0900, Minchan Kim wrote: >>> Hello Sven, >>> >>> On Sun, Feb 05, 2017 at 08:09:03PM +0100, Sven Schmidt wrote:

[PATCH] lz4: fix performance regressions

2017-02-12 Thread Sven Schmidt
Fix performance regressions compared to current kernel LZ4 Signed-off-by: Sven Schmidt <4ssch...@informatik.uni-hamburg.de> --- include/linux/lz4.h | 2 +- lib/lz4/lz4_compress.c | 157 +++- lib/lz4/lz4_decompress.c | 50 lib/lz4/lz4defs.h

Re: [PATCH v4 2/7] drm/tinydrm: Add helper functions

2017-02-12 Thread Andy Shevchenko
On Sat, Feb 11, 2017 at 8:48 PM, Noralf Trønnes wrote: > Add common functionality needed by many tinydrm drivers. > +int tinydrm_enable_backlight(struct backlight_device *backlight) > +{ > + unsigned int old_state; > + int ret; > + > + if (!backlight) > + return 0;

Re: v4.10-rc6 boot regression on Intel desktop, does not boot after cold boots, boots after reboot

2017-02-12 Thread Pavel Machek
Hi! > > > > > Aha. So it looks difference is probably in "where is keyboard plugged > > > > > in" but in "reboot" vs. "cold boot". I did not do a cold boot in quite > > > > > a while :-(. > > > > > > > > > > Booting to grub, then hitting ctrl-alt-del is enough to make it work. > > > > > Ouch. >

fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3

2017-02-12 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 11 months

Re: [PATCH 2/3] staging: lustre: llite: root inode checking for migration

2017-02-12 Thread Greg Kroah-Hartman
On Sat, Feb 11, 2017 at 12:12:38PM -0500, James Simmons wrote: > From: wang di > > Do not migrate root inode. That says _what_ happens here, but you aren't giving any hint as to _why_ this is needed. I'll take this, but be more careful about your changelog comments in the future... thanks, gr

Re: [PATCH] bcm2835-audio: Fix checkpatch errors

2017-02-12 Thread Greg Kroah-Hartman
On Sun, Feb 12, 2017 at 04:34:09AM +0800, Man Choy wrote: > Fix following errors: > > ERROR: do not initialise statics to NULL > +static struct snd_card *g_card = NULL; > > ERROR: do not initialise statics to NULL > +static struct bcm2835_chip *g_chip = NULL; > > Signed-off-by: Man Choy > --- >

Re: [PATCH] Staging: media: bcm2048: Fixed an error

2017-02-12 Thread Greg KH
On Sat, Feb 11, 2017 at 12:41:29AM +0200, Ran Algawi wrote: > Fixed an error where the system was given a code in the form of decimal > instead of octal. It's not really an "error", right? Please be more descriptive of exactly what is going on here (hint, it's a coding style warning...) thanks,

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

2017-02-12 Thread Matthew Wilcox
Don't worry about this file; I have a complete rewrite already queued. > -Original Message- > From: Tobin C. Harding [mailto:m...@tobin.cc] > Sent: Saturday, February 11, 2017 9:58 PM > To: David S . Miller > Cc: Matthew Wilcox ; net...@vger.kernel.org; > linux-kernel@vger.kernel.org; Tob

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

2017-02-12 Thread Thomas Gleixner
On Sun, 12 Feb 2017, Hoeun Ryu wrote: > > > On Feb 12, 2017, at 5:19 AM, Thomas Gleixner wrote: > > > >> On Sat, 11 Feb 2017, kbuild test robot wrote: > >> > >> Hi Hoeun, > >> > >> [auto build test ERROR on linus/master] > >> [also build test ERROR on v4.10-rc7 next-20170210] > >> [if your pat

[tip:locking/core 46/49] drivers/scsi/fcoe/fcoe_ctlr.c:3097:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396

2017-02-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core head: bc88c10d7e6900916f5e1ba3829d66a9de92b633 commit: 10383aea2f445bce9b2a2b308def08134b438c8e [46/49] kref: Implement 'struct kref' using refcount_t config: openrisc-allmodconfig (attached as .config) compiler: or

Re: [PATCH v2 1/2] drm/cma-helper: Add multi buffer support for cma fbdev

2017-02-12 Thread Laurent Pinchart
Hi Maxime, Thank you for the patch. On Thursday 02 Feb 2017 11:31:56 Maxime Ripard wrote: > From: Xinliang Liu > > This patch add a config to support to create multi buffer for cma fbdev. > Such as double buffer and triple buffer. > > Cma fbdev is convient to add a legency fbdev. And still man

Re: [PATCH 18/25] Staging: rtl8192u: ieee80211: rtl819x_HT.h - style fix

2017-02-12 Thread Greg KH
On Sat, Feb 11, 2017 at 10:57:28PM +1300, Derek Robson wrote: > Fixed style of block comments > Found using checkpatch > > Signed-off-by: Derek Robson > --- > drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h | 69 > + > 1 file changed, 35 insertions(+), 34 deletions(-) >

Re: [PATCH 04/25] Staging: rtl8192u: r819xU_cmdpkt.c - style fix

2017-02-12 Thread Greg KH
On Sat, Feb 11, 2017 at 10:53:33PM +1300, Derek Robson wrote: > Fixed style of block comments > Found using checkpatch > > Signed-off-by: Derek Robson > --- > drivers/staging/rtl8192u/r819xU_cmdpkt.c | 99 > +++- > 1 file changed, 60 insertions(+), 39 deletions(-) >

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

2017-02-12 Thread Greg KH
On Sun, Feb 12, 2017 at 11:17:58AM +0530, simran singhal wrote: > 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

Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class()

2017-02-12 Thread Greg KH
On Fri, Feb 10, 2017 at 10:30:58AM -0800, Florian Fainelli wrote: > On 02/10/2017 05:02 AM, Greg KH wrote: > > On Thu, Jan 19, 2017 at 04:51:55PM +, Russell King - ARM Linux wrote: > >> (This is mainly for Greg's benefit to help him understand the issue.) > >> > >> I think the diagram you gave

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

2017-02-12 Thread Hoeun Ryu
Using virtually mapped stack, kernel stacks are allocated via vmalloc. In the current implementation, two stacks per cpu can be cached when tasks are freed and the cached stacks are used again in task duplications. but the cached stacks may remain unfreed even when cpu are offline. By adding a cp

Re: [PATCH v7 00/20] ILP32 for ARM64

2017-02-12 Thread Andrew Pinski
On Mon, Jan 9, 2017 at 3:29 AM, Yury Norov wrote: > This series enables aarch64 with ilp32 mode. > > As supporting work, it introduces ARCH_32BIT_OFF_T configuration > option that is enabled for existing 32-bit architectures but disabled > for new arches (so 64-bit off_t is is used by new userspac

Re: [PATCH] lz4: fix performance regressions

2017-02-12 Thread Willy Tarreau
Hi Sven, On Sun, Feb 12, 2017 at 12:16:18PM +0100, Sven Schmidt wrote: > Fix performance regressions compared to current kernel LZ4 Your patch contains mostly style cleanups which certainly are welcome but make the whole patch hard to review. These cleanups would have been better into a separate,

Re: [PATCHv2] v4l: split lane parsing code

2017-02-12 Thread Pavel Machek
Hi! > The patch looks good to me. Could you post a patchset containing all the > needed patches, maybe on top of the DT patches in the ccp2 branch, please? > It'd be easier to handle this that way. Ok, will do. Best regards, Pavel -

Re: [PATCH v4 1/7] drm: Add DRM support for tiny LCD displays

2017-02-12 Thread Noralf Trønnes
Den 12.02.2017 12.05, skrev Andy Shevchenko: On Sat, Feb 11, 2017 at 8:48 PM, Noralf Trønnes wrote: tinydrm provides helpers for very simple displays that can use CMA backed framebuffers and need flushing on changes. +/** + * tinydrm_gem_cma_free_object - Free resources associated with a CMA G

[PATCH] softirq: Prevent looping on disabled tasklets

2017-02-12 Thread Chris Wilson
Disabling a tasklet causes it not to run during tasklet_action, but is put back onto the runnable tasklet list, and a new softirq raised. As the softirq is raised from within __do_softirq() this causing __do_softirq() to loop constantly until its timeslice expires and is transferred to the ksoftirq

Re: [PATCH] x86/vm86: fix compilation warning on a unused variable

2017-02-12 Thread Borislav Petkov
On Fri, Dec 16, 2016 at 11:19:16PM -0500, Jérémy Lefaure wrote: > I don't know why gcc raises a warning on that even if it is not used. > Anyway, I'm sure that the warning is reproducible. Both of your > solutions fix the issue. I still see the warning here. You wanna choose one solution, write a

Re: [PATCH] softirq: Prevent looping on disabled tasklets

2017-02-12 Thread Chris Wilson
On Sun, Feb 12, 2017 at 02:00:19PM +, Chris Wilson wrote: > Disabling a tasklet causes it not to run during tasklet_action, but is > put back onto the runnable tasklet list, and a new softirq raised. As > the softirq is raised from within __do_softirq() this causing > __do_softirq() to loop con

Trying to understand OOM killer

2017-02-12 Thread Paul Menzel
Dear Linux folks, since some time, at Linux 4.8, 4.9, and 4.10-rc6, the OOM kicks in on a 8 GB machine. ``` Feb 12 08:21:50 asrocke350m1 kernel: updatedb.mlocat invoked oom-killer: gfp_mask=0x16040d0(GFP_TEMPORARY|__GFP_COMP|__GFP_NOTRACK), nodemask= Feb 12 08:21:50 asrocke350m1 kernel: updated

[PATCH v2] softirq: Prevent looping on disabled tasklets

2017-02-12 Thread Chris Wilson
Disabling a tasklet causes it not to run during tasklet_action, but is put back onto the runnable tasklet list, and a new softirq raised. As the softirq is raised from within __do_softirq() this causing __do_softirq() to loop constantly until its timeslice expires and is transferred to the ksoftirq

Re: [PATCH] smiapp: add CCP2 support

2017-02-12 Thread kbuild test robot
Hi Pavel, [auto build test ERROR on linuxtv-media/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/Pavel-Machek/smiapp-add-CCP2-support/2

Re: [PATCH v2] PCI: pciehp: Don't enable PME on runtime suspend

2017-02-12 Thread Lukas Wunner
On Thu, Feb 09, 2017 at 05:32:54AM +0100, Lukas Wunner wrote: > On Wed, Feb 08, 2017 at 11:57:36AM -0600, Bjorn Helgaas wrote: > > On Tue, Feb 07, 2017 at 07:21:01AM +0100, Lukas Wunner wrote: > > > On Mon, Feb 06, 2017 at 04:15:02PM -0600, Bjorn Helgaas wrote: > > > > On Mon, Feb 06, 2017 at 10:20

[PATCH] video/viafbdev: Make PROC_FS dependency explicit

2017-02-12 Thread Borislav Petkov
From: Borislav Petkov Fix: drivers/video/fbdev/via/viafbdev.c: In function ‘viafb_remove_proc’: drivers/video/fbdev/via/viafbdev.c:1635:4: warning: unused variable ‘iga2_entry’ [-Wunused-variable] *iga2_entry = shared->iga2_proc_entry; ^~ drivers/video/fbdev/via/viafbde

[PATCH v2] [media] dvb-usb-firmware: don't do DMA on stack

2017-02-12 Thread Stefan Brüns
The buffer allocation for the firmware data was changed in commit 43fab9793c1f ("dvb-usb: don't use stack for firmware load"), but the same applies for the reset value. Signed-off-by: Stefan Brüns --- This patch replaces the earlier submission conflicting with commit 43fab9793c1f, which was a sub

Re: [Intel-gfx] [PATCH] softirq: Prevent looping on disabled tasklets

2017-02-12 Thread kbuild test robot
-disabled-tasklets/20170212-220435 config: x86_64-lkp (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): >> ERROR: "raise_softirq"

[PATCH RFC] crypto: testmgr drop wrong init_completion

2017-02-12 Thread Nicholas Mc Guire
init_completion() is called here to reinitialize a completion object that was already re-initialized in wait_async_op() by reinit_completion() if complete (via tcrypt_complete()) had been called and wait_for_completion() returned, so no need to reinit it here. Fixes: commit 946cc46372dc ("crypto

Re: [Intel-gfx] [PATCH] softirq: Prevent looping on disabled tasklets

2017-02-12 Thread kbuild test robot
-disabled-tasklets/20170212-220435 config: x86_64-rhel (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): >> ERROR: "raise_softirq"

Re: [PATCH v9 0/8] drivers: touchscreen: tsc2007 and ads7846/tsc2046 improvements (use common touchscreen bindings, pre-calibration, spi fix and provide iio raw values)

2017-02-12 Thread H. Nikolaus Schaller
Hi Dmitry, > Am 28.01.2017 um 19:16 schrieb H. Nikolaus Schaller : > > Hi Dmitry, > there have been no further comments/complaints about this patch series in the > last month. > And it appears as if only your action is needed. > > What is missing for this patch series to be finally accepted? D

Re: [PATCH] lz4: fix performance regressions

2017-02-12 Thread Sven Schmidt
On Sun, Feb 12, 2017 at 02:05:08PM +0100, Willy Tarreau wrote: > Hi Sven, > > On Sun, Feb 12, 2017 at 12:16:18PM +0100, Sven Schmidt wrote: > > Fix performance regressions compared to current kernel LZ4 > > Your patch contains mostly style cleanups which certainly are welcome > but make the whole

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

2017-02-12 Thread Thomas Gleixner
On Sun, 12 Feb 2017, Hoeun Ryu wrote: > Using virtually mapped stack, kernel stacks are allocated via vmalloc. > In the current implementation, two stacks per cpu can be cached when > tasks are freed and the cached stacks are used again in task duplications. > but the cached stacks may remain unf

[PATCH 1/3] [media] si2157: Add support for Si2141-A10

2017-02-12 Thread Stefan Brüns
The Si2141 needs two distinct commands for powerup/reset, otherwise it will not respond to chip revision requests. It also needs a firmware to run properly. Signed-off-by: Stefan Brüns --- drivers/media/tuners/si2157.c | 23 +-- drivers/media/tuners/si2157_priv.h | 2 ++

[PATCH 3/3] [media] cxusb: MyGica T230C support

2017-02-12 Thread Stefan Brüns
Mygica T230 DVB-T/T2/C USB stick support. It uses the same FX2/Si2168 bridge/demodulator combo as the T230, but uses the Si2141 tuner. Factor out the common code and pass the tuner type and if port as parameter, to avoid duplicating the initialization code. Signed-off-by: Stefan Brüns --- driver

[PATCH 0/3] Add support for MyGica T230C DVB-T2 stick

2017-02-12 Thread Stefan Brüns
The required command sequence for the new tuner (Si2141) was traced from the current Windows driver and verified with a small python script/libusb. The changes to the Si2168 and cxusb driver are mostly addition of the required IDs and some glue code. Stefan Brüns (3): [media] si2157: Add support

[PATCH 2/3] [media] si2168: add support for Si2168-D60

2017-02-12 Thread Stefan Brüns
Add handling for new revision, requiring new firmware. Signed-off-by: Stefan Brüns --- drivers/media/dvb-frontends/si2168.c | 4 drivers/media/dvb-frontends/si2168_priv.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-fr

[PATCH] genirq: devres: use dev_name(dev) as default for devname

2017-02-12 Thread Heiner Kallweit
Allow the devname parameter to be NULL and use dev_name(dev) in this case. This should be an appropriate default for most use cases. Signed-off-by: Heiner Kallweit --- kernel/irq/devres.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/kernel/irq/devres.c b/kernel/

Re: [PATCH v4 2/7] drm/tinydrm: Add helper functions

2017-02-12 Thread Noralf Trønnes
Den 12.02.2017 12.50, skrev Andy Shevchenko: On Sat, Feb 11, 2017 at 8:48 PM, Noralf Trønnes wrote: Add common functionality needed by many tinydrm drivers. +int tinydrm_enable_backlight(struct backlight_device *backlight) +{ + unsigned int old_state; + int ret; + + if (!back

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

2017-02-12 Thread Woody Suwalski
Woody Suwalski wrote: 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 throug

S2ram + btrfs with recent kernel => soft lockup warning and hard hang

2017-02-12 Thread Bastien ROUCARIES
Hi, Since 3.8 s2ram on btrfs system lead to hang. Could not save a trace will try to get a few picture but trace are similar to : https://github.com/docker/docker/issues/15654 and https://patchwork.kernel.org/patch/8352811/ It is 100% reproducible. mount table /dev/mapper/portable2015--bastien-

[PATCH v3] softirq: Prevent looping on disabled tasklets

2017-02-12 Thread Chris Wilson
Disabling a tasklet causes it not to run during tasklet_action, but is put back onto the runnable tasklet list, and a new softirq raised. As the softirq is raised from within __do_softirq() this causing __do_softirq() to loop constantly until its timeslice expires and is transferred to the ksoftirq

Re: [REGRESSION] Two issues that prevent process accounting (taskstats) from working correctly

2017-02-12 Thread Dmitry Romanov
On Mon, Dec 19, 2016 at 01:06:00PM +0100, Martin Steigerwald wrote: > > 1) Sometimes process accounting does not work at all. > > The acct() system call (to activate process accounting) return value 0, > which means that process accounting is activated successfully. > However, no process accountin

[PATCH] staging:vt6656:channel.h: fix function definition argument without identifier name issue

2017-02-12 Thread Arushi Singhal
Function definitions arguments should also have an identifier name as reported by checkpatch.pl. Signed-off-by: Arushi Singhal --- drivers/staging/vt6656/channel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6656/channel.h b/drivers/staging/vt6656/channe

Re: [PATCH v3] softirq: Prevent looping on disabled tasklets

2017-02-12 Thread Chris Wilson
On Sun, Feb 12, 2017 at 03:46:09PM +, Chris Wilson wrote: > +void tasklet_enable(struct tasklet_struct *t) > +{ > + if (!atomic_dec_and_test(&t->count)) > + return; > + > + if (test_bit(TASKLET_STATE_SCHED, &t->state)) > + raise_softirq(HI_SOFTIRQ | TASKLET_SOFTI

Re: [PATCH v5 7/8] thunderbolt: Power down controller when idle

2017-02-12 Thread Lukas Wunner
On Sat, Jan 28, 2017 at 05:32:37PM -0600, Bjorn Helgaas wrote: > On Sun, Jan 15, 2017 at 09:03:45PM +0100, Lukas Wunner wrote: > > A Thunderbolt controller appears to the OS as a set of virtual devices: > > One upstream bridge, multiple downstream bridges and one NHI (Native > > Host Interface). T

[PATCH] net: neterion: vxge: use new api ethtool_{get|set}_link_ksettings

2017-02-12 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/neterion/vxge/vxge-ethtool.c | 47 --

[PATCH] spi-nor: use true/false for bool

2017-02-12 Thread Nicholas Mc Guire
writeable in struct intel_spi is a boolean and assignment should be to true/false not 1/0 as recommended by boolinit.cocci. Signed-off-by: Nicholas Mc Guire --- make coccicheck complained with: ./drivers/mtd/spi-nor/intel-spi.c:707:3-18: WARNING: Assignment of bool to 0/1 Patch was compile te

[PATCH] spi-nor: use ERR_CAST in return

2017-02-12 Thread Nicholas Mc Guire
This fixes a sparse warning about Signed-off-by: Nicholas Mc Guire --- sparse complained about: drivers/mtd/spi-nor/intel-spi.c:731:28: warning: incorrect type in return expression (different address spaces) drivers/mtd/spi-nor/intel-spi.c:731:28:expected struct intel_spi * drivers/mtd/spi

[PATCH RFC] spi-nor: provide a range for poll_timout

2017-02-12 Thread Nicholas Mc Guire
The overall poll time here is INTEL_SPI_TIMEOUT * 1000 which is 5000 * 1000 - so 5seconds and it is coded as a tight loop here delay_us to readl_poll_timeout() is set to 0. As this is never called in an atomic context sleeping should be no issue and there is no reasons for the tight-loop here. Si

net/llc: BUG in llc_sap_state_process/skb_set_owner_r

2017-02-12 Thread Andrey Konovalov
Hi, I've got the following error report while fuzzing the kernel with syzkaller. On commit 926af6273fc683cd98cd0ce7bf0d04a02eed6742. A reproducer and .config are attached kernel BUG at ./include/linux/skbuff.h:2389! invalid opcode: [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer em

Re: net/llc: bug in llc_pdu_init_as_xid_cmd/skb_over_panic

2017-02-12 Thread Andrey Konovalov
On Fri, Feb 10, 2017 at 4:12 PM, Andrey Konovalov wrote: > Hi, > > I've got the following error report while fuzzing the kernel with syzkaller. > > On commit 926af6273fc683cd98cd0ce7bf0d04a02eed6742. > > A reproducer and .config are attached > > kernel BUG at net/core/skbuff.c:105! > invalid opcod

Re: [PATCH v5 1/8] PCI: Recognize Thunderbolt devices

2017-02-12 Thread Lukas Wunner
On Fri, Feb 10, 2017 at 11:42:50AM -0600, Bjorn Helgaas wrote: > On Sun, Jan 29, 2017 at 01:26:16AM +0100, Lukas Wunner wrote: > > On Sat, Jan 28, 2017 at 03:52:08PM -0600, Bjorn Helgaas wrote: > > > On Sun, Jan 15, 2017 at 09:03:45PM +0100, Lukas Wunner wrote: > > > > > +static void set_pcie_vend

Re: net/ipv6: use-after-free in sock_wfree

2017-02-12 Thread Andrey Konovalov
On Mon, Jan 9, 2017 at 6:21 PM, Eric Dumazet wrote: > On Mon, Jan 9, 2017 at 9:11 AM, Andrey Konovalov > wrote: >> On Mon, Jan 9, 2017 at 6:08 PM, Andrey Konovalov >> wrote: >>> Hi! >>> >>> I've got the following error report while running the syzkaller fuzzer. >>> >>> On commit a121103c922847

[PATCH 1/20] staging: rtl8192u: Replace symbolic permissions with octal permissions

2017-02-12 Thread simran singhal
WARNING: Symbolic permissions 'S_IRUGO | S_IWUSR' are not preferred. Consider using octal permissions '0644'. This warning is detected by checkpatch.pl Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 2/20] staging: rtl8192u: Fixed 'tabstop' coding style warnings

2017-02-12 Thread simran singhal
Fixed checkpatch warning "Statements should start on a tabstop" in rtl8192u module. Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c b/drivers

Re: net/llc: BUG in llc_sap_state_process/skb_set_owner_r

2017-02-12 Thread Eric Dumazet
On Sun, Feb 12, 2017 at 8:44 AM, Andrey Konovalov wrote: > Hi, > > I've got the following error report while fuzzing the kernel with syzkaller. > > On commit 926af6273fc683cd98cd0ce7bf0d04a02eed6742. > > A reproducer and .config are attached Thanks for the report. llc sets skb->sk without corr

Re: [PATCH v5 3/8] PCI: Don't block runtime PM for Thunderbolt host hotplug ports

2017-02-12 Thread Lukas Wunner
On Fri, Feb 10, 2017 at 12:39:12PM -0600, Bjorn Helgaas wrote: > On Sun, Jan 15, 2017 at 09:03:45PM +0100, Lukas Wunner wrote: > > Hotplug ports generally block their parents from suspending to D3hot as > > otherwise their interrupts couldn't be delivered. > > This sounds related to PCIe r3.1, sec

Клиентские базы +79139230330 Skype: prodawez390 Email: prodawez...@gmail.com Узнайте подробнее!

2017-02-12 Thread linux-kernel
Клиентские базы +79139230330 Skype: prodawez390 Email: prodawez...@gmail.com Узнайте подробнее!

Re: [PATCH] clocksource: add __ro_after_init to cyclecounter

2017-02-12 Thread Bhumika Goyal
On Sun, Feb 12, 2017 at 2:01 AM, 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 al

Re: [PATCH] clocksource: add __ro_after_init to cyclecounter

2017-02-12 Thread Bhumika Goyal
On Sun, Feb 12, 2017 at 2:05 AM, Thomas Gleixner wrote: > 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 > > 'cloc

Re: [ibm-acpi-devel] [PATCH 1/1] thinkpad_acpi: Add support for status (external cover) LED

2017-02-12 Thread Sebastian Reichel
Hi, On Tue, Feb 07, 2017 at 11:01:32PM -0200, Henrique de Moraes Holschuh wrote: > Hello Adam, > > I apologise for the delay on answering you. > > On Tue, 31 Jan 2017, Adam Goode wrote: > > On Thu, Jan 19, 2017 at 12:21 PM, Adam Goode wrote: > > > This allows the control of the red status LED,

Re: [ibm-acpi-devel] [PATCH 1/1] thinkpad_acpi: Add support for status (external cover) LED

2017-02-12 Thread Adam Goode
On Sun, Feb 12, 2017 at 1:22 PM, Sebastian Reichel wrote: > Hi, > > On Tue, Feb 07, 2017 at 11:01:32PM -0200, Henrique de Moraes Holschuh wrote: >> Hello Adam, >> >> I apologise for the delay on answering you. >> >> On Tue, 31 Jan 2017, Adam Goode wrote: >> > On Thu, Jan 19, 2017 at 12:21 PM, Adam

[PATCH] usb: misc: usbtest: remove redundant check on retval < 0

2017-02-12 Thread Colin King
From: Colin Ian King The check for retval being less than zero is always true since retval equal to -EPIPE at that point. Replace the existing conditional with just return retval. Detected with CoverityScan, CID#114349 ("Logically dead code") Signed-off-by: Colin Ian King --- drivers/usb/mis

[tip:irq/core] genirq/devres: Use dev_name(dev) as default for devname

2017-02-12 Thread tip-bot for Heiner Kallweit
Commit-ID: 899b5fbf9d3fcb721690b4d58cf58cc018517003 Gitweb: http://git.kernel.org/tip/899b5fbf9d3fcb721690b4d58cf58cc018517003 Author: Heiner Kallweit AuthorDate: Sun, 12 Feb 2017 16:31:44 +0100 Committer: Thomas Gleixner CommitDate: Sun, 12 Feb 2017 19:49:25 +0100 genirq/devres: Use d

Re: [PATCH] clocksource: add __ro_after_init to cyclecounter

2017-02-12 Thread Thomas Gleixner
On Sun, 12 Feb 2017, Bhumika Goyal wrote: > On Sun, Feb 12, 2017 at 2:01 AM, 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 fro

Re: [PATCH] clocksource: add __ro_after_init to cyclecounter

2017-02-12 Thread Bhumika Goyal
On Mon, Feb 13, 2017 at 12:26 AM, Thomas Gleixner wrote: > On Sun, 12 Feb 2017, Bhumika Goyal wrote: > >> On Sun, Feb 12, 2017 at 2:01 AM, Ard Biesheuvel >> wrote: >> > On 11 February 2017 at 19:20, Bhumika Goyal wrote: >> >> The object cyclecounter of type cyclecounter is not getting modified >

Re: [GIT PULL] PCI fixes for v4.10

2017-02-12 Thread Lukas Wunner
On Fri, Feb 10, 2017 at 06:39:16PM -0800, Yinghai Lu wrote: > On Thu, Feb 9, 2017 at 12:11 PM, Bjorn Helgaas wrote: > > On Thu, Feb 09, 2017 at 09:09:50AM -0600, Bjorn Helgaas wrote: > > > On Thu, Feb 09, 2017 at 05:06:48AM +0100, Lukas Wunner wrote: > > > > https://patchwork.kernel.org/patch/9557

Re: [RFC][PATCH 2/7] x86, mpx: update MPX to grok larger bounds tables

2017-02-12 Thread Thomas Gleixner
On Wed, 1 Feb 2017, Dave Hansen wrote: > /* > - * The upper 28 bits [47:20] of the virtual address in 64-bit > - * are used to index into bounds directory (BD). > + * The uppermost bits [56:20] of the virtual address in 64-bit > + * are used to index into bounds directory (BD). On processors > +

Re: [RFC][PATCH 3/7] x86, mpx: extend MPX prctl() to pass in size of bounds directory

2017-02-12 Thread Thomas Gleixner
On Wed, 1 Feb 2017, Dave Hansen wrote: > FIXME: we also need to ensure that we check the current state of the > larger address space opt-in. If we've opted in to larger address spaces > we can not allow a small bounds directory to be used. Also, if we've > not opted in, we can not allow the large

[tip:timers/core] clocksource/drivers/arm_arch_timer:: Mark cyclecounter __ro_after_init

2017-02-12 Thread tip-bot for Bhumika Goyal
Commit-ID: 3d837bc01c2153565333b2ce71d613b6e7cc761c Gitweb: http://git.kernel.org/tip/3d837bc01c2153565333b2ce71d613b6e7cc761c Author: Bhumika Goyal AuthorDate: Sun, 12 Feb 2017 00:50:18 +0530 Committer: Thomas Gleixner CommitDate: Sat, 11 Feb 2017 21:39:04 +0100 clocksource/drivers/ar

drivers/base/power/opp/core.c:241:15: error: redefinition of 'dev_pm_opp_get_max_volt_latency'

2017-02-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 commit: 655c9df961751ce21466f6e97e8033932c27a675 PM / OPP: Introduce dev_pm_opp_get_max_volt_latency() date: 1 year ago config: x86_64-randconfig-x008-201707 (attac

Re: [RFC][PATCH 4/7] x86, mpx: context-switch new MPX address size MSR

2017-02-12 Thread Thomas Gleixner
On Wed, 1 Feb 2017, Dave Hansen wrote: > +/* > + * The MPX tables change sizes based on the size of the virtual > + * (aka. linear) address space. There is an MSR to tell the CPU > + * whether we want the legacy-style ones or the larger ones when > + * we are running with an eXtended virtual addre

drivers/staging/rtl8192u

2017-02-12 Thread Colin Ian King
Hi, Static analysis via CoverityScan picked up an issue in cmpk_handle_query_config_rx where the following operation on an u8 is clearly not correct: rx_query_cfg.cfg_action = (pmsg[4] & 0x8000) >> 31; The result of this operation is always zero. I suspect this should be:

  1   2   3   4   >