[PATCH] add the missing MSI R7 370 Armor 2X PCIID

2015-09-14 Thread Maxim Sheviakov
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] irqchip: bcm2835: Add FIQ support

2015-09-14 Thread Russell King - ARM Linux
On Mon, Sep 14, 2015 at 07:33:09AM -0700, Eric Anholt wrote: > So, while FIQ isn't used in upstream, I think it's worthwhile to merge. > It is another step to bringing the downstream developers into the fold. I want to see the code _first_. Until then, I'm sorry, this patch can't go in. --

[PATCH 2/2] acpi-dma: Add support for "dma-names" device property

2015-09-14 Thread Mika Westerberg
The current implementation hard codes the two supported channels so that "tx" is always 0 and "rx" is always 1. This is because there has been no suitable way in ACPI to name resources. With _DSD device properties we can finally do this: Device (SPI1) { Name (_CRS,

[PATCH 1/2] device property: Add fwnode_property_match_string()

2015-09-14 Thread Mika Westerberg
Sometimes it is useful to be able to extract an index of certain string value from an array of strings. A typical use case is to give a name to a DMA channel, PWM, clock and so on. Provide an implementation using unified device property accessors that follows of_property_match_string() but works

Re: [PATCH 2/2] clk: at91: system: don't try to free_irq when there is no IRQ

2015-09-14 Thread Boris Brezillon
Hi Alexandre, On Fri, 11 Sep 2015 16:34:07 +0200 Alexandre Belloni wrote: > In the error path of at91_clk_register_system(), sys->irq is freed > unconditionally but it may not exist or be request at all. Not sure this is really needed since free_irq()

Re: [PATCH 0/4] fs: allow userland tasks to use delayed_fput infrastructure

2015-09-14 Thread J. Bruce Fields
On Mon, Sep 14, 2015 at 09:45:51AM -0400, Jeff Layton wrote: > I'm breaking this piece out of the open file cache work for nfsd to see > if we can get this piece settled before I re-post the whole set. If this > looks like a reasonable approach we can sort out how it should be merged > (either by

[RFC PATCH v2 6/7] arm64: Implement IPI_CPU_BACKTRACE using pseudo-NMIs

2015-09-14 Thread Daniel Thompson
Recently arm64 gained the capability to (optionally) mask interrupts using the GIC PMR rather than the CPU PSR. That allows us to introduce an NMI-like means to handle backtrace requests. This provides a useful debug aid by allowing the kernel to robustly show a backtrace for every processor in

[PATCH v6 2/5] thermal: power_allocator: relax the requirement of a sustainable_power in tzp

2015-09-14 Thread Javi Merino
The power allocator governor currently requires that a sustainable power is passed as part of the thermal zone's thermal zone parameters. If that parameter is not provided, it doesn't register with the thermal zone. While this parameter is strongly recommended for optimal performance, it doesn't

[PATCH v6 3/5] thermal: power_allocator: relax the requirement of two passive trip points

2015-09-14 Thread Javi Merino
The power allocator governor currently requires that the thermal zone has at least two passive trip points. If there aren't, the governor refuses to bind to the thermal zone. This commit relaxes that requirement. Now the governor will bind to all thermal zones regardless of how many trip points

Re: [PATCH v6 3/3] can: Allwinner A10/A20 CAN Controller support - Kernel module

2015-09-14 Thread Marc Kleine-Budde
On 09/14/2015 02:54 PM, Gerhard Bertelsmann wrote: > Signed-off-by: Gerhard Bertelsmann > --- > > drivers/net/can/Kconfig| 10 + > drivers/net/can/Makefile | 1 + > drivers/net/can/sun4i_can.c

Re: [PATCH] lib/string_helpers.c: fix infinite loop in string_get_size()

2015-09-14 Thread Andy Shevchenko
On Mon, 2015-09-14 at 14:43 +0200, Vitaly Kuznetsov wrote: > Andy Shevchenko writes: > > > On Fri, 2015-09-11 at 18:31 +, James Bottomley wrote: > > > On Thu, 2015-09-10 at 16:08 -0700, Andrew Morton wrote: > > > > On Fri, 4 Sep 2015 14:56:33 +0200 Vitaly

Re: [PATCH v4 00/20] xen/arm64: Add support for 64KB page in Linux

2015-09-14 Thread Stefano Stabellini
On Mon, 14 Sep 2015, Roger Pau Monné wrote: > IMHO this splitting is just a workaround for the fact that we don't have > a 64KB PV block protocol, and this is the real problem that should be > solved. 64K is a pure one guest kernel configuration option, not a platform wide option. The hypervisor

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

2015-09-14 Thread Jon Hunter
From: Seshagiri Holi Certain eMMC devices allow vendor specific device information to be read via a sequence of vendor commands. These vendor commands must be issued in sequence and an atomic fashion. One way to support this would be to add an ioctl function for sending a

[PATCH 04/16] usb: gadget: amd5536udc: use WARN_ON

2015-09-14 Thread Sudip Mukherjee
Use WARN_ON() instead of halting the kernel with BUG_ON(). Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/amd5536udc.c

Re: [PATCH v3] powerpc32: memset: only use dcbz once cache is enabled

2015-09-14 Thread Scott Wood
On Mon, 2015-09-14 at 08:21 +0200, Christophe Leroy wrote: > memset() uses instruction dcbz to speed up clearing by not wasting time > loading cache line with data that will be overwritten. > Some platform like mpc52xx do no have cache active at startup and > can therefore not use memset().

Re: [PATCH] debugfs: don't access 4 bytes for a boolean

2015-09-14 Thread Arnd Bergmann
On Friday 11 September 2015 14:36:06 Viresh Kumar wrote: > > debugfs_create_bool() declares the pointer to be of type u32 *. > Shouldn't that be changed to u8 *? There are many users which are > typecasting the variables to make debugfs API happy I'd say that the argument to

[PATCH v2] Staging: lustre: lustre: lov: lov_dev.c: Added missing blank line

2015-09-14 Thread Sakshi Vaid
line 158: WARNING: Missing a blank line after declarations line 183: WARNING: Missing a blank line after declarations Added a missing blank line after declartions. Signed-off-by: Sakshi Vaid --- drivers/staging/lustre/lustre/lov/lov_dev.c | 2 ++ 1 file changed, 2

[PATCH] pptp: avoid releasing the sock too early

2015-09-14 Thread Sasha Levin
Since we're using RCU we can't free the sock structure before RCU lets us, otherwise we're risking getting use-after-frees accessing it: [982915.329359] BUG: KASan: use after free in pptp_connect+0xbe3/0xc10 at addr 88006903e540 [982915.333044] Read of size 2 by task trinity-c4/27338

Re: [PATCH v3] powerpc32: memset: only use dcbz once cache is enabled

2015-09-14 Thread Christophe LEROY
Le 14/09/2015 17:20, Scott Wood a écrit : On Mon, 2015-09-14 at 08:21 +0200, Christophe Leroy wrote: memset() uses instruction dcbz to speed up clearing by not wasting time loading cache line with data that will be overwritten. Some platform like mpc52xx do no have cache active at startup and

[RFT PATCH] mips: maltaaprp_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: maltasmvp_eva_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: malta_qemu_32r6_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[PATCH] README: Add ARC architecture

2015-09-14 Thread Vineet Gupta
ARC support was added back in 2013 but I missed updating here Reported-by: Francois Bedard Signed-off-by: Vineet Gupta --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index a326a6a6a46f..f4756ee1c918

Re: [PATCH 14/39] SUNRPC: drop null test before destroy functions

2015-09-14 Thread J. Bruce Fields
ACK, but assuming Trond takes this one.--b. On Sun, Sep 13, 2015 at 02:15:07PM +0200, Julia Lawall wrote: > Remove unneeded NULL test. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ expression x; @@ > -if (x != NULL) >

Re: [PATCH 22/39] nfsd: drop null test before destroy functions

2015-09-14 Thread J. Bruce Fields
Thanks, applying.--b. On Sun, Sep 13, 2015 at 02:15:15PM +0200, Julia Lawall wrote: > Remove unneeded NULL test. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ expression x; @@ > -if (x != NULL) { >

Re: [PATCH v2 1/2] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2015-09-14 Thread Sören Brinkmann
Hi Shawn, overall, it looks good to me. I have some questions though. On Mon, 2015-09-14 at 02:29PM +0800, Shawn Lin wrote: > This patch adds Generic PHY access for sdhci-of-arasan. Driver > can get PHY handler from dt-binding, and power-on/init the PHY. > Also we add pm ops for PHY here if

[PATCH 06/16] usb: gadget: amd5536udc: remove unnecessary conditions

2015-09-14 Thread Sudip Mukherjee
The condition checking for irq_registered, regs, mem_region and active are not required as this is the remove function. And we are in the remove means that probe was successful and they can never be NULL at this point of code. It was required in the original code as the remove function was part of

[PATCH 08/16] usb: gadget: amd5536udc: remove forward declaration of udc_probe

2015-09-14 Thread Sudip Mukherjee
Rearrange the udc_probe function to remove the forward declarations. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 133 ++-- 1 file changed, 66 insertions(+), 67 deletions(-) diff --git

[PATCH 14/16] usb: gadget: amd5536udc: NULL comparison

2015-09-14 Thread Sudip Mukherjee
A NULL comparison can be written as if (var) or if (!var). Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/gadget/udc/amd5536udc.c

[PATCH 13/16] usb: gadget: amd5536udc: remove forward declaration of udc_basic_init

2015-09-14 Thread Sudip Mukherjee
Rearrange the udc_basic_init function to remove the forward declaration. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 55 ++--- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git

[PATCH 10/16] usb: gadget: amd5536udc: remove forward declaration of udc_create_dma_chain

2015-09-14 Thread Sudip Mukherjee
Rearrange udc_create_dma_chain to remove the forward declaration. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 241 ++-- 1 file changed, 119 insertions(+), 122 deletions(-) diff --git

[PATCH 15/16] usb: gadget: amd5536udc: remove multiple blank lines

2015-09-14 Thread Sudip Mukherjee
checkpatch complains about multiple blank lines. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/usb/gadget/udc/amd5536udc.c b/drivers/usb/gadget/udc/amd5536udc.c index

[PATCH 16/16] usb: gadget: amd5536udc: match alignment

2015-09-14 Thread Sudip Mukherjee
checkpatch complains that the alignment should match with open parenthesis. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 156 ++-- 1 file changed, 78 insertions(+), 78 deletions(-) diff --git

Re: [PATCH v2 2/2] Documentation: bindings: add description of phy for sdhci-of-arasan

2015-09-14 Thread Sören Brinkmann
On Mon, 2015-09-14 at 02:29PM +0800, Shawn Lin wrote: > This patch adds phys and phy-names for sdhci-of-arasan as required > properties for arasan,sdhci-5.1, and details the example as well. > > Signed-off-by: Shawn Lin Acked-by: Sören Brinkmann

Re: [PATCH V2] kasan: use IS_ALIGNED in memory_is_poisoned_8()

2015-09-14 Thread Andrey Ryabinin
2015-09-14 5:09 GMT+03:00 Xishi Qiu : > Use IS_ALIGNED() to determine whether the shadow span two bytes. > It generates less code and more readable. Add some comments in > shadow check functions. > > Please apply "kasan: fix last shadow judgement in memory_is_poisoned_16()" >

[PATCH 07/16] usb: gadget: amd5536udc: unmap virt_addr

2015-09-14 Thread Sudip Mukherjee
We have actually ioremapped dev->virt_addr and dev->regs is dev->virt_addr + UDC_DEVCFG_ADDR so while unmapping we should unmap dev->virt_addr. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] fs/binfmt_elf_fdpic.c: fix brk area overlap with stack on NOMMU

2015-09-14 Thread Rich Felker
On Mon, Sep 14, 2015 at 10:13:03PM +1000, Greg Ungerer wrote: > Hi Rich, > > > On 26/08/15 11:26, Greg Ungerer wrote: > >On 21/08/15 05:11, Rich Felker wrote: > >>From: Rich Felker > >> > >>On NOMMU archs, the FDPIC ELF loader sets up the usable brk range to > >>overlap with

[PATCH 03/16] usb: gadget: amd5536udc: rewrite udc_pci_probe

2015-09-14 Thread Sudip Mukherjee
A rewrite of udc_pci_probe() with proper error handling. We use here free_dma_pools() in error handling. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 52 +++-- 1 file changed, 27 insertions(+), 25 deletions(-)

[PATCH 02/16] usb: gadget: amd5536udc: rewrite init_dma_pools

2015-09-14 Thread Sudip Mukherjee
A rewrite of init_dma_pools() with proper error handling. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/usb/gadget/udc/amd5536udc.c

[PATCH 01/16] usb: gadget: amd5536udc: introduce free_dma_pools

2015-09-14 Thread Sudip Mukherjee
dma pools are being created by init_dma_pools() but there was no function for freeing them. Introduce the function now so that we can use it later. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 11 +++ 1 file changed, 11 insertions(+)

[PATCH 05/16] usb: gadget: amd5536udc: use free_dma_pools

2015-09-14 Thread Sudip Mukherjee
We have the function free_dma_pools() which frees all the dma pools. Use it instead of calling all the functions separately. The if conditions for data_requests and stp_requests are also not required here as this is the remove function and we are here means probe has succeeded and dma has been

[RFT PATCH] mips: e55_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem

2015-09-14 Thread Bartlomiej Zolnierkiewicz
This patch disables deprecated IDE subsystem in sb1250_swarm_defconfig (no IDE host drivers are selected in this config so there is no valid reason to enable IDE subsystem itself). Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/mips/configs/sb1250_swarm_defconfig |

Re: [RFCv5 PATCH 38/46] sched: scheduler-driven cpu frequency selection

2015-09-14 Thread Juri Lelli
On 04/09/15 14:27, Juri Lelli wrote: > On 15/08/15 13:35, Peter Zijlstra wrote: >> On Tue, Jul 07, 2015 at 07:24:21PM +0100, Morten Rasmussen wrote: >>> diff --git a/kernel/sched/cpufreq_sched.c b/kernel/sched/cpufreq_sched.c >>> new file mode 100644 >>> index 000..5020f24 >>> --- /dev/null

Re: [PATCH v2 2/5] seccomp: make underlying bpf ref counted as well

2015-09-14 Thread Tycho Andersen
Hi Daniel, On Fri, Sep 11, 2015 at 08:28:19PM +0200, Daniel Borkmann wrote: > I think due to the given insns restrictions on classic seccomp, this > could work for "most cases" (see below) for the time being until pointer > sanitation is resolved and that seccomp-only restriction from the dump >

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

2015-09-14 Thread Tejun Heo
Hello, Arnd. On Mon, Sep 14, 2015 at 09:45:33AM +0200, Arnd Bergmann wrote: > In general, we really want to leave drivers with a COMPILE_TEST dependency > so they at least get cross-built on x86, ideally on all architectures. Yeah, as long as it doesn't trigger silly warnings or errors on x86,

Re: [PATCH v2] lib/string_helpers.c: fix infinite loop in string_get_size()

2015-09-14 Thread James Bottomley
On Mon, 2015-09-14 at 14:57 +0200, Vitaly Kuznetsov wrote: > Some string_get_size() calls (e.g.: > string_get_size(1, 512, STRING_UNITS_10, ..., ...) > string_get_size(15, 64, STRING_UNITS_10, ..., ...) > ) result in an infinite loop. The problem is that if size is equal to >

Re: [PATCH v6 1/6] locking/qspinlock: relaxes cmpxchg & xchg ops in native code

2015-09-14 Thread Waiman Long
On 09/11/2015 06:27 PM, Davidlohr Bueso wrote: On Fri, 11 Sep 2015, Waiman Long wrote: @@ -46,7 +46,7 @@ static inline bool virt_queued_spin_lock(struct qspinlock *lock) if (!static_cpu_has(X86_FEATURE_HYPERVISOR)) return false; -while (atomic_cmpxchg(>val, 0, _Q_LOCKED_VAL)

Re: [Linux v4.2] workqueue: llvmlinux: acpid: BUG: sleeping function called from invalid context at kernel/workqueue.c:2680

2015-09-14 Thread Sedat Dilek
On Mon, Sep 14, 2015 at 4:00 PM, Sedat Dilek wrote: > On Thu, Sep 10, 2015 at 3:04 AM, Lai Jiangshan wrote: >> Hi, TJ >> >> I think we need to add might_sleep() on the top of __cancel_work_timer(). >> The might_sleep() on the start_flush_work()

Re: [PATCH 0/7] devcg: device cgroup extension for rdma resource

2015-09-14 Thread Tejun Heo
Hello, Parav. On Mon, Sep 14, 2015 at 07:34:09PM +0530, Parav Pandit wrote: > I missed to acknowledge your point that we need both - hard limit and > soft limit/weight. Current patchset is only based on hard limit. > I see that weight would be another helfpul layer in chain that we can >

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

2015-09-14 Thread Archit Taneja
Hi, On 9/14/2015 3:35 PM, Dave Airlie wrote: (this time with correct email address). On 14 September 2015 at 20:04, Dave Airlie wrote: If drm_fb_helper_alloc_fbi() fails then we were directly returning without freeing sysram. Also if drm_fb_helper_alloc_fbi() succeeds

Re: [PATCH 0/4] fs: allow userland tasks to use delayed_fput infrastructure

2015-09-14 Thread Jeff Layton
On Mon, 14 Sep 2015 10:48:37 -0400 "J. Bruce Fields" wrote: > On Mon, Sep 14, 2015 at 09:45:51AM -0400, Jeff Layton wrote: > > I'm breaking this piece out of the open file cache work for nfsd to see > > if we can get this piece settled before I re-post the whole set. If

Gelten Sie für dringende Darlehen bieten1.1%

2015-09-14 Thread BancoPosta Online Loans
-- BancoPosta Online Loans Viale Europa, 175-00144 Roma, Italy. Email: bancoposta...@hotmail.com Guten Tag meine Damen und Herren, Brauchen Sie ein Darlehen für einen bestimmten Zweck? BancoPosta in Italien haben einen günstigen Kredit für Sie. Wir bieten gesicherte und ungesicherte

Re: [RFC 3/5] powerpc: atomic: implement atomic{,64}_{add,sub}_return_* variants

2015-09-14 Thread Will Deacon
On Mon, Sep 14, 2015 at 01:11:56PM +0100, Peter Zijlstra wrote: > On Mon, Sep 14, 2015 at 02:01:53PM +0200, Peter Zijlstra wrote: > > The scenario is: > > > > CPU0CPU1 > > > > unlock(x) > > smp_store_release(>lock,

Re: [PATCH v2 11/23] ARM/dmaengine: edma: Merge the two drivers under drivers/dmaengine

2015-09-14 Thread Tony Lindgren
* Peter Ujfalusi [150911 05:35]: > 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. You should check your git

Re: [PATCH 14/39] SUNRPC: drop null test before destroy functions

2015-09-14 Thread Trond Myklebust
On Mon, Sep 14, 2015 at 12:07 PM, J. Bruce Fields wrote: > ACK, but assuming Trond takes this one.--b. No problem. I'll pick it up... Cheers Trond > On Sun, Sep 13, 2015 at 02:15:07PM +0200, Julia Lawall wrote: >> Remove unneeded NULL test. >> >> The semantic patch that

Re: [PATCH v2 00/12] New paravirtual PCI front-end for Hyper-V VMs

2015-09-14 Thread Marc Zyngier
Hi Jake, In the future, please CC me on anything that touches irqdomains, along with Jiang Liu as we both co-maintain this piece of code. On 11/09/15 01:00, ja...@microsoft.com wrote: > From: Jake Oshins > > The patch series updates the one sent about a month ago in three

Re: [PATCH v3 1/5] Documentation: add DT bindings for ARM SCPI sensors

2015-09-14 Thread Punit Agrawal
Mark Rutland writes: > On Mon, Sep 14, 2015 at 03:38:36PM +0100, Punit Agrawal wrote: >> Mark Rutland writes: >> >> >> >> +Sensor bindings for the sensors based on SCPI Message Protocol >> >> >>

Re: [PATCH v4 00/20] xen/arm64: Add support for 64KB page in Linux

2015-09-14 Thread Roger Pau Monné
El 14/09/15 a les 16.54, Stefano Stabellini ha escrit: > On Mon, 14 Sep 2015, Roger Pau Monné wrote: >> IMHO this splitting is just a workaround for the fact that we don't have >> a 64KB PV block protocol, and this is the real problem that should be >> solved. > > 64K is a pure one guest kernel

Re: [PATCH v6 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-09-14 Thread Waiman Long
On 09/11/2015 07:13 PM, Davidlohr Bueso wrote: On Fri, 11 Sep 2015, Waiman Long wrote: A sample of statistics counts after system bootup (with vCPU overcommit) was: hash_hops_count=9001 kick_latencies=138047878 kick_unlock_count=9001 kick_wait_count=9000 spurious_wakeup=3 wait_again_count=2

Re: [PATCH v4 5/7] Watchdog: introduce ARM SBSA watchdog driver

2015-09-14 Thread Fu Wei
Hi Pratyush, Great thanks for your help on some update for watchdog framework. For " Fix parent of watchdog_devices", I will update my patchset. For the upstreaming patchset"Sysfs status read support", will make a patch. But upstream it when your patchset is merged. On 14 September 2015 at

Re: [PATCH] debugfs: don't access 4 bytes for a boolean

2015-09-14 Thread Viresh Kumar
On 14-09-15, 17:25, Arnd Bergmann wrote: > I'd say that the argument to debugfs_create_bool() has to match the > access in the functions you are modifying, as well as whatever > gets passed into it by callers. > > By accessing only the first byte, you break all drivers that > call

Re: [PATCH v2 1/3] sysfs: Support is_visible() on binary attributes

2015-09-14 Thread Guenter Roeck
On 09/14/2015 05:34 AM, Emilio López wrote: According to the sysfs header file: "The returned value will replace static permissions defined in struct attribute or struct bin_attribute." but this isn't the case, as is_visible is only called on struct attribute only. This patch

[RFT PATCH] mips: maltaup_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: mpc30x_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: maltaup_xpa_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: workpad_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

Re: [rcu:rcu/dev 70/71] kernel/rcu/sync.c:68:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at include/linux/rcupdate.h:541)

2015-09-14 Thread Oleg Nesterov
On 09/12, Paul E. McKenney wrote: > > I should have noticed this... Heh, me too :/ Thanks a lot Fengguang! > The new rcu_lockdep_assert() is RCU_LOCKDEP_WARN(). I am guessing > that you would like to also make rcu_sync_lockdep_assert() be > RCU_SYNC_LOCKDEP_WARN()? I am fine either way.

Re: [Bugfix 0/3] Convert eata driver to a normal PCI device driver

2015-09-14 Thread Arthur Marsh
Jiang Liu wrote on 14/09/15 12:38: Hi Authur, As suggested by Bjorn, patch 1-2 set implement a PCI device driver to manage eata PCI devices. And patch 3 tries to support PCI device hot-removal for eata, but I have no change to test due to limited knowledge about scsi subsystem and

Re: [PATCH] KVM: nVMX: nested VPID emulation

2015-09-14 Thread Bandan Das
Wanpeng Li writes: > VPID is used to tag address space and avoid a TLB flush. Currently L0 use > the same VPID to run L1 and all its guests. KVM flushes VPID when switching > between L1 and L2. > > This patch advertises VPID to the L1 hypervisor, then address space of

[PATCH] arm: dma-mapping: fix build warning with new DMA_ERROR_CODE definition

2015-09-14 Thread Andre Przywara
Commit 96231b2686b5: ("ARM: 8419/1: dma-mapping: harmonize definition of DMA_ERROR_CODE") changed the definition of DMA_ERROR_CODE to use dma_addr_t, which makes the compiler barf on assigning this to an "int" variable on ARM with LPAE enabled: --- In file included from

Re: [PATCH v3] powerpc32: memset: only use dcbz once cache is enabled

2015-09-14 Thread Scott Wood
On Mon, 2015-09-14 at 17:44 +0200, Christophe LEROY wrote: > Le 14/09/2015 17:20, Scott Wood a écrit : > > On Mon, 2015-09-14 at 08:21 +0200, Christophe Leroy wrote: > > > memset() uses instruction dcbz to speed up clearing by not wasting time > > > loading cache line with data that will be

Re: similar files: fusbh200-hcd.c and fotg210-hcd.c

2015-09-14 Thread Felipe Balbi
On Sat, Sep 12, 2015 at 03:14:50PM +0200, Peter Senna Tschudin wrote: > >> Should these files be consolidated? And if so how? > > if you can find an easy way, that would be a very, very welcome patch. > > Is the ideal solution to consolidate both fusbh200-hcd.c and > fotg210-hcd.c in a single

[PATCH 00/16] usb: gadget: amd5536udc: fix memory leaks

2015-09-14 Thread Sudip Mukherjee
This amd5536udc was a complete mess. The major problems that i could find are: 1) if udc_pci_probe() fails in any stage then it just calls the udc_pci_remove() to handle error. And udc_pci_remove() works with struct udc *dev which we get from pci_get_drvdata(pdev). But we do the

[PATCH 09/16] usb: gadget: amd5536udc: remove forward declaration of udc_remote_wakeup

2015-09-14 Thread Sudip Mukherjee
Rearrange the udc_remote_wakeup function to remove the forward declaration. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 40 ++--- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git

Re: [PATCH v3 1/5] Documentation: add DT bindings for ARM SCPI sensors

2015-09-14 Thread Mark Rutland
On Mon, Sep 14, 2015 at 04:01:09PM +0100, Punit Agrawal wrote: > Mark Rutland writes: > > > On Mon, Sep 14, 2015 at 03:38:36PM +0100, Punit Agrawal wrote: > >> Mark Rutland writes: > >> > >> >> >> +Sensor bindings for the sensors based on SCPI

[PATCH 11/16] usb: gadget: amd5536udc: remove forward declaration of udc_free_dma_chain

2015-09-14 Thread Sudip Mukherjee
Rearrange udc_free_dma_chain to remove the forward declaration. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 53 ++--- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git

[PATCH 12/16] usb: gadget: amd5536udc: remove forward declaration of udc_pci_*

2015-09-14 Thread Sudip Mukherjee
Remove the forward declarations of udc_pci_probe and udc_pci_remove. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget/udc/amd5536udc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/gadget/udc/amd5536udc.c b/drivers/usb/gadget/udc/amd5536udc.c

[PATCH] atm: deal with setting entry before mkip was called

2015-09-14 Thread Sasha Levin
If we didn't call ATMARP_MKIP before ATMARP_ENCAP the VCC descriptor is non-existant and we'll end up dereferencing a NULL ptr: [1033173.491930] kasan: GPF could be caused by NULL-ptr deref or user memory accessirq event stamp: 123386 [1033173.493678] general protection fault: [#1] PREEMPT

[RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: lasat_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: capcella_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: fuloong2e_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: lemote2f_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: malta_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: malta_kvm_guest_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] mips: malta_kvm_defconfig: convert to use libata PATA drivers

2015-09-14 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

Re: [PATCH v3 1/5] Documentation: add DT bindings for ARM SCPI sensors

2015-09-14 Thread Punit Agrawal
Mark Rutland writes: > On Mon, Sep 14, 2015 at 04:01:09PM +0100, Punit Agrawal wrote: >> Mark Rutland writes: >> [...] >> >> After seeing the mapping already published, I am wondering if there is >> any value in duplicating the information. If

Re: [HPDD-discuss] [PATCH] nfsd: add a new EXPORT_OP_NOWCC flag to struct export_operations

2015-09-14 Thread bfie...@fieldses.org
On Sat, Sep 12, 2015 at 06:24:54AM -0400, Jeff Layton wrote: > On Sat, 12 Sep 2015 04:41:33 + > "Dilger, Andreas" wrote: > > > On 2015/09/11, 4:20 AM, "HPDD-discuss on behalf of Jeff Layton" > >

[PATCH] iio: gyro: ssp_gyro_sensor: Use devm_iio_device_register

2015-09-14 Thread Vaishali Thakkar
Use resourced managed function devm_iio_device_register to make error path simpler. To be compatible with the change, the remove function is removed as it is now redundant. Signed-off-by: Vaishali Thakkar --- drivers/iio/gyro/ssp_gyro_sensor.c | 12 +--- 1 file

Re: [PATCH] serial: sccnxp: convert devm irq to non devm version

2015-09-14 Thread Fabio Estevam
On Sun, Sep 13, 2015 at 10:44 AM, Julia Lawall wrote: > --- a/drivers/tty/serial/sccnxp.c > +++ b/drivers/tty/serial/sccnxp.c > @@ -963,11 +963,9 @@ static int sccnxp_probe(struct platform_device *pdev) > sccnxp_write(>port[0], SCCNXP_IMR_REG, 0); > > if

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

2015-09-14 Thread Grant Grundler
On Mon, Sep 14, 2015 at 8:00 AM, Jon Hunter wrote: > From: Seshagiri Holi > > Certain eMMC devices allow vendor specific device information to be read > via a sequence of vendor commands. These vendor commands must be issued > in sequence and an atomic

[PATCH 16/27] perf tools: Add tools/include into tags directories

2015-09-14 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding tools/include into tags directories, to have include definitions reachable via tags/cscope. Signed-off-by: Jiri Olsa Tested-by: Arnaldo Carvalho de Melo Cc: David Ahern Cc: Matt Fleming

[PATCH 22/27] perf machine: Add pointer to sample's environment

2015-09-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The 'struct machine' represents the machine where the samples were/are being collected, and we also have a 'struct perf_env' with extra details about such machine, that we were collecting at 'perf.data' creation time but we also needed when no

[PATCH 21/27] perf env: Introduce read_cpu_topology_map() method

2015-09-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Out of the code to write the cpu topology map in the perf.data file header. Now if one needs the CPU topology map for the running machine, one needs to call perf_env__read_cpu_topology_map(perf_env) and the info will be stored in perf_env.cpu.

[PATCH 24/27] perf tools: Introduce new sort type "socket" for the processor socket

2015-09-14 Thread Arnaldo Carvalho de Melo
From: Kan Liang This patch enable perf report to sort by processor socket: $ perf report --stdio --sort socket,comm,dso,symbol # To display the perf.data header info, please use --header/--header-only options. # # Total Lost Samples: 0 # # Samples: 686 of

[PATCH v3 4/8] genirq: irqdomain: Add irq_create_acpi_mapping

2015-09-14 Thread Marc Zyngier
In order to help ACPI on arm64 to make use of most of the irqdomain goodies, add a new entry point (irq_create_acpi_mapping) which mimics irq_create_of_mapping, except that it takes a new struct acpi_gsi_descriptor, which is the pendent of of_phandle_args in the OF world. We assume that the way

[PATCH v3 1/8] genirq: irqdomain: Use an accessor for the of_node field

2015-09-14 Thread Marc Zyngier
The struct irq_domain contains a "struct device_node *" field (of_node) that is almost the only link between the irqdomain and the device tree infrastructure. In order to prepare for the removal of that field, convert all users outside of kernel/irq/irqdomain.c to use an accessor. Signed-off-by:

[PATCH 08/27] perf tools: Switch to tracing_path interface on appropriate places

2015-09-14 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Using tracing_path interface on several places, that more or less copy the functionality of tracing_path interface. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Matt Fleming Cc: Namhyung Kim

[PATCH 05/27] tools lib api fs: Make tracing_path_strerror_open message generic

2015-09-14 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Making tracing_path__strerror_open_tp message generic by mentioning both debugfs/tracefs words in error message plus the tracing_path instead of debugfs_mountpoint. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Matt Fleming

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