[PATCH v2] staging: comedi: amplc_pci224: Convert macro GAT_CONFIG to static inline function

2017-03-12 Thread simran singhal
Convert macro GAT_CONFIG to static inline function as static inline functions are preferred over macros. This change is possible since the arguments at all call sites have the same type. This was done using Coccinelle: @r@ expression e; @@ - #define GAT_CONFIG(chan, src) e + static inline unsigne

[PATCH] [linux-next] x86/process : Remove duplicate inclusion of linux/tick.h

2017-03-12 Thread Masanari Iida
This patch removes duplicate inclusion of linux/tick.h in process.c. Confirm successfully kernel compile after remove the line. Signed-off-by: Masanari Iida --- arch/x86/kernel/process.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c inde

Re: [v2 PATCH 1/3] mmc: sdhci-cadence: Fix writing PHY delay

2017-03-12 Thread Masahiro Yamada
2017-03-06 22:38 GMT+09:00 Piotr Sroka : > Add polling for ACK to be sure that data are written to PHY register. > > Signed-off-by: Piotr Sroka > --- > Changes for v2: > - fix indent > --- This one looks OK. Reviewed-by: Masahiro Yamada -- Best Regards Masahiro Yamada

Re: [PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl

2017-03-12 Thread Greg KH
On Sun, Mar 12, 2017 at 05:30:09PM +0200, Andrii wrote: > Fixed three code style warnings (multiple line dereference) reported > by checkpatch.pl script. > > Signed-off-by: Andrii Vladyka > diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c > b/drivers/staging/wlan-ng/hfa384x_usb.c > index 6134

Re: [PATCH v1] staging: media: Remove unused function atomisp_set_stop_timeout()

2017-03-12 Thread SIMRAN SINGHAL
On Sun, Mar 12, 2017 at 7:24 PM, Greg KH wrote: > On Fri, Mar 10, 2017 at 07:05:05PM +0530, simran singhal wrote: >> The function atomisp_set_stop_timeout on being called, simply returns >> back. The function hasn't been mentioned in the TODO and doesn't have >> FIXME code around. Hence, atomisp_s

Re: [Outreachy kernel] [PATCH v2] staging: comedi: amplc_pci224: Convert macro GAT_CONFIG to static inline function

2017-03-12 Thread Julia Lawall
On Sun, 12 Mar 2017, simran singhal wrote: > Convert macro GAT_CONFIG to static inline function as static inline > functions are preferred over macros. This change is possible since the > arguments at all call sites have the same type. > > This was done using Coccinelle: > > @r@ > expression e;

Re: [Outreachy kernel] Re: [PATCH v1] staging: media: Remove unused function atomisp_set_stop_timeout()

2017-03-12 Thread Julia Lawall
On Sun, 12 Mar 2017, SIMRAN SINGHAL wrote: > On Sun, Mar 12, 2017 at 7:24 PM, Greg KH wrote: > > On Fri, Mar 10, 2017 at 07:05:05PM +0530, simran singhal wrote: > >> The function atomisp_set_stop_timeout on being called, simply returns > >> back. The function hasn't been mentioned in the TODO a

Re: [PATCH] staging: lustre: replace simple_strtoul with kstrtoint

2017-03-12 Thread Marcin Ciupak
On Sun, Mar 12, 2017 at 02:36:47PM +0100, Greg Kroah-Hartman wrote: > On Thu, Mar 09, 2017 at 03:53:00PM +0100, Marcin Ciupak wrote: > > Replace simple_strtoul with kstrtoint. > > Why? Because > > simple_strtoul is marked for obsoletion. as reported by checkpatch.pl. > > > > Signed-off-by: Marc

Re: [PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl

2017-03-12 Thread Andrii
On Sun, 12 Mar 2017 16:42:07 +0100 Greg KH wrote: > On Sun, Mar 12, 2017 at 05:30:09PM +0200, Andrii wrote: > > Fixed three code style warnings (multiple line dereference) reported > > by checkpatch.pl script. > > > > Signed-off-by: Andrii Vladyka > > > diff --git a/drivers/staging/wlan-ng/h

Re: [Outreachy kernel] [PATCH] staging: adis16060_core: Use private driver lock instead of mlock

2017-03-12 Thread Alison Schofield
On Sun, Mar 12, 2017 at 06:40:52PM +0530, simran singhal wrote: > The IIO subsystem is redefining iio_dev->mlock to be used by > the IIO core only for protecting device operating mode changes. > ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. > > In this driver, mlock was being used t

Re: [PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl

2017-03-12 Thread Greg KH
On Sun, Mar 12, 2017 at 05:47:33PM +0200, Andrii wrote: > On Sun, 12 Mar 2017 16:42:07 +0100 > Greg KH wrote: > > > On Sun, Mar 12, 2017 at 05:30:09PM +0200, Andrii wrote: > > > Fixed three code style warnings (multiple line dereference) reported > > > by checkpatch.pl script. > > > > > > Signed

Re: [PATCH] morse code panics for 2.5.65

2017-03-12 Thread Tomas Szepe
Hello Oleksij, > can you please give GPL permission for this code. Fine by me. -- Tomas Szepe

[PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl

2017-03-12 Thread Andrii
Signed-off-by: Andrii Vladyka diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c index 255c30e..b324429 100644 --- a/drivers/staging/rtl8188eu/core/rtw_ap.c +++ b/drivers/staging/rtl8188eu/core/rtw_ap.c @@ -30,7 +30,6 @@ void init_mlme_ap_info(struct adap

[PATCH v3] staging: comedi: amplc_pci224: Convert macro GAT_CONFIG to static inline function

2017-03-12 Thread simran singhal
Convert macro GAT_CONFIG to static inline function as static inline functions are preferred over macros. This change is possible since the arguments at all call sites have the same type. The uses were updated with Coccinelle: @r1@ expression dev,reg,chan,src; @@ -GAT_CONFIG(chan, src) +pci224_gat

[PATCH] net: usb: asix88179_178a: use new api ethtool_{get|set}_link_ksettings

2017-03-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/usb/ax88179_178a.c | 14 -- 1 files changed,

Re: [PATCH v2 06/23] MAINTAINERS: Add file patterns for dsa device tree bindings

2017-03-12 Thread Andrew Lunn
On Sun, Mar 12, 2017 at 02:16:50PM +0100, Geert Uytterhoeven wrote: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. > diff --git a/MAINTAINERS b/MAINTAINERS > index ce461fefec6c9463..c0822d4fa5c3ade5 100644 > --- a/MAINTAINERS > +++

Re: [PATCH v4 0/5] ARM: K2G: Add support for TI-SCI Generic PM Domains

2017-03-12 Thread Rafael J. Wysocki
On Tuesday, March 07, 2017 04:22:29 AM Dave Gerlach wrote: > Hi, > This is v4 of the series to add support for TI-SCI Generic PM Domains. > Previous versions can be found here: > > v3: https://www.spinics.net/lists/kernel/msg2413975.html > v2: https://www.spinics.net/lists/kernel/msg2364612.html >

[PATCH v2] staging: media: Remove unused function atomisp_set_stop_timeout()

2017-03-12 Thread simran singhal
The function atomisp_set_stop_timeout on being called, simply returns back. The function hasn't been mentioned in the TODO and doesn't have FIXME code around. Hence, atomisp_set_stop_timeout and its calls have been removed. This was done using Coccinelle. @@ identifier f; @@ void f(...) { -retu

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-12 Thread Vivek Gautam
On Sun, Mar 12, 2017 at 2:53 PM, Krzysztof Kozlowski wrote: > On Sun, Mar 12, 2017 at 11:18 AM, Vivek Gautam > wrote: >> Hi Kishon, >> >> >> On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Thursday 09 March 2017 05:03 PM, Jaehoon Chung wrote: Make the "samsu

Re: [PATCH v4 5/5] ARM: keystone: Drop PM domain support for k2g

2017-03-12 Thread santosh.shilim...@oracle.com
On 3/7/17 2:22 AM, Dave Gerlach wrote: K2G will use a different power domain driver than the rest of the keystone family in order to make use of the TI SCI protocol so prevent the standard keystone pm_domain code from registering itself in preparation for a new driver. Signed-off-by: Lokesh Vutl

Re: [PATCH v4 4/5] soc: ti: Add ti_sci_pm_domains driver

2017-03-12 Thread santosh.shilim...@oracle.com
On 3/7/17 2:22 AM, Dave Gerlach wrote: Introduce a ti_sci_pm_domains driver to act as a generic pm domain provider to allow each device to attach and associate it's ti-sci-id so that it can be controlled through the TI SCI protocol. This driver implements a simple genpd where each device node ha

Re: [PATCH v4 3/5] dt-bindings: Add TI SCI PM Domains

2017-03-12 Thread santosh.shilim...@oracle.com
On 3/7/17 2:22 AM, Dave Gerlach wrote: Add a generic power domain implementation, TI SCI PM Domains, that will hook into the genpd framework and allow the TI SCI protocol to control device power states. Also, provide macros representing each device index as understood by TI SCI to be used in the

Re: [PATCH 1/3] ata: add Palmchip BK3710 PATA controller driver

2017-03-12 Thread Sergei Shtylyov
Hello! On 03/09/2017 04:01 PM, Bartlomiej Zolnierkiewicz wrote: Add Palmchip BK3710 PATA controller driver. Signed-off-by: Bartlomiej Zolnierkiewicz [...] diff --git a/drivers/ata/pata_bk3710.c b/drivers/ata/pata_bk3710.c new file mode 100644 index 000..65ee737 --- /dev/null +++ b/drive

Re: [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512

2017-03-12 Thread Thomas Gleixner
On Sat, 11 Mar 2017, Andi Kleen wrote: > On Sat, Mar 11, 2017 at 11:46:37AM +0100, Thomas Gleixner wrote: > > > +enum xsave_features { > > > + XSAVE_X87, > > > + XSAVE_SSE, > > > + XSAVE_AVX, > > > + XSAVE_MPX_BOUNDS, > > > + XSAVE_MPX_CSR, > > > + XSAVE_AVX512_OPMASK, > > > + XSAVE_AVX512_HI256,

[PATCH] tools/power turbostat: enable BXT DRAM RAPL domain

2017-03-12 Thread Harry Pan
Goldmont microarchitecture supports DRAM RAPL domain. This patch adds relevant flags in probing, such that it enables DRAM energy profile. Signed-off-by: Harry Pan Signed-off-by: Harry Pan --- tools/power/x86/turbostat/turbostat.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-)

[PATCH 14/14] cpufreq: intel_pstate: Introduce pid_in_use()

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add a new function pid_in_use() to return the information on whether or not the PID-based P-state selection algorithm is in use. That allows a couple of complicated conditions in the code to be reduced to simple checks against the new function's return value. Signed-off-

[PATCH 05/14] cpufreq: intel_pstate: Clean up intel_pstate_busy_pid_reset()

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki intel_pstate_busy_pid_reset() is the only caller of pid_reset(), pid_p_gain_set(), pid_i_gain_set(), and pid_d_gain_set(). Moreover, it passes constatns as two parameters of pid_reset() and all of the other routines above essentially contain the same code, so fold all of

[PATCH 02/14] cpufreq: intel_pstate: Drop pointless initialization of PID parameters

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The P-state selection algorithm used by intel_pstate for Atom processors is not based on the PID controller and the initialization of PID parametrs for those processors is pointless and confusing, so drop it. Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/intel_ps

[PATCH 03/14] cpufreq: intel_pstate: Initialize pid_params statically

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Notice that both the existing struct cpu_defaults instances in which PID parameters are actually initialized use the same values of those parameters, so it is not really necessary to copy them over to pid_params dynamically. Instead, initialize pid_params statically with

[PATCH 00/14] cpufreq: intel_pstate: Fixes, cleanups and optimizations

2017-03-12 Thread Rafael J. Wysocki
Hi, This patch series fixes a couple of bugs in intel_pstate, cleans up the code in it somewhat and makes some changes targeted at overhead reductions. Patch [1/14] is a regression fix, patch [2/14] can be regarded as a fix too, Patches [3-9/14] are cleanups mostly getting rid of unnecessary stu

[PATCH 01/14] cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Fix the debugfs interface for PID tuning to actually update pid_params.sample_rate_ns on PID parameters updates, as changing pid_params.sample_rate_ms via debugfs has no effect now. Fixes: a4675fbc4a7a (cpufreq: intel_pstate: Replace timers with utilization update callba

[PATCH 07/14] cpufreq: intel_pstate: Skip unnecessary PID resets on init

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki PID controller parameters only need to be initialized if the get_target_pstate_use_performance() P-state selection routine is going to be used. It is not necessary to initialize them otherwise, so don't do that. Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/inte

[PATCH 04/14] cpufreq: intel_pstate: Fold intel_pstate_reset_all_pid() into the caller

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There is only one caller of intel_pstate_reset_all_pid(), which is pid_param_set() used in the debugfs interface only, and having that code split does not make it particularly convenient to follow. For this reason, move the body of intel_pstate_reset_all_pid() into its ca

[PATCH 06/14] cpufreq: intel_pstate: Set HWP sampling interval once

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki In the HWP enabled case pid_params.sample_rate_ns only needs to be updated once, because it is global, so do that when setting hwp_active instead of doing it during the initialization of every CPU. Moreover, pid_params.sample_rate_ms is never used if HWP is enabled, so do

[PATCH 09/14] cpufreq: intel_pstate: Modify check in intel_pstate_update_status()

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki One of the checks in intel_pstate_update_status() implicitly relies on the information that there are only two struct cpufreq_driver objects available, but it is better to do it directly against the value it really is about (to make the code easier to follow if nothing els

[PATCH 08/14] cpufreq: intel_pstate: Drop driver_registered variable

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The driver_registered variable in intel_pstate is used for checking whether or not the driver has been registered, but intel_pstate_driver can be used for that too (with the rule that the driver is not registered as long as it is NULL). That is a bit more straightforward

[PATCH 11/14] cpufreq: intel_pstate: Add update_util callback to pstate_funcs

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Avoid using extra function pointers during P-state selection by dropping the get_target_pstate member from struct pstate_funcs, adding a new update_util callback to it (to be registered with the CPU scheduler as the utilization update callback in the active mode) and rewor

[PATCH 10/14] cpufreq: intel_pstate: Use different utilization update callbacks

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Notice that some overhead in the utilization update callbacks registered by intel_pstate in the active mode can be avoided if those callbacks are tailored to specific configurations of the driver. For example, the utilization update callback for the HWP enabled case only

[PATCH 12/14] cpufreq: intel_pstate: Move cpu_defaults definitions

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Move the definitions of the cpu_defaults structures after the definitions of utilization update callback routines to avoid extra declarations of the latter. Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/intel_pstate.c | 129 +++---

[PATCH 13/14] cpufreq: intel_pstate: Drop struct cpu_defaults

2017-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The cpu_defaults structure is redundant, because it only contains one member of type struct pstate_funcs which can be used directly instead of struct cpu_defaults. For this reason, drop struct cpu_defaults, use struct pstate_funcs directly instead of it where applicable a

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Russell King - ARM Linux
On Fri, Mar 10, 2017 at 03:20:34PM -0800, Steve Longerbeam wrote: > > > On 03/10/2017 12:13 PM, Russell King - ARM Linux wrote: > >Version 5 gives me no v4l2 controls exposed through the video device > >interface. > > > >Just like with version 4, version 5 is completely useless with IMX219: > > >

Re: [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl

2017-03-12 Thread Greg KH
On Sun, Mar 12, 2017 at 06:52:26PM +0200, Andrii wrote: > Signed-off-by: Andrii Vladyka Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (h

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Russell King - ARM Linux
I've just looked at my test system's dmesg, and spotted this in the log. It's been a while since these popped out of the kernel, so I don't know what caused them (other than the obvious, a media-ctl command.) My script which sets this up only enables links, and then configures the formats etc, and

Re: [PATCH 1/3] ata: add Palmchip BK3710 PATA controller driver

2017-03-12 Thread Sergei Shtylyov
On 03/12/2017 08:28 PM, Sergei Shtylyov wrote: +static void pata_bk3710_set_piomode(struct ata_port *ap, +struct ata_device *adev) +{ +void __iomem *base = (void __iomem *)ap->ioaddr.bmdma_addr; +struct ata_device *pair = ata_dev_pair(adev); +const struct ata_timi

[PATCH] staging: rtl8188eu: fix multiple blank lines coding style problem

2017-03-12 Thread Andrii
Signed-off-by: Andrii Vladyka diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c index 255c30e..3fa6af2 100644 --- a/drivers/staging/rtl8188eu/core/rtw_ap.c +++ b/drivers/staging/rtl8188eu/core/rtw_ap.c @@ -30,7 +30,6 @@ void init_mlme_ap_info(struct adap

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-12 Thread Steve Longerbeam
On 03/11/2017 11:37 PM, Russell King - ARM Linux wrote: On Sat, Mar 11, 2017 at 07:31:18PM -0800, Steve Longerbeam wrote: On 03/11/2017 10:59 AM, Russell King - ARM Linux wrote: On Sat, Mar 11, 2017 at 10:54:55AM -0800, Steve Longerbeam wrote: On 03/11/2017 10:45 AM, Russell King - ARM L

Re: [PATCH] staging: rtl8188eu: fix multiple blank lines coding style problem

2017-03-12 Thread Greg KH
On Sun, Mar 12, 2017 at 07:56:56PM +0200, Andrii wrote: > Signed-off-by: Andrii Vladyka {sigh} Please go read the patch-bot items, you did not fix all of the issues it raised. Take some time, fix them up, and wait a day or so before resending. There is no rush. greg k-h

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-12 Thread Pavel Machek
On Sun 2017-03-12 07:37:45, Russell King - ARM Linux wrote: > On Sat, Mar 11, 2017 at 07:31:18PM -0800, Steve Longerbeam wrote: > > > > > > On 03/11/2017 10:59 AM, Russell King - ARM Linux wrote: > > >On Sat, Mar 11, 2017 at 10:54:55AM -0800, Steve Longerbeam wrote: > > >> > > >> > > >>On 03/11/2

[PATCH] MIPS: smp-mt: fix missing task_stack_page compile error

2017-03-12 Thread Hauke Mehrtens
arch/mips/include/asm/processor.h references task_stack_page, but it is not defined anywhere. Including linux/sched/task_stack.h directly in asm/processor.h caused a different compile warning. This fixes the folowing compile error in kernel 4.11-rc1: CC arch/mips/kernel/smp-mt.o In file inc

Re: [PATCH 3.2 000/202] 3.2.87-rc2 review

2017-03-12 Thread Guenter Roeck
On 03/11/2017 07:15 AM, Ben Hutchings wrote: I've added three more patches to the queue for this release, which will be sent as replies to this message. Responses should be made by Wed Mar 15 00:00:00 UTC 2017. Anything received after that time might be too late. Still looks good. Guenter

Re: [PATCH 3.16 000/372] 3.16.42-rc2 review

2017-03-12 Thread Guenter Roeck
On 03/11/2017 07:15 AM, Ben Hutchings wrote: I've added two more patches to the queue for this release, which will be sent as replies to this message. Responses should be made by Wed Mar 15 00:00:00 UTC 2017. Anything received after that time might be too late. Still looks good. Guenter

Re: [BUG] 4.11.0-rc1 panic on shutdown X61s

2017-03-12 Thread lkml
On Sun, Mar 12, 2017 at 01:26:21PM +0100, Borislav Petkov wrote: > On Sun, Mar 12, 2017 at 12:57:03PM +0100, Borislav Petkov wrote: > > On Sat, Mar 11, 2017 at 09:37:23PM -0800, l...@pengaru.com wrote: > > > Hello list, > > > > > > Here's a photo of the panic, on imgur to be kind to vger: > > > ht

Re: [Outreachy kernel] [PATCH] staging: adis16060_core: Use private driver lock instead of mlock

2017-03-12 Thread Alison Schofield
On Sun, Mar 12, 2017 at 06:40:52PM +0530, simran singhal wrote: > The IIO subsystem is redefining iio_dev->mlock to be used by > the IIO core only for protecting device operating mode changes. > ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. > > In this driver, mlock was being used t

Re: [Outreachy kernel] [PATCH] staging: iio: ade7753: replace mlock with driver private lock

2017-03-12 Thread Alison Schofield
On Sun, Mar 12, 2017 at 07:02:50PM +0530, simran singhal wrote: > The IIO subsystem is redefining iio_dev->mlock to be used by > the IIO core only for protecting device operating mode changes. > ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. > > In this driver, mlock was being used t

Re: [PATCH v4 3/7] drm/tinydrm: Add MIPI DBI support

2017-03-12 Thread Daniel Vetter
On Sat, Feb 11, 2017 at 07:48:54PM +0100, Noralf Trønnes wrote: > +static int mipi_dbi_buf_copy(void *dst, struct drm_framebuffer *fb, > + struct drm_clip_rect *clip, bool swap) > +{ > + struct drm_gem_cma_object *cma_obj = drm_fb_cma_get_gem_obj(fb, 0); > + stru

Re: Linux 4.10.2

2017-03-12 Thread Robert Nelson
On Sun, Mar 12, 2017 at 8:05 AM, Greg KH wrote: > I'm announcing the release of the 4.10.2 kernel. > > All users of the 4.10 kernel series must upgrade. > > The updated 4.10.y git tree can be found at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > linux-4.10.y

[PATCH] hid: cp2112: select GPIOLIB_IRQCHIP instead of depending on it

2017-03-12 Thread Bartosz Golaszewski
GPIOLIB_IRQCHIP is not visible to user, so we can't depend on it. Depend on GPIOLIB but select GPIOLIB_IRQCHIP. Signed-off-by: Bartosz Golaszewski --- drivers/hid/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 1aeb80

Re: [PATCH v4 3/7] drm/tinydrm: Add MIPI DBI support

2017-03-12 Thread Daniel Vetter
On Sun, Mar 12, 2017 at 7:42 PM, Daniel Vetter wrote: > > The upshot of all this is two-fold: > > - You get rid of a tiny bit of book-keeping in each tinydrm driver (the > merge_clips above, plus the "is this the current fb on our hw" check). > > - There's lots more manual upload devices than ju

Lesen.

2017-03-12 Thread James Richard
Von: James Richard LLOYD BANKING PLC 25 Gresham Street London EC2V 7HN Vereinigtes Königreich. Tel: + 44-7024-0538-69 Fax: + 44-7092-8593-70 Mein lieber Freund. Mein Name ist James Richard von Lloyds Banking groug plc London, Großbritannien. Ich habe eine juristische transaktion für Sie, ic

Re: [RFC PATCH 00/12] Ion cleanup in preparation for moving out of staging

2017-03-12 Thread Daniel Vetter
On Sun, Mar 12, 2017 at 2:34 PM, Benjamin Gaignard wrote: > 2017-03-09 18:38 GMT+01:00 Laura Abbott : >> On 03/09/2017 02:00 AM, Benjamin Gaignard wrote: >>> 2017-03-06 17:04 GMT+01:00 Daniel Vetter : On Mon, Mar 06, 2017 at 11:58:05AM +0100, Mark Brown wrote: > On Mon, Mar 06, 2017 at 11

Re: Linux 4.10.2

2017-03-12 Thread Greg KH
On Sun, Mar 12, 2017 at 01:51:24PM -0500, Robert Nelson wrote: > On Sun, Mar 12, 2017 at 8:05 AM, Greg KH wrote: > > I'm announcing the release of the 4.10.2 kernel. > > > > All users of the 4.10 kernel series must upgrade. > > > > The updated 4.10.y git tree can be found at: > > > > git:

Re: XTS Crypto Not Found In /proc/crypto Even After Compiled for 4.10.1.

2017-03-12 Thread Krzysztof Kozlowski
On Fri, Mar 10, 2017 at 03:44:45PM -0600, Nathan Royce wrote: > Sure, I went ahead and rebuilt it just using the bare exynos_defconfig > and adding XTS and ECB and no other changes. > > No flags were used. No patches were used other than the 2 you > provided. Just the barest of bears, the barest o

[PATCH] staging: lustre shorten multiple lines over 80 char in lu_object.h

2017-03-12 Thread Craig Inches
This patch adjusts lines so that they are less than 80 char. Checkpatch.pl idenitified the issue. Signed-off-by: Craig Inches --- drivers/staging/lustre/lustre/include/lu_object.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/lustre/lustre/include

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Steve Longerbeam
On 03/12/2017 10:51 AM, Russell King - ARM Linux wrote: I've just looked at my test system's dmesg, and spotted this in the log. It's been a while since these popped out of the kernel, so I don't know what caused them (other than the obvious, a media-ctl command.) My script which sets this up

[PATCH] drm/i915: annote drop_caches debugfs interface with lockdep

2017-03-12 Thread Daniel Vetter
The trouble we have is that we can't really test all the shrinker recursion stuff exhaustively in BAT because any kind of thrashing stress test just takes too long. But that leaves a really big gap open, since shrinker recursions are one of the most annoying bugs. Now lockdep already has support f

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Russell King - ARM Linux
On Sun, Mar 12, 2017 at 12:21:45PM -0700, Steve Longerbeam wrote: > There's actually nothing preventing userland from disabling a link > multiple times, and imx_media_link_notify() complies, and so > csi_s_power(OFF) gets called multiple times, and so that WARN_ON() > in there is silly, I borrowed

Linux 4.9: libceph: use BUG() instead of BUG_ON(1)

2017-03-12 Thread Heinrich Schuchardt
Dear Greg, could you, please, consider the following patch for the next Linux 4.9 release to avoid a build failure with gcc 4.9: d24cdcd3e40a6825135498e11c20c7976b9bf545 libceph: use BUG() instead of BUG_ON(1) Best regards Heinrich Schuchardt

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Steve Longerbeam
On 03/12/2017 12:29 PM, Russell King - ARM Linux wrote: On Sun, Mar 12, 2017 at 12:21:45PM -0700, Steve Longerbeam wrote: There's actually nothing preventing userland from disabling a link multiple times, and imx_media_link_notify() complies, and so csi_s_power(OFF) gets called multiple times,

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Russell King - ARM Linux
Another issue. The "reboot and the /dev/video* devices come up in a completely different order" problem seems to exist with this version. The dot graph I supplied previously had "ipu1_csi0 capture" on /dev/video4. I've just rebooted, and now I find it's on /dev/video2 instead. Here's the extrac

Re: [PATCH v2] tpm_crb: request and relinquish locality 0

2017-03-12 Thread Jerry Snitselaar
Jarkko Sakkinen @ 2017-03-11 13:02 GMT: > Added two new callbacks to struct tpm_class_ops: > > - request_locality > - relinquish_locality > > These are called before sending and receiving data from the TPM. We > update also tpm_tis_core to use these callbacks. Small modification to > request_loc

The i915 stable patch marking is totally broken

2017-03-12 Thread Greg KH
Hi Daniel and Jani and other members of the i915-commit-cabal, I've mentioned this a few times to Daniel in the past (like at the last kernel summit), but the way you all are handling the tagging of patches for inclusion in stable kernel releases is totally broken and causing me no end of headache

Re: Linux 4.9: libceph: use BUG() instead of BUG_ON(1)

2017-03-12 Thread Greg Kroah-Hartman
On Sun, Mar 12, 2017 at 08:38:24PM +0100, Heinrich Schuchardt wrote: > Dear Greg, > > could you, please, consider the following patch for the next Linux 4.9 > release to avoid a build failure with gcc 4.9: > > d24cdcd3e40a6825135498e11c20c7976b9bf545 > libceph: use BUG() instead of BUG_ON(1) Wha

Re: [PATCH] drm/i915: annote drop_caches debugfs interface with lockdep

2017-03-12 Thread Chris Wilson
On Sun, Mar 12, 2017 at 08:27:16PM +0100, Daniel Vetter wrote: > The trouble we have is that we can't really test all the shrinker > recursion stuff exhaustively in BAT because any kind of thrashing > stress test just takes too long. > > But that leaves a really big gap open, since shrinker recurs

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Russell King - ARM Linux
On Sat, Mar 11, 2017 at 04:30:53PM -0800, Steve Longerbeam wrote: > If it's too difficult to get the imx219 csi-2 transmitter into the > LP-11 state on power on, perhaps the csi-2 receiver can be a little > more lenient on the transmitter and make the LP-11 timeout a warning > instead of error-out.

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Steve Longerbeam
On 03/12/2017 12:47 PM, Russell King - ARM Linux wrote: Another issue. The "reboot and the /dev/video* devices come up in a completely different order" problem seems to exist with this version. The dot graph I supplied previously had "ipu1_csi0 capture" on /dev/video4. I've just rebooted, an

Re: [PATCH v2 1/2] iio: Allow triggers to be used as parent of others triggers

2017-03-12 Thread Jonathan Cameron
On 05/03/17 15:29, Jason Kridner wrote: > > >> On Mar 5, 2017, at 5:11 AM, Jonathan Cameron wrote: >> >>> On 25/02/17 21:12, Jason Kridner wrote: >>> >>> > On Feb 19, 2017, at 10:08 AM, Jonathan Cameron wrote: > > On 16/02/17 14:23, Benjamin Gaignard wrote: > Add "parent_trigger

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Steve Longerbeam
On 03/12/2017 12:57 PM, Russell King - ARM Linux wrote: On Sat, Mar 11, 2017 at 04:30:53PM -0800, Steve Longerbeam wrote: If it's too difficult to get the imx219 csi-2 transmitter into the LP-11 state on power on, perhaps the csi-2 receiver can be a little more lenient on the transmitter and m

Re: [PATCH] serial: 8250: 8250_core: Use dev_name() during request_irq()

2017-03-12 Thread Andy Shevchenko
On Wed, Mar 8, 2017 at 2:19 PM, Vignesh R wrote: > Passing "serial" as name during request_irq() results in all serial port > irqs have same name. This does not help much to easily identify which > irq belongs to which serial port instance. Therefore pass dev_name() > during request_irq() so that

[PATCH] usb-core: Add MS_INTR_BINTERVAL USB quirk

2017-03-12 Thread Samuel Thibault
Some USB 2.0 devices erroneously report millisecond values in bInterval. The generic config code manages to catch most of them, but in some cases it's not completely enough. The case at stake here is a USB 2.0 braille device, which wants to announce 10ms and thus sets bInterval to 10, but with the

Re: The i915 stable patch marking is totally broken

2017-03-12 Thread Dave Airlie
On 13 March 2017 at 05:44, Greg KH wrote: > Hi Daniel and Jani and other members of the i915-commit-cabal, > > I've mentioned this a few times to Daniel in the past (like at the last > kernel summit), but the way you all are handling the tagging of patches > for inclusion in stable kernel releases

Re: Linux 4.10.2

2017-03-12 Thread Ilia Mirkin
On Sun, Mar 12, 2017 at 3:05 PM, Greg KH wrote: > On Sun, Mar 12, 2017 at 01:51:24PM -0500, Robert Nelson wrote: >> On Sun, Mar 12, 2017 at 8:05 AM, Greg KH wrote: >> > I'm announcing the release of the 4.10.2 kernel. >> > >> > All users of the 4.10 kernel series must upgrade. >> > >> > The updat

Proposal...

2017-03-12 Thread Teresa Au
Personal Business proposal for you,contact me via my personal E-mail for more detail's: ms_teresa_a...@outlook.com

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Steve Longerbeam
On 03/12/2017 12:44 PM, Steve Longerbeam wrote: On 03/12/2017 12:29 PM, Russell King - ARM Linux wrote: On Sun, Mar 12, 2017 at 12:21:45PM -0700, Steve Longerbeam wrote: There's actually nothing preventing userland from disabling a link multiple times, and imx_media_link_notify() complies,

Re: [PATCH v3 RFC] mm/vmscan: more restrictive condition for retry of shrink_zones

2017-03-12 Thread Shakeel Butt
On Sun, Mar 12, 2017 at 4:06 AM, Yisheng Xie wrote: > From: Yisheng Xie > > When we enter do_try_to_free_pages, the may_thrash is always clear, and > it will retry shrink zones to tap cgroup's reserves memory by setting > may_thrash when the former shrink_zones reclaim nothing. > > However, when

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Russell King - ARM Linux
On Sun, Mar 12, 2017 at 01:05:06PM -0700, Steve Longerbeam wrote: > > > On 03/12/2017 12:57 PM, Russell King - ARM Linux wrote: > >On Sat, Mar 11, 2017 at 04:30:53PM -0800, Steve Longerbeam wrote: > >>If it's too difficult to get the imx219 csi-2 transmitter into the > >>LP-11 state on power on,

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Steve Longerbeam
On 03/12/2017 01:16 PM, Steve Longerbeam wrote: On 03/12/2017 12:44 PM, Steve Longerbeam wrote: On 03/12/2017 12:29 PM, Russell King - ARM Linux wrote: On Sun, Mar 12, 2017 at 12:21:45PM -0700, Steve Longerbeam wrote: There's actually nothing preventing userland from disabling a link mul

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Steve Longerbeam
On 03/12/2017 01:36 PM, Steve Longerbeam wrote: On 03/12/2017 01:16 PM, Steve Longerbeam wrote: On 03/12/2017 12:44 PM, Steve Longerbeam wrote: On 03/12/2017 12:29 PM, Russell King - ARM Linux wrote: On Sun, Mar 12, 2017 at 12:21:45PM -0700, Steve Longerbeam wrote: There's actually no

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Russell King - ARM Linux
On Sun, Mar 12, 2017 at 01:36:32PM -0700, Steve Longerbeam wrote: > But hold on, if my logic is correct, then why did the CSI power-off > get reached in your case, multiple times? Yes I think there is a bug, > link_notify() is not checking if the link has already been disabled. > I will fix this. B

Programatically modifying .config

2017-03-12 Thread Drew DeVault
I'm in the research stage of making it so something to the effect of `make setconfig OPTION="CONFIG_E100E=y"` will work, bringing it up here for some discussion first. Digging into the kconfig code, this seems feasible, but complicated. A simple solver of some sort will be necessary to make the De

Re: [Intel-gfx] The i915 stable patch marking is totally broken

2017-03-12 Thread Daniel Vetter
On Sun, Mar 12, 2017 at 08:44:40PM +0100, Greg KH wrote: > Hi Daniel and Jani and other members of the i915-commit-cabal, > > I've mentioned this a few times to Daniel in the past (like at the last > kernel summit), but the way you all are handling the tagging of patches > for inclusion in stable

Re: Linux 4.10.2

2017-03-12 Thread Alexander Kapshuk
On Sun, Mar 12, 2017 at 10:11 PM, Ilia Mirkin wrote: > On Sun, Mar 12, 2017 at 3:05 PM, Greg KH wrote: >> On Sun, Mar 12, 2017 at 01:51:24PM -0500, Robert Nelson wrote: >>> On Sun, Mar 12, 2017 at 8:05 AM, Greg KH wrote: >>> > I'm announcing the release of the 4.10.2 kernel. >>> > >>> > All user

Re: [PATCH v2 3/8] ARM: dts: exynos: Fix watchdog reset on Exynos4412

2017-03-12 Thread Guenter Roeck
On 03/11/2017 09:25 AM, Krzysztof Kozlowski wrote: The Exynos4412 has the same watchdog as newer SoCs (e.g. Exynos5250). Just like the others, for working it requires additional steps in Power Management Unit: unmasking the reset request and enabling the system reset. Without these additional st

Re: [PATCH v2 4/8] ARM: dts: s3c64xx: Enable watchdog on all S3C64xx boards

2017-03-12 Thread Guenter Roeck
On 03/11/2017 09:25 AM, Krzysztof Kozlowski wrote: Watchdog module does not have external dependencies so it can be safely enabled in s3c64xx.dtsi thus making it available for all S3C64xx-based boards. Signed-off-by: Krzysztof Kozlowski Acked-by: Guenter Roeck --- arch/arm/boot/dts/s3c64x

Re: [PATCH v2 5/8] ARM: dts: exynos: Enable watchdog on all Exynos4 boards

2017-03-12 Thread Guenter Roeck
On 03/11/2017 09:25 AM, Krzysztof Kozlowski wrote: Watchdog module does not have external dependencies so it can be safely enabled in exynos4.dtsi thus making it available for all Exynos4-based boards. Signed-off-by: Krzysztof Kozlowski Acked-by: Guenter Roeck --- arch/arm/boot/dts/exynos

Re: [PATCH v2 6/8] ARM: dts: exynos: Fix infinite interrupt in soft mode on Exynos4210 and Exynos5440

2017-03-12 Thread Guenter Roeck
On 03/11/2017 09:25 AM, Krzysztof Kozlowski wrote: In soft (no-reboot) mode, the driver self-pings watchdog upon expiration of an interrupt. The interrupt has to be cleared, because otherwise system enters infinite interrupt handling loop. Use a samsung,s3c6410-wdt compatible to select appropri

Re: [PATCH v2 7/8] ARM: dts: s3c64xx: Fix infinite interrupt in soft mode

2017-03-12 Thread Guenter Roeck
On 03/11/2017 09:25 AM, Krzysztof Kozlowski wrote: In soft (no-reboot) mode, the driver self-pings watchdog upon expiration of an interrupt. The interrupt has to be cleared, because otherwise system enters infinite interrupt handling loop. Use a samsung,s3c6410-wdt compatible to select appropri

Re: [PATCH v2 8/8] ARM: dts: s5pv210: Fix infinite interrupt in soft mode

2017-03-12 Thread Guenter Roeck
On 03/11/2017 09:25 AM, Krzysztof Kozlowski wrote: In soft (no-reboot) mode, the driver self-pings watchdog upon expiration of an interrupt. The interrupt has to be cleared, because otherwise system enters infinite interrupt handling loop. Use a samsung,s3c6410-wdt compatible to select appropri

[PATCH] drm/i915: annote drop_caches debugfs interface with lockdep

2017-03-12 Thread Daniel Vetter
The trouble we have is that we can't really test all the shrinker recursion stuff exhaustively in BAT because any kind of thrashing stress test just takes too long. But that leaves a really big gap open, since shrinker recursions are one of the most annoying bugs. Now lockdep already has support f

Re: [PATCH v2 1/3] watchdog: s3c2410: Constify local structures

2017-03-12 Thread Guenter Roeck
On 03/11/2017 09:42 AM, Krzysztof Kozlowski wrote: Structures watchdog_device, watchdog_ops and s3c2410_wdt_variant are not modified so they can be made const to increase code safeness. Signed-off-by: Krzysztof Kozlowski --- drivers/watchdog/s3c2410_wdt.c | 10 +- 1 file changed, 5 ins

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-12 Thread Mauro Carvalho Chehab
Em Sun, 12 Mar 2017 19:47:00 + Russell King - ARM Linux escreveu: > Another issue. > > The "reboot and the /dev/video* devices come up in a completely > different order" problem seems to exist with this version. > > The dot graph I supplied previously had "ipu1_csi0 capture" on > /dev/video

<    1   2   3   4   >