[PATCH v3 6/17] arcmsr: precise checking adapter ID

2014-08-18 Thread Ching Huang
From: Ching Huang change since v2: 1. This patch pre-define the adapter->type in private data of struct pci_device_id. 2. Remove arcmsr_define_adapter_type function. Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/s

[PATCHv2 3/3] jbd/jbd2: allocate buffer-cache for superblock inode in non-movable area

2014-08-18 Thread Gioh Kim
A long-lasting buffer-cache can distrub page migration so that it must be allocated from non-movable area. The journal_init_inode is creating a buffer-cache for superblock journaling. The superblock exists until system shutdown so that the buffer-cache for the superblock would also exist for a lo

[PATCHv2 2/3] ext4: allocate buffer-cache for superblock in non-movable area

2014-08-18 Thread Gioh Kim
A buffer-cache for superblock is disturbing page migration, because the buffer-cache is not released until unmount. The buffer-cache must be allocated from non-movable area. Signed-off-by: Gioh Kim --- fs/ext4/super.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/

[PATCHv2 1/3] fs/buffer.c: allocate buffer cache with user specific flag

2014-08-18 Thread Gioh Kim
A buffer cache is allocated from movable area because it is referred for a while and released soon. But some filesystems are taking buffer cache for a long time and it can disturb page migration. A new API should be introduced to allocate buffer cache with user specific flag. For instance if user

[PATCHv2 0/3] new APIs to allocate buffer-cache with user specific flag

2014-08-18 Thread Gioh Kim
Hello, This patch try to solve problem that a long-lasting page caches of ext4 superblock and journaling of superblock disturb page migration. I've been testing CMA feature on my ARM-based platform and found that two page caches cannot be migrated. They are page caches of superblock of ext4 files

[PATCH v3 5/17] arcmsr: bugfix - return status of abort command

2014-08-18 Thread Ching Huang
From: Ching Huang This patch fixed the wrong return status of abort command. Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/scsi/arcmsr/arcmsr_hba.c 2014-08-08 19:35:46.0 +0800 +++ b/drivers/scsi/arcmsr/arc

Re: [PATCH] ipc: always handle a new value of auto_msgmni

2014-08-18 Thread Andrew Vagin
On Sat, Aug 16, 2014 at 10:29:16PM +0200, Manfred Spraul wrote: > Hi Andrew, > > On 08/14/2014 03:34 PM, Andrew Vagin wrote: > >On Thu, Aug 14, 2014 at 11:37:45AM +0200, Manfred Spraul wrote: > >>Hi Andrey, > >> > >>[...] > >>What do you use auto_msgmni for? > >We disable it to check that criu res

[PATCH v3 4/17] arcmsr: limit max. number of SCSI command request

2014-08-18 Thread Ching Huang
From: Ching Huang This patch limits the max. number of SCSI command request to avoid command overflow. Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2014-05-06 15:24:06.0 +0800 +++ b/driv

RE: [f2fs-dev] [PATCH 08/13 v2] f2fs: do checkpoint at f2fs_put_super

2014-08-18 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Saturday, August 16, 2014 5:58 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 08/13 v2] f2fs: do checkpo

RE: [PATCH] zd1211rw: replace ZD_ASSERT with lockdep_assert_held()

2014-08-18 Thread Sharma, Sanjeev
Ping for review the patch. thanks, Sanjeev Sharma -Original Message- From: Sanjeev Sharma [mailto:sanjeev_sha...@mentor.com] Sent: Tuesday, August 12, 2014 12:36 PM To: d...@gentoo.org; k...@deine-taler.de Cc: linvi...@tuxdriver.com; linux-wirel...@vger.kernel.org; net...@vger.kernel.or

RE: [PATCH] sgi-xp: Do not use BUG_ON(!spin_is_locked())

2014-08-18 Thread Sharma, Sanjeev
Hello Robin, Who will merge the change in linux-next tree. Regards Sanjeev Sharma -Original Message- From: Sanjeev Sharma [mailto:sanjeev_sha...@mentor.com] Sent: Tuesday, August 12, 2014 1:05 PM To: c...@sgi.com; robinmh...@gmail.com Cc: linux-kernel@vger.kernel.org; Sharma, Sanjeev; S

Ignore the [PATCH v4 4/17]

2014-08-18 Thread Ching Huang
Please ignore the patch [PATCH v4 4/17], I will resend the patch [PATCH v3 4/17]. Regards, Ching Huang -- 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.h

RE: [PATCH v3] uas: replace WARN_ON_ONCE() with lockdep_assert_held()

2014-08-18 Thread Sharma, Sanjeev
Hi Greg, Any feedback on this patch ? Regards Sanjeev Sharma -Original Message- From: Sharma, Sanjeev Sent: Tuesday, August 12, 2014 12:07 PM To: 'Hans de Goede' Cc: gre...@linuxfoundation.org; kra...@redhat.com; mdharm-...@one-eyed-alien.net; linux-...@vger.kernel.org; linux-kernel@v

[PATCH v4 4/17] arcmsr: limit max. number of SCSI command request

2014-08-18 Thread Ching Huang
From: Ching Huang This patch limits the max. number of SCSI commmand request to avoid command overflow. Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2014-05-06 15:24:06.0 +0800 +++ b/dri

[PATCH v3 3/17] arcmsr: Add code to support hibernation

2014-08-18 Thread Ching Huang
From: Ching Huang This patch adds code to support system hibernation. Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/scsi/arcmsr/arcmsr_hba.c 2014-08-01 17:54:46.0 +0800 +++ b/drivers/scsi/arcmsr/arcmsr_hba

[PATCH v3 2/17] arcmsr: Add code to support MSI-X, MSI interrupt

2014-08-18 Thread Ching Huang
From: Ching Huang This patch adds code to support MSI, MSI-X interrupt. Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2014-04-28 16:02:46.0 +0800 +++ b/drivers/scsi/arcmsr/arcmsr.h 20

Re: [PATCH] perf, tools: Add PERF_PID

2014-08-18 Thread Namhyung Kim
Hi Andi, On Wed, 13 Aug 2014 14:12:17 -0700, Andi Kleen wrote: > From: Andi Kleen > > It's currently difficult to filter out perf itself using a filter. > This can give cascading effects during IO tracing when the IO > perf does itself causes more trace output. > > The best way to filter is to us

[PATCH] mem-hotplug: fix boot failed in case all the nodes are hotpluggable

2014-08-18 Thread Xishi Qiu
If all the nodes are marked hotpluggable flag, alloc node data will fail. Because __next_mem_range_rev() will skip the hotpluggable memory regions. numa_clear_kernel_node_hotplug() is called after alloc node data. numa_init() ... ret = init_func(); // this will mark hotpluggable f

[PATCH v3 1/17] arcmsr: Revised interrupt service routine relate function to fix bug

2014-08-18 Thread Ching Huang
From: Ching Huang This patch rewrite the interrupt service routine relate function to fix command timeout when controller has very heavy loading. Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 201

Re: [PATCH 1/5] KVM: vmx: fix ept reserved bits for 1-GByte page

2014-08-18 Thread Paolo Bonzini
Il 19/08/2014 04:17, Wanpeng Li ha scritto: >>> >> -if (level == 1 || (level == 2 && (spte & (1ULL << 7 >>> >> { >>> >> +if (level == 1 || ((level == 3 || level == 2) >>> >> +&& (spte & (1ULL << 7 { >> > >> >This condition can

Re: [PATCH v2 1/4] xhci: Introduce xhci_init_driver()

2014-08-18 Thread Yoshihiro Shimoda
Hi, (2014/08/19 1:12), Andrew Bresticker wrote: > Since the struct hc_driver is mostly the same across the xhci-pci, > xhci-plat, and the upcoming xhci-tegra driver, introduce the function > xhci_init_driver() which will populate the hc_driver with the default > xHCI operations. The caller must s

Re: [PATCH 2/2] perf top: Handle 'z' key for toggle zeroing samples in TUI

2014-08-18 Thread Namhyung Kim
On Wed, 13 Aug 2014 22:47:43 +0200, Stephane Eranian wrote: > On Wed, Aug 13, 2014 at 10:37 PM, Arnaldo Carvalho de Melo > wrote: >> >> Em Wed, Aug 13, 2014 at 01:07:30AM +0200, Stephane Eranian escreveu: >> > On Tue, Aug 12, 2014 at 10:16 AM, Namhyung Kim wrote: >> > > The perf top TUI lacks 'z'

Re: [PATCH v4 2/2] usb: gadget: Add xilinx usb2 device support

2014-08-18 Thread sundeep subbaraya
Hi, On Tue, Jul 22, 2014 at 3:32 PM, Varka Bhadram wrote: > On 07/22/2014 02:38 PM, Subbaraya Sundeep Bhatta wrote: >> >> +#include >> +#include >> +#include >> +#include "gadget_chips.h" >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#inc

Re: [PATCH 00/29] Exynos SYSMMU (IOMMU) integration with DT and DMA-mapping subsystem

2014-08-18 Thread Marek Szyprowski
Hello, On 2014-08-19 01:32, Joerg Roedel wrote: On Tue, Aug 05, 2014 at 12:47:28PM +0200, Marek Szyprowski wrote: .../devicetree/bindings/iommu/samsung,sysmmu.txt | 93 ++- Documentation/power/notifiers.txt | 14 + arch/arm/boot/dts/exynos4.dtsi | 11

Re: [RFC/PATCH 1/2] perf top: Fix -z option behavior

2014-08-18 Thread Namhyung Kim
On Wed, 13 Aug 2014 17:27:56 -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 12, 2014 at 05:16:05PM +0900, Namhyung Kim escreveu: >> The current -z option does almost nothing. It doesn't zero the >> existing samples so that we can see profiles of exited process after >> last refresh. It seem

Re: [PATCH 03/13] perf annotate: Move session handling out of __cmd_annotate()

2014-08-18 Thread Namhyung Kim
On Wed, 13 Aug 2014 13:48:22 +0200, Jiri Olsa wrote: > On Tue, Aug 12, 2014 at 03:40:35PM +0900, Namhyung Kim wrote: >> +annotate.session = perf_session__new(&file, false, &annotate.tool); >> +if (annotate.session == NULL) >> +return -ENOMEM; > > I know you're just moving code,

Re: Oops: 17 SMP ARM (v3.16-rc2)

2014-08-18 Thread Iain Paton
On 17/08/14 22:46, Fabio Estevam wrote: > Iain, > > On Sun, Aug 17, 2014 at 6:34 PM, Iain Paton wrote: >> On 15/08/14 06:42, Mattis Lorentzon wrote: >> >>> We mostly run SSH with benchmarks using NFS, it can probably be >>> triggered by using only SSH with the following loop: >>> >>> # while : ;

[PATCH 2/2] PM / sleep: Asynchronous threads for dpm_complete

2014-08-18 Thread xiaoming wang
In analogy with commits 5af84b82701a and 97df8c12995, using asynchronous threads can improve the overall resume time significantly. This patch is for dpm_complete phase. Signed-off-by: Chuansheng Liu Signed-off-by: xiaoming wang --- drivers/base/power/main.c | 38

[PATCH 1/2] PM / sleep: Asynchronous threads for dpm_prepare

2014-08-18 Thread xiaoming wang
In analogy with commits 5af84b82701a and 97df8c12995, using asynchronous threads can improve the overall suspend time significantly. This patch is for dpm_prepare phase. Signed-off-by: Chuansheng Liu Signed-off-by: xiaoming wang --- drivers/base/power/main.c | 57

Re: [PATCH v3 13/15] cpufreq: Add cpufreq driver for Tegra124

2014-08-18 Thread Viresh Kumar
On 19 August 2014 09:03, Tuomas Tynkkynen wrote: > From: Tuomas Tynkkynen > > Add a new cpufreq driver for Tegra124. Instead of using the PLLX as > the CPU clocksource, switch immediately to the DFLL. It allows the use > of higher clock rates, and will automatically scale the CPU voltage as > wel

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-18 Thread Xiao Guangrong
On 08/19/2014 01:40 PM, David Matlack wrote: > On Mon, Aug 18, 2014 at 10:19 PM, Xiao Guangrong > wrote: >> On 08/19/2014 01:00 PM, David Matlack wrote: >>> On Mon, Aug 18, 2014 at 9:41 PM, Xiao Guangrong >>> wrote: On 08/19/2014 12:31 PM, David Matlack wrote: > The single line patch I s

Re: [PATCH 3/3] perf callchain: Prune misleading callchains for self entries

2014-08-18 Thread Namhyung Kim
Hi Jiri, On Mon, 18 Aug 2014 13:31:47 +0200, Jiri Olsa wrote: > On Sat, Aug 16, 2014 at 11:26:31AM +0900, Namhyung Kim wrote: > > SNIP > >> > >> > hum, where is it callee/caller mixed? with following example: >> > >> > --- >> > void c(void) >> > { >> > } >> > >> > void b(void) >> > { >> >

Re: [PATCH 1/1] iommu/vt-d : clear old root entry for dump kernel

2014-08-18 Thread Li, ZhenHua
I found there are more data need to be cleared for the dump kernel. So please ignore this patch, I will send out another one. Thanks Zhenhua On 08/19/2014 07:59 AM, Li, Zhen-Hua wrote: My debugging result is this: 1. Clear the old root entry table, dump kernel will choose another memory regi

[PATCH] builddeb: put the dbg files into the correct directory

2014-08-18 Thread Darrick J. Wong
Since the conversion of objtree to use relative pathnames (commit 7e1c04779e, "kbuild: Use relative path for $(objtree)"), the debug info files have been ending up in /debian/dbgtmp/ in the regular linux-image package instead of the debug files package. Fix up the paths so that the debug files end

RE: [PATCH] zram: add num_discards for discarded pages stat

2014-08-18 Thread Chao Yu
> -Original Message- > From: owner-linux...@kvack.org [mailto:owner-linux...@kvack.org] On Behalf Of > Sergey > Senozhatsky > Sent: Friday, August 15, 2014 2:12 PM > To: Chao Yu > Cc: minc...@kernel.org; linux-kernel@vger.kernel.org; linux...@kvack.org; > ngu...@vflare.org; > 'Jerome Marc

Re: [RFC PATCH 2/9] ACPI: Document ACPI device specific properties

2014-08-18 Thread Darren Hart
On Mon, Aug 18, 2014 at 11:54:29AM +0100, Mark Rutland wrote: > Hi Mika, > > While I am very much in favour of having a structured way of describing > device specific data in ACPI I am very concerned by the idea of assuming > (a false) equivalence with DT. More on that below. Hi Mark, The equiva

RE: [PATCH] regmap: fix of_regmap_get_endian()

2014-08-18 Thread li.xi...@freescale.com
Hi, I found this patch has some confliction with the Mark's newest Remgap-Tree's origin/topic/dt-endian branch. Javier Martinez has already fix some of these. Thanks, BRs Xiubo > -Original Message- > From: Thierry Reding [mailto:thierry.red...@gmail.com] > Sent: Tuesday, August 19, 2

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-18 Thread David Matlack
On Mon, Aug 18, 2014 at 10:19 PM, Xiao Guangrong wrote: > On 08/19/2014 01:00 PM, David Matlack wrote: >> On Mon, Aug 18, 2014 at 9:41 PM, Xiao Guangrong >> wrote: >>> On 08/19/2014 12:31 PM, David Matlack wrote: The single line patch I suggested was only intended to fix the "forever in

Re: [PATCH] tty: serial: serial_core.c: printk replacement

2014-08-18 Thread Sudip Mukherjee
> > Hi, that will not work either, as there is put_device(tty_dev) before > you use tty_dev. > > -- > js > suse labs > Hi, i missed that. I put my test message to test tty_dev immediately after tty_dev was initialized and so never got the error when the port was suspended. Will change it to pr_err

[Question]: redundant interrupts for broadcast timer

2014-08-18 Thread Leo Yan
hi, We observed the redundant interrupts for broadcast timer, so want to confirm here firstly; pls see below flow: 1. Thread_A starts a hrtimer with 100ms timeout, and then thread_A will remove from the runqueue to sleep; 2. The CPU which thread_A runs on will enter idle and call notify CLOC

Re: PANIC: ata_qc_new_init crashes at boot

2014-08-18 Thread Dan Williams
On Mon, Aug 18, 2014 at 2:21 PM, Tejun Heo wrote: > Hello, > > Sorry about the delay. Cc'ing Dan. > > On Wed, Aug 06, 2014 at 02:02:47PM -0400, Nick Krause wrote: >> On Wed, Jul 23, 2014 at 4:39 AM, Peter Zijlstra wrote: >> > On Tue, Jul 22, 2014 at 03:48:02PM -0400, Peter Hurley wrote: >> >> [

Re: [PATCH 1/2] doc: dt/bindings: input: introduce palmas power button description

2014-08-18 Thread Dmitry Torokhov
On Mon, Aug 18, 2014 at 03:13:29PM -0500, Nishanth Menon wrote: > Many palmas family of PMICs have support for interrupt based power > button. This allows the device to notify the processor of external > push button events over the shared palmas interrupt. > > Document the hardware support for the

Re: [PATCH 2/2] Input: misc: introduce palmas-pwrbutton

2014-08-18 Thread Dmitry Torokhov
Hi NIshanth, On Mon, Aug 18, 2014 at 03:13:30PM -0500, Nishanth Menon wrote: > Many palmas family of PMICs have support for interrupt based power > button. This allows the device to notify the processor of external > push button events over the shared palmas interrupt. However, this > event is gen

Re: [PATCH] regmap: fix of_regmap_get_endian()

2014-08-18 Thread Thierry Reding
On Mon, Aug 18, 2014 at 04:14:04PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Commit d647c199510c ("regmap: add DT endianness binding support") has > some issues. Specifically, if config->reg_format_endian is not explicitly > set, it will be zero, i.e. REGMAP_ENDIAN_DEFAULT. The swit

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-18 Thread Xiao Guangrong
On 08/19/2014 01:00 PM, David Matlack wrote: > On Mon, Aug 18, 2014 at 9:41 PM, Xiao Guangrong > wrote: >> On 08/19/2014 12:31 PM, David Matlack wrote: >>> But it looks like you basically said the same thing earlier, so I think >>> we're on the same page. >>> >> >> Yes, that is what i try to expla

Re: [RFC 1/4] net: allow large number of rx queues

2014-08-18 Thread Pankaj Gupta
> Hello. > > On 08/18/2014 05:37 PM, Pankaj Gupta wrote: > > > netif_alloc_rx_queues() uses kcalloc() to allocate memory > > for "struct netdev_queue *_rx" array. > > If we are doing large rx queue allocation kcalloc() might > > fail, so this patch does a fallback to vzalloc(). > > Similar imple

Re: [PATCH v2] mmc: dw_mmc: move rockchip related code to a separate file

2014-08-18 Thread Jaehoon Chung
Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 08/19/2014 01:36 PM, Addy Ke wrote: > To support HS200 and UHS-1, we need add a big hunk of code, > as shown in the following patches. So a separate file for > rockchip SOCs is suitable. > > Signed-off-by: Addy Ke > --- > Changes in v2: >

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-18 Thread David Matlack
On Mon, Aug 18, 2014 at 9:41 PM, Xiao Guangrong wrote: > On 08/19/2014 12:31 PM, David Matlack wrote: >> But it looks like you basically said the same thing earlier, so I think >> we're on the same page. >> > > Yes, that is what i try to explain in previous mails. :( I'm glad we understand each o

[mm] f7b5d647946: -3.0% dbench.throughput-MB/sec

2014-08-18 Thread Fengguang Wu
Hi Mel, We noticed a minor dbench throughput regression on commit f7b5d647946aae1647bf5cd26c16b3a793c1ac49 ("mm: page_alloc: abort fair zone allocation policy when remotes nodes are encountered"). testcase: ivb44/dbench/100% bb0b6dffa2ccfbd f7b5d647946aae1647bf5cd26 --- ---

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-18 Thread Xiao Guangrong
On 08/19/2014 12:31 PM, David Matlack wrote: > On Mon, Aug 18, 2014 at 8:50 PM, Xiao Guangrong > wrote: >> On 08/19/2014 05:15 AM, David Matlack wrote: >>> On Mon, Aug 18, 2014 at 12:56 PM, Xiao Guangrong >>> wrote: @@ -287,9 +293,15 @@ static bool set_mmio_spte(struct kvm *kvm, u64 *s

[GIT PULL] PCI changes for v3.17 (part 3)

2014-08-18 Thread Bjorn Helgaas
Hi Linus, I screwed up. I intended these changes for v3.17, and I put them in my 'next' branch just before leaving on vacation, but I forgot to include them in my merge window pull request when I returned. They're low-risk, so I'm sending them to you now (late), but the world won't end if they w

[PATCH v2] mmc: dw_mmc: move rockchip related code to a separate file

2014-08-18 Thread Addy Ke
To support HS200 and UHS-1, we need add a big hunk of code, as shown in the following patches. So a separate file for rockchip SOCs is suitable. Signed-off-by: Addy Ke --- Changes in v2: - Kconfig: depend on ARCH_ROCKCHIP, suggested by Bartlomiej Zolnierkiewicz - Kconfig: depend on OF, suggested

Re: [PATCH v3 03/15] clk: tegra: Add closed loop support for the DFLL

2014-08-18 Thread Vince Hsu
Hi, On 08/19/2014 11:33 AM, Tuomas Tynkkynen wrote: From: Tuomas Tynkkynen With closed loop support, the clock rate of the DFLL can be adjusted. The oscillator itself in the DFLL is a free-running oscillator whose rate is directly determined the supply voltage. However, the DFLL module contai

[mm] 3484b2de949: -56.2% vm-scalability.throughput, +9.3% turbostat.Pkg_W

2014-08-18 Thread Fengguang Wu
Hi Mel, We noticed the below vm-scalability performance/power regressions on commit 3484b2de9499df23c4604a513b36f96326ae81ad ("mm: rearrange zone fields into read-only, page alloc, statistics and page reclaim lines"). 24b7e5819ad5cbe 3484b2de9499df23c4604a513 testbox/testcase/testparams ---

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-18 Thread David Matlack
On Mon, Aug 18, 2014 at 8:50 PM, Xiao Guangrong wrote: > On 08/19/2014 05:15 AM, David Matlack wrote: >> On Mon, Aug 18, 2014 at 12:56 PM, Xiao Guangrong >> wrote: >>> @@ -287,9 +293,15 @@ static bool set_mmio_spte(struct kvm *kvm, u64 *sptep, >>> gfn_t gfn, >>> >>> static bool check_mmio_spte(

[PATCH v3 0/17] arcmsr: change note since v13 or v2

2014-08-18 Thread Ching Huang
Change note: 1,5,7~17/17 since v1.3 are not change. 2,3,4/17 since v2 are not change. 6/17 since v2: 1. pre-define adapter_type value in private data of pci_device_id. 2. remove the arcmsr_define_adapter_type function. Ching Huang -- To unsubscribe from this list: send the line "unsubscribe li

[writeback] 952648324b9: xfstests.xfs.026.fail

2014-08-18 Thread Fengguang Wu
Hi Jan, We find more xfstests changes on "writeback: Per-sb dirty tracking". 008 seems improved, the others are regressions. 063 failure is not 100% reproducible. df3be46bdbab23e 952648324b969f3fc22d3a2a7 --- - 0 +Inf% 1 ± 0%

Re: [PATCH v3 1/3] init / kthread: add module_long_probe_init() and module_long_probe_exit()

2014-08-18 Thread Luis R. Rodriguez
On Mon, Aug 18, 2014 at 10:19 AM, Oleg Nesterov wrote: > And, again, I do not really know which version is better. In Chicago right now -- feedback was it seems the that generally splitting up probe from init might be good in the end, if we do this we won't need a work around for drivers that wai

Re: [PATCH tip/core/rcu 1/2] rcu: Parallelize and economize NOCB kthread wakeups

2014-08-18 Thread Paul E. McKenney
On Mon, Aug 18, 2014 at 11:23:45PM +0530, Amit Shah wrote: > On (Fri) 15 Aug 2014 [08:04:05], Paul E. McKenney wrote: > > On Fri, Aug 15, 2014 at 10:54:11AM +0530, Amit Shah wrote: > > > On (Wed) 13 Aug 2014 [06:00:49], Paul E. McKenney wrote: > > > > On Wed, Aug 13, 2014 at 11:14:39AM +0530, Amit

Re: slub/debugobjects: lockup when freeing memory

2014-08-18 Thread Paul E. McKenney
On Mon, Aug 18, 2014 at 10:44:34PM -0500, Christoph Lameter wrote: > On Mon, 18 Aug 2014, Paul E. McKenney wrote: > > > > > So call rcu activates the object, but the object has no reference in > > > > the debug objects code so the fixup code is called which inits the > > > > object and allocates a

Re: [PATCH v2 05/18] ARM64 / ACPI: Parse FADT table to get PSCI flags for PSCI init

2014-08-18 Thread Hanjun Guo
On 2014-8-18 22:27, Catalin Marinas wrote: > On Mon, Aug 04, 2014 at 04:28:12PM +0100, Hanjun Guo wrote: >> There are two flags: PSCI_COMPLIANT and PSCI_USE_HVC. When set, >> the former signals to the OS that the hardware is PSCI compliant. > > Actually it signals that the firmware is PSCI complia

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-18 Thread Xiao Guangrong
On 08/19/2014 05:15 AM, David Matlack wrote: > On Mon, Aug 18, 2014 at 12:56 PM, Xiao Guangrong > wrote: >> @@ -287,9 +293,15 @@ static bool set_mmio_spte(struct kvm *kvm, u64 *sptep, >> gfn_t gfn, >> >> static bool check_mmio_spte(struct kvm *kvm, u64 spte) >> { >> + struct kvm_memslots

Re: [PATCH v3 12/15] cpufreq: tegra: Rename tegra-cpufreq to tegra20-cpufreq

2014-08-18 Thread Viresh Kumar
On 19 August 2014 09:03, Tuomas Tynkkynen wrote: > From: Tuomas Tynkkynen > > The Tegra124 will use a different driver for frequency scaling, so > rename the old driver (which handles only Tegra20) appropriately. > > Signed-off-by: Tuomas Tynkkynen > --- > v3: New patch > --- > drivers/cpufreq/

[PATCH v3 09/15] ARM: tegra: Add the DFLL to Tegra124 device tree

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen The DFLL clocksource is a separate IP block from the usual clock-and-reset controller, so it gets its own device tree node. Signed-off-by: Tuomas Tynkkynen --- arch/arm/boot/dts/tegra124.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arc

[PATCH v3 04/15] clk: tegra: Add functions for parsing CVB tables

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen Tegra CVB tables encode the relationship between operating voltage and optimal frequency as a function of the so-called speedo value. The speedo value is written to the on-chip fuses at the factory, which allows the voltage-frequency operating points to be calculated on an

[PATCH v3 01/15] clk: tegra: Add binding for the Tegra124 DFLL clocksource

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen The DFLL is the main clocksource for the fast CPU cluster on Tegra124 and also provides automatic CPU rail voltage scaling as well. The DFLL is a separate IP block from the usual Tegra124 clock-and-reset controller, so it gets its own node in the device tree. Signed-off-by

Re: slub/debugobjects: lockup when freeing memory

2014-08-18 Thread Christoph Lameter
On Mon, 18 Aug 2014, Paul E. McKenney wrote: > > > So call rcu activates the object, but the object has no reference in > > > the debug objects code so the fixup code is called which inits the > > > object and allocates a reference > > > > So we need to init the object in the page struct befo

[PATCH v3 10/15] ARM: tegra: Enable the DFLL on the Jetson TK1

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen Add the board-specific properties of the DFLL for the Jetson TK1 board. On this board, the DFLL will take control of the sd0 regulator on the on-board AS3722 PMIC. Signed-off-by: Tuomas Tynkkynen --- arch/arm/boot/dts/tegra124-jetson-tk1.dts | 8 +++- 1 file changed,

[PATCH v3 06/15] clk: tegra: Add Tegra124 DFLL clocksource platform driver

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen Add basic platform driver support for the fast CPU cluster DFLL clocksource found on Tegra124 SoCs. This small driver selects the appropriate Tegra124-specific characterization data and integration code. It relies on the DFLL common code to do most of the work. Signed-off-

[PATCH v3 03/15] clk: tegra: Add closed loop support for the DFLL

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen With closed loop support, the clock rate of the DFLL can be adjusted. The oscillator itself in the DFLL is a free-running oscillator whose rate is directly determined the supply voltage. However, the DFLL module contains logic to compare the DFLL output rate to a fixed ref

[PATCH v3 00/15] Tegra124 CL-DVFS / DFLL clocksource, plus cpufreq

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen v3 changes: - Fix incorrect order of arguments to dfll_scale_dvco_rate - Fix accidental commas at end-of-statement to semicolons - Some cpufreq changes: - rename cpufreq-tegra to cpufreq-tegra20 - have separate Kconfig entries for Tegra20/Tegra124 support - use

[PATCH v3 12/15] cpufreq: tegra: Rename tegra-cpufreq to tegra20-cpufreq

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen The Tegra124 will use a different driver for frequency scaling, so rename the old driver (which handles only Tegra20) appropriately. Signed-off-by: Tuomas Tynkkynen --- v3: New patch --- drivers/cpufreq/Kconfig.arm| 6 +++--- drivers/cpufreq/M

[PATCH v3 05/15] clk: tegra: Add DFLL DVCO reset control for Tegra124

2014-08-18 Thread Tuomas Tynkkynen
From: Paul Walmsley The DVCO present in the DFLL IP block has a separate reset line, exposed via the CAR IP block. This reset line is asserted upon SoC reset. Unless something (such as the DFLL driver) deasserts this line, the DVCO will not oscillate, although reads and writes to the DFLL IP bl

[PATCH v3 15/15] ARM: tegra: Add CPU regulator to the Jetson TK1 device tree

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen Add the CPU voltage regulator for the cpufreq driver. Signed-off-by: Tuomas Tynkkynen --- v3: New patch --- arch/arm/boot/dts/tegra124-jetson-tk1.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/tegra124-jetson-tk1.dts b/arch/arm/boot/dts/te

[PATCH v3 02/15] clk: tegra: Add library for the DFLL clock source (open-loop mode)

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen Add shared code to support the Tegra DFLL clocksource in open-loop mode. This root clocksource is present on the Tegra124 SoCs. The DFLL is the intended primary clock source for the fast CPU cluster. This code is very closely based on a patch by Paul Walmsley from December

[PATCH v3 08/15] clk: tegra: Add the DFLL as a possible parent of the cclk_g clock

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen The DFLL clocksource was missing from the list of possible parents for the fast CPU cluster. Add it to the list. Signed-off-by: Tuomas Tynkkynen --- drivers/clk/tegra/clk-tegra-super-gen4.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/cl

[PATCH v3 13/15] cpufreq: Add cpufreq driver for Tegra124

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen Add a new cpufreq driver for Tegra124. Instead of using the PLLX as the CPU clocksource, switch immediately to the DFLL. It allows the use of higher clock rates, and will automatically scale the CPU voltage as well. Besides the CPU clocksource switch, we let the cpufreq-cpu

[PATCH v3 11/15] cpufreq: tegra124: Add device tree bindings

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen The cpufreq driver for Tegra124 will be a different one than the old Tegra20 cpufreq driver (tegra-cpufreq), which does not use the device tree. Signed-off-by: Tuomas Tynkkynen --- v3: vdd-cpu-supply property added --- .../bindings/cpufreq/tegra124-cpufreq.txt |

[PATCH v3 07/15] clk: tegra: Save/restore CCLKG_BURST_POLICY on suspend

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen Save and restore this register since the LP1 restore assembly routines fiddle with it. Otherwise the CPU would keep running on PLLX after resume from suspend even when DFLL was the original clocksource. Signed-off-by: Tuomas Tynkkynen --- drivers/clk/tegra/clk-tegra124.c

[PATCH v3 14/15] ARM: tegra: Add entries for cpufreq on Tegra124

2014-08-18 Thread Tuomas Tynkkynen
From: Tuomas Tynkkynen The Tegra124 cpufreq driver relies on certain clocks being present in the /cpus/cpu@0 node. Signed-off-by: Tuomas Tynkkynen --- arch/arm/boot/dts/tegra124.dtsi | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra124.dtsi

[PATCH] arm: Do not overwrite __machine_arch_type

2014-08-18 Thread Peng Fan
If using DT_MACHINE_START when enabled CONFIG_OF, the nr of mdesc is ~0. The value of __machine_arch_type is passsed from bootloader using reigster r1, and assigned in head-common.S. Remove this line to avoid overwrite it. Signed-off-by: Peng Fan --- arch/arm/kernel/devtree.c | 3 --- 1 file cha

RE: AGENCY FOR SHIPPING AND CUSTOM BROKER

2014-08-18 Thread RAIN
Dear Sir, Good day! This is Rain Mao from Shenzhen Top Way International Forwarding Co.,Ltd in China. We interest & expect to establish the cooperation relationship with your esteem company. This is the first letter you recieve from me.Could you please help me to forward my contact to the p

Re: Static build of libtraceevent failing on ubuntu13 x86_64

2014-08-18 Thread Namhyung Kim
Hi Arnaldo, On Wed, 13 Aug 2014 19:54:38 -0300, Arnaldo Carvalho de Melo wrote: > Hi guys, > > Have you ever stumbled on this? > > It is the only target breaking when I do a test build of perf + > libtraceevent > on several distros/arches, the command is: > > $ make -C tools/perf buil

[PATCH] fs: Initialize mountpoint list head in new_mountpoint()

2014-08-18 Thread Murilo Opsfelder Araujo
The commit 89f7ca1af15bdfe7a6aed343032a84af2a69f736 makes next-20140818 to panic because mountpoint list head was not initialized. Initializing it with NULL fixes the problem. commit 89f7ca1af15bdfe7a6aed343032a84af2a69f736 Author: Eric W. Biederman Date: Sun Sep 22 19:37:01 2013 -0700

Re: [PATCH] mtd: nand: stm_nand_bch: add new driver

2014-08-18 Thread Brian Norris
On Fri, Aug 01, 2014 at 10:27:25AM +0100, Lee Jones wrote: > On Thu, 31 Jul 2014, Brian Norris wrote: > > On Thu, Jul 31, 2014 at 05:47:09PM +0100, Lee Jones wrote: > > > > > arch/arm/boot/dts/stih41x-b2020.dtsi | 40 + > > > > > > > > This will need refreshed and sent as a separat

[PATCH v2] ARM: dts: Add sdio0 and sdio1 to the rk3288

2014-08-18 Thread Addy Ke
This patch requires that land in order to compile. Signed-off-by: Addy Ke --- Changes in v2: - repost patch to match what's in Heiko's "wip/v3.18-next/dts" tree for the other dwmmc controllers - add "cd" and "int" line, suggested by Doug Anderson -

Re: i8k: Don't revert affinity in i8k_smm

2014-08-18 Thread Guenter Roeck
On Tue, Aug 19, 2014 at 09:19:55AM +1000, Con Kolivas wrote: > As a followup to this discussion: > > On Tue, 15 Jul 2014 08:01:13 PM Sam Asadi wrote: > > Commit f36fdb9f0266 (i8k: Force SMM to run on CPU 0) adds support > > for multi-core CPUs to the driver. Unfortunately, that causes it > > to fa

Re: [RFC][PATCH 1/2] PM: Print pending wakeup IRQ preventing suspend to dmesg

2014-08-18 Thread Todd Poynor
On Fri, Aug 1, 2014 at 9:30 AM, Amit Pundir wrote: > From: Todd Poynor > > Currently when a pending wakeup irq stops suspend, it can be difficult > to determine why suspend was prevented and which IRQ was actually > responsible. > > In order to help debug these situations, this patch prints the I

Re: [PATCH 1/5] KVM: vmx: fix ept reserved bits for 1-GByte page

2014-08-18 Thread Wanpeng Li
Hi Paolo, On Mon, Aug 18, 2014 at 12:18:59PM +0200, Paolo Bonzini wrote: >Il 18/08/2014 11:50, Wanpeng Li ha scritto: >> EPT misconfig handler in kvm will check which reason lead to EPT >> misconfiguration after vmexit. One of the reasons is that an EPT >> paging-structure entry is configured wit

Re: [RFC][PATCH 2/2] PM: Suspend: Print wall time at suspend entry and exit

2014-08-18 Thread Todd Poynor
> Existing printk timestamps in a dmesg only log suspend activities > (e.g. filesystem syncs, freezing/unfreezing tasks etc) while the > system has already started to enter/exit the suspend state. Sometimes > it is handy to have suspend entry/exit overhead information while > debugging suspend issu

Re: [PATCH] earlyprintk: re-enable earlyprintk calling early_param

2014-08-18 Thread Keun-O Park
FYI only if you missed my previous 2 replies which didn't reach the mailing list. Thanks. On Mon, Aug 18, 2014 at 12:13 PM, Sahara wrote: > > 2014년 08월 16일 03:34, Rusty Russell 쓴 글: > >> kpark3...@gmail.com writes: >>> >>> From: Sahara >>> >>> Although there are many obs_kernel_param and its n

Re: [PATCH] mtd: nand: stm_nand_bch: add new driver

2014-08-18 Thread Brian Norris
On Wed, Aug 06, 2014 at 02:32:18AM +0530, pe...@pek-sem.com wrote: > On Tuesday 05 August 2014 07:53 PM, Lee Jones wrote: > >On Thu, 03 Jul 2014, Gupta, Pekon wrote: > + /* Load last page of block */ > + offs = (loff_t)block << chip->phys_erase_shift; > + offs += mtd->erasesize - mtd->w

Re: [PATCH v15 7/7] mm: Don't split THP page when syscall is called

2014-08-18 Thread Rik van Riel
On 08/17/2014 08:17 PM, Minchan Kim wrote: We don't need to split THP page when MADV_FREE syscall is called. It could be done when VM decide really frees it so we could avoid unnecessary THP split. Cc: Andrea Arcangeli Acked-by: Kirill A. Shutemov Signed-off-by: Minchan Kim Acked-by: Rik va

Re: [PATCH v15 2/7] x86: add pmd_[dirty|mkclean] for THP

2014-08-18 Thread Rik van Riel
On 08/17/2014 08:17 PM, Minchan Kim wrote: MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Cc: Thomas Gleixner Cc: Ingo Molnar Cc:

Re: [PATCH 7/8] mtd: nand: stm_nand_bch: add support for ST's BCH NAND controller

2014-08-18 Thread Brian Norris
On Mon, Aug 18, 2014 at 11:31:58AM +0100, Lee Jones wrote: ... > +/* Derive Hamming-FLEX timing register values from 'nand_sdr_timings' data */ > +static void flex_calc_timing_registers(const struct nand_sdr_timings *spec, > +int tCLK, int relax, > +

Re: [alsa-devel] [PATCH v3 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data

2014-08-18 Thread Inha Song
Hi, Charles. Thanks for your review. On Mon, 18 Aug 2014 15:29:45 +0100 Charles Keepax wrote: > On Mon, Aug 18, 2014 at 08:00:09PM +0900, Inha Song wrote: > > This patch update DT binding to support INn_MODE init_data. Each > > input signal path can be configurated either as a Analogue or > > Di

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-18 Thread Zhang Zhen
On 2014/8/19 5:48, David Rientjes wrote: > On Wed, 13 Aug 2014, Zhang Zhen wrote: > >> Currently memory-hotplug has two limits: >> 1. If the memory block is in ZONE_NORMAL, you can change it to >> ZONE_MOVABLE, but this memory block must be adjacent to ZONE_MOVABLE. >> 2. If the memory block is in

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-18 Thread Wei Yang
On Mon, Aug 18, 2014 at 03:25:50PM +0100, Catalin Marinas wrote: >... >> Well, it will become necessary as old code gets dismantled and converted >> towards >> this patchset. To give you an example that I'm familiar with, for arch/arm >> the >> host bridge drivers have moved into drivers/pci/host

Re: [PATCH 2/5] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-18 Thread Chai Wen
On 08/19/2014 04:38 AM, Don Zickus wrote: > On Mon, Aug 18, 2014 at 09:02:00PM +0200, Ingo Molnar wrote: >> >> * Don Zickus wrote: >> >> So I agree with the motivation of this improvement, but >> is this implementation namespace-safe? > > What namespace are you worried about coll

Re: [PATCH v2 0/8] mtd: nand: Support for new DT NAND driver

2014-08-18 Thread Brian Norris
On Mon, Aug 18, 2014 at 11:31:51AM +0100, Lee Jones wrote: > I believe all of your queries have either been answered or addressed > and I am hoping this will be the last submission. :) Sorry, no. I can't review code that doesn't compile, so I'm only now getting to some of the review. > This is v2

  1   2   3   4   5   6   7   8   >