[PATCH v8 03/10] mfd: axp20x: use dev->driver->of_match_table in axp20x_match_device()

2016-02-11 Thread Chen-Yu Tsai
In axp20x_match_device(), match the of_device_id table bound to the device driver instead of pointing to axp20x_of_match directly. This will allow us to keep axp20x_match_device() unmodified when we expand the axp20x driver into multiple ones covering different interface types. of_device_get_match

[PATCH v8 01/10] mfd: axp20x: Add AXP223 to list of supported PMICs in DT bindings

2016-02-11 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Acked-by: Rob Herring Acked-by: Lee Jones -

Re: [PATCH 1/2] pinctrl: mediatek: fix direction control issue

2016-02-11 Thread Hongzhou Yang
On Fri, 2016-02-05 at 14:52 +0100, Linus Walleij wrote: > On Thu, Feb 4, 2016 at 4:03 AM, Hongzhou Yang > wrote: > > On Wed, 2016-02-03 at 09:24 +0800, Biao Huang wrote: > >> Since input-enable/disable and input-schmitt-enable/disable are > >> workable when gpio direction is input, so add directio

[PATCH] Documentation: SubmittingPatches: Add note about Reviewed-by tags

2016-02-11 Thread Florian Fainelli
As is now common in a lot of organization having an internal code review process (be it through Gerritt or other tools), patches extracted from this review process and submitted to public mailing-lists will have pre-existing Reviewed-by tags. Add a note about why these tags exists, and what a maint

linux-next: manual merge of the kvm-arm tree with the arm64 tree

2016-02-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in: arch/arm/kvm/arm.c between commit: 6a26b548a2c4 ("arm64: kvm: deal with kernel symbols outside of linear mapping") from the arm64 tree and commit: aa0bf2030bca ("ARM: KVM: Remove __kvm_hyp_code_start/__kvm_hyp_code

Re: [BUG REPORT] use of unreachable() masks uninitialized variables warnings

2016-02-11 Thread Theodore Ts'o
On Thu, Feb 11, 2016 at 11:12:12AM -0700, Jeff Merkey wrote: > > That's good to know, they could be false positives, but it was kind of > wierd behavior caused by that macro. If it is true, it sounds more like a compiler bug to me. Any statements a BUG() call are unreachable. If the compiler as

Re: [PATCH] Documentation: SubmittingPatches: Add note about Reviewed-by tags

2016-02-11 Thread Anup Patel
On Fri, Feb 12, 2016 at 7:42 AM, Florian Fainelli wrote: > As is now common in a lot of organization having an internal code review > process (be it through Gerritt or other tools), patches extracted from > this review process and submitted to public mailing-lists will have > pre-existing Reviewed

Re: [PATCH v8 2/4] tee: generic TEE subsystem

2016-02-11 Thread Greg Kroah-Hartman
On Thu, Feb 11, 2016 at 06:14:35PM +0100, Jens Wiklander wrote: > Initial patch for generic TEE subsystem. > This subsystem provides: > * Registration/un-registration of TEE drivers. > * Shared memory between normal world and secure world. > * Ioctl interface for interaction with user space. > * Sy

Re: [PATCH v2] let kernfs_name_locked & kernfs_name return size_t

2016-02-11 Thread Greg KH
On Wed, Feb 10, 2016 at 08:07:05PM +0100, Christian Brauner wrote: > Simple patch that changes the return value of kernfs_name_locked and > kernfs_name > to size_t which alignes these functions with kernfs_path_len which also > returns > size_t. > > Patch was made against for-4.5 branch of Tejun

Re: [PATCH v5 RESEND 3/5] driver core: handle -EPROBE_DEFER from bus_type.match()

2016-02-11 Thread Greg Kroah-Hartman
On Wed, Feb 10, 2016 at 11:47:28AM +0100, Marek Szyprowski wrote: > From: Tomeu Vizoso > > Allow implementations of the match() callback in struct bus_type to > return errors and if it's -EPROBE_DEFER then queue the device for > deferred probing. > > This is useful to buses such as AMBA in which

Re: [PATCH v2] hpet: drop stale link

2016-02-11 Thread Greg Kroah-Hartman
On Thu, Feb 11, 2016 at 01:05:01AM +0200, Michael S. Tsirkin wrote: > Looks like the HPET spec at intel.com got moved. > It isn't hard to find so drop the link, just mention > the revision assumed. > > Suggested-by: Thomas Gleixner > Signed-off-by: Michael S. Tsirkin > --- > > Changes from v1:

Re: [tpmdd-devel] [PATCH] tpm: fix the cleanup of struct tpm_chip

2016-02-11 Thread Jarkko Sakkinen
On Thu, Feb 11, 2016 at 12:34:15PM -0700, Jason Gunthorpe wrote: > On Tue, Feb 09, 2016 at 05:30:30AM +0200, Jarkko Sakkinen wrote: > > If the initialization fails before tpm_chip_register(), put_device() > > will be not called, which causes release callback not to be called. > > This patch fixes t

[GIT PULL] xfs: fixes for 4.5-rc4

2016-02-11 Thread Dave Chinner
Hi Linus, Can you please pull the XFS commit from the tag below? It contains a fix for a regression introduced in 4.5-rc1 by the new log recovery CRC validation code. Thanks! -Dave. The following changes since commit 36f90b0a2ddd60823fe193a85e60ff1906c2a9b3: Linux 4.5-rc2 (2016-01-31 18:12:16

Re: [GIT PULL] bcm2835 DT changes for 4.6

2016-02-11 Thread Florian Fainelli
On 10/02/2016 10:51, Eric Anholt wrote: > Martin Sperl writes: > >>> On 09.02.2016, at 01:32, Eric Anholt wrote: >>> >>> Hi Florian. Here's the first set of patches for bcm2835 for 4.6. >>> We've got more DT patches that are going to happen for new boards, >>> too, but they're still getting pol

Re: [PATCH v2] Staging: fix coding style in rtl8188eu/core

2016-02-11 Thread Greg Kroah-Hartman
On Wed, Feb 10, 2016 at 10:09:28PM +0100, Colin Vidal wrote: > Set constant operand on right of test, and refactor the code in a more > compact and readable way. Please don't do two different things in the same patch, break this up into different patches. thanks, gregk -h

Re: [BUG] random kernel crashes after THP rework on s390 (maybe also on PowerPC and ARM)

2016-02-11 Thread Aneesh Kumar K.V
Gerald Schaefer writes: > On Thu, 11 Feb 2016 21:09:42 +0200 > "Kirill A. Shutemov" wrote: > >> On Thu, Feb 11, 2016 at 07:22:23PM +0100, Gerald Schaefer wrote: >> > Hi, >> > >> > Sebastian Ott reported random kernel crashes beginning with v4.5-rc1 and >> > he also bisected this to commit 61f5d

Re: [GIT PULL] phy: for-4.5 -rc cycle

2016-02-11 Thread Greg KH
On Wed, Feb 10, 2016 at 12:15:04PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the pull request for this -rc cycle below. It contains a fix in > phy core, twl4030-usb phy driver and a fix in Kconfig. > > Consider merging it to this -rc cycle. Let me know if you want me to chan

[PATCH] regulator: Rename files for max77686 and max77802 drivers

2016-02-11 Thread Javier Martinez Canillas
The max77686 and max77802 regulator drivers are for sub-devices of a MFD driver for some PMIC blocks. But the same object file name (max77686.o) was used for both the common MFD driver and the max77686 regulator one. This confuses kbuild if both drivers are built as module causing the MFD driver t

[PATCH v4 0/8] Staging: rts5208: Fix coding style

2016-02-11 Thread Shaun Ren
This set of patches fixes the coding style issues in rtsx_transport.c. Changes since v3 * Removed the extraneous SCSI comment in the first patch * Removed the last patch (Staging: rts5208: Add missing dma_mapping_error) as it is already done in change 9a66d05d82db (Staging: rts5208: fix ch

[PATCH v4 1/8] Staging: rts5208: rtsx_transport.c: Cleanup comments

2016-02-11 Thread Shaun Ren
This patch fixes all multiline comments to conform to the coding style, which states that multiline comments should start with "/*" and end with "*/" on a separate line. Also cleans up some comments to make them more clear and/or reflect what the code is doing. Signed-off-by: Shaun Ren --- Chang

[PATCH v4 8/8] Staging: rts5208: rtsx_transport.c: Fix comparisons to NULL

2016-02-11 Thread Shaun Ren
This patch changes all comparsions to NULL with !..., as reported by checkpatch.pl. Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_transport.c b/drivers/staging/rts5208/

[PATCH v4 5/8] Staging: rts5208: rtsx_transport.c: Remove extra newlines

2016-02-11 Thread Shaun Ren
This patch fixes the following issues in rtsx_transport.c as reported by checkpatch.pl: CHECK: Blank lines aren't necessary after an open brace '{' CHECK: Please don't use multiple blank lines Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 3 --- 1 file changed, 3 delet

[PATCH v4 3/8] Staging: rts5208: rtsx_transport.c: Remove spaces after casts

2016-02-11 Thread Shaun Ren
This patch removes all spaces after casts in rtsx_transport.c, as reported by checkpatch.pl: CHECK: No space is necessary after a cast Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rts520

[PATCH v4 7/8] Staging: rts5208: rtsx_transport.c: Remove unnecessary parentheses

2016-02-11 Thread Shaun Ren
This patch removes all unnecessary parentheses found by checkpatch.pl. Signed-off-by: Shaun Ren --- Changes since v3 * Fixed patch conflicts due to commit 9a66d05d82db ("Staging: rts5208: fix check for dma mapping error"), and commit b3232842dbef ("Staging: rts5208: remove unnecessary p

[PATCH v4 6/8] Staging: rts5208: rtsx_transport.c: Fix label naming convention

2016-02-11 Thread Shaun Ren
This patch fixes the following naming convention issue in rtsx_transport.c, as reported by checkpatch.pl: CHECK: Avoid CamelCase: Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rts5

[PATCH v4 2/8] Staging: rts5208: rtsx_transport.c: Align to open parenthesis

2016-02-11 Thread Shaun Ren
This patch fixes the alignment issue reported by checkpatch.pl: CHECK: Alignment should match open parenthesis Add a unsigned char *sgbuffer in rtsx_stor_access_xfer_buffer to make the following memcpy logic easier to read. Add a struct scatterlist *sg in the use_sg branch of rtsx_transfer_data_

[PATCH v4 4/8] Staging: rts5208: rtsx_transport.c: Add spaces around -

2016-02-11 Thread Shaun Ren
This patch fixes the following styling issue in rtsx_transport.c as reported by checkpatch.pl: CHECK: spaces preferred around that '-' (ctx:VxV) Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/

Re: [BUG REPORT] use of unreachable() masks uninitialized variables warnings

2016-02-11 Thread Jeff Merkey
On 2/11/16, Theodore Ts'o wrote: > On Thu, Feb 11, 2016 at 11:12:12AM -0700, Jeff Merkey wrote: >> >> That's good to know, they could be false positives, but it was kind of >> wierd behavior caused by that macro. > > If it is true, it sounds more like a compiler bug to me. Any > statements a BUG(

[git pull] drm amd fixes.

2016-02-11 Thread Dave Airlie
Hi Linus, Been pretty quiet, this is an amdgpu fixes pull from AMD, a bunch of powerplay stability fixes, race fix, hibernate fix, and a possible circular locking fix. Dave. The following changes since commit 388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95: Linux 4.5-rc3 (2016-02-07 15:38:30 -0800)

Re: [BUG REPORT] use of unreachable() masks uninitialized variables warnings

2016-02-11 Thread Jeff Merkey
> In your case, for example, I looked through several dozen warnings, > and they were ***all*** bogus. Keep in mind that this might make me > less inclined to pay attention to complaints from you in the future. > The story of the buy who cried wolf too often comes to mind. > > Perhaps you could ac

[PATCH 0/4] mfd: max77686: Allow the driver to be built as a module

2016-02-11 Thread Javier Martinez Canillas
Hello, The Maxim77802 PMIC driver uses a boolean Kconfig symbol but there isn't really a reason to require the driver to be built-in. It is true that since the PMIC provides clocks and regulators that could be critical on a system, most integrators are not going to build it as a module but it cou

[PATCH 4/4] mfd: max77686: Export OF module alias information

2016-02-11 Thread Javier Martinez Canillas
When the device is registered via OF, the OF table is used to match the driver instead of the I2C device ID table but the entries in the latter are used as aliasses to load the module if the driver was not built-in. This is because the I2C core always reports an I2C module alias instead of an OF o

[PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of subsys initcall

2016-02-11 Thread Javier Martinez Canillas
The driver's init and exit function don't do anything besides adding and deleting the I2C driver so the module_i2c_driver() macro could be used. Currently is not being used because the driver is initialized at subsys initcall level, claiming that this is done to allow consumers devices to use the

[PATCH 1/4] mfd: max77686: Add max77802 to I2C device ID table

2016-02-11 Thread Javier Martinez Canillas
The max77686 MFD driver supports both the Maxim 77686 and Maxim 77802 PMICs but only the OF device table contains entries for both devices. The max77802 entry is missing in the I2C device ID table which isn't a problem currently since the driver only supports DT but it will be needed if the driver

[PATCH 3/4] mfd: max77686: Allow driver to be built as a module

2016-02-11 Thread Javier Martinez Canillas
The driver's Kconfig symbol is a boolean but nothing prevents the driver to be built as a module instead of built-in. It is true that most system integrators will choose the latter but the config should not restrict it. Signed-off-by: Javier Martinez Canillas --- drivers/mfd/Kconfig | 4 ++-- 1

Re: [PATCH v4 2/8] Staging: rts5208: rtsx_transport.c: Align to open parenthesis

2016-02-11 Thread Joe Perches
On Thu, 2016-02-11 at 20:07 -0800, Shaun Ren wrote: > This patch fixes the alignment issue reported by checkpatch.pl: > > CHECK: Alignment should match open parenthesis [] > diff --git a/drivers/staging/rts5208/rtsx_transport.c > b/drivers/staging/rts5208/rtsx_transport.c [] > @@ -52,12 +55,14 @@

Re: [BUG REPORT] use of unreachable() masks uninitialized variables warnings

2016-02-11 Thread Jeff Merkey
On 2/11/16, Jeff Merkey wrote: >> In your case, for example, I looked through several dozen warnings, >> and they were ***all*** bogus. Keep in mind that this might make me >> less inclined to pay attention to complaints from you in the future. >> The story of the buy who cried wolf too often com

Re: [PATCH v4 2/8] Staging: rts5208: rtsx_transport.c: Align to open parenthesis

2016-02-11 Thread kbuild test robot
Hi Shaun, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.5-rc3 next-20160211] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Shaun-Ren/Staging-rts5208-Fix

Re: [PATCH v8 2/4] tee: generic TEE subsystem

2016-02-11 Thread Al Viro
On Thu, Feb 11, 2016 at 06:14:35PM +0100, Jens Wiklander wrote: > +static int tee_ioctl_shm_alloc(struct tee_context *ctx, > + struct tee_ioctl_shm_alloc_data __user *udata) > +{ > + long ret; > + struct tee_ioctl_shm_alloc_data data; > + struct tee_shm *shm; > + > + if

Re: [BUG REPORT] use of unreachable() masks uninitialized variables warnings

2016-02-11 Thread Jeff Merkey
On 2/11/16, Theodore Ts'o wrote: > On Thu, Feb 11, 2016 at 11:12:12AM -0700, Jeff Merkey wrote: >> >> That's good to know, they could be false positives, but it was kind of >> wierd behavior caused by that macro. > > If it is true, it sounds more like a compiler bug to me. Any > statements a BUG(

Re: [PATCH] ext4: ioctl: fix erroneous return value

2016-02-11 Thread Theodore Ts'o
On Thu, Feb 11, 2016 at 10:58:58AM -0500, Anton Protopopov wrote: > The ext4_ioctl_setflags() function which is used in the ioctls > EXT4_IOC_SETFLAGS and EXT4_IOC_FSSETXATTR may return the positive value > EPERM instead of -EPERM in case of error. This bug was introduced by a > recent commit 9b736

Re: [RFC][PATCH v3 4/4] printk: set may_schedule for some of console_trylock callers

2016-02-11 Thread Sergey Senozhatsky
On (02/11/16 17:10), Petr Mladek wrote: [..] > > well, I believe it's ok. __rcu_read_lock() for CONFIG_PREEMPT_RCU > > does current->rcu_read_lock_nesting++, so rcu_preempt_depth() works > > as expected. otherwise, for !CONFIG_PREEMPT_RCU kernel, > > __rcu_read_lock() does > > > > if (IS_ENABL

linux-next: Tree for Feb 12

2016-02-11 Thread Stephen Rothwell
Hi all, Changes since 20160211: The kvm-arm tree gained a conflict against the arm64 tree. The aio tree still had a build failure so I used the version from next-20160111. Non-merge commits (relative to Linus' tree): 4277 3754 files changed, 149171 insertions(+), 67859 dele

Re: [PATCH 04/14] clk: sunxi: add ahb1 clock for A83T

2016-02-11 Thread Vishnu Patekar
Hello Maxime, On Thu, Feb 4, 2016 at 4:01 PM, Maxime Ripard wrote: > On Thu, Feb 04, 2016 at 02:06:45PM +0800, Vishnu Patekar wrote: >> Hello Maxime, >> >> >> On Tue, Feb 2, 2016 at 9:17 PM, Maxime Ripard >> wrote: >> > Hi, >> > >> > On Sun, Jan 31, 2016 at 09:20:56AM +0800, Vishnu Patekar wrote

[GIT PULL] SCSI fixes for 4.5-rc3

2016-02-11 Thread James Bottomley
A set of seven fixes. Two regressions in the new hisi_sas arm driver, a blacklist entry for the marvell console which was causing a reset cascade without it, a race fix in the WRITE_SAME/DISCARD routines, a retry fix for the rdac driver, without which, it would prematurely return EIO and a couple

blk: accessing invalid memory with "blk-mq: dynamic h/w context count"

2016-02-11 Thread Sasha Levin
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [6035791.333886] Object 880052e5c1f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [6035791.334813] CPU: 0 PID: 1 Comm: swapper/0 Tainted: GB W 4.5.0-rc3-next-20160211-sasha-00028-g542d18e-dirty

Re: linux-next: Tree for Feb 12

2016-02-11 Thread Sudip Mukherjee
On Fri, Feb 12, 2016 at 04:20:35PM +1100, Stephen Rothwell wrote: > Hi all, > > Changes since 20160211: since last few days with gcc-4.6.3, x86_64 and i386 defconfig and allmodconfig builds are failing with the error: "arch/x86/include/asm/tlbflush.h:26:18: error: memory input 0 i

Re: [PATCH] ext4: add a line break for proc mb_groups display

2016-02-11 Thread Theodore Ts'o
On Wed, Feb 03, 2016 at 02:12:44PM -0700, Andreas Dilger wrote: > > > On Feb 3, 2016, at 6:19 AM, Huaitong Han wrote: > > > > This patch adds a line break for proc mb_groups display. > > > > Signed-off-by: Huaitong Han > > Reviewed-by: Andreas Dilger Thanks, applied.

Re: [PATCH] ext4: fix potential integer overflow

2016-02-11 Thread Theodore Ts'o
On Wed, Jan 20, 2016 at 11:18:08AM -0500, Insu Yun wrote: > Since sizeof(ext_new_group_data) > sizeof(ext_new_flex_group_data), > integer overflow could be happened. > Therefore, need to fix integer overflow sanitization. > > Signed-off-by: Insu Yun Thanks, applied.

Re: [PATCH] cpufreq: Avoid unnecessary locking in show() and store()

2016-02-11 Thread Viresh Kumar
On 11-02-16, 02:25, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The show() and store() routines in the cpufreq core don't need to > acquire all of the locks to check if the struct freq_attr they want > to use really provides the callbacks they need as expected, so change > them to avoi

[patch] rapidio: mport_cdev: fix some error codes

2016-02-11 Thread Dan Carpenter
copy_to_user() returns the number of bytes not copied but we want to return an error code. Fixes: a45bfc36bf0d ('rapidio: add mport char device driver') Signed-off-by: Dan Carpenter diff --git a/drivers/rapidio/devices/rio_mport_cdev.c b/drivers/rapidio/devices/rio_mport_cdev.c index 6d56725..a

Re: [PATCH] tty/serial: digicolor: Fix bad usage of IS_ERR_VALUE

2016-02-11 Thread Andrzej Hajda
On 02/11/2016 04:32 PM, Guenter Roeck wrote: > On Thu, Feb 11, 2016 at 07:45:11AM +0100, Andrzej Hajda wrote: >> On 02/11/2016 04:38 AM, Guenter Roeck wrote: >>> On 02/10/2016 07:21 AM, Arnd Bergmann wrote: On Tuesday 09 February 2016 18:37:46 Guenter Roeck wrote: > On 02/09/2016 07:26 AM,

[patch] regulator: qcom-saw: testing the wrong variable

2016-02-11 Thread Dan Carpenter
We accidentally test "config.regmap" which is zero instead of "vreg->regmap". Fixes: 18bba3b50355 ('regulator: qcom-saw: Add support for SAW regulators') Signed-off-by: Dan Carpenter diff --git a/drivers/regulator/qcom_saw-regulator.c b/drivers/regulator/qcom_saw-regulator.c index c800f16..c00f

[patch 1/2] misc: mic: use after free printing error message

2016-02-11 Thread Dan Carpenter
Swap the printk and kfree() to avoid a use after free bug. Fixes: 61e9c905df78 ('misc: mic: Enable VOP host side functionality') Signed-off-by: Dan Carpenter diff --git a/drivers/misc/mic/vop/vop_vringh.c b/drivers/misc/mic/vop/vop_vringh.c index c1dd000..c3613f3 100644 --- a/drivers/misc/mic/v

[patch 2/2] misc: mic: silence an overflow warning

2016-02-11 Thread Dan Carpenter
Static checkers complain that the this is a potential array overflow. We verify that it's not on the next line so this code is OK, but static checker warnings are annoying. Signed-off-by: Dan Carpenter --- We would have caught CVE-2015-5327 if we had ordered it to check first before using the off

Re: [PATCH v3 3/3] pci: dra7xx: use pdata callbacks to perform reset

2016-02-11 Thread Kishon Vijay Abraham I
Hi, On Friday 12 February 2016 12:57 AM, Paul Walmsley wrote: > Hi Kishon, Suman, > > On Wed, 10 Feb 2016, Kishon Vijay Abraham I wrote: > >> On Wednesday 10 February 2016 07:12 AM, Suman Anna wrote: >>> On 02/09/2016 01:36 PM, Paul Walmsley wrote: On Tue, 9 Feb 2016, Suman Anna wrote:

[PATCH v5 2/8] Staging: rts5208: rtsx_transport.c: Align to open parenthesis

2016-02-11 Thread Shaun Ren
This patch fixes the alignment issue reported by checkpatch.pl: CHECK: Alignment should match open parenthesis Add a unsigned char *sgbuffer in rtsx_stor_access_xfer_buffer to make the following memcpy logic easier to read. Add a struct scatterlist *sg in the use_sg branch of rtsx_transfer_data_

Re: [PATCH v3 3/3] pci: dra7xx: use pdata callbacks to perform reset

2016-02-11 Thread Kishon Vijay Abraham I
Hi Suman, On Friday 12 February 2016 02:13 AM, Suman Anna wrote: > On 02/09/2016 11:38 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Wednesday 10 February 2016 07:12 AM, Suman Anna wrote: >>> Hi Paul, >>> >>> On 02/09/2016 01:36 PM, Paul Walmsley wrote: Hi Suman On Tue, 9 Feb 2

Re: Small writes being split with fdatasync based on non-aligned partition ending

2016-02-11 Thread Sitsofe Wheeler
CC'ing Jens Axboe. On 11 February 2016 at 09:54, Jens Rosenboom wrote: > 2016-02-11 4:48 GMT+01:00 Sitsofe Wheeler : >> Trying to cc the GNU parted and linux-block mailing lists. >> >> On 9 February 2016 at 13:02, Jens Rosenboom wrote: >>> While trying to reproduce some performance issues I have

[GIT] EVM hmac security fix

2016-02-11 Thread James Morris
Please pull this patch for the EVM code, which fixes CVE-2016-2085. The following changes since commit c05235d50f681bf685e7290cae05ab3b4fa493f3: Merge tag 'gpio-v4.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio (2016-02-11 11:25:55 -0800) are available in the git re

[PATCH] Platform: goldfish: goldfish_pipe.c: Add DMA support using managed version

2016-02-11 Thread Shraddha Barke
setup_access_params_addr has 2 goals- -Initialize the access_params field so that it can be used to send and read commands from the device in access_with_param -Get a bus address for the allocated memory to transfer to the device. Replace the combination of devm_kzalloc and _pa() with dmam_alloc_

RE: [PATCH v6 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-11 Thread Doug Smythies
On 2016.02.11 14:50 Doug Smythies wrote: > On 2016.02.10 22:03 Srinivas Pandruvada wrote: >> On Wednesday, February 10, 2016 03:11:43 PM Doug Smythies wrote: >>> My test computer has an older model i7 (Intel(R) Core(TM) i7-2600K CPU @ >>> 3.40GHz) >> Thanks Doug. If you have specific workloads, p

[PATCH] IB/core: Replace memset with eth_zero_addr

2016-02-11 Thread Amitoj Kaur Chawla
Use eth_zero_addr to assign the zero address to the given address array instead of memset when second argument is address of zero. The Coccinelle semantic patch used to make this change is as follows: // @eth_zero_addr@ expression e; @@ -memset(e,0x00,ETH_ALEN); +eth_zero_addr(e); // Signed-o

Re: [PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver

2016-02-11 Thread Benjamin Tissoires
On Feb 11 2016 or thereabouts, Andrew Duggan wrote: > On 02/11/2016 02:05 AM, Benjamin Tissoires wrote: > >On Feb 10 2016 or thereabouts, Andrew Duggan wrote: > >>This is the v5 patch series which fixes the issues identified by kbuild > >>and coccinelle in the previous patch series. These include:

Re: [PATCH v8 3/3] tty: 8250_omap: Use software emulated RS485 direction control

2016-02-11 Thread Matwey V. Kornilov
2016-02-11 23:19 GMT+03:00 Ильяс Гасанов : > 2016-02-11 22:08 GMT+03:00 Matwey V. Kornilov : >> Thanks for pointing out. serial8250_unregister_port should set >> serial8250_ports[line].em485 to NULL in order to prevent unneeded >> activation when this struct is reused. > > Then the allocated/initia

Re: [PATCH 3.12 32/64] unix: properly account for FDs passed over unix sockets

2016-02-11 Thread Jiri Slaby
On 02/11/2016, 06:32 PM, Willy Tarreau wrote: > Hi Jiri, > > On Thu, Feb 11, 2016 at 02:59:08PM +0100, Jiri Slaby wrote: >> From: willy tarreau >> >> 3.12-stable review patch. If anyone has any objections, please let me know. >> >> === >> >> [ Upstream commit 712f4aad406bb1ed67f3f98d

Re: [PATCH v2] of: resolver: Add missing of_node_get and of_node_put

2016-02-11 Thread Pantelis Antoniou
Hi Rob, > On Feb 12, 2016, at 01:18 , Rob Herring wrote: > > On Wed, Feb 3, 2016 at 12:09 PM, Amitoj Kaur Chawla > wrote: >> In __of_find_node_by_full_name, add an of_node_get when detecting the >> desired element, to ensure that it ends up with a reference count that is >> one greater than on

<    4   5   6   7   8   9