Re: kexec on panic

2017-02-18 Thread Denys Fedoryshchenko
On 2017-02-18 09:42, Jon Masters wrote: Hi Denys, On 02/10/2017 03:14 AM, Denys Fedoryshchenko wrote: After years of using kexec and recent unpleasant experience with modern (supposed to be blazing fast to boot) hardware that need 5-10 minutes just to pass POST tests, one question came up to

Re: [Letux-kernel] [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-18 Thread Andreas Kemnade
Hi Dmitry, On Fri, 17 Feb 2017 12:40:41 -0800 Dmitry Torokhov wrote: [...] > > Let me cite myself: > > > > >> This makes it possible to pre-calibrate the touch so that is > > >> (almost) > > Yes, it allows you to pre-calibrate, I get it. But you still do > properly calibrate later, right? So

[PATCH] soc: ti: knav_dma: Fix some error handling

2017-02-18 Thread Christophe JAILLET
'pktdma_get_regs()' never returns NULL. It returns an error pointer or a valid pointer. So test its return value with IS_ERR. Signed-off-by: Christophe JAILLET --- After checking with IS_ERR, it could be better to propagate the error code instead of returning -ENODEV uncondionnaly --- drivers/so

[RESEND 2] [PATCH] rlimits: Print more information when limits are exceeded

2017-02-18 Thread Arun Raghavan
This dumps some information in logs when a process exceeds its CPU or RT limits (soft and hard). Makes debugging easier when userspace triggers these limits. Signed-off-by: Arun Raghavan --- kernel/time/posix-cpu-timers.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) Hello,

[PATCH] irqchip/qcom: Fix error handling

2017-02-18 Thread Christophe JAILLET
'devm_ioremap()' returns NULL on error, not an error pointer. Fixes: f20cc9b00c7b ("irqchip/qcom: Add IRQ combiner driver") Signed-off-by: Christophe JAILLET --- drivers/irqchip/qcom-irq-combiner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/qcom-irq-

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

2017-02-18 Thread Pavel Machek
On Thu 2017-02-16 12:21:13, Linus Torvalds wrote: > On Thu, Feb 16, 2017 at 12:06 PM, Pavel Machek wrote: > > > > Hmm, that would explain problems at boot _and_ problems during > > suspend/resume. > > I've committed the revert, and I'm just assuming that the revert also > fixed your suspend/resum

Re: kexec on panic

2017-02-18 Thread Jon Masters
Hi Denys, On 02/10/2017 03:14 AM, Denys Fedoryshchenko wrote: > After years of using kexec and recent unpleasant experience with modern > (supposed to be blazing fast to boot) hardware that need 5-10 minutes just to > pass POST tests, > one question came up to me: > Is it possible anyhow to exe

Re: [PATCH v2 3/3] Make vmbus register arguments read-only

2017-02-18 Thread kbuild test robot
-memory-sections/20170218-141040 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: "kernel_ro_add

Re: [PATCH][RFC v4] ACPI throttling: Disable the MSR T-state if enabled after resumed

2017-02-18 Thread Pavel Machek
On Fri 2017-02-17 16:27:30, Chen Yu wrote: > Previously a bug was reported that on certain Broadwell > platform, after resumed from S3, the CPU is running at > an anomalously low speed, due to the BIOS has enabled the > MSR throttling across S3. The solution to this was to introduce > a quirk frame

Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-18 Thread Pavel Machek
Hi! > > Well, there is some historic confusion wether this driver reports resistance > > or pressure. > > > > The unpatched tsc2007 driver does it wrong (please test!) and we fix it on > > the fly (because a separate patch is much more complex than doing it right > > immediately). > > > > This t

Re: [PATCH trivial 3/4] drm/amd: Spelling s/SDMA_WRTIE_SUB_OPCODE_TILED/SDMA_WRITE_SUB_OPCODE_TILED/

2017-02-18 Thread Christian König
Am 17.02.2017 um 16:36 schrieb Geert Uytterhoeven: Signed-off-by: Geert Uytterhoeven Cc: Alex Deucher Cc: Christian König Cc: dri-devel@lists.freedesktop.orgamd-...@lists.freedesktop.org Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/cikd.h | 2 +- drivers/gpu/drm/radeon/c

Re: [PATCHv3 33/33] mm, x86: introduce PR_SET_MAX_VADDR and PR_GET_MAX_VADDR

2017-02-18 Thread Kirill A. Shutemov
On Fri, Feb 17, 2017 at 12:02:13PM -0800, Linus Torvalds wrote: > I also get he feeling that the whole thing is unnecessary. I'm > wondering if we should just instead say that the whole 47 vs 56-bit > virtual address is _purely_ about "get_unmapped_area()", and nothing > else. > > IOW, I'm wonderi

[tip:irq/core] irqchip/qcom: Fix error handling

2017-02-18 Thread tip-bot for Christophe JAILLET
Commit-ID: 569293c9ca9c5b9b5f7fa3c314ffceafc62957a8 Gitweb: http://git.kernel.org/tip/569293c9ca9c5b9b5f7fa3c314ffceafc62957a8 Author: Christophe JAILLET AuthorDate: Sat, 18 Feb 2017 09:34:34 +0100 Committer: Thomas Gleixner CommitDate: Sat, 18 Feb 2017 10:19:07 +0100 irqchip/qcom: Fix

Re: [PATCH v4 29/36] media: imx: mipi-csi2: enable setting and getting of frame rates

2017-02-18 Thread Russell King - ARM Linux
On Fri, Feb 17, 2017 at 05:12:44PM -0800, Steve Longerbeam wrote: > Hi Russell, > > I signed-off on this but after more review I'm not sure this is right. > > The CSI-2 receiver really has no control over frame rate. It's output > frame rate is the same as the rate that is delivered to it. > > S

[PATCH] Staging: xgifb:XGI_main_26: Fixed coding style issues

2017-02-18 Thread Georgios Emmanouil
Fixed coding style issues. Patch applies to linux-next-20170217 tree. Signed-off-by: Georgios Emmanouil --- drivers/staging/xgifb/XGI_main_26.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_mai

[GIT pull] timer fixes for 4.10

2017-02-18 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus Two small fixes:: - Prevent deadlock on the tick broadcast lock. Found and fixed by Mike. - Stop using printk() in the timekeeping debu

[GIT pull] locking fix for 4.10

2017-02-18 Thread Thomas Gleixner
Linus, please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus Move the futex init function to core initcall so user mode helper does not run into an uninitialized futex syscall. Thanks, tglx

[GIT pull] x86 fix for 4.10

2017-02-18 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus Make the build clean by working around yet another GCC stupidity. Thanks, tglx --> Kirill A. Shutemov (1): x86/vm8

[PATCH] usercopy: Don't test 64-bit get/put_user() on 32-bit powerpc

2017-02-18 Thread Michael Ellerman
Add PPC32 to the opt-out list, otherwise it breaks the build. Signed-off-by: Michael Ellerman --- lib/test_user_copy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/test_user_copy.c b/lib/test_user_copy.c index 4a79f2c1cd6e..6f335a3d4ae2 100644 --- a/lib/test_user_copy.c +++ b/lib/test

Re: [kernel-hardening] Re: [PATCH] usercopy: Add tests for all get_user() sizes

2017-02-18 Thread Michael Ellerman
Kees Cook writes: > On Wed, Feb 15, 2017 at 12:50 AM, Geert Uytterhoeven > wrote: >> On Tue, Feb 14, 2017 at 9:40 PM, Kees Cook wrote: >>> The existing test was only exercising native unsigned long size >>> get_user(). For completeness, we should check all sizes. >>> >>> Signed-off-by: Kees Coo

Re: [PATCH trivial 1/4] HID: picoLCD: Spelling s/REPORT_WRTIE_MEMORY/REPORT_WRITE_MEMORY/

2017-02-18 Thread Bruno Prémont
Hi Geert, Jiri, Fine with me, Acked-by: Bruno Prémont On Fri, 17 Feb 2017 16:36:36 Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > Cc: Bruno Prémont > Cc: linux-in...@vger.kernel.org > --- > drivers/hid/hid-picolcd_debugfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletio

next_tick hang was Re: v4.10-rc8 (-rc6) boot regression on Intel desktop, does not boot after cold boots, boots after reboot

2017-02-18 Thread Pavel Machek
Hi! [I droped some CCs here, you may want to check the CC list]. > > These are different bugs. > > > > On x60, I see failures doing hotplug/unplug in a loop, or lot of > > suspends. Someone seen it in v4.8-stable etc. Old bug. Rare to hit. > > > > Desktop machine was failing to boot, and had so

Re: [PATCH v7 3/3] i2c: zx2967: add i2c controller driver for ZTE's zx2967 family

2017-02-18 Thread Jun Nie
2017-02-16 14:00 GMT+08:00 Baoyou Xie : > This patch adds i2c controller driver for ZTE's zx2967 family. > > Signed-off-by: Baoyou Xie > Reviewed-by: Shawn Guo > Reviewed-by: Andy Shevchenko Reviewed-by: Jun Nie

Re: [PATCH] platform/x86: ideapad-laptop: Add sysfs interface for touchpad state

2017-02-18 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello Dmitry, On Fri, 2017-02-17 at 11:52 -0800, Dmitry Torokhov wrote: > OK, if firmware disables the touchpad automatically, then it is fine. > > I am wondering about the utility of the new interface though. Are there > already major users of it?

[PATCH] spi: spi-ti-qspi: Fix error handling

2017-02-18 Thread Christophe JAILLET
'dma_request_chan_by_mask()' can not return NULL. Try to keep the logic in 'no_dma:' by resetting 'qspi->rx_chan' in case of error. Signed-off-by: Christophe JAILLET --- drivers/spi/spi-ti-qspi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-ti-qspi.c b/dr

[tip:timers/core] hrtimer: Catch invalid clockids again

2017-02-18 Thread tip-bot for Marc Zyngier
Commit-ID: 336a9cde10d641e70bac67d90ae91b3190c3edca Gitweb: http://git.kernel.org/tip/336a9cde10d641e70bac67d90ae91b3190c3edca Author: Marc Zyngier AuthorDate: Fri, 15 Jan 2016 17:41:09 + Committer: Thomas Gleixner CommitDate: Sat, 18 Feb 2017 10:58:39 +0100 hrtimer: Catch invalid

Re: [PATCH] soc: ti: knav_dma: Fix some error handling

2017-02-18 Thread kbuild test robot
-handling/20170218-164533 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross

[PATCH v2] soc: ti: knav_dma: Fix some error handling

2017-02-18 Thread Christophe JAILLET
'pktdma_get_regs()' never returns NULL. It returns an error pointer or a valid pointer. So test its return value with IS_ERR. Signed-off-by: Christophe JAILLET --- After checking with IS_ERR, it could be better to propagate the error code instead of returning -ENODEV uncondionnaly v2: fix typo l

Re: [PATCH] Tty: serial - Fix possible NULL derefrence.

2017-02-18 Thread Maarten Brock
Hello Greg, Does that also mean that this isn't possible in the sc16is7xx.c driver in sc16is7xx_spi_probe() line 1358 and sc16is7xx_i2c_probe() line 1419 ? If so, should these checks be removed? Kind regards, Maarten On 2017-01-30 20:37, Greg Kroah-Hartman wrote: On Fri, Jan 27, 2017 at 04:

Re: g_NCR5380 PDMA, was Re: [PATCH 0/6] ncr5380: Miscellaneous minor patches

2017-02-18 Thread Ondrej Zary
On Friday 17 February 2017 23:38:12 Finn Thain wrote: > On Thu, 16 Feb 2017, Ondrej Zary wrote: > > On Tuesday 31 January 2017 02:31:45 Finn Thain wrote: > > [...] > > > > > Are you trying to figure out which commands are going to disconnect > > > during a transfer? This is really a function of the

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-18 Thread H. Nikolaus Schaller
Hi Dmitry, > Am 17.02.2017 um 21:43 schrieb Dmitry Torokhov : > > On Wed, Feb 15, 2017 at 03:03:07PM +0100, H. Nikolaus Schaller wrote: >> Hi Dmitry, >> >>> Am 12.02.2017 um 16:18 schrieb H. Nikolaus Schaller : >>> >>> Hi Dmitry, >>> Am 28.01.2017 um 19:16 schrieb H. Nikolaus Schaller : >

[PATCH] x86/events: Remove last remnants of old filenames

2017-02-18 Thread Borislav Petkov
From: Borislav Petkov Update to the new file paths, remove them from introductory comments. Signed-off-by: Borislav Petkov --- arch/x86/events/amd/core.c | 2 +- arch/x86/events/intel/cstate.c | 2 +- arch/x86/events/intel/rapl.c

Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-18 Thread H. Nikolaus Schaller
Hi Dmitry, > Am 17.02.2017 um 21:40 schrieb Dmitry Torokhov : > > Hi Nikolaus, > > On Sat, Jan 28, 2017 at 10:44:35PM +0100, H. Nikolaus Schaller wrote: >> Hi Dmitry, >> >>> Am 28.01.2017 um 20:33 schrieb Dmitry Torokhov : >>> >>> Hi Nikolaus, >>> >>> On Wed, Dec 28, 2016 at 03:53:16PM +0100,

Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-18 Thread H. Nikolaus Schaller
Hi Pavel, > Am 18.02.2017 um 10:15 schrieb Pavel Machek : > > Hi! > >>> Well, there is some historic confusion wether this driver reports resistance >>> or pressure. >>> >>> The unpatched tsc2007 driver does it wrong (please test!) and we fix it on >>> the fly (because a separate patch is much

Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-18 Thread H. Nikolaus Schaller
Hi Sebastian, > Am 18.02.2017 um 04:22 schrieb Sebastian Reichel : > > Hi, > > On Fri, Feb 17, 2017 at 12:40:41PM -0800, Dmitry Torokhov wrote: >>> AFAIK there is no mainline board using the DT except ours (and the upcoming >>> OMAP5-Pyra), so we shouldn't care too much. If you prefer, you can r

Re: [PATCH v9 8/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2017-02-18 Thread H. Nikolaus Schaller
> Am 17.02.2017 um 22:27 schrieb Dmitry Torokhov : > > On Fri, Dec 30, 2016 at 08:36:30PM +, Jonathan Cameron wrote: >> On 28/12/16 14:53, H. Nikolaus Schaller wrote: >>> The tsc2007 chip not only has a resistive touch screen controller but >>> also an external AUX adc imput which can be used

[PATCH] RDMA/qedr: Fix some error handling

2017-02-18 Thread Christophe JAILLET
'qedr_alloc_pbl_tbl()' can not return NULL. In qedr_init_user_queue(): - simplify the test for the return value, no need to test for NULL - propagate the error pointer if needed, otherwise 0 (success) is returned. This is spurious. In init_mr_info(): - test the return value with IS_ERR - p

Re: [PATCH v4 00/36] i.MX Media Driver

2017-02-18 Thread Sakari Ailus
Hi Philipp and Russell, On Fri, Feb 17, 2017 at 04:04:30PM +0100, Philipp Zabel wrote: > On Fri, 2017-02-17 at 14:22 +0200, Sakari Ailus wrote: > > Hi Philipp, Steve and Russell, > > > > On Fri, Feb 17, 2017 at 12:43:38PM +0100, Philipp Zabel wrote: > > > On Thu, 2017-02-16 at 14:27 -0800, Steve

RE: [RFC 7/8] fpga-region: add sysfs interface

2017-02-18 Thread Nadathur, Sundar
On February 17, 2017 6:30 PM, Moritz Fischer wrote: On Fri, Feb 17, 2017 at 04:28:37PM -0600, Yves Vandervennet wrote: > Moritz, > > whatever solution we decide to go with has to work with other OS'es. > The last thing we want to do is to have wrappers that are Linux specific. I do agree tha

Re: [RFC v2 01/20] block: DAC960: Replace PCI pool old API

2017-02-18 Thread Peter Senna Tschudin
On Sat, Feb 18, 2017 at 09:35:37AM +0100, Romain Perier wrote: > The PCI pool API is deprecated. This commits replaces the PCI pool old > API by the appropriated function with the DMA pool API. > no new errors added, tested by compilation only. > Signed-off-by: Romain Perier > Acked-by: Peter S

[PATCH 2/6] staging: rtl8192e: Remove CamelCase

2017-02-18 Thread simran singhal
This patch renames pBA to pba to avoid camelcase. Signed-off-by: simran singhal --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 100 +++--- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192

Re: [Outreachy kernel] [PATCH 2/6] staging: rtl8192e: Remove CamelCase

2017-02-18 Thread Julia Lawall
On Sat, 18 Feb 2017, simran singhal wrote: > This patch renames pBA to pba to avoid camelcase. I think that this was tried in the last round and was rejected, because BA is meaningful. You also see BA in the name of a header file. The kind of camel case that one should remove is whenTextIsWritt

Re: [PATCH] Tty: serial - Fix possible NULL derefrence.

2017-02-18 Thread Greg Kroah-Hartman
On Sat, Feb 18, 2017 at 11:25:19AM +0100, Maarten Brock wrote: > Hello Greg, > > Does that also mean that this isn't possible in the sc16is7xx.c driver in > sc16is7xx_spi_probe() line 1358 and sc16is7xx_i2c_probe() line 1419 ? > > If so, should these checks be removed? Probably.

Re: [RFC v2 00/20] Replace PCI pool by DMA pool API

2017-02-18 Thread Greg Kroah-Hartman
On Sat, Feb 18, 2017 at 09:35:36AM +0100, Romain Perier wrote: > The current PCI pool API are simple macro functions direct expanded to > the appropriated dma pool functions. The prototypes are almost the same > and semantically, they are very similar. I propose to use the DMA pool > API directly a

Re: [Outreachy kernel] [PATCH 1/6] staging: rtl8192e: Replaced comparison to NULL statements

2017-02-18 Thread Julia Lawall
On Sat, 18 Feb 2017, simran singhal wrote: > This patch corrects check generated by checkpatch.pl by There is not much information in the first line. Use the imperative: Replace comparisons to NULL by ... > replacing comparison to null statements with equivalent > statements in the form of "

[PATCH] staging: xgifb: function definition argument should also have an identifier name'

2017-02-18 Thread Arushi Singhal
function definition argument 'struct vb_device_info *' and 'unsigned long' should also have an identifier name. Signed-off-by: Arushi Singhal --- drivers/staging/xgifb/vb_init.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/xgifb/vb_init.h b/drivers/staging/

Re: [Outreachy kernel] [PATCH] staging: xgifb: function definition argument should also have an identifier name'

2017-02-18 Thread Julia Lawall
On Sat, 18 Feb 2017, Arushi Singhal wrote: > function definition argument 'struct vb_device_info *' and 'unsigned > long' should also have an identifier name. This could be a bit more clear as "Add variable names to function prototype parameter list." > > Signed-off-by: Arushi Singhal > --- >

Re: [PATCH v2 3/3] Make vmbus register arguments read-only (fwd)

2017-02-18 Thread Julia Lawall
m/0day-ci/linux/commits/Eddie-Kovsky/provide-check-for-ro_after_init-memory-sections/20170218-141040 :: branch date: 2 hours ago :: commit date: 2 hours ago >> drivers/hv/vmbus_drv.c:1058:2-45: code aligned with following code on line >> 1059 drivers/hv/vmbus_drv.c:1129:2-45:

[PATCH] staging: xgifb: function definition argument should also have an identifier name'

2017-02-18 Thread Arushi Singhal
function definition argument 'struct vb_device_info *' and 'unsigned long' should also have an identifier name. Signed-off-by: Arushi Singhal --- drivers/staging/xgifb/vb_init.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_init.h b/drivers/stagin

[PATCH v2 1/6] staging: rtl8192e: Replaced comparison to NULL statements

2017-02-18 Thread simran singhal
This patch removes the explicit NULL comparison. This issue was found by checkpatch. Signed-off-by: simran singhal --- v2: -Modified commit message drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/r

Re: [Outreachy kernel] [PATCH v2 1/6] staging: rtl8192e: Replaced comparison to NULL statements

2017-02-18 Thread Julia Lawall
On Sat, 18 Feb 2017, simran singhal wrote: > This patch removes the explicit NULL comparison. This issue was found by > checkpatch. > > Signed-off-by: simran singhal Acked-by: Julia Lawall > --- > > v2: >-Modified commit message > > drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++---

[PATCH v2] staging: xgifb: function definition argument should also have an identifier name'

2017-02-18 Thread Arushi Singhal
function definition argument 'struct vb_device_info *' and 'unsigned long' should also have an identifier name. Signed-off-by: Arushi Singhal --- drivers/staging/xgifb/vb_init.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_init.h b/drivers/stagin

Re: [Outreachy kernel] [PATCH] staging: xgifb: function definition argument should also have an identifier name'

2017-02-18 Thread Julia Lawall
On Sat, 18 Feb 2017, Arushi Singhal wrote: > function definition argument 'struct vb_device_info *' and 'unsigned > long' should also have an identifier name. > > Signed-off-by: Arushi Singhal Acked-by: Julia Lawall > --- > drivers/staging/xgifb/vb_init.h | 3 +-- > 1 file changed, 1 insert

Re: [PATCH 4/4] ARM: davinci: add pdata-quirks for da850-evm vpif display

2017-02-18 Thread kbuild test robot
Hi Bartosz, [auto build test ERROR on arm-soc/for-next] [also build test ERROR on next-20170217] [cannot apply to v4.10-rc8] [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/Bartosz-Golaszewski/AR

Re: [PATCH] DTS: Linksys Board: Add default trigger for sata led

2017-02-18 Thread Jason Cooper
Hi Ansuel, On Fri, Feb 17, 2017 at 09:42:17PM +0100, Ansuel Smith wrote: > In others board we have the sata led set to funcion with the sata led trigger > by default. > This patch makes the same for these board that have sata led but disabled by > not associating it to any trigger Please line w

Re: next_tick hang was Re: v4.10-rc8 (-rc6) boot regression on Intel desktop, does not boot after cold boots, boots after reboot

2017-02-18 Thread Frederic Weisbecker
On Sat, Feb 18, 2017 at 10:39:17AM +0100, Pavel Machek wrote: > Hi! > > [I droped some CCs here, you may want to check the CC list]. Good! > > > > These are different bugs. > > > > > > On x60, I see failures doing hotplug/unplug in a loop, or lot of > > > suspends. Someone seen it in v4.8-stab

Re: [PATCH] Input: tsc2007 - switch to using input_set_capability()

2017-02-18 Thread H. Nikolaus Schaller
Hi Dmitry, > Am 17.02.2017 um 23:56 schrieb Dmitry Torokhov : > > Do not manipulate evbit/keybit directly, use helper for that. > > Signed-off-by: Dmitry Torokhov > --- > drivers/input/touchscreen/tsc2007_core.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/

Re: RFC: Getting rid of LTR in VMX

2017-02-18 Thread Paolo Bonzini
On 18/02/2017 04:29, Andy Lutomirski wrote: > There's no code here because the patch is trivial, but I want to run > the idea by you all first to see if there are any issues. > > VMX is silly and forces the TSS limit to the minimum on VM exits. KVM > wastes lots of cycles bumping it back up to

Re: [PATCH] mtd: spi-nor: hisi: do not ignore clk_prepare_enable() failure

2017-02-18 Thread Marek Vasut
On 02/17/2017 11:08 PM, Alexey Khoroshilov wrote: > hisi_spi_nor_probe() ignores clk_prepare_enable() error code. > The patch fixes that. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Acked-by: Marek Vasut > --- > drivers/mtd/spi-nor

Re: [clear_page] 0ad07c8104 BUG: unable to handle kernel NULL pointer dereference at 0000000000000040

2017-02-18 Thread Borislav Petkov
Guys, please fix the 0day bot reporting. See below for more info. On Sat, Feb 18, 2017 at 01:01:53PM +0800, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > https://github.com/0day-ci/linux > Borislav-Petkov/x86-Optimize-clear_p

[PATCH 3/6] staging: rtl8192e: Fix block comments warning

2017-02-18 Thread simran singhal
Align * on a line, to conform to the kernal coding style for block comments. Signed-off-by: simran singhal --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h

Re: [Outreachy kernel] [PATCH 3/6] staging: rtl8192e: Fix block comments warning

2017-02-18 Thread Julia Lawall
On Sat, 18 Feb 2017, simran singhal wrote: > Align * on a line, to conform to the kernal coding > style for block comments. It is not clear what is means to align * on a line. What line? What has been done is to add a space at the beginning of the line. But then the line goes over 80 charact

[PATCH] staging: ks7010: Block comments use * on subsequent lines

2017-02-18 Thread Arushi Singhal
Some of the block comments styles are not encouraged: for example: /* block comment without introductory * */ and /* * block comment with line terminating */ Signed-off-by: Arushi Singhal --- drivers/staging/ks7010/ks7010_sdio.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff -

[PATCH 4/6] staging: rtl8192e: Remove blank line after '{'

2017-02-18 Thread simran singhal
Remove blank line after opening brace to fix the checkpatch issue blank lines aren't necessary after a open brace '{'. Signed-off-by: simran singhal --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/sta

Re: [RESEND 2] [PATCH] rlimits: Print more information when limits are exceeded

2017-02-18 Thread Arun Raghavan
On Sat, 18 Feb 2017, at 02:07 PM, Arun Raghavan wrote: > This dumps some information in logs when a process exceeds its CPU or RT > limits (soft and hard). Makes debugging easier when userspace triggers > these limits. > > Signed-off-by: Arun Raghavan > --- > kernel/time/posix-cpu-timers.c | 1

Linux 4.9.11

2017-02-18 Thread Greg KH
I'm announcing the release of the 4.9.11 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.50

2017-02-18 Thread Greg KH
diff --git a/Makefile b/Makefile index 5fab6d4068b5..10993715abb8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 49 +SUBLEVEL = 50 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/drivers/net/ethernet/mellanox/mlx4/en_rx.c b/drivers/net/etherne

Re: Linux 4.9.11

2017-02-18 Thread Greg KH
diff --git a/Makefile b/Makefile index d2fe757a979d..18b0c5adad3b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 10 +SUBLEVEL = 11 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c index ebb4e

Linux 4.4.50

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

[PATCH] staging: ks7010: Unnecessary parentheses should be avoided

2017-02-18 Thread Arushi Singhal
Unnecessary parentheses as reported by checkpatch.pl Signed-off-by: Arushi Singhal --- drivers/staging/ks7010/ks_hostif.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index 1fbd

[PATCH 5/6] staging: rtl8192e: Fixes multiple blank lines issue

2017-02-18 Thread simran singhal
This patch fixes the checkpatch.pl issue: Please don't use multiple blank lines Signed-off-by: simran singhal --- drivers/staging/rtl8192e/rtl819x_HT.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index f53

Re: [Outreachy kernel] [PATCH 4/6] staging: rtl8192e: Remove blank line after '{'

2017-02-18 Thread Julia Lawall
On Sat, 18 Feb 2017, simran singhal wrote: > Remove blank line after opening brace to fix the > checkpatch issue blank lines aren't necessary after > a open brace '{'. > > Signed-off-by: simran singhal Acked-by: Julia Lawall > --- > drivers/staging/rtl8192e/rtl819x_HT.h | 2 -- > 1 file cha

Re: [PATCH] eeepc-laptop: Skip unknown key messages 0x50 0x51

2017-02-18 Thread Andy Shevchenko
On Fri, Feb 10, 2017 at 7:48 PM, Pau Espin Pedrol wrote: > Otherwise those are printed several times when (un)plugging the AC > connector. If we have a user space tool that supports them better not to ignore. -- With Best Regards, Andy Shevchenko

Re: [Outreachy kernel] [PATCH 3/6] staging: rtl8192e: Fix block comments warning

2017-02-18 Thread Julia Lawall
On Sat, 18 Feb 2017, SIMRAN SINGHAL wrote: > > > On Saturday, February 18, 2017 at 9:00:51 PM UTC+5:30, Julia Lawall wrote: > > > On Sat, 18 Feb 2017, simran singhal wrote: > > > Align * on a line, to conform to the kernal coding > > style for block comments. > > It is no

Re: [PATCH] backlight: report error on failure

2017-02-18 Thread Sudip Mukherjee
On Monday 30 January 2017 11:04 PM, Sudip Mukherjee wrote: On Wednesday 18 January 2017 09:23 PM, Sudip Mukherjee wrote: It is possible to update the backlight power and the brightness using the sysfs and on writing it either returns the count or if the callback function does not exist then retu

[PATCH] Staging: ks7010: There should be no spaces at the start of a line

2017-02-18 Thread Arushi Singhal
The following patch the checkpatch.pl warning: drivers/staging/ks7010/ks_hostif.c warning: please, no spaces at the start of a line Signed-off-by: Arushi Singhal --- drivers/staging/ks7010/ks_hostif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/

Re: [PATCH] Staging: ks7010: There should be no spaces at the start of a line

2017-02-18 Thread Greg KH
On Sat, Feb 18, 2017 at 10:10:02PM +0530, Arushi Singhal wrote: > The following patch the checkpatch.pl warning: > drivers/staging/ks7010/ks_hostif.c warning: please, no spaces at the > start of a line > > Signed-off-by: Arushi Singhal > --- > drivers/staging/ks7010/ks_hostif.c | 4 ++-- > 1 fil

[PATCH] staging: ks7010: Unnecessary parentheses should be avoided

2017-02-18 Thread Arushi Singhal
Unnecessary parentheses should be avoided as reported by checkpatch.pl Signed-off-by: Arushi Singhal --- drivers/staging/ks7010/ks_hostif.c | 24 drivers/staging/ks7010/ks_wlan_net.c | 20 ++-- 2 files changed, 22 insertions(+), 22 deletions(-) diff --

Re: [Outreachy kernel] [PATCH] Staging: ks7010: There should be no spaces at the start of a line

2017-02-18 Thread Julia Lawall
On Sat, 18 Feb 2017, Arushi Singhal wrote: > The following patch the checkpatch.pl warning: > drivers/staging/ks7010/ks_hostif.c warning: please, no spaces at the > start of a line > > Signed-off-by: Arushi Singhal > --- > drivers/staging/ks7010/ks_hostif.c | 4 ++-- > 1 file changed, 2 insert

[PATCH v2] mmc: meson-gx: remove mmc host on device removal

2017-02-18 Thread Michał Zegan
The mmc host was added in meson_mmc_probe, but never removed in meson_mmc_remove. Fix that by removing the host before deallocating other resources. Signed-off-by: Michał Zegan Tested-by: Michał Zegan --- changes since v1: rebased on top of patchset at https://patchwork.kernel.org/patch/9581057/

[PATCH] mmc: meson-gx: fix error path when driver initialization fails before enabling clocks

2017-02-18 Thread Michał Zegan
This patch fixes the case where meson_mmc_probe function fails before core_clk is enabled. Originally, that would result in a try to disable the core clock, and if it was not already enabled, it would result in a kernel warning. This issue is similar to the one with div_clk. Fix it by introducing a

Re: [Outreachy kernel] [PATCH 3/6] staging: rtl8192e: Fix block comments warning

2017-02-18 Thread Julia Lawall
On Sat, 18 Feb 2017, SIMRAN SINGHAL wrote: > > > On Saturday, February 18, 2017 at 9:46:48 PM UTC+5:30, Julia Lawall wrote: > > > On Sat, 18 Feb 2017, SIMRAN SINGHAL wrote: > > > > > > > On Saturday, February 18, 2017 at 9:00:51 PM UTC+5:30, Julia > Lawall wrote: >

Re: net: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected in skb_array_produce

2017-02-18 Thread Dmitry Vyukov
On Fri, Feb 10, 2017 at 6:17 AM, Jason Wang wrote: > > > On 2017年02月10日 02:10, Michael S. Tsirkin wrote: >> >> On Thu, Feb 09, 2017 at 05:02:31AM -0500, Jason Wang wrote: >>> >>> - Original Message - Hello, I've got the following report while running syzkaller fuzzer on

Re: [PATCH v4 29/36] media: imx: mipi-csi2: enable setting and getting of frame rates

2017-02-18 Thread Steve Longerbeam
On 02/18/2017 01:23 AM, Russell King - ARM Linux wrote: On Fri, Feb 17, 2017 at 05:12:44PM -0800, Steve Longerbeam wrote: Hi Russell, I signed-off on this but after more review I'm not sure this is right. The CSI-2 receiver really has no control over frame rate. It's output frame rate is the

Re: [PATCH v4 00/36] i.MX Media Driver

2017-02-18 Thread Steve Longerbeam
On 02/16/2017 02:57 PM, Russell King - ARM Linux wrote: On Thu, Feb 16, 2017 at 02:27:41PM -0800, Steve Longerbeam wrote: On 02/16/2017 02:20 PM, Russell King - ARM Linux wrote: On Wed, Feb 15, 2017 at 06:19:02PM -0800, Steve Longerbeam wrote: In version 4: With this version, I get: [28

Re: net: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected in skb_array_produce

2017-02-18 Thread Dmitry Vyukov
On Sat, Feb 18, 2017 at 6:28 PM, Dmitry Vyukov wrote: > On Fri, Feb 10, 2017 at 6:17 AM, Jason Wang wrote: >> >> >> On 2017年02月10日 02:10, Michael S. Tsirkin wrote: >>> >>> On Thu, Feb 09, 2017 at 05:02:31AM -0500, Jason Wang wrote: - Original Message - > > Hello, > >

Re: [PATCHv2 4/5] perf stat: Add -a as a default target

2017-02-18 Thread Borislav Petkov
On Fri, Feb 17, 2017 at 06:48:13PM +0100, Boris Petkov wrote: > LGTM. > > Acked-by: me Well, it looks good but actually trying it is a different story. For example: $ ./perf stat -e amd_nb/event=0xe0,umask=0x1f/ sleep 1 still says because argc is not 0. So how about the below diff instead? $

Re: [RFC v2 00/20] Replace PCI pool by DMA pool API

2017-02-18 Thread Romain Perier
Le 18/02/2017 à 14:06, Greg Kroah-Hartman a écrit : > On Sat, Feb 18, 2017 at 09:35:36AM +0100, Romain Perier wrote: >> The current PCI pool API are simple macro functions direct expanded to >> the appropriated dma pool functions. The prototypes are almost the same >> and semantically, they are v

Re: next_tick hang was Re: v4.10-rc8 (-rc6) boot regression on Intel desktop, does not boot after cold boots, boots after reboot

2017-02-18 Thread Pavel Machek
Hi! > > I guess I can. But I'll only have one 80x25 screen to look at... > > > > .config is attached. > > Ah this is x86-32, interesting! I'm going to try to boot that, we never know. > > Thanks a lot! Happens on x86-64, too; I'm running that normally, but for testing, 32-bit kernel is easier.

Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-18 Thread Pavel Machek
> > And I agree that kernel should _not_ attempt rescaling itself, as it > > would lose precision. > > With an almost 1:1 mapping you won't loose precision. How do you propose to do that? Pavel -- (english) http://www.live

Re: [PATCH v4 29/36] media: imx: mipi-csi2: enable setting and getting of frame rates

2017-02-18 Thread Russell King - ARM Linux
On Sat, Feb 18, 2017 at 09:29:17AM -0800, Steve Longerbeam wrote: > On 02/18/2017 01:23 AM, Russell King - ARM Linux wrote: > >On Fri, Feb 17, 2017 at 05:12:44PM -0800, Steve Longerbeam wrote: > >>Hi Russell, > >> > >>I signed-off on this but after more review I'm not sure this is right. > >> > >>T

Re: [RFC PATCH v4 00/28] x86: Secure Memory Encryption (AMD)

2017-02-18 Thread Borislav Petkov
On Thu, Feb 16, 2017 at 09:41:59AM -0600, Tom Lendacky wrote: > create mode 100644 Documentation/x86/amd-memory-encryption.txt > create mode 100644 arch/x86/include/asm/mem_encrypt.h > create mode 100644 arch/x86/kernel/mem_encrypt_boot.S > create mode 100644 arch/x86/kernel/mem_encrypt_init.c

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

2017-02-18 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 v2] staging: lustre: ko2iblnd: Adapt to the removal of ib_get_dma_mr()

2017-02-18 Thread Doug Oucharek
I tried to send this patch yesterday and it appeared to work. However, I did not see an email from the list. Assuming it failed and trying again. I apologize if this is a repeat.

[PATCH 6/6] staging: rtl8192e: Removed unnecessary parentheses

2017-02-18 Thread simran singhal
Extra parentheses were causing checkpatch issues and were removed. Signed-off-by: simran singhal --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rt

Re: [RFC v2 11/20] scsi: megaraid: Replace PCI pool old API

2017-02-18 Thread Peter Senna Tschudin
On Sat, Feb 18, 2017 at 09:35:47AM +0100, Romain Perier wrote: Hi Romain, Checkpatch gives some warnings you can fix related to NULL tests before dma_pool_destroy(), and you changed indentation style in some of your changes. Some times it is important to keep consistency within a file even if the

Re: [RFC v2 12/20] scsi: mpt3sas: Replace PCI pool old API

2017-02-18 Thread Peter Senna Tschudin
On Sat, Feb 18, 2017 at 09:35:48AM +0100, Romain Perier wrote: > The PCI pool API is deprecated. This commits replaces the PCI pool old > API by the appropriated function with the DMA pool API. Please run checkpatch, fix the style issue and resend. > > Signed-off-by: Romain Perier > --- > driv

[PATCH v2 3/6] staging: rtl8192e: Fix block comments warning

2017-02-18 Thread simran singhal
Align * on last line, to conform to the kernal coding style for block comments. Signed-off-by: simran singhal --- v2: -Modified commit message drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/

Re: [RFC v2 00/20] Replace PCI pool by DMA pool API

2017-02-18 Thread Peter Senna Tschudin
On Sat, Feb 18, 2017 at 09:35:36AM +0100, Romain Perier wrote: Tested all patches by compilation and checkpatch. All of them compile fine, but patches 11 and 12 need some fixes. You can resend as PATCH instead of RFC. > The current PCI pool API are simple macro functions direct expanded to > the

Re: [PATCH] proc/sysctl: prune stale dentries during unregistering

2017-02-18 Thread Konstantin Khlebnikov
This patch has locking problem. I've got lockdep splat under LTP. [ 6633.115456] == [ 6633.115502] [ INFO: possible circular locking dependency detected ] [ 6633.115553] 4.9.10-debug+ #9 Tainted: G L [ 6633.115584] --

  1   2   3   >