Re: [PATCH v2 3/4] power: Add support for DA9150 Fuel-Gauge

2015-07-06 Thread Lee Jones
On Mon, 06 Jul 2015, Opensource [Adam Thomson] wrote: > On July 3, 2015 16:22, Lee Jones wrote: > > > > +/* > > > + * Function template to provide battery temperature. Should provide > > > + * 0.1 degrees C resolution return values. > > > + */ > > > +typedef int (*da9150_read_temp_t)(void *contex

Re: [PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers

2015-07-06 Thread James Liao
Hi Daniel, On Fri, 2015-07-03 at 18:46 +0800, Daniel Kurtz wrote: > On Fri, Jul 3, 2015 at 7:40 AM, Stephen Boyd wrote: > > DT nodes typically have a reg property. Not having a reg property is a > > good indicator of a problem with the binding. A syscon is used when you > > have a DT node with a

Re: [tip:x86/platform] x86/platform/intel/pmc_atom: Add Cherrytrail PMC interface

2015-07-06 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Mon, Jul 06, 2015 at 09:35:33AM -0700, tip-bot for Kumar P Mahesh wrote: > > Commit-ID: daf61e1b7fc31d553fe3bf2dead95d9404ad0f57 > > Gitweb: > > http://git.kernel.org/tip/daf61e1b7fc31d553fe3bf2dead95d9404ad0f57 > > Author: Kumar P Mahesh > > AuthorDate: M

Re: [PATCH] acpi-cpufreq.c: fix a memory leak in acpi_cpufreq_cpu_exit

2015-07-06 Thread Viresh Kumar
On 06-07-15, 14:30, Pan Xinhui wrote: > > policy->cpu in acpi_cpufreq_cpu_init/exit is the same cpu in most cases. > However during cpu hotplug, > cpufreq core might nominate a new cpu for policy->cpu. Why aren't above lines well aligned? A simple trick to share for vim users: - Select lines you

[PATCH v2 1/1] usb: usleep_range is preferred over udelay where wakeup is flexible

2015-07-06 Thread Sunny Kumar
According to Documentation/timers/timers-howto.txt" udelay() is only called once from a place where sleeping is allowed. We can replace it with a call to usleep_range() with a reasonable upper limit. This is new version of patch created after discussion. Signed-off-by: Sunny Kumar --- drivers/u

Re: [PATCH v2 2/2] x86/mm/pat, drivers/media/ivtv: move pat warn and replace WARN() with pr_warn()

2015-07-06 Thread Luis R. Rodriguez
On Mon, Jul 6, 2015 at 5:44 PM, Luis R. Rodriguez wrote: > If we really wanted to we could consider arch_phys_wc_add() I mean adding a __arch_phys_wc_add() which does not check for pat_enabled(). > and > deal with that this will not check for pat_enabled() and forces MTRR... > I think Andy Luto

[PATCH] w1: Use module_pci_driver

2015-07-06 Thread Vaishali Thakkar
Use module_pci_driver for drivers whose init and exit functions only register and unregister, respectively. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @a@ identifier f, x; @@ -static f(...) { return pci_register_driver(&x); } @b depends

Re: [RESEND 00/10] regulator: pwm-regulator: Introduce continuous-mode

2015-07-06 Thread Lee Jones
On Mon, 06 Jul 2015, Mark Brown wrote: > On Mon, Jul 06, 2015 at 09:58:22AM +0100, Lee Jones wrote: > > This patch-set has been rebased on to v4.2-rc1. > > Is this just a rebase or has the code been changed as well - IIRC there > were some bits in there that weren't supposed to be be there? This

Re: [PATCH v4 6/8] mfd: make mfd_remove_devices() iterate in reverse order

2015-07-06 Thread Lee Jones
On Tue, 07 Jul 2015, Rafael J. Wysocki wrote: > On Monday, July 06, 2015 05:05:29 PM Lee Jones wrote: > > On Mon, 06 Jul 2015, Andy Shevchenko wrote: > > > > > On Mon, Jul 6, 2015 at 5:50 PM, Lee Jones wrote: > > > > On Mon, 06 Jul 2015, Andy Shevchenko wrote: > > > > > > > >> On Mon, 2015-07-06

[PATCH] rtc/ds3232: fix ds3232 get a WARNING trace in resume function

2015-07-06 Thread Dongsheng Wang
From: Wang Dongsheng If ds3232 work on some platform that is not implementation irq_set_wake, ds3232 will get a WARNING trace in resume. So fix ds3232->suspended state to false when irq_set_irq_wake return error. [ cut here ] WARNING: CPU: 0 PID: 729 at kernel/irq/manage.

[tip:sched/core] sched/fair: Clean up the __sched_period() code

2015-07-06 Thread tip-bot for Boqun Feng
Commit-ID: 8e2b0bf397279878babcb39b021edcafe7c945eb Gitweb: http://git.kernel.org/tip/8e2b0bf397279878babcb39b021edcafe7c945eb Author: Boqun Feng AuthorDate: Thu, 2 Jul 2015 22:25:52 +0800 Committer: Ingo Molnar CommitDate: Tue, 7 Jul 2015 08:46:10 +0200 sched/fair: Clean up the __sche

[tip:sched/core] sched/fair: Fix a comment reflecting function name change

2015-07-06 Thread tip-bot for Byungchul Park
Commit-ID: 399595f248cb25dccb6044b53c47c44c174dc23d Gitweb: http://git.kernel.org/tip/399595f248cb25dccb6044b53c47c44c174dc23d Author: Byungchul Park AuthorDate: Mon, 6 Jul 2015 21:51:02 +0900 Committer: Ingo Molnar CommitDate: Tue, 7 Jul 2015 08:46:11 +0200 sched/fair: Fix a comment r

[tip:sched/core] sched/numa: Consider 'imbalance_pct' when comparing loads in numa_has_capacity()

2015-07-06 Thread tip-bot for Srikar Dronamraju
Commit-ID: 44dcb04f0ea8eaac3b9c9d3172416efc5a950214 Gitweb: http://git.kernel.org/tip/44dcb04f0ea8eaac3b9c9d3172416efc5a950214 Author: Srikar Dronamraju AuthorDate: Tue, 16 Jun 2015 17:26:00 +0530 Committer: Ingo Molnar CommitDate: Tue, 7 Jul 2015 08:46:10 +0200 sched/numa: Consider 'i

[tip:sched/core] sched/numa: Prefer NUMA hotness over cache hotness

2015-07-06 Thread tip-bot for Srikar Dronamraju
Commit-ID: 2a1ed24ce94036d00a7c5d5e99a77a80f0aa556a Gitweb: http://git.kernel.org/tip/2a1ed24ce94036d00a7c5d5e99a77a80f0aa556a Author: Srikar Dronamraju AuthorDate: Tue, 16 Jun 2015 17:25:59 +0530 Committer: Ingo Molnar CommitDate: Tue, 7 Jul 2015 08:46:10 +0200 sched/numa: Prefer NUMA

[tip:sched/core] sched/numa: Check sched_feat(NUMA) in migrate_improves_locality()

2015-07-06 Thread tip-bot for bseg...@google.com
Commit-ID: 6dfec8d9493f48a42896386b41ec1a4644331b0b Gitweb: http://git.kernel.org/tip/6dfec8d9493f48a42896386b41ec1a4644331b0b Author: bseg...@google.com AuthorDate: Tue, 16 Jun 2015 12:18:21 -0700 Committer: Ingo Molnar CommitDate: Tue, 7 Jul 2015 08:46:09 +0200 sched/numa: Check sche

Re: [PATCH] mfd: tps6586x: Fix up define for TPS6586X_MAX_REGISTER

2015-07-06 Thread Lee Jones
On Tue, 07 Jul 2015, Axel Lin wrote: > The latest valid register is TPS6586X_VERSIONCRC. > > Signed-off-by: Axel Lin > --- > drivers/mfd/tps6586x.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied, thanks. > diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c > ind

Re: [PATCH v2] sched: introduce sched_switch_post trace event

2015-07-06 Thread Peter Zijlstra
On Mon, Jul 06, 2015 at 12:15:45PM -0700, Cong Wang wrote: > Currently we only have one sched_switch trace event > for task switching, which is generated very early during > task switch. When we try to monitor per-container perf > events, this is not what we expect. > > For example, we have a proc

Re: [tip:sched/core] sched/rt: Fix memory leak in alloc_rt_sched_group()

2015-07-06 Thread Ingo Molnar
* Anshul Garg wrote: > Dear linux community, > > I think this patch" sched/rt: Fix memory leak in > alloc_rt_sched_group()" with Commit-ID: > ecdd6804b7c9e15fe8fc836ba0233d9912834e8b is not correct. > > As it will create panic in case of kzalloc failure because of doingkfree > twice. > > As

Re: Clarification for the use of additional fields in the message body

2015-07-06 Thread Frans Klaver
On Tue, Jul 7, 2015 at 8:21 AM, SF Markus Elfring wrote: >>> From: Markus Elfring >>> Date: Sat, 27 Jun 2015 15:56:57 +0200 >> >> Why is this in the body of the email? > > Does the canonical patch format support to preserve > specific details about a shown commit by specification > of fields like

Re: [PATCH v4 0/2] Correct for ACPI 5.1->6.0 spec changes in MADT GICC entries

2015-07-06 Thread Thomas Gleixner
On Mon, 6 Jul 2015, Al Stone wrote: > On 07/06/2015 05:20 PM, Rafael J. Wysocki wrote: > > Hi Al, > > > > On Tue, Jul 7, 2015 at 1:16 AM, Al Stone wrote: > >> In the ACPI 5.1 version of the spec, the struct for the GICC subtable > >> (struct acpi_madt_generic_interrupt) of the MADT is 76 bytes lo

Re: [PATCH RESEND] nohz: Affining unpinned timers

2015-07-06 Thread Thomas Gleixner
On Tue, 7 Jul 2015, Frederic Weisbecker wrote: > On Mon, Jul 06, 2015 at 07:18:22PM +0200, Thomas Gleixner wrote: > > On Mon, 6 Jul 2015, Frederic Weisbecker wrote: > > > I hope everybody received the patch because there is a ";" after each > > > address :-) > > > > > > On Tue, Jun 23, 2015 at 02

Re: [rtc-linux] [PATCH-v2] rtc: 88pm80x: add device tree support

2015-07-06 Thread Vaibhav Hiremath
On Thursday 25 June 2015 01:16 PM, Vaibhav Hiremath wrote: On Saturday 20 June 2015 06:13 AM, Alexandre Belloni wrote: Hi, Sorry I missed this email. Just wanted to send reminder email and saw this :) On 18/06/2015 at 00:28:06 +0530, Vaibhav Hiremath wrote : -pdata = dev_get_platda

Re: [PATCH] dmaengine: imx-sdma: Add device to device support

2015-07-06 Thread Shengjiu Wang
Hi vinod On Tue, Jul 07, 2015 at 09:50:57AM +0530, Vinod Koul wrote: > On Tue, Jun 23, 2015 at 04:42:54PM +0800, Shengjiu Wang wrote: > > +static void sdma_set_watermarklevel_for_p2p(struct sdma_channel *sdmac) > > +{ > > + struct sdma_engine *sdma = sdmac->sdma; > > + > > + int lwml = sdmac->

Re: [PATCH v2] sched: separate operations only for SMP from account_entity_en(de)queue

2015-07-06 Thread Byungchul Park
On Tue, Jul 07, 2015 at 10:07:03AM +0900, byungchul.p...@lge.com wrote: > From: Byungchul Park > > manipulating rq->cfs_tasks and numa-accounting are not meaningless on !SMP. > separate the operations from account_entity_en(de)queue. > > Signed-off-by: Byungchul Park > --- > kernel/sched/fair.

Re: [PATCH] gpio: pca953x: Fix warning when HW interrupts are rescheduled by the softirq tasklet

2015-07-06 Thread Christian Gmeiner
Hi all 2014-09-26 11:07 GMT+02:00 Linus Walleij : > On Thu, Sep 25, 2014 at 6:26 PM, Grygorii Strashko > wrote: >> On 09/25/2014 11:07 AM, Linus Walleij wrote: >>> On Wed, Sep 24, 2014 at 2:28 PM, Grygorii Strashko >>> wrote: On 09/24/2014 02:17 PM, Linus Walleij wrote: >>> > So PCA can

Re: Clarification for the use of additional fields in the message body

2015-07-06 Thread SF Markus Elfring
>> From: Markus Elfring >> Date: Sat, 27 Jun 2015 15:56:57 +0200 > > Why is this in the body of the email? Does the canonical patch format support to preserve specific details about a shown commit by specification of fields like "Date" and "From" in the message body? Regards, Markus -- To unsub

[PATCH v2] mtd: nand_bbt: separate struct nand_chip from nand_bbt.c

2015-07-06 Thread peterpandong
Currently nand_bbt.c is tied with struct nand_chip, and it makes other NAND family chips hard to use nand_bbt.c. Maybe it's the reason why onenand has own bbt(onenand_bbt.c). Parameterize a few relevant device detail information into a new nand_bbt struct, and set some hooks for chip specified par

[PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset

2015-07-06 Thread Christophe JAILLET
Turn a kmalloc/memset into an equivalent kzalloc. Doing so also move the zero'ing of the memory outside of a mutex. Signed-off-by: Christophe Jaillet --- A simililar patch has already been applied against arch/cris/arch-v32/drivers/mach-fs/gpio.c --- arch/cris/arch-v32/drivers/mach-a3/gpio.c | 3

linux-next: stats (Was: Linux 4.2-rc1)

2015-07-06 Thread Stephen Rothwell
Hi all, [These will be easier in the future as I have now scripted this message] As usual, the executive friendly graph is at http://neuling.org/linux-next-size.html :-) (No merge commits counted, next-20150623 was the first linux-next after the merge window opened.) Commits in v4.2-rc1 (relati

[PATCH 1/2] cxl: Fix off by one error allowing subsequent mmap page to be accessed

2015-07-06 Thread Ian Munsie
From: Ian Munsie It was discovered that if a process mmaped their problem state area they were able to access one page more than expected, potentially allowing them to access the problem state area of an unrelated process. This was due to a simple off by one error in the mmap fault handler intro

[PATCH 2/2] cxl: Fail mmap if requested mapping is larger than assigned problem state area

2015-07-06 Thread Ian Munsie
From: Ian Munsie This patch makes the mmap call fail outright if the requested region is larger than the problem state area assigned to the context so the error is reported immediately rather than waiting for an attempt to access an address out of bounds. Although we never expect users to map mo

[PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-06 Thread Christophe JAILLET
Stop comparing the strings as soon as we know that they don't match. Signed-off-by: Christophe JAILLET --- drivers/scsi/FlashPoint.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c index 5c74e4c..24a4d1a 100644 --- a/dr

[PATCH] rtc: rtc-ds1685: Use module_platform_driver

2015-07-06 Thread Vaishali Thakkar
Use module_platform_driver for drivers whose init and exit functions only register and unregister, respectively. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @a@ identifier f, x; @@ -static f(...) { return platform_driver_register(&x); }

[PATCH] sched: make decaying sched_avg's variables happen on period boundary

2015-07-06 Thread byungchul . park
From: Byungchul Park decaying time happens on every period boundary. if it does not reach the period boundary yet, the partial time needs to be kept so that the time can be decayed on exactly period boundary at next update. sa->avg_period is not appropriate for getting partial delta_w because th

[PATCH] Input: elan_i2c - Change the hover event from MT to ST

2015-07-06 Thread duson
We want the hover event like BTN_LEFT, even no contract object, it still can be reported to upper OS system. Signed-off by: Duson Lin --- drivers/input/mouse/elan_i2c_core.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/input/mouse/elan_i2c_core.c b/

Re: lock-up with module: Optimize __module_address() using a latched RB-tree

2015-07-06 Thread Arthur Marsh
I had a single, non-reproducible case of the same lock-up happening on my other machine running the Linus git head kernel in 64-bit mode. The kernel was built very similarly to the 32-bit mode kernel, using: CONCURRENCY_LEVEL=4 MAKEFLAGS="CC=gcc-5 LD=ld.gold KCFLAGS=-march=athlon64" \ make-kp

[PATCH] coresight: replicator: Use module_platform_driver

2015-07-06 Thread Vaishali Thakkar
Use module_platform_driver for drivers whose init and exit functions only register and unregister, respectively. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @a@ identifier f, x; @@ -static f(...) { return platform_driver_register(&x); }

Re: Query: Clock driver requests mailbox channel

2015-07-06 Thread Jassi Brar
On Mon, Jul 6, 2015 at 5:03 PM, Leo Yan wrote: > Hi all, > > i'm working with one clock driver, which will invoke mailbox API to > request the mailbox channel and send message. > > Usually clock driver will init with devicetree, below is the example: > CLK_OF_DECLARE(hi6220_clk_power, "hisilicon,h

[PATCH] Tools: hv: kvp: fix a build warning -Wformat-security

2015-07-06 Thread Dexuan Cui
It is to fix: hv_kvp_daemon.c:705:2: warning: format not a string literal and no format arguments [-Wformat-security] Signed-off-by: Dexuan Cui --- tools/hv/hv_kvp_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c in

Re: [RFC PATCH v6 3/3] drivers: nvmem: Add Vybrid OCOTP support

2015-07-06 Thread maitysanchayan
Hello Stefan, On 15-07-06 12:16:34, Stefan Wahren wrote: > Hi Sanchayan, > > > Sanchayan Maity hat am 29. Juni 2015 um 13:22 > > geschrieben: > > > > > > The patch adds support for the On Chip One Time Programmable Peripheral > > (OCOTP) on the Vybrid platform. > > please provide a changelog in

RE: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-06 Thread Subbaraya Sundeep Bhatta
Hi Felipe, > -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Monday, July 06, 2015 10:38 PM > To: Subbaraya Sundeep Bhatta > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; sta...@vger.kernel.org > Subject: Re:

Re: [PATCH v3] ipc: Modify message queue accounting to not take kernel data structures into account

2015-07-06 Thread Davidlohr Bueso
On Mon, 2015-07-06 at 17:49 +0200, Marcus Gelderie wrote: > A while back, the message queue implementation in the kernel was > improved to use btrees to speed up retrieval of messages (commit > d6629859b36). The patch introducing the improved kernel handling of > message queues (using btrees) has,

Re: [PATCHv2 5/6] clk: sunxi: make use of of_clk_parent_fill helper function

2015-07-06 Thread Maxime Ripard
Hi Dinh, On Mon, Jul 06, 2015 at 10:59:05PM -0500, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Use of_clk_parent_fill to fill in the parent clock names' array. > > Signed-off-by: Dinh Nguyen > Cc: Maxime Ripard > Cc: "Emilio López" Acked-by: Maxime Ripard Thanks! Maxime

Re: [PATCH v4] clk: change clk_ops' ->determine_rate() prototype

2015-07-06 Thread Boris Brezillon
Hi Stephen, On Mon, 6 Jul 2015 14:32:10 -0700 Stephen Boyd wrote: > On 07/06, Boris Brezillon wrote: > > Clock rates are stored in an unsigned long field, but ->determine_rate() > > (which returns a rounded rate from a requested one) returns a long > > value (errors are reported using negative e

Re: [PATCH] staging: lustre: obdclass: fix macro coding style issue in uuid.c

2015-07-06 Thread Joe Perches
On Mon, 2015-07-06 at 19:36 -0700, Greg KH wrote: > On Fri, Jun 26, 2015 at 11:04:49PM -0700, Joe Perches wrote: > > On Sat, 2015-06-27 at 06:36 +0100, Vasiliy Korchagin wrote: [] > > > Here is another version with macro expansion. Inline function > > > expansion doesn't > > > seem like a

Re: [RFC PATCH] bio integrity: do not assume bio_integrity_pool exists if bioset exists

2015-07-06 Thread Mike Snitzer
On Wed, Jul 01 2015 at 12:57pm -0400, Mike Snitzer wrote: > bio_integrity_alloc() and bio_integrity_free() assume that if a bio was > allocated from a bioset that that bioset also had its bio_integrity_pool > allocated using bioset_integrity_create(). This is a very bad > assumption given that b

Re: [PATCHv6 1/2] dts: Adding docs for Xilinx LogiCORE IP mailbox driver.

2015-07-06 Thread Jassi Brar
On Mon, Jul 6, 2015 at 10:57 PM, Sören Brinkmann wrote: > On Mon, 2015-07-06 at 10:16AM -0700, Moritz Fischer wrote: >> Signed-off-by: Moritz Fischer >> Acked-by: Michal Simek >> --- >> .../devicetree/bindings/mailbox/xilinx-mailbox.txt | 44 >> ++ >> 1 file changed, 44 ins

[PATCH] sched: let __sched_period() use rq cfs's nr_running

2015-07-06 Thread byungchul . park
From: Byungchul Park __sched_period() returns a period which a rq can have. the period has to be stretched by the number of task *the rq has*, when nr_running > nr_latency. otherwise, task slice can be very smaller than sysctl_sched_min_granularity depending on the position of tg hierarchy when C

[RFCv3 2/5] mm/compaction: enable mobile-page migration

2015-07-06 Thread Gioh Kim
From: Gioh Kim Add framework to register callback functions and check page mobility. There are some modes for page isolation so that isolate interface has arguments of page address and isolation mode while putback interface has only page address as argument. Signed-off-by: Gioh Kim --- fs/proc

[RFCv3 1/5] fs/anon_inodes: new interface to create new inode

2015-07-06 Thread Gioh Kim
From: Gioh Kim The anon_inodes has already complete interfaces to create manage many anonymous inodes but don't have interface to get new inode. Other sub-modules can create anonymous inode without creating and mounting it's own pseudo filesystem. Signed-off-by: Gioh Kim --- fs/anon_inodes.c

[RFCv3 5/5] mm: remove direct calling of migration

2015-07-06 Thread Gioh Kim
From: Gioh Kim Migration is completely generalized so that migrating mobile page is processed with lru-pages in move_to_new_page. Signed-off-by: Gioh Kim --- mm/balloon_compaction.c | 8 mm/migrate.c| 13 - 2 files changed, 21 deletions(-) diff --git a/mm/bal

[RFCv3 0/5] enable migration of driver pages

2015-07-06 Thread Gioh Kim
From: Gioh Kim Hello, This series try to enable migration of non-LRU pages, such as driver's page. My ARM-based platform occured severe fragmentation problem after long-term (several days) test. Sometimes even order-3 page allocation failed. It has memory size 512MB ~ 1024MB. 30% ~ 40% memory i

[RFCv3 3/5] mm/balloon: apply mobile page migratable into balloon

2015-07-06 Thread Gioh Kim
From: Gioh Kim Apply mobile page migration into balloon driver. The balloong driver has an anonymous inode that manages address_space_operation for page migration. Signed-off-by: Gioh Kim --- drivers/virtio/virtio_balloon.c| 3 ++ include/linux/balloon_compaction.h | 15 +++-- mm/ball

[RFCv3 4/5] mm: call generic migration callbacks

2015-07-06 Thread Gioh Kim
From: Gioh Kim Compaction calls interfaces of mobile page migration instead of calling balloon migration directly. Signed-off-by: Gioh Kim --- mm/compaction.c | 8 mm/migrate.c| 19 ++- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/mm/compaction

[PATCH v3] arm64: Modify the dump mem for 64 bit addresses

2015-07-06 Thread Maninder Singh
From: Rohit Thapliyal On 64bit kernel, the dump_mem gives 32 bit addresses on the stack dump. This gives unorganized information regarding the 64bit values on the stack. Hence, modified to get a complete 64bit memory dump. With patch: [ 93.534801] Process insmod (pid: 1587, stack limit = 0xfff

Re: [RESEND][PATCH v2] arm64:Modify the dump mem for 64 bit addresses

2015-07-06 Thread Krzysztof Kozlowski
2015-07-07 12:56 GMT+09:00 Maninder Singh : > From: Rohit Thapliyal > > V1 = added new function dump_mem64 > v1->v2 > Removed the separate function dump_mem64 and accommodated > a field width based on which the dump shall be created of > width either 4 or 8 as suggested by Catalin. Hi, Please pu

[PATCH net-next] tcp: always send a quick ack when quickacks are enabled

2015-07-06 Thread Jon Maxwell
I ran some tests and after setting the "ip route change quickack 1" knob there were still many delayed ACKs sent. This occured because when icsk_ack.quick=0 the !icsk_ack.pingpong value is subsequently ignored as tcp_in_quickack_mode() checks both these values. The condition for a quick ack to

Re: [PATCH] dmaengine: imx-sdma: Add device to device support

2015-07-06 Thread Vinod Koul
On Tue, Jun 23, 2015 at 04:42:54PM +0800, Shengjiu Wang wrote: > +static void sdma_set_watermarklevel_for_p2p(struct sdma_channel *sdmac) > +{ > + struct sdma_engine *sdma = sdmac->sdma; > + > + int lwml = sdmac->watermark_level & 0xff; > + int hwml = (sdmac->watermark_level >> 16) & 0x

spoluprace

2015-07-06 Thread email
Mam prospesne resení pro nas oba. byste mi mel odpovedet na nize pro vysvetlení na e-mailovou adresu. E-mail: jgg.c...@gmail.com -- 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.

Re: [PATCH] base: power: wakeirq: don't leak dev->power.wakeirq

2015-07-06 Thread Michael Trimarchi
Hi On Mon, Jul 6, 2015 at 8:09 PM, Felipe Balbi wrote: > On Mon, Jul 06, 2015 at 08:06:17PM +0200, Michael Trimarchi wrote: >> Hi >> >> On Jul 6, 2015 8:01 PM, "Felipe Balbi" wrote: >> > >> > on a first call to dev_pm_attach_wake_irq(), if it >> > fails, it will leave dev->power.wakeirq set to a

MM: Query about different memory types(mem_types)__mmu.c

2015-07-06 Thread Sumit Gupta
Hi All, I have been exploring ARM reference manual about ARM weak memory model and mmu page table setting from some time. I think i understand different memory types, mmu settings for page/section, TEX, AP, B, C, S bits well. My target is to to dig further and fully understand setting of all param

[PATCHv2 6/6] clk: ti: make use of of_clk_parent_fill helper function

2015-07-06 Thread dinguyen
From: Dinh Nguyen Use of_clk_parent_fill to fill in the parent clock names' array. Signed-off-by: Dinh Nguyen Cc: Tero Kristo --- drivers/clk/ti/apll.c |4 +--- drivers/clk/ti/composite.c |4 +--- drivers/clk/ti/dpll.c |4 +--- drivers/clk/ti/fapll.c |3 +-- driv

[PATCHv2 0/6] clk: make use of of_clk_parent_fill helper function

2015-07-06 Thread dinguyen
From: Dinh Nguyen Hello, This is v2 of the patchset that makes use of of_clk_parent_fill helper function on various platforms. Thanks, Dinh Nguyen (6): clk: at91: make use of of_clk_parent_fill helper function clk: qoriq: make use of of_clk_parent_fill helper function clk: keystone: make

[PATCHv2 1/6] clk: at91: make use of of_clk_parent_fill helper function

2015-07-06 Thread dinguyen
From: Dinh Nguyen Use of_clk_parent_fill to fill in the parent clock names' array. Signed-off-by: Dinh Nguyen Cc: Boris Brezillon --- drivers/clk/at91/clk-main.c |7 +-- drivers/clk/at91/clk-master.c |7 +-- drivers/clk/at91/clk-programmable.c |7 +-- dri

[PATCHv2 4/6] clk: st: make use of of_clk_parent_fill helper function

2015-07-06 Thread dinguyen
From: Dinh Nguyen Use of_clk_parent_fill to fill in the parent clock names' array. Signed-off-by: Dinh Nguyen Tested-by Gabriel Fernandez Cc: Peter Griffin --- drivers/clk/st/clk-flexgen.c |6 ++ drivers/clk/st/clkgen-mux.c |7 ++- 2 files changed, 4 insertions(+), 9 deletio

[PATCHv2 5/6] clk: sunxi: make use of of_clk_parent_fill helper function

2015-07-06 Thread dinguyen
From: Dinh Nguyen Use of_clk_parent_fill to fill in the parent clock names' array. Signed-off-by: Dinh Nguyen Cc: Maxime Ripard Cc: "Emilio López" --- v2: Add if (of_clk_parent_fill(node, parents, 2) != 2) to clk-a20-gmac.c --- drivers/clk/sunxi/clk-a20-gmac.c|4 +--- drivers/clk/sun

[PATCHv2 3/6] clk: keystone: make use of of_clk_parent_fill helper function

2015-07-06 Thread dinguyen
From: Dinh Nguyen Use of_clk_parent_fill to fill in the parent clock names' array. Signed-off-by: Dinh Nguyen Acked-by: Santosh Shilimkar --- drivers/clk/keystone/pll.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/keystone/pll.c b/drivers/clk/keystone/p

[PATCHv2 2/6] clk: qoriq: make use of of_clk_parent_fill helper function

2015-07-06 Thread dinguyen
From: Dinh Nguyen Use of_clk_parent_fill to fill in the parent clock names' array. Signed-off-by: Dinh Nguyen --- drivers/clk/clk-qoriq.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index cda90a9..d3f4570 100644

Re: [PATCH] Warnings : Fixed 80 character length warning in rtw_ap.c

2015-07-06 Thread Greg KH
On Mon, Jul 06, 2015 at 09:53:26PM -0400, Sreenath Madasu wrote: > When the checkpatch.pl script was run, it showed lines with length > more than 80 characters in rtw_ap.c file. Fixed line number 382 by > breaking it up into two lines within 80 characters. > > Signed-off-by: Sreenath Madasu > ---

Re: [PATCH] x86: Fix detection of GCC -mpreferred-stack-boundary support

2015-07-06 Thread Raymond Jennings
On Mon, 2015-07-06 at 10:59 -0700, Andy Lutomirski wrote: > On Mon, Jul 6, 2015 at 10:40 AM, Ingo Molnar wrote: > > > > * Andy Lutomirski wrote: > > > >> > My reasoning: on modern uarchs there's no penalty for 32-bit > >> > misalignment of > >> > 64-bit variables, only if they cross 64-byte cach

Re: [PATCH 1/2] staging: wilc1000: Delete unnecessary checks before two function calls

2015-07-06 Thread Greg Kroah-Hartman
On Sat, Jun 27, 2015 at 04:36:14PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 27 Jun 2015 15:56:57 +0200 Why is this in the body of the email? Please fix your email client or just use git send-email properly. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH RESEND] sched: prefer an idle cpu vs an idle sibling for BALANCE_WAKE

2015-07-06 Thread Mike Galbraith
On Mon, 2015-07-06 at 15:41 -0400, Josef Bacik wrote: > So the NO_WAKE_WIDE_IDLE results are very good, almost the same as the > baseline with a slight regression at lower RPS and a slight improvement > at high RPS. Good. I can likely drop the rest then (I like dinky, so do CPUs;). I'm not re

Re: [PATCH] staging: lustre: obdclass: fix macro coding style issue in uuid.c

2015-07-06 Thread Greg KH
On Fri, Jun 26, 2015 at 11:04:49PM -0700, Joe Perches wrote: > On Sat, 2015-06-27 at 06:36 +0100, Vasiliy Korchagin wrote: > > This patch fixes the checkpatch.pl error: > > > > ERROR: Macros with complex values should be enclosed in parentheses > > +#define CONSUME(val, ptr) (val) = consume(sizeof

Re: [PATCH 2/2] staging: wilc1000: One function call less in mac_ioctl() after error detection

2015-07-06 Thread Greg Kroah-Hartman
On Sat, Jun 27, 2015 at 04:37:24PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 27 Jun 2015 16:00:59 +0200 Again, please fix. > > The kfree() function was called in two cases by the mac_ioctl() function > during error handling even if the passed variable did not contain a

Re: [PATCH v2] usb: move assignment out of if condition

2015-07-06 Thread Greg KH
On Thu, Jul 02, 2015 at 06:23:59PM -0400, Kris Borer wrote: > Fix four occurrences of checkpatch.pl error: > > ERROR: do not use assignment in if condition > > Signed-off-by: Kris Borer > --- > drivers/usb/core/hcd.c | 19 +-- > 1 file changed, 13 insertions(+), 6 deletions(-)

Re: [PATCH] dmaengine: pl330: Really fix choppy sound because of wrong residue calculation

2015-07-06 Thread Vinod Koul
On Mon, Jun 15, 2015 at 11:00:09PM +0900, Krzysztof Kozlowski wrote: > When pl330 driver was used during sound playback, after some time or > after a number of plays the sound became choppy or totally noisy. For > example on Odroid XU3 board the first four executions of aplay with > small WAVE work

Re: [PATCH 7/8] xtensa: implement counting and sampling perf events

2015-07-06 Thread Chris Zankel
Hi Max, We could probably still use NMI with a separate stack. However, for exception handling while in NMI, we might have to implement something similar to x86_64 (https://lwn.net/Articles/484932/). Cheers! -Chris On Mon, Jul 6, 2015 at 7:22 AM, Max Filippov wrote: > On Mon, Jul 6, 2015 at 5:0

[RESEND][PATCH v2] arm64:Modify the dump mem for 64 bit addresses

2015-07-06 Thread Maninder Singh
From: Rohit Thapliyal V1 = added new function dump_mem64 v1->v2 Removed the separate function dump_mem64 and accommodated a field width based on which the dump shall be created of width either 4 or 8 as suggested by Catalin. On 64bit kernel, the dump_mem gives 32 bit addresses on the stack dump.

Re: [PATCH] dmaengine: pl330: Fix overflow when reporting residue in memcpy

2015-07-06 Thread Vinod Koul
On Mon, Jun 15, 2015 at 05:25:16PM +0900, Krzysztof Kozlowski wrote: > During memcpy operations the residue was always set to an u32 overflowed > value. > > In pl330_tx_status() function number of currently transferred bytes was > subtracted from internal "bytes_requested" field. However this > "b

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Vince Weaver
On Tue, 7 Jul 2015, Masami Hiramatsu wrote: > On 2015/07/07 6:27, Vince Weaver wrote: > > Hello > > > > I've been working on trying to get the perf_fuzzer to start fuzzing the > > PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support. > > > > However before I can get to the BP

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Vince Weaver
On Mon, 6 Jul 2015, Steven Rostedt wrote: > On Mon, 6 Jul 2015 17:27:04 -0400 (EDT) > Vince Weaver wrote: > > [ 3521.650521] ---[ end trace a413501925547ed5 ]--- > > [ 3521.655960] ftrace failed to modify [] > > handle_mm_fault+0x0/0x1750 > > [ 3521.664767] actual: e8:cb:18:ef:1e > > Hmm, it w

Re: [PATCH v3 0/3] net: dsa: mv88e6xxx: add support for VLAN Table Unit

2015-07-06 Thread Scott Feldman
On Mon, Jul 6, 2015 at 7:00 PM, Andrew Lunn wrote: > On Tue, Jul 07, 2015 at 01:38:04AM +0200, Andrew Lunn wrote: >> On Sun, Jul 05, 2015 at 10:14:50PM -0400, Vivien Didelot wrote: >> > Hi all, >> > >> > This patchset brings full support for hardware VLANs in DSA, and the >> > Marvell >> > 88E6xx

[PATCH v2] perf tools: Allow passing perf's own pid to '--filter'

2015-07-06 Thread Wang Nan
This patch allows passing perf's own PID to '--filter' by using '$PERFPID'. This should be useful when system-widely capturing tracepoints events. Before this patch, when doing something like: # perf record -a -e syscalls:sys_enter_write One could easily get result like this: # perf report -

[PATCH 2/6] xen/x86: Remove unnecessary memset() call

2015-07-06 Thread Boris Ostrovsky
Since ctxt is kzalloc'd there is no need to call a memset for ctxt->fpu_ctxt. Signed-off-by: Boris Ostrovsky --- arch/x86/xen/smp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index ca7ee1f..7cf0765 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen

[PATCH 6/6] xen/x86/pvh: Allow building 32-bit PVH guests

2015-07-06 Thread Boris Ostrovsky
Signed-off-by: Boris Ostrovsky --- arch/x86/xen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig index e88fda8..891031e 100644 --- a/arch/x86/xen/Kconfig +++ b/arch/x86/xen/Kconfig @@ -48,5 +48,5 @@ config XEN_DEBUG_FS conf

[PATCH 1/6] xen/x86/pvh: Save %rbx in xen_pvh_early_cpu_init()

2015-07-06 Thread Boris Ostrovsky
x86-64 ABI requires that functions preserve %rbx. When xen_pvh_early_cpu_init() is executed on boot cpu it is invoked as a function and 'cpuid' instruction will clobber %rbx. (This is not a concern on secondary processors since there xen_pvh_early_cpu_init() is the entry point and thus does not nee

[PATCH 0/6] 32-bit PVH domU support

2015-07-06 Thread Boris Ostrovsky
A set of PVH-related patches. The first patch is x86-64 ABI fix for PVH guests. The second is a small update that removes redundant memset (both on PV and PVH code paths) The rest is to enable non-privileged 32-bit PVH guests. This requires hypervisor patches from http://lists.xenproject.org/arc

[PATCH 4/6] xen/x86/pvh: Set up descriptors for 32-bit PVH guests

2015-07-06 Thread Boris Ostrovsky
Signed-off-by: Boris Ostrovsky --- arch/x86/xen/enlighten.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 0b95c9b..7953e68 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -136

[PATCH 3/6] xen/x86/pvh: Properly set page tables for 32-bit PVH guests

2015-07-06 Thread Boris Ostrovsky
32-bit PVH guests don't want to write-protect/pin page tables. Signed-off-by: Boris Ostrovsky --- arch/x86/xen/mmu.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index dd151b2..b473df8 100644 --- a/arch/x86/xe

[PATCH 5/6] xen/x86/pvh: Add 32-bit PVH initialization code

2015-07-06 Thread Boris Ostrovsky
Signed-off-by: Boris Ostrovsky --- arch/x86/xen/enlighten.c | 4 arch/x86/xen/smp.c | 17 ++--- arch/x86/xen/xen-head.S | 17 +++-- 3 files changed, 25 insertions(+), 13 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 7953e

[PATCH 1/1] regmap: add fast_io_disable_irq property for regmap_config

2015-07-06 Thread 周学文
(please ignore the last email which contain HTML format and was rejected, sorry for the inconvenience caused) This patch aims to fix an issue when using the regmap function in different drivers. I describe the issue here: We want to use the the same regmap handler to access the same hardware

Re: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-06 Thread Felipe Balbi
Hi, On Tue, Jul 07, 2015 at 02:10:26AM +, John Youn wrote: > On 7/1/2015 8:00 PM, Felipe Balbi wrote: > > On Thu, Jul 02, 2015 at 02:03:14AM +, John Youn wrote: > >> On 6/29/2015 2:48 PM, Felipe Balbi wrote: > >>> Hi again, > >>> > >>> On Mon, Jun 29, 2015 at 04:47:01PM -0500, Felipe Balbi

Re: [PATCH] arm64: dts: mt8173-evb: Add PMIC support

2015-07-06 Thread Eddie Huang
On Mon, 2015-07-06 at 18:39 +0200, Matthias Brugger wrote: > On Monday, July 06, 2015 03:43:57 PM Eddie Huang wrote: > > On Mon, 2015-06-22 at 21:19 +0800, Henry Chen wrote: > > > From: Eddie Huang > > > [...] > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts > > > b/arch/arm64/boot/

linux-next: Tree for Jul 7

2015-07-06 Thread Stephen Rothwell
Hi all, Now that -rc1 is out, please clean up your trees if necessary. Changes since 20150706: My fixes tree contains: Merge branch 'perf-urgent-for-linus' of ../../tip The device-mapper tree lost its build failure. Non-merge commits (relative to Linus' tree): 676 725 files

Re: [Intel-gfx] [Announcement] 2015-Q2 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2015-07-06 Thread Jike Song
Hi all, We're pleased to announce a public update to Intel Graphics Virtualization Technology(Intel GVT-g, formerly known as XenGT). Intel GVT-g is a full GPU virtualization solution with mediated pass-through, starting from 4th generation Intel Core(TM) processors with Intel Graphics process

Re: [PATCH] perf record: Allow passing perf's own pid to '--filter'

2015-07-06 Thread Wangnan (F)
On 2015/7/6 23:40, Arnaldo Carvalho de Melo wrote: Em Mon, Jul 06, 2015 at 11:00:10PM +0800, pi3orama escreveu: 发自我的 iPhone 在 2015年7月6日,下午9:56,Arnaldo Carvalho de Melo 写道: I.e. having something in the filter expression that gets transformed into the tools' pid, I have no problem with that

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Masami Hiramatsu
On 2015/07/07 6:27, Vince Weaver wrote: > Hello > > I've been working on trying to get the perf_fuzzer to start fuzzing the > PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support. > > However before I can get to the BPF testing the kprobe code generates a > constant stream of

Re: [PATCH v2] add stealth mode

2015-07-06 Thread David Miller
From: Matteo Croce Date: Mon, 6 Jul 2015 21:44:06 +0200 > 2015-07-06 12:49 GMT+02:00 : >> On Thu, 02 Jul 2015 10:56:01 +0200, Matteo Croce said: >>> Add option to disable any reply not related to a listening socket, >>> like RST/ACK for TCP and ICMP Port-Unreachable for UDP. >>> Also disables IC

Re: [PATCH v3 1/3] net: dsa: mv88e6xxx: add debugfs interface for VTU

2015-07-06 Thread Andrew Lunn
> +static int _mv88e6xxx_vtu_getnext(struct dsa_switch *ds, u16 vid, > + struct mv88e6xxx_vtu_entry *entry) > +{ > + int ret, i; > + > + ret = _mv88e6xxx_vtu_wait(ds); > + if (ret < 0) > + return ret; > + > + ret = _mv88e6xxx_reg_write(ds, R

Re: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-06 Thread John Youn
On 7/1/2015 8:00 PM, Felipe Balbi wrote: > On Thu, Jul 02, 2015 at 02:03:14AM +, John Youn wrote: >> On 6/29/2015 2:48 PM, Felipe Balbi wrote: >>> Hi again, >>> >>> On Mon, Jun 29, 2015 at 04:47:01PM -0500, Felipe Balbi wrote: On Thu, May 21, 2015 at 03:46:48PM +0530, Subbaraya Sundeep Bha

  1   2   3   4   5   6   7   8   9   10   >