Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64

2016-05-17 Thread Andreas Schwab
Joseph Myers writes: > On Tue, 17 May 2016, Arnd Bergmann wrote: > >> I think it has become easier to override now and we just need to >> update sysdeps/unix/sysv/linux/generic/bits/typesizes.h to set >> >> #define __INO64_T_TYPE __UQUAD_TYPE >> #define __OFF64_T_TYPE __UQUAD_T

Re: [PATCH] sound: oss: Use setup_timer and mod_timer.

2016-05-17 Thread Takashi Iwai
On Sun, 15 May 2016 12:56:51 +0200, Muhammad Falak R Wani wrote: > > The function setup_timer combines the initialization of a timer with the > initialization of the timer's function and data fields. The mulitiline > code for timer initialization is now replaced with function setup_timer. > > Als

Re: [PATCH net] net: dsa: mv88e6xxx: remove bridge work

2016-05-17 Thread Andrew Lunn
On Tue, May 17, 2016 at 11:39:23AM -0400, Vivien Didelot wrote: > Hi David, > > David Miller writes: > > > From: Vivien Didelot > > Date: Fri, 13 May 2016 21:28:28 -0400 > > > >> Hi David, > >> > >> Vivien Didelot writes: > >> > >>> Now that the bridge code defers the switchdev port state se

Re: linux-4.6/net/kcm/kcmsock.c:1508: bad if test ?

2016-05-17 Thread Cong Wang
On Mon, May 16, 2016 at 11:40 AM, David Binderman wrote: > Hello there, > > linux-4.6/net/kcm/kcmsock.c:1508]: (style) Checking if unsigned > variable 'copied' is less than zero. > > Source code is > > if (copied < 0) { > > but > >size_t copied; > > Suggest code rework. Thanks for the rep

Re: [RFC][PATCH] printk: Add option to append kernel version to the dict

2016-05-17 Thread Tejun Heo
On Wed, May 18, 2016 at 12:43:10AM +0900, Sergey Senozhatsky wrote: > > Given that most of the messages are written minding typical console > > widths, whether for editing or outputting, I don't think that's a > > practical concern. We're not talking about appending kilobytes worth > > of addition

Re: [PATCH v2 6/6] doc: dt: Document the target root overlay method

2016-05-17 Thread Pantelis Antoniou
Hi Rob, > On May 17, 2016, at 15:58 , Rob Herring wrote: > > On Mon, May 16, 2016 at 3:18 PM, Pantelis Antoniou > wrote: >> Add a description of the target root overlay method to the overlay >> documention file. >> >> Signed-off-by: Pantelis Antoniou >> --- >> Documentation/devicetree/overlay

Re: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver

2016-05-17 Thread jeffrey.lin
Hi Dmitry: > >static int raydium_i2c_read_message(struct i2c_client *client, > > u32 addr, void *data, size_t len) > >{ > > __be32 be_addr; > > size_t xfer_len; > > int error; > > while (len) { > > xfer_len = min_t(size_t, len, RM_MAX_READ

Re: [PATCH] mm: add config option to select the initial overcommit mode

2016-05-17 Thread Sebastian Frias
Hi Michal, On 05/17/2016 10:57 AM, Michal Hocko wrote: > On Tue 17-05-16 10:24:20, Sebastian Frias wrote: > [...] Also, under what conditions would copy-on-write fail? >>> >>> When you have no memory or swap pages free and you touch a COW page that >>> is currently shared. At that point there

Re: [PATCH net] net: dsa: mv88e6xxx: remove bridge work

2016-05-17 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: >> Do we want to send this fix to -net as well? > > I don't see this bug as being highly critical that it needs to be > fixed immediately. > > I would suggest we wait until -rc1 is out, and then produce a backport > version. Given the changes we have made to that d

[PATCH] iio: Export I2C module alias information

2016-05-17 Thread Javier Martinez Canillas
The I2C drivers have an i2c_device_id array but that information isn't exported to the modules using the MODULE_DEVICE_TABLE() macro. So the modules autoloading won't work if the I2C device is registered using OF or legacy board files due missing alias information in the modules. The issue was fou

Re: [RESEND PATCH v6 0/6] Add Ethernet support on STM32F429

2016-05-17 Thread David Miller
From: Maxime Coquelin Date: Tue, 17 May 2016 11:20:16 +0200 > Hi David, > > 2016-05-09 21:06 GMT+02:00 David Miller : >> From: Alexandre TORGUE >> Date: Mon, 9 May 2016 12:31:33 +0200 >> >>> STM32F429 Chip embeds a Synopsys 3.50a MAC IP. >>> This series: >>> -enhance current stmmac driver to

[PATCH] drm/tegra: Fix crash caused by reference count imbalance

2016-05-17 Thread Jon Hunter
Commit d2307dea14a4 ("drm/atomic: use connector references (v3)") added reference counting for DRM connectors and this caused a crash when exercising system suspend on Tegra114 Dalmore. The Tegra DSI driver implements a Tegra specific function, tegra_dsi_connector_duplicate_state(), to duplicate t

[PATCH] pinctrl: stm32: fix incorrect pinctl format message

2016-05-17 Thread Colin King
From: Colin Ian King There are missing string format specifiers in the seq_printf that are causing a build warning. Add these missing string format specifiers to fix this. Signed-off-by: Colin Ian King --- drivers/pinctrl/stm32/pinctrl-stm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [PATCH v5 0/1] ARM64: ACPI: Update documentation for latest specification version

2016-05-17 Thread Al Stone
On 05/16/2016 05:44 PM, Alexey Klimov wrote: > On Mon, May 2, 2016 at 09:19 PM, Al Stone wrote: >> On 04/25/2016 03:21 PM, Al Stone wrote: >>> The ACPI 6.1 specification was recently released at the end of January >>> 2016, but the arm64 kernel documentation for the use of ACPI was written >>> for

Re: [PATCH v2 net] drivers: net: Don't print unpopulated net_device name

2016-05-17 Thread David Miller
From: Harvey Hunt Date: Tue, 17 May 2016 14:33:27 +0100 > For ethernet devices, net_device.name will be eth%d before > register_netdev() is called. Don't print the net_device name until > the format string is replaced. > > Signed-off-by: Harvey Hunt > Cc: Marcel Ziswiler > Cc: Robert Jarzmik

Re: [PATCH] x86/asm/entry: fix stack return address retrieval in thunk

2016-05-17 Thread Linus Torvalds
On Tue, May 17, 2016 at 7:43 AM, Josh Poimboeuf wrote: > > index 98df1fa..dae7ca0 100644 > --- a/arch/x86/entry/thunk_64.S > +++ b/arch/x86/entry/thunk_64.S > @@ -15,9 +15,10 @@ > .globl \name > .type \name, @function > \name: > + /* push 1 register if frame pointers are ena

Re: [PATCH v2 1/1] userfaultfd: don't pin the user memory in userfaultfd_file_create()

2016-05-17 Thread Oleg Nesterov
On 05/17, Michal Hocko wrote: > > On Mon 16-05-16 19:22:54, Oleg Nesterov wrote: > > > The patch adds the new trivial helper, mmget_not_zero(), it can have more > > users. > > Is this really helpful? Well, this is subjective of course, but I think the code looks a bit better this way. uprobes, fs

[PATCH 1/2] Input: migor-ts - allow driver to build if COMPILE_TEST is enabled

2016-05-17 Thread Javier Martinez Canillas
The driver only has runtime but no build time dependency with SH_MIGOR, so it can be built for testing purposes if the COMPILE_TEST option is enabled. This is useful to have more build coverage and make sure that drivers are not affected by changes that could cause build regressions. Signed-off-b

Re: [PATCH 4.4 07/73] soreuseport: fix ordering for mixed v4/v6 sockets

2016-05-17 Thread David Miller
From: Greg Kroah-Hartman Date: Tue, 17 May 2016 07:39:44 -0700 > On Tue, May 17, 2016 at 10:36:29AM -0400, Craig Gallek wrote: >> On Mon, May 16, 2016 at 9:14 PM, Greg Kroah-Hartman >> wrote: >> > 4.4-stable review patch. If anyone has any objections, please let me know. >> I don't believe the

[PATCH 2/2] Input: migor-ts - fix error for modular build

2016-05-17 Thread Javier Martinez Canillas
There is a typo in the driver for the I2C device table that is passed to the MODULE_DEVICE_TABLE() macro, this leads to the following build error: CC [M] drivers/input/touchscreen//migor_ts.o drivers/input/touchscreen//migor_ts.c:233:21: error: 'migor_ts' undeclared here (not in a function) M

[PATCH] ASoC: hdac_hdmi: remove ununsed variable 'timeout'

2016-05-17 Thread Colin King
From: Colin Ian King Fix build warning by removing unused variable timeout Signed-off-by: Colin Ian King --- sound/soc/codecs/hdac_hdmi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c index 3733297..181cd3b 100644 --- a/sound/soc

Re: [PATCH v2 1/3] /dev/dax, pmem: direct access to persistent memory

2016-05-17 Thread Dan Williams
On Tue, May 17, 2016 at 1:52 AM, Johannes Thumshirn wrote: > On Sat, May 14, 2016 at 11:26:24PM -0700, Dan Williams wrote: >> Device DAX is the device-centric analogue of Filesystem DAX >> (CONFIG_FS_DAX). It allows memory ranges to be allocated and mapped >> without need of an intervening file s

[PATCH] perf/x86: trival indentation fix, remove space

2016-05-17 Thread Colin King
From: Colin Ian King Remove an extraneous space to fix up indentation. Trivial and no functional change Signed-off-by: Colin Ian King --- arch/x86/events/intel/p4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/events/intel/p4.c b/arch/x86/events/intel/p4.c index

Re: [PATCH net] net: dsa: mv88e6xxx: remove bridge work

2016-05-17 Thread David Miller
From: Vivien Didelot Date: Tue, 17 May 2016 11:39:23 -0400 > Do we want to send this fix to -net as well? net isn't open and is irrelevant right now, everything goes through the net-next tree since we are in the merge window.

Re: linux-4.6/net/kcm/kcmsock.c:1508: bad if test ?

2016-05-17 Thread David Miller
From: Cong Wang Date: Tue, 17 May 2016 09:04:21 -0700 > On Mon, May 16, 2016 at 11:40 AM, David Binderman > wrote: >> Hello there, >> >> linux-4.6/net/kcm/kcmsock.c:1508]: (style) Checking if unsigned >> variable 'copied' is less than zero. >> >> Source code is >> >> if (copied < 0) { >> >>

Re: [PATCH 3/3] ACPI: ARM64: support for ACPI_TABLE_UPGRADE

2016-05-17 Thread Jon Masters
Hi Mark, On 05/17/2016 08:46 AM, Mark Rutland wrote: > On Tue, May 17, 2016 at 03:06:03PM +0300, Aleksey Makarov wrote: >> From: Jon Masters >> >> This patch adds support for ACPI_TABLE_UPGRADE for ARM64 > > This feels like a tool to paper over problems rather than solve them. Generally, it's a

Re: [PATCH v3 1/5] dmi: remove const from return of dmi_find_device

2016-05-17 Thread Andy Lutomirski
On Wed, Apr 27, 2016 at 6:04 AM, wrote: > From: Corey Minyard > > A fwnode_handle is being added to dmi_device, and that will need to > be updated. So remove the const. Did this series ever land in a subsystem tree? --Andy

Re: [PATCH] drm/tegra: Fix crash caused by reference count imbalance

2016-05-17 Thread Daniel Vetter
On Tue, May 17, 2016 at 05:27:15PM +0100, Jon Hunter wrote: > Commit d2307dea14a4 ("drm/atomic: use connector references (v3)") added > reference counting for DRM connectors and this caused a crash when > exercising system suspend on Tegra114 Dalmore. > > The Tegra DSI driver implements a Tegra sp

Re: [PATCH 3/3] ACPI: ARM64: support for ACPI_TABLE_UPGRADE

2016-05-17 Thread Jon Masters
On 05/17/2016 12:44 PM, Jon Masters wrote: > 1). During development of a platform, it is much easier to debug > problems with tables if you can test replacement ones without having to > respin the firmware. In the server world, you usually don't have the > firmware source code, so to get it respun

Re: linux-4.6/net/kcm/kcmsock.c:1508: bad if test ?

2016-05-17 Thread Cong Wang
On Tue, May 17, 2016 at 9:44 AM, David Miller wrote: > From: Cong Wang > Date: Tue, 17 May 2016 09:04:21 -0700 > >> On Mon, May 16, 2016 at 11:40 AM, David Binderman >> wrote: >>> Hello there, >>> >>> linux-4.6/net/kcm/kcmsock.c:1508]: (style) Checking if unsigned >>> variable 'copied' is less t

Re: [PATCH] x86/asm/entry: fix stack return address retrieval in thunk

2016-05-17 Thread Steven Rostedt
On Tue, 17 May 2016 09:31:12 -0700 Linus Torvalds wrote: > Considering that we got this wrong in two places, it's clearly too > subtle for our little brains as-is. And did we only get this wrong in two places? That is, do we really know how little our brains really are? -- Steve

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-17 Thread Jason Gunthorpe
On Tue, May 17, 2016 at 07:15:57AM +0300, Jarkko Sakkinen wrote: > On Mon, May 16, 2016 at 12:25:47PM -0600, Jason Gunthorpe wrote: > > Provide some flags in tpm_class_ops to allow drivers to opt-in to the > > common startup sequence. This is the sequence used by tpm_tis and > > tpm_crb. > > > > A

[PATCH] Staging: comedi: quatech_daqp_cs.c: Fix a unsigned warning issue

2016-05-17 Thread Amit Ghadge
This is a patch to the quatech_daqp_cs.c file that fixes by using unsigned int instead of unsigned, following warning found by checkpatch. * WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Amit Ghadge --- drivers/staging/comedi/drivers/quatech_daqp_cs.c | 2 +- 1 file cha

Re: [PATCH] ASoC: hdac_hdmi: remove ununsed variable 'timeout'

2016-05-17 Thread Mark Brown
On Tue, May 17, 2016 at 05:33:06PM +0100, Colin King wrote: > From: Colin Ian King > > Fix build warning by removing unused variable timeout Another patch for this got merged already. signature.asc Description: PGP signature

Re: [PATCH] x86/boot: Refuse to build with data relocations

2016-05-17 Thread H. Peter Anvin
On 05/17/16 06:53, Kees Cook wrote: >> >> Either look at the inputs, or add the -q option to the link line >> (--emit-relocs); that preserves the relocations into the output file >> (the same we use to generate the relocation tables to be able to >> relocate the kernel proper.) > > (FWIW, this add

Re: [RFC][PATCH 0/7] locking/rwsem: Convert rwsem count to atomic_long_t

2016-05-17 Thread Jason Low
On Tue, 2016-05-17 at 13:09 +0200, Peter Zijlstra wrote: > On Mon, May 16, 2016 at 06:12:25PM -0700, Linus Torvalds wrote: > > On Mon, May 16, 2016 at 5:37 PM, Jason Low wrote: > > > > > > This rest of the series converts the rwsem count variable to an > > > atomic_long_t > > > since it is used i

Re: [RFC PATCH 1/1] acpi: processor_driver: register cooling device per package

2016-05-17 Thread Srinivas Pandruvada
On Thu, 2016-05-12 at 23:19 -0700, Eduardo Valentin wrote: > The current throttling strategy is to apply cooling levels > on all processors in a package. Therefore, if one cooling > device is requested to cap the frequency, the same request > is applied to all sibling processors in the same package

Re: [PATCH] x86/asm/entry: fix stack return address retrieval in thunk

2016-05-17 Thread Linus Torvalds
On Tue, May 17, 2016 at 9:51 AM, Steven Rostedt wrote: > > And did we only get this wrong in two places? That is, do we really > know how little our brains really are? Doing some grepping seems to imply that was it. There's a fair number of cases in arch/x86/crypto/aesni-intel_asm.S but th

RE: [PATCH 05/14] staging: comedi: daqboard2000: rename serial EEPROM register macros

2016-05-17 Thread Hartley Sweeten
On Tuesday, May 17, 2016 2:53 AM, Ian Abbott wrote: > Rename the macros defining values for the Serial EEPROM Control Register > to avoid CamelCase. > > Signed-off-by: Ian Abbott > --- > drivers/staging/comedi/drivers/daqboard2000.c | 26 +- > 1 file changed, 13 insertions

Re: [f2fs-dev] [RFC] f2fs: fix a race condition between evict & gc

2016-05-17 Thread Jaegeuk Kim
On Tue, May 17, 2016 at 11:00:53AM +0800, Hou Pengyang wrote: > On 2016/5/16 23:10, Chao Yu wrote: > Hi chao, > > Hi Pengyang, > > > > On 2016/5/16 18:40, Hou Pengyang wrote: > >> When collecting data segment(gc_data_segment), there is a race condition > >> between evict and phases of gc: > >> 0) r

Re: [PATCH] x86/asm/entry: fix stack return address retrieval in thunk

2016-05-17 Thread Josh Poimboeuf
On Tue, May 17, 2016 at 12:51:41PM -0400, Steven Rostedt wrote: > On Tue, 17 May 2016 09:31:12 -0700 > Linus Torvalds wrote: > > > Considering that we got this wrong in two places, it's clearly too > > subtle for our little brains as-is. > > And did we only get this wrong in two places? That is,

Re: [PATCH 3.14 00/17] 3.14.70-stable review

2016-05-17 Thread Guenter Roeck
On Mon, May 16, 2016 at 06:14:01PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.70 release. > There are 17 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH 4.4 00/73] 4.4.11-stable review

2016-05-17 Thread Guenter Roeck
On Mon, May 16, 2016 at 06:14:30PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.11 release. > There are 73 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [PATCH 3.14 00/17] 3.14.70-stable review

2016-05-17 Thread Shuah Khan
On 05/16/2016 07:14 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.70 release. > There are 17 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH 4.4 00/73] 4.4.11-stable review

2016-05-17 Thread Shuah Khan
On 05/16/2016 07:14 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.11 release. > There are 73 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH 4.5 000/101] 4.5.5-stable review

2016-05-17 Thread Guenter Roeck
On Mon, May 16, 2016 at 06:20:05PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.5.5 release. > There are 101 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [PATCH 4.5 000/101] 4.5.5-stable review

2016-05-17 Thread Shuah Khan
On 05/16/2016 07:20 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.5.5 release. > There are 101 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH] drm/tegra: Fix crash caused by reference count imbalance

2016-05-17 Thread Jon Hunter
On 17/05/16 17:46, Daniel Vetter wrote: > On Tue, May 17, 2016 at 05:27:15PM +0100, Jon Hunter wrote: >> Commit d2307dea14a4 ("drm/atomic: use connector references (v3)") added >> reference counting for DRM connectors and this caused a crash when >> exercising system suspend on Tegra114 Dalmore. >

RE: [PATCH 01/14] staging: comedi: daqboard2000: remove commented out code

2016-05-17 Thread Hartley Sweeten
On Tuesday, May 17, 2016 2:53 AM, Ian Abbott wrote: > Remove some commented out code. Some of it uses constructs that don't > exist in the driver, and probably come from the source code for the MS > Windows driver. > > Signed-off-by: Ian Abbott > --- > drivers/staging/comedi/drivers/daqboard2000

Re: [PATCH] mm: add config option to select the initial overcommit mode

2016-05-17 Thread Austin S. Hemmelgarn
On 2016-05-17 12:16, Sebastian Frias wrote: Hi Michal, On 05/17/2016 10:57 AM, Michal Hocko wrote: On Tue 17-05-16 10:24:20, Sebastian Frias wrote: [...] Also, under what conditions would copy-on-write fail? When you have no memory or swap pages free and you touch a COW page that is currentl

Re: CQ and RDMA READ/WRITE APIs

2016-05-17 Thread Bart Van Assche
On 05/16/2016 11:23 AM, Doug Ledford wrote: In this particular case, the dual license is used by the OpenFabrics Alliance. They strip the RDMA stack in the kernel down to just the RDMA stack files and ship those separate from the rest of the kernel, along with the necessary user space stuff, and

Re: [PATCH v3 3/4] locking/rwsem: Improve reader wakeup code

2016-05-17 Thread Peter Hurley
On 05/12/2016 03:56 PM, Waiman Long wrote: > In __rwsem_do_wake(), the reader wakeup code will assume a writer > has stolen the lock if the active reader/writer count is not 0. > However, this is not as reliable an indicator as the original > "< RWSEM_WAITING_BIAS" check. If another reader is prese

Re: CQ and RDMA READ/WRITE APIs

2016-05-17 Thread Doug Ledford
On 05/17/2016 01:29 PM, Bart Van Assche wrote: > On 05/16/2016 11:23 AM, Doug Ledford wrote: >> In this particular case, the dual license is used by the OpenFabrics >> Alliance. They strip the RDMA stack in the kernel down to just the RDMA >> stack files and ship those separate from the rest of th

Re: [PATCH] drm/tegra: Fix crash caused by reference count imbalance

2016-05-17 Thread Daniel Vetter
On Tue, May 17, 2016 at 7:29 PM, Jon Hunter wrote: >>> @@ -764,6 +769,9 @@ tegra_dsi_connector_duplicate_state(struct >>> drm_connector *connector) >>> if (!copy) >>> return NULL; >>> >>> +if (copy->base.crtc) >>> +drm_connector_reference(connector); >>> + >> >>

Re: ast: cursor flashing softlockups

2016-05-17 Thread David Daney
I can confirm this. The cursor is blinking along nicely with a 200mS on/off time then with this patch installed: diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 6e92917..7855446 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c @@ -4

RE: [PATCH 06/14] staging: comedi: daqboard2000: rename register offset macros

2016-05-17 Thread Hartley Sweeten
On Tuesday, May 17, 2016 2:53 AM, Ian Abbott wrote: > Rename the macros defining register offsets to avoid CamelCase, and to > use namespace associated with the driver. > > Signed-off-by: Ian Abbott > --- > Other CamelCase issues in this patch will be dealt with by later > patches in the series. >

RE: [PATCH 14/14] staging: comedi: daqboard2000: prefer usleep_range()

2016-05-17 Thread Hartley Sweeten
On Tuesday, May 17, 2016 2:53 AM, Ian Abbott wrote: > The checkpatch.pl warns about two `udelay(x)` calls, one of 100 > microseconds, and one of 10 microseconds. The 100 microseconds one is > used when waiting for FPGA to become ready to accept firmware, and is > not that critical, so replace it w

Re: [PATCH v5 2/5] ACPI / processor_idle: Add support for Low Power Idle(LPI) states

2016-05-17 Thread Prakash, Prashanth
Hi Sudeep, On 5/11/2016 9:37 AM, Sudeep Holla wrote: > + > +static int acpi_processor_get_lpi_info(struct acpi_processor *pr) > +{ > + int ret, i; > + struct acpi_lpi_states_array *info; > + struct acpi_device *d = NULL; > + acpi_handle handle = pr->handle, pr_ahandle; > + acpi

Re: [PATCH v3 2/4] locking/rwsem: Don't wake up one's own task

2016-05-17 Thread Peter Hurley
On 05/12/2016 03:56 PM, Waiman Long wrote: > As rwsem_down_read_failed() will queue itself and potentially call > __rwsem_do_wake(sem, RWSEM_WAKE_ANY), it is possible that a reader > will try to wake up its own task. This patch adds a check to make > sure that this won't happen. Although there's n

Re: [PATCH v3 4/4] locking/rwsem: Streamline the rwsem_optimistic_spin() code

2016-05-17 Thread Peter Hurley
On 05/12/2016 03:56 PM, Waiman Long wrote: > This patch moves the owner loading and checking code entirely inside of > rwsem_spin_on_owner() to simplify the logic of rwsem_optimistic_spin() > loop. Thanks for this. Reviewed-by: Peter Hurley

Re: [PATCH] kvm-pr: manage illegal instructions

2016-05-17 Thread Laurent Vivier
On 17/05/2016 10:37, Alexander Graf wrote: > On 05/17/2016 10:35 AM, Laurent Vivier wrote: >> >> On 12/05/2016 16:23, Laurent Vivier wrote: >>> >>> On 12/05/2016 11:27, Alexander Graf wrote: On 05/12/2016 11:10 AM, Laurent Vivier wrote: > On 11/05/2016 13:49, Alexander Graf wrote: >>

Re: [PATCH v3] Input - surface3_spi: add new driver for the Surface 3

2016-05-17 Thread Bastien Nocera
On Tue, 2016-05-17 at 12:16 +0200, Benjamin Tissoires wrote: > This is a basic driver for the Surface 3. I am not so sure it will > work > with any firmwares as most values are encoded, but given that I only > have > access to my current device with its firmware and I don't have the > datasheet, it

Re: [PATCH 2/2] HID: multitouch: enable the Surface 3 Type Cover to report multitouch data

2016-05-17 Thread Bastien Nocera
On Thu, 2016-05-12 at 16:12 +0200, Benjamin Tissoires wrote: > There is no reasons to filter out keyboard and consumer control > collections > in hid-multitouch. > With the previous hid-input fix, there is now a full support of the > Type > Cover and we can remove all specific bits from hid-core an

Re: [PATCH v2 0/6] Input: soc_button_array fixes and support of the Surface 3

2016-05-17 Thread Bastien Nocera
On Fri, 2016-05-13 at 18:05 +0200, Benjamin Tissoires wrote: > Hi, > > This is the v2 of the series with 3 extra patches to add support of > the buttons > found on the Surface 3. > > Cheers, > Benjamin > > > Benjamin Tissoires (6): >   Input - soc_button_array: use gpio_is_valid() >   Input - s

Re: [PATCH v2 2/2] net: Fix coding style warnings and errors.

2016-05-17 Thread David Miller
Whenever you have to make changes to a patch within a series, you must always resubmit the entire series, not just the one that need changes.

RE: [PATCH 00/14] staging: comedi: daqboard2000: checkpatch clean-ups

2016-05-17 Thread Hartley Sweeten
On Tuesday, May 17, 2016 2:53 AM, Ian Abbott wrote: > This series of patches to the daqboard2000 driver is mostly to fix the > checkpatch.pl warnings. There is one warning remaining about one of the > `udelay` calls with a parameter of 10 microseconds, but I decided to > leave it alone, as convert

[PATCH v2 2/2] net: Fix coding style warnings and errors.

2016-05-17 Thread Amit Ghadge
This is a patch to clean checkpatch warnings and errors in the Space.c file. Clean up the following warnings and errors. WARNING : * Block comments use * on subsequent lines * Missing a blank line after declarations * networking block comments don't use an empty /* line, use /* * please, no space

Re: [PATCH v2 net-next] bpf: arm64: remove callee-save registers use for tmp registers

2016-05-17 Thread David Miller
From: Yang Shi Date: Mon, 16 May 2016 16:36:26 -0700 > In the current implementation of ARM64 eBPF JIT, R23 and R24 are used for > tmp registers, which are callee-saved registers. This leads to variable size > of JIT prologue and epilogue. The latest blinding constant change prefers to > constant

Re: [PATCH] asix: Fix offset calculation in asix_rx_fixup() causing slow transmissions

2016-05-17 Thread David Miller
From: John Stultz Date: Mon, 16 May 2016 20:36:15 -0700 > In testing with HiKey, we found that since > commit 3f30b158eba5 ("asix: On RX avoid creating bad Ethernet > frames"), > we're seeing lots of noise during network transfers: ... > And network throughput ends up being pretty bursty and slo

Re: [PATCH v3] Input - surface3_spi: add new driver for the Surface 3

2016-05-17 Thread Dmitry Torokhov
Hi Benjamin, On Tue, May 17, 2016 at 12:16:19PM +0200, Benjamin Tissoires wrote: > This is a basic driver for the Surface 3. I am not so sure it will work > with any firmwares as most values are encoded, but given that I only have > access to my current device with its firmware and I don't have th

Re: [PATCH] oom: consider multi-threaded tasks in task_will_free_mem

2016-05-17 Thread Oleg Nesterov
On 04/13, Michal Hocko wrote: > > On Wed 13-04-16 20:04:54, Tetsuo Handa wrote: > > On 2016/04/12 18:19, Michal Hocko wrote: > [...] > > > Hi, > > > I hope I got it right but I would really appreciate if Oleg found some > > > time and double checked after me. The fix is more cosmetic than anything

[PATCH v2] x86/asm/entry: fix stack return address retrieval in thunk

2016-05-17 Thread Josh Poimboeuf
On Tue, May 17, 2016 at 09:31:12AM -0700, Linus Torvalds wrote: > On Tue, May 17, 2016 at 7:43 AM, Josh Poimboeuf wrote: > > > > index 98df1fa..dae7ca0 100644 > > --- a/arch/x86/entry/thunk_64.S > > +++ b/arch/x86/entry/thunk_64.S > > @@ -15,9 +15,10 @@ > > .globl \name > > .type \

Re: [GIT PULL] killable rwsems for v4.7

2016-05-17 Thread Al Viro
On Tue, May 17, 2016 at 09:08:38AM +0200, Michal Hocko wrote: > On Mon 16-05-16 13:32:28, Linus Torvalds wrote: > > On Mon, May 16, 2016 at 7:55 AM, Ingo Molnar wrote: > > > > > > This tree, by Michal Hocko, implements down_write_killable(). The main > > > usecase > > > will be to update mm_sem u

Re: ast: cursor flashing softlockups

2016-05-17 Thread David Daney
On 05/17/2016 10:39 AM, David Daney wrote: I can confirm this. I have a patch that I think is the proper fix. You should see it soon (after I test it a bit more) Thanks, David Daney [...] On Tue, May 17, 2016 at 4:07 AM, Dann Frazier wrote: Hi, I'm observing a soft lockup issue w/

Re: tty crash in Linux 4.6

2016-05-17 Thread Peter Hurley
On 05/17/2016 08:57 AM, Peter Hurley wrote: > On 05/16/2016 04:36 PM, Peter Hurley wrote: >> > Hi Mikulas, >> > >> > On 05/16/2016 01:12 PM, Mikulas Patocka wrote: >>> >> Hi >>> >> >>> >> In the kernel 4.6 I get crashes in the tty layer. I can reproduce the >>> >> crash by logging into the machin

Re: QRTR merge conflict resolution

2016-05-17 Thread David Miller
From: Bjorn Andersson Date: Fri, 13 May 2016 15:19:09 -0700 > I have prepared the merge of net-next and the conflicting tag from the > Qualcomm SOC, please include this in your pull towards Linus to avoid > the merge conflict. Pulled, thanks.

Re: [PATCH 2/2] serial: 8250_mid: Read RX buffer on RX DMA timeout for DNV

2016-05-17 Thread Peter Hurley
On 05/13/2016 04:27 AM, Andy Shevchenko wrote: > On Fri, 2016-05-13 at 18:15 +0800, kbuild test robot wrote: >> Hi, >> >> [auto build test ERROR on next-20160513] >> [cannot apply to tty/tty-testing usb/usb-testing v4.6-rc7 v4.6-rc6 >> v4.6-rc5 v4.6-rc7] >> [if your patch is applied to the wrong gi

Re: TODO Lists

2016-05-17 Thread Arnaldo Carvalho de Melo
Em Fri, May 06, 2016 at 10:08:03AM -0700, Darren Hart escreveu: > At kernel summit Greg suggested sending our TODO lists to him. We'd like to > have > a place to keep a feature wishlist and cleanups that aren't "bugs" that we can > update regularly and that is easy for people looking for work to f

[GIT PULL] regulator fix for v4.7

2016-05-17 Thread Mark Brown
The following changes since commit 4f38c566a0967ce9291537ba04891391681a7661: Merge remote-tracking branches 'regulator/topic/tps6524x' and 'regulator/topic/twl' into regulator-next (2016-05-13 14:23:49 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/

[PATCH] support for AD5820 camera auto-focus coil

2016-05-17 Thread Pavel Machek
This adds support for AD5820 autofocus coil, found for example in Nokia N900 smartphone. Signed-off-by: Pavel Machek diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 993dc50..77313a1 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -279,6 +279,13

Re: [PATCH v2 2/2] phy dp83867: Make rgmii parameters optional

2016-05-17 Thread David Miller
From: Alexander Graf Date: Mon, 16 May 2016 20:52:43 +0200 > If you compile without OF_MDIO support in an RGMII configuration, we fail > to configure the dp83867 phy today by writing garbage into its configuration > registers. > > On the other hand if you do compile with OF_MDIO and the phy gets

Re: [PATCH v2 1/2] phy dp83867: Fix compilation with CONFIG_OF_MDIO=m

2016-05-17 Thread David Miller
From: Alexander Graf Date: Mon, 16 May 2016 20:52:42 +0200 > When CONFIG_OF_MDIO is configured as module, the #define for it really > is CONFIG_OF_MDIO_MODULE, not CONFIG_OF_MDIO. So if we are compiling it > as module, the dp83867 doesn't see that OF_MDIO was selected and doesn't > read the dt rg

Re: [git pull] vfs.git

2016-05-17 Thread Linus Torvalds
On Mon, May 16, 2016 at 11:27 PM, Al Viro wrote: > > FWIW, I think the least PITA would be if I send #work.lookups + backmerge from > #ovl-fixes to resolve the fs/overlay/super.c conflict. If you think that > it needs to done in even smaller steps (after all, it's about 3/4 of the > entire pile),

Re: [GIT PULL] killable rwsems for v4.7

2016-05-17 Thread Linus Torvalds
On Tue, May 17, 2016 at 11:05 AM, Al Viro wrote: > > I'm not sure - killable write is needed in a bunch of places there (and the > only reason it's not used in #work.lookups is to avoid even more merge > headache; as soon as both are merged, I'll post a trivial followup switching > half a dozen pl

Re: [PATCH v2 2/2] net: Fix coding style warnings and errors.

2016-05-17 Thread Amit Ghadge
On Tue, May 17, 2016 at 02:01:52PM -0400, David Miller wrote: > > Whenever you have to make changes to a patch within a series, you must always > resubmit the entire series, not just the one that need changes. You want say submit patch with version series v1, v2 or patches series? If that is patch

Re: [PATCH v2] x86/asm/entry: fix stack return address retrieval in thunk

2016-05-17 Thread Linus Torvalds
On Tue, May 17, 2016 at 11:06 AM, Josh Poimboeuf wrote: > > Makes sense, thanks. Here's v2: Yes, this looks much nicer to me. Thanks. Ingo, feel free to add my "Acked-by" or whatever. Linus

Re: [PATCH v2 2/2] phy dp83867: Make rgmii parameters optional

2016-05-17 Thread Dan Murphy
David On 05/17/2016 01:22 PM, David Miller wrote: > From: Alexander Graf > Date: Mon, 16 May 2016 20:52:43 +0200 > >> If you compile without OF_MDIO support in an RGMII configuration, we fail >> to configure the dp83867 phy today by writing garbage into its configuration >> registers. >> >> On th

Re: [PATCH] support for AD5820 camera auto-focus coil

2016-05-17 Thread Marcus Folkesson
Hi Pavel, On Tue, May 17, 2016 at 08:19:27PM +0200, Pavel Machek wrote: > +static int ad5820_set_ctrl(struct v4l2_ctrl *ctrl) > +{ > + struct ad5820_device *coil = > + container_of(ctrl->handler, struct ad5820_device, ctrls); > + u32 code; > + int r = 0; > + > + switch

next-20160517 - lockdep splat in pcie code

2016-05-17 Thread Valdis Kletnieks
Seen during boot on next-20160517. This apparently sneaked into the tree sometime after -0502 (probably after -0512 but I can't prove it at the moment) [1.806765] INFO: trying to register non-static key. [1.806772] the code is fine but needs lockdep annotation. [1.806777] turnin

[PATCH] tty: vt: Fix soft lockup in fbcon cursor blink timer.

2016-05-17 Thread David Daney
From: David Daney We are getting somewhat random soft lockups with this signature: [ 86.992215] [] el1_irq+0xa0/0x10c [ 86.997082] [] cursor_timer_handler+0x30/0x54 [ 87.002991] [] call_timer_fn+0x54/0x1a8 [ 87.008378] [] run_timer_softirq+0x1c4/0x2bc [ 87.014200] [] __do_softirq+0x114

Re: [PATCH] oom: consider multi-threaded tasks in task_will_free_mem

2016-05-17 Thread Oleg Nesterov
On 04/12, Michal Hocko wrote: > > We shouldn't consider the task > unless the whole thread group is going down. Yes, agreed. I'd even say that oom-killer should never look at individual task/threads, it should work with mm's. And one of the big mistakes (imo) was the s/for_each_process/for_each_th

linux-next 20160512 - ACPI issue with screen brightness

2016-05-17 Thread Valdis Kletnieks
next-20160512 sets the screen brightness to about 40%-ish or so, rather than the 100% intensity I want. Dell Latitude E6530 laptop. git bisect tells me: 059500940defe285222d3b189b366dfe7f299cae is the first bad commit commit 059500940defe285222d3b189b366dfe7f299cae Author: Aaron Lu Date: Wed

Re: [PATCH v2 2/2] phy dp83867: Make rgmii parameters optional

2016-05-17 Thread David Miller
From: Dan Murphy Date: Tue, 17 May 2016 13:34:34 -0500 > David > > On 05/17/2016 01:22 PM, David Miller wrote: >> From: Alexander Graf >> Date: Mon, 16 May 2016 20:52:43 +0200 >> >>> If you compile without OF_MDIO support in an RGMII configuration, we fail >>> to configure the dp83867 phy today

Re: CQ and RDMA READ/WRITE APIs

2016-05-17 Thread Linus Torvalds
On Tue, May 17, 2016 at 10:32 AM, Doug Ledford wrote: > > Nice catch there Bart. That was well before my role as maintainer and > so settles things well enough for me. IOW, I don't feel I need to worry > about trying to maintain the dual license nature of the RDMA stack as it > was broken long b

RE:Tote bags,drawstring bags

2016-05-17 Thread Jack
Hello, We are a leading bags exporter in Xiamen,China.You can direct import custom bags from us,such as Nylon/Polyester series,canvas series.We mainly produce and export a wide variety of bags including cooler bags, tote bags, drawstring bags, canvas bags, school bags, backpacks, sport bags,di

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-17 Thread Paul E. McKenney
On Tue, May 17, 2016 at 11:22:10AM +0100, Mark Rutland wrote: > In many cases in the RCU tree code, we iterate over the set of CPUs for > a leaf node described by rcu_node::grplo and rcu_node::grphi, checking > per-cpu data for each CPU in this range. However, if the set of possible > CPUs is spars

Re: [PATCH v2 1/7] powerpc/8xx: Fix vaddr for IMMR early remap

2016-05-17 Thread christophe leroy
Le 17/05/2016 à 01:11, Scott Wood a écrit : On Fri, 2016-05-13 at 11:25 +0200, Christophe Leroy wrote: Le 11/05/2016 à 22:38, Scott Wood a écrit : On Wed, 2016-05-11 at 17:03 +0200, Christophe Leroy wrote: Memory: 124428K/131072K available (3748K kernel code, 188K rwdata, 648K rodata, 508K i

[RFC PATCH net] e1000e: keep vlan interfaces functional after rxvlan off

2016-05-17 Thread Jarod Wilson
I've got a bug report about an e1000e interface, where a vlan interface is set up on top of it: $ ip link add link ens1f0 name ens1f0.99 type vlan id 99 $ ip link set ens1f0 up $ ip link set ens1f0.99 up $ ip addr add 192.168.99.92 dev ens1f0.99 At this point, I can ping another host on vlan 99,

Re: [PATCH v7 1/3] create SMAF module

2016-05-17 Thread Emil Velikov
On 17 May 2016 at 14:50, Benjamin Gaignard wrote: > Hello Emil, > > thanks for your review. > I have understand most of your remarks and I'm fixing them > but some points aren't obvious for me... > Sure thing. Thanks for being honest. > > No because a device could attach itself on the buffer and

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-17 Thread Yury Norov
On Mon, May 16, 2016 at 06:06:05PM +0100, Catalin Marinas wrote: > On Sat, May 14, 2016 at 06:03:52PM +0300, Yury Norov wrote: > > +SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, > > + unsigned long, prot, unsigned long, flags, unsigned long, fd, > > + unsigned long, pg

<    1   2   3   4   5   6   7   >