[PATCH v5] x86: Enable fast strings on Intel if BIOS hasn't already

2013-04-30 Thread Andy Lutomirski
From: Andrew Lutomirski Intel SDM volume 3A, 8.4.2 says: Software can disable fast-string operation by clearing the fast-string-enable bit (bit 0) of IA32_MISC_ENABLE MSR. However, Intel recomments that system software always enable fast-string operation. The Intel DQ67SW board (with

Re: [PATCH 2/3] mm: Ensure that mark_page_accessed moves pages to the active list

2013-04-30 Thread Sam Ben
Hi Mel, On 04/30/2013 12:31 AM, Mel Gorman wrote: If a page is on a pagevec then it is !PageLRU and mark_page_accessed() may fail to move a page to the active list as expected. Now that the LRU is selected at LRU drain time, mark pages PageActive if they are on a pagevec so it gets moved to the

Re: [PATCH 2/5] Add aix lvm partitions support files

2013-04-30 Thread Philippe De Muyter
On Tue, Apr 30, 2013 at 09:18:40AM +0200, Philippe De Muyter wrote: > On Tue, Apr 30, 2013 at 09:08:40AM +0200, Philippe De Muyter wrote: > > On Mon, Apr 29, 2013 at 11:50:51PM +0200, Philippe De Muyter wrote: > > > On Mon, Apr 29, 2013 at 01:40:41PM +0200, Philippe De Muyter wrote: > > > > On

Re: [PATCH] modpost.c: Add .text.unlikely to TEXT_SECTIONS

2013-04-30 Thread Rusty Russell
Tom Rini writes: > On 04/28/2013 10:59 PM, Rusty Russell wrote: >> Tom Rini writes: >> >>> Recent gcc's may place functions into the .text.unlikely section and we >>> need to check this section as well for section mismatches now otherwise >>> we may have false negatives for this test. >> >>

Re: [PATCH 0/2] Early printk support for virtio console devices.

2013-04-30 Thread Rusty Russell
Alexander Graf writes: > There are not device specific registers in > virtio-console. Virtio-console lives behind a virtio bus which doesn't > know what these registers are. You're not going to make coherent arguments without reading that actual patch we're discussing. And you're going to just

Re: [ 02/42] TTY: do not update atime/mtime on read/write

2013-04-30 Thread Jiri Slaby
On 05/01/2013 03:41 AM, Linus Torvalds wrote: > On Tue, Apr 30, 2013 at 5:57 PM, Linus Torvalds > wrote: >> >> Patch is whitespace-damaged and totally untested! Caveat applicator. > > Ok, so it's still whitespace-damaged, but it seems to work. The > appended has the "8 second rule" too.. > >

linux-next: manual merge of the block tree with Linus' tree

2013-04-30 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in include/linux/blk_types.h between commit 713685111774 ("mm: make snapshotting pages for stable writes a per-bio operation") from the tree and commit a38352e0ac02 ("block: Add an explicit bio flag for bios that own their bvec")

Re: [RFC PATCH] drivers: power: Add watchdog timer to catch drivers which lockup during suspend.

2013-04-30 Thread Colin Cross
On Tue, Apr 30, 2013 at 9:57 PM, anish singh wrote: > > > > On Wed, May 1, 2013 at 10:09 AM, Colin Cross wrote: >> >> On Tue, Apr 30, 2013 at 9:17 PM, Greg Kroah-Hartman >> wrote: >> > On Tue, Apr 30, 2013 at 08:36:21PM -0700, Colin Cross wrote: >> >> On Tue, Apr 30, 2013 at 4:30 PM, Greg

[GIT PULL] ext4 updates for 3.10

2013-04-30 Thread Theodore Ts'o
The following changes since commit 8cde7ad17e4f4ff8d12ff60dd09c0a291cb0b61c: ext4: fix big-endian bugs which could cause fs corruptions (2013-04-03 12:37:17 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus

Re: linux-next: manual merge of the vfs tree with the powerpc tree

2013-04-30 Thread Al Viro
On Wed, May 01, 2013 at 10:31:33AM +0530, Vasant Hegde wrote: > On 05/01/2013 07:36 AM, Stephen Rothwell wrote: > >Hi Al, > > > >Today's linux-next merge of the vfs tree got a conflict in > >arch/powerpc/kernel/rtas_flash.c between commit fb4696c39573 > >("powerpc/rtas_flash: Fix bad memory

Re: [PATCH 2/2] Make batch size for memory accounting configured according to size of memory

2013-04-30 Thread Ric Mason
Hi Tim, On 04/30/2013 01:12 AM, Tim Chen wrote: Currently the per cpu counter's batch size for memory accounting is configured as twice the number of cpus in the system. However, for system with very large memory, it is more appropriate to make it proportional to the memory size per cpu in the

[PATCH] cpufreq: cpu0: Free parent node for error cases

2013-04-30 Thread Viresh Kumar
We are freeing parent node in success cases but not in failure cases. Lets do it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq-cpu0.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/cpufreq/cpufreq-cpu0.c b/drivers/cpufreq/cpufreq-cpu0.c

Re: linux-next: manual merge of the vfs tree with the powerpc tree

2013-04-30 Thread Vasant Hegde
On 05/01/2013 07:36 AM, Stephen Rothwell wrote: Hi Al, Today's linux-next merge of the vfs tree got a conflict in arch/powerpc/kernel/rtas_flash.c between commit fb4696c39573 ("powerpc/rtas_flash: Fix bad memory access") from the powerpc tree and commits ad18a364f186 ("powerpc/rtas_flash: Free

Re: [PATCH 0/2] Early printk support for virtio console devices.

2013-04-30 Thread Anup Patel
On Wed, May 1, 2013 at 5:56 AM, Alexander Graf wrote: > > On 30.04.2013, at 02:32, Rusty Russell wrote: > >> Alexander Graf writes: >>> Am 29.04.2013 um 05:09 schrieb Rusty Russell : >>> Alexander Graf writes: > On 26.04.2013, at 13:04, Pranavkumar Sawargaonkar wrote: > >> This

Re: [PATCH 1/2] Make the batch size of the percpu_counter configurable

2013-04-30 Thread Simon Jeons
Hi Tim, On 04/30/2013 01:12 AM, Tim Chen wrote: Currently, there is a single, global, variable (percpu_counter_batch) that controls the batch sizes for every 'struct percpu_counter' on the system. However, there are some applications, e.g. memory accounting where it is more appropriate to scale

mips; boot fail after merge 3.9+

2013-04-30 Thread EUNBONG SONG
Hello. After merge cavium board boots fail, boot log messages are as follows. I enabled initcall_debug for debugging. [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpuacct [0.00] Linux version 3.9.0+ (ebsong@ubi) (gcc version 4.4.1

[git pull] signal.git, first pile

2013-04-30 Thread Al Viro
Mostly about syscall wrappers this time; there will be another pile with patches in the same general area from various people, but I'd rather push those after both that and vfs.git pile are in. Please, pull from git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal for-linus Shortlog: Al

[PATCH] clk: Fix race condition between clk_set_parent and clk_enable()

2013-04-30 Thread Saravana Kannan
Without this patch, the following race conditions are possible. Race condition 1: * clk-A has two parents - clk-X and clk-Y. * All three are disabled and clk-X is current parent. * Thread A: clk_set_parent(clk-A, clk-Y). * Thread A: * Thread A: Grabs enable lock. * Thread A: Sees enable count of

Re: [RFC PATCH] drivers: power: Add watchdog timer to catch drivers which lockup during suspend.

2013-04-30 Thread Colin Cross
On Tue, Apr 30, 2013 at 9:17 PM, Greg Kroah-Hartman wrote: > On Tue, Apr 30, 2013 at 08:36:21PM -0700, Colin Cross wrote: >> On Tue, Apr 30, 2013 at 4:30 PM, Greg Kroah-Hartman >> wrote: >> > On Tue, Apr 30, 2013 at 03:28:33PM -0700, Zoran Markovic wrote: >> >> From: Benoit Goby >> >> >> >>

Re: [PATCH v3] f2fs: use f2fs_iget_nowait again

2013-04-30 Thread Jaegeuk Kim
change log from v2: o slighly change the previous approach From 42e49df33bacafc20434e39fc127c9722c9f8691 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Tue, 30 Apr 2013 11:33:27 +0900 Subject: [PATCH] f2fs: avoid deadlock during evict after f2fs_gc Cc: linux-fsde...@vger.kernel.org,

Re: Abysmal HDD/USB write speed after sleep on a UEFI system

2013-04-30 Thread Robert Hancock
On 04/29/2013 10:47 PM, Bjorn Helgaas wrote: On Sat, Apr 27, 2013 at 4:10 AM, Artem S. Tashkinov wrote: Did this problem ever get resolved? Hello, Unfortunately, no. Out of curiosity I've tried booting kernel 3.9-rc8 in EUFI mode but it exhibits the same problem. Right after the boot:

Re: [RFC PATCH] drivers: power: Add watchdog timer to catch drivers which lockup during suspend.

2013-04-30 Thread Greg Kroah-Hartman
On Tue, Apr 30, 2013 at 08:36:21PM -0700, Colin Cross wrote: > On Tue, Apr 30, 2013 at 4:30 PM, Greg Kroah-Hartman > wrote: > > On Tue, Apr 30, 2013 at 03:28:33PM -0700, Zoran Markovic wrote: > >> From: Benoit Goby > >> > >> Below is a patch from android kernel that detects a driver suspend > >>

Re: [PATCH RESEND v5] fat: editions to support fat_fallocate

2013-04-30 Thread Namjae Jeon
2013/4/29, OGAWA Hirofumi : > Namjae Jeon writes: > Hi OGAWA. > I couldn't review fully though. > >> +if (mmu_private_ideal < MSDOS_I(inode)->mmu_private && >> +filp->f_dentry->d_count == 1) >> +fat_truncate_blocks(inode, inode->i_size); > > Hm, why d_count == 1 check is

Re: [RFC PATCH] drivers: power: Add watchdog timer to catch drivers which lockup during suspend.

2013-04-30 Thread Colin Cross
On Tue, Apr 30, 2013 at 5:30 PM, Pavel Machek wrote: > Hi! > >> Below is a patch from android kernel that detects a driver suspend >> lockup and captures dump in the kernel log. Please review and provide >> comments. >> >> Rather than hard-lock the kernel, dump the suspend thread stack and >>

Re: [RFC PATCH] drivers: power: Add watchdog timer to catch drivers which lockup during suspend.

2013-04-30 Thread Colin Cross
On Tue, Apr 30, 2013 at 4:30 PM, Greg Kroah-Hartman wrote: > On Tue, Apr 30, 2013 at 03:28:33PM -0700, Zoran Markovic wrote: >> From: Benoit Goby >> >> Below is a patch from android kernel that detects a driver suspend >> lockup and captures dump in the kernel log. Please review and provide >>

Re: [RFC PATCH] power: Add option to log time spent in suspend

2013-04-30 Thread Colin Cross
On Tue, Apr 30, 2013 at 5:29 PM, Pavel Machek wrote: > Hi! > >> From: Colin Cross >> >> Below is a patch from android kernel that maintains a histogram of >> suspend times. Please review and provide feedback. >> >> Prints the time spent in suspend in the kernel log, and keeps statistics >> on

Re: linux-next: manual merge of the v4l-dvb tree with the i2c tree

2013-04-30 Thread Stephen Rothwell
Hi all, On Wed, 3 Apr 2013 12:12:57 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the v4l-dvb tree got a conflict in > drivers/media/pci/bt8xx/bttv-input.c between commit bf51a8c5e0b6 ("i2c: > Ignore return value of i2c_del_adapter()") from the i2c tree and commit > 457ba4ce4f43

[ANNOUNCE] 3.0.75-rt102

2013-04-30 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.0.75-rt102 stable release. This release is just an update to the new stable 3.0.75 version and no RT specific changes have been made. You can get this release via the git tree at:

[ANNOUNCE] 3.4.42-rt56

2013-04-30 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.42-rt56 stable release. This release is just an update to the new stable 3.4.42 version and no RT specific changes have been made. You can get this release via the git tree at:

[ANNOUNCE] 3.2.44-rt64

2013-04-30 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.44-rt64 stable release. This release is just an update to the new stable 3.2.44 version and no RT specific changes have been made. You can get this release via the git tree at:

Re: OOM-killer and strange RSS value in 3.9-rc7

2013-04-30 Thread Will Huck
Hi Christoph, On 04/29/2013 10:49 PM, Christoph Lameter wrote: On Sat, 27 Apr 2013, Will Huck wrote: Hi Christoph, On 04/26/2013 01:17 AM, Christoph Lameter wrote: On Thu, 25 Apr 2013, Han Pingtian wrote: I have enabled "slub_debug" and here is the /sys/kernel/slab/kmalloc-512/alloc_calls

Re: [PULL] apparmor update

2013-04-30 Thread James Morris
On Sun, 28 Apr 2013, John Johansen wrote: > Hi James, > > Please pull these apparmor changes for 3.10 (or after is fine as I know > these are running late for the -security window) Yep -- patches need to be in -next for at least a week before the merge window. I suggest getting you pull

Re: [GIT] Security subsystem updates for 3.10

2013-04-30 Thread James Morris
On Tue, 30 Apr 2013, Linus Torvalds wrote: > On Sun, Apr 28, 2013 at 7:48 PM, James Morris wrote: > > > > Note: I can't figure out why the patch from Lai Jiangshan shows up twice > > in the shortlog. Everything checks out otherwise. > > Because you applied it twice. in two different branches.

linux-next: build failure after merge of the vfs tree

2013-04-30 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: net/sunrpc/auth_gss/svcauth_gss.c: In function 'write_gssp': net/sunrpc/auth_gss/svcauth_gss.c:1329:9: error: implicit declaration of function 'PDE' [-Werror=implicit-function-declaration]

linux-next: manual merge of the vfs tree with Linus' tree

2013-04-30 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in fs/proc/internal.h between commit db3808c1bac6 ("mm, vmalloc: move get_vmalloc_info() to vmalloc.c") from Linus' tree and commit ae8970dd9ccb ("proc: Move non-public stuff from linux/proc_fs.h to fs/proc/internal.h") from the vfs

[GIT PULL] Hexagon arch fixes

2013-04-30 Thread rkuo
Hello Linus, Please pull the following changes for the Hexagon architecture (and one touching OpenRISC). They include various fixes to make use of additional arch features and cleanups. The largest functional change is a cleanup of the signal and event return paths. Thanks, Richard Kuo The

linux-next: manual merge of the vfs tree with the powerpc tree

2013-04-30 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in arch/powerpc/kernel/rtas_flash.c between commit fb4696c39573 ("powerpc/rtas_flash: Fix bad memory access") from the powerpc tree and commits ad18a364f186 ("powerpc/rtas_flash: Free kmem upon module exit") and 2352ad01409d ("ppc:

Re: [ 02/42] TTY: do not update atime/mtime on read/write

2013-04-30 Thread Linus Torvalds
On Tue, Apr 30, 2013 at 5:57 PM, Linus Torvalds wrote: > > Patch is whitespace-damaged and totally untested! Caveat applicator. Ok, so it's still whitespace-damaged, but it seems to work. The appended has the "8 second rule" too.. Comments? Simon? Linus --- snip snip ---

[PATCH 0/2] clk: add of_clk_provider stubs to enable clk-si5351 on non OF

2013-04-30 Thread Sebastian Hesselbarth
Enabling drivers that provide clocks on DT on platforms that don't have CONFIG_OF set fails due to compilation errors. This patch set first adds some stubs for of_clk_provider functions if CONFIG_OF is not set. Second it allows those platforms to build and use clk-si5351 i2c clock driver by

[PATCH 1/2] clk: add non CONFIG_OF routines for clk-provider

2013-04-30 Thread Sebastian Hesselbarth
Some drivers that are shared between architectures have HAVE_CLK selected but don't have OF. To remove compilation errors for drivers that provide clocks on DT with of_clk_add_provider we would have to enclose these calls within #ifdef CONFIG_OF, #endif. This patch adds some stubs for OF related

[PATCH 2/2] clk: si5351: Allow to build without CONFIG_OF

2013-04-30 Thread Sebastian Hesselbarth
With of_clk_provider stubs for CONFIG_OF not set, we can now also enable clk-si5351 on those architectures. Signed-off-by: Sebastian Hesselbarth --- Cc: Mike Turquette Cc: Linus Walleij Cc: Andrew Morton Cc: Peter Ujfalusi Cc: Arnd Bergmann Cc: Stephen Warren Cc: Daniel Mack Cc:

Re: [ 02/42] TTY: do not update atime/mtime on read/write

2013-04-30 Thread Linus Torvalds
On Mon, Apr 29, 2013 at 6:37 PM, Greg Kroah-Hartman wrote: > > Ah, it's using inotify on the /dev/ptmx device. Jiri, your change > really doesn't affect that at all :( Hmm. Maybe something like the appended? Together with making the time modification be 10 seconds to make Simon happy (that's

Re: [patch 08/34] arm: Use generic idle loop

2013-04-30 Thread Paul E. McKenney
On Tue, Apr 30, 2013 at 05:49:06PM -0700, Stephen Boyd wrote: > On 04/25/13 14:01, Thomas Gleixner wrote: > > On Thu, 25 Apr 2013, Stephen Boyd wrote: > >> On 04/09/13 02:38, Russell King - ARM Linux wrote: > >>> On Tue, Apr 09, 2013 at 11:20:31AM +0200, Thomas Gleixner wrote: > On Mon, 8 Apr

[PATCH 5/4] sched: Make ARM's sched_clock generic for all architectures

2013-04-30 Thread Stephen Boyd
Here's the patch to make sched_clock generic. I didn't know where to put it so I just made a new file in kernel/sched for now. Signed-off-by: Stephen Boyd --- arch/arm/Kconfig | 1 + arch/arm/common/timer-sp.c| 2 +-

[PATCH 6/4] arm64: Move to generic sched_clock infrastructure

2013-04-30 Thread Stephen Boyd
Use the generic sched_clock infrastructure instead of rolling our own. This has the added benefit of fixing suspend/resume as outlined in 6a4dae5 (ARM: 7565/1: sched: stop sched_clock() during suspend, 2012-10-23) and correcting the timestamps when the hardware returns a value instead of 0 upon

Re: [patch 08/34] arm: Use generic idle loop

2013-04-30 Thread Stephen Boyd
On 04/25/13 14:01, Thomas Gleixner wrote: > On Thu, 25 Apr 2013, Stephen Boyd wrote: >> On 04/09/13 02:38, Russell King - ARM Linux wrote: >>> On Tue, Apr 09, 2013 at 11:20:31AM +0200, Thomas Gleixner wrote: On Mon, 8 Apr 2013, Russell King - ARM Linux wrote: > On Mon, Mar 25, 2013 at

Re: [tip:x86/paravirt] x86-64, gdt: Store/ load GDT for ACPI S3 or hibernate/resume path is not needed.

2013-04-30 Thread Konrad Rzeszutek Wilk
On Wed, May 01, 2013 at 12:38:17AM +0200, Rafael J. Wysocki wrote: > On Tuesday, April 30, 2013 05:25:42 PM Konrad Rzeszutek Wilk wrote: > > > > After the 'restore_registers' it returns and we end up called > > > > restore_processor_state() - where we reload the GDT. The reload of > > > > the GDT

Re: [RFC PATCH] drivers: power: Add watchdog timer to catch drivers which lockup during suspend.

2013-04-30 Thread Pavel Machek
Hi! > Below is a patch from android kernel that detects a driver suspend > lockup and captures dump in the kernel log. Please review and provide > comments. > > Rather than hard-lock the kernel, dump the suspend thread stack and > BUG() when a driver takes too long to suspend. The timeout is

Re: [RFC PATCH] power: Add option to log time spent in suspend

2013-04-30 Thread Pavel Machek
Hi! > From: Colin Cross > > Below is a patch from android kernel that maintains a histogram of > suspend times. Please review and provide feedback. > > Prints the time spent in suspend in the kernel log, and keeps statistics > on the time spent in suspend in /sys/kernel/debug/suspend_time > >

Re: [PATCH 0/2] Early printk support for virtio console devices.

2013-04-30 Thread Alexander Graf
On 30.04.2013, at 02:32, Rusty Russell wrote: > Alexander Graf writes: >> Am 29.04.2013 um 05:09 schrieb Rusty Russell : >> >>> Alexander Graf writes: On 26.04.2013, at 13:04, Pranavkumar Sawargaonkar wrote: > This patch-set implements early printk support for virtio console

[PATCH] HID: fix botched tree merge that disabled fix-up for certain Sony RF receivers

2013-04-30 Thread Fernando Luis Vázquez Cao
It looks like the manual merge 0d69a3c731e120b05b7da9fb976830475a3fbc01 ("Merge branches 'for-3.9/sony' and 'for-3.9/steelseries' into for-linus") accidentally removed Sony RF receiver with USB product id 0x0374 from the "have special driver" list, effectively nullifying

Re: [PATCH v2] HID: add support for Sony RF receiver with USB product id 0x0374

2013-04-30 Thread Fernando Luis Vázquez Cao
Hi Jiri, On Tue, 2013-01-15 at 17:02 +0100, Jiri Kosina wrote: > On Tue, 15 Jan 2013, Fernando Luis Vázquez Cao wrote: > > > Some Vaio desktop computers, among them the VGC-LN51JGB multimedia PC, have > > a RF receiver, multi-interface USB device 054c:0374, that is used to connect > > a wireless

Re: [PATCH 1/7] tty: xuartps: Sort #includes alphabetically

2013-04-30 Thread Greg Kroah-Hartman
On Tue, Apr 30, 2013 at 05:05:40PM -0700, Sören Brinkmann wrote: > On Tue, Apr 30, 2013 at 05:00:48PM -0700, Greg Kroah-Hartman wrote: > > On Tue, Apr 30, 2013 at 04:57:58PM -0700, Soren Brinkmann wrote: > > > Signed-off-by: Soren Brinkmann > > > CC: Greg Kroah-Hartman > > > CC: Jiri Slaby > >

linux-next: the mips tree is completely screwed

2013-04-30 Thread Stephen Rothwell
Hi Ralf, You seem to have mucked up your tree badly overnight: Fetching it produced this: remote: Counting objects: 358824, done. remote: Compressing objects: 100% (81248/81248), done. remote: Total 350365 (delta 306957), reused 299661 (delta 267902) Receiving objects: 100% (350365/350365),

Re: [PATCH 1/7] tty: xuartps: Sort #includes alphabetically

2013-04-30 Thread Sören Brinkmann
On Tue, Apr 30, 2013 at 05:00:48PM -0700, Greg Kroah-Hartman wrote: > On Tue, Apr 30, 2013 at 04:57:58PM -0700, Soren Brinkmann wrote: > > Signed-off-by: Soren Brinkmann > > CC: Greg Kroah-Hartman > > CC: Jiri Slaby > > CC: linux-ser...@vger.kernel.org > > Why would you need/want to do this? I

Re: [PATCH 2/3 RFC] Driver core: Use generic offline/online for CPU offline/online

2013-04-30 Thread Toshi Kani
On Mon, 2013-04-29 at 14:28 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Rework the CPU hotplug code in drivers/base/cpu.c to use the > generic offline/online support introduced previously instead of > its own CPU-specific code. > > For this purpose, modify cpu_subsys to

Re: [PATCH 3/3 RFC] ACPI / hotplug: Use device offline/online for graceful hot-removal

2013-04-30 Thread Toshi Kani
On Mon, 2013-04-29 at 14:29 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Modify the generic ACPI hotplug code to be able to check if devices > scheduled for hot-removal may be gracefully removed from the system > using the device offline/online mechanism introduced previously. >

[PATCH 4/7] clk: zynq: Factor out PLL driver

2013-04-30 Thread Soren Brinkmann
Refactor the PLL driver so it works with the clock controller driver. Signed-off-by: Soren Brinkmann --- drivers/clk/zynq/pll.c | 235 + 1 file changed, 235 insertions(+) create mode 100644 drivers/clk/zynq/pll.c diff --git

[PATCH 1/7] tty: xuartps: Sort #includes alphabetically

2013-04-30 Thread Soren Brinkmann
Signed-off-by: Soren Brinkmann CC: Greg Kroah-Hartman CC: Jiri Slaby CC: linux-ser...@vger.kernel.org --- drivers/tty/serial/xilinx_uartps.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c

Re: [PATCH 1/7] tty: xuartps: Sort #includes alphabetically

2013-04-30 Thread Greg Kroah-Hartman
On Tue, Apr 30, 2013 at 04:57:58PM -0700, Soren Brinkmann wrote: > Signed-off-by: Soren Brinkmann > CC: Greg Kroah-Hartman > CC: Jiri Slaby > CC: linux-ser...@vger.kernel.org Why would you need/want to do this? greg k-h -- To unsubscribe from this list: send the line "unsubscribe

[PATCH 7/7] clk: zynq: Remove deprecated clock code

2013-04-30 Thread Soren Brinkmann
Signed-off-by: Soren Brinkmann Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: devicetree-disc...@lists.ozlabs.org (moderated list:OPEN FIRMWARE AND...) Cc: linux-...@vger.kernel.org (open list:DOCUMENTATION) --- .../devicetree/bindings/clock/zynq-7000.txt| 49 ---

[PATCH 6/7] arm: zynq: Migrate platform to clock controller

2013-04-30 Thread Soren Brinkmann
Migrate the Zynq platform and its drivers to use the new clock controller driver. Signed-off-by: Soren Brinkmann Cc: John Stultz Cc: Thomas Gleixner Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org --- arch/arm/boot/dts/zynq-7000.dtsi| 71

Re: [PATCH 0/2] Early printk support for virtio console devices.

2013-04-30 Thread Rusty Russell
Alexander Graf writes: > Am 29.04.2013 um 05:09 schrieb Rusty Russell : > >> Alexander Graf writes: >>> On 26.04.2013, at 13:04, Pranavkumar Sawargaonkar wrote: >>> This patch-set implements early printk support for virtio console devices without using any hypercalls. The

[PATCH 5/7] clk: zynq: Add clock controller driver

2013-04-30 Thread Soren Brinkmann
Add a clock controller driver and documentation. Signed-off-by: Soren Brinkmann Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-...@vger.kernel.org --- .../devicetree/bindings/clock/zynq-7000.txt| 98 drivers/clk/zynq/clkc.c

[PATCH 3/7] clocksource/cadence_ttc: Sort #includes alphabetically

2013-04-30 Thread Soren Brinkmann
Signed-off-by: Soren Brinkmann Cc: John Stultz Cc: Thomas Gleixner --- drivers/clocksource/cadence_ttc_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/cadence_ttc_timer.c b/drivers/clocksource/cadence_ttc_timer.c index 685bc60..ab8fc2c

[PATCH 2/7] tty: xuartps: Remove suspend/resume functions

2013-04-30 Thread Soren Brinkmann
Currently Zynq does not support suspend/resume. The driver callbacks are never used or tested, broken and using the old PM interface. Signed-off-by: Soren Brinkmann Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org --- drivers/tty/serial/xilinx_uartps.c | 30

[PATCH 0/7] Zynq: revised CCF code

2013-04-30 Thread Soren Brinkmann
This is a first shot a revised version of Zynq's CCF code. This should model the whole clock tree and support clock gating for all relevant clocks. This follows Tegra and other ARM SOCs in containing the clock tree within a single block, which in this case is simply named clock controller. The

Re: [PATCH] dummy-irq: require the user to specify an IRQ number

2013-04-30 Thread Greg Kroah-Hartman
On Tue, Apr 30, 2013 at 11:12:04PM +0200, Jiri Kosina wrote: > On Tue, 30 Apr 2013, Greg Kroah-Hartman wrote: > > > > From: Jonathan Corbet > > > Subject: [PATCH] dummy-irq: require the user to specify an IRQ number > > > > > > Make sure that we let the user know that without specifying IRQ#,

Re: [PATCH v3 0/6] Android Binder IPC Fixes

2013-04-30 Thread Arve Hjønnevåg
On Tue, Apr 30, 2013 at 1:36 AM, Serban Constantinescu wrote: > Hi Arve, > > > On 30/04/13 00:13, Arve Hjønnevåg wrote: >> >> On Mon, Apr 29, 2013 at 9:16 AM, Serban Constantinescu >> wrote: >>> >>> Hi all, >>> >>> Any feedback or comments on this patch set? >>> >> >> You don't seem to have

Re: [PATCH 1/3 RFC] Driver core: Add offline/online device operations

2013-04-30 Thread Toshi Kani
On Mon, 2013-04-29 at 14:26 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > In some cases, graceful hot-removal of devices is not possible, > although in principle the devices in question support hotplug. > For example, that may happen for the last CPU in the system or > for memory

Re: [ 02/42] TTY: do not update atime/mtime on read/write

2013-04-30 Thread Simon Kirby
On Mon, Apr 29, 2013 at 06:37:24PM -0700, Greg Kroah-Hartman wrote: > On Mon, Apr 29, 2013 at 05:36:40PM -0700, Simon Kirby wrote: > > On Mon, Apr 29, 2013 at 05:21:17PM -0700, Greg Kroah-Hartman wrote: > > > > > On Mon, Apr 29, 2013 at 05:14:45PM -0700, Simon Kirby wrote: > > > > On Mon, Apr

Re: [PATCH v2] TTY: fix atime/mtime regression

2013-04-30 Thread Simon Kirby
On Fri, Apr 26, 2013 at 10:02:12AM -0700, Linus Torvalds wrote: > On Fri, Apr 26, 2013 at 4:48 AM, Jiri Slaby wrote: > > > > To revert to the old behaviour while still preventing attackers to > > guess the password length, we update the timestamps in one-minute > > intervals by this patch. > >

Re: [GIT] Security subsystem updates for 3.10

2013-04-30 Thread Linus Torvalds
On Sun, Apr 28, 2013 at 7:48 PM, James Morris wrote: > > Note: I can't figure out why the patch from Lai Jiangshan shows up twice > in the shortlog. Everything checks out otherwise. Because you applied it twice. in two different branches. It's there in both your "stage-for-3.10" and "ra-next"

Re: [BUG] staging: android: ashmem: Deadlock during ashmem_shrink

2013-04-30 Thread Greg Kroah-Hartman
On Tue, Apr 30, 2013 at 06:32:54PM -0400, Robert Love wrote: > > After this experiment, I too think that this patch (returning from > > ashmem_shrink if the lock is not available) is good enough and does > > not seem to have any major side effects. > > > > PS: Any plans of submitting this patch

[PULL-REQUEST] md update for 3.10

2013-04-30 Thread NeilBrown
The following changes since commit 824282ca7d250bd7c301f221c3cd902ce906d731: Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus (2013-04-22 15:00:59 -0700) are available in the git repository at: git://neil.brown.name/md/ tags/md-3.10 for you to fetch changes

Re: [RFC PATCH] drivers: power: Add watchdog timer to catch drivers which lockup during suspend.

2013-04-30 Thread Greg Kroah-Hartman
On Tue, Apr 30, 2013 at 03:28:33PM -0700, Zoran Markovic wrote: > From: Benoit Goby > > Below is a patch from android kernel that detects a driver suspend > lockup and captures dump in the kernel log. Please review and provide > comments. There's this really cool thing called a watchdog driver

add support for syba 7.1 surround sound card

2013-04-30 Thread good1 . 2guy
Summary: add support for syba 7.1 surround sound card Keywords: syba via VT1723 Tremor Kernel: 3.8.8-203.fc18.x86_64 add support for syba 7.1 surround sound card actually the card only has 6 dmas, so it is really only 5.1 added code to force_rate setting to not fail EBUSY when the dmas are

Re: [git patches] libata updates

2013-04-30 Thread Linus Torvalds
On Tue, Apr 30, 2013 at 3:26 PM, Jeff Garzik wrote: > > Summary: return -EMISSINGDIFFSTAT; I've pulled, but *please* make sure to fix your broken script. I really do want to see the diffstat, partly because I want to know what to expect even before pulling, partly just to verify that what I

[PATCH] x86, io_apic: Fix number of pre-allocated irqs

2013-04-30 Thread David Cohen
arch_probe_nr_irqs() has a typo when returning number of preallocated irqs. Instead of returning the calculated value, it returns a constant number NR_IRQ_LEGACY. This patch makes sure the calculated value is returned intead. Signed-off-by: David Cohen --- arch/x86/kernel/apic/io_apic.c |2

Re: [PATCH net-next] mlx4_en: fix a build error on 32bit arches

2013-04-30 Thread David Miller
From: Eric Dumazet Date: Tue, 30 Apr 2013 13:53:51 -0700 > From: Eric Dumazet > > commit b6c39bfcf1d7d63 ("net/mlx4_en: Add a service task") > added a build error on 32bit arches. > > ERROR: "__udivdi3" [drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko] > undefined! > > Fix this problem by

Re: [patch 4/4] sched: Distangle worker accounting from rq->lock

2013-04-30 Thread Steven Rostedt
On Tue, Apr 30, 2013 at 09:37:22AM -0400, Steven Rostedt wrote: > [ Blast from the past! ] > > When merging in 3.4.42 into the 3.4-rt branch I hit a conflict with the > try_to_wake_up_local() call. It seems that the 3.4-rt patch has this > patch applied. Although, this is not applied to any of

Re: [PATCH] sata_highbank: Rename proc_name to the module name

2013-04-30 Thread Jeff Garzik
On 04/30/2013 12:57 PM, Robert Richter wrote: From: Robert Richter mkinitrd looks at /sys/class/scsi_host/host$hostnum/proc_name to find the module name of a disk driver. Current name is "highbank-ahci" but the module is "sata_highbank". Rename it to match the module name. Cc: Rob Herring

Re: [BUG] staging: android: ashmem: Deadlock during ashmem_shrink

2013-04-30 Thread Robert Love
On Tue, Apr 30, 2013 at 9:29 AM, Shankar Brahadeeswaran wrote: > Question: > On occasions when we return because of the lock unavailability, what > could be the worst case number of ashmem pages that are left > unfreed (lru_count). Will it be very huge and have side effects? On that VM shrink

Re: Suspend resume problem (WAS Re: [ANNOUNCE] 3.8.10-rt6)

2013-04-30 Thread Borislav Petkov
On Tue, Apr 30, 2013 at 07:09:48PM +0200, Sebastian Andrzej Siewior wrote: > Now, the time jump on the other hand is the real issue here and is > RT-only. It looks like we get a big number of timer updates via > tick_do_update_jiffies64() because according to ktime_get() that much > time really

Re: [tip:x86/paravirt] x86-64, gdt: Store/ load GDT for ACPI S3 or hibernate/resume path is not needed.

2013-04-30 Thread Rafael J. Wysocki
On Tuesday, April 30, 2013 05:25:42 PM Konrad Rzeszutek Wilk wrote: > > > After the 'restore_registers' it returns and we end up called > > > restore_processor_state() - where we reload the GDT. The reload of > > > the GDT is not needed as bootup kernel has already loaded the GDT which > > > is at

[RFC PATCH] power: Add option to log time spent in suspend

2013-04-30 Thread Zoran Markovic
From: Colin Cross Below is a patch from android kernel that maintains a histogram of suspend times. Please review and provide feedback. Prints the time spent in suspend in the kernel log, and keeps statistics on the time spent in suspend in /sys/kernel/debug/suspend_time Cc: Android Kernel

[RFC PATCH] drivers: power: Add watchdog timer to catch drivers which lockup during suspend.

2013-04-30 Thread Zoran Markovic
From: Benoit Goby Below is a patch from android kernel that detects a driver suspend lockup and captures dump in the kernel log. Please review and provide comments. Rather than hard-lock the kernel, dump the suspend thread stack and BUG() when a driver takes too long to suspend. The timeout is

[git patches] libata updates

2013-04-30 Thread Jeff Garzik
Summary: 1) More ACPI fixes, cleanups 2) Minor cleanups for sata_highbank, pata_at32, pata_octeon_cf, sata_rcar 3) pata_legacy: small bug found in opti chipset code (untested fix, due to ancient h/w) 4) sata_fsl: RX water mark config knob, some h/w needs it 5) pata_imx: cleanups,

[PATCH] iio: adc: add driver for MCP3204/08 12-bit ADC

2013-04-30 Thread Oskar Andero
This adds support for Microchip's 12 bit AD converters MCP3204 and MCP3208. These chips communicates over SPI and supports single-ended and pseudo-differential configurations. Cc: Jonathan Cameron Cc: Lars-Peter Clausen Signed-off-by: Oskar Andero --- drivers/iio/adc/Kconfig |

[PATCH] vfio: Set container device mode

2013-04-30 Thread Alex Williamson
Minor 0 is the VFIO container device (/dev/vfio/vfio). On it's own the container does not provide a user with any privileged access. It only supports API version check and extension check ioctls. Only by attaching a VFIO group to the container does it gain any access. Set the mode of the

Re: rcu: Provide compile-time control for no-CBs CPUs

2013-04-30 Thread Paul E. McKenney
On Tue, Apr 30, 2013 at 06:06:47PM -0400, Dave Jones wrote: > On Tue, Apr 30, 2013 at 02:48:26PM -0700, Paul E. McKenney wrote: > > > > > > > Should I add this to the Kconfig help text? My guess is "not all of it", > > but figured I should ask. > > The commit msg would have been a great

[PATCH] ACPI / PM: Move processor suspend/resume to syscore_ops

2013-04-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The system suspend routine of the ACPI processor driver saves the BUS_MASTER_RLD register and its resume routine restores it. However, there can be only one such register in the system and it really should be saved after non-boot CPUs have been offlined and restored

Re: rcu: Provide compile-time control for no-CBs CPUs

2013-04-30 Thread Dave Jones
On Tue, Apr 30, 2013 at 02:48:26PM -0700, Paul E. McKenney wrote: > > > Should I add this to the Kconfig help text? My guess is "not all of it", > but figured I should ask. The commit msg would have been a great place for much of it, especially the part explaining your desire to have users

Re: Suspend resume problem (WAS Re: [ANNOUNCE] 3.8.10-rt6)

2013-04-30 Thread Clark Williams
On Tue, 30 Apr 2013 14:18:24 -0500 Clark Williams wrote: > On Tue, 30 Apr 2013 19:09:48 +0200 > Sebastian Andrzej Siewior wrote: > > > * Clark Williams | 2013-04-29 16:19:25 [-0500]: > > > > >On Mon, 29 Apr 2013 22:12:02 +0200 > > >Sebastian Andrzej Siewior wrote: > > >> - suspend /

[PATCH] fs: ext4: Printing debug is now configurable

2013-04-30 Thread Paul Taysom
Printing the "truncating inode" and "deleting unreferenced inode" messages is now controlled by the "debug" option to mount. These messages were filling the /var/log/messages file and are normal for ext4 file system recovery. Tested by opening several files, unlinking them, then crashing the

Re: rcu: Provide compile-time control for no-CBs CPUs

2013-04-30 Thread Paul E. McKenney
On Tue, Apr 30, 2013 at 11:38:31PM +0200, Yann E. MORIN wrote: > Paul, Dave, All, > > On Tue, Apr 30, 2013 at 12:25:41PM -0700, Paul E. McKenney wrote: > > On Tue, Apr 30, 2013 at 02:46:12PM -0400, Dave Jones wrote: > > > On Tue, Apr 30, 2013 at 03:21:26PM +, Linux Kernel wrote: > > > > > >

Re: rcu: Provide compile-time control for no-CBs CPUs

2013-04-30 Thread Paul E. McKenney
On Tue, Apr 30, 2013 at 04:24:40PM -0400, Dave Jones wrote: > On Tue, Apr 30, 2013 at 12:25:41PM -0700, Paul E. McKenney wrote: > > On Tue, Apr 30, 2013 at 02:46:12PM -0400, Dave Jones wrote: > > > > Additionally, nowhere in any of this text does it say what a "no-CB CPU" > is, > > > or why I

Re: [PATCH] lib: add weak __clzsi2()/__clzdi2() functions

2013-04-30 Thread Andrew Morton
On Mon, 29 Apr 2013 09:20:25 +0200 Geert Uytterhoeven wrote: > On Mon, Apr 29, 2013 at 7:40 AM, Chanho Min wrote: > > Some architectures need __clzsi2() or __clzdi2() for __builtin_clz and > > It causes build failure. They can be implemented using the fls() and > > overridden by linking

Re: [PATCH] AHCI: Make distinct names for ports in /proc/interrupts

2013-04-30 Thread Jeff Garzik
On 04/29/2013 06:12 AM, Alexander Gordeev wrote: Currently all interrupts assigned to AHCI ports show up in '/proc/interrupts' as 'ahci'. This fix adds port numbers as suffixes and hence makes the descriptions distinct. Reported-by: Jan Beulich Signed-off-by: Alexander Gordeev ---

Re: [PATCH V2 2/7] watchdog: bcm63xx_wdt: use devm_ioremap_nocache()

2013-04-30 Thread Florian Fainelli
Le mardi 30 avril 2013 07:00:33, Jingoo Han a écrit : > Use devm_ioremap_nocache() to make cleanup paths simpler. > > Reviewed-by: Guenter Roeck > Signed-off-by: Jingoo Han Acked-by: Florian Fainelli -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

  1   2   3   4   5   6   7   8   9   10   >