[PATCH V9 12/28] powerpc, ptrace: Enable NT_PPC_TM_CTAR, NT_PPC_TM_CPPR, NT_PPC_TM_CDSCR

2015-10-08 Thread Anshuman Khandual
This patch enables support for all three TM checkpointed SPR states related ELF core note NT_PPC_TM_CTAR, NT_PPC_TM_CPPR, NT_PPC_TM_CDSCR based ptrace requests through PTRACE_GETREGSET, PTRACE_SETREGSET calls. This is achieved through adding three new register sets REGSET_TM_CTAR, REGSET_TM_CPPR

[PATCH V9 17/28] selftests, powerpc: Add ptrace tests for EBB

2015-10-08 Thread Anshuman Khandual
This patch adds ptrace interface test for EBB specific registers. This also adds some generic ptrace interface based helper functions to be used by other patches later on in the series. Signed-off-by: Anshuman Khandual --- tools/testing/selftests/powerpc/Makefile | 2 +-

[PATCH V9 05/28] powerpc, ptrace: Enable in transaction NT_PPC_VSX ptrace requests

2015-10-08 Thread Anshuman Khandual
This patch enables in transaction NT_PPC_VSX ptrace requests. The function vsr_get which gets the running value of all VSX registers and the function vsr_set which sets the running value of of all VSX registers work on the running set of VMX registers whose location will be different if

[PATCH V9 02/28] powerpc, process: Add the function flush_tmregs_to_thread

2015-10-08 Thread Anshuman Khandual
This patch creates a function flush_tmregs_to_thread which will then be used by subsequent patches in this series. The function checks for self tracing ptrace interface attempts while in the TM context and logs appropriate warning message. Signed-off-by: Anshuman Khandual ---

[PATCH V9 01/28] elf: Add powerpc specific core note sections

2015-10-08 Thread Anshuman Khandual
This patch adds twelve ELF core note sections for powerpc architecture for various registers and register sets which need to be accessed from ptrace interface and then gdb. These additions include special purpose registers like TAR, PPR, DSCR, TM running and checkpointed state for various register

[PATCH V9 00/28] Add new powerpc specific ELF core notes

2015-10-08 Thread Anshuman Khandual
This patch series adds twelve new ELF core note sections which can be used with existing ptrace request PTRACE_GETREGSET-SETREGSET for accessing various transactional memory and other miscellaneous debug register sets on powerpc platform. Test Result (All tests pass on both BE and LE)

[PATCH V9 03/28] powerpc, ptrace: Enable in transaction NT_PRFPREG ptrace requests

2015-10-08 Thread Anshuman Khandual
This patch enables in transaction NT_PRFPREG ptrace requests. The function fpr_get which gets the running value of all FPR registers and the function fpr_set which sets the running value of of all FPR registers work on the running set of FPR registers whose location will be different if

Re: [PATCH 30/44] kdbus: Cleanup kdbus_meta_proc_mask()

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > - Simplify if-statements > >'proc < KDBUS_META_PROC_NORMAL' test only makes sense when we call >kdbus_proc_permission(). Include it into 'prv_pid != req_pid' branch, >remove redundant assignment of `proc' var and reduce

Re: 4.3-rc3 BAR allocation problems on multiple machines

2015-10-08 Thread Bjorn Helgaas
On Wed, Oct 07, 2015 at 04:16:37PM -0700, Yinghai Lu wrote: > On Wed, Oct 7, 2015 at 2:25 AM, Meelis Roos wrote: > > amd64 machine: > > > > http://kodu.ut.ee/~mroos/dm/dm.x2100 > > [0.156360] bus: [bus 00-05] on node 0 link 0 > [0.156362] bus: 00 [io 0x-0x] > [0.156364] bus:

Re: McSPI hangs with cs_change after "Switch driver to use transfer_one" change

2015-10-08 Thread Michael Welling
On Thu, Oct 08, 2015 at 02:54:50PM +0100, Neil Armstrong wrote: > Hi All, > > I'm in a use case where I use cs_change on McSPI channel 3 on a single > transfer Full-Duplex message, then I transfer a single full duplex message > without cs_change on channel 1. > > Here is a better

Re: Next round: revised futex(2) man page for review

2015-10-08 Thread Darren Hart
On Wed, Oct 07, 2015 at 10:34:19AM +0100, Michael Kerrisk (man-pages) wrote: > On 08/19/2015 03:40 PM, Thomas Gleixner wrote: > > On Wed, 5 Aug 2015, Darren Hart wrote: > >> On Mon, Jul 27, 2015 at 02:07:15PM +0200, Michael Kerrisk (man-pages) > >> wrote: > >>> .\" FIXME XXX = Start of

Re: [PATCH 03/15] arm64: Introduce helpers for page table levels

2015-10-08 Thread Christoffer Dall
On Wed, Oct 07, 2015 at 10:26:14AM +0100, Marc Zyngier wrote: > On 07/10/15 09:26, Christoffer Dall wrote: > > Hi Suzuki, > > > > On Tue, Sep 15, 2015 at 04:41:12PM +0100, Suzuki K. Poulose wrote: > >> From: "Suzuki K. Poulose" > >> > >> Introduce helpers for finding the number of page table >

Re: [PATCH v3 0/7] arm64: ftrace: fix incorrect output from stack tracer

2015-10-08 Thread Jungseok Lee
On Oct 8, 2015, at 7:01 PM, AKASHI Takahiro wrote: Hi Akashi, > This is the third patch series for fixing stack tracer on arm64. > The original issue was reported by Jungseok[1], and then I found more > issues[2]. > (Steven, Jungseok, sorry for not replying to your comments directly.) > > I

[RFC PATCH] spi: omap2-mcspi: disable other channels CHCONF_FORCE in prepare_message

2015-10-08 Thread Neil Armstrong
Since the "Switch driver to use transfer_one" change, the cs_change behavior has changed and a channel chip select can still be asserted when changing channel from a previous last transfer in s message having the cs_change attribute. Since there is no sense having multiple chip select being

Re: [PATCHv3 1/2] ARM: exynos_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4

2015-10-08 Thread Arnd Bergmann
On Thursday 08 October 2015 11:27:13 Sjoerd Simons wrote: > On Thu, 2015-10-08 at 10:37 +0200, Arnd Bergmann wrote: > > On Thursday 08 October 2015 16:46:27 Krzysztof Kozlowski wrote: > > > On 08.10.2015 16:41, Arnd Bergmann wrote: > > > > On Thursday 08 October 2015 03:48:36 Anand Moon wrote: > >

Re: [PATCH v9 4/5] xhci: mediatek: support MTK xHCI host controller

2015-10-08 Thread chunfeng yun
Hi, On Thu, 2015-10-08 at 16:05 +0300, Mathias Nyman wrote: > On 08.10.2015 15:28, Daniel Thompson wrote: > > On 08/10/15 13:05, chunfeng yun wrote: > >> Hi, > >> On Thu, 2015-10-01 at 12:44 +0100, Daniel Thompson wrote: > >>> On 29/09/15 04:01, Chunfeng Yun wrote: > There some vendor quirks

RE: [PATCH 01/10] Drivers: hv: util: Increase the timeout for util services

2015-10-08 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Thursday, October 8, 2015 6:24 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; a...@canonical.com; vkuzn...@redhat.com; > jasow...@redhat.com >

Re: [PATCH 26/44] kdbus: Cleanup kdbus_pin_dst()

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > - Reduce scope of `owner' var to the block where it is actually used. >Use conditional operator to set its value. > > - Drop initialization of `dst' as it gets value later. > > - Drop separate exit point as we have only one

Re: [PATCH 1/3] memcg: simplify charging kmem pages

2015-10-08 Thread Michal Hocko
On Mon 05-10-15 01:21:41, Vladimir Davydov wrote: > Charging kmem pages proceeds in two steps. First, we try to charge the > allocation size to the memcg the current task belongs to, then we > allocate a page and "commit" the charge storing the pointer to the memcg > in the page struct. > > Such

Re: [PATCH v8 4/6] pci: altera: Add Altera PCIe MSI driver

2015-10-08 Thread kbuild test robot
Hi Ley, [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore] config: sparc-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x

Re: [PATCH v9 4/5] xhci: mediatek: support MTK xHCI host controller

2015-10-08 Thread chunfeng yun
On Thu, 2015-10-08 at 13:28 +0100, Daniel Thompson wrote: > On 08/10/15 13:05, chunfeng yun wrote: > > Hi, > > On Thu, 2015-10-01 at 12:44 +0100, Daniel Thompson wrote: > >> On 29/09/15 04:01, Chunfeng Yun wrote: > >>> There some vendor quirks for MTK xhci host controller: > >>> 1. It defines some

Re: [PATCH v2] ARM: cns3xxx: pci: avoid potential stack overflow

2015-10-08 Thread Arnd Bergmann
On Thursday 08 October 2015 12:03:18 Krzysztof Hałasa wrote: > Hi, > > Arnd Bergmann writes: > > > With those two changes in place, we no longer need the fake > > pci_sys_data/pci_bus structures for faking config space writes, > > and the stack usage goes down as well. > > >

Re: [PATCH 25/44] kdbus: Cleanup kdbus_cmd_conn_info()

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > - Move `entry' and `owner' to the scope where they are used. Drop >redundand initialization of `entry'. Use conditional operator to set >the value of `owner'. > > - Set `ret' to zero right after call to

Re: Hard lockup in ext4_finish_bio

2015-10-08 Thread Nikolay Borisov
On 10/08/2015 05:34 PM, John Stoffel wrote: > Great bug report, but you're missing the info on which kernel you're This is on 3.12.47 (self compiled). It was evident on my initial post, but I did forget to mention that in the reply. Also, I suspect even current kernel are susceptible to this

Re: Next round: revised futex(2) man page for review

2015-10-08 Thread Darren Hart
On Wed, Oct 07, 2015 at 09:30:46AM +0100, Michael Kerrisk (man-pages) wrote: > Hello Thomas, > > Thanks for the follow up! > > Some open questions below are marked with the string ###. A couple of comments from me below, although I suspect you have this much covered already. > > On 08/19/2015

Re: [PATCH RESEND 2/3] drm/i915: check for return value

2015-10-08 Thread Daniel Vetter
On Thu, Oct 08, 2015 at 07:28:00PM +0530, Sudip Mukherjee wrote: > We were not checking the return value of drm_encoder_init() which can > fail. And if it fails then we will be working with an uninitialized > encoder. > > Cc: Daniel Vetter > Cc: Jani Nikula > Signed-off-by: Sudip Mukherjee

[PATCH v8 0/9] Goodix touchscreen enhancements

2015-10-08 Thread Irina Tirdea
Add several enhancements to the Goodix touchscreen driver. The new functionality is only available for devices that declare named gpio pins for interrupt and reset in their ACPI/DT configuration. Thanks, Irina Changes in v8: - only allow new functionality for devices that declare named gpios

Re: [PATCH 24/44] kdbus: Cleanup kdbus_conn_unicast()

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > Do not initialize `name' and `ret' as values are assigned to them at > the first use by kdbus_pin_dst(). Simplify handling of > kdbus_conn_entry_insert() return value and drop useless goto. > > Signed-off-by: Sergei Zviagintsev >

Re: [alsa-devel] [PATCH] ASoC: rt5645: fix build warning

2015-10-08 Thread Jarkko Nikula
On 10/08/2015 11:55 AM, Sudip Mukherjee wrote: On Wed, Oct 07, 2015 at 03:05:27PM +0100, Mark Brown wrote: On Wed, Oct 07, 2015 at 05:52:12PM +0530, Sudip Mukherjee wrote: We were getting build warning about "Section mismatch". dmi_platform_intel_broadwell is being referenced from the probe

Re: [PATCH 23/44] kdbus: Cleanup kdbus_conn_call()

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > Do not initialize `wait' and `name' as values are assigned to them at > first use: `wait' gets its value from kdbus_reply_find(), `name' is set > by kdbus_pin_dst(). > > Remove redundant code. goto isn't required as we reached exit

Re: [PATCH v4 1/2] arm64: Introduce IRQ stack

2015-10-08 Thread Jungseok Lee
On Oct 8, 2015, at 7:25 PM, Pratyush Anand wrote: > Hi Jungseok, Hi Pratyush, > > On 07/10/2015:03:28:11 PM, Jungseok Lee wrote: >> Currently, kernel context and interrupts are handled using a single >> kernel stack navigated by sp_el1. This forces a system to use 16KB >> stack, not 8KB one.

Re: [PATCH v8 0/9] Goodix touchscreen enhancements

2015-10-08 Thread Arnd Bergmann
On Thursday 08 October 2015 17:23:42 Irina Tirdea wrote: > Add several enhancements to the Goodix touchscreen driver. > > The new functionality is only available for devices that > declare named gpio pins for interrupt and reset in their > ACPI/DT configuration. > > Thanks, > Irina > > Changes

[PATCH v8 2/9] Input: goodix - reset device at init

2015-10-08 Thread Irina Tirdea
After power on, it is recommended that the driver resets the device. The reset procedure timing is described in the datasheet and is used at device init (before writing device configuration) and for power management. It is a sequence of setting the interrupt and reset pins high/low at specific

Re: [PATCH 21/44] kdbus: Cleanup tests in kdbus_cmd_send()

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > Rearrange tests a little to make them look cleaner. What's wrong with 'else if'? Thanks David > Signed-off-by: Sergei Zviagintsev > --- > ipc/kdbus/connection.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) >

Re: [PATCH 3/5] block: nvme-core: simplify ida usage

2015-10-08 Thread Keith Busch
On Fri, 2 Oct 2015, Johannes Thumshirn wrote: Lee Duncan writes: Simplify ida index allocation and removal by using the ida_simple_* helper functions. Looks good to me. Just one comment: static void nvme_release_instance(struct nvme_dev *dev) { spin_lock(_list_lock); -

[PATCH v8 6/9] Input: goodix - add support for ESD

2015-10-08 Thread Irina Tirdea
Add ESD (Electrostatic Discharge) protection mechanism. The driver enables ESD protection in HW and checks a register to determine if ESD occurred. If ESD is signalled by the HW, the driver will reset the device. The ESD poll time (in ms) can be set through the sysfs property esd_timeout. If it

[PATCH v8 5/9] Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send

2015-10-08 Thread Irina Tirdea
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index

[PATCH v8 3/9] Input: goodix - write configuration data to device

2015-10-08 Thread Irina Tirdea
Goodix devices can be configured by writing custom data to the device at init. The configuration data is read with request_firmware from "goodix__cfg.bin", where is the product id read from the device (e.g.: goodix_911_cfg.bin for Goodix GT911, goodix_9271_cfg.bin for GT9271). The configuration

Re: [PATCH 18/44] kdbus: Add var initialization to kdbus_conn_entry_insert()

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > Assign zero to `ret' in the beginning of function instead of doing it > in the end. > > Signed-off-by: Sergei Zviagintsev > --- > ipc/kdbus/connection.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git

[PATCH v8 8/9] Input: goodix - add runtime power management support

2015-10-08 Thread Irina Tirdea
Add support for runtime power management so that the device is turned off when not used (when the userspace holds no open handles of the input device). The device uses autosuspend with a default delay of 2 seconds, so the device will suspend if no handles to it are open for 2 seconds. The runtime

[PATCH v8 9/9] Input: goodix - sort includes using inverse Xmas tree order

2015-10-08 Thread Irina Tirdea
Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index b958b37..22bfc4b 100644 ---

[PATCH v8 1/9] Input: goodix - use actual config length for each device type

2015-10-08 Thread Irina Tirdea
Each of the Goodix devices supported by this driver has a fixed size for the configuration information registers. The size varies depending on the device and is specified in the datasheet. Use the proper configuration length as specified in the datasheet for each device model, so we do not read

Re: [PATCH V2 1/2] Documentation: DT: Add binding documentation for NVIDIA ADMA

2015-10-08 Thread Stephen Warren
On 10/08/2015 03:58 AM, Jon Hunter wrote: On 07/10/15 20:36, Stephen Warren wrote: On 10/07/2015 10:19 AM, Jon Hunter wrote: On 07/10/15 17:09, Stephen Warren wrote: On 10/07/2015 02:43 AM, Jon Hunter wrote: On 07/10/15 00:04, Stephen Warren wrote: On 10/05/2015 06:10 AM, Jon Hunter

Re: [PATCH RESEND 1/3] drm/i915: use error path

2015-10-08 Thread Daniel Vetter
On Thu, Oct 08, 2015 at 07:27:59PM +0530, Sudip Mukherjee wrote: > Use goto to handle the error path to avoid duplicating the same code. In > the error path intel_dig_port is the last one to be released as it was > the first one to be allocated and ideally the error path should be the > reverse of

Re: [PATCH] usb: musb: dsps: implement vbus_status method

2015-10-08 Thread Roman Alyautdin
On 08/10/15 17:07, Sergei Shtylyov wrote: On 10/8/2015 4:50 PM, Sergei Shtylyov wrote: Implement vbus_status method of musb_platform_ops that allows musb_core to properly represent the VBUS status of musb_dsps devices in corresponding sysfs entry Signed-off-by: Roman Alyautdin ---

[PATCH v8 7/9] Input: goodix - add sysfs interface to dump config

2015-10-08 Thread Irina Tirdea
Goodix devices have a configuration information register area that specify various parameters for the device. The configuration information has a specific format described in the Goodix datasheet. It includes X/Y resolution, maximum supported touch points, interrupt flags, various sesitivity

[PATCH v8 4/9] Input: goodix - add power management support

2015-10-08 Thread Irina Tirdea
Implement suspend/resume for goodix driver. The suspend and resume process uses the gpio pins. If the device ACPI/DT information does not declare gpio pins, suspend/resume will not be available for these devices. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver

Re: [PATCH] lpfc: fix memory leak and NULL dereference

2015-10-08 Thread Sudip Mukherjee
On Wed, Sep 23, 2015 at 07:02:32PM +0530, Sudip Mukherjee wrote: > kmalloc() can return NULL and without checking we were dereferencing it. > Moreover if kmalloc succeeds but the function fails in other parts then > we were returning the error code but we missed freeing lcb_context. > While at it

Re: [PATCH] PM / OPP: fix debugfs files for 64-bit

2015-10-08 Thread Alan Stern
On Thu, 8 Oct 2015, Viresh Kumar wrote: > > In my patch, I assumed that if 32-bit architectures work fine today, then > > we don't need more range on 64-bit architectures either. > > The problem here is that we haven't fixed it properly. > - clock framework expects it to be unsigned long > - DT

Re: CFS scheduler unfairly prefers pinned tasks

2015-10-08 Thread Mike Galbraith
On Thu, 2015-10-08 at 21:54 +1100, paul.sz...@sydney.edu.au wrote: > Dear Mike, > > > I see a fairness issue ... but one opposite to your complaint. > > Why is that opposite? I think it would be fair for the one pert process > to get 100% CPU, the many oink processes can get everything else.

Re: [PATCH 15/44] kdbus: Simplify bitwise expression in kdbus_meta_get_mask()

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > Replace the expression with more concise and readable equivalent. It can > be proven by opening parentheses: > > r & ~((p | i) & r) == r & (~(p | i) | ~r) == > (r & ~(p | i)) | (r & ~r) == r & ~(p | i) == r & ~p & ~i But

Re: [PATCH v2 0/3] hwrng: st: Couple of improvements

2015-10-08 Thread Herbert Xu
On Wed, Oct 07, 2015 at 01:23:26PM +0100, Lee Jones wrote: > This set contains a minor documentation fix, greater clarification > with how the FIFO depth/size is represented and finally a fix to > prevent early timeout during data acquisition. > > v1 => v2: > - Remove phantom bugfix (FIFO really

Re: [PATCH] crypto: qce: dma_map_sg can handle chained SG

2015-10-08 Thread Herbert Xu
On Fri, Oct 02, 2015 at 08:01:02AM +0200, LABBE Corentin wrote: > The qce driver use two dma_map_sg path according to SG are chained > or not. > Since dma_map_sg can handle both case, clean the code with all > references to sg chained. > > Thus removing qce_mapsg, qce_unmapsg and qce_countsg

Re: [PATCH] crypto: atmel: Check for clk_prepare_enable() return value

2015-10-08 Thread Herbert Xu
On Fri, Oct 02, 2015 at 02:12:58PM +0200, LABBE Corentin wrote: > clk_prepare_enable() can fail so add a check for this and > return the error code if it fails. > > Signed-off-by: LABBE Corentin Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP

Re: [PATCH] drm/nouveau: fix memory leak

2015-10-08 Thread Emil Velikov
On 8 October 2015 at 14:00, Sudip Mukherjee wrote: > On Thu, Oct 01, 2015 at 04:40:59PM +1000, Ben Skeggs wrote: >> On 09/25/2015 01:59 AM, Sudip Mukherjee wrote: >> > On Fri, Sep 11, 2015 at 03:00:56PM +0530, Sudip Mukherjee wrote: >> >> If pm_runtime_get_sync() we were going to "out" but we

Re: [PATCH 14/44] kdbus: Simplify expression in kdbus_get_memfd()

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > '(s & m) != m' means that mask 'm' contains some bits which are not set > in 's', and this is literally equal to '~s & m'. Sure, but you make the code look much less obvious. Checking a bit is set is "a & b", checking if not set is

Re: [PATCH] thermal: exynos: fix register read in TMU

2015-10-08 Thread Sudip Mukherjee
On Fri, Oct 02, 2015 at 08:43:52AM +0900, Krzysztof Kozlowski wrote: > 2015-10-01 23:12 GMT+09:00 Sudip Mukherjee : > > On Thu, Oct 01, 2015 at 10:18:57PM +0900, Krzysztof Kozlowski wrote: > >> 2015-10-01 20:39 GMT+09:00 Sudip Mukherjee : > >> > The value of emul_con was getting overwritten if the

Re: [PATCH v8 3/6] pci:host: Add Altera PCIe host controller driver

2015-10-08 Thread kbuild test robot
Hi Ley, [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore] config: sparc-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x

Re: [PATCH] PCC: fix dereference of ERR_PTR

2015-10-08 Thread Sudip Mukherjee
On Wed, Sep 16, 2015 at 07:34:24PM +0530, Sudip Mukherjee wrote: > get_pcc_channel() does not return NULL on error it returns the error code > in ERR_PTR, but we have been checking it for NULL. > > Signed-off-by: Sudip Mukherjee > --- A gentle ping. regards sudip > drivers/mailbox/pcc.c | 2

Re: [PATCH] cpufreq: arm_big_little: fix frequency check when bL switcher is active

2015-10-08 Thread Sudeep Holla
On 08/10/15 13:55, Jon Medhurst (Tixy) wrote: On Thu, 2015-10-08 at 16:54 +0530, Viresh Kumar wrote: On 08-10-15, 10:23, Jon Medhurst (Tixy) wrote: On Wed, 2015-10-07 at 23:09 +0530, Viresh Kumar wrote: [...] You are right, I had misread the code. I guess my problem is that I'm actually

Re: [PATCH v3 2/3] uio_pci_generic: add MSI/MSI-X support

2015-10-08 Thread Michael S. Tsirkin
On Thu, Oct 08, 2015 at 04:20:12PM +0300, Avi Kivity wrote: > On 10/08/2015 01:26 PM, Michael S. Tsirkin wrote: > >On Thu, Oct 08, 2015 at 12:19:20PM +0300, Avi Kivity wrote: > >> > >>On 10/08/2015 11:32 AM, Michael S. Tsirkin wrote: > >>>On Thu, Oct 08, 2015 at 08:33:45AM +0300, Avi Kivity wrote:

Re: [PATCH 1/1] mm: vmstat: Add OOM kill count in vmstat counter

2015-10-08 Thread Michal Hocko
On Wed 07-10-15 20:18:16, PINTU KUMAR wrote: [...] > Ok, let me explain the real case that we have experienced. > In our case, we have low memory killer in user space itself that invoked based > on some memory threshold. > Something like, below 100MB threshold starting killing until it comes back

Re: [PATCH net-next 0/6] net: dsa: push switchdev prepare phase in FDB ops

2015-10-08 Thread Vivien Didelot
Hi Jiri, David, On Oct. Thursday 08 (41) 03:47 PM, Jiri Pirko wrote: > Thu, Oct 08, 2015 at 03:32:51PM CEST, vivien.dide...@savoirfairelinux.com > wrote: > >Hi David, > > > >On Oct. Thursday 08 (41) 05:28 AM, David Miller wrote: > >> From: Vivien Didelot > >> Date: Wed, 7 Oct 2015 19:48:25

Re: Hard lockup in ext4_finish_bio

2015-10-08 Thread Nikolay Borisov
[Adding the dm people since I believe this might be in their field as well.] After further investigation I discovered that there was indeed a task, executing block_write_full_page_endio (this function is supposed to eventually call end_buffer_async_write which would then unblock the writeback

Re: [PATCH v2 09/36] x86/asm: Re-add manual CFI infrastructure

2015-10-08 Thread Ingo Molnar
* Borislav Petkov wrote: > On Tue, Oct 06, 2015 at 11:21:41AM -0700, Andy Lutomirski wrote: > > > OK, I'll strip out the push, movq, etc stuff for v3. I'll leave all of the > > CFI_XYZ macros, even the unused one, because that's only a couple of lines > > of > > code and they all have very

RE: [PATCH v7 2/9] Input: goodix - reset device at init

2015-10-08 Thread Tirdea, Irina
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 08 October, 2015 16:01 > To: Tirdea, Irina > Cc: Dmitry Torokhov; Bastien Nocera; Aleksei Mamlin; > linux-in...@vger.kernel.org; Mark Rutland; Purdila, Octavian; linux- > ker...@vger.kernel.org;

Re: [PATCH 13/44] kdbus: Use list_next_entry() in kdbus_queue_entry_unlink()

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > Use list_next_entry() instead of list_first_entry(). This commit-message is completely useless. This is not a cosmetic change, so please justify your changes. Sure, in this case both list_next_entry() and list_first_entry() perform

Re: [PATCH] usb: musb: dsps: implement vbus_status method

2015-10-08 Thread Sergei Shtylyov
On 10/8/2015 4:50 PM, Sergei Shtylyov wrote: Implement vbus_status method of musb_platform_ops that allows musb_core to properly represent the VBUS status of musb_dsps devices in corresponding sysfs entry Signed-off-by: Roman Alyautdin --- drivers/usb/musb/musb_dsps.c | 13 +

Re: [PATCH v3] scsi: ufs: add ioctl interface for query request

2015-10-08 Thread Arnd Bergmann
On Thursday 08 October 2015 14:09:24 Yaniv Gardi wrote: > This patch exposes the ioctl interface for UFS driver via SCSI device > ioctl interface. As of now UFS driver would provide the ioctl for query > interface to connected UFS device. > > Signed-off-by: Dolev Raviv > Signed-off-by: Noa

Re: can't oom-kill zap the victim's memory?

2015-10-08 Thread Michal Hocko
On Wed 07-10-15 14:00:16, Oleg Nesterov wrote: > On 10/07, Tetsuo Handa wrote: > > > > Oleg Nesterov wrote: > > > Anyway. Perhaps it makes sense to abort the for_each_vma() loop if > > > freed_enough_mem() == T. But it is absolutely not clear to me how we > > > should define this

Re: can't oom-kill zap the victim's memory?

2015-10-08 Thread Michal Hocko
On Tue 06-10-15 20:45:02, Oleg Nesterov wrote: [...] > And I was going to make V1 which avoids queue_work/kthread and zaps the > memory in oom_kill_process() context. > > But this can't work because we need to increment ->mm_users to avoid > the race with exit_mmap/etc. And this means that we

Re: [PATCH 00/18] mpt2sas, mpt3sas: Combine mpt2sas and mpt3sas driver code base

2015-10-08 Thread Sreekanth Reddy
On Wed, Oct 7, 2015 at 2:48 PM, Sreekanth Reddy wrote: > On Tue, Oct 6, 2015 at 10:43 PM, James Bottomley > wrote: >> On Tue, 2015-10-06 at 15:59 +0530, Sreekanth Reddy wrote: >>> On Tue, Oct 6, 2015 at 3:16 PM, Christoph Hellwig >>> wrote: >>> > This series seems to miss patch 5 which

[PATCH RESEND 2/3] drm/i915: check for return value

2015-10-08 Thread Sudip Mukherjee
We were not checking the return value of drm_encoder_init() which can fail. And if it fails then we will be working with an uninitialized encoder. Cc: Daniel Vetter Cc: Jani Nikula Signed-off-by: Sudip Mukherjee --- Sent on 27/07/2015 drivers/gpu/drm/i915/intel_dp.c | 6 -- 1 file

[PATCH RESEND 3/3] drm/amdgpu: fix memory leak

2015-10-08 Thread Sudip Mukherjee
If amdgpu_ib_get() fails we returned the error code but we missed freeing ib. Cc: "Christian König" Cc: Jammy Zhou Cc: Chunming Zhou Cc: Alex Deucher Cc: "monk.liu" Signed-off-by: Sudip Mukherjee --- Sent on 18/09/2015 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 +++- 1 file changed, 3

[PATCH RESEND 1/3] drm/i915: use error path

2015-10-08 Thread Sudip Mukherjee
Use goto to handle the error path to avoid duplicating the same code. In the error path intel_dig_port is the last one to be released as it was the first one to be allocated and ideally the error path should be the reverse of the execution path. Cc: Daniel Vetter Cc: Jani Nikula Signed-off-by:

Re: [PATCH] uvesafb: make scaling configurable on Nvidia cards

2015-10-08 Thread Mikulas Patocka
On Thu, 8 Oct 2015, Tomi Valkeinen wrote: > > On 08/10/15 14:51, Mikulas Patocka wrote: > > >> I have to say I don't know much about x86 video, but isn't uvesafb > >> supposed to be a generic driver? Adding nvidia specific features there > >> doesn't sound like a right way to handle this. >

Re: [RFC PATCH v3 1/3] mmc: sprd: Add MMC host driver for Spreadtrum SoC

2015-10-08 Thread Ulf Hansson
[...] >> Thanks for clarifying! >> >> You have some differences towards the "standard" sdhci variant, but >> that doesn't mean you should go off and implement a new driver from >> scratch, instead you should create a new sdhci variant and re-use code >> from the generic sdhci driver. >> >> The

McSPI hangs with cs_change after "Switch driver to use transfer_one" change

2015-10-08 Thread Neil Armstrong
Hi All, I'm in a use case where I use cs_change on McSPI channel 3 on a single transfer Full-Duplex message, then I transfer a single full duplex message without cs_change on channel 1. Here is a better representation : -- 1 transfer message cs_change=1 cs3 : set_cs(0) cs3 : full-duplex

Re: [PATCH 02/10] Drivers: hv: utils: run polling callback always in interrupt context

2015-10-08 Thread Vitaly Kuznetsov
Olaf Hering writes: > On Thu, Oct 08, Vitaly Kuznetsov wrote: > >> > @@ -295,9 +288,6 @@ static int fcopy_on_msg(void *msg, int len) >> >if (fcopy_transaction.state == HVUTIL_DEVICE_INIT) >> >return fcopy_handle_handshake(*val); >> > >> > - if (fcopy_transaction.state !=

Re: [PATCH] cpufreq: arm_big_little: fix frequency check when bL switcher is active

2015-10-08 Thread Viresh Kumar
On 08-10-15, 13:55, Jon Medhurst (Tixy) wrote: > Looking a bit more carefully, the reason your fix doesn't work is that > bL_cpufreq_get_rate returns the last requested rate for this CPU, > whereas target_rate/new_rate is the maximum rate requested by any CPU on > the cluster (which is what we

Re: [PATCH v4 8/8] ARM: multi_v7_defconfig: Add rockchip audio support

2015-10-08 Thread Javier Martinez Canillas
Hello Sjoerd, On 10/08/2015 03:31 PM, Sjoerd Simons wrote: > Enable support for audio device found on rockchip boards. > > Signed-off-by: Sjoerd Simons > --- Patch looks good to me. Reviewed-by: Javier Martinez Canillas Best regards, -- Javier Martinez Canillas Open Source Group Samsung

Re: [PATCH 05/44] kdbus: Add comment on merging free pool slices

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > Add comment on why we remove the same slice from free slices tree and > then add it back again when merging the slice to be released with > previous free slice. > > Signed-off-by: Sergei Zviagintsev > --- > ipc/kdbus/pool.c | 6

Re: [PATCH] usb: musb: dsps: implement vbus_status method

2015-10-08 Thread Sergei Shtylyov
Hello. On 10/7/2015 5:40 PM, Roman Alyautdin wrote: Implement vbus_status method of musb_platform_ops that allows musb_core to properly represent the VBUS status of musb_dsps devices in corresponding sysfs entry Signed-off-by: Roman Alyautdin --- drivers/usb/musb/musb_dsps.c | 13

Re: [RFC PATCHv2] x86/pci: Initial commit for new VMD device driver

2015-10-08 Thread Bjorn Helgaas
On Wed, Oct 07, 2015 at 12:21:02AM +, Keith Busch wrote: > Hi Bjorn, > > Thanks for the feedback. Much of the issues you mentioned look pretty > straight forward to resolve, and will fix of for the next revision. > > I have some immediate follow up comments to two issues you brought up: > >

Re: [PATCH net-next 0/6] net: dsa: push switchdev prepare phase in FDB ops

2015-10-08 Thread Jiri Pirko
Thu, Oct 08, 2015 at 03:32:51PM CEST, vivien.dide...@savoirfairelinux.com wrote: >Hi David, > >On Oct. Thursday 08 (41) 05:28 AM, David Miller wrote: >> From: Vivien Didelot >> Date: Wed, 7 Oct 2015 19:48:25 -0400 >> >> > The first 3 patches removes the dsa.h include from linux/netdevice.h,

Re: [PATCH V8 00/28] Add new powerpc specific ELF core notes

2015-10-08 Thread Anshuman Khandual
On 05/19/2015 08:37 PM, Anshuman Khandual wrote: > Test Result > --- > ptrace-ebbPASS > ptrace-gprPASS > ptrace-tm-gpr PASS > ptrace-tm-spd-gpr PASS > ptrace-tarFAIL > ptrace-tm-tar FAIL > ptrace-tm-spd-tar FAIL > ptrace-vsx

Re: [PATCH 03/44] kdbus: Kernel-docs and comments trivial fixes

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > - kdbus_conn_unref(): Fix style issue to stay similar to other >kernel-docs. > > - kdbus_conn_disconnect(): Update the name of parameter: >"ensure_msg_list_empty" -> "ensure_queue_empty". > > - kdbus_conn_entry_insert():

Re: [GIT PULL 00/22] perf tools: filtering events using eBPF programs

2015-10-08 Thread Arnaldo Carvalho de Melo
TCH event (2015-10-07 19:41:50 > -0300) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/pi3orama/linux > tags/perf-ebpf-for-acme-20151008 > > for you to fetch changes up to 60d6b3bceb3d87497c542dec61e4a968d9e2b488: > &g

Re: [PATCH -next] mm/vmacache: inline vmacache_valid_mm()

2015-10-08 Thread Sergey Senozhatsky
On (10/08/15 06:23), Davidlohr Bueso wrote: > >After moving vmacache_update() and vmacache_valid_mm() to > >include/linux/vmacache.h > >(both `static inline') > > > > > >./scripts/bloat-o-meter vmlinux.o.old vmlinux.o > >add/remove: 0/1 grow/shrink: 1/0 up/down: 22/-54 (-32) > >function

Re: [PATCH 02/44] uapi: kdbus.h: Kernel-doc fixes

2015-10-08 Thread David Herrmann
Hi On Thu, Oct 8, 2015 at 1:31 PM, Sergei Zviagintsev wrote: > - Fix typos and spelling errors, use proper case. > > - struct kdbus_pids: Add PPID to description. > > - struct kdbus_item: Add missing @pids, @fsd and >KDBUS_ITEM_PAYLOAD_OFF. > > Signed-off-by: Sergei Zviagintsev > --- >

[PATCH 6/9] net/dccp: dccp_bad_service_code can be boolean

2015-10-08 Thread Yaowei Bai
This patch makes dccp_bad_service_code return bool due to these particular functions only using either one or zero as their return value. dccp_list_has_service is also been made return bool in this patchset. No functional change. Signed-off-by: Yaowei Bai --- net/dccp/dccp.h | 4 ++-- 1 file

Re: [PATCH] drm/i915: disable CPU PWM also on LPT/SPT backlight disable

2015-10-08 Thread Jani Nikula
Huang, please try this patch. BR, Jani. On Tue, 29 Sep 2015, Jani Nikula wrote: > Also adding Cc: intel-gfx, please include that in follow-ups. > > Thanks, > Jani. > > On Tue, 29 Sep 2015, Jani Nikula wrote: >> Although we don't support or enable CPU PWM with LPT/SPT based systems, >> it may

[PATCH 8/9] net/inetdevice: bad_mask can be boolean

2015-10-08 Thread Yaowei Bai
This patch makes bad_mask return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/inetdevice.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 9/9] net/core: lockdep_rtnl_is_held can be boolean

2015-10-08 Thread Yaowei Bai
This patch makes lockdep_rtnl_is_held return bool due to this particular function only using either one or zero as its return value. In another patch lockdep_is_held is also made return bool. No functional change. Signed-off-by: Yaowei Bai --- include/linux/rtnetlink.h | 6 +++---

[PATCH 2/9] net/ieee80211: ieee80211_is_* can be boolean

2015-10-08 Thread Yaowei Bai
This patch makes ieee80211_is_* return bool to improve readability due to these particular functions only using either one or zero as their return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/ieee80211.h | 76 +++ 1 file

[PATCH 3/9] net/nfnetlink: lockdep_nfnl_is_held can be boolean

2015-10-08 Thread Yaowei Bai
This patch makes lockdep_nfnl_is_held return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/netfilter/nfnetlink.h | 6 +++--- net/netfilter/nfnetlink.c |

Re: [PATCH v4] kbuild: document recursive dependency limitation / resolution

2015-10-08 Thread Michal Marek
On Wed, Oct 07, 2015 at 04:16:33PM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Recursive dependency issues with kconfig are unavoidable due to > some limitations with kconfig, since these issues are recurring > provide a hint to the user how they can resolve these dependency

Re: [RFC PATCH v3 1/3] mmc: sprd: Add MMC host driver for Spreadtrum SoC

2015-10-08 Thread Hongtao Wu
On Tue, Oct 6, 2015 at 5:18 PM, Ulf Hansson wrote: > +Russell > > On 28 September 2015 at 09:18, Hongtao Wu wrote: >> >> On Thu, Sep 10, 2015 at 9:28 PM, Ulf Hansson wrote: >>> >>> On 14 August 2015 at 18:55, Hongtao Wu wrote: >>> > the Spreadtrum MMC host driver is used to supply EMMC,

Re: [PATCH v2] mmc: core: Fix init_card in 52Mhz

2015-10-08 Thread Ulf Hansson
On 8 October 2015 at 15:03, Adrian Hunter wrote: > On 08/10/15 13:59, Ulf Hansson wrote: >> On 8 October 2015 at 09:09, Chaotian Jing wrote: >>> Suppose that we got a data crc error, and it triggers the mmc_reset. >>> mmc_reset will call mmc_send_status to see if HW reset was supported. >>>

[PATCH v4 3/8] ARM: dts: rockchip: Add SPDIF transceiver for RK3188

2015-10-08 Thread Sjoerd Simons
Add the SPDIF transceiver controller and pin for RK3188 Signed-off-by: Sjoerd Simons --- Changes in v4: - Adjust clock names to match the new names (hclk/mclk) Changes in v3: None Changes in v2: - Sort the spdif node properties - Drop the 0x prefix from the node name - Rename the spdif@ node

<    2   3   4   5   6   7   8   9   10   11   >