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

2012-12-13 Thread Paolo Pisati
Signed-off-by: Paolo Pisati paolo.pis...@canonical.com Tested-by: Robert Nelson robertcnel...@gmail.com --- drivers/regulator/core.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index e872c8b..c347fd0

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

2012-12-13 Thread Paolo Pisati
[resent with cc: stable and a bit more context] I've been experiencing solid hangs on my beaglexm with v3.7 after kexec:

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

2012-12-13 Thread Dan Carpenter
On Tue, Dec 11, 2012 at 11:07:17AM -0800, K. Y. Srinivasan wrote: -probe_error1: +probe_error2: kthread_stop(dm_device.thread); -probe_error0: +probe_error1: vmbus_close(dev-channel); +probe_error0: + kfree(send_buffer); If you used labels that describe what the code

Re: [PATCH 1/2] drivers/w1/masters/mxc_w1.c: use devm_ functions

2012-12-13 Thread Dan Carpenter
On Wed, Dec 12, 2012 at 01:25:56AM +0400, Evgeniy Polyakov wrote: I suppose mdev will be automatically freed, but who will release mdev-clk and other private members of mdev structure? + mdev-clk = devm_clk_get(pdev-dev, NULL); -clk is now a devm pointer as well. regards, dan carpenter --

Re: epoll with ONESHOT possibly fails to deliver events

2012-12-13 Thread Eric Wong
Andreas Voellmy andreas.voel...@yale.edu wrote: Using strace, I checked that my program is using epoll api as I described. Here is a fragment of the strace output that demonstrates my use: recvfrom(161, GET / HTTP/1.1\r\nHost: 10.12.0.1:..., 90, 0, NULL, NULL) = 90 sendto(161, HTTP/1.1 200

Re: linux-next: reminder 2

2012-12-13 Thread Takashi Iwai
At Thu, 13 Dec 2012 15:32:37 +1100, Stephen Rothwell wrote: 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). What does clean up mean in this context exactly? thanks, Takashi -- To

Re: [PATCH] utilize _Static_assert() for BUILD_BUG_ON() when the compiler supports it

2012-12-13 Thread Jan Beulich
On 13.12.12 at 01:29, Daniel Santos danielfsan...@att.net wrote: Wow, it's really easy to miss parallel development on the same issue. Sorry for my late response to this thread. I started another thread addressing these issues (as well as a few others) back in September

Re: [RFCv3] perf: proposed perf_event_open() manpage

2012-12-13 Thread Michael Kerrisk (man-pages)
[CC += tglx] On Mon, Nov 26, 2012 at 7:54 AM, Vince Weaver vincent.wea...@maine.edu wrote: Hello Here is an updated version of the proposed manpage. Ingo, Peter Z., I know you're busy but would it be possible for you to give this a sanity check? This is likely to become the document that

DMAR and DRHD errors[DMAR:[fault reason 06] PTE Read access is not set] Vt-d intel_iommu

2012-12-13 Thread Jason Gao
Dear List: Description of problem: After installed Centos 6.3(RHEL6.3) on my Dell R710(lastest bios:Version: 6.3.0,Release Date: 07/24/2012) server,and updated lastest kernel 2.6.32-279.14.1.el6.x86_64,I want to use the Intel 82576 ET Dual Port nic's SR-IOV feature,assigning VFs to kvm guest

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

2012-12-13 Thread Felipe Balbi
On Thu, Dec 13, 2012 at 10:13:00AM +0100, Paolo Pisati wrote: Signed-off-by: Paolo Pisati paolo.pis...@canonical.com Tested-by: Robert Nelson robertcnel...@gmail.com please read Documentation/stable_kernel_rules.txt, you'll see this is wrong. -- balbi signature.asc Description: Digital

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

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 05:28:44PM -0500, Johannes Weiner wrote: On Wed, Dec 12, 2012 at 04:53:36PM -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 You are using some internal tree for that commit.

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

2012-12-13 Thread Vincent Guittot
On 13 December 2012 03:17, Alex Shi alex@intel.com 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

[PATCH] pwm: add Exynos PWM driver

2012-12-13 Thread Joonyoung Shim
This is PWM driver to support 4 pwm for Exynos SoCs. Also this supports device tree node. The existing s3c24xx-pwm driver has many dependence with arch specific codes and it is difficult to support device tree by static mapping of PMW memory area. Also it can't support multi pwm to one device and

Re: [PATCH v3] mmc: core: Add support for idle time BKOPS

2012-12-13 Thread Ulf Hansson
On 12 December 2012 13:32, me...@codeaurora.org wrote: Hi Ulf, Sorry for the late response. See my reply below. Thanks, Maya On Thu, December 6, 2012 2:18 am, Ulf Hansson wrote: Hi Maya, On 4 December 2012 22:17, me...@codeaurora.org wrote: Hi Ulf, Let me try to better explain:

Re: [PATCH 1/2] drivers/w1/masters/mxc_w1.c: use devm_ functions

2012-12-13 Thread Julia Lawall
On Thu, 13 Dec 2012, Dan Carpenter wrote: On Wed, Dec 12, 2012 at 01:25:56AM +0400, Evgeniy Polyakov wrote: I suppose mdev will be automatically freed, but who will release mdev-clk and other private members of mdev structure? + mdev-clk = devm_clk_get(pdev-dev, NULL); -clk is now a

Re: Read starvation by sync writes

2012-12-13 Thread Jan Kara
On Thu 13-12-12 09:43:31, Shaohua Li wrote: 2012/12/12 Jan Kara j...@suse.cz: On Wed 12-12-12 10:55:15, Shaohua Li wrote: 2012/12/11 Jan Kara j...@suse.cz: Hi, I was looking into IO starvation problems where streaming sync writes (in my case from kjournald but DIO would

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

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:34PM -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. Note that this change won't make too big of a difference for

Re: linux-next: reminder 2

2012-12-13 Thread Stephen Rothwell
Hi Takashi, On Thu, 13 Dec 2012 10:42:09 +0100 Takashi Iwai ti...@suse.de wrote: At Thu, 13 Dec 2012 15:32:37 +1100, Stephen Rothwell wrote: 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

Re: [patch 3/8] mm: vmscan: save work scanning (almost) empty LRU lists

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:35PM -0500, Johannes Weiner wrote: In certain cases (kswapd reclaim, memcg target reclaim), a fixed minimum amount of pages is scanned from the LRU lists on each iteration, to make progress. Do not make this minimum bigger than the respective LRU list size,

Re: [PATCH v4 00/23] OMAP USB Host cleanup

2012-12-13 Thread Roger Quadros
Hi Samuel Felipe, How can we proceed with this patchset? You can use the below pull request. The following changes since commit 47f46768d3a3866bff7164649dab499bf5d8ed81: Merge branch 'next/soc' into for-next (2012-12-07 16:35:14 -0800) are available in the git repository at:

Re: [patch 4/8] mm: vmscan: clarify LRU balancing close to OOM

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:36PM -0500, Johannes Weiner wrote: There are currently several inter-LRU balancing heuristics that simply get disabled when the reclaimer is at the last reclaim cycle before giving up, but the code is quite cumbersome and not really obvious. Make the heuristics

Re: [patch 5/8] mm: vmscan: improve comment on low-page cache handling

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:37PM -0500, Johannes Weiner wrote: Fix comment style and elaborate on why anonymous memory is force-scanned when file cache runs low. Signed-off-by: Johannes Weiner han...@cmpxchg.org Acked-by: Mel Gorman mgor...@suse.de -- Mel Gorman SUSE Labs -- To

Re: [PATCH v4 00/23] OMAP USB Host cleanup

2012-12-13 Thread Felipe Balbi
Hi, On Thu, Dec 13, 2012 at 12:44:22PM +0200, Roger Quadros wrote: Hi Samuel Felipe, How can we proceed with this patchset? You can use the below pull request. there are patches under arch/arm/ which need Tony's Acked-by, if we get those, then sure, go ahead ;-) -- balbi

[PATCH v4 3/3] xen-blkfront: transverse list of persistent grants safely

2012-12-13 Thread Roger Pau Monne
Use llist_for_each_entry_safe in blkif_free. Previously grants where freed while iterating the list, which lead to dereferences when trying to fetch the next item. Reported-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Konrad Rzeszutek Wilk

[PATCH v4 1/3] xen-blkback: implement safe iterator for the list of persistent grants

2012-12-13 Thread Roger Pau Monne
Change foreach_grant iterator to a safe version, that allows freeing the element while iterating. Also move the free code in free_persistent_gnts to prevent freeing the element before the rb_next call. Reported-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Roger Pau Monné

[PATCH v4 2/3] llist: add a safe version of llist_for_each_entry

2012-12-13 Thread Roger Pau Monne
Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Huang Ying ying.hu...@intel.com Cc: Konrad Rzeszutek Wilk kon...@kernel.org --- Changes since v3: * Change n to use type *, to keep the same semantics as list_for_each_entry_safe. Changes since v2: * Allow to pass a NULL node as the

Re: [PATCH 7/7] uprobes: _register() should always do register_for_each_vma(true)

2012-12-13 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-11-23 21:28:17]: To support the filtering uprobe_register() should do register_for_each_vma(true) every time the new consumer comes, we need to install the previously nacked breakpoints. Note: - uprobes_mutex[] should die, what is actually

Re: [TRIVIAL PATCH 19/26] gfs2: Convert print_symbol to %pSR

2012-12-13 Thread Steven Whitehouse
Hi, Acked-by: Steven Whitehouse swhit...@redhat.com Steve. On Wed, 2012-12-12 at 10:19 -0800, Joe Perches wrote: Use the new vsprintf extension to avoid any possible message interleaving. Signed-off-by: Joe Perches j...@perches.com --- fs/gfs2/glock.c |4 ++-- fs/gfs2/trans.c |

Re: linux-next: reminder 2

2012-12-13 Thread Takashi Iwai
At Thu, 13 Dec 2012 21:39:22 +1100, Stephen Rothwell wrote: Hi Takashi, On Thu, 13 Dec 2012 10:42:09 +0100 Takashi Iwai ti...@suse.de wrote: At Thu, 13 Dec 2012 15:32:37 +1100, Stephen Rothwell wrote: If you have a tree that is included in linux-next, please clean it up after

Re: [PATCH 3/7] uprobes: Kill the pointless inode/uc checks in register/unregister

2012-12-13 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-12-10 20:12:32]: On 12/10, Srikar Dronamraju wrote: * Oleg Nesterov o...@redhat.com [2012-11-23 21:28:06]: register/unregister verifies that inode/uc != NULL. For what? This really looks like hide the potential problem, the caller should pass

Re: [patch 6/8] mm: vmscan: clean up get_scan_count()

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:38PM -0500, Johannes Weiner wrote: Reclaim pressure balance between anon and file pages is calculated through a tuple of numerators and a shared denominator. Exceptional cases that want to force-scan anon or file pages configure the numerators and denominator

Re: [PATCH] X86/acpi: remove redundant logic of acpi memory hotadd

2012-12-13 Thread Rafael J. Wysocki
On Thursday, December 13, 2012 10:36:38 AM Jiang Liu wrote: On 2012-12-12 22:37, Liu, Jinsong wrote: Wen Congyang wrote: At 12/08/2012 06:19 AM, Rafael J. Wysocki Wrote: On Tuesday, December 04, 2012 01:39:54 AM Liu, Jinsong wrote: Resend it, add Rafael and linux-a...@vger.kernel.org

Re: [patch 7/8] mm: vmscan: compaction works against zones, not lruvecs

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:39PM -0500, Johannes Weiner wrote: The restart logic for when reclaim operates back to back with compaction is currently applied on the lruvec level. But this does not make sense, because the container of interest for compaction is a zone as a whole, not the zone

Re: [PATCH 1/2] drivers/w1/masters/mxc_w1.c: use devm_ functions

2012-12-13 Thread Dan Carpenter
On Thu, Dec 13, 2012 at 11:18:53AM +0100, Julia Lawall wrote: On Thu, 13 Dec 2012, Dan Carpenter wrote: On Wed, Dec 12, 2012 at 01:25:56AM +0400, Evgeniy Polyakov wrote: I suppose mdev will be automatically freed, but who will release mdev-clk and other private members of mdev

Re: [PATCH v3] mm: Use aligned zone start for pfn_to_bitidx calculation

2012-12-13 Thread Mel Gorman
On Thu, Dec 06, 2012 at 01:11:41PM -0800, Laura Abbott wrote: The current calculation in pfn_to_bitidx assumes that (pfn - zone-zone_start_pfn) pageblock_order will return the same bit for all pfn in a pageblock. If zone_start_pfn is not aligned to pageblock_nr_pages, this may not always be

[PATCH 0/3] pinctrl: exynos: add support for Samsung's Exynos5250

2012-12-13 Thread Thomas Abraham
This patch series adds pinctrl driver support for Samsung's Exynos5250 SoC. The first patch adds the required Exynos5250 SoC specific data which is used by the Samsung pinctrl driver to setup the pinctrl/pinmux/eint controllers. The second and third patches skips the wakeup interrupt and gpiolib

[PATCH 1/3] pinctrl: exynos: add exynos5250 SoC specific data

2012-12-13 Thread Thomas Abraham
Add Samsung Exynos5250 SoC specific data to enable pinctrl support for all platforms based on Exynos5250. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/pinctrl/pinctrl-exynos.c | 108 + drivers/pinctrl/pinctrl-samsung.c |2 +

[PATCH 2/3] gpio: samsung: skip gpiolib registration if pinctrl support is enabled for exynos5250

2012-12-13 Thread Thomas Abraham
Skip exynos5250 gpiolib registration if pinctrl support for exynos5250 is enabled. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/gpio/gpio-samsung.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpio/gpio-samsung.c

Re: A typo about kernelcore= ?

2012-12-13 Thread Mel Gorman
On Fri, Dec 07, 2012 at 10:48:56PM -0800, anish kumar wrote: On Fri, 2012-12-07 at 15:02 +0800, Han Pingtian wrote: Hi there, I'm wondering this is a typo in Documentation/kernel-parameters.txt about kernelcore=: In the event, a node is too small to have both

Re: [PATCH 1/2] drivers/w1/masters/mxc_w1.c: use devm_ functions

2012-12-13 Thread Julia Lawall
On Thu, 13 Dec 2012, Dan Carpenter wrote: On Thu, Dec 13, 2012 at 11:18:53AM +0100, Julia Lawall wrote: On Thu, 13 Dec 2012, Dan Carpenter wrote: On Wed, Dec 12, 2012 at 01:25:56AM +0400, Evgeniy Polyakov wrote: I suppose mdev will be automatically freed, but who will release

[PATCH 3/3] arm: exynos: skip wakeup interrupt registration for exynos5250 if pinctrl is enabled

2012-12-13 Thread Thomas Abraham
Skip the wakeup interrupt registration for Exynos5250 if pinctrl support is enabled for Exynos5250. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/common.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/common.c

Re: [PATCH v2 07/10] mtd: nand/gpio: use io{read,write}*_rep accessors

2012-12-13 Thread Artem Bityutskiy
On Mon, 2012-12-10 at 19:12 +, Will Deacon wrote: From: Matthew Leach matt...@mattleach.net The {read,write}s{b,w,l} operations are not defined by all architectures and are being removed from the asm-generic/io.h interface. This patch replaces the usage of these string functions in

Re: [PATCH] block2mtd: throttle writes by calling balance_dirty_pages_ratelimited.

2012-12-13 Thread Artem Bityutskiy
On Wed, 2012-12-12 at 19:32 +1100, NeilBrown wrote: 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

Re: [Xen-devel] [PATCH V4] xen/privcmd: improve-performance-of-mapping-of-guest

2012-12-13 Thread Vasiliy Tolstov
If i apply this patch to kernel 3.6.7 does it needs to apply another patches to work? 2012/12/13 Mats Petersson mats.peters...@citrix.com: One comment asked for more details on the improvements: Using a small test program to map Guest memory into Dom0 (repeatedly for Iterations mapping the

vfs: Remove useless function prototypes

2012-12-13 Thread Alessio Igor Bogani
Commit 8e22cc88d68ca1a46d7d582938f979eb640ed30f removes the (un)lock_super function definitions but forgets to remove their prototypes. Signed-off-by: Alessio Igor Bogani abog...@kernel.org --- include/linux/fs.h |4 1 file changed, 4 deletions(-) diff --git a/include/linux/fs.h

Re: [Xen-devel] [PATCH V4] xen/privcmd: improve-performance-of-mapping-of-guest

2012-12-13 Thread Mats Petersson
On 13/12/12 11:27, Vasiliy Tolstov wrote: If i apply this patch to kernel 3.6.7 does it needs to apply another patches to work? No, it should just work. Obviously, if it doesn't, let me know. -- Mats 2012/12/13 Mats Petersson mats.peters...@citrix.com: One comment asked for more details on

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

2012-12-13 Thread Borislav Petkov
On Thu, Dec 13, 2012 at 11:07:43AM +0800, Alex Shi wrote: 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.

Re: [PATCH 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-13 Thread Rafael J. Wysocki
On Wednesday, December 12, 2012 06:00:03 PM Bjorn Helgaas wrote: On Sun, Dec 9, 2012 at 4:00 PM, Rafael J. Wysocki r...@sisk.pl wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Currently, as soon as an ACPI device node object (struct acpi_device) is created, the driver core

Re: [PATCH 0/6] ACPI: Change the ACPI namespace scanning code ordering

2012-12-13 Thread Yijing Wang
Hi rafael, I tested the pachset in our IA64 machine, system boot up log seems ok, but when do IOH hot plug, there are two small problems that missing match and start acpi devices for the top acpi device(eg. pci host bridge), refer https://lkml.org/lkml/2012/12/12/268. Test Machine: IA64,2

Re: [PATCH 02/12] regulator: gpio-regulator: Only read GPIO [dis|en]able pin if not always-on

2012-12-13 Thread Lee Jones
On Mon, 10 Dec 2012, Mark Brown wrote: On Mon, Dec 10, 2012 at 08:55:51AM +, Lee Jones wrote: If a regulator is specified as always-on, then it can't have an enable/disable pin, as it can't be turned off. Sometimes always on gets set for regulators which do have a physical control

[GIT PULL] s390 patches for the 3.8 merge window #1

2012-12-13 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Add support to generate code for the latest machine zEC12, MOD and XOR instruction support for the BPF jit compiler, the dasd

Re: [RFC PATCH 01/10] s390/pci: base support

2012-12-13 Thread Jan Glauber
On Mon, 2012-12-10 at 14:14 -0700, Bjorn Helgaas wrote: On Wed, Nov 14, 2012 at 2:41 AM, Jan Glauber j...@linux.vnet.ibm.com wrote: Add PCI support for s390, (only 64 bit mode is supported by hardware): - PCI facility tests - PCI instructions: pcilg, pcistg, pcistb, stpcifc, mpcifc, rpcit

Re: [PATCH] leds-ot200: Fix error caused by shifted mask

2012-12-13 Thread Christian Gmeiner
During the development of this driver an in-house register documentation was used. The last weeks some integration tests were done and this problem was found. It turned out that the released register documentation is wrong. The fix is very simple: shift all masks by one. Signed-off-by:

Re: [PATCH 01/12] regulator: gpio-regulator: Demote GPIO Regulator driver to start later

2012-12-13 Thread Lee Jones
On Mon, 10 Dec 2012, Mark Brown wrote: On Mon, Dec 10, 2012 at 02:28:36PM +, Lee Jones wrote: On Mon, 10 Dec 2012, Mark Brown wrote: This really isn't a good solution, especially not for a system that's DT based - on a DT system we can tell if there should be a GPIO present so

[PATCH] input: add MELFAS mms144 touchscreen driver

2012-12-13 Thread Nikolay Epifanov
This is an initial driver for MELFAS touchscreen chip mms144. Signed-off-by: Nikolay Epifanov nik.epifa...@gmail.com --- I don't know whether single driver could be used for both mms114 and mms144. Couldn't find datasheets for any of them. There are two firmwares available under redistribution

[ANNOUNCE] util-linux v2.22.2

2012-12-13 Thread Karel Zak
The util-linux release v2.22.2 is available at ftp://ftp.kernel.org/pub/linux/utils/util-linux/2.22 Feedback and bug reports, as always, are welcomed. Karel util-linux 2.22.2 Release Notes === Changes since v2.22.1 - For more details see

Re: [RFC GIT PULL] Nuke 386-DX/SX support changes for v3.8

2012-12-13 Thread Thorsten Glaser
H. Peter Anvin hpa at zytor.com writes: On 12/12/2012 10:04 AM, Linus Torvalds wrote: Or do people still use the 486SX? There were a *bunch* of embedded 486 clones made, some still in production as far as I know, and I wouldn't be surprised if some of them lacked FPU. I guess we'll

Re: [PATCH 2/6] ACPI: Change the ordering of PCI root bridge driver registrarion

2012-12-13 Thread Rafael J. Wysocki
On Wednesday, December 12, 2012 06:00:19 PM Bjorn Helgaas wrote: On Sun, Dec 9, 2012 at 4:00 PM, Rafael J. Wysocki r...@sisk.pl wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Devices created by acpi_create_platform_device() sometimes may need to be added to the device hierarchy

Re: [PATCH 6/6] ACPI: Change the ordering of acpi_bus_check_add()

2012-12-13 Thread Rafael J. Wysocki
On Wednesday, December 12, 2012 06:00:28 PM Bjorn Helgaas wrote: On Sun, Dec 9, 2012 at 4:04 PM, Rafael J. Wysocki r...@sisk.pl wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com If acpi_bus_check_add() is called for a handle already having an existing struct acpi_device object

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

2012-12-13 Thread Zhi Yong Wu
On Thu, Dec 13, 2012 at 3:50 AM, Darrick J. Wong darrick.w...@oracle.com wrote: On Mon, Dec 10, 2012 at 11:30:03AM +0800, Zhi Yong Wu wrote: HI, all guys. any comments or suggestions? Why did ffsb drop from 924 transactions/sec to 322? It is maybe that some noise operations impact on it. I

Re: [RFC GIT PULL] Nuke 386-DX/SX support changes for v3.8

2012-12-13 Thread Bernd Petrovitsch
On Mit, 2012-12-12 at 11:00 -0800, H. Peter Anvin wrote: [...] There were a *bunch* of embedded 486 clones made, some still in production as far as I know, and I wouldn't be surprised if some of them lacked FPU. I guess we'll see. And there is an x86 emulator written in Javascript at

Re: [PATCH] core_pattern: set core helpers root and namespace to crashing process

2012-12-13 Thread Serge Hallyn
Quoting Neil Horman (nhor...@tuxdriver.com): Theres one problem I currently see with it, and that is that I'm not sure we can change the current behavior of how the root fs is set for the pipe reader, lest we break some user space expectations. As such, I've added a sysctl in this patch to

Re: [PATCH 1/1] pwm: atmel: add Timer Counter Block PWM driver

2012-12-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:45 Thu 06 Dec , Boris BREZILLON wrote: Add TCB PWM driver. Add device tree binding. Signed-off-by: Boris BREZILLON linux-...@overkiz.com -- create mode 100644 Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt create mode 100644 drivers/pwm/pwm-atmel-tcb.c diff --git

Re: Read starvation by sync writes

2012-12-13 Thread Jan Kara
On Wed 12-12-12 14:41:13, Jeff Moyer wrote: Jeff Moyer jmo...@redhat.com writes: I agree. This isn't about scheduling, we haven't even reached that part yet. Back when we split the queues into read vs write, this problem obviously wasn't there. Now we have sync writes and reads, both

Re: [ANNOUNCE] util-linux v2.22.2

2012-12-13 Thread Karel Zak
On Thu, Dec 13, 2012 at 01:08:18PM +0100, Karel Zak wrote: The util-linux release v2.22.2 is available at ftp://ftp.kernel.org/pub/linux/utils/util-linux/2.22 The correct link is: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.22/ Karel -- Karel Zak k...@redhat.com

Re: [Xen-devel] [PATCH V4] xen/privcmd: improve-performance-of-mapping-of-guest

2012-12-13 Thread Vasiliy Tolstov
Thanks, i'm try. 2012/12/13 Mats Petersson mats.peters...@citrix.com: On 13/12/12 11:27, Vasiliy Tolstov wrote: If i apply this patch to kernel 3.6.7 does it needs to apply another patches to work? No, it should just work. Obviously, if it doesn't, let me know. -- Mats 2012/12/13 Mats

[btrfs] is vulnerable to a hash-DoS attack

2012-12-13 Thread Pascal Junod
Hello folk, The btrfs file system, part of the linux kernel, is vulnerable to a trivial hash-DoS attack. More details can be found here: http://crypto.junod.info/2012/12/13/hash-dos-and-btrfs/ Enjoy! Pascal Junod -- http://crypto.junod.info @cryptopathe -- To unsubscribe from this list: send

Re: [PATCH 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-13 Thread Jiang Liu
On 12/13/2012 06:32 AM, Rafael J. Wysocki wrote: On Thursday, December 13, 2012 12:38:01 AM Jiang Liu wrote: On 12/10/2012 07:00 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Currently, as soon as an ACPI device node object (struct acpi_device) snip @@

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

2012-12-13 Thread Ashish Jangam
(This rtc patch is resend for merge) --- This is the RTC patch for the DA9055 PMIC. This patch has got dependency on the DA9055 MFD core. This patch is functionally tested on Samsung SMDKV6410. Signed-off-by: David Dajun Chen dc...@diasemi.com Signed-off-by: Ashish Jangam

[PATCH 01/14] perf diff: Use internal rb tree for hists__precompute

2012-12-13 Thread Jiri Olsa
There's missing change for hists__precompute to iterate either entries_collapsed or entries_in tree. The change was initiated for hists_compute_resort function in commit: 2a2d3ce perf diff: Use internal rb tree for compute resort but was missing for hists__precompute function changes.

[PATCH 02/14] perf hists: Rename hist_entry__add_pair arguments

2012-12-13 Thread Jiri Olsa
The current logic is to attach pair to the leader hist_entry. Arguments of hist_entry__add_pair function were placed the other way round.. driving me crazy. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc:

[PATCH 06/14] perf diff: Switching the base hists to be pairs head

2012-12-13 Thread Jiri Olsa
Making the baseline hists to act as a pairs head. So far we don't care which hists act as a pairs head, because we have only 2 files to deal with and any of them is suitable to do the job. But if we want to process more files, we need to pick up one hists to act as pairs head, and the baseline

[PATCH 08/14] perf diff: Display data file info ahead of the diff output

2012-12-13 Thread Jiri Olsa
Data files are referenced through the index of the file on the command line. Adding list of data files for each index to ease up navigation for user. It's displayed only if in verbose mode. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter

[PATCH 09/14] perf diff: Move diff related columns into diff command

2012-12-13 Thread Jiri Olsa
Moving diff related columns into diff command, because they are not used by any other command. Also moving the column entry functions under generic one with baseline as an exception. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra

[PATCH 07/14] perf hists: Marking dummy hists entries

2012-12-13 Thread Jiri Olsa
It does not make sense to make some computation (ratio, wdiff), when the hist_entry is 'dummy' - added via hists__link. Adding dummy field to struct hist_entry which indicates that it was added by hists__link and avoiding some of the processing for such entries. Signed-off-by: Jiri Olsa

[PATCH 11/14] perf diff: Change diff command to work over multiple data files

2012-12-13 Thread Jiri Olsa
Adding diff command the flexibility to specify multiple data files on input. If not input file is given the standard behaviour stands and diff inspects 'perf.data' and 'perf.data.old' files. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter

[PATCH 04/14] perf tools: Centralize default columns init in perf_hpp__init

2012-12-13 Thread Jiri Olsa
Now when diff command is separated from other standard outputs, we can use perf_hpp__init to initialize all standard columns. Moving PERF_HPP__OVERHEAD column init back to perf_hpp__init, and removing extra enable calls. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo

[PATCH 03/14] perf tools: Add struct perf_hpp_fmt into hpp callbacks

2012-12-13 Thread Jiri Olsa
Adding 'struct perf_hpp_fmt' into hpp callbacks, so commands can access their private data. It'll be handy for diff command in future to be able to access file related data for each column. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter

[PATCH 05/14] perf diff: Introducing diff_data object to hold files

2012-12-13 Thread Jiri Olsa
Introducing struct diff_data to hold data file specifics. It will be handy when dealing with more than 2 data files. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul

[PATCH 00/14] perf, diff: multiple perf.data file support

2012-12-13 Thread Jiri Olsa
hi, adding support to display diff for more than 2 perf.data files. The basic idea is describe in the initial RFC in here: https://lkml.org/lkml/2012/11/28/200 It's rebased on current Arnaldo's perf core with Namhyung's changes. Attached patches: 01/14 perf diff: Use internal rb tree for

Re: [PATCH 00/14] perf, diff: multiple perf.data file support

2012-12-13 Thread Jiri Olsa
On Thu, Dec 13, 2012 at 02:08:58PM +0100, Jiri Olsa wrote: hi, adding support to display diff for more than 2 perf.data files. The basic idea is describe in the initial RFC in here: https://lkml.org/lkml/2012/11/28/200 It's rebased on current Arnaldo's perf core with Namhyung's changes.

Re: [PATCH 3/7] uprobes: Kill the pointless inode/uc checks in register/unregister

2012-12-13 Thread Oleg Nesterov
On 12/13, Srikar Dronamraju wrote: * Oleg Nesterov o...@redhat.com [2012-12-10 20:12:32]: On 12/10, Srikar Dronamraju wrote: * Oleg Nesterov o...@redhat.com [2012-11-23 21:28:06]: register/unregister verifies that inode/uc != NULL. For what? This really looks like hide the

[PATCH 1/8] Functionality add and bug-fixes related to MMCI regulators

2012-12-13 Thread Lee Jones
The main purpose of this patch-set is to move the MMCI's secondary (platform specific) regulator implementation out of platform code and into use the regulator frame-work. A few bugs were encountered along the way, so we've fixed those too and bundled them in for completeness.

[PATCH 1/8] mmc: mmci: Move ios_handler functionality into the driver

2012-12-13 Thread Lee Jones
There are currently two instances of the ios_handler being used. Both of which mearly toy with some regulator settings. Now there is a GPIO regulator API, we can use that instead, and lessen the per platform burden. By doing this, we also become more Device Tree compatible. Cc: Chris Ball

[PATCH 5/8] ARM: ux500: Use the correct name when supplying a GPIO enable pin

2012-12-13 Thread Lee Jones
Correct a typo in the Device Tree source file, where instead of specifying property 'enable-gpio', which the driver is expecting we specified 'gpio-enable' instead. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/hrefprev60.dts

[PATCH 7/8] ARM: ux500: Use the GPIO regulator framework for SDI0's 'en' and 'vsel'

2012-12-13 Thread Lee Jones
To prevent lots of unnecessary call-backs into platform code, we're now using the GPIO regulator framework to control the 'enable' (en) and 'voltage select' (vsel) GPIO pins which in turn control the MMCI's secondary regulator settings. This already works with Device Tree, but when booting with

[PATCH 2/8] ARM: ux500: Set correct MMCI regulator voltages in the ux5x0 Device Tree

2012-12-13 Thread Lee Jones
Correct the voltage specified by the mmci regulator node in Device Tree. Despite the MMC subsystem insisting on v3.3, we actually only offer v2.9, and not v2.6 which must have actually been a typo. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org ---

[PATCH 8/8] ARM: ux500: Remove traces of the ios_handler from platform code

2012-12-13 Thread Lee Jones
Now MMCI on/off functionality is using the regulator framework from the MMCI driver, there is no need to keep the ios_handler laying around, duplicating functionality. So we're removing it. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org ---

[PATCH 6/8] ARM: ux500: Setup correct settling time for the MMCI regulator

2012-12-13 Thread Lee Jones
The GPIO controlled MMCI regulator used on the ux5x0 boards takes 100us to settle. There's already a binding to provide such information. Let's make use of it. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/dbx5x0.dtsi |1

[PATCH 4/8] ARM: ux500: Specify which IOS regulator to use for MMCI

2012-12-13 Thread Lee Jones
In an effort to move platform specific GPIO controlled regulators out from platform code we've created a new mechanism to specify them from within the MMCI driver using the supply name 'vmmc-ios'. For that to happen when booting device tree, we need to supply it in the MMCI (SDI) node. Acked-by:

[PATCH 3/8] ARM: ux500: Specify the ux5x0 MMCI regulator's on/off GPIO as high-enable

2012-12-13 Thread Lee Jones
If not specified, the GPIO control bit is inverted by default i.e. low-enable and high-disable. This is not the case with the MMCI regulator, hence it will turn on during a disable and off when regulator_enable() is invoked. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee

RE: [PATCH] X86/acpi: remove redundant logic of acpi memory hotadd

2012-12-13 Thread Liu, Jinsong
Rafael J. Wysocki wrote: On Thursday, December 13, 2012 10:36:38 AM Jiang Liu wrote: On 2012-12-12 22:37, Liu, Jinsong wrote: Wen Congyang wrote: At 12/08/2012 06:19 AM, Rafael J. Wysocki Wrote: On Tuesday, December 04, 2012 01:39:54 AM Liu, Jinsong wrote: Resend it, add Rafael and

Re: Read starvation by sync writes

2012-12-13 Thread Jens Axboe
On 2012-12-12 20:41, Jeff Moyer wrote: Jeff Moyer jmo...@redhat.com writes: I agree. This isn't about scheduling, we haven't even reached that part yet. Back when we split the queues into read vs write, this problem obviously wasn't there. Now we have sync writes and reads, both eating from

Re: [BUG] ftrace: available_filter_functions empty after unloading module

2012-12-13 Thread Steven Rostedt
On Mon, 2012-12-10 at 12:45 +0100, Piotr Haber wrote: So you unloaded a module that you were tracing, correct? Hmm, the warning that you hit was an accounting error. The accounting of what functions are traced and what isn't. For some reason it tried to disable a function that wasn't

[PATCH] pinctrl/nomadik: Add Device Tree support

2012-12-13 Thread Linus Walleij
From: Gabriel Fernandez gabriel.fernan...@stericsson.com This implements pin multiplexing and pin configuration for the Nomadik pin controller using the device tree. Cc: Lee Jones lee.jo...@linaro.org Cc: devicetree-disc...@lists.ozlabs.org Signed-off-by: Gabriel Fernandez

[PATCH] subsystem: proc filesystem

2012-12-13 Thread tux2002
This patch strengthens file permissions of pid record in proc filesystem. When pid and pidentry records created, his permissions strengthens by creator umask. ./scripts/get_maintainer.pl: No supported VCS found. Add --nogit to options? Using a git repository produces better results. Try

Re: [PATCH 00/49] Automatic NUMA Balancing v10

2012-12-13 Thread Srikar Dronamraju
* Mel Gorman mgor...@suse.de [2012-12-07 10:23:03]: This is a full release of all the patches so apologies for the flood. V9 was just a MIPS build fix and did not justify a full release. V10 includes Ingo's scalability patches because even though they increase system CPU usage, they also

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

2012-12-13 Thread Michal Hocko
On Thu 13-12-12 11:39:17, Jianguo Wu wrote: 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

Re: [PATCH] USB: adds support for Novatek wireless mouse to usbhid

2012-12-13 Thread Jiri Kosina
On Wed, 12 Dec 2012, draekko.dev wrote: I followed what was listed here http://www.kernel.org/doc/Documentation/SubmittingPatches You did not completely. That document references http://www.kernel.org/doc/Documentation/email-clients.txt and that clearly states that you can't use

[PATCH 001/241] gpio-timberdale: fix a potential wrapping issue

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter dan.carpen...@oracle.com commit d79550a7bc35c16476ebdc27c78378d8093390ec upstream. -last_ier is an unsigned long but the high bits can't be used int the original code because

<    4   5   6   7   8   9   10   11   12   13   >