Re: [PATCH] IB/ocrdma: Use zeroing memory allocator than allocator/memset

2018-01-01 Thread Selvin Xavier
On Sun, Dec 31, 2017 at 5:42 PM, Leon Romanovsky wrote: > On Sat, Dec 30, 2017 at 09:09:56PM +0530, Himanshu Jha wrote: >> Use dma_zalloc_coherent for allocating zeroed >> memory and remove unnecessary memset function. >> >> Done using Coccinelle. >> Generated-by: scripts/coccinelle/api/alloc/kzal

Re: [PATCH net-next 2/2] tuntap: XDP transmission

2018-01-01 Thread kbuild test robot
Hi Jason, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Jason-Wang/XDP-transmission-for-tuntap/20180101-105946 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig

Re: WARNING in snd_pcm_hw_param_first

2018-01-01 Thread Takashi Iwai
On Sun, 31 Dec 2017 20:58:01 +0100, syzbot wrote: > > Hello, > > syzkaller hit the following crash on > 71ee203389f7cb1c1927eab22b95baa01405791c > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console outpu

Re: [RESEND PATCH 1/1] Coccinelle: array_size: report even if include is missing

2018-01-01 Thread Masahiro Yamada
2017-12-30 3:14 GMT+09:00 Jérémy Lefaure : > Rule r does not depend on rule i (which is the include of > linux/kernel.h) so the output should not depend on i in > org and report mode. > > Signed-off-by: Jérémy Lefaure > Acked-by: Julia Lawall > --- Applied to linux-kbuild/misc. Thanks! --

Re: [PATCH v4 5/7] iio: adc: ina2xx: Use a monotonic clock for delay calculation

2018-01-01 Thread Jonathan Cameron
On Mon, 1 Jan 2018 02:24:42 +0100 Stefan Brüns wrote: > The iio timestamp clock is user selectable and may be non-monotonic. Also, > only part of the acquisition time is measured, thus the delay was longer > than intended. > > Use a monotonic timestamp to track the time for the next poll iterati

Re: [PATCH v2] fixdep: exit with error code in error branches of do_config_file()

2018-01-01 Thread Nicholas Mc Guire
On Mon, Jan 01, 2018 at 03:41:10PM +0900, Masahiro Yamada wrote: > 2018-01-01 0:45 GMT+09:00 Nicholas Mc Guire : > > On Sun, Dec 31, 2017 at 01:51:33AM +0900, Masahiro Yamada wrote: > >> 2017-12-22 4:10 GMT+09:00 Lukas Bulwahn : > >> > do_config_file() should exit with an error code, and not return

Re: [PATCH 0/4] KVM: nVMX: prepare_vmcs02 optimizations

2018-01-01 Thread Paolo Bonzini
On 28/12/2017 09:39, Wanpeng Li wrote: > 2017-12-27 22:28 GMT+08:00 Paolo Bonzini : >> On 25/12/2017 11:08, Wanpeng Li wrote: I observe L1(latest kvm/queue) panic and L0(latest kvm/queue) calltrace, I'm not sure whether it is caused by this patchset. >>> It can be reproduced steadily by r

Re: [RESEND PATCH 1/1] Coccinelle: array_size: report even if include is missing

2018-01-01 Thread Julia Lawall
On Mon, 1 Jan 2018, Masahiro Yamada wrote: > 2017-12-30 3:14 GMT+09:00 Jérémy Lefaure : > > Rule r does not depend on rule i (which is the include of > > linux/kernel.h) so the output should not depend on i in > > org and report mode. > > > > Signed-off-by: Jérémy Lefaure > > Acked-by: Julia La

Re: [PATCH] iio: adc: add driver for ti adc081s/adc101s/adc121s

2018-01-01 Thread Jonathan Cameron
On Sat, 30 Dec 2017 15:53:03 +0100 Milan Stevanovic wrote: > On 12/29/2017 04:58 PM, Jonathan Cameron wrote: > > My comments are inline. I did not change patch, I am waiting comments from > Lars-Peter and Michael > > > On Mon, 25 Dec 2017 21:42:38 +0100 > > Milan Stevanovic wrote: > > > > +CC

Re: [PATCH] usb: quirks: Add reset-resume quirk for QCA6174 Rome Bluetooth

2018-01-01 Thread Sergei Shtylyov
Hello! On 12/31/2017 8:13 PM, Leif Liddy wrote: This is a rework of reverted commit fd865802c66bc451dc515ed89360f84376ce1a56 You need to also specify the commit summry enclosed in (""). Alos, 12 digits of SHA1 is enough. The issue is that some QCA Rome bluetooth controllers stop functi

Re: [PATCH v2] iio: adc: max9611: fix module auto-loading

2018-01-01 Thread Jonathan Cameron
On Sat, 30 Dec 2017 15:43:38 +0300 Dmitry Mastykin wrote: > > On Fri, 29 Dec 2017 17:30:39 +0200 > > Andy Shevchenko wrote: > >> Suggested-by: Andy Shevchenko > >> > I was not aware of this tag, that's what I wanted to write, thanks! > > On Fri, Dec 29, 2017 at 8:54 PM, Jonathan Cameron w

Re: [PATCH v2] fixdep: exit with error code in error branches of do_config_file()

2018-01-01 Thread Sam Ravnborg
> > > And would that file be acceptable if it were actually empty There have been cases with empty files in the source tree. And it is not the job of fixdep to do anything special about them. fixdep shall do what it is requested to do, and not more than that. Sam

Re: [PATCH v2 1/5] iio: Change ISA_BUS_API dependency to selection

2018-01-01 Thread Jonathan Cameron
On Fri, 29 Dec 2017 15:13:19 -0500 William Breathitt Gray wrote: > The ISA_BUS_API Kconfig option enables the compilation of the ISA bus > driver. The ISA bus driver does not perform any hardware interaction, > and is instead just a thin layer of software abstraction to eliminate > boilerplate co

Re: [net-next: PATCH v2 4/5] net: mvpp2: use device_*/fwnode_* APIs instead of of_*

2018-01-01 Thread Marcin Wojtas
Hi Andrew, 2017-12-31 20:18 GMT+01:00 Andrew Lunn : > On Sun, Dec 31, 2017 at 12:58:39PM +0100, Marcin Wojtas wrote: > Hi Marcin > >> Because there is no equivalent for for_each_available_child_of_node(), >> use device_for_each_child_node() and check the port availability >> inside the mvpp2_port_

Re: [net-next: PATCH v2 5/5] net: mvpp2: enable ACPI support in the driver

2018-01-01 Thread Marcin Wojtas
HI Andrew, 2017-12-31 20:23 GMT+01:00 Andrew Lunn : >> * Modify way of obtaining interrupts - with ACPI they are resources >> bound to struct platform_device and it's not possible to obtain >> them directly from the child node. Hence a formula is used, depending >> on the port_id and number

Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the fourth network interface

2018-01-01 Thread Marcin Wojtas
Hi Russell, 2017-12-30 18:31 GMT+01:00 Russell King - ARM Linux : > Hi Marcin, > > On Sat, Dec 30, 2017 at 05:34:23PM +0100, Marcin Wojtas wrote: >> Yes, I already split the series and will send first one right away. I >> will be followed by MDIO bus / PHY handling proposal, including the >> bits

Re: About the try to remove cross-release feature entirely by Ingo

2018-01-01 Thread Matthew Wilcox
On Sat, Dec 30, 2017 at 06:00:57PM -0500, Theodore Ts'o wrote: > On Sat, Dec 30, 2017 at 05:40:28PM -0500, Theodore Ts'o wrote: > > On Sat, Dec 30, 2017 at 12:44:17PM -0800, Matthew Wilcox wrote: > > > > > > I'm not sure I agree with this part. What if we add a new TCP lock class > > > for connec

Re: `pci_apply_final_quirks()` taking half a second

2018-01-01 Thread Paul Menzel
Dear Alan, First, please note, that your mailer (MUA) doesn’t set the references header, which breaks threading for people not having their own answers in the inbox. Am 31.12.2017 um 22:16 schrieb Alan Stern: On Sun, 31 Dec 2017, Paul Menzel wrote: Am 29.12.2017 um 17:14 schrieb Alan Ster

Re: [alsa-devel] WARNING in snd_pcm_hw_param_first

2018-01-01 Thread Lars-Peter Clausen
On 01/01/2018 10:03 AM, Takashi Iwai wrote: [...] >> CPU: 0 PID: 3502 Comm: syzkaller781065 Not tainted 4.15.0-rc5+ #154 >> Hardware name: Google Google Compute Engine/Google Compute Engine, >> BIOS Google 01/01/2011 >> Call Trace: >> __dump_stack lib/dump_stack.c:17 [inline] >> dump_stack+0x194

[PATCH] crypto: testmgr: change `guard` to unsigned char

2018-01-01 Thread Joey Pabalinas
When char is signed, storing the values 0xba (186) and 0xad (173) in the `guard` array produces signed overflow. Change the type of `guard` to unsigned char to remove undefined behavior. Signed-off-by: Joey Pabalinas --- crypto/testmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

RE: [EXT] Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the fourth network interface

2018-01-01 Thread Stefan Chulski
> -Original Message- > From: Marcin Wojtas [mailto:m...@semihalf.com] > Sent: Monday, January 01, 2018 12:18 PM > To: Russell King - ARM Linux > Cc: Stefan Chulski ; Thomas Petazzoni > ; Andrew Lunn ; > Florian Fainelli ; Yan Markman > ; Jason Cooper ; netdev > ; Antoine Tenart electrons

[patch] sched/fair: Add SIS_MIN_LAT feature to mitigate PELT lag induced stacking

2018-01-01 Thread Mike Galbraith
The problem: the scheduler wanting to stack tasks way too deeply has become far too common a behavior, and IMHO a very very bad one. While booting... systemd-udevd-529 [001] d...17.425644: select_task_rq_fair: NAK systemd-udevd:818 rejects cpu:7:w3072:r:3 -> cpu:1:w4096:r:4 systemd-ud

[PATCH] tools lib subcmd: do not alias select() params

2018-01-01 Thread Sergey Senozhatsky
Use a separate fd set for select()-s exception fds param to fix the following gcc warning: pager.c:36:12: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict] select(1, &in, NULL, &in, NULL); ^~~~~~ Signed-off-by

Re: [PATCH v4 0/9] drm/i915: Implement HDCP

2018-01-01 Thread Ramalingam C
Sean, Checkpatch.pl is giving errors and warning on the patches of this series. You might want to have a look at it. -Ram On Thursday 07 December 2017 05:30 AM, Sean Paul wrote: Welcome to version 4 of the patchset. I think we're nearing the finish line (hopefully) now. This set addresses t

[PATCH] rtc: sysfs: move sysfs & ioctl interface to Documentation/ABI

2018-01-01 Thread Aishwarya Pant
Right now, the decription of the rtc and sysfs interfaces is in Documentation/rtc.txt. Since these are a part of the ABI, they should be in Documentation/ABI along with the rest. Signed-off-by: Aishwarya Pant --- Let me know if the contact information should be different. I picked up the module a

[PATCH 00/26] staging: ccree: fixes and cleanups

2018-01-01 Thread Gilad Ben-Yossef
The usual combo of code cleanups and fixes. The highlights are: - Use SPDX for all driver copyright/license - Make ccree compliant with crypto API handling of backlog requests * - Make ccree compliant with Crypto API rules of resource alloc/release * - Settle on a single coherent file naming conve

[PATCH 05/26] staging: ccree: pick alloc mem flags based on req flags

2018-01-01 Thread Gilad Ben-Yossef
The ccree driver was allocating memory using GFP_KERNEL flag always, ignoring the flags set in the crypto request. Fix it by choosing gfp flags based on crypto request flags. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 19 +++-- drivers/staging/ccree/ssi_

[PATCH 04/26] staging: ccree: remove GFP_DMA flag from mem allocs

2018-01-01 Thread Gilad Ben-Yossef
Remove bogus GFP_DMA flag from memory allocations. ccree driver does not operate over an ISA or similar limited bus. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_cipher.c | 2 +- drivers/staging/ccree/ssi_hash.c | 15 ++- 2 files changed, 7 insertions(+), 10 delet

[PATCH 02/26] staging: ccree: fold hash defs into queue defs

2018-01-01 Thread Gilad Ben-Yossef
Fold the two remaining enum in hash defs into the queue defs that are using them and delete the hash defs include file. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_hw_queue_defs.h | 13 + drivers/staging/ccree/hash_defs.h| 23 --- drivers/

RE: [PATCH] qed: Use zeroing memory allocator than allocator/memset

2018-01-01 Thread Tayar, Tomer
From: Himanshu Jha [mailto:himanshujha199...@gmail.com] Sent: Saturday, December 30, 2017 5:37 PM > Use dma_zalloc_coherent and vzalloc for allocating zeroed > memory and remove unnecessary memset function. > > Done using Coccinelle. > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.coc

[PATCH 01/26] staging: ccree: SPDXify driver

2018-01-01 Thread Gilad Ben-Yossef
Replace verbatim GPL v2 copy with SPDX tag. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_crypto_ctx.h| 17 ++--- drivers/staging/ccree/cc_debugfs.c | 17 ++--- drivers/staging/ccree/cc_debugfs.h | 17 ++--- drivers/staging/ccree

[PATCH 03/26] staging: ccree: fold reg common defines into driver

2018-01-01 Thread Gilad Ben-Yossef
Fold the 2 macro defined in dx_reg_common.h into the file they are used in and delete the file. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_crypto_ctx.h | 4 ++-- drivers/staging/ccree/dx_reg_common.h | 13 - drivers/staging/ccree/ssi_driver.h| 5 +++-- 3 files

[PATCH 08/26] staging: ccree: remove unused leftover field

2018-01-01 Thread Gilad Ben-Yossef
Remove the unused monitor_desc field. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_request_mgr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/staging/ccree/ssi_request_mgr.c index bf66286..5812ffd 100644 --- a/drivers/stag

[PATCH 09/26] staging: ccree: breakup send_request

2018-01-01 Thread Gilad Ben-Yossef
The send_request() function was doing too much. Break it up for better readability and as basis for next patch in series Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 6 +- drivers/staging/ccree/ssi_cipher.c | 3 +- drivers/staging/ccree/ssi_hash.c

[PATCH 07/26] staging: ccree: tag debugfs init/exit func properly

2018-01-01 Thread Gilad Ben-Yossef
The debugfs global init and exit functions were missing __init and __exit tags, potentially wasting memory. Fix it by properly tagging them. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/stag

[PATCH 06/26] staging: ccree: copy larval digest from RAM

2018-01-01 Thread Gilad Ben-Yossef
The ccree driver was using a DMA operation to copy larval digest from the ccree SRAM to RAM. Replace it with a simple memcpy. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_driver.c | 2 + drivers/staging/ccree/ssi_hash.c | 121 - drivers/st

[PATCH 10/26] staging: ccree: add backlog processing

2018-01-01 Thread Gilad Ben-Yossef
Crypto API tfm providers are required to provide a backlog service, if so indicated, that queues up requests in the case of the provider being busy and processing them later. The ccree driver did not provide this facility. Add it now. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ss

[PATCH 11/26] stating: ccree: revert "staging: ccree: fix leak of import() after init()"

2018-01-01 Thread Gilad Ben-Yossef
This reverts commit c5f39d07860c ("staging: ccree: fix leak of import() after init()") and commit aece09024414 ("staging: ccree: Uninitialized return in ssi_ahash_import()"). This is the wrong solution and ends up relying on uninitialized memory, although it was not obvious to me at the time. Cc:

[PATCH 13/26] staging: ccree: check DMA pool buf !NULL before free

2018-01-01 Thread Gilad Ben-Yossef
If we ran out of DMA pool buffers, we get into the unmap code path with a NULL before. Deal with this by checking the virtual mapping is not NULL. Cc: sta...@vger.kernel.org Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 3 ++- 1 file changed, 2 insertions(+), 1 del

[PATCH 16/26] staging: ccree: remove unused field

2018-01-01 Thread Gilad Ben-Yossef
Remove unused struct field. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_hash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_hash.c b/drivers/staging/ccree/ssi_hash.c index 9d71b33..c64b4b5 100644 --- a/drivers/staging/ccree/ssi_hash.c +++ b/drive

[PATCH 14/26] staging: ccree: handle end of sg list gracefully

2018-01-01 Thread Gilad Ben-Yossef
If we are asked for number of entries of an offset bigger than the sg list we should not crash. Cc: sta...@vger.kernel.org Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_buff

[PATCH 15/26] staging: ccree: use Makefile to include PM code

2018-01-01 Thread Gilad Ben-Yossef
Replace ugly ifdefs with some inline macros and Makefile magic for optionally including power management related code for better readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/Makefile | 3 ++- drivers/staging/ccree/ssi_pm.c | 9 +--- drivers/stagi

[PATCH 12/26] staging: ccree: failing the suspend is not an error

2018-01-01 Thread Gilad Ben-Yossef
PM suspend returning a none zero value is not an error. It simply indicates a suspend is not advised right now so don't treat it as an error. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_request_mgr.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/dri

[PATCH 17/26] staging: ccree: use array for double buffer

2018-01-01 Thread Gilad Ben-Yossef
The ccree hash code is using a double buffer to hold data for processing but manages the buffers and their associated data count in two separate fields and uses a predicate to chose which to use. Move to using a proper 2 members array for a much cleaner code. Signed-off-by: Gilad Ben-Yossef ---

[PATCH 20/26] staging: ccree: fix indentation of func params

2018-01-01 Thread Gilad Ben-Yossef
Fix indentation of some function params in hash code for better readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_hash.c | 46 +--- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/drivers/staging/ccree/ssi_hash.c b/driv

[PATCH 19/26] staging: ccree: do not map bufs in ahash_init

2018-01-01 Thread Gilad Ben-Yossef
hash_init was mapping DMA memory that were then being unmap in hash_digest/final/finup callbacks, which is against the Crypto API usage rules (see discussion at https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg30077.html) Fix it by moving all buffer mapping/unmapping or each Crypto API

[PATCH 18/26] staging: ccree: allocate hash bufs inside req ctx

2018-01-01 Thread Gilad Ben-Yossef
Move to allocating the buffers needed for requests as part of the request structure instead of malloc'ing each one on it's own, making for simpler (and more efficient) code. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_hash.c | 68 driver

[PATCH 21/26] staging: ccree: fold common code into service func

2018-01-01 Thread Gilad Ben-Yossef
Fold common code in hash call into service functions. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_hash.c | 339 ++- 1 file changed, 116 insertions(+), 223 deletions(-) diff --git a/drivers/staging/ccree/ssi_hash.c b/drivers/staging/ccree/ssi

[PATCH 22/26] staging: ccree: put pointer next to var name

2018-01-01 Thread Gilad Ben-Yossef
Put pointer next to var name as per coding style. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_request_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/staging/ccree/ssi_request_mgr.c index b71200a..5e16

[PATCH 23/26] stating: ccree: fix allocation of void sized buf

2018-01-01 Thread Gilad Ben-Yossef
We were allocating buffers using sizeof(*struct->field) where field was type void. Fix it by having a local variable with the real type. Cc: sta...@vger.kernel.org Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_debugfs.c | 3 ++- drivers/staging/ccree/ssi_ivgen.c| 9

[PATCH 25/26] staging: ccree: remove unneeded includes

2018-01-01 Thread Gilad Ben-Yossef
Remove include files not needed for compilation. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_aead.c| 7 --- drivers/staging/ccree/cc_buffer_mgr.c | 6 -- drivers/staging/ccree/cc_cipher.c | 4 drivers/staging/ccree/cc_driver.c | 31

[PATCH 26/26] staging: ccree: update TODO

2018-01-01 Thread Gilad Ben-Yossef
Update TODO to reflect work done Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/TODO b/drivers/staging/ccree/TODO index 6d8702b..b8e163d 100644 --- a/drivers/staging/ccree/TODO +++ b/drivers

Re: [PATCH v4 03/11] docs: Add Generic Counter interface documentation

2018-01-01 Thread Jonathan Cameron
On Thu, 14 Dec 2017 15:51:16 -0500 William Breathitt Gray wrote: > This patch adds high-level documentation about the Generic Counter > interface. > > Signed-off-by: William Breathitt Gray > --- > Documentation/driver-api/iio/generic-counter.rst | 434 > +++ > Documentatio

Re: [PATCH v4 02/11] counter: Documentation: Add Generic Counter sysfs documentation

2018-01-01 Thread Jonathan Cameron
On Thu, 14 Dec 2017 15:50:58 -0500 William Breathitt Gray wrote: > This patch adds standard documentation for the userspace sysfs > attributes of the Generic Counter interface. > > Signed-off-by: William Breathitt Gray > --- > .../ABI/testing/sysfs-bus-counter-generic-sysfs| 73 >

Re: [PATCH v4 00/11] Introduce the Counter subsystem

2018-01-01 Thread Jonathan Cameron
On Thu, 14 Dec 2017 15:50:29 -0500 William Breathitt Gray wrote: > Introduction > > > Apologies for going silent these past couple months just to return with > a patchset over 3000 lines larger than the last -- I should have been > releasing intermediate versions along the way so sh

Re: [PATCH] rtc: sysfs: move sysfs & ioctl interface to Documentation/ABI

2018-01-01 Thread Julia Lawall
On Mon, 1 Jan 2018, Aishwarya Pant wrote: > Right now, the decription of the rtc and sysfs interfaces is in > Documentation/rtc.txt. Since these are a part of the ABI, they should be > in Documentation/ABI along with the rest. > > Signed-off-by: Aishwarya Pant > --- > Let me know if the contact

Re: [PATCH v4 01/11] iio: Introduce the Generic Counter interface

2018-01-01 Thread Jonathan Cameron
On Thu, 14 Dec 2017 15:50:43 -0500 William Breathitt Gray wrote: > This patch introduces the Generic Counter interface for supporting > counter devices. The Generic Counter interface serves as a catch-all to > enable rudimentary support for devices that qualify as counters. More > specific and ap

[PATCH] rpmsg: Add driver_override device attribute for rpmsg_device

2018-01-01 Thread Anup Patel
This patch adds "driver_override" device attribute for rpmsg_device which will allow users to explicitly specify the rpmsg_driver to be used via sysfs entry. The "driver_override" device attribute implemented here is very similar to "driver_override" implemented for platform, pci, and amba bus typ

Re: [PATCH v4 04/11] counter: Introduce the Simple Counter interface

2018-01-01 Thread Jonathan Cameron
On Thu, 14 Dec 2017 15:51:30 -0500 William Breathitt Gray wrote: > This patch introduces the Simple Counter interface. The Simple Counter > interface serves as an API to provide support for simple hardware > counter devices. The Simple Counter interface is built on top of the > Generic Counter in

Re: [PATCH v4 05/11] counter: Documentation: Add Simple Counter sysfs documentation

2018-01-01 Thread Jonathan Cameron
On Thu, 14 Dec 2017 15:51:43 -0500 William Breathitt Gray wrote: > This patch adds standard documentation for the userspace sysfs > attributes of the Simple Counter interface. > > Signed-off-by: William Breathitt Gray > --- > .../ABI/testing/sysfs-bus-counter-simple-sysfs | 61 > +

[PATCH v2] regulator: sc2731: Fix defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE

2018-01-01 Thread Axel Lin
The defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE makes regmap_write() call looks strange because it takes reg parameter fist then val. Base on Erick's suggestion to define SC2731_PWR_WR_PROT and SC2731_WR_UNLOCK_VALUE instead. Signed-off-by: Axel Lin --- drivers/regulator/sc2731-reg

Re: [PATCH v4 06/11] docs: Add Simple Counter interface documentation

2018-01-01 Thread Jonathan Cameron
On Thu, 14 Dec 2017 15:51:55 -0500 William Breathitt Gray wrote: > This patch adds high-level documentation about the Simple Counter > interface. > > Signed-off-by: William Breathitt Gray On small suggestion inline. Jonathan > --- > Documentation/driver-api/iio/index.rst | 1 + > D

Re: [PATCH v4 08/11] counter: Introduce the Quadrature Counter interface

2018-01-01 Thread Jonathan Cameron
On Thu, 14 Dec 2017 15:52:20 -0500 William Breathitt Gray wrote: > This patch introduces the Quadrature Counter interface. The Quadrature > Counter interface serves as an API to provide support for quadrature > encoder counter devices. The Quadrature Counter interface is built on > top of the Gen

Re: [PATCH 4/6] clk: ingenic: Add JZ47xx TCU clocks driver

2018-01-01 Thread kbuild test robot
/commits/Paul-Cercueil/Ingenic-JZ47xx-TCU-drivers/20180101-184936 config: mips-qi_lb60_defconfig (attached as .config) compiler: mipsel-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

Re: [PATCH v4 00/11] Introduce the Counter subsystem

2018-01-01 Thread Jonathan Cameron
On Mon, 1 Jan 2018 11:16:30 + Jonathan Cameron wrote: Sorry to top post but I just want to add some general comments across the whole series. 1) Basics look good to me. It all fits together well. 2) I'm concerned about the two 'simplified interfaces' for a couple of reasons: a) They add a l

Re: [EXT] Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the fourth network interface

2018-01-01 Thread Russell King - ARM Linux
On Mon, Jan 01, 2018 at 10:35:25AM +, Stefan Chulski wrote: > > > -Original Message- > > Hi Russell, > > > > Indeed. RGMII MAC behaves same way, although it shouldn't be named as 'in- > > band' to be on par with the specifications. Anyway - this one is rather a > > stub for > > being

Re: [PATCH v2] USB: host: Use zeroing memory allocator rather than allocator/memset

2018-01-01 Thread Himanshu Jha
On Sun, Dec 31, 2017 at 04:20:45PM -0500, Alan Stern wrote: > On Sun, 31 Dec 2017, Himanshu Jha wrote: > > > Use dma_zalloc_coherent for allocating zeroed > > memory and remove unnecessary memset function. > > > > Done using Coccinelle. > > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simpl

Re: [PATCH 01/26] staging: ccree: SPDXify driver

2018-01-01 Thread Philippe Ombredanne
Gilad, On Mon, Jan 1, 2018 at 1:06 PM, Gilad Ben-Yossef wrote: > Replace verbatim GPL v2 copy with SPDX tag. > > Signed-off-by: Gilad Ben-Yossef > --- a/drivers/staging/ccree/cc_crypto_ctx.h > +++ b/drivers/staging/ccree/cc_crypto_ctx.h > @@ -1,18 +1,5 @@ > -/* > - * Copyright (C) 2012-2017 A

Re: [PATCH 01/26] staging: ccree: SPDXify driver

2018-01-01 Thread Gilad Ben-Yossef
On Mon, Jan 1, 2018 at 3:53 PM, Philippe Ombredanne wrote: > Gilad, > > On Mon, Jan 1, 2018 at 1:06 PM, Gilad Ben-Yossef wrote: >> Replace verbatim GPL v2 copy with SPDX tag. >> >> Signed-off-by: Gilad Ben-Yossef > > > >> --- a/drivers/staging/ccree/cc_crypto_ctx.h >> +++ b/drivers/staging/ccre

[PATCH 3.18 01/32] ACPI: APEI / ERST: Fix missing error handling in erst_reader()

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit bb82e0b4a7e96494f0c1004ce50cec3d7b5fb3d1 upstream. The commit f6f828513290 ("pstore: pass allocated memory region back to caller") changed the check of the return value fro

[PATCH 3.18 10/32] powerpc/perf: Dereference BHRB entries safely

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ravi Bangoria commit f41d84dddc66b164ac16acf3f584c276146f1c48 upstream. It's theoretically possible that branch instructions recorded in BHRB (Branch History Rolling Buffer) entries have alrea

[PATCH 3.18 15/32] ring-buffer: Mask out the info bits when returning buffer page length

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 45d8b80c2ac5d21cd1e2954431fb676bc2b1e099 upstream. Two info bits were added to the "commit" part of the ring buffer data page when returned to be consumed. This

[PATCH 3.18 00/32] 3.18.91-stable review

2018-01-01 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.18.91 release. There are 32 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 should be made by Wed Jan 3 13:59:44 UTC 2018. Anything receiv

[PATCH 3.18 04/32] mfd: twl6040: Fix child-node lookup

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 85e9b13cbb130a3209f21bd7933933399c389ffe upstream. Fix child-node lookup during probe, which ended up searching the whole device tree depth-first starting at the parent rat

[PATCH 3.18 16/32] ASoC: twl4030: fix child-node lookup

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 15f8c5f2415bfac73f33a14bcd83422bcbfb5298 upstream. Fix child-node lookup during probe, which ended up searching the whole device tree depth-first starting at the parent rat

[PATCH 3.18 11/32] net: mvneta: clear interface link status on port disable

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Yelena Krivosheev commit 4423c18e466afdfb02a36ee8b9f901d144b3c607 upstream. When port connect to PHY in polling mode (with poll interval 1 sec), port and phy link status must be synchronize in

[PATCH 3.18 03/32] mfd: twl4030-audio: Fix sibling-node lookup

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 0a423772de2f3d7b00899987884f62f63ae00dcb upstream. A helper purported to look up a child node based on its name was using the wrong of-helper and ended up prematurely freei

[PATCH 3.18 07/32] PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit 5839ee7389e893a31e4e3c9cf17b50d14103c902 upstream. It is incorrect to call pci_restore_state() for devices in low-power states (D1-D3), as that involves the restoratio

[PATCH 3.18 05/32] ALSA: rawmidi: Avoid racy info ioctl via ctl device

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit c1cfd9025cc394fd137a01159d74335c5ac978ce upstream. The rawmidi also allows to obtaining the information via ioctl of ctl API. It means that user can issue an ioctl to the

Re: [PATCH] rtc: sysfs: move sysfs & ioctl interface to Documentation/ABI

2018-01-01 Thread Alexandre Belloni
Hi, Well, I had that patch: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?h=rtc-ranges&id=79729c30854986faf4d26b0303dba220f4ef89de part of a series I didn't send yet (it is still WIP and I just pushed it). Can you rebase on top of that? The RO/RW annotation would be a

[PATCH 3.18 06/32] ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 5a15f289ee87eaf33f13f08a4909ec99d837ec5f upstream. The commit 89b89d121ffc ("ALSA: usb-audio: Add check return value for usb_string()") added the check of the return value

[PATCH 3.18 21/32] netlink: Add netns check on taps

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Kevin Cernekee [ Upstream commit 93c647643b48f0131f02e45da3bd367d80443291 ] Currently, a nlmon link inside a child namespace can observe systemwide netlink activity. Filter the traffic so th

[PATCH 3.18 32/32] n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 966031f340185eddd05affcf72b740549f056348 upstream. We added support for EXTPROC back in 2010 in commit 26df6d13406d ("tty: Add EXTPROC support for LINEMODE") and the inte

[PATCH 3.18 24/32] tg3: Fix rx hang on MTU change with 5717/5719

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Brian King [ Upstream commit 748a240c589824e9121befb1cba5341c319885bc ] This fixes a hang issue seen when changing the MTU size from 1500 MTU to 9000 MTU on both 5717 and 5719 chips. In discu

[PATCH 3.18 31/32] usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Thompson commit da99706689481717998d1d48edd389f339eea979 upstream. When plugging in a USB webcam I see the following message: xhci_hcd :04:00.0: WARN Successful completion on short

[PATCH 3.18 19/32] ipv6: mcast: better catch silly mtu values

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit b9b312a7a451e9c098921856e7cfbc201120e1a7 ] syzkaller reported crashes in IPv6 stack [1] Xin Long found that lo MTU was set to silly values. IPv6 stack reacts

[PATCH 3.18 26/32] sctp: Replace use of sockets_allocated with specified macro.

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Tonghao Zhang [ Upstream commit 8cb38a602478e9f806571f6920b0a3298aabf042 ] The patch(180d8cd942ce) replaces all uses of struct sock fields' memory_pressure, memory_allocated, sockets_allocate

[PATCH 3.18 27/32] net: ipv4: fix for a race condition in raw_sendmsg

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mohamed Ghannam [ Upstream commit 8f659a03a0ba9289b9aeb9b4470e6fb263d6f483 ] inet->hdrincl is racy, and could lead to uninitialized stack pointer usage, so its value should be read only once.

[PATCH 3.18 28/32] USB: serial: option: add support for Telit ME910 PID 0x1101

2018-01-01 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Daniele Palmas commit 08933099e6404f588f81c2050bfec7313e06eeaf upstream. This patch adds support for PID 0x1101 of Telit ME910. Signed-off-by: Daniele Palmas Signed-off-by: Johan Hovold Sig

[PATCH 4.4 01/63] ACPI: APEI / ERST: Fix missing error handling in erst_reader()

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit bb82e0b4a7e96494f0c1004ce50cec3d7b5fb3d1 upstream. The commit f6f828513290 ("pstore: pass allocated memory region back to caller") changed the check of the return value from

[PATCH 4.4 00/63] 4.4.109-stable review

2018-01-01 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.109 release. There are 63 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 should be made by Wed Jan 3 13:59:54 UTC 2018. Anything receiv

[PATCH 4.4 10/63] spi: xilinx: Detect stall with Unknown commands

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ricardo Ribalda Delgado commit 5a1314fa697fc65cefaba64cd4699bfc3e6882a6 upstream. When the core is configured in C_SPI_MODE > 0, it integrates a lookup table that automatically configures the c

[PATCH 4.4 13/63] powerpc/perf: Dereference BHRB entries safely

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ravi Bangoria commit f41d84dddc66b164ac16acf3f584c276146f1c48 upstream. It's theoretically possible that branch instructions recorded in BHRB (Branch History Rolling Buffer) entries have alread

[PATCH 4.4 15/63] tracing: Remove extra zeroing out of the ring buffer page

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 6b7e633fe9c24682df550e5311f47fb524701586 upstream. The ring_buffer_read_page() takes care of zeroing out any extra data in the page that it returns. There's no ne

[PATCH 4.4 03/63] mfd: cros ec: spi: Dont send first message too soon

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jon Hunter commit 15d8374874ded0bec37ef27f8301a6d54032c0e5 upstream. On the Tegra124 Nyan-Big chromebook the very first SPI message sent to the EC is failing. The Tegra SPI driver configures t

[PATCH 4.4 20/63] ASoC: fsl_ssi: AC97 ops need regmap, clock and cleaning up on failure

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Maciej S. Szmigiero commit 695b78b548d8a26288f041e907ff17758df9e1d5 upstream. AC'97 ops (register read / write) need SSI regmap and clock, so they have to be set after them. We also need to se

[PATCH 4.4 16/63] tracing: Fix possible double free on failure of allocating trace buffer

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 4397f04575c44e1440ec2e49b6302785c95fd2f8 upstream. Jing Xia and Chunyan Zhang reported that on failing to allocate part of the tracing buffer, memory is freed, bu

[PATCH 4.4 17/63] tracing: Fix crash when it fails to alloc ring buffer

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jing Xia commit 24f2aaf952ee0b59f31c3a18b8b36c9e3d3c2cf5 upstream. Double free of the ring buffer happens when it fails to alloc new ring buffer instance for max_buffer if TRACER_MAX_TRACE is c

[PATCH 4.4 22/63] ALSA: hda: Drop useless WARN_ON()

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit a36c2638380c0a4676647a1f553b70b20d3ebce1 upstream. Since the commit 97cc2ed27e5a ("ALSA: hda - Fix yet another i915 pointer leftover in error path") cleared hdac_acomp point

[PATCH 4.4 05/63] mfd: twl6040: Fix child-node lookup

2018-01-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 85e9b13cbb130a3209f21bd7933933399c389ffe upstream. Fix child-node lookup during probe, which ended up searching the whole device tree depth-first starting at the parent rath

  1   2   3   4   5   6   7   >