Re: [PATCH 3/3] futex: make the encoded_op decoding readable

2017-03-04 Thread Jiri Slaby
On 03/03/2017, 01:27 PM, Jiri Slaby wrote: > Decoding of encoded_op is a bit unreadable. It contains shifts to the > left and to the right by some constants. Make it clearly visible what > part of the bit mask is taken and shift the values only to the right > appropriatelly. > > Signed-off-by: Jir

Re: [PATCH] PCI: Add cavium acs pci quirk

2017-03-04 Thread Sunil Kovvuri
On Tue, Feb 14, 2017 at 10:14 AM, Alex Williamson wrote: > On Sat, 30 Jan 2016 01:33:58 +0530 > Manish Jaggi wrote: > >> Cavium devices matching this quirk do not perform >> peer-to-peer with other functions, allowing masking out >> these bits as if they were unimplemented in the ACS capability.

[PATCH] Staging: iio: addac - fixed octal file permissions

2017-03-04 Thread Derek Robson
Changed file permission to octal style. Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/iio/addac/adt7316.c | 108 ++-- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/ii

[PATCH] staging: media: Remove unnecessary function and its call

2017-03-04 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. Signed-off-by: simran singhal --- drivers/staging/media/atomisp/pci/atom

Re: [PATCHv2 05/10] drm: omapdrm: crtc: detect manually updated displays

2017-03-04 Thread Tony Lindgren
* Sebastian Reichel [170304 16:45]: > Signed-off-by: Sebastian Reichel > [t...@atomide.com: rebased on event_lock changes] So for this feel free to add: Tested-by: Tony Lindgren Signed-off-by: Tony Lindgren

Re: [PATCHv2 04/10] drm: omapdrm: crtc: save framedone callback from dss

2017-03-04 Thread Tony Lindgren
* Sebastian Reichel [170304 16:45]: > Save the framedone callback supplied by dss for later > usage. > > Signed-off-by: Sebastian Reichel Tested-by: Tony Lindgren

Re: [PATCHv2 09/10] drm: omapdrm: crtc: get manual mode displays working

2017-03-04 Thread Tony Lindgren
* Sebastian Reichel [170304 16:45]: > From: Tony Lindgren > > With manual mode displays we need to flush the panel manually. > > Let's add flushing so we get Tomi's fbtest, kmstest, kmstest --flip, > and X and wayland working. > --- a/drivers/gpu/drm/omapdrm/omap_crtc.c > +++ b/drivers/gpu/drm/

Re: [PATCHv2 02/10] drm: omapdrm: panel-dsi-cm: add regulator support

2017-03-04 Thread Tony Lindgren
* Sebastian Reichel [170304 16:45]: > The N950's display requires two regulators. Also needed for droid 4: Tested-by: Tony Lindgren

Re: [Outreachy kernel] [PATCH v3 4/6] staging: fbtft: Fix sparse warnings of incorrect type in assignment

2017-03-04 Thread Alison Schofield
On Sun, Mar 05, 2017 at 10:35:33AM +0530, simran singhal wrote: > This patch fixes the following sparse warnings: > > drivers/staging/fbtft/fbtft-io.c:74:29: warning: incorrect type in assignment > (different base types) > drivers/staging/fbtft/fbtft-io.c:74:29:expected unsigned long long >

[PATCH v3 4/6] staging: fbtft: Fix sparse warnings of incorrect type in assignment

2017-03-04 Thread simran singhal
This patch fixes the following sparse warnings: drivers/staging/fbtft/fbtft-io.c:74:29: warning: incorrect type in assignment (different base types) drivers/staging/fbtft/fbtft-io.c:74:29:expected unsigned long long [unsigned] [long] [long long] [usertype] drivers/staging/fbtft/fbtft-io.c:7

Re: Question Regarding ERMS memcpy

2017-03-04 Thread Logan Gunthorpe
Hey, On 04/03/17 05:33 PM, Borislav Petkov wrote: > On Sat, Mar 04, 2017 at 04:23:17PM -0800, h...@zytor.com wrote: >> What are the compilation flags? It may be that gcc still does TRT >> depending on this call site. I'd check what gcc6 or 7 generates, >> though. > Hmm, I wish we were able to say,

Re: [Outreachy kernel] Re: [PATCH v2 4/6] staging: fbtft: Fix sparse warnings of incorrect type in assignment

2017-03-04 Thread Vaishali Thakkar
On Sun, Mar 5, 2017 at 10:10 AM, SIMRAN SINGHAL wrote: > On Sun, Mar 5, 2017 at 5:36 AM, Alison Schofield wrote: >> On Thu, Mar 02, 2017 at 02:26:37PM +0100, Noralf Trønnes wrote: >>> >>> Den 02.03.2017 14.04, skrev simran singhal: >>> >This patch fixes the following sparse warnings: >>> > >>> >d

Re: [Outreachy kernel] Re: [PATCH v2 4/6] staging: fbtft: Fix sparse warnings of incorrect type in assignment

2017-03-04 Thread SIMRAN SINGHAL
On Sun, Mar 5, 2017 at 5:36 AM, Alison Schofield wrote: > On Thu, Mar 02, 2017 at 02:26:37PM +0100, Noralf Trønnes wrote: >> >> Den 02.03.2017 14.04, skrev simran singhal: >> >This patch fixes the following sparse warnings: >> > >> >drivers/staging/fbtft/fbtft-bus.c:166:36: warning: incorrect type

Re: [PATCH v5 06/13] lockdep: Implement crossrelease feature

2017-03-04 Thread Byungchul Park
On Fri, Mar 03, 2017 at 10:13:38AM +0100, Peter Zijlstra wrote: > On Fri, Mar 03, 2017 at 09:14:16AM +0100, Peter Zijlstra wrote: > > Two boots + a make defconfig, the first didn't have the redundant bit > in, the second did (full diff below still includes the reclaim rework, > because that was st

[PATCH] MIPS: reset all task's asid to 0 after asid_cache(cpu) overflows

2017-03-04 Thread Jiwei Sun
If asid_cache(cpu) overflows, there may be two tasks with the same asid. It is a risk that the two different tasks may have the same address space. A process will update its asid to newer version only when switch_mm() is called and matches the following condition: if ((cpu_context(cpu, next) ^

Re: [PATCH v5 06/13] lockdep: Implement crossrelease feature

2017-03-04 Thread Byungchul Park
On Fri, Mar 03, 2017 at 09:14:16AM +0100, Peter Zijlstra wrote: > On Fri, Mar 03, 2017 at 09:17:37AM +0900, Byungchul Park wrote: > > On Thu, Mar 02, 2017 at 02:40:31PM +0100, Peter Zijlstra wrote: > > > > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > > > index a95e5d1..7baea8

Re: [PATCHv2 10/14] bpf: Use set_memory.h header

2017-03-04 Thread kbuild test robot
Hi Laura, [auto build test ERROR on linus/master] [also build test ERROR on next-20170303] [cannot apply to tip/x86/core drm/drm-next v4.10] [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/Laura-

[bdi_unregister] 165a5e22fa BUG kmalloc-512 (Not tainted): Poison overwritten

2017-03-04 Thread Fengguang Wu
83ee2890829a # 07:14 B 13 1 13 65 Merge 'linux-review/Georgios-Emmanouil/Staging-wilc1000-linux_wlan-Modified-the-if-else-statement/20170304-041306' into devel-spot-201703041408 git bisect bad 6740c9bb3604e0be1db08f0e81d02843cd057775 # 07:24 B 38 3 37

Re: [PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump

2017-03-04 Thread Jamal Hadi Salim
On 17-03-04 07:01 PM, Alexey Khoroshilov wrote: Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Acked-by: Jamal Hadi Salim cheers, jamal

[PATCH] Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw

2017-03-04 Thread Matjaz Hegedic
EeeBook X205TA is yet another ASUS device with a special touchpad firmware that needs to be accounted for during initialization, or else the touchpad will go into an invalid state upon suspend/resume. Adding the appropriate ic_type and product_id check fixes the problem. Signed-off-by: Matjaz Hege

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

2017-03-04 Thread kys
From: K. Y. Srinivasan Miscellaneous cleanup. Stephen Hemminger (9): vmbus: only reschedule tasklet if time limit exceeded hyperv: fix warning about missing prototype vmbus: remove useless return's vmbus: remove unnecessary initialization vmbus: fix spelling errors hyperv: remove unn

[PATCH 5/9] vmbus: fix spelling errors

2017-03-04 Thread kys
From: Stephen Hemminger Several spelling errors in comments Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel.c | 10 +- drivers/hv/hv_kvp.c | 10 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/hv/channel.

[PATCH 2/9] hyperv: fix warning about missing prototype

2017-03-04 Thread kys
From: Stephen Hemminger Compiling with warnings enabled finds missing prototype for hv_do_hypercall. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- arch/x86/hyperv/hv_init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/hyperv/hv_init

[PATCH 3/9] vmbus: remove useless return's

2017-03-04 Thread kys
From: Stephen Hemminger No need for empty return at end of void function Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_balloon.c |2 -- drivers/hv/hv_fcopy.c|2 -- drivers/hv/hv_kvp.c |2 -- drivers/hv/hv_snapshot.c |2 -- drivers

[PATCH 1/9] vmbus: only reschedule tasklet if time limit exceeded

2017-03-04 Thread kys
From: Stephen Hemminger The change to reschedule tasklet if more data arrives in ring buffer can cause performance regression if host timing is such that the next response happens in small window. Go back to a modified version of the original looping behavior. If the race occurs in a small time,

[PATCH 9/9] vmbus: expose debug info for drivers

2017-03-04 Thread kys
From: Stephen Hemminger Allow driver to get debug information about state of the ring. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- drivers/hv/hyperv_vmbus.h | 11 --- drivers/hv/ring_buffer.c |1 + include/linux/hyperv.h| 17 + 3 f

[PATCH 8/9] vmbus: cleanup header file style

2017-03-04 Thread kys
From: Stephen Hemminger Minor changes to align hyper-v vmbus include files with current linux kernel style. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- drivers/hv/hyperv_vmbus.h | 16 include/linux/hyperv.h| 12 ++-- 2 files changed, 1

[PATCH 7/9] vmbus: make channel_message table constant

2017-03-04 Thread kys
From: Stephen Hemminger This table is immutable and should be const. Cleanup indentation and whitespace for this as well. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c | 48 ++-- drivers/hv/hyperv_vmbus

[PATCH 4/9] vmbus: remove unnecessary initialization

2017-03-04 Thread kys
From: Stephen Hemminger Don't initialize variables that are then set a few lines later. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- drivers/hv/ring_buffer.c | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/hv/ring_buffer.c b

Re: [PATCH v5 2/5] staging: lustre: Remove unnecessary cast on void pointer

2017-03-04 Thread James Simmons
> The following Coccinelle script was used to detect this: > @r@ > expression x; > void* e; > type T; > identifier f; > @@ > ( > *((T *)e) > | > ((T *)x)[...] > | > ((T*)x)->f > | > - (T*) > e > ) > > Signed-off-by: simran singhal Reviewed-by: James Simmons > --- > drivers/staging/lu

[PATCH 6/9] hyperv: remove unnecessary return variable

2017-03-04 Thread kys
From: Stephen Hemminger hv_ringbuffer_read cleanup. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- drivers/hv/ring_buffer.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c index 52d0556..8a

Re: [PATCHv2 07/14] drm: Use set_memory.h header

2017-03-04 Thread kbuild test robot
Hi Laura, [auto build test ERROR on linus/master] [also build test ERROR on next-20170303] [cannot apply to tip/x86/core drm/drm-next v4.10] [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/Laura-

[PATCH 2/4] vmbus: remove hv_event_tasklet_disable/enable

2017-03-04 Thread kys
From: Dexuan Cui With the recent introduction of per-channel tasklet, we need to update the way we handle the 3 concurrency issues: 1. hv_process_channel_removal -> percpu_channel_deq vs. vmbus_chan_sched -> list_for_each_entry(..., percpu_list); 2. vmbus_process_offer -> percpu_channel_enq/

[PATCH 4/4] Drivers: hv: util: don't forget to init host_ts.lock

2017-03-04 Thread kys
From: Dexuan Cui Without the patch, I always get a "BUG: spinlock bad magic" warning. Fixes: 3716a49a81ba ("hv_utils: implement Hyper-V PTP source") Signed-off-by: Dexuan Cui Cc: Vitaly Kuznetsov Cc: "K. Y. Srinivasan" Cc: Haiyang Zhang Cc: Stephen Hemminger Signed-off-by: K. Y. Srinivasan

[PATCH 1/4] vmbus: use rcu for per-cpu channel list

2017-03-04 Thread kys
From: Stephen Hemminger The per-cpu channel list is now referred to in the interrupt routine. This is mostly safe since the host will not normally generate an interrupt when channel is being deleted but if it did then there would be a use after free problem. To solve, this use RCU protection on

[PATCH 3/4] Drivers: hv: util: move waiting for release to hv_utils_transport itself

2017-03-04 Thread kys
From: Vitaly Kuznetsov Waiting for release_event in all three drivers introduced issues on release as on_reset() hook is not always called. E.g. if the device was never opened we will never get the completion. Move the waiting code to hvutil_transport_destroy() and make sure it is only called wh

[PATCH 0/4] Drivers: hv: vmbus: Miscellaneous Fixes

2017-03-04 Thread kys
From: K. Y. Srinivasan These patches fix several issues introduced in 4.11. Greg, Please pick these patches for 4.11. Dexuan Cui (2): vmbus: remove hv_event_tasklet_disable/enable Drivers: hv: util: don't forget to init host_ts.lock Stephen Hemminger (1): vmbus: use rcu for per-cpu channe

Re: rcu: WARNING in rcu_seq_end

2017-03-04 Thread Paul E. McKenney
On Sat, Mar 04, 2017 at 05:01:19PM +0100, Dmitry Vyukov wrote: > Hello, > > Paul, you wanted bugs in rcu. Well, whether I want them or not, I must deal with them. ;-) > I've got this WARNING while running syzkaller fuzzer on > 86292b33d4b79ee03e2f43ea0381ef85f077c760: > > [ cut her

[PATCH] x86/reboot/quirks: add ASUS EeeBook X205TA reboot quirk

2017-03-04 Thread Matjaz Hegedic
Without the parameter reboot=a, ASUS EeeBook X205TA will hang when it should reboot. This adds the appropriate quirk, thus fixing the problem. Signed-off-by: Matjaz Hegedic --- arch/x86/kernel/reboot.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/x86/kernel/reboot.c b/arch/x8

Re: Question Regarding ERMS memcpy

2017-03-04 Thread hpa
On March 4, 2017 4:33:49 PM PST, Borislav Petkov wrote: >On Sat, Mar 04, 2017 at 04:23:17PM -0800, h...@zytor.com wrote: >> What are the compilation flags? It may be that gcc still does TRT >> depending on this call site. I'd check what gcc6 or 7 generates, >> though. > >Well, I don't think that m

Re: [PATCH v5 3/5] staging: lustre: lustre: Remove unnecessary cast on void pointer

2017-03-04 Thread James Simmons
> The following Coccinelle script was used to detect this: > @r@ > expression x; > void* e; > type T; > identifier f; > @@ > ( > *((T *)e) > | > ((T *)x)[...] > | > ((T*)x)->f > | > - (T*) > e > ) > > Signed-off-by: simran singhal Reviewed-by: James Simmons > --- > > v5: >-Fixed

[GIT] Networking

2017-03-04 Thread David Miller
1) Fix double-free in batman-adv, from Sven Eckelmann. 2) Fix packet stats for fast-RX path, from Joannes Berg. 3) Netfilter's ip_route_me_harder() doesn't handle request sockets properly, fix from Florian Westphal. 4) Fix sendmsg deadlock in rxrpc, from David Howells. 5) Add missing RCU lo

Re: [PATCH] serial: 8250_dw: Fix breakage when HAVE_CLK=n

2017-03-04 Thread Heiko Stuebner
Am Samstag, 4. März 2017, 13:09:58 CET schrieb James Hogan: > Commit 6a171b299379 ("serial: 8250_dw: Allow hardware flow control to be > used") recently broke the 8250_dw driver on platforms which don't select > HAVE_CLK, as dw8250_set_termios() gets confused by the behaviour of the > fallback HAVE

[PATCHv2 06/10] drm: omapdrm: crtc: add support for manual updated displays

2017-03-04 Thread Sebastian Reichel
Signed-off-by: Sebastian Reichel [t...@atomide.com: rebased and fixed up to work with droid 4] Signed-off-by: Tony Lindgren --- drivers/gpu/drm/omapdrm/omap_connector.c | 12 -- drivers/gpu/drm/omapdrm/omap_crtc.c | 65 drivers/gpu/drm/omapdrm/omap_drv.h

[PATCHv2 07/10] drm: omapdrm: plane: update fifo size on atomic update

2017-03-04 Thread Sebastian Reichel
This is a workaround for a hardware bug occuring on OMAP3 with manually updated panels. Details about the HW bug are unknown to me, but without this fix the panel refresh does not work at all on Nokia N950. Signed-off-By: Sebastian Reichel --- drivers/gpu/drm/omapdrm/dss/dispc.c | 2 ++ drive

[PATCHv2 10/10] ARM: dts: n950: add display support

2017-03-04 Thread Sebastian Reichel
Add basic panel support for the Nokia N950. It must be tweaked a little bit later, since the panel was built into the device upside-down. Also the first 5 and the last 5 pixels are covered by plastic. Signed-off-By: Sebastian Reichel --- arch/arm/boot/dts/omap3-n950.dts | 89

[PATCHv2 09/10] drm: omapdrm: crtc: get manual mode displays working

2017-03-04 Thread Sebastian Reichel
From: Tony Lindgren With manual mode displays we need to flush the panel manually. Let's add flushing so we get Tomi's fbtest, kmstest, kmstest --flip, and X and wayland working. Signed-off-by: Tony Lindgren [On Nokia N950] Tested-By: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c

[PATCHv2 08/10] drm: omapdrm: crtc: handle framedone directly

2017-03-04 Thread Sebastian Reichel
From: Tony Lindgren We can handle framedone interrupt directly simlar to commit e0519af75d6e ("drm: omapdrm: Handle CRTC error IRQs directly"). By default we just print a warning on framedone and do nothing. Any manually refreshed displays can register a callback. Signed-off-by: Tony Lindgren

[PATCHv2 05/10] drm: omapdrm: crtc: detect manually updated displays

2017-03-04 Thread Sebastian Reichel
Signed-off-by: Sebastian Reichel [t...@atomide.com: rebased on event_lock changes] --- drivers/gpu/drm/omapdrm/dss/omapdss.h| 1 + drivers/gpu/drm/omapdrm/dss/output.c | 6 ++ drivers/gpu/drm/omapdrm/omap_connector.c | 7 +++ drivers/gpu/drm/omapdrm/omap_crtc.c | 29 ++

[PATCHv2 04/10] drm: omapdrm: crtc: save framedone callback from dss

2017-03-04 Thread Sebastian Reichel
Save the framedone callback supplied by dss for later usage. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index b68

[PATCHv2 03/10] Revert "drm: omapdrm: Remove manual update display support"

2017-03-04 Thread Sebastian Reichel
This reverts commit 5a35876e2830511cb8110667fc426c6a6165a593. Revert the removal of manual update display support in preparation for DSI command mode panels. Signed-off-By: Sebastian Reichel [t...@atomide.com: left out unused omap_framebuffer_dirty] Signed-off-by: Tony Lindgren --- drivers/gpu

[PATCHv2 01/10] drm: omapdrm: panel-dsi-cm: Fix probe for device tree

2017-03-04 Thread Sebastian Reichel
From: Tony Lindgren Things are a bit whacked right now for panel-dsi-cm: 1. We're missing call to of_get_display_timing() and videomode_from_timing() 2. We need to call dsicm_probe_of() after we initialize the default values to not overwrite device tree configured values 3. We need to

[PATCHv2 02/10] drm: omapdrm: panel-dsi-cm: add regulator support

2017-03-04 Thread Sebastian Reichel
The N950's display requires two regulators. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 55 +++-- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapd

Re: [PATCH v4 13/36] [media] v4l2: add a frame timeout event

2017-03-04 Thread Steve Longerbeam
On 03/04/2017 02:56 AM, Sakari Ailus wrote: Hi Steve, On Fri, Mar 03, 2017 at 02:43:51PM -0800, Steve Longerbeam wrote: On 03/03/2017 03:45 AM, Sakari Ailus wrote: On Thu, Mar 02, 2017 at 03:07:21PM -0800, Steve Longerbeam wrote: On 03/02/2017 07:53 AM, Sakari Ailus wrote: Hi Steve, O

Re: Question Regarding ERMS memcpy

2017-03-04 Thread Borislav Petkov
On Sat, Mar 04, 2017 at 04:23:17PM -0800, h...@zytor.com wrote: > What are the compilation flags? It may be that gcc still does TRT > depending on this call site. I'd check what gcc6 or 7 generates, > though. Well, I don't think that matters: if you're building a kernel on one machine to boot on a

Re: Question Regarding ERMS memcpy

2017-03-04 Thread hpa
On March 4, 2017 4:14:47 PM PST, Borislav Petkov wrote: >On Sat, Mar 04, 2017 at 03:55:27PM -0800, h...@zytor.com wrote: >> For newer processors, as determined by -mtune=, it is actually the >> best option for an arbitrary copy. > >So his doesn't have ERMS - it is a SNB - so if for SNB REP_GOOD is

RE: [PATCH 1/1] Drivers: hv: util: on deinit, don't wait the release event, if we shouldn't

2017-03-04 Thread KY Srinivasan
> -Original Message- > From: k...@exchange.microsoft.com [mailto:k...@exchange.microsoft.com] > Sent: Monday, February 27, 2017 3:18 PM > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com

Re: Question Regarding ERMS memcpy

2017-03-04 Thread Borislav Petkov
On Sat, Mar 04, 2017 at 03:55:27PM -0800, h...@zytor.com wrote: > For newer processors, as determined by -mtune=, it is actually the > best option for an arbitrary copy. So his doesn't have ERMS - it is a SNB - so if for SNB REP_GOOD is the best option for memcpy, then we should probably build wit

Re: [PATCH 0/3] ARC: get frequency via clock driver instead of reading device tree

2017-03-04 Thread Vineet Gupta
On 03/03/2017 03:29 AM, Vlad Zakharov wrote: > This patch series replaces reading device tree with getting CPU > clock frequency via clock driver in show_cpuinfo function. > > In order to achieve this we also add cpu nodes to device tree which > describes SMP system and add "clocks" properties to

Re: [Outreachy kernel] Re: [PATCH v2 4/6] staging: fbtft: Fix sparse warnings of incorrect type in assignment

2017-03-04 Thread Alison Schofield
On Thu, Mar 02, 2017 at 02:26:37PM +0100, Noralf Trønnes wrote: > > Den 02.03.2017 14.04, skrev simran singhal: > >This patch fixes the following sparse warnings: > > > >drivers/staging/fbtft/fbtft-bus.c:166:36: warning: incorrect type in > >assignment (different base types) > >drivers/staging/fb

Re: [PATCHv2 14/14] treewide: Decouple cacheflush.h and set_memory.h

2017-03-04 Thread kbuild test robot
Hi Laura, [auto build test ERROR on linus/master] [also build test ERROR on next-20170303] [cannot apply to tip/x86/core drm/drm-next v4.10] [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/Laura-

RE: [PATCH 1/1] Drivers: hv: util: don't forget to init host_ts.lock

2017-03-04 Thread KY Srinivasan
> -Original Message- > From: k...@exchange.microsoft.com [mailto:k...@exchange.microsoft.com] > Sent: Monday, February 27, 2017 5:26 PM > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com

[PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump

2017-03-04 Thread Alexey Khoroshilov
Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- net/sched/act_skbmod.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/sched/act_skbmod.c b/net/sched/act_skbmod.c index 3b7074e23024..c736627f8f4a 100644 --- a/net/sched/act_skbmod.c +++

arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'.

2017-03-04 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2d62e0768d3c28536d4cfe4c40ba1e5e8e442a93 commit: 0e9f9fd20ce931cc2cf0519c56ae33fc74d656ad openrisc: add atomic bitops date: 8 days ago config: openrisc-or1ksim_defconfig (attached as .config) compiler: or32

Re: Question Regarding ERMS memcpy

2017-03-04 Thread hpa
On March 4, 2017 3:46:44 PM PST, Logan Gunthorpe wrote: >Hi Borislav, > >Thanks for the help. > >On 04/03/17 03:43 PM, Borislav Petkov wrote: >> You can boot with "debug-alternative" and look for those strings >where > >Here's the symbols for memcpy and the corresponding apply_alternatives >lines:

Re: [PATCH 0/8] Droid4 DTS update

2017-03-04 Thread Sebastian Reichel
Hi, On Sat, Mar 04, 2017 at 08:26:55AM -0800, Tony Lindgren wrote: > * Tony Lindgren [170303 08:31]: > > * Sebastian Reichel [170303 03:03]: > > > On Wed, Mar 01, 2017 at 05:49:11PM -0800, Tony Lindgren wrote: > > > > Some of the command mode LCD patches could be sent out too, and > > > > if the

[PATCHv2 00/10] Nokia N950 basic display support

2017-03-04 Thread Sebastian Reichel
Hi, Some of you may remember, that I sent a series for the N950 display some time ago. N950 has command mode DSI panel, so the main part of the patchset takes care of adding manual display update support in omapdrm. The N950 also requires display rotation (the panel is mounted vertically and bott

Re: [PATCH 1/3] futex: remove duplicated code

2017-03-04 Thread Stafford Horne
On Sat, Mar 04, 2017 at 03:08:50PM -0800, H. Peter Anvin wrote: > ,Chris Metcalf ,Thomas Gleixner > ,Ingo Molnar ,Chris Zankel > ,Max Filippov ,Arnd Bergmann > ,x...@kernel.org,linux-al...@vger.kernel.org,linux-snps-...@lists.infradead.org,linux-arm-ker...@lists.infradead.org,linux-hexa...@vger.

Re: [PATCH] tools/power turbostat: turbostat.8 add missing column definitions

2017-03-04 Thread Len Brown
Applied -- Thanks! Len Brown, Intel Open Source Technology Center

Re: [PATCH 1/3] futex: remove duplicated code

2017-03-04 Thread H. Peter Anvin
,Chris Metcalf ,Thomas Gleixner ,Ingo Molnar ,Chris Zankel ,Max Filippov ,Arnd Bergmann ,x...@kernel.org,linux-al...@vger.kernel.org,linux-snps-...@lists.infradead.org,linux-arm-ker...@lists.infradead.org,linux-hexa...@vger.kernel.org,linux-i...@vger.kernel.org,linux-m...@linux-mips.org,openr...

Re: [PATCH 1/3] futex: remove duplicated code

2017-03-04 Thread H. Peter Anvin
,Chris Metcalf ,Thomas Gleixner ,Ingo Molnar ,Chris Zankel ,Max Filippov ,Arnd Bergmann ,x...@kernel.org,linux-al...@vger.kernel.org,linux-snps-...@lists.infradead.org,linux-arm-ker...@lists.infradead.org,linux-hexa...@vger.kernel.org,linux-i...@vger.kernel.org,linux-m...@linux-mips.org,openr...

[PATCH] net: sun: sungem: use new api ethtool_{get|set}_link_ksettings

2017-03-04 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/sun/sungem.c | 98 +-

arch/x86/include/asm/pgtable.h:888:2: error: implicit declaration of function 'native_pud_clear'

2017-03-04 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2d62e0768d3c28536d4cfe4c40ba1e5e8e442a93 commit: a00cc7d9dd93d66a3fb83fc52aa57a4bec51c517 mm, x86: add support for PUD-sized transparent hugepages date: 8 days ago config: i386-randconfig-x010-201710 (atta

Re: [PATCHv2 14/14] treewide: Decouple cacheflush.h and set_memory.h

2017-03-04 Thread kbuild test robot
Hi Laura, [auto build test ERROR on linus/master] [also build test ERROR on next-20170303] [cannot apply to tip/x86/core drm/drm-next v4.10] [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/Laura-

Re: [PATCHv2] omap3isp: add support for CSI1 bus

2017-03-04 Thread Pavel Machek
Hi! > > > > + if (isp->phy_type == ISP_PHY_TYPE_3430) { > > > > + struct media_pad *pad; > > > > + struct v4l2_subdev *sensor; > > > > + const struct isp_ccp2_cfg *buscfg; > > > > + > > > > + pad = > > > > media_entity_remote_pad(&ccp2

Re: [PATCH 3/3] Staging:wilc1000:host_interface: Integrated two 'if' statements to a single 'if' statement

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 2:38 AM, Georgios Emmanouil wrote: > Removed unnecessary 'if' statement and integrated the condition to the > previous 'if' statement. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/host_interface.c | 12 +-

Re: [PATCH 2/3] Staging:wilc1000:host_interface: Fixed alignment to match open parenthesis

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 2:37 AM, Georgios Emmanouil wrote: > Fixed alignment to match open parenthesis. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/host_interface.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) -- Julia

Re: [PATCH 1/3] Staging:wilc1000:host_interface: Removed unnecessary blank line

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 2:35 AM, Georgios Emmanouil wrote: > Removed unnecessary blank line. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/host_interface.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/staging/wilc1

[PATCH] tools/power turbostat: turbostat.8 add missing column definitions

2017-03-04 Thread Doug Smythies
Add GFX%rc6 and GFXMHz to the column descriptions section of the turbostat man page. Signed-off-by: Doug Smythies --- tools/power/x86/turbostat/turbostat.8 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/power/x86/turbostat/turbostat.8 b/tools/power/x86/turbostat/turbostat.8 index f

Re: [PATCH] Staging:wilc1000:wilc_sdio: Modified comment style to preferred kernel comment style

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 3:41 AM, Georgios Emmanouil wrote: > Modified comment style to preferred kernel comment style. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/wilc_sdio.c | 13 + > 1 file changed, 5 insertions(+), 8

Re: [PATCH] net: smsc: smc91x: use new api ethtool_{get|set}_link_ksettings

2017-03-04 Thread Philippe Reynes
Hi Robert, On 3/4/17, Robert Jarzmik wrote: > Philippe Reynes writes: > >> 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. > I have the hardwar

Re: [PATCH] Staging:wilc1000:linux_wlan: Modified the 'if-else' statement

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 3:14 AM, Georgios Emmanouil wrote: > Modified the 'if-else' statement to make it more readable. > > Signed-off-by: Georgios Emmanouil Again, I'm dubious if this is needed or helpful, but Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/linux_wlan.c

Re: [PATCH 4/4] Staging:wilc1000:wilc_spi: Added blank line after function and modified comment style

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 4:07 AM, Georgios Emmanouil wrote: > Added blank line after function and modified comment style. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/wilc_spi.c | 7 ++- > 1 file changed, 2 insertions(+), 5 delet

Re: [PATCH 3/4] Staging:wilc1000:wilc_spi: Fixed spelling error

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 4:06 AM, Georgios Emmanouil wrote: > Fixed spelling error. 'unkmown' to 'unknown'. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/wilc_spi.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) --

Re: [PATCH 2/4] Staging:wilc1000:wilc_spi: Fixed alignment to match parenthesis

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 4:05 AM, Georgios Emmanouil wrote: > Fixed alignment to match parenthesis. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/wilc_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) -- Julian Calaby E

Re: [PATCH 1/4] Staging:wilc1000:wilc_spi: Fixed comment style to the preferred kernel comment style

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 4:04 AM, Georgios Emmanouil wrote: > Fixed comment style to the preferred kernel comment style. Fixing comment style and other stuff like that are the _least_ of the problems with this driver, but you've done it, so... > Signed-off-by: Georgios Emmanouil Reviewe

Re: Question Regarding ERMS memcpy

2017-03-04 Thread Borislav Petkov
On Sat, Mar 04, 2017 at 01:08:15PM -0700, Logan Gunthorpe wrote: > So my question is: how do I find out what version of memcpy my actual > machine is using and fix it if it is wrong? You can boot with "debug-alternative" and look for those strings where it says "feat:" [0.261386] apply_altern

Re: [PATCH] hwmon: (dell-smm) Add Dell XPS 15 9560 into DMI list

2017-03-04 Thread Vasile Dumitrescu
ok, but how? I am on Debian, and I never in my life compiled a kernel... What would I need to do? On 4 March 2017 at 18:44, Andy Shevchenko wrote: > On Sat, Mar 4, 2017 at 12:41 AM, Pali Rohár wrote: >> It was reported that dell-smm-hwmon is working fine on Dell XPS 15 9560. >> >> Link: http:/

Re: [PATCH] Staging: media: platform: bcm2835 - Style fix

2017-03-04 Thread Derek Robson
On Sat, Mar 04, 2017 at 02:57:22PM +0300, Dan Carpenter wrote: > Copy a patch prefix that everyone else has been using: > > git log --oneline drivers/staging/media/platform/bcm2835/ > > The subject is too vague as well. Is this what you are looking for? [patch] Staging: bcm2835: fixed style of

Re: [PATCH 1/3] futex: remove duplicated code

2017-03-04 Thread Stafford Horne
On Sat, Mar 04, 2017 at 11:15:17AM -0800, H. Peter Anvin wrote: > On 03/04/17 05:05, Russell King - ARM Linux wrote: > >> > >> +static int futex_atomic_op_inuser(int encoded_op, u32 __user *uaddr) > >> +{ > >> + int op = (encoded_op >> 28) & 7; > >> + int cmp = (encoded_op >> 24) & 15; > >> +

Question Regarding ERMS memcpy

2017-03-04 Thread Logan Gunthorpe
Hi, I'm trying to chase down a performance issue with a driver I'm working on that does a repeated memcpy_fromio of about 1KB from a PCI device. I made a small change from a fixed size copy to a variable size only to be surprised with a performance decrease of about 1/3. I've looked through the c

net/sched: act_skbmod: rcu_read_unlock in tcf_skbmod_dump?

2017-03-04 Thread Alexey Khoroshilov
Hello! rcu_read_unlock() in tcf_skbmod_dump() looks suspicious to me. What does it mean there? -- Thank you, Alexey Khoroshilov Linux Verification Center, ISPRAS web: http://linuxtesting.org

Re: [PATCH 07/12] gpio: pxa: use devm_irq_alloc_descs()

2017-03-04 Thread Robert Jarzmik
Bartosz Golaszewski writes: > This driver never frees the interrupt descriptors it allocates. Fix > it by using the resource managed version of irq_alloc_descs(). > > Signed-off-by: Bartosz Golaszewski Acked-by: Robert Jarzmik -- Robert

Re: [PATCH] net: smsc: smc91x: use new api ethtool_{get|set}_link_ksettings

2017-03-04 Thread Robert Jarzmik
Philippe Reynes writes: > 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. I have the hardware. Do you want anything specific to be tested, like set

Re: net: heap out-of-bounds in fib6_clean_node/rt6_fill_node/fib6_age/fib6_prune_clone

2017-03-04 Thread Eric Dumazet
On Sat, 2017-03-04 at 19:57 +0100, Dmitry Vyukov wrote: > On Fri, Mar 3, 2017 at 8:12 PM, David Ahern wrote: > > On 3/3/17 6:39 AM, Dmitry Vyukov wrote: > >> I am getting heap out-of-bounds reports in > >> fib6_clean_node/rt6_fill_node/fib6_age/fib6_prune_clone while running > >> syzkaller fuzzer

Re: [media] omap3isp: Correctly set IO_OUT_SEL and VP_CLK_POL for CCP2 mode

2017-03-04 Thread Pavel Machek
On Sat 2017-03-04 17:15:34, Sakari Ailus wrote: > On Wed, Mar 01, 2017 at 12:45:46PM +0100, Pavel Machek wrote: > > ISP CSI1 module needs all the bits correctly set to work. > > > > Signed-off-by: Ivaylo Dimitrov > > Signed-off-by: Pavel Machek > > > > How are you sending the patches? manuall

Re: fs: use-after-free in path_lookupat

2017-03-04 Thread Al Viro
On Sat, Mar 04, 2017 at 03:59:36PM +0100, Dmitry Vyukov wrote: > I am getting the following use-after-free reports while running > syzkaller fuzzer on 86292b33d4b79ee03e2f43ea0381ef85f077c760 (but also > happened on 6dc39c50e4aeb769c8ae06edf2b1a732f3490913 and > c82be9d2244aacea9851c86f4fb74694c99

Re: [PATCH 1/3] futex: remove duplicated code

2017-03-04 Thread H. Peter Anvin
On 03/04/17 05:05, Russell King - ARM Linux wrote: >> >> +static int futex_atomic_op_inuser(int encoded_op, u32 __user *uaddr) >> +{ >> +int op = (encoded_op >> 28) & 7; >> +int cmp = (encoded_op >> 24) & 15; >> +int oparg = (encoded_op << 8) >> 20; >> +int cmparg = (encoded_op <<

[PATCH 2/2] Staging: comedi: comedi_fops: Fix "out of minor numbers for board device files"

2017-03-04 Thread Cheah Kok Cheong
If comedi module is loaded with the following max allowed parameter [comedi_num_legacy_minors=48], subsequent loading of an auto-configured device will fail. In this case a default to auto-configuration comedi_test module failed to load with the following messages. comedi_test comedi_testd: ran o

[PATCH 1/2] Staging: comedi: comedi_fops: Change comedi_num_legacy_minors type

2017-03-04 Thread Cheah Kok Cheong
Change to unsigned to allow removal of negative value check in init section. Use smaller data type since the max possible value currently is 48. Signed-off-by: Cheah Kok Cheong --- drivers/staging/comedi/comedi_fops.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dri

  1   2   3   >