Re: linux-next: unusual update of the security tree

2012-12-12 Thread Stephen Rothwell
Hi James, On Fri, 7 Dec 2012 10:21:31 +1100 (EST) James Morris jmor...@namei.org wrote: On Thu, 6 Dec 2012, Linus Torvalds wrote: Have people pulled that thing into anything else? Because quite frankly, I think it's unsalvageable except with a rebase. AFAIK, only developers such as

Re: [PATCH] vfio powerpc: enabled on powernv platform

2012-12-12 Thread Benjamin Herrenschmidt
On Wed, 2012-12-12 at 16:30 -0700, Alex Williamson wrote: Locked page accounting in this version is very, very broken. How do powerpc folks feel about seemingly generic kernel iommu interfaces messing with the current task mm? Besides that, more problems below... Not good at all :-) I

Re: [PATCH] OMAP: add pwm driver using dmtimers.

2012-12-12 Thread NeilBrown
On Wed, 12 Dec 2012 10:20:34 -0600 Jon Hunter jon-hun...@ti.com wrote: On 12/12/2012 05:31 AM, Thierry Reding wrote: On Wed, Dec 12, 2012 at 07:24:30PM +1100, NeilBrown wrote: [snip] +static int omap_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) +{ + struct omap_chip

Re: [RFC PATCH v2 3/6] sched: pack small tasks

2012-12-12 Thread Alex Shi
On 12/13/2012 10:17 AM, Alex Shi wrote: On 12/12/2012 09:31 PM, Vincent Guittot wrote: During the creation of sched_domain, we define a pack buddy CPU for each CPU when one is available. We want to pack at all levels where a group of CPU can be power gated independently from others. On a

Re: kexec and struct boot_params

2012-12-12 Thread Yinghai Lu
On Thu, Dec 6, 2012 at 10:57 PM, Yinghai Lu ying...@kernel.org wrote: On Wed, Dec 5, 2012 at 7:12 PM, Yinghai Lu ying...@kernel.org wrote: On Wed, Dec 5, 2012 at 5:57 PM, H. Peter Anvin h...@zytor.com wrote: Hi Eric, Could you give a list of struct boot_params field which are initialized

Re: [PATCH] mm/hugetlb: create hugetlb cgroup file in hugetlb_init

2012-12-12 Thread Jianguo Wu
On 2012/12/12 19:23, Michal Hocko wrote: On Wed 12-12-12 18:44:13, Xishi Qiu wrote: On 2012/12/12 18:19, Michal Hocko wrote: On Wed 12-12-12 16:25:59, Jianguo Wu wrote: Build kernel with CONFIG_HUGETLBFS=y,CONFIG_HUGETLB_PAGE=y and CONFIG_CGROUP_HUGETLB=y, then specify hugepagesz=xx boot

Re: [PATCH 0/18] sched: simplified fork, enable load average into LB and power awareness scheduling

2012-12-12 Thread Alex Shi
On 12/12/2012 10:21 PM, Vincent Guittot wrote: If Linux is to continue to work efficiently on heterogeneous multi-processing platforms, it needs to provide scheduling mechanisms that can be exploited as per the demands of the HW architecture. Linus definitely disagree such ideas. :) So,

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread Linus Torvalds
Hmm. This may be entirely unrelated to this particular pull request, but perf record -e cycles:pp no longer works on my westmere machine (Operation not supported). It used to work, but I haven't tried to bisect it, since I hope somebody will just go oh, I know what's up. dmesg says:

Re: [PATCH] vfio powerpc: enabled on powernv platform

2012-12-12 Thread Benjamin Herrenschmidt
On Wed, 2012-12-12 at 16:30 -0700, Alex Williamson wrote: Locked page accounting in this version is very, very broken. How do powerpc folks feel about seemingly generic kernel iommu interfaces messing with the current task mm? Besides that, more problems below... After a second look

Re: [PATCH] mm/hugetlb: create hugetlb cgroup file in hugetlb_init

2012-12-12 Thread Jianguo Wu
On 2012/12/13 1:05, Aneesh Kumar K.V wrote: Jianguo Wu wujian...@huawei.com writes: Build kernel with CONFIG_HUGETLBFS=y,CONFIG_HUGETLB_PAGE=y and CONFIG_CGROUP_HUGETLB=y, then specify hugepagesz=xx boot option, system will boot fail. This failure is caused by following code path:

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread David Ahern
On 12/12/12 7:53 PM, Linus Torvalds wrote: Hmm. This may be entirely unrelated to this particular pull request, but perf record -e cycles:pp no longer works on my westmere machine (Operation not supported). It used to work, but I haven't tried to bisect it, since I hope somebody will just

Re: [TRIVIAL PATCH 08/26] m32r: Convert print_symbol to %pSR

2012-12-12 Thread Hirokazu Takata
Acked-by: Hirokazu Takata tak...@linux-m32r.org Thank you. From: Joe Perches j...@perches.com Subject: [TRIVIAL PATCH 08/26] m32r: Convert print_symbol to %pSR Date: Wed, 12 Dec 2012 10:18:57 -0800 Use the new vsprintf extension to avoid any possible message interleaving. Signed-off-by: Joe

Re: [PATCH 4/5] ktest: Fix breakage from change of oldnoconfig to olddefconfig

2012-12-12 Thread Adam Lee
On Wed, Dec 12, 2012 at 05:14:41PM -0500, Steven Rostedt wrote: From: Steven Rostedt srost...@redhat.com Commit fb16d891 kconfig: replace 'oldnoconfig' with 'olddefconfig', and keep the old name, changed ktest's default config update from oldnoconfig to olddefconfig without adding

Re: [PATCH] OMAP: add pwm driver using dmtimers.

2012-12-12 Thread NeilBrown
[Thierry: question for you near the end - thanks] On Wed, 12 Dec 2012 10:08:28 -0600 Jon Hunter jon-hun...@ti.com wrote: Hi Neil, On 12/12/2012 02:24 AM, NeilBrown wrote: This patch is based on an earlier patch by Grant Erickson which provided pwm devices using the 'legacy'

[PATCH] Documentation/java.txt: add Java 7 support

2012-12-12 Thread Jonathan Callen
The sample wrapper currently fails on some Java 7 .class files. This updates the wrapper to properly handle those files. Signed-off-by: Jonathan Callen a...@gentoo.org --- Documentation/java.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/java.txt

Re: [PATCH v3 3/5] page_alloc: Introduce zone_movable_limit[] to keep movable limit for nodes

2012-12-12 Thread Simon Jeons
On Thu, 2012-12-13 at 09:48 +0800, Tang Chen wrote: On 12/13/2012 08:28 AM, Simon Jeons wrote: On Wed, 2012-12-12 at 18:32 +0800, Tang Chen wrote: Hi Simon, On 12/12/2012 05:29 PM, Simon Jeons wrote: Thanks for your clarify. Enable PAE on x86 32bit kernel, 8G memory,

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread Linus Torvalds
On Wed, Dec 12, 2012 at 7:02 PM, David Ahern dsah...@gmail.com wrote: Can you add -v and see if it spits out more info? No more info. Sure, it does the usual do you have an APIC message (it does that without -v too), which isn't useful: Error: sys_perf_event_open() syscall returned with 95

Re: [PATCH 0/18] sched: simplified fork, enable load average into LB and power awareness scheduling

2012-12-12 Thread Alex Shi
now, on the other hand, if you have two threads of a process that share a bunch of data structures, and you'd spread these over 2 sockets, you end up bouncing data between the two sockets a lot, running inefficient -- bad for power. Yeah, that should be addressed by the NUMA patches people

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread David Ahern
On 12/12/12 8:09 PM, Linus Torvalds wrote: On Wed, Dec 12, 2012 at 7:02 PM, David Ahern dsah...@gmail.com wrote: Can you add -v and see if it spits out more info? No more info. I'm surprised you are not seeing this as well: } else if ((err == EOPNOTSUPP) (attr-precise_ip)) {

[PATCH v2] mm/hugetlb: create hugetlb cgroup file in hugetlb_init

2012-12-12 Thread Jianguo Wu
Build kernel with CONFIG_HUGETLBFS=y,CONFIG_HUGETLB_PAGE=y and CONFIG_CGROUP_HUGETLB=y, then specify hugepagesz=xx boot option, system will boot fail. This failure is caused by following code path: setup_hugepagesz hugetlb_add_hstate hugetlb_cgroup_file_init

Re: [GIT] Networking

2012-12-12 Thread David Miller
From: Linus Torvalds torva...@linux-foundation.org Date: Wed, 12 Dec 2012 18:37:08 -0800 On Wed, Dec 12, 2012 at 6:27 PM, David Miller da...@davemloft.net wrote: There are two SCTP HMAC cookie algorithms, MD5 and SHA1. What used to happen is that you had to choose one at build time, and

Re: [PATCH] vfio powerpc: enabled on powernv platform

2012-12-12 Thread Alex Williamson
On Thu, 2012-12-13 at 13:57 +1100, Benjamin Herrenschmidt wrote: On Wed, 2012-12-12 at 16:30 -0700, Alex Williamson wrote: Locked page accounting in this version is very, very broken. How do powerpc folks feel about seemingly generic kernel iommu interfaces messing with the current task

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread David Ahern
On 12/12/12 7:53 PM, Linus Torvalds wrote: Hmm. This may be entirely unrelated to this particular pull request, but perf record -e cycles:pp no longer works on my westmere machine (Operation not supported). It used to work, but I haven't tried to bisect it, since I hope somebody will just

Re: [PATCH 4/4] fs: remove obsolete simple_strtofoo

2012-12-12 Thread Dave Chinner
On Fri, Dec 07, 2012 at 05:25:19PM +0530, Abhijit Pawar wrote: This patch replace the obsolete simple_strtofoo with kstrtofoo The XFS changes look fine. Consider those: Acked-by: Dave Chinner dchin...@redhat.com -- Dave Chinner da...@fromorbit.com -- To unsubscribe from this list: send the

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread Linus Torvalds
On Wed, Dec 12, 2012 at 7:25 PM, David Ahern dsah...@gmail.com wrote: Are you running an older perf binary on the 3.8 kernel? I am.. I don't tend to rebuild 'perf'.. Does this work: perf record -e cycles:ppH ... Yes it does. What is 'H' and why should anybody care? Especially since I'm not

[PATCH v2 UPDATE] mm/hugetlb: create hugetlb cgroup file in hugetlb_init

2012-12-12 Thread Jianguo Wu
Build kernel with CONFIG_HUGETLBFS=y,CONFIG_HUGETLB_PAGE=y and CONFIG_CGROUP_HUGETLB=y, then specify hugepagesz=xx boot option, system will boot fail. This failure is caused by following code path: setup_hugepagesz hugetlb_add_hstate hugetlb_cgroup_file_init

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread David Ahern
On 12/12/12 8:34 PM, Linus Torvalds wrote: On Wed, Dec 12, 2012 at 7:25 PM, David Ahern dsah...@gmail.com wrote: Are you running an older perf binary on the 3.8 kernel? I am.. I don't tend to rebuild 'perf'.. Does this work: perf record -e cycles:ppH ... Yes it does. What is 'H' and why

Re: [RFC PATCH 00/11] Hot-plug and Online/Offline framework

2012-12-12 Thread Toshi Kani
On Wed, 2012-12-12 at 16:55 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 05:39:36PM -0700, Toshi Kani wrote: On Wed, 2012-12-12 at 15:56 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 04:17:12PM -0700, Toshi Kani wrote: This patchset is an initial prototype of proposed hot-plug framework

[PATCH] clk: debug clock tree

2012-12-12 Thread Prashant Gaikwad
Adds debug file clock_tree in /sys/kernel/debug/clk dir. It helps to view all the clock registered in tree format. For example: clockenable_cnt prepare_cnt rate - i2s0_sync 0

[PATCH] powerpc: added DSCR support to ptrace

2012-12-12 Thread Alexey Kardashevskiy
The DSCR (aka Data Stream Control Register) is supported on some server PowerPC chips and allow some control over the prefetch of data streams. The kernel already supports DSCR value per thread but there is also a need in a ability to change it from an external process for the specific pid. The

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread Linus Torvalds
On Wed, Dec 12, 2012 at 7:43 PM, David Ahern dsah...@gmail.com wrote: you know what's worse? All of your VMs blowing up because anyone runs perf with precise attribute. Virtualization and and performance monitoring collide. From the log message for commit 1342798. Intel PEBS in VT-x context

Re: [RFC PATCH 01/11] Add hotplug.h for hotplug framework

2012-12-12 Thread Toshi Kani
On Wed, 2012-12-12 at 15:53 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 04:17:13PM -0700, Toshi Kani wrote: Added include/linux/hotplug.h, which defines the hotplug framework interfaces used by the framework itself and handlers. No, please name this properly, _everything_ is hotpluggable

Re: [PATCH] pstore/ram: Fix bounds checks for mem_size, record_size, console_size and ftrace_size

2012-12-12 Thread Anton Vorontsov
On Tue, Dec 11, 2012 at 05:49:24PM -0800, Arve Hjønnevåg wrote: The bounds check in ramoops_init_prz was incorrect and ramoops_init_przs had no check. Additionally, ramoops_init_przs allows record_size to be 0, but ramoops_pstore_write_buf would always crash in this case. Signed-off-by: Arve

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Toshi Kani
On Wed, 2012-12-12 at 15:55 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: --- a/drivers/base/Makefile +++ b/drivers/base/Makefile @@ -21,6 +21,7 @@ endif obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o obj-$(CONFIG_REGMAP) += regmap/

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Toshi Kani
On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: Added hotplug.c, which is the hotplug framework code. Again, better naming please. Yes, I will change it to be more specific, something like sys_hotplug.c. Thanks, -Toshi -- To

Re: [RFC PATCH 00/11] Hot-plug and Online/Offline framework

2012-12-12 Thread Greg KH
On Wed, Dec 12, 2012 at 08:37:44PM -0700, Toshi Kani wrote: On Wed, 2012-12-12 at 16:55 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 05:39:36PM -0700, Toshi Kani wrote: On Wed, 2012-12-12 at 15:56 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 04:17:12PM -0700, Toshi Kani wrote:

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Greg KH
On Wed, Dec 12, 2012 at 09:02:45PM -0700, Toshi Kani wrote: On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: Added hotplug.c, which is the hotplug framework code. Again, better naming please. Yes, I will change it to be

Re: kexec and struct boot_params

2012-12-12 Thread H. Peter Anvin
On 12/12/2012 06:49 PM, Yinghai Lu wrote: Hi, Peter, What's your decision about this? Do you mean have one boot_params mask in initdata and AND that with boot_params from bootloader to clean not used bytes? So later will not need to check if (boot_params.hdr.xloadflags

Re: zram: fix invalid memory references during disk write

2012-12-12 Thread Nitin Gupta
On 12/11/2012 10:27 AM, Greg KH wrote: On Thu, Nov 29, 2012 at 10:45:09PM -0800, Nitin Gupta wrote: Fixes a bug introduced by commit c8f2f0db1 (zram: Fix handling of incompressible pages) which caused invalid memory references during disk write. Invalid references could occur in two cases: -

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread David Ahern
On 12/12/12 8:51 PM, Linus Torvalds wrote: SO WHY DON'T YOU JUST DO THAT THEN? Disable PEBS on Vt-x enter and re-enable it on exit. End of story. Exactly like you say. See commit 26a4f3c0. But that was not enough. Requiring exclude_guest was another required piece. If you want to see the

linux-next: reminder 2

2012-12-12 Thread Stephen Rothwell
Hi all, If you have a tree that is included in linux-next, please clean it up after it has been merged into your upstream (i.e. Linus' tree in most cases). -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpdSW35eyHwu.pgp Description: PGP signature

Re: [PATCH] OMAP: add pwm driver using dmtimers.

2012-12-12 Thread NeilBrown
On Thu, 13 Dec 2012 14:06:35 +1100 NeilBrown ne...@suse.de wrote: + omap_dm_timer_enable(omap-dm_timer); Do you need to call omap_dm_timer_enable here? _set_load and _set_match will enable the timer. So this should not be necessary. True. That is what you get for copying someone

[tip:x86/urgent] x86, doc: Add a formal bootloader ID for kexec-tools

2012-12-12 Thread tip-bot for H. Peter Anvin
Commit-ID: 4bfe24ac1d9d9f06b30b2909f53ea462c72cfe1d Gitweb: http://git.kernel.org/tip/4bfe24ac1d9d9f06b30b2909f53ea462c72cfe1d Author: H. Peter Anvin h...@linux.intel.com AuthorDate: Wed, 12 Dec 2012 20:24:12 -0800 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Wed, 12 Dec

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread Linus Torvalds
On Wed, Dec 12, 2012 at 8:31 PM, David Ahern dsah...@gmail.com wrote: See commit 26a4f3c0. But that was not enough. Why? Make the people who run virtualization do the extra work. Things never worked for them anyway, so forcing *them* to set a flag to get a working thing is sane. Forcing

Re: [PATCH] mm: add node physical memory range to sysfs

2012-12-12 Thread Dave Hansen
On 12/12/2012 06:03 PM, Davidlohr Bueso wrote: On Wed, 2012-12-12 at 17:48 -0800, Dave Hansen wrote: But if we went and did it per-DIMM (showing which physical addresses and NUMA nodes a DIMM maps to), wouldn't that be redundant with this proposed interface? If DIMMs overlap between nodes,

[GIT PULL] (xen) stable/for-linus-3.8-rc0-tag

2012-12-12 Thread Konrad Rzeszutek Wilk
Hey Linus, Please git pull the following tag: git pull git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-linus-3.8-rc0-tag or branch (this is included in this email b/c I keep on getting: fatal: Couldn't find remote ref stable/for-linus-3.8-rc0-tag even though I _know_

Re: [TRIVIAL PATCH 15/26] unicore32: Convert print_symbol to %pSR

2012-12-12 Thread guanxuetao
Use the new vsprintf extension to avoid any possible message interleaving. Signed-off-by: Joe Perches j...@perches.com Sorry for my last email, which should not reply all. Acked-by: Guan Xuetao g...@mprc.pku.edu.cn --- arch/unicore32/kernel/process.c |5 +++-- 1 files changed, 3

Re: [PATCH] regulator: core: if voltage scaling fails, restore original

2012-12-12 Thread Paul Walmsley
On Wed, 12 Dec 2012, Paolo Pisati wrote: but inside regulator_set_voltage(), we save the new regulator voltage before actually ramping up: core.c::regulator_set_voltage(): ... regulator-min_uV = min_uV; regulator-max_uV = max_uV; ret = regulator_check_consumers(rdev,

Re: [PATCH] regulator: core: if voltage scaling fails, restore original

2012-12-12 Thread Paul Walmsley
On Thu, 13 Dec 2012, Paul Walmsley wrote: Seems to me, naïvely, that in the above code, regulator-min_uV and regulator-max_uV should be set only after _regulator_do_set_voltage() succeeds? Eh, never mind. Looks like you took a similar strategy in the subsequent patch you sent.. - Paul

Re: [PATCH] mm/hugetlb: create hugetlb cgroup file in hugetlb_init

2012-12-12 Thread Simon Jeons
On Wed, 2012-12-12 at 12:23 +0100, Michal Hocko wrote: On Wed 12-12-12 18:44:13, Xishi Qiu wrote: On 2012/12/12 18:19, Michal Hocko wrote: On Wed 12-12-12 16:25:59, Jianguo Wu wrote: Build kernel with CONFIG_HUGETLBFS=y,CONFIG_HUGETLB_PAGE=y and CONFIG_CGROUP_HUGETLB=y, then specify

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-12 Thread H. Peter Anvin
Here is a version that compiles. It doesn't *boot* yet, because the switchover from dynamic mode to the real pagetables doesn't happen right and so we end up on an uninitialized set of page tables. The new page table setup in tip:x86/mm2 should make that easier to achieve, however... I won't

Re: [PATCH] regulator: core: if voltage scaling fails, restore original

2012-12-12 Thread Mark Brown
On Wed, Dec 12, 2012 at 12:45:52PM +0100, Paolo Pisati wrote: And after a second look it's clear what's going on: After a second look at what? You've not provided any context, I've no idea what you're talking about here. -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH] NTP: Add a CONFIG_RTC_SYSTOHC configuration

2012-12-12 Thread Jason Gunthorpe
On Wed, Dec 12, 2012 at 04:18:31PM -0800, John Stultz wrote: I do, although again, in the case where the arch specific implementation is better, we end up losing granularity (s390 is the specific example I'm thinking of), since this prefers the RTC implementation over the arch specific one.

Re: [PATCH 1/1] Drivers: hv: balloon: Fix a memory leak

2012-12-12 Thread Jason Wang
On 12/12/2012 03:07 AM, K. Y. Srinivasan wrote: The send buffer was being leaked; fix it. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com Reported-by: Jason Wang jasow...@redhat.com --- drivers/hv/hv_balloon.c | 23

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-12 Thread H. Peter Anvin
On 12/12/2012 09:12 PM, H. Peter Anvin wrote: Here is a version that compiles. It doesn't *boot* yet, because the switchover from dynamic mode to the real pagetables doesn't happen right and so we end up on an uninitialized set of page tables. The new page table setup in tip:x86/mm2 should

[PATCH] powerpc: added DSCR support to ptrace

2012-12-12 Thread Alexey Kardashevskiy
The DSCR (aka Data Stream Control Register) is supported on some server PowerPC chips and allow some control over the prefetch of data streams. The kernel already supports DSCR value per thread but there is also a need in a ability to change it from an external process for the specific pid. The

Re: [patch 1/8] mm: memcg: only evict file pages when we have plenty

2012-12-12 Thread Simon Jeons
On Wed, 2012-12-12 at 16:43 -0500, Johannes Weiner wrote: dc0422c mm: vmscan: only evict file pages when we have plenty makes Can't find dc0422c. a point of not going for anonymous memory while there is still enough inactive cache around. The check was added only for global reclaim, but it

Re: [patch 1/8] mm: memcg: only evict file pages when we have plenty

2012-12-12 Thread Simon Jeons
On Wed, 2012-12-12 at 16:53 -0500, Rik van Riel wrote: On 12/12/2012 04:43 PM, Johannes Weiner wrote: dc0422c mm: vmscan: only evict file pages when we have plenty makes a point of not going for anonymous memory while there is still enough inactive cache around. The check was added only

RE: linux-next: manual merge of the l2-mtd tree with Linus' tree

2012-12-12 Thread Kumar, Anil
On Thu, Dec 13, 2012 at 07:07:55, Stephen Rothwell wrote: Hi Artem, Today's linux-next merge of the l2-mtd tree got a conflict in Documentation/devicetree/bindings/arm/davinci/nand.txt between commit fed16bba8726 (mtd: nand: davinci: fix the binding documentation) from Linus' tree and

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-12 Thread Stefani Seibold
Am Mittwoch, den 12.12.2012, 15:34 -0800 schrieb H. Peter Anvin: On 12/12/2012 12:19 PM, stef...@seibold.net wrote: diff --git a/arch/x86/vdso/vdso32/vclock_gettime.c b/arch/x86/vdso/vdso32/vclock_gettime.c new file mode 100644 index 000..c9a1909 --- /dev/null +++

Re: [Patch v3 3/7] rtc: DA9055 RTC driver

2012-12-12 Thread Ashish Jangam
On Wed, 2012-12-12 at 13:11 -0800, Andrew Morton wrote: On Mon, 10 Dec 2012 11:12:29 +0530 Ashish Jangam ashish.jan...@kpitcummins.com wrote: On Wed, 2012-11-28 at 14:54 +0530, Ashish Jangam wrote: On Tue, 2012-11-27 at 14:23 -0800, Andrew Morton wrote: On Fri, 23 Nov 2012 15:41:03

Re: [patch 2/8] mm: vmscan: disregard swappiness shortly before going OOM

2012-12-12 Thread Simon Jeons
On Wed, 2012-12-12 at 16:43 -0500, Johannes Weiner wrote: When a reclaim scanner is doing its final scan before giving up and there is swap space available, pay no attention to swappiness preference anymore. Just swap. Confuse! If it's final scan and still swap space available, why nr[lru]

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-12 Thread H. Peter Anvin
No, let's not. Why? Because if we do that we may inadvertently create an ABI which is hard to support across the board. Stefani Seibold stef...@seibold.net wrote: Am Mittwoch, den 12.12.2012, 15:34 -0800 schrieb H. Peter Anvin: On 12/12/2012 12:19 PM, stef...@seibold.net wrote: diff --git

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-12 Thread H. Peter Anvin
This is too late for 3.8 anyway, so there is time to make it work correctly before tge 3.9 merge window anyway. After this merge window is over I may pull tjis into a testing branch, but compat support is a precondition. The vdso is only optional if you build in backwards compatibility anyway,

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-12 Thread Stefani Seibold
Am Mittwoch, den 12.12.2012, 22:14 -0800 schrieb H. Peter Anvin: This is too late for 3.8 anyway, so there is time to make it work correctly before tge 3.9 merge window anyway. After this merge window is over I may pull tjis into a testing branch, but compat support is a precondition. The

Re: [PATCH] vfio powerpc: enabled on powernv platform

2012-12-12 Thread Alexey Kardashevskiy
On 13/12/12 13:29, Benjamin Herrenschmidt wrote: On Wed, 2012-12-12 at 07:34 -0700, Alex Williamson wrote: But what would I put there?... IOMMU ID is more than enough at the moment and struct iommu_table does not have anything what would have made sense to show in the sysfs... I believe David

[PATCH] iommu: moving initialization earlier

2012-12-12 Thread Alexey Kardashevskiy
The iommu_init() call initializes IOMMU internal structures and data required for the API to function such as iommu_group_alloc(). It is registered as a subsys_initcall. One of the IOMMU users is a PCI subsystem on POWER which discovers new IOMMU tables during the PCI scan so the most logical

[GIT PULL] linux-pstore.git

2012-12-12 Thread Anton Vorontsov
Hello Linus, Here are just a few fixups for the pstore subsystem, nothing special this time. Please pull. Thank you! The following changes since commit 70a6f46d7b0ec03653b9ab3f8063a9717a4a53ef: pstore: Fix NULL pointer dereference in console writes (2012-11-14 18:30:21 -0800) are available

[PATCH] nfs: Don't return referenced delegations

2012-12-12 Thread ycnian
From: Yanchuan Nian ycn...@gmail.com The client returns unreferenced delegations in state management. It scans all delegations and tests the NFS_DELEGATION_REFERENCED flag. if this flag is not set, NFS_DELEGATION_RETURN will be set and the delegation will be returned. But unfortunately

[PATCH] nfs: Remove duplicate function declaration in internal.h

2012-12-12 Thread ycnian
From: Yanchuan Nian ycn...@gmail.com Remove duplicate function declaration in internal.h Signed-off-by: Yanchuan Nian ycn...@gmail.com --- fs/nfs/internal.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 59b133c..440674f

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-12 Thread H. Peter Anvin
Should be a simple matter of sharing pages. Look perhaps at the x32 vdso for a hint. Stefani Seibold stef...@seibold.net wrote: Am Mittwoch, den 12.12.2012, 22:14 -0800 schrieb H. Peter Anvin: This is too late for 3.8 anyway, so there is time to make it work correctly before tge 3.9 merge

[PATCH] nfs: Remove unused list nfs4_clientid_list

2012-12-12 Thread ycnian
From: Yanchuan Nian ycn...@gmail.com This list was designed to store struct nfs4_client in the client side. But nfs4_client was obsolete and has been removed from the source code. So remove the unused list. Signed-off-by: Yanchuan Nian ycn...@gmail.com --- fs/nfs/nfs4state.c |1 - 1 files

linux-next: Tree for Dec 13

2012-12-12 Thread Stephen Rothwell
Hi all, Changes since 20121211: Lots of conflicts are migrating between trees. The powerpc tree still had its build failure for which I applied a patch. The l2-mtd tree gained a conflict against Linus' tree. The virtio tree gained a conflict against Linus' tree. The akpm tree lost lots of

Re: kexec and struct boot_params

2012-12-12 Thread Yinghai Lu
On Wed, Dec 12, 2012 at 8:23 PM, H. Peter Anvin h...@zytor.com wrote: I still want to do what I mentioned before, because we need to not rely on the initialized/16-bit portion so much: 1. add a field in the uninitialized portion, call it sentinel; 2. make sure the byte position corresponding

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-12 Thread Yinghai Lu
On Wed, Dec 12, 2012 at 9:26 PM, H. Peter Anvin h...@zytor.com wrote: The new page table setup in tip:x86/mm2 should make that easier to achieve, however... I won't have time to test this out tonight, though. -hpa Well, minus a simple brainfart now it actually gets into the page table

ebeam PATCH (new eBeam input driver)

2012-12-12 Thread Yann Cantin
Hi, Do i need to resubmit the patchset for the next merge window ? If so, do you guys prefer it against linus or next branch ? For the record : New USB input driver for eBeam devices. Currently supported (tested) : - Luidia eBeam classic projection and edge projection models - Nec

Re: [PATCH] OMAP: add pwm driver using dmtimers.

2012-12-12 Thread Thierry Reding
On Thu, Dec 13, 2012 at 02:06:35PM +1100, NeilBrown wrote: [Thierry: question for you near the end - thanks] On Wed, 12 Dec 2012 10:08:28 -0600 Jon Hunter jon-hun...@ti.com wrote: Hi Neil, On 12/12/2012 02:24 AM, NeilBrown wrote: [...] +{ + struct omap_chip *omap =

Re: [PATCH v2] applesmc: add sysfs file to report OSK

2012-12-12 Thread Henrik Rydberg
Hi Gabriel, I could try to hardcode the OSK inside QEMU, or I could try to include it as a default config file entry, but I'm quite certain the QEMU project would be uncomfortable distributing a string on which Apple claims copyright. Even if that happened, distros might then balk at shipping

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-12 Thread Stefani Seibold
Am Mittwoch, den 12.12.2012, 22:47 -0800 schrieb H. Peter Anvin: Should be a simple matter of sharing pages. Look perhaps at the x32 vdso for a hint. Any idea or clean solution how i can map the 64 bit vgtod into the 32 bit address space? Thats the only problem i see. No, i see no

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Wed, Dec 12, 2012 at 8:31 PM, David Ahern dsah...@gmail.com wrote: See commit 26a4f3c0. But that was not enough. Why? Make the people who run virtualization do the extra work. Things never worked for them anyway, so forcing

Re: [PATCH] cpuidle - remove the power_specified field in the driver

2012-12-12 Thread Daniel Lezcano
On 12/12/2012 11:42 PM, Rafael J. Wysocki wrote: On Wednesday, December 12, 2012 09:00:53 PM Daniel Lezcano wrote: On 12/12/2012 07:50 PM, Julius Werner wrote: Thanks again for making this happen, Daniel. I like this version, except for the small nitpick that I still think it would make sense

Re: [GIT PULL] perf changes for v3.8

2012-12-12 Thread Ingo Molnar
* David Ahern dsah...@gmail.com wrote: But doing it this way was wrong. Switch that exclude_guest attribute around, and admit that H was bogus, and that the right thing to do was to add a V flag that sets the force_guest flag instead. I understand this is annoying. [...] It's not

Re: [PATCH] OMAP: add pwm driver using dmtimers.

2012-12-12 Thread Thierry Reding
On Thu, Dec 13, 2012 at 01:38:28PM +1100, NeilBrown wrote: On Wed, 12 Dec 2012 12:31:45 +0100 Thierry Reding thierry.red...@avionic-design.de wrote: On Wed, Dec 12, 2012 at 07:24:30PM +1100, NeilBrown wrote: [...] + struct omap_dm_timer*dm_timer; + unsigned intpolarity;

Re: [PATCH] avoid entropy starvation due to stack protection

2012-12-12 Thread Stephan Mueller
On 13.12.2012 01:43:21, +0100, Andrew Morton a...@linux-foundation.org wrote: Hi Andrew, On Tue, 11 Dec 2012 13:33:04 +0100 Stephan Mueller smuel...@chronox.de wrote: Some time ago, I noticed the fact that for every newly executed process, the function create_elf_tables requests 16 bytes of

[PATCH] Revert perf: Require exclude_guest to use PEBS - kernel side enforcement

2012-12-12 Thread Ingo Molnar
* David Ahern dsah...@gmail.com wrote: On 12/12/12 8:34 PM, Linus Torvalds wrote: On Wed, Dec 12, 2012 at 7:25 PM, David Ahern dsah...@gmail.com wrote: Are you running an older perf binary on the 3.8 kernel? I am.. I don't tend to rebuild 'perf'.. Does this work: perf record -e

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

2012-12-12 Thread Hiremath, Vaibhav
On Wed, Dec 12, 2012 at 12:50:28, Manjunathappa, Prakash wrote: > Hi Vaibhav, > > On Mon, Dec 10, 2012 at 14:32:06, Hiremath, Vaibhav wrote: > > > > > > On 12/6/2012 1:38 PM, Manjunathappa, Prakash wrote: > > > Hi Tomi, > > > > > > On Wed, Oct 31, 2012 at 10:52:59, Manjunathappa, Prakash

Re: [RFC] AES instead of SHA1 for /dev/urandom

2012-12-12 Thread Ondřej Bílka
On Wed, Dec 12, 2012 at 01:08:26PM +1100, NeilBrown wrote: > On Wed, 12 Dec 2012 03:03:54 +0100 Ondřej Bílka wrote: > > > I consider to speed-up /dev/urandom on recent intel processors by > > using hardware aes. Same for accelerated aes crypto. > > > > Would you accept a patch if I wrote it? >

Re: [RFC v3] Support volatile range for anon vma

2012-12-12 Thread Minchan Kim
On Wed, Dec 12, 2012 at 02:43:49PM +0800, Wanpeng Li wrote: > On Tue, Dec 11, 2012 at 11:41:04AM +0900, Minchan Kim wrote: > >Sorry, resending with fixing compile error. :( > > > >>From 0cfd3b65e4e90ab59abe8a337334414f92423cad Mon Sep 17 00:00:00 2001 > >From: Minchan Kim > >Date: Tue, 11 Dec

Re: [GIT PULL] thermal management updates for v3.8-rc1

2012-12-12 Thread Zhang Rui
Hi, Linus, On Wed, 2012-12-12 at 12:57 +0800, Zhang Rui wrote: > Hi Linus, > > Please pull from the git repository at > > git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git release > > to receive thermal management updates for v3.8. > sorry that I missed the latest two fixes.

[PATCH] OMAP: add pwm driver using dmtimers.

2012-12-12 Thread NeilBrown
This patch is based on an earlier patch by Grant Erickson which provided pwm devices using the 'legacy' interface. This driver instead uses the new framework interface. Cc: Grant Erickson Signed-off-by: NeilBrown diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index ed81720..7df573a

Re: [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices

2012-12-12 Thread Javier Martinez Canillas
On Mon, Dec 3, 2012 at 1:41 PM, Javier Martinez Canillas wrote: > IGEP technology devices are TI OMAP3 SoC based industrial embedded > and computer-on-module boards. This patch-set adds initial device > tree support for these devices. > > The device trees allows to boot from an MMC and are

[PATCH] mm/hugetlb: create hugetlb cgroup file in hugetlb_init

2012-12-12 Thread Jianguo Wu
Build kernel with CONFIG_HUGETLBFS=y,CONFIG_HUGETLB_PAGE=y and CONFIG_CGROUP_HUGETLB=y, then specify hugepagesz=xx boot option, system will boot fail. This failure is caused by following code path: setup_hugepagesz hugetlb_add_hstate hugetlb_cgroup_file_init

[PATCH] block2mtd: throttle writes by calling balance_dirty_pages_ratelimited.

2012-12-12 Thread NeilBrown
If you create a block2mtd device that is larger than main memory, and write to all of it, then lots of pages will be dirtied but they will never be flushed out as nothing calls any variant of balance_dirty_pages. It would be nice to call set_page_dirty_balance(), but that isn't exported, so

Re: [PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-12-12 Thread Andy Shevchenko
On Wed, 2012-12-12 at 08:30 +0530, Viresh Kumar wrote: > > * It requires slave drivers to know that they are using the dw_dmac > > driver and pass a pointer to dw_generic_filter, which is not > > generic at all > > > > * It requires the dmac node to have information about all slaves > > > >

Re: [PATCH v4] backlight: corgi_lcd: Use gpio_set_value_cansleep() to avoid WARN_ON

2012-12-12 Thread Jingoo Han
On Monday, December 10, 2012 5:18 PM, Jingoo Han wrote > On Thursday, December 06, 2012 4:22 AM, Russell King - ARM Linux wrote > > On Wed, Dec 05, 2012 at 07:20:00PM +0100, Marko Katić wrote: > > > On Wed, Dec 5, 2012 at 10:30 AM, Russell King - ARM Linux > > > wrote: > > > > On Wed, Dec 05,

Re: [PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-12-12 Thread Andy Shevchenko
On Mon, 2012-12-10 at 22:08 +, Arnd Bergmann wrote: > The build bug is not the problem however, but the abuse of the > API is. Andy, are you sure you understood what this does when > you gave you Reviewed-by comment? Thank you for pointing this out to refresh my memories and go through

Re: [PATCH 0/3] Add O_DENY* flags to fcntl and cifs

2012-12-12 Thread David Laight
On Sat, Dec 08, 2012 at 12:43:14AM +0400, Pavel Shilovsky wrote: > > The problem is the possibility of denial-of-service attacks here. We > can try to prevent them by: FWIW I already see a DoS 'attack'. I have some filestore shared using NFS (to Linux and Solaris) and using samba (to Windows).

Re: [RFC v3] Support volatile range for anon vma

2012-12-12 Thread Minchan Kim
On Wed, Dec 12, 2012 at 04:17:14PM +0800, Wanpeng Li wrote: > On Wed, Dec 12, 2012 at 02:43:49PM +0800, Wanpeng Li wrote: > >On Tue, Dec 11, 2012 at 11:41:04AM +0900, Minchan Kim wrote: > >>Sorry, resending with fixing compile error. :( > >> > >>>From 0cfd3b65e4e90ab59abe8a337334414f92423cad Mon

Re: [PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-12-12 Thread Viresh Kumar
On 12 December 2012 14:10, Andy Shevchenko wrote: > Will we survive if the patch is in mainline? I mean how big the impact > of it is? It doesn't fail to do fulfill its purpose and even ALL DT stuff would work well. Its just the matter of using the right API's, design and bindings :) -- To

Re: [PATCH 2/2] uio: do not expose inode to uio open/release hooks

2012-12-12 Thread Hans J. Koch
On Tue, Dec 11, 2012 at 08:46:48PM -0800, Greg KH wrote: > On Wed, Dec 12, 2012 at 02:42:22AM +0100, Hans J. Koch wrote: > > On Tue, Dec 11, 2012 at 03:20:32PM -0800, Greg KH wrote: > > > On Wed, Dec 12, 2012 at 12:12:02AM +0100, Benedikt Spranger wrote: > > > > The inode parameter is unused by in

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