Re: [PATCH v2] i2c: imx: make bus recovery through pinctrl optional

2016-01-03 Thread Wolfram Sang
On Mon, Nov 30, 2015 at 01:55:19PM +0100, Linus Walleij wrote: > On Fri, Nov 20, 2015 at 10:45 PM, Li Yang wrote: > > > - if (IS_ERR(i2c_imx->pinctrl)) { > > + /* bailout on -ENOMEM or -EPROBE_DEFER, continue for other errors */ > > + if (PTR_ERR(i2c_imx->pinctrl) == -ENOMEM ||

Re: [PATCH v3] i2c: mediatek: fix i2c multi transfer issue in high speed mode

2016-01-03 Thread Wolfram Sang
On Tue, Dec 15, 2015 at 03:22:26PM +0800, Liguo Zhang wrote: > For mt8173 platform with auto restart support, when doing i2c multi > transfer in high speed, we should ignore the first restart irq after > the master code, otherwise the first transfer will be discarded. > > Signed-off-by: Liguo Zhan

Re: [PATCH] i2c: designware: Add support for AMD Seattle I2C

2016-01-03 Thread Wolfram Sang
On Wed, Dec 16, 2015 at 06:49:59PM -0600, Suravee Suthikulanit wrote: > Mika, > > On 12/16/2015 8:54 AM, Mika Westerberg wrote: > >On Wed, Dec 16, 2015 at 08:29:38AM -0600, Suravee Suthikulpanit wrote: > >>> > >>> > >>>On 12/16/2015 03:16 AM, Mika Westerberg wrote: > >On Tue, Dec 15, 2015 at

Re: [PATCH] staging-slicoss: Replace variable initialisations by assignments in slic_if_init()

2016-01-03 Thread SF Markus Elfring
>> I am a bit surprised that you do not like such source code fine-tuning. > > It's moving stuff around for no real reason, why would I like it? Can such fine-tuning result in positive effects for the run-time behaviour? > Reading and reviewing and applying this type of stuff takes away from >

Re: [PATCH 3/9] i2c: designware: use to_pci_dev()

2016-01-03 Thread Wolfram Sang
On Sun, Dec 27, 2015 at 06:45:59PM +0800, Geliang Tang wrote: > Use to_pci_dev() instead of open-coding it. > > Signed-off-by: Geliang Tang Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH 04/10] i2c: st: use to_platform_device()

2016-01-03 Thread Wolfram Sang
On Sun, Dec 27, 2015 at 09:15:42PM +0800, Geliang Tang wrote: > Use to_platform_device() instead of open-coding it. > > Signed-off-by: Geliang Tang Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH] af_unix: Fix splice-bind deadlock

2016-01-03 Thread Rainer Weikusat
On 2015/11/06, Dmitry Vyukov reported a deadlock involving the splice system call and AF_UNIX sockets, http://lists.openwall.net/netdev/2015/11/06/24 The situation was analyzed as (a while ago) A: socketpair() B: splice() from a pipe to /mnt/regular_file does sb_start_write() on /mnt C:

Re: [PATCH V7 1/1] usb:serial: Add Fintek F81532/534 driver

2016-01-03 Thread Johan Hovold
On Wed, Dec 02, 2015 at 03:18:59PM +0800, Peter Hung wrote: > This driver is for Fintek F81532/F81534 USB to Serial Ports IC. Do you have a pointer to datasheets and/or information about these devices? Can't seem to find anything on Fintek's homepage. > Features: > 1. F81534 is 1-to-4 & F81532 is

[PATCH v2 0/2] Staging: panel: Fix checkpatch warnings

2016-01-03 Thread Ksenija Stanojevic
Fix checkpatch.pl warnings in panel.c Signed-off-by: Ksenija Stanojevic Ksenija Stanojevic (2): Staging: panel: Fix line over 80 characters Staging: panel: Remove space drivers/staging/panel/panel.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) -- 1.9.1 -- To unsubscribe

[PATCH v2 1/2] Staging: panel: Fix line over 80 characters

2016-01-03 Thread Ksenija Stanojevic
Move statement into line below the comment to follow 80 characters per line rule. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic --- Changes in v2: - don't split comment in multiline drivers/staging/panel/panel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -

[PATCH v2 2/2] Staging: panel: Remove space

2016-01-03 Thread Ksenija Stanojevic
No space is necessary after a cast, therefore remove it. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic --- Changes in v2: - nothing drivers/staging/panel/panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/sta

[PATCH v2 0/5] Staging: panel: TODO fixes

2016-01-03 Thread Ksenija Stanojevic
This patchset is based on checkpatch fixes made by previous patches. Here I tried to address all suggestions made by Dan and Willy. Signed-off-by: Ksenija Stanojevic Ksenija Stanojevic (5): Staging: panel: Use u8 type Staging: panel: Remove typedef pmask_t Staging: panel: Remove ULL Stag

[PATCH v2 1/5] Staging: panel: Use u8 type

2016-01-03 Thread Ksenija Stanojevic
Declare om, im, omask and imask as u8 to remove any confusion if that describes the 8 bits of the data bus on the parallel port. Also change return type of lcd_write_data() to u8. Signed-off-by: Ksenija Stanojevic --- v2: nothing drivers/staging/panel/panel.c | 6 +++--- 1 file changed, 3 inser

[PATCH v2 2/5] Staging: panel: Remove typedef pmask_t

2016-01-03 Thread Ksenija Stanojevic
Use __u64 instead of pmask_t and remove pmask_t since is useless. Signed-off-by: Ksenija Stanojevic --- v2: nothing drivers/staging/panel/panel.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/

[PATCH v2 3/5] Staging: panel: Remove ULL

2016-01-03 Thread Ksenija Stanojevic
Remove ULL on om and im, since it's useless. Signed-off-by: Ksenija Stanojevic --- v2: leave ULL on m and v. drivers/staging/panel/panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 7138ee7..e9641ea

[PATCH v2 4/5] Staging: panel: Reduce value range for *name

2016-01-03 Thread Ksenija Stanojevic
out is 0-9 so it's too much for om, therefore reduce value range for *name from '0'-'9' to '0'-'7'. Signed-off-by: Ksenija Stanojevic --- v2: nothing drivers/staging/panel/panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/

[PATCH v2 5/5] Staging: panel: Make code more readable

2016-01-03 Thread Ksenija Stanojevic
Repace 'for' statement by strchr() function to make code more readable. Signed-off-by: Ksenija Stanojevic --- v2: use strchr(). drivers/staging/panel/panel.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/pan

Re: [PATCH] staging-slicoss: Replace variable initialisations by assignments in slic_if_init()

2016-01-03 Thread Greg Kroah-Hartman
On Sun, Jan 03, 2016 at 07:50:18PM +0100, SF Markus Elfring wrote: > >> I am a bit surprised that you do not like such source code fine-tuning. > > > > It's moving stuff around for no real reason, why would I like it? > > Can such fine-tuning result in positive effects for the run-time behaviour?

Re: [RFC] ->get_link(), ->put_link() and cookies

2016-01-03 Thread Linus Torvalds
On Thu, Dec 31, 2015 at 10:36 PM, Al Viro wrote: > In cases when we need to pin the symlink body in some manner, we > need to undo whatever we'd done once the caller is done with the body. > That went through several variants, the latest (in -next right now) being > "have non-NULL ->put_li

[PATCH 2/2] security: use XATTR_*_PREFIX_LEN instead sizeof(...)

2016-01-03 Thread Toralf Förster
use the definition in include/uapi/linux/xattr.h igned-off-by: Toralf Förster --- security/commoncap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/commoncap.c b/security/commoncap.c index 1832cf7..907a3ef 100644 --- a/security/commoncap.c +++ b/security/commo

[PATCH 1/2] ext4: use XATTR_*_PREFIX_LEN instead sizeof(...)

2016-01-03 Thread Toralf Förster
use the definition in include/uapi/linux/xattr.h Signed-off-by: Toralf Förster --- fs/ext4/xattr_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/xattr_security.c b/fs/ext4/xattr_security.c index 36f4c1a..1a3d629 100644 --- a/fs/ext4/xattr_security.c +++ b/f

[PATCH 2/2] security: use XATTR_*_PREFIX_LEN instead sizeof(...)

2016-01-03 Thread Toralf Förster
use the definition in include/uapi/linux/xattr.h Signed-off-by: Toralf Förster --- security/commoncap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/commoncap.c b/security/commoncap.c index 1832cf7..907a3ef 100644 --- a/security/commoncap.c +++ b/security/comm

Re: staging-slicoss: Replace variable initialisations by assignments in slic_if_init()

2016-01-03 Thread SF Markus Elfring
>> Can such fine-tuning result in positive effects for the run-time behaviour? > > If you can not benchmark and show the proof, don't even start to claim > such a thing. Which measurement results would you accept for further discussion? >> My suggestions can result in measurable differences. >

Re: __vmalloc() vs. GFP_NOIO/GFP_NOFS

2016-01-03 Thread Dave Chinner
On Sun, Jan 03, 2016 at 07:12:47AM +, Al Viro wrote: > While trying to write documentation on allocator choice, I've run > into something odd: > /* > * __vmalloc() will allocate data pages and auxillary structures (e.g. > * pagetables) with GFP_KERNEL, yet we may

Re: staging-slicoss: Replace variable initialisations by assignments in slic_if_init()

2016-01-03 Thread Greg Kroah-Hartman
On Sun, Jan 03, 2016 at 09:10:45PM +0100, SF Markus Elfring wrote: > >> Can such fine-tuning result in positive effects for the run-time behaviour? > > > > If you can not benchmark and show the proof, don't even start to claim > > such a thing. > > Which measurement results would you accept for f

Re: staging-slicoss: Replace variable initialisations by assignments in slic_if_init()

2016-01-03 Thread SF Markus Elfring
>> Which measurement results would you accept for further discussion? > > If you don't know how to show your results, then this whole discussion > is pointless. I could show test results. But it could happen that I would choose insufficient variations for execution environments. I am unsure abou

Re: [RFC] ->get_link(), ->put_link() and cookies

2016-01-03 Thread Al Viro
On Sun, Jan 03, 2016 at 11:53:21AM -0800, Linus Torvalds wrote: > On Thu, Dec 31, 2015 at 10:36 PM, Al Viro wrote: > > In cases when we need to pin the symlink body in some manner, we > > need to undo whatever we'd done once the caller is done with the body. > > That went through several v

Re: [PATCH 7/8] xfs: Support for transparent PUD pages

2016-01-03 Thread Dave Chinner
On Sat, Jan 02, 2016 at 11:43:09AM -0500, Matthew Wilcox wrote: > On Thu, Dec 31, 2015 at 10:30:27AM +1100, Dave Chinner wrote: > > > @@ -1637,6 +1669,7 @@ xfs_filemap_pfn_mkwrite( > > > static const struct vm_operations_struct xfs_file_vm_ops = { > > > .fault = xfs_filemap_fault, > > >

Re: __vmalloc() vs. GFP_NOIO/GFP_NOFS

2016-01-03 Thread Al Viro
On Mon, Jan 04, 2016 at 07:12:33AM +1100, Dave Chinner wrote: > That'd be a nice start, though it doesn't address callers of > vm_map_ram() which also has hard-coded GFP_KERNEL allocation masks > for various allocations. ... all 3 of them, that is - XFS, android/ion/ion_heap.c and v4l2-core. 5 c

Re: [RFC] ->get_link(), ->put_link() and cookies

2016-01-03 Thread Linus Torvalds
On Sun, Jan 3, 2016 at 12:21 PM, Al Viro wrote: > > Just to make sure - that does include 13/13, presumably? Ugh, no, I had set that aside and then forgot all about it. I'm not sure about 13/13. I'm ok with it, but I'm not sure it's any less confusing than the cookie was. I like how it removes

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2016-01-03 Thread Dave Chinner
On Tue, Dec 15, 2015 at 10:11:45AM +0100, Andrea Gelmini wrote: > On Tue, Dec 15, 2015 at 08:22:20AM +1100, Dave Chinner wrote: > > $ gdb vmlinux > > > > (gdb) l *(xfs_iflush_cluster+0x9d7) > > It's not working. Shame on me, I forgot to set "Compile the kernel with debug > info". > > I'm re

[PATCH] input: gpio_keys: Fix check for disabling unsupported key

2016-01-03 Thread Ivaylo Dimitrov
Commit 4ea14a53d8f881034fa9e186653821c4e3d9a8fb ("Input: gpio-keys - report error when disabling unsupported key") tried to prevent an unsupported key to disabled. Unfortunately it effectively broke the driver in a way so no key is possible to be disabled. Fix that by providing the correct verify l

Re: [PATCH v4 69/78] ncr5380: Fix whitespace in comments using regexp

2016-01-03 Thread One Thousand Gnomes
> > I would beg to differ. As a tool for understanding the differences as you > > step through the versions it's invaluable. > > This removes intentional formatting that > makes reading comments easier. And this matters at the end of the patch series because ? -- To unsubscribe from this list: s

[PATCHv7 1/5] drm/dp: add DPCD definitions from DP 1.1

2016-01-03 Thread Enric Balletbo i Serra
Add a number of DPCD definitions from DP 1.1 Signed-off-by: Enric Balletbo i Serra --- include/drm/drm_dp_helper.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index bb9d0de..9b0c990 100644 --- a/include/drm/drm_dp_help

[PATCHv7 2/5] hdmi: added functions for MPEG InfoFrames

2016-01-03 Thread Enric Balletbo i Serra
The MPEG Source (MS) InfoFrame is in EIA/CEA-861B. It describes aspects of the compressed video stream that were used to produce the uncompressed video. The patch adds functions to work with MPEG InfoFrames. Signed-off-by: Enric Balletbo i Serra --- drivers/video/hdmi.c | 156 ++

[PATCHv7 4/5] devicetree: Add new ANX7814 SlimPort transmitter binding.

2016-01-03 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. You can add support to your board with current binding. Example: anx7814: anx7814@38 { compatible = "analogix,anx7814"; reg = <0x38>; in

[PATCHv7 5/5] drm: bridge: anx78xx: Add anx78xx driver support by analogix.

2016-01-03 Thread Enric Balletbo i Serra
At the moment it only supports ANX7814. The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. The ANX7814 transforms the HDMI output of an application processor to MyDP or DisplayPort. The driver supports HDMI to DP pass-through mode and works usi

[PATCHv7 0/5] Add initial support for slimport anx78xx

2016-01-03 Thread Enric Balletbo i Serra
Hi all, This is another version of the patch set to introduce the anx7814 transmitter. Any comments are welcome. The following series add initial support for the Slimport ANX7814 transmitter, a ultra-low power Full-HD (1080p60) transmitter designed for portable device. The driver was originally

[PATCHv7 3/5] of: Add vendor prefix for Analogix Semiconductor, Inc.

2016-01-03 Thread Enric Balletbo i Serra
Analogix Semiconductor develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [RFC] ->get_link(), ->put_link() and cookies

2016-01-03 Thread Al Viro
On Sun, Jan 03, 2016 at 12:41:47PM -0800, Linus Torvalds wrote: > I like how it removes "put_link()" as a callback, but at the same time > I think it's even more abstract than the cookie was. > > The main worry I have is that the naming is generic, but there's only > a single very specialized use

Re: [PATCH v2 0/9] ARM: dts: Add compatible property to "partitions" node

2016-01-03 Thread Simon Horman
On Mon, Dec 28, 2015 at 11:15:30AM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Mon, Dec 28, 2015 at 6:01 AM, Simon Horman wrote: > > On Mon, Dec 21, 2015 at 11:33:44AM +0100, Geert Uytterhoeven wrote: > >> As of commit e488ca9f8d4f62c2 ("doc: dt: mtd: partitions: add compatible > >> prope

Re: [PATCH v4 69/78] ncr5380: Fix whitespace in comments using regexp

2016-01-03 Thread Joe Perches
(using an email address for James that shouldn't bounce) On Sun, 2016-01-03 at 21:29 +, One Thousand Gnomes wrote: > > > I would beg to differ. As a tool for understanding the > > > differences as you > > > step through the versions it's invaluable. > > > > This removes intentional formatting

Re: [PATCH v2 8/8] ARM: bcm2835: Add Kconfig support for bcm2836

2016-01-03 Thread Noralf Trønnes
Den 17.12.2015 00:55, skrev Eric Anholt: This should be a complete port of bcm2835 functionality to bcm2836 (Raspberry Pi 2). Signed-off-by: Eric Anholt --- v2: Implement Arnd's feedback to not split to ARCH_BCM2836, and instead use more conditionals in ARCH_BCM2835. Also reduce diff

Re: [PATCH v4 69/78] ncr5380: Fix whitespace in comments using regexp

2016-01-03 Thread Joe Perches
On Sun, 2016-01-03 at 22:05 +, One Thousand Gnomes wrote: > On Sun, 03 Jan 2016 13:46:22 -0800 > Joe Perches wrote: > > > (using an email address for James that shouldn't bounce) > > > > On Sun, 2016-01-03 at 21:29 +, One Thousand Gnomes wrote: > > > > > I would beg to differ. As a tool

[4.4-rc7] spinlock recursion while oom'ing.

2016-01-03 Thread Dave Jones
This is an odd one.. Out of memory: Kill process 5861 (trinity-c10) score 504 or sacrifice child BUG: spinlock recursion on CPU#1, trinity-c8/8828 lock: 0x8800a3635410, .magic: dead4ead, .owner: trinity-c8/8828, .owner_cpu: 1 CPU: 1 PID: 8828 Comm: trinity-c8 Not tainted 4.4.0-rc7-gelk-debug

[PATCH] x86/verify_cpu: Hide local labels

2016-01-03 Thread Borislav Petkov
From: Borislav Petkov ... from the final ELF image's symbol table as they're not really needed there. Before: $ readelf -a vmlinux | grep verify_cpu 43: 810001a9 0 NOTYPE LOCAL DEFAULT1 verify_cpu 45: 8100028f 0 NOTYPE LOCAL DEFAULT1 verify_cpu_no_lo

Re: [PATCH] i2c: designware: Add support for AMD Seattle I2C

2016-01-03 Thread Suravee Suthikulpanit
Hi Wolfram, On 01/03/2016 12:45 PM, Wolfram Sang wrote: On Wed, Dec 16, 2015 at 06:49:59PM -0600, Suravee Suthikulanit wrote: Mika, On 12/16/2015 8:54 AM, Mika Westerberg wrote: On Wed, Dec 16, 2015 at 08:29:38AM -0600, Suravee Suthikulpanit wrote: On 12/16/2015 03:16 AM, Mika Westerberg w

Re: [PATCH -next] MIPS: VDSO: Fix build error with binutils 2.24 and earlier

2016-01-03 Thread Guenter Roeck
On 12/23/2015 09:04 PM, Guenter Roeck wrote: Commit 2a037f310bab ("MIPS: VDSO: Fix build error") tries to fix a build error seen with binutils 2.24 and earlier. However, the fix does not work, and again results in the already known build errors if the kernel is built with an earlier version of bi

[PATCH 0/3] watchdog: Drop pointer to watchdog device from struct watchdog_device

2016-01-03 Thread Guenter Roeck
The lifetime of the watchdog device pointer is different from the lifetime of its character device. Remove it entirely to avoid race conditions, and to make sure that drivers don't start to use it again. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

[PATCH 3/3] watchdog: Drop pointer to watchdog device from struct watchdog_device

2016-01-03 Thread Guenter Roeck
The lifetime of the watchdog device pointer is different from the lifetime of its character device. Remove it entirely to avoid race conditions. Signed-off-by: Guenter Roeck --- Documentation/watchdog/watchdog-kernel-api.txt | 2 -- drivers/watchdog/watchdog_core.c | 8 dr

[PATCH 2/3] watchdog: ziirave: Use watchdog infrastructure to create sysfs attributes

2016-01-03 Thread Guenter Roeck
The watchdog core now supports creating driver specific sysfs attributes when creating the watchdog device. Signed-off-by: Guenter Roeck --- drivers/watchdog/ziirave_wdt.c | 20 +++- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/drivers/watchdog/ziirave_wdt.c b/d

[PATCH 1/3] watchdog: Add support for creating driver specific sysfs attributes

2016-01-03 Thread Guenter Roeck
The Zodiac watchdog driver attaches additional sysfs attributes to the watchdog device. This has a number of problems: The watchdog device lifetime differs from the driver lifetime, and the device structure should therefore not be accessed from drivers. Also, creating sysfs attributes after driver

linux-next: build failure after merge of the ext4 tree

2016-01-03 Thread Stephen Rothwell
Hi Ted, After merging the ext4 tree, today's linux-next build (arm multi_v7_defconfig) failed like this: fs/ext4/ioctl.c: In function 'ext4_ioctl_setproject': fs/ext4/ioctl.c:399:26: error: implicit declaration of function 'dqget' [-Werror=implicit-function-declaration] transfer_to[PRJQUOTA] =

Re: [PATCH] Input: evdev - drop partial events after emptying the buffer

2016-01-03 Thread Peter Hutterer
On Sat, Jan 02, 2016 at 08:39:21PM -0800, Dmitry Torokhov wrote: > On Thu, Dec 31, 2015 at 03:36:47AM +0530, Aniroop Mathur wrote: > > This patch introduces concept to drop partial events in evdev handler > > itself after emptying the buffer which are dropped by all evdev > > clients in userspace a

[PATCH] gpio: Add GPIO support for the WinSystems WS16C48

2016-01-03 Thread William Breathitt Gray
The WinSystems WS16C48 device provides 48 lines of digital I/O. In addition, the first 24 lines may be used for interrupt-handled edge detection; rising edge detection and falling edge detection are supported. This driver provides GPIO and IRQ support for these 48 channels of digital I/O. The base

[PATCH V11 4/7] dma: add Qualcomm Technologies HIDMA channel driver

2016-01-03 Thread Sinan Kaya
This patch adds support for hidma engine. The driver consists of two logical blocks. The DMA engine interface and the low-level interface. The hardware only supports memcpy/memset and this driver only support memcpy interface. HW and driver doesn't support slave interface. Signed-off-by: Sinan Kay

[PATCH V11 6/7] dma: qcom_hidma: add debugfs hooks

2016-01-03 Thread Sinan Kaya
Add debugfs hooks for debugging the execution behavior of the DMA channel. The debugfs hooks get initialized by the probe function and uninitialized by the remove function. A stats file is created in debugfs. The stats file will show the information about each HIDMA channel as well as each asynchr

[PATCH V11 0/7] dma: add Qualcomm Technologies HIDMA driver

2016-01-03 Thread Sinan Kaya
The Qualcomm Technologies HIDMA device has been designed to support virtualization technology. The driver has been divided into two to follow the hardware design. 1. HIDMA Management driver 2. HIDMA Channel driver Each HIDMA HW consists of multiple channels. These channels share some set of commo

[PATCH V11 2/7] dma: hidma: Add Device Tree support

2016-01-03 Thread Sinan Kaya
Add documentation for the Qualcomm Technologies HIDMA driver. Signed-off-by: Sinan Kaya Acked-by: Rob Herring --- .../devicetree/bindings/dma/qcom_hidma_mgmt.txt| 79 ++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/qcom_hidma

[PATCH V11 7/7] dma: qcom_hidma: add support for object hierarchy

2016-01-03 Thread Sinan Kaya
In order to create a relationship model between the channels and the management object, we are adding support for object hierarchy to the drivers. This patch simplifies the userspace application development. We will not have to traverse different firmware paths based on device tree or ACPI baed ker

[PATCH V11 3/7] dma: add Qualcomm Technologies HIDMA management driver

2016-01-03 Thread Sinan Kaya
The Qualcomm Technologies HIDMA device has been designed to support virtualization technology. The driver has been divided into two to follow the hardware design. 1. HIDMA Management driver 2. HIDMA Channel driver Each HIDMA HW consists of multiple channels. These channels share some set of commo

[PATCH V11 5/7] dma: qcom_hidma: implement lower level hardware interface

2016-01-03 Thread Sinan Kaya
This patch implements the hardware hooks for the HIDMA channel driver. The main functions of interest are: - hidma_ll_init - hidma_ll_request - hidma_ll_queue_request - hidma_ll_hw_start OS layer calls the hidma_ll_init function during probe to set up the hardware. At this moment, the number of s

[PATCH V11 1/7] dma: qcom_bam_dma: move to qcom directory

2016-01-03 Thread Sinan Kaya
Creating a QCOM directory for all QCOM DMA source files. Signed-off-by: Sinan Kaya Reviewed-by: Andy Gtoss --- drivers/dma/Kconfig| 11 ++- drivers/dma/Makefile | 2 +- drivers/dma/qcom/Kconfig | 8 d

Re: [PATCH V11 0/7] dma: add Qualcomm Technologies HIDMA driver

2016-01-03 Thread Sinan Kaya
Hi Vinod, On 1/3/2016 7:06 PM, Sinan Kaya wrote: > The Qualcomm Technologies HIDMA device has been designed > to support virtualization technology. The driver has been > divided into two to follow the hardware design. > > 1. HIDMA Management driver > 2. HIDMA Channel driver > > Each HIDMA HW con

Re: [LKP] [lkp] [f2fs] 75cd4e098d: xfstests.generic.042.fail

2016-01-03 Thread Huang, Ying
Hi, Yu, Chao Yu writes: > Hi Ying, > >> -Original Message- >> From: kernel test robot [mailto:ying.hu...@linux.intel.com] >> Sent: Monday, December 28, 2015 9:40 AM >> To: Chao Yu >> Cc: l...@01.org; LKML; Jaegeuk Kim >> Subject: [lkp] [f2fs] 75cd4e098d: xfstests.generic.042.fail >> >>

Re: [PATCH 2/2] virtio_balloon: fix race between migration and ballooning

2016-01-03 Thread Minchan Kim
On Fri, Jan 01, 2016 at 11:36:13AM +0200, Michael S. Tsirkin wrote: > On Mon, Dec 28, 2015 at 08:35:13AM +0900, Minchan Kim wrote: > > In balloon_page_dequeue, pages_lock should cover the loop > > (ie, list_for_each_entry_safe). Otherwise, the cursor page could > > be isolated by compaction and the

RE: [LKP] [lkp] [f2fs] 75cd4e098d: xfstests.generic.042.fail

2016-01-03 Thread Chao Yu
Hi Ying, > -Original Message- > From: Huang, Ying [mailto:ying.hu...@intel.com] > Sent: Monday, January 04, 2016 8:17 AM > To: Chao Yu > Cc: 'Jaegeuk Kim'; l...@01.org; 'LKML' > Subject: Re: [LKP] [lkp] [f2fs] 75cd4e098d: xfstests.generic.042.fail > > Hi, Yu, > > Chao Yu writes: > > >

Re: [PATCH] cgroup: make /proc/cgroups aligned

2016-01-03 Thread Zefan Li
On 2016/1/4 0:08, Geliang Tang wrote: This patch makes /proc/cgroups aligned like this: $ cat /proc/cgroups #subsys_namehierarchy num_cgroups enabled cpuset 11 1 1 cpu2 1 1 cpuacct

[PATCH v6 1/4] x86: Clean up extable entry format (and free up a bit)

2016-01-03 Thread Andy Lutomirski
This adds two bits of fixup class information to a fixup entry, generalizing the uaccess_err hack currently in place. Forward-ported-from-3.9-by: Tony Luck Signed-off-by: Andy Lutomirski --- arch/x86/include/asm/asm.h | 70 ++ arch/x86/mm/extable.c

[PATCH v6 4/4] x86, mce: Add __mcsafe_copy()

2016-01-03 Thread Tony Luck
Make use of the EXTABLE_FAULT exception table entries. This routine returns a structure to indicate the result of the copy: struct mcsafe_ret { u64 trapnr; u64 remain; }; If the copy is successful, then both 'trapnr' and 'remain' are zero. If we faulted during the copy, then 'tra

[PATCH v6 3/4] x86, mce: Check for faults tagged in EXTABLE_CLASS_FAULT exception table entries

2016-01-03 Thread Tony Luck
Extend the severity checking code to add a new context IN_KERN_RECOV which is used to indicate that the machine check was triggered by code in the kernel with a EXTABLE_CLASS_FAULT fixup entry. Major re-work to the tail code in do_machine_check() to make all this readable/maintainable. One functio

[PATCH v6 2/4] x86: Cleanup and add a new exception class

2016-01-03 Thread Tony Luck
Make per-class functions for exception table fixup. Add #defines and general prettiness to make it clear how all the parts tie together. Add a new class that fills %rax with the fault number of the exception. Signed-off-by: Tony Luck --- arch/x86/include/asm/asm.h | 24 ++- arch

[PATCH v6 0/4] Machine check recovery when kernel accesses poison

2016-01-03 Thread Tony Luck
This series is initially targeted at the folks doing filesystems on top of NVDIMMs. They really want to be able to return -EIO when there is a h/w error (just like spinning rust, and SSD does). I plan to use the same infrastructure to write a machine check aware "copy_from_user()" that will SIGBUS

Re: [PATCH] perf tools: handle spaces in file names obtained from /proc/pid/maps

2016-01-03 Thread Namhyung Kim
Hi Marcin, On Fri, Jan 01, 2016 at 04:03:21AM +0100, Marcin Ślusarz wrote: > Steam frequently puts game binaries in folders with spaces. > > Note: "(deleted)" markers are now treated as part of the file name. > > It probably worked before 6064803313bad9ae4cae233a9d56678adb2b6e7c > ("perf tools:

Linux 4.4-rc8

2016-01-03 Thread Linus Torvalds
Normally, me doing an eighth release candidate means that there is some unresolved issue that still needs more time to get fixed. This time around, it just means that I want to make sure that everybody is back from the holidays and there isn't anything pending, and that people have time to get thei

Re: [PATCH v6 1/4] x86: Clean up extable entry format (and free up a bit)

2016-01-03 Thread Tony Luck
On Wed, Dec 30, 2015 at 9:59 AM, Andy Lutomirski wrote: > This adds two bits of fixup class information to a fixup entry, > generalizing the uaccess_err hack currently in place. > > Forward-ported-from-3.9-by: Tony Luck > Signed-off-by: Andy Lutomirski Crivens! I messed up when "git cherrypick

Re: linux-next: manual merge of the security tree with the vfs tree

2016-01-03 Thread Mimi Zohar
On Thu, 2015-12-31 at 15:24 +1100, Stephen Rothwell wrote: > Hi James, > > Today's linux-next merge of the security tree got a conflict in: > > security/integrity/ima/ima_fs.c > > between commit: > > 3bc8f29b149e ("new helper: memdup_user_nul()") > > from the vfs tree and commit: > > 38

Re: [PATCH RFC] vhost: basic device IOTLB support

2016-01-03 Thread Yang Zhang
On 2015/12/31 15:13, Jason Wang wrote: This patch tries to implement an device IOTLB for vhost. This could be used with for co-operation with userspace(qemu) implementation of iommu for a secure DMA environment in guest. The idea is simple. When vhost meets an IOTLB miss, it will request the ass

Re: linux-next: manual merge of the rdma tree with the nfsd tree

2016-01-03 Thread Stephen Rothwell
Hi all, On Thu, 31 Dec 2015 13:30:22 +1100 Stephen Rothwell wrote: > > Hi Doug, > > Today's linux-next merge of the rdma tree got conflicts in a quite a > few files between (mostly, I think) commit: > > 6c7b6d2d442c ("IB: merge struct ib_device_attr into struct ib_device") > > from the nfsd

[lkp] [af_unix] 039b21aaee: otc_kernel_qa-ts_ltp_ddt.bind01.fail

2016-01-03 Thread kernel test robot
FYI, we noticed the below changes on https://github.com/0day-ci/linux Rainer-Weikusat/af_unix-Fix-splice-bind-deadlock/20151228-041437 commit 039b21aaee6515d0197e26321204f319b4ea6e9e ("af_unix: Fix splice-bind deadlock") The commit failed for the bind01 test case of LTP syscalls test suite. To

Re: [PATCH] cpuset: fix cpus_allowed mask for offline/online CPUs

2016-01-03 Thread Zefan Li
On 2016/1/1 20:09, Chen Yu wrote: Commit be4c9dd7aee5 ("cpuset: enable onlined cpu/node in effective masks") leverages cpuset's cpus_allowed and its parent's effective_cpus to calculate the new_cpus by: cpumask_and(&new_cpus, cs->cpus_allowed, parent_cs(cs)->effective_cpus); However cpus_allowe

Re: linux-next: manual merge of the security tree with the vfs tree

2016-01-03 Thread Stephen Rothwell
Hi Mimi, On Sun, 03 Jan 2016 20:37:20 -0500 Mimi Zohar wrote: > > FYI, I pushed out Petko's patch to linux-integrity/next earlier today. > His patch moves taking the ima_write_mutex to after the the call to > copy_from_user(), as discussed. This obviously won't fix the conflict > with Al's patch

RE: [PATCH v2 2/2] KVM: x86: Add lowest-priority support for vt-d posted-interrupts

2016-01-03 Thread Wu, Feng
> -Original Message- > From: Radim Krčmář [mailto:rkrc...@redhat.com] > Sent: Thursday, December 24, 2015 1:22 AM > To: Wu, Feng > Cc: pbonz...@redhat.com; k...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH v2 2/2] KVM: x86: Add lowest-priority support for vt-d >

RE: [PATCH] cpuset: fix cpus_allowed mask for offline/online CPUs

2016-01-03 Thread Chen, Yu C
Hi Zefan, > -Original Message- > From: Zefan Li [mailto:lize...@huawei.com] > Sent: Monday, January 04, 2016 9:52 AM > To: Chen, Yu C; cgro...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; Vlastimil Babka; Rik van Riel; Joonsoo Kim; > David Rientjes; Vishnu Pratap Singh; Pintu Kumar;

Re: [PATCH] cpuset: fix cpus_allowed mask for offline/online CPUs

2016-01-03 Thread Zefan Li
On 2016/1/1 20:09, Chen Yu wrote: Commit be4c9dd7aee5 ("cpuset: enable onlined cpu/node in effective masks") leverages cpuset's cpus_allowed and its parent's effective_cpus to calculate the new_cpus by: cpumask_and(&new_cpus, cs->cpus_allowed, parent_cs(cs)->effective_cpus); However cpus_allowe

RE: [PATCH 00/42] ACPICA: 20151218 Release

2016-01-03 Thread Zheng, Lv
Hi, > From: David Lang [mailto:da...@lang.hm] > Sent: Sunday, January 3, 2016 2:45 PM > > what is ACPICA and why should we care about divergence between it and the > linux > upstream? Where is it to be found? [Lv Zheng] You can find ACPICA at: https://acpica.org. Source code of ACPICA can be fou

RE: [PATCH 00/42] ACPICA: 20151218 Release

2016-01-03 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Friday, January 1, 2016 11:05 AM > Subject: Re: [PATCH 00/42] ACPICA: 20151218 Release > > On Tuesday, December 29, 2015 01:52:19 PM Lv Zheng wrote: > > The 20151218 ACPICA kernel-resident subsystem updates are linuxized bas

linux-next: manual merge of the integrity tree with the vfs tree

2016-01-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the integrity tree got a conflict in: security/integrity/ima/ima_fs.c between commit: 3bc8f29b149e ("new helper: memdup_user_nul()") from the vfs tree and commit: 6427e6c71c8b ("ima: ima_write_policy() limit locking") from the integrity tree. I fixe

Re: linux-next: manual merge of the rdma tree with the nfsd tree

2016-01-03 Thread Doug Ledford
On 01/03/2016 08:44 PM, Stephen Rothwell wrote: > Hi all, > > On Thu, 31 Dec 2015 13:30:22 +1100 Stephen Rothwell > wrote: >> >> Hi Doug, >> >> Today's linux-next merge of the rdma tree got conflicts in a quite a >> few files between (mostly, I think) commit: >> >> 6c7b6d2d442c ("IB: merge str

[PATCH v2] mmc: dw_mmc: add hw_reset support

2016-01-03 Thread Shawn Lin
This patch implement hw_reset function for DesignWare MMC controller. By adding this feature, mmc blk can do some basic recovery. >From Synopsys DesignWare Cores Mobile Storage Host Databook (Section 7.4.4), we get the details: 1. Program CMD12 to end any transfer in process. 2. Wait for DTO, even

Re: linux-next: manual merge of the integrity tree with the vfs tree

2016-01-03 Thread Stephen Rothwell
[Just cc'ing the security tree maintainer, since this will soon be in his tree and is related to a conflict between that tree and the vfs tree.] On Mon, 4 Jan 2016 13:52:21 +1100 Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the integrity tree got a conflict in: > > sec

Re: [PATCH] soc: mediatek: PMIC wrap: Enable STAUPD_PRD before WDT_SRC_EN enabled.

2016-01-03 Thread Henry Chen
On Thu, 2015-12-31 at 22:19 +0800, Daniel Kurtz wrote: > On Wed, Dec 30, 2015 at 8:36 PM, Henry Chen wrote: > > > > The STAUPD_TRIG will be enable when WDT_INT enable on probe function, if > > doesn't enable STAUPD_PRD together, interrupt will be triggered because > > STAUPD timeout. To avoid unex

[PATCH v7 2/4] gadget: Support for the usb charger framework

2016-01-03 Thread Baolin Wang
For supporting the usb charger, it adds the usb_charger_init() and usb_charger_exit() functions for usb charger initialization and exit. It will report to the usb charger when the gadget state is changed, then the usb charger can do the power things. Introduce a callback 'get_charger_type' which

[PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-01-03 Thread Baolin Wang
This patch introduces the usb charger driver based on usb gadget that makes an enhancement to a power driver. It works well in practice but that requires a system with suitable hardware. The basic conception of the usb charger is that, when one usb charger is added or removed by reporting from the

[PATCH v7 3/4] gadget: Integrate with the usb gadget supporting for usb charger

2016-01-03 Thread Baolin Wang
When the usb gadget supporting for usb charger is ready, the usb charger should get the type by the 'get_charger_type' callback which is implemented by the usb gadget operations, and get the usb charger pointer from struct 'usb_gadget'. Signed-off-by: Baolin Wang --- drivers/usb/gadget/charger.c

[PATCH v7 4/4] power: wm831x_power: Support USB charger current limit management

2016-01-03 Thread Baolin Wang
Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more current than specified from others. Signed-off-

[PATCH v7 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-01-03 Thread Baolin Wang
Currently the Linux kernel does not provide any standard integration of this feature that integrates the USB subsystem with the system power regulation provided by PMICs meaning that either vendors must add this in their kernels or USB gadget devices based on Linux (such as mobile phones) may not b

Re: linux-next: manual merge of the integrity tree with the vfs tree

2016-01-03 Thread Al Viro
On Mon, Jan 04, 2016 at 01:52:21PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the integrity tree got a conflict in: > > security/integrity/ima/ima_fs.c > > between commit: > > 3bc8f29b149e ("new helper: memdup_user_nul()") > > from the vfs tree and commit: >

[PATCH] ARM: multi_v7_defconfig: remove CONFIG_MMC_DW_IDMAC

2016-01-03 Thread Shawn Lin
dw_mmc driver never use this macro, so remove it from multi_v7_defconfig Signed-off-by: Shawn Lin --- arch/arm/configs/multi_v7_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 69a22fd..c362199 100644 -

[PATCH] ARM64: defconfig: remove CONFIG_MMC_DW_IDMAC

2016-01-03 Thread Shawn Lin
dw_mmc driver never use this macro, so we remove it from arch/arm64/configs/defconfig Signed-off-by: Shawn Lin --- arch/arm64/configs/defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index bdd7aa3..2c56551 100644 --- a/arch

<    1   2   3   >