Re: [PATCH 44/49] mm: numa: Add THP migration for the NUMA working set scanning fault case.

2013-01-07 Thread Mel Gorman
On Sat, Jan 05, 2013 at 04:42:29PM +0800, Wanpeng Li wrote: > >+int numamigrate_isolate_page(pg_data_t *pgdat, struct page *page) > >+{ > >+int ret = 0; > > > > /* Avoid migrating to a node that is nearly full */ > > if (migrate_balanced_pgdat(pgdat, 1)) { > > Hi Mel Gorman, > > This

[PATCH] asm-generic/io.h: convert readX defines to functions

2013-01-07 Thread Heiko Carstens
>From 75cde984766e7a76d194a11e513a039b5d0a6204 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Mon, 7 Jan 2013 14:17:23 +0100 Subject: [PATCH] asm-generic/io.h: convert readX defines to functions E.g. readl is defined like this #define readl(addr) __le32_to_cpu(__raw_readl(addr)) If there

[PATCH] hpsa: update version number to 3.2.0

2013-01-07 Thread Stephen M. Cameron
From: Stephen M. Cameron Signed-off-by: Stephen M. Cameron --- drivers/scsi/hpsa.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 4217e49..469ba9b 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -54,7

[PATCH] cciss: use lun reset not target reset

2013-01-07 Thread Stephen M. Cameron
From: Stephen M. Cameron In the scsi part of the driver (for tape drives and medium changers) the device reset error handler attempts to use a target reset rather than a lun reset. If there is some shared tape drive library, this could be potentially disruptive to other hosts trying to use the

Re: [PATCH 29/49] mm: numa: Add pte updates, hinting and migration stats

2013-01-07 Thread Mel Gorman
On Fri, Jan 04, 2013 at 05:42:24AM -0600, Simon Jeons wrote: > On Fri, 2012-12-07 at 10:23 +, Mel Gorman wrote: > > It is tricky to quantify the basic cost of automatic NUMA placement in a > > meaningful manner. This patch adds some vmstats that can be used as part > > of a basic costing

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-07 Thread Konrad Rzeszutek Wilk
On Fri, Jan 04, 2013 at 02:10:25PM -0800, Yinghai Lu wrote: > On Fri, Jan 4, 2013 at 1:02 PM, Shuah Khan wrote: > > Pani'cing the system doesn't sound like a good option to me in this > > case. This change to disable swiotlb is made for kdump. However, with > > this change several system fail to

Re: [PATCH 0/8] DMA: COH901318 in-factoring of platform

2013-01-07 Thread Vinod Koul
On Sun, Jan 06, 2013 at 11:43:05PM +0100, Linus Walleij wrote: > From: Linus Walleij > > This patch series moves the big, complex platform data for the U300 > DMA controller COH901318 down into the driver, rids the > header from the global scope, creates a proper > platform data header for the

Re: Regression: drm/radeon: brightness control hard system lockup

2013-01-07 Thread Alex Deucher
On Sun, Jan 6, 2013 at 7:59 AM, Eldad Zack wrote: > > Hi Alex, > > Commit 0ecebb9e0d14e9948e0b1529883a776758117d6f "drm/radeon: switch to a > finer grained reset for evergreen" introduced a hard system lockup to my > setup. I found it after bisecting, and confirmed it by reverting it on > the

Re: [RFC]x86: clearing access bit don't flush tlb

2013-01-07 Thread Rik van Riel
On 01/07/2013 03:12 AM, Shaohua Li wrote: We use access bit to age a page at page reclaim. When clearing pte access bit, we could skip tlb flush for the virtual address. The side effect is if the pte is in tlb and pte access bit is unset, when cpu access the page again, cpu will not set pte's

Re: [PATCH 22/49] mm: mempolicy: Add MPOL_MF_LAZY

2013-01-07 Thread Mel Gorman
On Fri, Jan 04, 2013 at 11:18:17PM -0600, Simon Jeons wrote: > > +static int > > +change_prot_numa_range(struct mm_struct *mm, struct vm_area_struct *vma, > > + unsigned long address) > > +{ > > + pgd_t *pgd; > > + pud_t *pud; > > + pmd_t *pmd; > > + pte_t *pte, *_pte; >

Re: [3.8-rc2] stuck at reading CIFS mounted directory

2013-01-07 Thread Jeff Layton
On Mon, 07 Jan 2013 15:10:05 +0530 Suresh Jayaraman wrote: > (Cc linux-c...@vger.kernel.org) > > On 01/04/2013 06:27 AM, Jongman Heo wrote: > > Hi, all, > > > > In 3.8-rc2, access to CIFS-mounted directory (df, ls, or similar) got stuck > > with following message. > > > > It's mounted

Re: [PATCH] mm: thp: Acquire the anon_vma rwsem for lock during split

2013-01-07 Thread Mel Gorman
On Sat, Jan 05, 2013 at 06:24:47AM -0600, Simon Jeons wrote: > On Fri, 2013-01-04 at 17:32 -0800, Michel Lespinasse wrote: > > On Fri, Jan 4, 2013 at 6:08 AM, Mel Gorman wrote: > > > Despite the reason for these commits, NUMA balancing is not the direct > > > source of the problem.

Re: [PATCH] drivers/xen: avoid out-of-range write in xen_add_device

2013-01-07 Thread Konrad Rzeszutek Wilk
On Sat, Jan 05, 2013 at 02:18:46PM -0500, Nickolai Zeldovich wrote: > xen_add_device() in drivers/xen/pci.c allocates a struct > physdev_pci_device_add on the stack and then writes to optarr[0]. > The previous declaration of struct physdev_pci_device_add contained > a zero-length optarr[] array,

Re: [PATCH] mm: thp: Acquire the anon_vma rwsem for lock during split

2013-01-07 Thread Mel Gorman
On Fri, Jan 04, 2013 at 05:32:17PM -0800, Michel Lespinasse wrote: > On Fri, Jan 4, 2013 at 6:08 AM, Mel Gorman wrote: > > Despite the reason for these commits, NUMA balancing is not the direct > > source of the problem. split_huge_page() expected the anon_vma lock to be > > exclusive to

Re: [ 104/173] rt2x00: Dont let mac80211 send a BAR when an AMPDU subframe fails

2013-01-07 Thread Andreas Hartmann
Ben Hutchings wrote: > On Mon, 2013-01-07 at 09:10 +0100, Stanislaw Gruszka wrote: >> On Mon, Jan 07, 2013 at 09:05:32AM +0100, Stanislaw Gruszka wrote: To be clear, I have all of these in the queue: be03d4a45c09 rt2x00: Don't let mac80211 send a BAR when an AMPDU subframe

Re: [PATCH V3 2/2] vhost: handle polling errors

2013-01-07 Thread Jason Wang
On 01/07/2013 10:55 PM, Michael S. Tsirkin wrote: > On Mon, Jan 07, 2013 at 12:38:17PM +0800, Jason Wang wrote: >> On 01/06/2013 09:22 PM, Michael S. Tsirkin wrote: >>> On Sun, Jan 06, 2013 at 03:18:38PM +0800, Jason Wang wrote: Polling errors were ignored by vhost/vhost_net, this may lead to

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2013-01-07 Thread Tejun Heo
Hello, Viresh. On Mon, Jan 07, 2013 at 03:28:33PM +0530, Viresh Kumar wrote: > Firstly the root cause of this patchset. > > Myself and some others in Linaro are working on ARM future cores: > big.LITTLE systems. > Here we have few very powerful, high power consuming cores (big, > currently

next 20130107 hard lockup

2013-01-07 Thread Jiri Slaby
Hi, after a couple of minutes, my box locks up hard. It is a regression against 20130102. I have no clue what is going on yet. Once, it died while I was doing nothing, once after I opened a file in vim. I will try to collect more info... lspci for the time being at least: 00:00.0 Host bridge:

[GIT PULL] arch/microblaze fixes for 3.8-rc3

2013-01-07 Thread Michal Simek
Hi Linus, this is fixed pull request (origin one was sent some days ago). I have fixed defconfigs as you suggested. In that meantime I have also found 3 other things which needs to be fixed which are also included (Highmem fixup and pci warnings reported by 0-day testing system). Thanks, Michal

Re: [PATCH] MODSIGN: Don't taint unless signature enforcing is enabled

2013-01-07 Thread Josh Boyer
On Mon, Jan 07, 2013 at 11:39:47AM +1030, Rusty Russell wrote: > Josh Boyer writes: > > With module signing enabled but not in enforcing mode, we don't consider > > unsigned modules to be an error. However, we only mark sig_ok as true if > > a signature verified. This causes the module to be

Re: [PATCH v2 00/16] various fixes and updates for ste_dma40

2013-01-07 Thread Vinod Koul
On Mon, Jan 07, 2013 at 12:21:42PM +0100, Fabio Baltieri wrote: > Hi all, > > this series contains many fixes and updates for the ste_dma40 driver. > > The first patches of the series were originally sent weeks ago but did not > receive any feedback, so I'm also resending those, but I've rebased

Re: [PATCH v2 08/11] clk: tegra: add clock support for tegra30

2013-01-07 Thread Peter De Schrijver
On Thu, Dec 27, 2012 at 03:47:21PM +0100, Prashant Gaikwad wrote: > Add tegra30 clock support based on common clock framework. > > Signed-off-by: Prashant Gaikwad > --- > drivers/clk/tegra/Makefile |1 + > drivers/clk/tegra/clk-tegra30.c | 1968 >

Re: [PATCH V3 2/2] vhost: handle polling errors

2013-01-07 Thread Michael S. Tsirkin
On Mon, Jan 07, 2013 at 12:38:17PM +0800, Jason Wang wrote: > On 01/06/2013 09:22 PM, Michael S. Tsirkin wrote: > > On Sun, Jan 06, 2013 at 03:18:38PM +0800, Jason Wang wrote: > >> Polling errors were ignored by vhost/vhost_net, this may lead to crash when > >> trying to remove vhost from

Re: [PATCH 7/8] zswap: add to mm/

2013-01-07 Thread Seth Jennings
On 01/04/2013 04:45 PM, Dan Magenheimer wrote: >> From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] >> Subject: Re: [PATCH 7/8] zswap: add to mm/ >> >> On 01/03/2013 04:33 PM, Dan Magenheimer wrote: From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] However, once the

Re: PEBS (in perf) stopped working from 3.6 -> 3.7

2013-01-07 Thread Steinar H. Gunderson
On Sun, Jan 06, 2013 at 08:48:36PM -0700, David Ahern wrote: >> Why would the two be different? > I will make a guess that is processor dependent. On an E5540 with > 3.4.11-1.fc16.x86_64, 3.6.10-2.fc16.x86_64, and 3.8 I get the same > failure message. > > But on a E5620, it works fine with 3.4

[PATCH] mm: thp: Acquire the anon_vma rwsem for write during split

2013-01-07 Thread Mel Gorman
Zhouping Liu reported the following against 3.8-rc1 when running a mmap testcase from LTP. [ 588.143072] mapcount 0 page_mapcount 3 [ 588.147471] [ cut here ] [ 588.152856] kernel BUG at mm/huge_memory.c:1798! [ 588.158125] invalid opcode: [#1] SMP [ 588.162882]

Re: [PATCH] block: delete super ancient PC-XT driver for 1980's hardware

2013-01-07 Thread Paul Gortmaker
On 13-01-06 11:30 PM, Robert Hancock wrote: > On 01/04/2013 07:27 PM, Paul Gortmaker wrote: >> This driver was for the 8 bit ISA cards that were installed in >> the PC-XT machines of 1980 vintage. They supported the dual >> ribbon cable MFM drives of 10-20MB capacity, and ran at a 3:1 >>

Re: [PATCH] mm: thp: Acquire the anon_vma rwsem for lock during split

2013-01-07 Thread Mel Gorman
On Sat, Jan 05, 2013 at 01:51:09PM +0800, Zhouping Liu wrote: > On 01/04/2013 10:08 PM, Mel Gorman wrote: > >Zhouping, please test this patch. > > Tested it, the issue is gone with following patch. > > Tested-by: Zhouping Liu > Super. Thanks very much for reporting and testing this quickly.

Re: HSI subsystem status

2013-01-07 Thread Linus Walleij
On Mon, Jan 7, 2013 at 8:38 AM, Linus Walleij wrote: > On Mon, Jan 7, 2013 at 12:11 AM, Linus Walleij > wrote: > >> Hi Carlos, >> >> what is the status on the HSI subsystem? We have based some patches for >> HSI master on top of the OMAP HSI master patches, but these never seem >> to reach the

Re: [RFC PATCH v1 25/31] ARC: [plat-arcfpga] Hooking up platform to ARC UART

2013-01-07 Thread Arnd Bergmann
On Monday 07 January 2013 19:34:35 Vineet Gupta wrote: > On Monday 07 January 2013 07:16 PM, Arnd Bergmann wrote: > >> static struct of_dev_auxdata arcuart_auxdata_lookup[] __initdata = { > >>OF_DEV_AUXDATA("snps,arc-uart", UART0_BASE, "arc-uart", arc_uart_info), > >>{} > >> }; > > It

Re: [PATCH] mm: thp: Acquire the anon_vma rwsem for lock during split

2013-01-07 Thread Mel Gorman
On Fri, Jan 04, 2013 at 01:28:09PM -0800, Hugh Dickins wrote: > I've added Alexander, Hillf and Alex to the Cc. > > On Fri, 4 Jan 2013, Mel Gorman wrote: > > Zhouping, please test this patch. > > > > Andrea and Hugh, any comments on whether this could be improved? > > Your patch itself looks

Re: [PATCH] jfs: avoid undefined behavior from left-shifting by 32 bits

2013-01-07 Thread Dave Kleikamp
On 01/05/2013 01:19 PM, Nickolai Zeldovich wrote: > Shifting a 32-bit int by 32 bits is undefined behavior in C, and > results in different behavior on different architectures (e.g., x86 > and PowerPC). diAlloc() in fs/jfs/jfs_imap.c computes a mask using > 0xu<<(32-bitno), which can

Re: Fix test relying in wrong behavior of is_printable

2013-01-07 Thread Jon Loeliger
> Err, > > I can rework and resubmit to remove the comment, but the test doesn't = > fail: > > > $ make check | grep 'MyBoardName.*-t s.*compatible' > > fdtget-runtest.sh MyBoardName MyBoardFamilyName -t s > > label01.dts.fdtget.test.dtb / compatible: PASS > > > > As of today's pull. My

Re: [PATCH v2 1/5] virtio: add functions for piecewise addition of buffers

2013-01-07 Thread Paolo Bonzini
Il 07/01/2013 01:02, Rusty Russell ha scritto: > Paolo Bonzini writes: >> Il 02/01/2013 06:03, Rusty Russell ha scritto: >>> Paolo Bonzini writes: The virtqueue_add_buf function has two limitations: 1) it requires the caller to provide all the buffers in a single call;

Re: [alsa-devel] [PATCH V2 2/2] ASoC: Davinci: machine: Add device tree binding

2013-01-07 Thread Mark Brown
On Mon, Jan 07, 2013 at 09:20:16AM +, Hebbar, Gururaja wrote: > I will be looking into this now. To speed up the things, do you have any > reference link/implementation which I can refer to? Any modern CODEC driver. > I looked at the OMAP implementation but they are following the same

Re: [PATCH 1/3] gpio: pca953x: make the register access by GPIO bank

2013-01-07 Thread Maxime Ripard
Hi Gregory, Le 06/01/2013 18:34, Gregory CLEMENT a écrit : > +static int pca953x_write_regs(struct pca953x_chip *chip, int reg, u8 *val) > { > int ret = 0; > > if (chip->gpio_chip.ngpio <= 8) > - ret = i2c_smbus_write_byte_data(chip->client, reg, val); > - else if

Re: linux-next: build failure after merge of the slave-dma tree

2013-01-07 Thread Vinod Koul
On Mon, Jan 07, 2013 at 11:26:37AM +1100, Stephen Rothwell wrote: > After merging the slave-dma tree, today's linux-next build (x86_64 > allmodconfig) failed like this: Hi Stephen, I rebased the tree last night and messed up at two places. Viresh helped to fix one. I have pushed the fixed tree

[PATCH 2/2] pinctrl/nomadik: make independent of

2013-01-07 Thread Linus Walleij
From: Linus Walleij Some leftovers in the driver were using NOMADIK_* macros to translate the irq numbers to offsets, while the first base IRQ was already being passed from platform data, and the function setting the disable mask could just as well use the irqdomain. Signed-off-by: Linus

[PATCH 1/2] pinctrl/nomadik: simplify GPIO probe

2013-01-07 Thread Linus Walleij
From: Linus Walleij Instead of jumping to a label later in the probe just return with an error code whenever probe() fails. Make sure to remove the gpiochip on irqdomain error now that we're at it. Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-nomadik.c | 52

Re: [ 104/173] rt2x00: Dont let mac80211 send a BAR when an AMPDU subframe fails

2013-01-07 Thread Ben Hutchings
On Mon, 2013-01-07 at 09:10 +0100, Stanislaw Gruszka wrote: > On Mon, Jan 07, 2013 at 09:05:32AM +0100, Stanislaw Gruszka wrote: > > > To be clear, I have all of these in the queue: > > > > > > be03d4a45c09 rt2x00: Don't let mac80211 send a BAR when an AMPDU subframe > > > fails > > >

Re: [PATCH 4/4 v3] net/smsc911x: Provide common clock functionality

2013-01-07 Thread Lee Jones
On Thu, 03 Jan 2013, Linus Walleij wrote: > On Thu, Jan 3, 2013 at 12:14 PM, Lee Jones wrote: > > > Some platforms provide clocks which require enabling before the > > SMSC911x chip will power on. This patch uses the new common clk > > framework to do just that. If no clock is provided, it will

Re: [PATCH] omap_vout: find_vma() needs ->mmap_sem held

2013-01-07 Thread Laurent Pinchart
On Sunday 16 December 2012 20:04:46 Al Viro wrote: > On Sun, Dec 16, 2012 at 09:01:10PM +0100, Paul Bolle wrote: > > > + vma = find_vma(mm, virtp); > > > > > > } else if (vma && (vma->vm_flags & VM_IO) && vma->vm_pgoff) { > > > > Shouldn't that line become > > > > if (vma &&

Re: [RFC PATCH v1 25/31] ARC: [plat-arcfpga] Hooking up platform to ARC UART

2013-01-07 Thread Vineet Gupta
On Monday 07 January 2013 07:16 PM, Arnd Bergmann wrote: > On Monday 07 January 2013, Vineet Gupta wrote: >> On Wednesday 07 November 2012 07:46 PM, Arnd Bergmann wrote: >>> On Wednesday 07 November 2012, Vineet Gupta wrote: >> (1) Although I don't need the container "fpga" I'm forced to - because

Re: [PATCH] omap_vout: find_vma() needs ->mmap_sem held

2013-01-07 Thread Laurent Pinchart
Hi Mauro, On Sunday 06 January 2013 11:02:25 Mauro Carvalho Chehab wrote: > Em Sat, 15 Dec 2012 20:38:29 + Al Viro escreveu: > > On Sat, Dec 15, 2012 at 08:12:37PM +, Al Viro wrote: > > > Walking rbtree while it's modified is a Bad Idea(tm); besides, > > > > > > the result of

[PATCH 2/2 v2] tracing: Fix sparse warning with is_signed_type() macro

2013-01-07 Thread Steven Rostedt
From: Steven Rostedt Sparse complains when is_signed_type() is used on a pointer. This macro is needed for the format output used for ftrace and perf, to know if a binary field is a signed type or not. The is_signed_type() macro is used against all fields that are recorded by events to automate

Re: [PATCH v4 05/18] perf: add minimal support for PERF_SAMPLE_WEIGHT

2013-01-07 Thread Stephane Eranian
Andi, I also think we should drop PERF_FORMAT_WEIGHT. You added it in your patch but there is no code to actually perform the read. Will remove it from your patch in my series. We can always add it later on. On Mon, Jan 7, 2013 at 2:27 PM, Jiri Olsa wrote: > On Mon, Jan 07, 2013 at 02:10:20PM

[PATCH 0/2 v2] [GIT PULL][3.8] tracing: fixes

2013-01-07 Thread Steven Rostedt
Ingo, This is the same as the last git pull I made (tip/perf/urgent) but without the last patch, as there's some minor fixes required for that patch. Thanks, -- Steve Please pull the latest tip/perf/urgent-2 tree, which can be found at:

[PATCH 1/2 v2] ftrace: Be first to run code modification on modules

2013-01-07 Thread Steven Rostedt
From: Steven Rostedt If some other kernel subsystem has a module notifier, and adds a kprobe to a ftrace mcount point (now that kprobes work on ftrace points), when the ftrace notifier runs it will fail and disable ftrace, as well as kprobes that are attached to ftrace points. Here's the error:

Re: [PATCH] omap_vout: find_vma() needs ->mmap_sem held

2013-01-07 Thread Laurent Pinchart
Hi Mauro, On Sunday 06 January 2013 11:02:25 Mauro Carvalho Chehab wrote: > Em Sat, 15 Dec 2012 20:38:29 + Al Viro escreveu: > > On Sat, Dec 15, 2012 at 08:12:37PM +, Al Viro wrote: > > > Walking rbtree while it's modified is a Bad Idea(tm); besides, > > > > > > the result of

Re: [PATCH 3/3] tracing: Verify target file before registering a uprobe event

2013-01-07 Thread Steven Rostedt
On Fri, 2013-01-04 at 13:30 +0900, Namhyung Kim wrote: > Hi, Steve. > > On Wed, 02 Jan 2013 17:50:38 -0500, Steven Rostedt wrote: > > From: Jovi Zhang > > > > Without this patch, we can register a uprobe event for a directory. > > Enabling such a uprobe event would fail anyway . > > > > Example:

[PATCH] jump_label: constify jump_label_text_reserved and friends

2013-01-07 Thread Sasha Levin
jump_label_text_reserved() doesn't modify the memory it works on, it just checks whether there are any jump labels there. Constify the parameters of it to prevent warnings when working with it. Reviewed-by: Jamie Iles Signed-off-by: Sasha Levin --- include/linux/jump_label.h | 4 ++--

Re: [PATCH] mm: compaction: fix echo 1 > compact_memory return error issue

2013-01-07 Thread Mel Gorman
On Sun, Jan 06, 2013 at 03:44:33PM +0800, Jason Liu wrote: > when run the folloing command under shell, it will return error > sh/$ echo 1 > /proc/sys/vm/compact_memory > sh/$ sh: write error: Bad address > > After strace, I found the following log: > ... > write(1, "1\n", 2) = 3 >

Re: [PATCH 2/2] tracing: Use sched_clock_cpu for trace_clock_global

2013-01-07 Thread Steven Rostedt
On Thu, 2012-12-27 at 18:52 +0900, Namhyung Kim wrote: > On Thu, 27 Dec 2012 11:49:45 +0900, Namhyung Kim wrote: > > From: Namhyung Kim > > > > For systems have unstable sched_clock, all cpu_clock() does is enable/ > > disable local irq during call to sched_clock(). And for stable systems > >

Re: [PATCH] dma: tegra: implement flags parameters for cyclic transfer

2013-01-07 Thread Laxman Dewangan
On Saturday 22 December 2012 02:23 AM, Stephen Warren wrote: On 12/20/2012 09:23 PM, Laxman Dewangan wrote: On Thursday 20 December 2012 10:16 PM, Stephen Warren wrote: On 12/19/2012 11:11 PM, Laxman Dewangan wrote: On Wednesday 19 December 2012 10:32 PM, Stephen Warren wrote: On 12/19/2012

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-07 Thread Ian Campbell
On Mon, 2013-01-07 at 12:34 +, Daniel Kiper wrote: > I think that new kexec hypercall function should mimics kexec syscall. We want to have an interface can be used by non-Linux domains (both dom0 and domU) as well though, so please bear this in mind. Historically we've not always been good

Re: [PATCH RESEND v1 00/16] vfs: hot data tracking

2013-01-07 Thread Zhi Yong Wu
hi, any comments? Some graphs are generated based on the following benchmark data. 1. fs_mark test https://github.com/wuzhy/perf_report/commit/8dbc7a00d280d7d7e625e336aac57391fa3e422c 2. ffsb test 1.) large_file_create

Re: [RFC PATCH v1 25/31] ARC: [plat-arcfpga] Hooking up platform to ARC UART

2013-01-07 Thread Arnd Bergmann
On Monday 07 January 2013, Vineet Gupta wrote: > On Wednesday 07 November 2012 07:46 PM, Arnd Bergmann wrote: > > On Wednesday 07 November 2012, Vineet Gupta wrote: > > (1) Although I don't need the container "fpga" I'm forced to - because > of_platform_populate( ) -> of_match_node( ) expects the

Re: [PATCH 2/2] arm: make return_address available for ARM_UNWIND

2013-01-07 Thread Steven Rostedt
On Fri, 2013-01-04 at 17:45 +0900, Keun-O Park wrote: > With "CFLAGS_REMOVE_unwind.o = -pg" and with CONFIG_PROVE_LOCKING > turned on, I confirmed that > there's no trace output like Steve mentioned. > However, if I turn off CONFIG_PROVE_LOCKING, "irqsoff" and > "preemptirqsoff" ftracer prints

Re: [PATCH 01/17] ARM: shmobile: fix memory size for kota2_defconfig

2013-01-07 Thread Arnd Bergmann
On Monday 07 January 2013, Simon Horman wrote: > I have my kota2 board up and running now and I believe that > the correct value is 0x1e00. I will apply a patch to my > defconfigs branch accordingly. Ok, thanks! Should we mark that patch for stable backports? Arnd -- To unsubscribe

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2013-01-07 Thread Steven Rostedt
On Mon, 2013-01-07 at 15:28 +0530, Viresh Kumar wrote: > Hi Tejun, > > On 4 January 2013 20:39, Tejun Heo wrote: > > I don't know either. Changing behavior subtly like this is hard. I > > usually try to spot some problem cases and try to identify patterns > > there. Once you identify a few of

Re: [PATCH v4 05/18] perf: add minimal support for PERF_SAMPLE_WEIGHT

2013-01-07 Thread Jiri Olsa
On Mon, Jan 07, 2013 at 02:10:20PM +0100, Stephane Eranian wrote: > On Wed, Jan 2, 2013 at 3:07 PM, Jiri Olsa wrote: > > On Thu, Dec 20, 2012 at 04:41:35PM +0100, Stephane Eranian wrote: > >> Ensure we grab the weight from raw sample struct > >> and that we can dump it via perf report -D. > >> >

Re: [PATCH] [media] coda: Fix build due to iram.h rename

2013-01-07 Thread Uwe Kleine-König
Hello Fabio, On Mon, Jan 07, 2013 at 08:16:02AM -0200, Fabio Estevam wrote: > Hi Sascha, > > On Mon, Jan 7, 2013 at 8:03 AM, Sascha Hauer wrote: > > commit c045e3f13 (ARM: imx: include iram.h rather than mach/iram.h) changed > > the > > location of iram.h, which causes the following build

Re: linux-3.7.1: OOPS in page_lock_anon_vma

2013-01-07 Thread Martin Mokrejs
Hi Hilf, thank you for your answer on this albeit I am not sure I understood your point well. Hillf Danton wrote: > Hello Martin > > On Mon, Jan 7, 2013 at 6:59 AM, Martin Mokrejs > wrote: >> time to time. With ondemand governor I had cores in C7 for 50-70% of the >> time, that was >> a

Re: [RFC PATCH v1 25/31] ARC: [plat-arcfpga] Hooking up platform to ARC UART

2013-01-07 Thread Vineet Gupta
On Wednesday 07 November 2012 07:46 PM, Arnd Bergmann wrote: > On Wednesday 07 November 2012, Vineet Gupta wrote: >> +static struct platform_device arc_uart##n##_dev = {\ >> + .name = "arc-uart", \ >> + .id = n,\

Re: [PATCH v4 05/18] perf: add minimal support for PERF_SAMPLE_WEIGHT

2013-01-07 Thread Stephane Eranian
On Wed, Jan 2, 2013 at 3:07 PM, Jiri Olsa wrote: > On Thu, Dec 20, 2012 at 04:41:35PM +0100, Stephane Eranian wrote: >> Ensure we grab the weight from raw sample struct >> and that we can dump it via perf report -D. >> >> Signed-off-by: Stephane Eranian >> --- >> tools/perf/util/event.h |

Re: [PATCH v4 14/18] perf tools: add new mem command for memory access profiling

2013-01-07 Thread Jiri Olsa
On Mon, Jan 07, 2013 at 02:04:58PM +0100, Stephane Eranian wrote: > On Wed, Jan 2, 2013 at 3:16 PM, Jiri Olsa wrote: > > On Thu, Dec 20, 2012 at 04:41:44PM +0100, Stephane Eranian wrote: > >> This new command is a wrapper on top of perf record and > >> perf report to make it easier to configure

Re: [ANNOUNCE] 3.7-nohz1

2013-01-07 Thread Paul E. McKenney
On Sat, Jan 05, 2013 at 12:42:53AM +0100, Frederic Weisbecker wrote: > 2012/12/30 Paul E. McKenney : > > On Mon, Dec 24, 2012 at 12:43:25AM +0100, Frederic Weisbecker wrote: > >> 2012/12/21 Steven Rostedt : > >> > On Thu, 2012-12-20 at 19:32 +0100, Frederic Weisbecker wrote: > >> >> Let's imagine

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-07 Thread Jan Beulich
>>> On 07.01.13 at 13:52, Daniel Kiper wrote: > On Mon, Jan 07, 2013 at 09:48:20AM +, Jan Beulich wrote: >> >>> On 04.01.13 at 18:25, Daniel Kiper wrote: >> > Right, so where is virtual mapping of control page established? >> > I could not find relevant code in SLES kernel which does that.

Re: [PATCH v4 14/18] perf tools: add new mem command for memory access profiling

2013-01-07 Thread Stephane Eranian
On Wed, Jan 2, 2013 at 3:16 PM, Jiri Olsa wrote: > On Thu, Dec 20, 2012 at 04:41:44PM +0100, Stephane Eranian wrote: >> This new command is a wrapper on top of perf record and >> perf report to make it easier to configure for memory >> access profiling. >> >> To record loads: >> $ perf mem -t

Re: [PATCH v4] lib: cpu_rmap: avoid flushing all workqueues

2013-01-07 Thread Amir Vadai
On 02/01/2013 23:52, David Decotigny wrote: In some cases, free_irq_cpu_rmap() is called while holding a lock (eg. rtnl). This can lead to deadlocks, because it invokes flush_scheduled_work() which ends up waiting for whole system workqueue to flush, but some pending works might try to acquire

Re: [PATCH v4] lib: cpu_rmap: avoid flushing all workqueues

2013-01-07 Thread Amir Vadai
On 02/01/2013 23:52, David Decotigny wrote: In some cases, free_irq_cpu_rmap() is called while holding a lock (eg. rtnl). This can lead to deadlocks, because it invokes flush_scheduled_work() which ends up waiting for whole system workqueue to flush, but some pending works might try to acquire

dw_dmac patches

2013-01-07 Thread Andy Shevchenko
Hi, Vinod. I noticed you missed the 3.8 merge window and I can't see any of my recent patches [1] in your next branch. So, what is your plan regarding to them? [1] pick 9f2b870 dw_dmac: call .probe after we have a device in place pick 5bcd7fe dw_dmac: absence of pdata isn't critical when autocfg

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-07 Thread Daniel Kiper
On Mon, Jan 07, 2013 at 09:48:20AM +, Jan Beulich wrote: > >>> On 04.01.13 at 18:25, Daniel Kiper wrote: > > Right, so where is virtual mapping of control page established? > > I could not find relevant code in SLES kernel which does that. > > In the hypervisor

Re: [PATCH v7u1 03/31] x86, realmode: set real_mode permissions early

2013-01-07 Thread Borislav Petkov
On Sat, Jan 05, 2013 at 02:25:46PM +0100, Borislav Petkov wrote: > Or do you mean that the function naming is wrong? WTF? Ok, I think I can guess what you mean: that's setup_real_mode which allocates the real_mode_blob memory. Right? -- Regards/Gruss, Boris. Sent from a fat crate under my

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-07 Thread Daniel Kiper
On Fri, Jan 04, 2013 at 02:11:46PM -0500, Konrad Rzeszutek Wilk wrote: > On Fri, Jan 04, 2013 at 06:07:51PM +0100, Daniel Kiper wrote: > > On Fri, Jan 04, 2013 at 02:41:17PM +, Jan Beulich wrote: > > > >>> On 04.01.13 at 15:22, Daniel Kiper wrote: > > > > On Wed, Jan 02, 2013 at 11:26:43AM

Re: [PATCH v4 08/18] perf/x86: add memory profiling via PEBS Load Latency

2013-01-07 Thread Stephane Eranian
On Mon, Jan 7, 2013 at 11:11 AM, Jiri Olsa wrote: > On Sun, Jan 06, 2013 at 09:37:25PM +0100, Stephane Eranian wrote: >> On Sat, Jan 5, 2013 at 7:43 PM, Jiri Olsa wrote: >> > On Thu, Dec 20, 2012 at 04:41:38PM +0100, Stephane Eranian wrote: >> >> This patch adds support for memory profiling

Re: linux-3.7.1: OOPS in page_lock_anon_vma

2013-01-07 Thread Hillf Danton
Hello Martin On Mon, Jan 7, 2013 at 6:59 AM, Martin Mokrejs wrote: > time to time. With ondemand governor I had cores in C7 for 50-70% of the > time, that was > a bit better with performance governor but having the two hyperthreaded cores > disabled > reduced the context switches by half,

Re: [PATCH v4 1/2] mmc: core: Add support for idle time BKOPS

2013-01-07 Thread Ulf Hansson
Hi Maya, On 24 December 2012 14:51, Maya Erez wrote: > Devices have various maintenance operations need to perform internally. > In order to reduce latencies during time critical operations like read > and write, it is better to execute maintenance operations in other > times - when the host is

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-07 Thread Mel Gorman
On Sun, Jan 06, 2013 at 12:07:00PM +, Eric Wong wrote: > Mel Gorman wrote: > > Using a 3.7.1 or 3.8-rc2 kernel, can you reproduce the problem and then > > answer the following questions please? > > This is on my main machine running 3.8-rc2 > > > 1. What are the contents of /proc/vmstat at

Re: oops in copy_page_rep()

2013-01-07 Thread Hillf Danton
Hello Hugh On Mon, Jan 7, 2013 at 3:06 AM, Hugh Dickins wrote: > I don't entirely like your patch (or the original code): shouldn't > there be a wait_split_huge_page(), rather than hammering back with > repeated faults until the split has completed? > I take another try with waiting added, take

Re: [PATCH v2 01/11] clk: tegra: Add tegra specific clocks

2013-01-07 Thread Peter De Schrijver
On Thu, Dec 27, 2012 at 03:47:14PM +0100, Prashant Gaikwad wrote: > Add tegra specific clocks, pll, pll_out, peripheral, > frac_divider, super. > ... > diff --git a/drivers/clk/tegra/clk-pll-out.c b/drivers/clk/tegra/clk-pll-out.c > new file mode 100644 > index 000..60a117b > --- /dev/null

Re: [PATCH 1/2] ARM: exynos5: Add gate clocks for HS-I2C

2013-01-07 Thread Naveen Krishna Ch
On 28 December 2012 17:10, Naveen Krishna Chatradhi wrote: > Adds clock gating bits for High Speed I2C channels 0, 1, 2 and 3. > > Signed-off-by: Naveen Krishna Chatradhi > --- > arch/arm/mach-exynos/clock-exynos5.c | 24 > 1 file changed, 24 insertions(+) > > diff

Re: [PATCH v2 1/4] kprobes/powerpc: Do not disable External interrupts during single step

2013-01-07 Thread Sebastian Andrzej Siewior
On 01/04/2013 05:42 AM, Benjamin Herrenschmidt wrote: On Tue, 2012-12-11 at 11:18 +0530, Suzuki K. Poulose wrote: On 12/03/2012 08:37 PM, Suzuki K. Poulose wrote: From: Suzuki K. Poulose External/Decrement exceptions have lower priority than the Debug Exception. So, we don't have to disable

RE: [PATCH] da8xx: Allow use by am33xx based devices

2013-01-07 Thread Mohammed, Afzal
Hi, On Wed, Dec 12, 2012 at 13:30:56, Hiremath, Vaibhav wrote: > On Wed, Dec 12, 2012 at 12:50:28, Manjunathappa, Prakash wrote: > > Agreed, should not result in build error. But is it ok to show this option > > on the platforms which do not have this IP? > > > > You can choose to put machine

Re: [PATCH 1/2] i2c-s3c2410: Leave the bus disabled unless it is in use

2013-01-07 Thread Naveen Krishna Ch
On 29 November 2012 20:14, Kyungmin Park wrote: > Acked-by: Kyungmin Park I don't see this patch landed any where in linux-i2c tree, Though it was acked. Was it missed or should i be doing something for this to be merged ?? > > On Thu, Nov 29, 2012 at 2:05 PM, Naveen Krishna Chatradhi >

Re: CoreSight framework and drivers

2013-01-07 Thread Will Deacon
On Thu, Jan 03, 2013 at 06:06:43PM +, Pratik Patel wrote: > On Sun, Dec 23, 2012 at 11:32:39AM +, Will Deacon wrote: > > On Fri, Dec 21, 2012 at 10:18:28PM +, Pratik Patel wrote: > > > What user interface do you plan to provide for the CTI? Maybe > > > something consistent with other

[PATCH] drivers/media/platform/soc_camera/pxa_camera.c: use devm_ functions

2013-01-07 Thread Julia Lawall
From: Julia Lawall This patch uses various devm_ functions for data that is allocated in the probe function of a platform driver and is only freed in the remove function. This also fixes a checkpatch warning, removing a space before a \n in a string. Signed-off-by: Julia Lawall --- Not

Re: [PATCH v2 43/44] tty/metag_da: Add metag DA TTY driver

2013-01-07 Thread Alan Cox
> Yes. The case I tried was a large write (strace cat /etc/somefile > > /dev/ttyDA2) and strace showed a single large write, but it got to the > driver in chunks of a dozen or so characters. Is that expected to happen? Yes it is - the tty mid layer code could do better on this but it's never been

Re: [PATCH 1/2] drivers/media/platform/soc_camera/pxa_camera.c: reposition free_irq to avoid access to invalid data

2013-01-07 Thread Guennadi Liakhovetski
On Mon, 7 Jan 2013, Julia Lawall wrote: > On Mon, 7 Jan 2013, Guennadi Liakhovetski wrote: > > > (adding Robert to CC) > > > > Hi Julia > > > > Thanks for the patch. > > > > On Mon, 7 Jan 2013, Julia Lawall wrote: > > > > > From: Julia Lawall > > > > > > The data referenced by an interrupt

[PATCH v2 repost] sched: cputime: avoid multiplication overflow (in common cases)

2013-01-07 Thread Stanislaw Gruszka
We scale stime, utime values based on rtime (sum_exec_runtime converted to jiffies). During scaling we multiple rtime * utime, what seems to be fine, since both values are converted to u64, but is not. Let assume HZ is 1000 - 1ms tick. Process consist of 64 threads, run for 1 day, threads utilize

Re: [PATCH v2 43/44] tty/metag_da: Add metag DA TTY driver

2013-01-07 Thread James Hogan
Hi Alan, On 04/01/13 17:00, Alan Cox wrote: >> Agreed and done. I didn't realise the TTY layer was so prone to >> providing lots of itty bitty fragments (even with a single 4k write from >> userland). The thing that really hurt was not the allocations but that >> each one was written out to the

[PATCH 15/16] dmaengine: set_dma40: ignore spurious interrupts

2013-01-07 Thread Fabio Baltieri
Some DMA channels may be used by other cores in the SoC. This patch modifies the dma interrupt handler to ignore interrupts from unknown channels. Cc: Rabin Vincent Acked-by: Linus Walleij Signed-off-by: Fabio Baltieri --- drivers/dma/ste_dma40.c | 15 --- 1 file changed, 12

[PATCH 16/16] dmaengine: set_dma40: balance clock in probe fail code

2013-01-07 Thread Fabio Baltieri
Clock code was changed to use clk_prepare_enable in: b707c65 dma/ste_dma40: Fixup clock usage during probe but clk_disable on probe fail path was not updated. This patch fix this by using clk_disable_unprepare in place of clk_disable. Acked-by: Ulf Hansson Signed-off-by: Fabio Baltieri ---

[PATCH 14/16] dmaengine: ste_dma40: add software lli support

2013-01-07 Thread Fabio Baltieri
This patch add support to manage LLI by SW for select phy channels. There is a HW issue in certain controllers due to which on certain occassions HW LLI cannot be used on some physical channels. To avoid the HW issue on a specific phy channel, the phy channel number can be added to the list of

[PATCH 12/16] dmaengine: ste_dma40: minor cosmetic fixes

2013-01-07 Thread Fabio Baltieri
This patch contains various non functional cosmetic fixes. Acked-by: Linus Walleij Signed-off-by: Fabio Baltieri --- drivers/dma/ste_dma40.c| 33 - drivers/dma/ste_dma40_ll.c | 2 +- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git

[PATCH 13/16] dmaengine: ste_dma40: minor code readability fixes

2013-01-07 Thread Fabio Baltieri
Use internal variables to the cycles to improve code readability, no functional changes. Acked-by: Linus Walleij Signed-off-by: Fabio Baltieri --- drivers/dma/ste_dma40.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/dma/ste_dma40.c

[PATCH 09/16] dmaengine: ste_dma40: support more than 128 event lines

2013-01-07 Thread Fabio Baltieri
From: Tong Liu U8540 DMA controller is different from u9540 we need define new registers and use them to support handling more than 128 event lines. Signed-off-by: Tong Liu Reviewed-by: Per Forlin Acked-by: Linus Walleij Signed-off-by: Fabio Baltieri --- drivers/dma/ste_dma40.c| 306

[PATCH 10/16] dmaengine: ste_dma40: add a done queue for completed descriptors

2013-01-07 Thread Fabio Baltieri
This is to keep the active queue for only those transfers which are actually active in the hardware. Descriptors will be moved to the done queue after they are completed in the hardware (interrupt handler) but before all the cleanup work has been completed (tasklet). Mostly based on a previous

[PATCH 11/16] dmaengine: ste_dma40: add missing kernel-doc entry

2013-01-07 Thread Fabio Baltieri
Acked-by: Linus Walleij Signed-off-by: Fabio Baltieri --- include/linux/platform_data/dma-ste-dma40.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/platform_data/dma-ste-dma40.h b/include/linux/platform_data/dma-ste-dma40.h index 833cb95..b99024b 100644 ---

[PATCH 07/16] dmaengine: ste_dma40: support fixed physical channel allocation

2013-01-07 Thread Fabio Baltieri
From: Gerald Baeza This patch makes existing use_fixed_channel field (of stedma40_chan_cfg structure) applicable to physical channels. Signed-off-by: Gerald Baeza Tested-by: Yannick Fertre Reviewed-by: Per Forlin Acked-by: Linus Walleij Signed-off-by: Fabio Baltieri ---

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