Re: [PATCH 03/13] twl4030_charger: correctly handle -EPROBE_DEFER from devm_usb_get_phy_by_node

2015-09-10 Thread Sebastian Reichel
Hi, On Tue, Sep 08, 2015 at 01:14:17PM -0700, Tony Lindgren wrote: > * Kevin Hilman [150908 11:36]: > > On Wed, Sep 2, 2015 at 6:07 AM, Tony Lindgren wrote: > > > * Neil Brown [150901 23:23]: > > >> Kevin Hilman

Re: [PATCH] lib/vsprintf.c: increase the size of the field_width variable

2015-09-10 Thread Maurizio Lombardi
On 09/10/2015 09:38 AM, Joe Perches wrote:ing will be printed. > > Maurizio, did you try the patch I posted? > I think it'll work, but it doesn't fix the > fundamental issue of %*pbl with large bitmaps. I tested your patch, it works for the simple cases where bits are set below the S16_MAX

[PATCH 17/21] dmaengine: edma: Print warning when linking slots from different eDMA

2015-09-10 Thread Peter Ujfalusi
Warning message in case of linking between paRAM slots in different eDMA controllers. Signed-off-by: Peter Ujfalusi --- drivers/dma/edma.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index e735147ccece..2c6be4c62a73

[PATCH 10/21] ARM/dmaengine: edma: Merge the two drivers under drivers/dmaengine

2015-09-10 Thread Peter Ujfalusi
Move the code out from arch/arm/common and merge it inside of the dmaengine driver. This change is done with as minimal change to the code as possible to avoid any possibilities to introducing regression. Signed-off-by: Peter Ujfalusi --- arch/arm/Kconfig

[PATCH 15/21] dmaengine: edma: Use dev_dbg instead pr_debug

2015-09-10 Thread Peter Ujfalusi
We have access to dev, so it is better to use the dev_dbg for debug prints. Signed-off-by: Peter Ujfalusi --- drivers/dma/edma.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index

[PATCH 20/21] dmaengine: edma: Move the pending error check into helper function

2015-09-10 Thread Peter Ujfalusi
In the ccerr interrupt handler the code checks for pending errors in the error status registers in two different places. Move the check out to a helper function. Signed-off-by: Peter Ujfalusi --- drivers/dma/edma.c | 20 1 file changed, 12

[PATCH 21/21] dmaengine: edma: Simplify and optimize ccerr interrupt handler

2015-09-10 Thread Peter Ujfalusi
No need to run through the bits in QEMR and CCERR events since they will not trigger any action, so just clearing the errors there is fine. In case of the missed event the loop can be optimized so we spend less time to handle the event. Signed-off-by: Peter Ujfalusi ---

Re: [PATCH 08/21] ARM/dmaengine: edma: Remove limitation on the number of eDMA controllers

2015-09-10 Thread Arnd Bergmann
On Thursday 10 September 2015 11:37:37 Peter Ujfalusi wrote: > bla-bla and bla > > Signed-off-by: Peter Ujfalusi You may want to expand on that a bit. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] thermal: Fix thermal_zone_of_sensor_register to match documentation

2015-09-10 Thread Javi Merino
On Tue, Sep 08, 2015 at 02:51:12PM +0100, Punit Agrawal wrote: > thermal_zone_of_sensor_register is documented as returning a pointer > to either a valid thermal_zone_device on success, or a corresponding > ERR_PTR() value. > > In contrast, the function returns NULL when THERMAL_OF is configured

Re: [RFC 00/13] perf_env/CPU socket reorg/fixes

2015-09-10 Thread Jiri Olsa
On Wed, Sep 09, 2015 at 04:50:12PM -0300, Arnaldo Carvalho de Melo wrote: > Hi, > > Please take a look at these changes to fix the problems reported by > Wang Nan wrt accesses to the cpu_topology_map information. > > The fixes are present on these following two csets: > > perf

Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig

2015-09-10 Thread Peter Zijlstra
On Thu, Sep 10, 2015 at 04:15:20AM +0800, Yuyang Du wrote: > On Tue, Sep 08, 2015 at 01:50:38PM +0100, Dietmar Eggemann wrote: > > > It's both a unit and a SCALE/SHIFT problem, SCHED_LOAD_SHIFT and > > > SCHED_CAPACITY_SHIFT are defined separately so we must be sure to > > > scale the value in the

1 new photo on MyDailyFlog!

2015-09-10 Thread sai sadasivam
Hi! I would like you to come and see my latest photos on MyDailyFlog. Check out: http://www.mydailyflog.com/go/invite_register/saiprathap/22143969=89 Thanks! sai sadasivam ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ To unsubscribe of this type of email from MyDailyFlog in the future,

Re: [PATCH] futex: eliminate cache miss from futex_hash()

2015-09-10 Thread Davidlohr Bueso
On Wed, 09 Sep 2015, Rasmus Villemoes wrote: futex_hash() references two global variables: the base pointer futex_queues and the size of the array futex_hashsize. The latter is marked __read_mostly, while the former is not, so they are likely to end up very far from each other. This means that

Re: [PATCH v3] perf, x86: Fix multi-segment problem of perf_event_intel_uncore

2015-09-10 Thread Peter Zijlstra
On Fri, Sep 04, 2015 at 02:28:36AM +0900, Taku Izumi wrote: > +struct pci2phy_map *__find_pci2phy_map(int segment) > +{ > + struct pci2phy_map *map; > + > + lockdep_assert_held(_map_lock); > + > + list_for_each_entry(map, _map_head, list) { > + if (map->segment == segment)

[PATCH v2] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-10 Thread Yuantian.Tang
From: Tang Yuantian kbuild test robot reports the warnings: drivers/ata/ahci_qoriq.c: In function 'ahci_qoriq_hardreset': >> include/asm-generic/io.h:163:2: warning: 'px_is' may be used >> uninitialized in this function [-Wuninitialized]

[char-misc-next 0/8] mei: mei client bus enhancements

2015-09-10 Thread Tomas Winkler
1. Use standard little endian UUID formatting in the device alias. 2. Add client protocol version to the device alias Prarit Bhargava (1): mei: make modules.alias UUID information easier to read Tomas Winkler (7): mei: bus: export client protocol version mei: bus: add client protocol

[char-misc-next 5/8] mei: bus: export mei_cldev_enabled function

2015-09-10 Thread Tomas Winkler
Let me client device driver query of the device is connected and hence enabled. Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus.c | 13 + include/linux/mei_cl_bus.h | 1 + 2 files changed, 14 insertions(+) diff --git a/drivers/misc/mei/bus.c

Re: [PATCH] lib/vsprintf.c: increase the size of the field_width variable

2015-09-10 Thread Joe Perches
On Thu, 2015-09-10 at 09:04 +0200, Maurizio Lombardi wrote: > Hi Rasmus, > > On 09/09/2015 08:51 PM, Rasmus Villemoes wrote: > > I'm also a little confused; I don't see what printk has to do with the > > reported problem (I'd expect the /sys/... file to be generated by > > something like

Re: [PATCH] lib/vsprintf.c: increase the size of the field_width variable

2015-09-10 Thread Joe Perches
On Thu, 2015-09-10 at 09:56 +0200, Rasmus Villemoes wrote: > On Thu, Sep 10 2015, Joe Perches wrote: > > On Thu, 2015-09-10 at 09:04 +0200, Maurizio Lombardi wrote: > >> On 09/09/2015 08:51 PM, Rasmus Villemoes wrote: > >> > I'm also a little confused; I don't see what printk

[PATCH v2 0/5] Add eeprom to the Olimex series of boards

2015-09-10 Thread Olliver Schinagl
Some of the olimex series of boards feature a permanently connected eeprom on i2c-1. This patch series adds them on all the boards that I personally have and where tested with. Additionally, it brings the eeprom on the OLinuXino a10s in line with the rest and now follows the binding

[PATCH v2 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro

2015-09-10 Thread Olliver Schinagl
From: Olliver Schinagl The OLinuXino A10S micro features an eeprom. According to the eeprom.txt binding document, we should use the manufacturer and 'at' is not the proper manufacturer id according to the vendor-prefixes. This patch takes the proper vendor-prefix and uses it

[PATCH v2 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board

2015-09-10 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A10 OLinuXino Lime features an eeprom that is always on the board. This patch adds it to the dts. Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts | 12 1 file changed, 12

Re: [PATCH 1/5] virtio-gpu: add virtio_gpu_queue_ctrl_buffer_nolock

2015-09-10 Thread Emil Velikov
Hi Gerd, On 9 September 2015 at 12:42, Gerd Hoffmann wrote: > Add virtio_gpu_queue_ctrl_buffer_nolock function, which does the same as > virtio_gpu_queue_ctrl_buffer but does not take the virtqueue lock. The > caller must hold the lock instead. > The drm subsystem tends to

[PATCH 04/21] ARM: davinci/common: Convert edma driver to handle one eDMA instance per driver

2015-09-10 Thread Peter Ujfalusi
Currently we have one device created to handle all (maximum 2) eDMAs in the system. With this change all eDMA instance will have it's own device/driver. This change is needed for further cleanups in the eDMA driver stack since the one device/driver to handle all eDMAs in the system was not

Re: [PATCH 09/21] ARM: davinci: Add set dma_mask to eDMA devices

2015-09-10 Thread Arnd Bergmann
On Thursday 10 September 2015 11:37:38 Peter Ujfalusi wrote: > +static u64 da8xx_edma0_dmamask = DMA_BIT_MASK(32); > + > static struct platform_device da8xx_edma0_device = { > .name = "edma", > .id = 0, > .dev = { > .platform_data =

Re: [PATCH 01/10] perf,x86: Fix event/group validation

2015-09-10 Thread Stephane Eranian
On Fri, Aug 21, 2015 at 1:31 PM, Sasha Levin wrote: > > On 05/21/2015 07:17 AM, Peter Zijlstra wrote: > > --- a/arch/x86/kernel/cpu/perf_event_intel.c > > +++ b/arch/x86/kernel/cpu/perf_event_intel.c > > @@ -2106,7 +2106,7 @@ static struct event_constraint * > >

Re: [PATCH V3 0/4] PCI: ACPI: Setting up DMA coherency for PCI device from _CCA attribute

2015-09-10 Thread Hanjun Guo
On 08/26/2015 09:54 PM, Suravee Suthikulpanit wrote: This patch adds support to setup DMA coherency for PCI device using the ACPI _CCA attribute. According to the ACPI spec, the _CCA attribute is required for ARM64. Therefore, this patch is a pre-req for ACPI PCI support for ARM64 which is

[PATCH] clocksource: Add CPU info to clocksource watchdog reporting

2015-09-10 Thread Seiichi Ikarashi
The clocksource watchdog reporting was improved by 0b046b217ad4c6. I want to add the info of CPU where the watchdog detects a deviation because it is necessary to identify the trouble spot if the clocksource is TSC. Signed-off-by: Seiichi Ikarashi ---

Re: [PATCH] crypto: sun4i-ss Fix a possible driver hang with ciphers

2015-09-10 Thread Herbert Xu
On Wed, Sep 09, 2015 at 02:27:07PM +0200, LABBE Corentin wrote: > The sun4i_ss_opti_poll function cipher data until the output miter have > a length of 0. > If the crypto API client, give more SGs than necessary this could result > in an infinite loop. > Fix it by checking for remaining bytes,

Re: [PATCH linux-next v6 4/8] mtd: spi-nor: use optimized commands for read/write/erase operations

2015-09-10 Thread Jonas Gorski
On Wed, Sep 9, 2015 at 3:24 PM, Cyrille Pitchen wrote: > The op codes used by the spi-nor framework are now tuned depending on the > memory manufacturer. > > Signed-off-by: Cyrille Pitchen To be honest, I'm not sure if it's worth it using

Re: [PATCH v2 1/3] ARM: Make FORCE_MAX_ZONEORDER configurable if ARM_SINGLE_ARMV7M

2015-09-10 Thread Uwe Kleine-König
On Wed, Sep 09, 2015 at 07:41:25AM +0200, Uwe Kleine-König wrote: > On Tue, Sep 08, 2015 at 11:19:13PM +0100, Russell King - ARM Linux wrote: > > On Tue, Sep 08, 2015 at 10:38:04PM +0200, Maxime Coquelin wrote: > > > This patch makes FORCE_MAX_ZONEORDER configurable in defconfig for ARMV7-M > > >

[PATCH v2 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board

2015-09-10 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A20 OLinuXino Lime2 features an eeprom that is always on the board. This patch adds it to the dts. Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 6 ++ 1 file changed, 6

[PATCH 07/21] ARM/dmaengine: edma: Public API to use private struct pointer

2015-09-10 Thread Peter Ujfalusi
Instead of relying on indexes pointing to edma private date in the global pointer array, pass the private data pointer via the public API. Signed-off-by: Peter Ujfalusi --- arch/arm/common/edma.c | 305 ++--- drivers/dma/edma.c

Re: [RFC PATCH] mmc: block: Add new ioctl to send combo commands

2015-09-10 Thread Jon Hunter
Hi Ulf, On 09/09/15 13:42, Ulf Hansson wrote: [snip] >> +static int mmc_blk_ioctl_cmd(struct block_device *bdev, >> + struct mmc_ioc_cmd __user *ic_ptr) >> +{ >> + struct mmc_blk_ioc_data *idata; >> + struct mmc_blk_data *md; >> + struct mmc_card *card;

[PATCH 13/21] dmaengine: edma: Use devm_kcalloc when possible

2015-09-10 Thread Peter Ujfalusi
When allocating a memory for number of items it is better (looks better) to use devm_kcalloc. Signed-off-by: Peter Ujfalusi --- drivers/dma/edma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index

[PATCH 12/21] dmaengine: edma: Parameter alignment and long line fixes

2015-09-10 Thread Peter Ujfalusi
Makes the code a bit more readable. Signed-off-by: Peter Ujfalusi --- drivers/dma/edma.c | 84 -- 1 file changed, 44 insertions(+), 40 deletions(-) diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index

[PATCH 14/21] dmaengine: edma: Cleanup regarding the use of dev around the code

2015-09-10 Thread Peter Ujfalusi
Be consistent and do not mix the use of dev, >dev, etc in the functions. Signed-off-by: Peter Ujfalusi --- drivers/dma/edma.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index

Re: [Bugfix] PCI, x86: Correctly allocate IRQs for PCI devices managed by non-PCI drivers

2015-09-10 Thread Jiang Liu
On 2015/9/10 3:11, Bjorn Helgaas wrote: > On Tue, Sep 8, 2015 at 11:49 AM, Jiang Liu wrote: >> Hi Bjorn, >> We have used another draft version to fix this issue by changing >> eata driver as below. But that needs to export pcibios_alloc_irq. And >> I'm not sure

Re: [PATCH 08/21] ARM/dmaengine: edma: Remove limitation on the number of eDMA controllers

2015-09-10 Thread Peter Ujfalusi
On 09/10/2015 11:40 AM, Arnd Bergmann wrote: > On Thursday 10 September 2015 11:37:37 Peter Ujfalusi wrote: >> bla-bla and bla >> >> Signed-off-by: Peter Ujfalusi > > You may want to expand on that a bit. I'm sorry about this.. I believed I did checked all the commit

[PATCH] tty/serial: at91: move ATMEL_MAX_UART

2015-09-10 Thread Alexandre Belloni
Move ATMEL_MAX_UART from platform_data/atmel.h to atmel_serial.c as this is the only file using it and it is common practise from tty/serial drivers to define it directly in the driver file. Signed-off-by: Alexandre Belloni ---

Re: [RESEND PATCH 1/3] arm64: dts: Add reset dts config for Hisilicon Hi6220 SoC

2015-09-10 Thread Philipp Zabel
Hi, Am Donnerstag, den 10.09.2015, 14:11 +0800 schrieb Chen Feng: > Add reset controller for hi6220 hikey-board. > > Signed-off-by: Chen Feng > --- > arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git

Re: [PATCH] arm/ls1021a: Add Sleep feature for ls1021

2015-09-10 Thread Mark Rutland
On Thu, Sep 10, 2015 at 10:36:36AM +0100, Dongsheng Wang wrote: > From: Wang Dongsheng > > Based on PSCI framework, add system STANDBY implement for ls1021 platform. > > Signed-off-by: Chenhui Zhao > Signed-off-by: Wang Dongsheng

[GIT PULL] xen: MFN/GFN/BFN terminology changes for 4.3-rc0

2015-09-10 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.3-rc0b-tag xen: MFN/GFN/BFN terminology changes for 4.3-rc0 - - Use the correct GFN/BFN terms more consistently. Thanks. David

[PATCH v2] crypto/testmgr: don't copy from source IV too much

2015-09-10 Thread Andrey Ryabinin
While the destination buffer 'iv' is MAX_IVLEN size, the source 'template[i].iv' could be smaller, thus memcpy may read read invalid memory. Use crypto_skcipher_ivsize() to get real ivsize and pass it to memcpy. Signed-off-by: Andrey Ryabinin --- crypto/testmgr.c | 5

[PATCH] logfs: fix build warning

2015-09-10 Thread Sudip Mukherjee
While building we were getting build warning of: fs/logfs/dev_bdev.c: In function '__bdev_writeseg': include/linux/kernel.h:601:17: warning: comparison of distinct pointer types lacks a cast [enabled by default] (void) (&_min1 == &_min2); \ fs/logfs/dev_bdev.c:84:14: note: in expansion of

Re: [PATCH linux-next v6 1/8] mtd: spi-nor: read JEDEC ID with multiple I/O protocols

2015-09-10 Thread Jonas Gorski
Hi, On Wed, Sep 9, 2015 at 3:24 PM, Cyrille Pitchen wrote: > When their quad or dual I/O mode is enabled, Micron and Macronix spi-nor > memories don't reply to the regular Read ID (0x9f) command. Instead they > reply to a new dedicated command Read ID Multiple I/O

Re: [PATCH linux-next v6 0/8] add driver for Atmel QSPI controller

2015-09-10 Thread Jonas Gorski
Hi, On Wed, Sep 9, 2015 at 3:24 PM, Cyrille Pitchen wrote: > This series of patches add support for the new Atmel QSPI controller > embedded inside sama5d2x SoCs. > > These patches were first developped for linux-3.18-at91 and tested on a > sama5d27 Xplained ultra

Re: [PATCH] misc: add CS2000 Fractional-N driver

2015-09-10 Thread Arnd Bergmann
On Thursday 10 September 2015 06:36:14 Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch adds CS2000 Fractional-N driver as clock provider. > It is useful if it supports runtime clock setting, but it supports > fixed clock rate at this point. >

Re: [PATCH v7 0/3] KVM: Dynamic Halt-Polling

2015-09-10 Thread Christian Borntraeger
Am 10.09.2015 um 03:55 schrieb Wanpeng Li: > On 9/9/15 9:39 PM, Christian Borntraeger wrote: >> Am 03.09.2015 um 16:07 schrieb Wanpeng Li: >>> v6 -> v7: >>> * explicit signal (set a bool) >>> * fix the tracepoint >>> >>> v5 -> v6: >>> * fix wait_ns and poll_ns >>> >>> v4 -> v5: >>> * set

[PATCH] spi: atmel: remove warning when !CONFIG_PM_SLEEP

2015-09-10 Thread Alexandre Belloni
When CONFIG_PM is defined but not CONFIG_PM_SLEEP (this happens when CONFIG_SUSPEND is not defined), there is the following warning: drivers/spi/spi-atmel.c:1723:12: warning: ‘atmel_spi_suspend’ defined but not used [-Wunused-function] drivers/spi/spi-atmel.c:1741:12: warning: ‘atmel_spi_resume’

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-09-10 Thread Lee Jones
On Thu, 10 Sep 2015, Viresh Kumar wrote: > On 09-09-15, 17:57, Stephen Boyd wrote: > > I think it will work for qcom use cases. > > Thanks for the Rant Rob, it finally got me moving :) > > > We can collapse the > > tables down to one node and have speed bin and version as the > >

[PATCH v2 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board

2015-09-10 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A20 OLinuXino Lime features an eeprom that is always on the board. This patch adds it to the dts. Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | 12 1 file changed, 12

[PATCH v2 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board

2015-09-10 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A20 OLinuXino Micro features an eeprom that is always on the board. This patch adds it to the dts. Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 6 ++ 1 file changed, 6

[PATCH 06/21] ARM: common: edma: Internal API to use pointer to 'struct edma'

2015-09-10 Thread Peter Ujfalusi
Merge the iomem into the 'struct edma' and change the internal (static) functions to use pointer to the edma_cc instead of the ctlr number. Signed-off-by: Peter Ujfalusi --- arch/arm/common/edma.c | 400 - 1 file changed,

[PATCH 11/21] dmaengine: edma: Allocate memory dynamically for bitmaps and structures

2015-09-10 Thread Peter Ujfalusi
Instead of using defines to specify the size of different arrays and bitmaps, allocate the memory for them based on the information we get from the HW itself. Since these defines are set based on the worst case, there are devices where they are not valid. Signed-off-by: Peter Ujfalusi

[PATCH 00/21] dmaengine/ARM: Merge the edma drivers into one

2015-09-10 Thread Peter Ujfalusi
Hi, with this series the edma two driver setup will be changed to have only one driver to support eDMA3. The legacy edma interface will be removed and eDMA can only be used via dmaengine API from this point on. In order to do the merge the following improvements has been done: - One driver

[PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters

2015-09-10 Thread Shannon Zhao
From: Shannon Zhao These EFI stub parameters are used to internal communication between EFI stub and Linux kernel and EFI stub creates these parameters. But for Xen on ARM when booting with UEFI, Xen will create a minimal DT providing these parameters for Dom0 and Dom0

RE: [PATCH 1/3] perf probe: Free perf probe event in cleanup_perf_probe_events()

2015-09-10 Thread 平松雅巳 / HIRAMATU,MASAMI
Hi Namhyung, >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim >Sent: Thursday, September 10, 2015 11:27 AM >To: Arnaldo Carvalho de Melo >Cc: Ingo Molnar; Peter Zijlstra; Jiri Olsa; LKML; Wang Nan; 平松雅巳 / >HIRAMATU,MASAMI >Subject: [PATCH 1/3] perf probe: Free perf probe

Re: [PATCH 5/5] virtgpu: mark as a render gpu

2015-09-10 Thread Emil Velikov
On 9 September 2015 at 12:42, Gerd Hoffmann wrote: > From: Dave Airlie > > Signed-off-by: Gerd Hoffmann > --- > drivers/gpu/drm/virtio/virtgpu_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 0/5] ACPI probing infrastructure

2015-09-10 Thread Hanjun Guo
On 09/08/2015 09:19 PM, Hanjun Guo wrote: Hi Marc, Sorry for the late response for quite a while... On 09/05/2015 01:06 AM, Marc Zyngier wrote: IRQ controllers and timers are the two types of device the kernel requires before being able to use the device driver model. ACPI so far lacks a

Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters

2015-09-10 Thread Mark Rutland
Hi, I'm not necessarily opposed to the renaming, but I think that this is the least important thing to standardize for this to work. On Thu, Sep 10, 2015 at 09:41:56AM +0100, Shannon Zhao wrote: > From: Shannon Zhao > > These EFI stub parameters are used to internal

Re: [rcu] kernel BUG at include/linux/pagemap.h:149!

2015-09-10 Thread Boqun Feng
Hi Fengguang, On Thu, Sep 10, 2015 at 08:57:08AM +0800, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > dev.2015.09.01a > > commit

[PATCH 2/3] ARM: at91/dt: shdwc binding: add new shutdown controller documentation

2015-09-10 Thread Nicolas Ferre
The new shutdown controller compatible with sama5d2 has a new binding documentation and properties. Signed-off-by: Nicolas Ferre --- .../devicetree/bindings/arm/atmel-at91.txt | 52 ++ 1 file changed, 52 insertions(+) diff --git

Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output

2015-09-10 Thread Namhyung Kim
On Mon, Sep 07, 2015 at 10:38:07AM +0200, Jiri Olsa wrote: > Enhancing parsing events tracepoint error output. Adding > more verbose output when the tracepoint is not found or > the tracing event path cannot be access. > > $ sudo perf record -e sched:sched_krava ls > event syntax error:

[char-misc-next 4/8] mei: bus: export uuid and protocol version to mei_cl bus drivers

2015-09-10 Thread Tomas Winkler
Export the uuid and the protocol version of the underlying me client for me client bus drivers usage. Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus.c | 26 ++ include/linux/mei_cl_bus.h | 3 +++ 2 files changed, 29 insertions(+)

[char-misc-next 6/8] mei: bus: complete variable rename of type struct mei_cl_device

2015-09-10 Thread Tomas Winkler
In the commit 5c079ae11921 ("mei: bus: fix drivers and devices names confusion") we set the variables of type struct mei_cl_device to 'cldev' but few places were left out, namely mei_cl_bus.h header and the mei nfc drivers. Signed-off-by: Tomas Winkler ---

[char-misc-next 2/8] mei: bus: export client protocol version

2015-09-10 Thread Tomas Winkler
export me client protocol version to sysfs and uevent Signed-off-by: Tomas Winkler --- Documentation/ABI/testing/sysfs-bus-mei | 7 +++ drivers/misc/mei/bus.c | 18 ++ drivers/misc/mei/client.h | 12 3

[char-misc-next 7/8] mei: bus: use mei_cldev_ prefix for the API functions

2015-09-10 Thread Tomas Winkler
Use mei_cldev_ prefix for all mei client bus api functions in order to resolve prefix conflict with functions that handle client function and are defined in client.c Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus.c | 67

[char-misc-next 8/8] mei: bus: use mei_cl_bus_ prefix consistently

2015-09-10 Thread Tomas Winkler
Use mei_cl_bus_ for internal bus function consistently. Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus-fixup.c | 4 ++-- drivers/misc/mei/bus.c | 27 ++- drivers/misc/mei/mei_dev.h | 2 +- 3 files changed, 17 insertions(+), 16

Re: eata fails to load on post 4.2 kernels

2015-09-10 Thread Arthur Marsh
Jiang Liu wrote on 08/09/15 14:49: Hi Auhur, Could you please help to apply the test patch against the latest mainstream linux kernel? Thanks! Gerry ... git bisect good 991de2e59090e55c65a7f59a049142e3c480f7bd is the first bad commit commit 991de2e59090e55c65a7f59a049142e3c480f7bd

RE: [PATCH v5 1/2] mfd: update Intel soc PMIC header file to support Broxton WC PMIC

2015-09-10 Thread Zha, Qipeng
>> >> +#define INIT_REGMAP_IRQ(_irq, _off, _mask) \ >> +[_irq] = { .reg_offset = (_off), .mask = (_mask) } >> + >No, that's not what I asked. >Either this macro is going to be useful to *everyone*, or it's probably not >useful to *anyone*. If it's going to exist, it should exist

Re: [PATCH 2/3] rhashtable-test: retry insert operations in threads

2015-09-10 Thread Herbert Xu
On Tue, Sep 01, 2015 at 04:51:24PM +0200, Thomas Graf wrote: > > 1. The current in-kernel self-test > 2. bind_netlink.c: https://github.com/tgraf/rhashtable I can't reproduce it: $ while :; do ./bind_netlink 1 12345; done Ports successfully created, terminating Create 1 ports Created

Re: [PATCH] mmc: block: Add new ioctl to send multi commands

2015-09-10 Thread Jon Hunter
Hi Arnd, On 09/09/15 21:22, Arnd Bergmann wrote: > On Wednesday 09 September 2015 17:44:54 Jon Hunter wrote: >> >> On 09/09/15 16:56, Arnd Bergmann wrote: >>> On Wednesday 09 September 2015 16:06:01 Jon Hunter wrote: + + idata = kcalloc(mcci.num_of_cmds, sizeof(*idata),

[PATCH 19/21] dmaengine: edma: Simplify the interrupt handling

2015-09-10 Thread Peter Ujfalusi
With the merger of the arch/arm/common/edma.c code into the dmaengine driver, there is no longer need to have per channel callback/data storage for interrupt events. Signed-off-by: Peter Ujfalusi --- drivers/dma/edma.c | 444

[PATCH 09/21] ARM: davinci: Add set dma_mask to eDMA devices

2015-09-10 Thread Peter Ujfalusi
The upcoming change to merge the arch/arm/common/edma.c into drivers/dma/edma.c will need this change when booting daVinci devices in no DT mode. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/devices-da8xx.c | 8 arch/arm/mach-davinci/dm355.c |

[PATCH 18/21] dmaengine: edma: Consolidate the comments for functions

2015-09-10 Thread Peter Ujfalusi
Remove or rewrite the comments for the internal functions. Signed-off-by: Peter Ujfalusi --- drivers/dma/edma.c | 86 +++--- 1 file changed, 11 insertions(+), 75 deletions(-) diff --git a/drivers/dma/edma.c

Re: [PATCH 1/4] sched/{cpuset,core}: restore complete root_domain status across hotplug

2015-09-10 Thread Juri Lelli
Hi Peter, On 09/09/15 16:11, Peter Zijlstra wrote: > On Wed, Sep 02, 2015 at 11:01:33AM +0100, Juri Lelli wrote: >> Hotplug operations are destructive w.r.t data associated with cpuset; >> in this case we care about root_domains. SCHED_DEADLINE puts bandwidth >> information regarding admitted

Re: [PATCH 09/21] ARM: davinci: Add set dma_mask to eDMA devices

2015-09-10 Thread Peter Ujfalusi
On 09/10/2015 11:45 AM, Arnd Bergmann wrote: > On Thursday 10 September 2015 11:37:38 Peter Ujfalusi wrote: >> +static u64 da8xx_edma0_dmamask = DMA_BIT_MASK(32); >> + >> static struct platform_device da8xx_edma0_device = { >> .name = "edma", >> .id = 0, >>

Re: [PATCH 1/1] mm: kmemleak: remove unneeded initialization of object to NULL

2015-09-10 Thread Catalin Marinas
On Thu, Sep 10, 2015 at 01:33:49AM +0300, Alexey Klimov wrote: > Few lines below object is reinitialized by lookup_object() > so we don't need to init it by NULL in the beginning of > find_and_get_object(). > > Signed-off-by: Alexey Klimov Acked-by: Catalin Marinas

[PATCH 3/3] ibmvsci: Allow to configure maximum LUN

2015-09-10 Thread Laurent Vivier
QEMU allows until 32 LUNs. Signed-off-by: Laurent Vivier --- drivers/scsi/ibmvscsi/ibmvscsi.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c index f9d7ec4..e5478b0 100644 ---

[PATCH 1/3] ibmvsci: make parameters max_id and max_channel read-only

2015-09-10 Thread Laurent Vivier
The value of the parameter is never re-read by the driver, so a new value is ignored. Let know the user he can't modify it by removing writable attribute. Signed-off-by: Laurent Vivier --- I resend this patch as James was not cc'ed. drivers/scsi/ibmvscsi/ibmvscsi.c | 4 ++--

[PATCH 2/3] ibmvcsci: display default value for max_id, max_lun and max_channel.

2015-09-10 Thread Laurent Vivier
As devices with values greater than that are silently ignored, this gives some hints to the sys admin to know why he doesn't see his devices... Signed-off-by: Laurent Vivier --- drivers/scsi/ibmvscsi/ibmvscsi.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)

Re: [RESEND PATCH 3/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-09-10 Thread Philipp Zabel
Am Donnerstag, den 10.09.2015, 14:11 +0800 schrieb Chen Feng: > Add reset driver for hi6220-hikey board,this driver supply deassert > of IP. on hi6220 SoC. > > Signed-off-by: Chen Feng > --- > drivers/reset/Kconfig | 1 + > drivers/reset/Makefile

Re: [RESEND PATCH 2/3] reset: hisilicon: document hisi-hi6220 reset controllers bindings

2015-09-10 Thread Philipp Zabel
Am Donnerstag, den 10.09.2015, 14:11 +0800 schrieb Chen Feng: > Add DT bindings documentation for hi6220 SoC reset controller. > > Signed-off-by: Chen Feng > --- > .../bindings/reset/hisilicon,hi6220-reset.txt | 97 > ++ >

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-10 Thread Oliver Neukum
On Wed, 2015-09-09 at 22:25 +0200, Rafael J. Wysocki wrote: > > > > > > I'd doubt that. Suppose you put the phone into your pocket while > > > the device isn't suspended. The continuous stream of spurious > events > > > will keep it awake. > > Why would they be regarded as spurious then? They

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-10 Thread Marc Zyngier
Hi Julian, On 09/09/15 20:23, Julien Grall wrote: > Hi, > > I've been trying the latest linus/master (a794b4f), which include this > patch, as baremetal kernel on X-gene. This is failing on early boot > without much log. > > After bisecting the tree, I found the error coming from this patch. >

[PATCH 1/5] staging: wilc1000: host_interface.c: replace WILC_MALLOC with kmalloc

2015-09-10 Thread Mike Rapoport
WILC_MALLOC(size) is wrapping a call to kmalloc(size, GFP_ATOMIC) with a check for 'size > 0', which kmalloc handles anyway The semantic patch that makes this change is as follows: @@ expression v, s; type t; identifier i; @@ ( - v = WILC_MALLOC(s); + v = kmalloc(s, GFP_ATOMIC); | - t i =

[PATCH 0/5] staging: wilc1000: remove kmalloc wrappers

2015-09-10 Thread Mike Rapoport
The wilc_memory.[ch] provide wrappers to kmalloc that effectively boil down to calling to kmalloc with flags=GFP_ATOMIC. Replacing the calls to these wrappers with direct calls to kmalloc allows removal of the wilc_memory.[ch] files. Mike Rapoport (5): staging: wilc1000: host_interface.c:

[PATCH 4/5] staging: wilc1000: make: remove wilc_memory.o from wilc1000-objs

2015-09-10 Thread Mike Rapoport
The wilc_memory.c only implements wrapper for kmalloc which is not used anymore and it may be removed from the driver Signed-off-by: Mike Rapoport --- drivers/staging/wilc1000/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 3/5] staging: wilc1000: do not include wilc_memory.h

2015-09-10 Thread Mike Rapoport
wilc_memory.h contains declarations of kmalloc wrappers that are not used anymore, therefore including this header is not required Signed-off-by: Mike Rapoport --- drivers/staging/wilc1000/wilc_msgqueue.h | 1 - drivers/staging/wilc1000/wilc_oswrapper.h | 3 --- 2

[PATCH 5/5] staging: wilc1000: remove wilc_memory.[ch]

2015-09-10 Thread Mike Rapoport
These files contain only unused kmalloc wrappers and can be removed Signed-off-by: Mike Rapoport --- drivers/staging/wilc1000/wilc_memory.c | 16 - drivers/staging/wilc1000/wilc_memory.h | 66 -- 2 files changed, 82 deletions(-)

[PATCH 2/5] staging: wilc1000: wilc_wfi_cfgoperations.c: replace WILC_MALLOC with kmalloc

2015-09-10 Thread Mike Rapoport
WILC_MALLOC(size) is wrapping a call to kmalloc(size, GFP_ATOMIC) with a check for 'size > 0', which kmalloc handles anyway The semantic patch that makes this change is as follows: @@ expression v, s; type t; identifier i; @@ ( - v = WILC_MALLOC(s); + v = kmalloc(s, GFP_ATOMIC); | - t i =

Re: [PATCH] lib/vsprintf.c: increase the size of the field_width variable

2015-09-10 Thread Maurizio Lombardi
On 09/10/2015 09:04 AM, Maurizio Lombardi wrote: > > scsi-debug used the bitmap_scnlistprintf() function but since commit > dbc760bcc150cc27160f0131b15db76350df4334 this function is just a wrapper > around scnprintf("%*pbl"); I just want to add that since commit

[PATCH 2/4] vhost: move features to core

2015-09-10 Thread Michael S. Tsirkin
virtio 1 and any layout are core features, move them there. This fixes vhost test. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vhost.h | 4 +++- drivers/vhost/net.c | 3 +-- drivers/vhost/scsi.c | 4 +--- drivers/vhost/test.c | 3 +++ 4 files changed, 8

[PATCH 16/21] dmaengine: edma: Use the edma_write_slot instead open coded memcpy_toio

2015-09-10 Thread Peter Ujfalusi
edma_write_slot() is for writing an entire paRAM slot. Signed-off-by: Peter Ujfalusi --- drivers/dma/edma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index 5b97c11a33af..e735147ccece 100644 ---

RE: [PATCH] thermal: Fix thermal_zone_of_sensor_register to match documentation

2015-09-10 Thread Zhang, Rui
> -Original Message- > From: Javi Merino [mailto:javi.mer...@arm.com] > Sent: Thursday, September 10, 2015 4:39 PM > To: Punit Agrawal > Cc: edubez...@gmail.com; Zhang, Rui; linux...@vger.kernel.org; linux- > ker...@vger.kernel.org; li...@roeck-us.net > Subject: Re: [PATCH] thermal: Fix

Re: eata fails to load on post 4.2 kernels

2015-09-10 Thread Arthur Marsh
Jiang Liu wrote on 10/09/15 17:43: Hi Authur, Thanks for the updating. Seem Bjorn doesn't like neither of my two patches. So I'm trying to convert eata to formal PCI driver, but the change will be much more bigger and still not sure whether we could achieve that. Will keep you updated.

Re: [PATCH 01/10] perf,x86: Fix event/group validation

2015-09-10 Thread Peter Zijlstra
On Thu, Sep 10, 2015 at 01:54:18AM -0700, Stephane Eranian wrote: > On Fri, Aug 21, 2015 at 1:31 PM, Sasha Levin wrote: > > > > On 05/21/2015 07:17 AM, Peter Zijlstra wrote: > > > --- a/arch/x86/kernel/cpu/perf_event_intel.c > > > +++

[PATCH] ACPICA: fix possible NULL dereference

2015-09-10 Thread Sudip Mukherjee
acpi_ns_get_secondary_object() can return NULL, and if it returns NULL then we were dereferencing it while calling acpi_ds_execute_arguments(). Lets have a NULL check and return AE_NOT_EXIST. Signed-off-by: Sudip Mukherjee --- drivers/acpi/acpica/dsargs.c | 3 +++ 1

Re: incoming

2015-09-10 Thread Rasmus Villemoes
On Thu, Sep 10 2015, Linus Torvalds wrote: > The VERY FIRST conversion patch I looked at was buggy. That makes me > angry. The whole *AND*ONLY* point of this whole thing was to get rid > of bugs, and be a obviously safe interface, and then the first > conversion

  1   2   3   4   5   6   7   >