[PATCH 14/27] mm: Do not flush TLB during protection change if !pte_present !migration_entry

2013-08-08 Thread Mel Gorman
NUMA PTE scanning is expensive both in terms of the scanning itself and the TLB flush if there are any updates. Currently non-present PTEs are accounted for as an update and incurring a TLB flush where it is only necessary for anonymous migration entries. This patch addresses the problem and

[PATCH 02/27] sched, numa: Comment fixlets

2013-08-08 Thread Mel Gorman
From: Peter Zijlstra pet...@infradead.org Fix a 80 column violation and a PTE vs PMD reference. Signed-off-by: Peter Zijlstra pet...@infradead.org Signed-off-by: Mel Gorman mgor...@suse.de --- kernel/sched/fair.c | 8 mm/huge_memory.c| 2 +- 2 files changed, 5 insertions(+), 5

[PATCH 07/27] sched, numa: Continue PTE scanning even if migrate rate limited

2013-08-08 Thread Mel Gorman
From: Peter Zijlstra pet...@infradead.org Avoiding marking PTEs pte_numa because a particular NUMA node is migrate rate limited sees like a bad idea. Even if this node can't migrate anymore other nodes might and we want up-to-date information to do balance decisions. We already rate limit the

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Viresh Kumar
On 8 August 2013 19:28, Lucas Stach l.st...@pengutronix.de wrote: From what I learned those voltage levels are dependent on both the Speedo and the process ID of the specific Tegra processor. So you really get a two dimensional mapping table instead of a single OPP. Also you can not scale the

[PATCH 05/35] cpufreq: acpi-cpufreq: use cpufreq_table_validate_and_show()

2013-08-08 Thread Viresh Kumar
Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/acpi-cpufreq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH part2 3/4] acpi: Remove continue in macro INVALID_TABLE().

2013-08-08 Thread Joe Perches
On Thu, 2013-08-08 at 20:18 +0800, Tang Chen wrote: Hi Joe, Hello Tang. On 08/08/2013 01:27 PM, Joe Perches wrote: On Thu, 2013-08-08 at 13:03 +0800, Tang Chen wrote: Change it to the style like other macros: #define INVALID_TABLE(x, path, name)\

[PATCH 02/35] cpufreq: pxa: call cpufreq_frequency_table_get_attr()

2013-08-08 Thread Viresh Kumar
This exposes frequency table of driver to cpufreq core and is required for core to guess what the index for a target frequency is, when it calls cpufreq_frequency_table_target(). And so this driver needs to expose it. Cc: Eric Miao eric.y.m...@gmail.com Signed-off-by: Viresh Kumar

Re: [PATCH 7/7] btrfs: cleanup: removed unused 'btrfs_get_inode_ref_index'

2013-08-08 Thread David Sterba
On Thu, Aug 08, 2013 at 12:43:23AM +0300, Sergei Trofimovich wrote: From: Sergei Trofimovich sly...@gentoo.org Found by uselex.rb: btrfs_get_inode_ref_index: [R]: exported from: fs/btrfs/inode-item.o fs/btrfs/btrfs.o fs/btrfs/built-in.o Signed-off-by: Sergei Trofimovich

Re: [PATCH] ARM: at91/dt: split sama5d3 definition

2013-08-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:49 Wed 07 Aug , Boris BREZILLON wrote: This patch splits the sama5d3 SoCs definition: - a common base for all sama5d3 SoCs (sama5d3.dtsi) - several optional peripheral definitions which will be included by sama5d3 specific SoCs (sama5d3_'periph name'.dtsi) - sama5d3 specific SoC

Re: [PATCH 17/35] cpufreq: kirkwood: use cpufreq_table_validate_and_show()

2013-08-08 Thread Andrew Lunn
On Thu, Aug 08, 2013 at 07:18:19PM +0530, Viresh Kumar wrote: Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Cc: Andrew Lunn and...@lunn.ch Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

Re: [PATCH 21/35] cpufreq: omap: use cpufreq_table_validate_and_show()

2013-08-08 Thread Santosh Shilimkar
On Thursday 08 August 2013 09:48 AM, Viresh Kumar wrote: Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Cc: Santosh Shilimkar santosh.shilim...@ti.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Lucas Stach
Am Donnerstag, den 08.08.2013, 19:41 +0530 schrieb Viresh Kumar: On 8 August 2013 19:28, Lucas Stach l.st...@pengutronix.de wrote: From what I learned those voltage levels are dependent on both the Speedo and the process ID of the specific Tegra processor. So you really get a two

Re: [PATCH cgroup/for-3.12] cgroup: make css_for_each_descendant() and friends include the origin css in the iteration

2013-08-08 Thread Michal Hocko
Ohh, this one totally sliped through cracs. On Sun 04-08-13 19:07:03, Tejun Heo wrote: [...] From 0e84b0865ab8a87f1c1443e4777c20c7f14e13b6 Mon Sep 17 00:00:00 2001 From: Tejun Heo t...@kernel.org Date: Sun, 4 Aug 2013 19:01:23 -0400 Previously, all css descendant iterators didn't include

man-pages-3.53 is released

2013-08-08 Thread Michael Kerrisk (man-pages)
Gidday, I've released man-pages-3.53 - man pages for Linux. Tarball download: http://www.kernel.org/doc/man-pages/download.html Git repository: https://git.kernel.org/cgit/docs/man-pages/man-pages.git/ Online changelog: http://man7.org/linux/man-pages/changelog.html#release_3.53 A

Re: [PATCH] Revert slub: do not put a slab to cpu partial list when cpu_partial is 0

2013-08-08 Thread Pekka Enberg
On Thu, Aug 8, 2013 at 4:19 PM, Steven Rostedt rost...@goodmis.org wrote: This reverts commit 318df36e57c0ca9f2146660d41ff28e8650af423 [snip] Signed-off-by: Steven Rostedt rost...@goodmis.org Acked-by: Pekka Enberg penb...@kernel.org Linus, can you pick this up or do you want a pull request?

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Viresh Kumar
On 8 August 2013 19:52, Lucas Stach l.st...@pengutronix.de wrote: You can certainly define the mapping table in DT where a specialized Tegra cpufreq driver could read it in and then map frequency to voltage. But that's a runtime decision, as Speedo and process ID are fuse values and can not be

Re: [PATCH 2/2] perf kvm: Update documentation with live command

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 09:56:39PM -0400, David Ahern escreveu: Update perf-kvm documentation with new live subcommand. Add -p/--pid option for perf-kvm-stat-report as well. Minor nitpicks, that I'm fixing up, below. Applied. Signed-off-by: David Ahern dsah...@gmail.com Cc: Arnaldo Carvalho

Re: [PATCH 1/3] memcg: limit the number of thresholds per-memcg

2013-08-08 Thread Michal Hocko
On Thu 08-08-13 01:05:13, Kirill A. Shutemov wrote: On Wed, Aug 07, 2013 at 04:37:27PM +0200, Michal Hocko wrote: On Wed 07-08-13 09:58:18, Tejun Heo wrote: Hello, On Wed, Aug 07, 2013 at 03:46:54PM +0200, Michal Hocko wrote: OK, I have obviously misunderstood your concern

Re: [PATCH 1/2] perf kvm: option to print events that exceed a duration -v2

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 09:56:38PM -0400, David Ahern escreveu: This is useful to spot high latency blips. It is normal for HLT reasons to have long exit times, so strip those from the duration check. v2: changed threshold to duration per acme's request Thanks, applied. -- To unsubscribe

Re: [PATCH 1/2] KEYS: Implement a big key type that can save to tmpfs

2013-08-08 Thread David Howells
Nico Williams n...@cryptonector.com wrote: b) how to create tmpfs locations in which to store credentials (which can be unbounded in size, so storing them in the kernel is silly; Ummm... tmpfs stores them in the kernel too - though it can page them out to swap. I have altered my big-key

Re: [PATCH] idr: Use this_cpu_ptr() for percpu_ida

2013-08-08 Thread Christoph Lameter
On Wed, 7 Aug 2013, Kent Overstreet wrote: One thing that was bugging me - I was never able to figure out for sure if smp_processor_id() returns a number in the range [0, nr_cpu_ids), at least I couldn't find where it was documented - could you tell me if that's true? I always assumed that

Re: [PATCH 1/3] ptrace.2: place GETSIGINFO and SETSIGINFO near each other

2013-08-08 Thread Andrew Vagin
Hi Michael, On Thu, Jul 18, 2013 at 03:13:39AM +0200, Michael Kerrisk wrote: Thanks Andrey. Applied. You committed one of three patches. What do you think about other patches? ptrace.2: add description for PTRACE_PEEKSIGINFO ptrace.2: add description for PTRACE_{GET,SET}SIGMASK Thanks,

Re: [PATCH 4/4] fuse: drop dentry on failed revalidate

2013-08-08 Thread Miklos Szeredi
On Wed, Aug 7, 2013 at 6:31 PM, Anand Avati av...@redhat.com wrote: Thanks for attaching the thread. Was very educative! I still do not quite understand - will umount() still work when inode_permission()[-getattr()] on the ancestors fail (with ESTALE etc.)? Several cases: 1) mountpoint was

Re: [PATCH 01/19] perf: sample after exit loses thread correlation - v3

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 10:50:43PM -0400, David Ahern escreveu: Occassionally events (e.g., context-switch, sched tracepoints) are losing the conversion of sample data associated with a thread. For example: Humm, if we have a tool that traverses the list of threads in a machine it will not

Re: [PATCH 03/19] perf sched: Remove thread lookup in sample handler

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 10:50:45PM -0400, David Ahern escreveu: Not used in the function, so no sense in doing the lookup here. Thread look up will be done in the timehist command, and no sense in doing it twice. Thanks, applied. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 04/19] perf sched: Remove sched_process_exit tracepoint

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 10:50:46PM -0400, David Ahern escreveu: Event is not needed nor analyzed. Since perf-sched leverages perf-record to capture the sched data, we already capture task events like EXIT. Thanks, applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH v2 1/2] mm: make vmstat_update periodic run conditional

2013-08-08 Thread Christoph Lameter
On Thu, 8 Aug 2013, Gilad Ben-Yossef wrote: vmstat_update runs from the vmstat work queue item by the workqueue kernel thread. If this code is running, it means there are at least two schedulable tasks: 1. The workqueue kernel thread, because it is running. 2. At least one more task,

Re: [PATCH 05/19] perf sched: Remove sched_process_fork tracepoint

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 10:50:47PM -0400, David Ahern escreveu: The PERF_RECORD_FORK event is already collected as part of the use of cmd_record and those events are analyzed as part of the libperf machinery. Using the fork tracepoint as well just duplicates the event load. Thanks, applied. --

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:14 Wed 07 Aug , Boris BREZILLON wrote: This patch splits the sam9x5 peripheral definitions into: - a common base for all sam9x5 SoCs (at91sam9x5.dtsi) - several optional peripheral definitions which will be included by specific sam9x5 SoCs (at91sam9x5_'periph name'.dtsi) This

Re: [PATCH 02/19] perf sched: Simplify arguments to read_events

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 10:50:44PM -0400, David Ahern escreveu: Destroy argument is not necessary. If session is not returned to caller, then clean it up. Thanks, applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-08-08 Thread ethan.zhao
在 2013-8-6,下午3:29,Mike Galbraith bitbuc...@online.de 写道: +int sched_needs_cpu(int cpu) +{ + return cpu_rq(cpu)-avg_idle sysctl_sched_migration_cost; +} + #else /* CONFIG_NO_HZ_COMMON */ static inline bool got_nohz_idle_kick(void) --- a/kernel/time/tick-sched.c +++

Re: [edk2] Corrupted EFI region

2013-08-08 Thread Borislav Petkov
On Wed, Aug 07, 2013 at 07:49:16PM +0200, Laszlo Ersek wrote: […] Now, lines 01 to 05 *do not happen*. More precisely, they don't happen in the kernel. They happen in the firmware. Specifically, OvmfPkg/Library/LoadLinuxLib/Linux.c. You're booting the kernel from the qemu command line. The

Re: [PATCH 04/12] KVM: MMU: log dirty page after marking spte writable

2013-08-08 Thread Marcelo Tosatti
On Wed, Aug 07, 2013 at 12:06:49PM +0800, Xiao Guangrong wrote: On 08/07/2013 09:48 AM, Marcelo Tosatti wrote: On Tue, Jul 30, 2013 at 09:02:02PM +0800, Xiao Guangrong wrote: Make sure we can see the writable spte before the dirt bitmap is visible We do this is for

Re: [PATCH 07/19] perf top: Use new idle_sym check

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 10:50:49PM -0400, David Ahern escreveu: Avoids strcmp processing each sample. How so? This is done just when loading a DSO, when then each symbol is checked against this list. Tangentially, Frédéric, wasn't there a patchset from you that marks the context of idle

Re: [PATCH 08/19] perf symbol: Save vmlinux or kallsyms path loaded

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 10:50:50PM -0400, David Ahern escreveu: Save vmlinux or kallsyms path loaded using embedded default lookup (ie., not a user specified path). Upcoming perf sched timehist command requires kernel symbols for properly computing idle times and prints a warning if the kernel

Re: [PATCH 0/22] Immutable biovecs, block layer changes

2013-08-08 Thread Christoph Hellwig
On Wed, Aug 07, 2013 at 02:54:09PM -0700, Kent Overstreet wrote: _However_, I have more patches (that depend on this patch series) to get that back - segment merging improvements that get rid of bi_seg_front_size, bi_seg_back_size, and bi_phys_segments. Once all that is in it should be a net

Re: [RFC v02 1/5] PowerCap: Documentation

2013-08-08 Thread Srinivas Pandruvada
On 08/08/2013 06:43 AM, Rob Landley wrote: On 08/07/2013 11:12:41 AM, Srinivas Pandruvada wrote: Added power cap framework documentation. This explains the use of power capping framework, sysfs and programming interface. There are two documents:

Re: [PATCH 09/19] perf tool: Simplify options to perf_evsel__print_ip

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 10:50:51PM -0400, David Ahern escreveu: Make print options based on flags. Simplifies addition of more print options which is the subject of upcoming patches. Thanks, applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 16/19] perf tool: Change perf_session__has_traces to actually check for tracepoints

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 10:50:58PM -0400, David Ahern escreveu: Any event can have RAW data attribute set. The intent of the function is to determine if the session has tracepoints, so check for the type of each event explicitly. Thanks, applied. -- To unsubscribe from this list: send the line

Re: unused swap offset / bad page map.

2013-08-08 Thread Hillf Danton
On Wed, Aug 7, 2013 at 11:30 PM, Dave Jones da...@redhat.com wrote: printk didn't trigger. Is a corrupted page table entry encountered, according to the comment of swap_duplicate()? --- a/mm/swapfile.c Wed Aug 7 17:27:22 2013 +++ b/mm/swapfile.c Thu Aug 8 23:12:30 2013 @@ -770,6

Re: [PATCH 1/3] perf tools: Separate out GTK codes to libperf-gtk.so

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 08, 2013 at 03:34:08PM +0900, Namhyung Kim escreveu: Separate out GTK codes to a shared object called libperf-gtk.so. This time only GTK codes are built with -fPIC and libperf remains as is. [acme@sandy linux]$ cat /etc/fedora-release Fedora release 18 (Spherical Cow) [acme@sandy

Re: [PATCH v2 1/3] hwmon: (lm90) Add power control

2013-08-08 Thread Guenter Roeck
On 08/08/2013 06:08 AM, Mark Brown wrote: On Thu, Aug 08, 2013 at 04:25:41AM -0700, Guenter Roeck wrote: On 08/08/2013 04:01 AM, Mark Brown wrote: That said if you *are* going to do this you should request the regulator using devm_regulator_get_optional(), this is intended to support things

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-08 Thread boris brezillon
Hello Jean-Christophe, On 08/08/2013 16:07, Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:14 Wed 07 Aug , Boris BREZILLON wrote: This patch splits the sam9x5 peripheral definitions into: - a common base for all sam9x5 SoCs (at91sam9x5.dtsi) - several optional peripheral definitions which

[PATCH 0/9] [RFC v2] safely drop directory dentry on failed revalidate

2013-08-08 Thread Miklos Szeredi
Here's a series for fixing issues with d_drop on a directory dentry with children and adding support for such dropped directories in fuse. This one fixes a couple of issues I found with the previous incarnation and split out the filesystem parts into individual patches. Thanks, Miklos --- Anand

[PATCH 8/9] fuse: clean up return in fuse_dentry_revalidate()

2013-08-08 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz On errors unrelated to the filesystem's state (ENOMEM, ENOTCONN) return the error itself from -d_revalidate() insted of returning zero (invalid). Also make a common label for invalidating the dentry. This will be used by the next patch. Signed-off-by:

[PATCH 4/9] gfs2: use check_submounts_and_drop()

2013-08-08 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries and non-directories as well. Non-directories can also be mounted on. And just like directories we don't want these to disappear

[PATCH 7/9] fuse: use d_materialise_unique()

2013-08-08 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Use d_materialise_unique() instead of d_splice_alias(). This allows dentry subtrees to be moved to a new place if there moved, even if something is referencing a dentry in the subtree (open fd, cwd, etc..). This will also allow us to drop a subtree if it is

[PATCH 1/9] vfs: check submounts and drop atomically

2013-08-08 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz We check submounts before doing d_drop() on a non-empty directory dentry in NFS (have_submounts()), but we do not exclude a racing mount. Process A: have_submounts() - returns false Process B: mount() - success Process A: d_drop() This patch prepares the

[PATCH 9/9] fuse: drop dentry on failed revalidate

2013-08-08 Thread Miklos Szeredi
From: Anand Avati av...@redhat.com Drop a subtree when we find that it has moved or been delated. This can be done as long as there are no submounts under this location. If the directory was moved and we come across the same directory in a future lookup it will be reconnected by

[PATCH 5/9] nfs: use check_submounts_and_drop()

2013-08-08 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries and non-directories as well. Non-directories can also be mounted on. And just like directories we don't want these to disappear

[PATCH 3/9] afs: use check_submounts_and_drop()

2013-08-08 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries as well. Signed-off-by: Miklos Szeredi mszer...@suse.cz CC: David Howells dhowe...@redhat.com --- fs/afs/dir.c | 10 +++---

[PATCH 6/9] sysfs: use check_submounts_and_drop()

2013-08-08 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries and non-directories as well. Non-directories can also be mounted on. And just like directories we don't want these to disappear

[PATCH 2/9] vfs: check unlinked ancestors before mount

2013-08-08 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz We check submounts before doing d_drop() on a non-empty directory dentry in NFS (have_submounts()), but we do not exclude a racing mount. Nor do we prevent mounts to be added to the disconnected subtree using relative paths after the d_drop(). This patch

Re: unused swap offset / bad page map.

2013-08-08 Thread Dave Jones
On Thu, Aug 08, 2013 at 11:20:28PM +0800, Hillf Danton wrote: On Wed, Aug 7, 2013 at 11:30 PM, Dave Jones da...@redhat.com wrote: printk didn't trigger. Is a corrupted page table entry encountered, according to the comment of swap_duplicate()? --- a/mm/swapfile.c Wed Aug 7

Re: [PATCH 35/35] cpufreq: tegra: use cpufreq_table_validate_and_show()

2013-08-08 Thread Stephen Warren
On 08/08/2013 07:48 AM, Viresh Kumar wrote: Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Assuming the new function simply does what the two removed lines do, this looks fine to me. static int

Re: [PATCH 0/1] (Was: Linux 3.11-rc4)

2013-08-08 Thread Oleg Nesterov
On 08/07, Linus Torvalds wrote: Now, I do agree that the debug registers are *much* less likely to have those kinds of really subtle issues, so maybe relaxing some of the tests might be reasonable. I'd be a bit nervous about it, but if it's *only* the length/alignment, and Intel people can be

[PATCH] MAINTAINERS: Add Kumar to Device Tree Binding maintainers group

2013-08-08 Thread Kumar Gala
I'm tossing my hat into the ring of maintainers/reviewers for device tree bindings based on history of dealing with DT on embedded PPC and starting work on ARM SoCs. Signed-off-by: Kumar Gala ga...@codeaurora.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Stephen

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-08 Thread boris brezillon
On 08/08/2013 17:23, boris brezillon wrote: Hello Jean-Christophe, On 08/08/2013 16:07, Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:14 Wed 07 Aug , Boris BREZILLON wrote: This patch splits the sam9x5 peripheral definitions into: - a common base for all sam9x5 SoCs (at91sam9x5.dtsi) -

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-08 Thread Nishanth Menon
On Thu, Aug 8, 2013 at 9:37 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 8 August 2013 19:52, Lucas Stach l.st...@pengutronix.de wrote: You can certainly define the mapping table in DT where a specialized Tegra cpufreq driver could read it in and then map frequency to voltage. But that's

Re: [PATCH] MAINTAINERS: Add Kumar to Device Tree Binding maintainers group

2013-08-08 Thread Pawel Moll
On Thu, 2013-08-08 at 16:51 +0100, Kumar Gala wrote: I'm tossing my hat into the ring of maintainers/reviewers for device tree bindings based on history of dealing with DT on embedded PPC and starting work on ARM SoCs. Signed-off-by: Kumar Gala ga...@codeaurora.org Cc: Pawel Moll

Re: [RFC 0/3] Add madvise(..., MADV_WILLWRITE)

2013-08-08 Thread Andy Lutomirski
On Thu, Aug 8, 2013 at 3:18 AM, Jan Kara j...@suse.cz wrote: On Wed 07-08-13 11:00:52, Andy Lutomirski wrote: On Wed, Aug 7, 2013 at 10:40 AM, Dave Hansen dave.han...@intel.com wrote: On 08/07/2013 06:40 AM, Jan Kara wrote: One question before I look at the patches: Why don't you use

Re: [PATCH 0/8] perf tools: add symbol filter to struct machine

2013-08-08 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 08, 2013 at 02:32:19PM +0300, Adrian Hunter escreveu: Here are some patches that add symbol filter to struct machine as we briefly discussed on irc. The first patch puts the symbol filter on both struct machine and struct machines so that guest machines added later inherit the

Re: [PATCH 35/35] cpufreq: tegra: use cpufreq_table_validate_and_show()

2013-08-08 Thread Viresh Kumar
On 8 August 2013 21:14, Stephen Warren swar...@wwwdotorg.org wrote: On 08/08/2013 07:48 AM, Viresh Kumar wrote: Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Assuming the new function simply does what

Re: Linux apanic mechanism and difference from newer ram_console/persistent_ram mechanism

2013-08-08 Thread Colin Cross
On Thu, Aug 8, 2013 at 4:50 AM, Yuva Raj yuvae...@gmail.com wrote: On Thu, Aug 8, 2013 at 3:03 PM, Vijay thelonejo...@gmail.com wrote: Hello, I am new to the Kernel-Mailing list. I am not subscribed at the moment and would really appreciate it, if I can be CC'd in the reply/responses for

Re: [for-next-3.11][PATCH 4/4] tracing: Fix reset of time stamps during trace_clock changes

2013-08-08 Thread Steven Rostedt
Greg, I'm testing the backports, and I found that this patch depends on commit 10246fa35d4ffdfe472185d4cbf9c2dfd9a9f023 tracing: Use flag buffer_disabled for irqsoff tracer Please add that to 3.10 before applying this fix. Thanks! -- Steve On Sat, 2013-08-03 at 08:49 -0400, Steven Rostedt

Re: [PATCH] Revert slub: do not put a slab to cpu partial list when cpu_partial is 0

2013-08-08 Thread Linus Torvalds
On Thu, Aug 8, 2013 at 7:35 AM, Pekka Enberg penb...@kernel.org wrote: Linus, can you pick this up or do you want a pull request? I just did the revert when reading the original thread, and hadn't even gotten to this new email thread with an actual patch. Anyway, it's reverted in my tree,

Re: [PATCH] Revert slub: do not put a slab to cpu partial list when cpu_partial is 0

2013-08-08 Thread Steven Rostedt
On Thu, 2013-08-08 at 09:12 -0700, Linus Torvalds wrote: On Thu, Aug 8, 2013 at 7:35 AM, Pekka Enberg penb...@kernel.org wrote: Linus, can you pick this up or do you want a pull request? I just did the revert when reading the original thread, and hadn't even gotten to this new email

Re: [PATCH 0/1] (Was: Linux 3.11-rc4)

2013-08-08 Thread Linus Torvalds
On Thu, Aug 8, 2013 at 8:41 AM, Oleg Nesterov o...@redhat.com wrote: On x86 execute breakpoints are only a single byte, which has to be the first byte of the instruction. IOW the hardware requires len = 1 in dr7 or it doesn't work (iirc). But for some reason perf requires bp_len =

Re: [PATCH 04/12] KVM: MMU: log dirty page after marking spte writable

2013-08-08 Thread Xiao Guangrong
[ Post again after adjusting the format since the mail list rejected to deliver my previous one. ] On Aug 8, 2013, at 11:06 PM, Marcelo Tosatti mtosa...@redhat.com wrote: On Wed, Aug 07, 2013 at 12:06:49PM +0800, Xiao Guangrong wrote: On 08/07/2013 09:48 AM, Marcelo Tosatti wrote: On Tue,

Re: [PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier.

2013-08-08 Thread Yinghai Lu
Trimmed CC list a bit. On Thu, Aug 8, 2013 at 2:41 AM, Tang Chen tangc...@cn.fujitsu.com wrote: Linux cannot migrate pages used by the kernel due to the direct mapping (va = pa + PAGE_OFFSET), any memory used by the kernel cannot be hot-removed. So when using memory hotplug, we have to

Re: [PATCH 10/16] ntb: clean up unnecessary MSI/MSI-X capability find

2013-08-08 Thread Jon Mason
On Thu, Aug 08, 2013 at 09:09:34PM +0800, Yijing Wang wrote: PCI core will initialize device MSI/MSI-X capability in pci_msi_init_pci_dev(). So device driver should use pci_dev-msi_cap/msix_cap to determine whether the device support MSI/MSI-X instead of using pci_find_capability(pci_dev,

[PATCH v2 3/3] leds-pca9633: Add mutex to the ledout register

2013-08-08 Thread Ricardo Ribalda Delgado
To update an LED a register has to be read, updated and writen. If another LED whas been updated at the same time, this could lead into wrong updates. This patch addes a common mutex to all the leds of the same chip to protect the ledout register. Signed-off-by: Ricardo Ribalda Delgado

[PATCH v2 2/3] leds-pca9633: Unique naming of the LEDs

2013-08-08 Thread Ricardo Ribalda Delgado
If there is more than one pca963x chips on the system and there are some LEDs without platform_data names, the driver wont be able to provide unique naming to them. This will cause led_class_dev_register to fail, unregistering all the LEDs of the chip. This patch adds the i2c address to the name

[PATCH v2 0/3] PCA9633: Add support to PCA9634 and fix some problems

2013-08-08 Thread Ricardo Ribalda Delgado
Add Support for the PCA9634 chip. Simimart to the 9633, but with 8 outputs instead of 4. Fix bug when 2 chips where present on the system, the ledclass will fail and the chip wont probe. Protect ledout register with a mutex to support updates of more than leds at the same time v2: Contains

[PATCH v2 1/3] leds-pca9633: Add support for PCA9634

2013-08-08 Thread Ricardo Ribalda Delgado
Add support for PCA9634 chip, which belongs to the same family as the 9633 but with support for 8 outputs instead of 4. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/leds/Kconfig|7 ++-- drivers/leds/leds-pca9633.c | 74

Re: [PATCH v4 8/9] pci: Tune secondary bus reset timing

2013-08-08 Thread Alexander Duyck
On 08/07/2013 10:23 PM, Alex Williamson wrote: On Wed, 2013-08-07 at 11:30 -0700, Alexander Duyck wrote: On 08/06/2013 07:56 PM, Alex Williamson wrote: On Tue, 2013-08-06 at 16:27 -0700, Alexander Duyck wrote: On 08/05/2013 12:37 PM, Alex Williamson wrote: The PCI spec indicates that with

[PATCH v2 1/1] tracing: Make tracing_cpumask available for all instances

2013-08-08 Thread Alexander Z Lam
Allow tracer instances to disable tracing by cpu by moving the static global tracing_cpumask into trace_array. Cc: Vaibhav Nagarnaik vnagarn...@google.com Cc: David Sharp dhsh...@google.com Cc: Alexander Z Lam lambchop...@gmail.com Signed-off-by: Alexander Z Lam a...@google.com ---

[PATCH v2 0/1] tracing: Make tracing_cpumask available for all instances

2013-08-08 Thread Alexander Z Lam
Sorry, it slipped my mind to actually test tracing_cpumask_read(). Changed struct trace_array *tr = file_inode(filp); to struct trace_array *tr = file_inode(filp)-i_private; Alexander Z Lam (1): tracing: Make tracing_cpumask available for all instances kernel/trace/trace.c |

[PATCH] mm/hotplug: Verify hotplug memory range

2013-08-08 Thread Toshi Kani
add_memory() and remove_memory() can only handle a memory range aligned with section. There are problems when an unaligned range is added and then deleted as follows: - add_memory() with an unaligned range succeeds, but __add_pages() called from add_memory() adds a whole section of pages

Re: [PATCH 0/1] (Was: Linux 3.11-rc4)

2013-08-08 Thread Frederic Weisbecker
On Thu, Aug 08, 2013 at 05:41:07PM +0200, Oleg Nesterov wrote: On 08/07, Linus Torvalds wrote: Now, I do agree that the debug registers are *much* less likely to have those kinds of really subtle issues, so maybe relaxing some of the tests might be reasonable. I'd be a bit nervous about

Re: [PATCH 1/2] include: dt-binding: input: create a DT header defining key codes.

2013-08-08 Thread Laxman Dewangan
On Wednesday 07 August 2013 12:58 AM, Stephen Warren wrote: (CC'ing DT bindings maintainers too, hence quoting a bit of the patch) On 08/06/2013 08:12 AM, Laxman Dewangan wrote: Many of Key device tree bindings uses the constant number as key code which matches with kernel header key code and

Re: [PATCH v1 09/14] clk: msm: Add support for MSM8960's global clock controller (GCC)

2013-08-08 Thread Mark Rutland
Hi Stephen, On Thu, Jul 25, 2013 at 01:43:37AM +0100, Stephen Boyd wrote: Fill in the data and wire up the global clock controller to the MSM clock driver. This should allow most non-multimedia device drivers to control their clocks on 8960 based platforms. Cc: devicet...@vger.kernel.org

Re: [PATCH v1 10/14] clk: msm: Add support for MSM8960's multimedia clock controller (MMCC)

2013-08-08 Thread Mark Rutland
Hi Stephen, On Thu, Jul 25, 2013 at 01:43:38AM +0100, Stephen Boyd wrote: Fill in the data and wire up the multimedia clock controller to the MSM clock driver. This should allow multimedia device drivers to control their clocks on 8960 based platforms. Cc: devicet...@vger.kernel.org

[PATCH 1/2] Staging: BCM: removed whitespaces and Errors.

2013-08-08 Thread Paul McQuade
From 6e70cd8754968f37e82f6a4d8b9da75ff6e0 Mon Sep 17 00:00:00 2001 From: Paul McQuade paulmcq...@gmail.com Date: Thu, 8 Aug 2013 16:09:46 +0100 Subject: [PATCH 1/2] Staging: BCM: removed whitespaces and Errors. BCM Driver had a lot of whitespaces and errors. Some of them are removed by this

[PATCH 2/2] Staging: BCM: Removed more whitespace/Errors

2013-08-08 Thread Paul McQuade
From 9f6231ce16996e35545e20ce1d91abc058f2a6fb Mon Sep 17 00:00:00 2001 From: Paul McQuade paulmcq...@gmail.com Date: Thu, 8 Aug 2013 17:49:22 +0100 Subject: [PATCH 2/2] Staging: BCM: Removed more whitespace/Errors Interface Whitespace/Errors Removed with the help of checkpatch.pl

[PATCH 2/2] powerpc/pseries: Add backward compatibilty to read old kernel oops-log

2013-08-08 Thread Aruna Balakrishnaiah
Older kernels has just length information in their header. Handle it while reading old kernel oops log from pstore. Applies on top of powerpc/pseries: Fix buffer overflow when reading from pstore Signed-off-by: Aruna Balakrishnaiah ar...@linux.vnet.ibm.com ---

Re: [PATCH V4] drivers/rtc/rtc-palmas.c: support for backup battery charging

2013-08-08 Thread Laxman Dewangan
On Thursday 08 August 2013 03:03 PM, Mark Rutland wrote: On Wed, Aug 07, 2013 at 07:46:11PM +0100, Laxman Dewangan wrote: What happens if we charge at the wrong current? Not much sure but I think it can create battery damage. If we charge a battery supporting 100mA at a current 100mA, will

[PATCH 1/2] powerpc/pseries: Fix buffer overflow when reading from pstore

2013-08-08 Thread Aruna Balakrishnaiah
When reading from pstore there is a buffer overflow during decompression due to the header added in unzip_oops. Remove unzip_oops and call pstore_decompress directly in nvram_pstore_read. Allocate buffer of size report_length of the oops header as header will not be deallocated in pstore. Since we

Re: Enable arm_global_timer for Zynq brakes boot

2013-08-08 Thread Sören Brinkmann
Hi Daniel, On Thu, Aug 01, 2013 at 07:48:04PM +0200, Daniel Lezcano wrote: On 08/01/2013 07:43 PM, Sören Brinkmann wrote: On Thu, Aug 01, 2013 at 07:29:12PM +0200, Daniel Lezcano wrote: On 08/01/2013 01:38 AM, Sören Brinkmann wrote: On Thu, Aug 01, 2013 at 01:01:27AM +0200, Daniel Lezcano

Re: [PATCH 1/2] include: dt-binding: input: create a DT header defining key codes.

2013-08-08 Thread Dmitry Torokhov
On Thu, Aug 08, 2013 at 10:41:20PM +0530, Laxman Dewangan wrote: On Wednesday 07 August 2013 12:58 AM, Stephen Warren wrote: (CC'ing DT bindings maintainers too, hence quoting a bit of the patch) On 08/06/2013 08:12 AM, Laxman Dewangan wrote: Many of Key device tree bindings uses the

Re: [PATCH v2 1/3] hwmon: (lm90) Add power control

2013-08-08 Thread Mark Brown
On Thu, Aug 08, 2013 at 08:21:48AM -0700, Guenter Roeck wrote: On 08/08/2013 06:08 AM, Mark Brown wrote: I'd be most surprised if the device worked without power, if the driver fails to get and enable a regulator for it then that's not great (especially if it does so silently). Correct, but

[PATCH 3/3 V3] EDAC, AMD64_EDAC: Add ECC decoding support for newer F15h models.

2013-08-08 Thread Aravind Gopalakrishnan
On newer models, support has been included for upto 4 DCT's, however, only DCT0 and DCT3 are currently configured. (Refer BKDG Section 2.10) Routing DRAM Requests algorithm is different for F15h M30h. It is cleaner to use a brand new function rather than adding quirks in the more generic

Re: Cannot hot remove a memory device

2013-08-08 Thread Toshi Kani
On Fri, 2013-08-02 at 18:04 -0600, Toshi Kani wrote: On Sat, 2013-08-03 at 01:43 +0200, Rafael J. Wysocki wrote: On Friday, August 02, 2013 03:46:15 PM Toshi Kani wrote: On Thu, 2013-08-01 at 23:43 +0200, Rafael J. Wysocki wrote: : I think it fails with -EINVAL at the place with

Re: Enable arm_global_timer for Zynq brakes boot

2013-08-08 Thread Mark Rutland
On Thu, Aug 08, 2013 at 06:11:26PM +0100, Sören Brinkmann wrote: Hi Daniel, On Thu, Aug 01, 2013 at 07:48:04PM +0200, Daniel Lezcano wrote: On 08/01/2013 07:43 PM, Sören Brinkmann wrote: On Thu, Aug 01, 2013 at 07:29:12PM +0200, Daniel Lezcano wrote: On 08/01/2013 01:38 AM, Sören

Re: [PATCH 3/3 V2] EDAC, AMD64_EDAC: Add ECC decoding support for newer F15h models.

2013-08-08 Thread Aravind Gopalakrishnan
addr -= 0x100; } @@ -205,8 +213,9 @@ static int amd64_set_scrub_rate(struct mem_ctl_info *mci, u32 bw) if (boot_cpu_data.x86 == 0xf) min_scrubrate = 0x0; -/* F15h Erratum #505 */ -if (boot_cpu_data.x86 == 0x15) +/* F15h Models 0x00 - 0x0f

Re: [PATCH 1/2] include: dt-binding: input: create a DT header defining key codes.

2013-08-08 Thread Laxman Dewangan
On Thursday 08 August 2013 10:43 PM, Dmitry Torokhov wrote: On Thu, Aug 08, 2013 at 10:41:20PM +0530, Laxman Dewangan wrote: On Wednesday 07 August 2013 12:58 AM, Stephen Warren wrote: (CC'ing DT bindings maintainers too, hence quoting a bit of the patch) On 08/06/2013 08:12 AM, Laxman

Re: Enable arm_global_timer for Zynq brakes boot

2013-08-08 Thread Stephen Boyd
On 08/08/13 10:16, Mark Rutland wrote: On Thu, Aug 08, 2013 at 06:11:26PM +0100, Sören Brinkmann wrote: Hi Daniel, On Thu, Aug 01, 2013 at 07:48:04PM +0200, Daniel Lezcano wrote: On 08/01/2013 07:43 PM, Sören Brinkmann wrote: On Thu, Aug 01, 2013 at 07:29:12PM +0200, Daniel Lezcano wrote:

Re: Enable arm_global_timer for Zynq brakes boot

2013-08-08 Thread Sören Brinkmann
On Thu, Aug 08, 2013 at 06:16:50PM +0100, Mark Rutland wrote: On Thu, Aug 08, 2013 at 06:11:26PM +0100, Sören Brinkmann wrote: Hi Daniel, On Thu, Aug 01, 2013 at 07:48:04PM +0200, Daniel Lezcano wrote: On 08/01/2013 07:43 PM, Sören Brinkmann wrote: On Thu, Aug 01, 2013 at 07:29:12PM

Re: [PATCH 2/2] Staging: BCM: Removed more whitespace/Errors

2013-08-08 Thread Joe Perches
Please send your changes with an email client that does not require attaching patches. On Thu, 2013-08-08 at 18:03 +0100, Paul McQuade wrote: -#define MAXIMUM_USB_TCB 128 -#define MAXIMUM_USB_RCB 128 +#define MAXIMUM_USB_TCB128 +#define MAXIMUM_USB_RCB

Re: [PATCH 1/2] include: dt-binding: input: create a DT header defining key codes.

2013-08-08 Thread Stephen Warren
On 08/08/2013 11:13 AM, Dmitry Torokhov wrote: On Thu, Aug 08, 2013 at 10:41:20PM +0530, Laxman Dewangan wrote: On Wednesday 07 August 2013 12:58 AM, Stephen Warren wrote: (CC'ing DT bindings maintainers too, hence quoting a bit of the patch) On 08/06/2013 08:12 AM, Laxman Dewangan wrote:

<    7   8   9   10   11   12   13   14   15   16   >