Re: [GIT PULL] PWM subsystem for v3.6

2012-07-26 Thread Alex Courbot
On Fri 27 Jul 2012 02:10:54 PM JST, Thierry Reding wrote: * PGP Signed by an unknown key On Thu, Jul 26, 2012 at 02:11:58PM -0700, Linus Torvalds wrote: On Thu, Jul 26, 2012 at 12:16 AM, Thierry Reding wrote: The new PWM subsystem aims at collecting all implementations of the legacy PWM API

RE: [PATCH] [media] davinci: vpfe: Add documentation

2012-07-26 Thread Hadli, Manjunath
Laurent, Thank you for your comments. On Thu, Jul 26, 2012 at 05:55:31, Laurent Pinchart wrote: > Hi Manjunath, > > On Tuesday 17 July 2012 10:43:54 Hadli, Manjunath wrote: > > On Sun, Jul 15, 2012 at 18:16:25, Laurent Pinchart wrote: > > > On Wednesday 11 July 2012 21:09:26 Manjunath Hadli

Re: [GIT PULL (PATCH 0/4)] VFIO driver for v3.6

2012-07-26 Thread Paul Mackerras
On Wed, Jul 25, 2012 at 08:53:06AM -0600, Alex Williamson wrote: > Hi Linus, > > This series includes the VFIO userspace driver interface for the > 3.6 kernel merge window. This driver is intended to provide a > secure interface for device access using IOMMU protection for > applications like

Re: [GIT PULL] PWM subsystem for v3.6

2012-07-26 Thread Thierry Reding
On Thu, Jul 26, 2012 at 02:11:58PM -0700, Linus Torvalds wrote: > On Thu, Jul 26, 2012 at 12:16 AM, Thierry Reding > wrote: > > > > The new PWM subsystem aims at collecting all implementations of the > > legacy PWM API and to eventually replace it completely. The subsystem > > has been in

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-26 Thread Toshiaki Yamane
On Fri, Jul 27, 2012 at 2:03 PM, Joe Perches wrote: > On Fri, 2012-07-27 at 13:46 +0900, Toshiaki Yamane wrote: >> fixed some checkpatch warnings. >> (Excluding -WARNING: msleep < 20ms can sleep for up to 20ms-) > [] >> diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c >>

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-26 Thread Joe Perches
On Fri, 2012-07-27 at 13:46 +0900, Toshiaki Yamane wrote: > fixed some checkpatch warnings. > (Excluding -WARNING: msleep < 20ms can sleep for up to 20ms-) [] > diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c > b/drivers/staging/olpc_dcon/olpc_dcon.c [] > @@ -71,18 +72,18 @@ static int

[PATCH 1/2] charger-manager: Disable regulator for charging when charger cable is detached

2012-07-26 Thread Chanwoo Choi
This patch disable regulator for charging when charger cable is detached before stopping charging forcibly on abnormal battery state and check return value of regulator_enable/disable() function to confirm correct operation of enabling or disabling regulator for charging. Signed-off-by: Chanwoo

[PATCH 0/2] charger-manager: Stop charging when charge cable is detached and code clean

2012-07-26 Thread Chanwoo Choi
This patchset fix bug related to stop charging when charger cable is detached and check return value of regulator_enable/disable() function to confirm correct operation of enabled or disabling regulator for charging. Second patch is code clean which remove unnecessary variable type. Chanwoo Choi

[PATCH 2/2] charger-manager: Use replacement variable to check state of battery

2012-07-26 Thread Chanwoo Choi
This patch remove unnecessary variable(cm->fullbatt_vchk_uV) by using 'desc->fullbatt_uV' field directly in fullbatt_handler() function to check the state of battery. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham Signed-off-by: Kyungmin Park --- drivers/power/charger-manager.c

[PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-26 Thread Toshiaki Yamane
fixed some checkpatch warnings. (Excluding -WARNING: msleep < 20ms can sleep for up to 20ms-) $ find drivers/staging/olpc_dcon/ -name "*.[ch]"|xargs ./scripts/checkpatch.pl \ -f --terse --nosummary|cut -f3- -d":"|sort |uniq -c|sort -n 2 WARNING: msleep < 20ms can sleep for up to 20ms; see

[PATCHv3] locks: prevent side-effects of locks_release_private before file_lock is initialized

2012-07-26 Thread Filipe Brandenburger
When calling fcntl(fd, F_SETLEASE, lck) [with lck=F_WRLCK or F_RDLCK], the custom signal or owner (if any were previously set using F_SETSIG or F_SETOWN fcntls) would be reset when F_SETLEASE was called for the second time on the same file descriptor. This bug is a regression of 2.6.37 and is

[git pull] Please pull powerpc.git merge branch

2012-07-26 Thread Benjamin Herrenschmidt
Hi Linus ! Here's a handful of powerpc patches, a couple of regression fixes for problems introduced in the main batch in this merge window, a couple of defconfig updates, and some trivials. The radeonfb one is something that was long standing in SLES which I forgot to pickup earlier. Cheers,

[PULL] trivial comment changes, init and cpumask.

2012-07-26 Thread Rusty Russell
The following changes since commit 84a1caf1453c3d44050bd22db958af4a7f99315c: Linux 3.5-rc7 (2012-07-14 15:40:28 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus.git tags/cpumask-for-linus for you to fetch changes up to

Re: [PATCH V3 3/3] virtio-blk: Add bio-based IO path for virtio-blk

2012-07-26 Thread Rusty Russell
On Fri, 13 Jul 2012 16:38:51 +0800, Asias He wrote: > Add 'virtio_blk.use_bio=1' to kernel cmdline or 'modprobe virtio_blk > use_bio=1' to enable ->make_request_fn() based I/O path. This patch conflicts with Paolo's Bonzini's 'virtio-blk: allow toggling host cache between writeback and

linux-next: Tree for July 27

2012-07-26 Thread Stephen Rothwell
Hi all, Please do not add anything to linux-next included branches/series that is destined for v3.7 until after v3.6-rc1 is released. Reminder: do not rebase your branches before asking Linus to pull them ... Changes since 20120726: Linus' tree gained a build failure for which I applied

Re: [PATCH] leds: triggers: send uevent when changing triggers

2012-07-26 Thread Bryan Wu
On Fri, Jul 27, 2012 at 12:51 AM, Greg KH wrote: > On Thu, Jul 26, 2012 at 01:03:11PM +0800, Bryan Wu wrote: >> Just one quick patch for my idea: emitting a uevent in sysfs_create_file(). >> >> -- >> diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c >> index 00012e3..04da869 100644 >> ---

[PATCH] Add Etron XHCI quirk to avoid warning spam

2012-07-26 Thread Daniel J Blueman
When various USB3 devices with Etron XHCI controllers, we see a bunch of warnings: xhci_hcd :02:00.0: WARN Successful completion on short TX: needs XHCI_TRUST_TX_LENGTH quirk? Acknowledge the issue by adding the quirk. Signed-off-by: Daniel J Blueman --- drivers/usb/host/xhci-pci.c | 11

[PATCH 3/3] ledtrig-timer: convert to use device_create_file_uevent API

2012-07-26 Thread Bryan Wu
To send KOBJ_CHANGE uevent to userspace which is required by Android Signed-off-by: Bryan Wu --- drivers/leds/ledtrig-timer.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/leds/ledtrig-timer.c b/drivers/leds/ledtrig-timer.c index 9010f7a..d8b6296 100644 ---

[PATCH 2/3] drivers: add a new device_create_file_uevent API

2012-07-26 Thread Bryan Wu
This will use sysfs_create_file_uevent to create a sysfs file and send out a uevent to userspace application such as udev. Signed-off-by: Bryan Wu --- drivers/base/core.c| 19 +++ include/linux/device.h | 4 2 files changed, 23 insertions(+) diff --git

[PATCH 1/3] sysfs: introduce a sysfs_create_file_uevent new API

2012-07-26 Thread Bryan Wu
Send a uevent notification whenever a new sysfs file is created to allow userspace processes such as udev to modify permissions on the new files. This new API function helps to do this. Signed-off-by: Bryan Wu --- fs/sysfs/file.c | 28 include/linux/sysfs.h |

[PATCH 0/3] add new API to sysfs and device core code

2012-07-26 Thread Bryan Wu
Send out a uevent when create file in sysfs, which is required by userspace application such udev in Android Bryan Wu (3): sysfs: introduce a sysfs_create_file_uevent new API drivers: add a new device_create_file_uevent API ledtrig-timer: convert to use device_create_file_uevent API

Re: efi, x86, pci: Improve graphics support on some Apple hardware

2012-07-26 Thread Seth Forshee
On Thu, Jul 26, 2012 at 06:02:45PM -0400, Matthew Garrett wrote: > Some Apple machines only provide their video ROM via an EFI-specific mechanism > and don't permit it to be retrieved from the BAR. Add infrastructure to stash > it and provide access to drivers. I've verified that these patches

Re: [PATCH] watchdog: watchdog-test: make term() static

2012-07-26 Thread Jerry Snitselaar
On Thu, Jul 26, 2012 at 8:52 PM, Jerry Snitselaar wrote: > In 3.5 warning during build 'no previous prototype for term'. Since it > is only used in watchdog-test.c make term() static. > > Signed-off-by: Jerry Snitselaar > --- > Documentation/watchdog/src/watchdog-test.c | 2 +- > 1 file

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

2012-07-26 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/btrfs/relocation.c between commit 23291a044c31 ("Btrfs: fix error handling in __add_reloc_root()") from Linus' tree and commit "btrfs: use printk_get_level and printk_skip_level, add __printf, fix fallout" from the akpm

[PATCH 1/2] perf/x86: Fixes for Nehalem-EX uncore driver

2012-07-26 Thread Yan, Zheng
From: "Yan, Zheng" This patch includes following fixes and update: - Only some events in the Sbox and Mbox can use the match/mask registers, add code to check this. - The format definitions for xbr_mm_cfg and xbr_match registers in the Rbox are wrong, xbr_mm_cfg should use 32 bits,

[PATCH 2/2] perf/x86: Add Intel Westmere-EX uncore support

2012-07-26 Thread Yan, Zheng
From: "Yan, Zheng" The Westmere-EX uncore is similar to the Nehalem-EX uncore. The differences are: - Westmere-EX uncore has 10 instances of Cbox. The MSRs for Cbox8 and Cbox9 in the Westmere-EX aren't contiguous with Cbox 0~7. - The fvid field in the ZDP_CTL_FVC register in the Mbox is

[PATCH] watchdog: watchdog-test: make term() static

2012-07-26 Thread Jerry Snitselaar
In 3.5 warning during build 'no previous prototype for term'. Since it is only used in watchdog-test.c make term() static. Signed-off-by: Jerry Snitselaar --- Documentation/watchdog/src/watchdog-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

linux-next: manual merge of the akpm tree with the tip tree

2012-07-26 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/x86/kernel/cpu/perf_event_intel_uncore.h between commit 254298c726b9 ("perf/x86: Add Intel Nehalem-EX uncore support") from the tip tree and commit "arch/x86/kernel/cpu/perf_event_intel_uncore.h: make

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-07-26 Thread Larry Woodman
On 07/26/2012 02:37 PM, Rik van Riel wrote: On 07/23/2012 12:04 AM, Hugh Dickins wrote: I spent hours trying to dream up a better patch, trying various approaches. I think I have a nice one now, what do you think? And more importantly, does it work? I have not tried to test it at all, that

Re: [patch 3/7] procfs: Add ability to plug in auxiliary fdinfo providers

2012-07-26 Thread Pavel Emelyanov
> +static int prep_fdinfo_driver(struct proc_fdinfo_extra *extra) > +{ > + struct proc_fdinfo_driver *s; > + > + down_read(_drivers_sem); > + list_for_each_entry(s, _drivers, list) { > + if (s->probe(extra->f_file)) { > + extra->driver = s; > +

Re: [PATCH v3 1/4] ACPI: Add acpi_pr_() interfaces

2012-07-26 Thread Toshi Kani
On Thu, 2012-07-26 at 14:57 -0700, Joe Perches wrote: > On Thu, 2012-07-26 at 15:50 -0600, Bjorn Helgaas wrote: > > On Thu, Jul 26, 2012 at 3:43 PM, Joe Perches wrote: > > > On Thu, 2012-07-26 at 15:37 -0600, Bjorn Helgaas wrote: > > >> PNP0C01:00: new device for \_SB_.PCI0.ISA_.MBIO > > >> >

Re: [PATCH v3 1/4] ACPI: Add acpi_pr_() interfaces

2012-07-26 Thread Toshi Kani
On Thu, 2012-07-26 at 15:50 -0600, Bjorn Helgaas wrote: > On Thu, Jul 26, 2012 at 3:43 PM, Joe Perches wrote: > > On Thu, 2012-07-26 at 15:37 -0600, Bjorn Helgaas wrote: > >> PNP0C01:00: new device for \_SB_.PCI0.ISA_.MBIO > >> > >> I fiddled with this a while ago; it would look something

Re: [PATCH] pvrusb2: Declare MODULE_FIRMWARE usage

2012-07-26 Thread Mike Isely
Acked-By: Mike Isely -Mike On Thu, 26 Jul 2012, Tim Gardner wrote: > Cc: Mike Isely > Cc: Mauro Carvalho Chehab > Cc: linux-me...@vger.kernel.org > Signed-off-by: Tim Gardner > --- > drivers/media/video/pvrusb2/pvrusb2-devattr.c | 17 - > 1 file changed, 12

Re: [PATCH 1/2] sched: recover SD_WAKE_AFFINE in select_task_rq_fair and code clean up

2012-07-26 Thread Mike Galbraith
On Fri, 2012-07-27 at 09:47 +0800, Alex Shi wrote: > On 07/26/2012 05:37 PM, Mike Galbraith wrote: > > > On Thu, 2012-07-26 at 13:27 +0800, Alex Shi wrote: > > > >>if (affine_sd) { > >> - if (cpu == prev_cpu || wake_affine(affine_sd, p, sync)) > >> + if

Re: RAID extremely slow

2012-07-26 Thread Kevin Ross
On 07/26/2012 07:53 PM, Kevin Ross wrote: On 07/26/2012 07:27 PM, David Dillow wrote: On Thu, 2012-07-26 at 19:17 -0700, Kevin Ross wrote: On 07/26/2012 07:17 PM, David Dillow wrote: On Thu, 2012-07-26 at 22:15 -0400, David Dillow wrote: If you can, upgrade to the latest 3.4 stable kernel

Re: [PATCH] dma: imx-dma: Fix kernel crash due to missing clock conversion

2012-07-26 Thread Vinod Koul
On Tue, 2012-07-03 at 15:33 -0300, Fabio Estevam wrote: > From: Fabio Estevam > > With the new i.MX clock infrastructure we need to request the dma clocks > seperately: ahb and ipg clocks. > > This fixes the following kernel crash and make audio to be functional again: > > root@freescale

Re: [PATCH v8 0/7] power management patch set

2012-07-26 Thread Li Yang
On Fri, Jul 27, 2012 at 1:29 AM, Kumar Gala wrote: > > On Jul 26, 2012, at 9:02 AM, Li Yang wrote: > >> On Fri, Jul 20, 2012 at 8:42 PM, Zhao Chenhui >> wrote: >>> Changes for v8: >>> * Separated the cpu hotplug patch into three patches, as follows >>> [PATCH v8 1/7] powerpc/smp: use a struct

Re: [PATCH] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-26 Thread Wang Sen
2012/7/25 Boaz Harrosh : > On 07/25/2012 02:44 PM, Sen Wang wrote: > >> 2012/7/25 Paolo Bonzini : >>> Il 25/07/2012 10:29, Wang Sen ha scritto: When using the commands below to write some data to a virtio-scsi LUN of the QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the

[PATCH v4 3/4] ACPI: Update Memory hotplug messages

2012-07-26 Thread Toshi Kani
Updated Memory hotplug log messages with acpi_pr_(), dev_() and pr_(). Signed-off-by: Toshi Kani --- drivers/acpi/acpi_memhotplug.c | 25 + 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.c

[PATCH v4 2/4] ACPI: Update CPU hotplug messages

2012-07-26 Thread Toshi Kani
Updated CPU hotplug log messages with acpi_pr_(), dev_() and pr_(). Some messages are also changed for clarity. Signed-off-by: Toshi Kani Tested-by: Vijay Mohan Pandarathil --- drivers/acpi/processor_driver.c | 37 ++--- 1 files changed, 22 insertions(+), 15

[PATCH v4 4/4] ACPI: Update Container hotplug messages

2012-07-26 Thread Toshi Kani
Updated Container hotplug log messages with acpi_pr_() and pr_(). Removed unnecessary check to device pointer. Signed-off-by: Toshi Kani --- drivers/acpi/container.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/acpi/container.c

[PATCH v4 1/4] ACPI: Add acpi_pr_() interfaces

2012-07-26 Thread Toshi Kani
This patch introduces acpi_pr_(), where is a kernel message level such as err/warn/info, to support improved logging messages for ACPI, esp. in hotplug operations. acpi_pr_() appends "ACPI" prefix and ACPI object path to the messages. This improves diagnostics in hotplug operations since it

[PATCH v4 0/4] ACPI: hotplug messages improvement

2012-07-26 Thread Toshi Kani
This patchset improves logging messages for ACPI CPU, Memory, and Container hotplug notify handlers. The patchset introduces a set of new macro interfaces, acpi_pr_(), and updates the notify handlers to use them. acpi_pr_() appends "ACPI" prefix and ACPI object path to the messages, and its

[PATCH v2] create sun sysfs file

2012-07-26 Thread Yasuaki Ishimatsu
Even if a device has _SUN method, there is no way to know the slot unique-ID. Thus the patch creates "sun" file in sysfs so that we can recognize it. Index: linux-3.5/include/acpi/acpi_bus.h === ---

RE: How to use the generic thermal sysfs.

2012-07-26 Thread Wei Ni
On Fri, 2012-07-27 at 09:21 +0800, Zhang Rui wrote: > On 四, 2012-07-26 at 17:31 +0800, Wei Ni wrote: > > On Fri, 2012-07-13 at 15:41 +0800, Zhang Rui wrote: > > > On 五, 2012-07-13 at 15:30 +0800, Wei Ni wrote: > > > > > > > > Our tegra thermal framework also will use the generic thermal layer. It

Re: RAID extremely slow

2012-07-26 Thread David Dillow
On Wed, 2012-07-25 at 18:55 -0700, Kevin Ross wrote: > On 07/25/2012 06:00 PM, Phil Turmel wrote: > > Piles of small reads scattered across multiple drives, and a > > concentration of queued writes to /dev/sda. What's on /dev/sda? > > It's not a member of the raid, so it must be some other

Re: RAID extremely slow

2012-07-26 Thread David Dillow
On Thu, 2012-07-26 at 22:15 -0400, David Dillow wrote: > If you can, upgrade to the latest 3.4 stable kernel (3.4.6 right now). > As far as I can see, the latest 3.2 stable does not contain the delayed > stripe fix. And I was looking at the wrong version; 3.2.24 does indeed have the fix. -- To

Re: [PATCH v3 4/4] ACPI: Update Container hotplug messages

2012-07-26 Thread Toshi Kani
On Thu, 2012-07-26 at 13:23 -0600, Bjorn Helgaas wrote: > On Wed, Jul 25, 2012 at 5:12 PM, Toshi Kani wrote: > > Updated Container hotplug log messages with acpi_pr_() > > and pr_(). > > > > Signed-off-by: Toshi Kani > > --- > > drivers/acpi/container.c |6 +++--- > > 1 files changed, 3

Re: [PATCH v3 3/4] ACPI: Update Memory hotplug messages

2012-07-26 Thread Toshi Kani
On Thu, 2012-07-26 at 13:23 -0600, Bjorn Helgaas wrote: > On Wed, Jul 25, 2012 at 5:12 PM, Toshi Kani wrote: > > Updated Memory hotplug log messages with acpi_pr_() > > and pr_(). > > > > Signed-off-by: Toshi Kani > > --- > > drivers/acpi/acpi_memhotplug.c | 24 > > 1

Re: RAID extremely slow

2012-07-26 Thread Kevin Ross
On 07/26/2012 07:27 PM, David Dillow wrote: On Thu, 2012-07-26 at 19:17 -0700, Kevin Ross wrote: On 07/26/2012 07:17 PM, David Dillow wrote: On Thu, 2012-07-26 at 22:15 -0400, David Dillow wrote: If you can, upgrade to the latest 3.4 stable kernel (3.4.6 right now). As far as I can see, the

Re: [PATCH v3 2/4] ACPI: Update CPU hotplug messages

2012-07-26 Thread Toshi Kani
On Thu, 2012-07-26 at 13:23 -0600, Bjorn Helgaas wrote: > On Wed, Jul 25, 2012 at 5:12 PM, Toshi Kani wrote: > > Updated CPU hotplug log messages with acpi_pr_(), > > dev_() and pr_(). Some messages are also > > changed for clarity. > > > > Signed-off-by: Toshi Kani > > Tested-by: Vijay Mohan

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-26 Thread Toshiaki Yamane
On Fri, Jul 27, 2012 at 11:28 AM, Andres Salomon wrote: > On Fri, 27 Jul 2012 08:49:19 +0900 > Toshiaki Yamane wrote: > >> Now checkpatch clean. >> >> $ find drivers/staging/olpc_dcon/ -name >> "*.[ch]"|xargs ./scripts/checkpatch.pl \ -f --terse --nosummary|cut >> -f3- -d":"|sort |uniq -c|sort

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-26 Thread Andres Salomon
On Fri, 27 Jul 2012 08:49:19 +0900 Toshiaki Yamane wrote: > Now checkpatch clean. > > $ find drivers/staging/olpc_dcon/ -name > "*.[ch]"|xargs ./scripts/checkpatch.pl \ -f --terse --nosummary|cut > -f3- -d":"|sort |uniq -c|sort -n 2 WARNING: msleep < 20ms can sleep > for up to 20ms; see

Re: RAID extremely slow

2012-07-26 Thread David Dillow
On Thu, 2012-07-26 at 19:17 -0700, Kevin Ross wrote: > On 07/26/2012 07:17 PM, David Dillow wrote: > > On Thu, 2012-07-26 at 22:15 -0400, David Dillow wrote: > >> If you can, upgrade to the latest 3.4 stable kernel (3.4.6 right now). > >> As far as I can see, the latest 3.2 stable does not contain

Re: [PATCH v4 00/17] vfs: add the ability to retry on ESTALE to several syscalls

2012-07-26 Thread Namjae Jeon
Hi Jeff. Which testcase(or test method) do I use to know improved point from ESTALE error ? I want to know before & after using testcase with this patch-set. Thanks. 2012/7/26, Jeff Layton : > This patchset is a respin of the one I sent on June 29th. The main > reason for the resend is to deal

Re: RAID extremely slow

2012-07-26 Thread Kevin Ross
On 07/26/2012 07:17 PM, David Dillow wrote: On Thu, 2012-07-26 at 22:15 -0400, David Dillow wrote: If you can, upgrade to the latest 3.4 stable kernel (3.4.6 right now). As far as I can see, the latest 3.2 stable does not contain the delayed stripe fix. And I was looking at the wrong version;

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-26 Thread Toshiaki Yamane
On Fri, Jul 27, 2012 at 10:40 AM, Joe Perches wrote: > On Fri, 2012-07-27 at 08:49 +0900, Toshiaki Yamane wrote: >> Now checkpatch clean. > [] >> diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c >> b/drivers/staging/olpc_dcon/olpc_dcon.c > [] >> @@ -11,6 +11,7 @@ > [] >> +#define pr_fmt(fmt)

[GIT PULL] ARM: SoC fixes

2012-07-26 Thread Olof Johansson
Hi Linus, The following changes since commit 9161c3b796a2841a9a7be3d9c9dd121269ce90e8: Merge tag 'clk-for-linus' of git://git.linaro.org/people/mturquette/linux (2012-07-24 16:40:57 -0700) are available in the git repository at:

Re: [RFC PATCH 12/13] driver core: firmware loader: use small timeout for cache device firmware

2012-07-26 Thread Ming Lei
On Fri, Jul 27, 2012 at 1:54 AM, Borislav Petkov wrote: >> No, it is not what I was saying. I just mean the point is not mentioned in my commit log, but I admit it should be a appropriate cause. > > Ok, maybe I'm not understanding this then. So explain to me this: why > do you need that

Re: [PATCH 2/2] sched: fix a logical error in select_task_rq_fair

2012-07-26 Thread Alex Shi
>> In that case aren't we covering up a bug in find_idlest_group(), it >> appears to have returned a group that isn't eligible to be idlest. > > > If it is possible happening in sched_domain rebuilding? > I didn't meet this bug. Just guess. Even so, it is not related with this patch. So,

Re: [PATCH 1/2] sched: recover SD_WAKE_AFFINE in select_task_rq_fair and code clean up

2012-07-26 Thread Alex Shi
On 07/26/2012 05:37 PM, Mike Galbraith wrote: > On Thu, 2012-07-26 at 13:27 +0800, Alex Shi wrote: > >> if (affine_sd) { >> -if (cpu == prev_cpu || wake_affine(affine_sd, p, sync)) >> +if (wake_affine(affine_sd, p, sync)) >> prev_cpu = cpu; >>

Re: [vmw_vmci 00/11] VMCI for Linux

2012-07-26 Thread Greg KH
On Thu, Jul 26, 2012 at 09:06:25PM -0400, Josh Boyer wrote: > On Thu, Jul 26, 2012 at 7:39 PM, Andrew Stiegmann (stieg) > wrote: > > drivers/misc/Kconfig |1 + > > drivers/misc/Makefile |1 + > > drivers/misc/vmw_vmci/Kconfig | 16 +

Re: [PATCH v8 0/7] power management patch set

2012-07-26 Thread Scott Wood
On 07/26/2012 09:02 AM, Li Yang wrote: > On Fri, Jul 20, 2012 at 8:42 PM, Zhao Chenhui > wrote: >> Changes for v8: >> * Separated the cpu hotplug patch into three patches, as follows >> [PATCH v8 1/7] powerpc/smp: use a struct epapr_spin_table to replace macros >> [PATCH v8 2/7] powerpc/smp:

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-26 Thread Joe Perches
On Fri, 2012-07-27 at 08:49 +0900, Toshiaki Yamane wrote: > Now checkpatch clean. [] > diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c > b/drivers/staging/olpc_dcon/olpc_dcon.c [] > @@ -11,6 +11,7 @@ [] > +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt [] > @@ -71,18 +72,18 @@ static int

[PATCH] ACPI: replace strlen("string") with sizeof("string") -1

2012-07-26 Thread Len Brown
...both give the number of chars in the string without the '\0', as strncmp() wants, but sizeof() is compile-time. Reported-by: Alan Stern Cc: Pavel Vasilyev Signed-off-by: Len Brown --- drivers/acpi/sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [RFC PATCH 08/13] driver core: firmware loader: fix device lifetime

2012-07-26 Thread Ming Lei
On Fri, Jul 27, 2012 at 1:46 AM, Borislav Petkov wrote: > On Thu, Jul 26, 2012 at 11:44:48PM +0800, Ming Lei wrote: >> On Thu, Jul 26, 2012 at 8:20 PM, Borislav Petkov wrote: >> > >> > Ok, here's what I got from looking at the patch: >> > >> > Your commit message says: "Also

RE: How to use the generic thermal sysfs.

2012-07-26 Thread Zhang Rui
On 四, 2012-07-26 at 17:31 +0800, Wei Ni wrote: > On Fri, 2012-07-13 at 15:41 +0800, Zhang Rui wrote: > > On 五, 2012-07-13 at 15:30 +0800, Wei Ni wrote: > > > > > > Our tegra thermal framework also will use the generic thermal layer. It > > > will register the cooling device, and run the

Re: [vmw_vmci 00/11] VMCI for Linux

2012-07-26 Thread Josh Boyer
On Thu, Jul 26, 2012 at 7:39 PM, Andrew Stiegmann (stieg) wrote: > drivers/misc/Kconfig |1 + > drivers/misc/Makefile |1 + > drivers/misc/vmw_vmci/Kconfig | 16 + Is there a reason this isn't going into staging first? The Hyper-V

Re: linux-next: build failure in Linus' tree

2012-07-26 Thread Linus Torvalds
On Thu, Jul 26, 2012 at 5:15 PM, Stephen Rothwell wrote: > > After merging the origin tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: Oh well. I did an x86-64 build after that pull (because of the need for that semantic merge thing), but apparently x86-64 gets the

[PATCH] A possible deadlock with stacked devices (was: [PATCH v4 08/12] block: Introduce new bio_split())

2012-07-26 Thread Mikulas Patocka
On Wed, 25 Jul 2012, Kent Overstreet wrote: > On Wed, Jul 25, 2012 at 02:55:40PM +0300, Boaz Harrosh wrote: > > On 07/24/2012 11:11 PM, Kent Overstreet wrote: > > > > > The new bio_split() can split arbitrary bios - it's not restricted to > > > single page bios, like the old bio_split()

[GIT PULL] LED subsystem update for v3.6

2012-07-26 Thread Bryan Wu
Hi Linus, Please consider pulling the following changes since commit 28a33cbc24e4256c143dce96c7d93bf423229f92: Linux 3.5 (2012-07-21 13:58:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds.git for-3.6-rc1 for you to fetch

Re: [PATCH] kernel/watchdog.c : fix smp_processor_id() warning

2012-07-26 Thread Ming Lei
On Fri, Jul 27, 2012 at 3:43 AM, Don Zickus wrote: > On Wed, Jul 25, 2012 at 12:39:45PM +0800, Ming Lei wrote: >> Use raw_smp_processor_id in lockup_detector_bootcpu_resume() >> because it is enough when non-boot CPUs are offline. >> >> This patch fixes the following warning when DEBUG_PREEMPT >>

Re: linux-next: build failure in Linus' tree

2012-07-26 Thread Stephen Rothwell
On Fri, 27 Jul 2012 10:15:35 +1000 Stephen Rothwell wrote: > > From: Stephen Rothwell > Date: Fri, 27 Jul 2012 10:11:13 +1000 > Subject: [PATCH] Btrfs: using vrmzalloc and friends needs vmalloc.h That should say "vmalloc". of course. -- Cheers, Stephen Rothwell

linux-next: build failure in Linus' tree

2012-07-26 Thread Stephen Rothwell
Hi Linus, After merging the origin tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/btrfs/send.c: In function 'fs_path_free': fs/btrfs/send.c:185:4: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration] fs/btrfs/send.c: In function

Re: [PATCH RT 05/12] slab: Prevent local lock deadlock

2012-07-26 Thread Frank Rowand
On 07/18/12 15:39, Steven Rostedt wrote: > From: Thomas Gleixner > > On RT we avoid the cross cpu function calls and take the per cpu local > locks instead. Now the code missed that taking the local lock on the > cpu which runs the code must use the proper local lock functions and > not a simple

Re: [PATCH 1/2] tpm: Move tpm_get_random api into the TPM device driver

2012-07-26 Thread H. Peter Anvin
On 06/07/2012 11:47 AM, Kent Yoder wrote: Move the tpm_get_random api from the trusted keys code into the TPM device driver itself so that other callers can make use of it. Also, change the api slightly so that the number of bytes read is returned in the call, since the TPM command can

Re: [vmw_vmci 07/11] Apply VMCI hash table

2012-07-26 Thread Andrew Stiegmann
Must have missed it. Will look into it. - Original Message - > From: "Greg KH" > To: "Andrew Stiegmann (stieg)" > Cc: linux-kernel@vger.kernel.org, virtualizat...@lists.linux-foundation.org, > pv-driv...@vmware.com, > vm-crosst...@vmware.com, csch...@vmware.com > Sent: Thursday, July

Re: [vmw_vmci 01/11] Apply VMCI context code

2012-07-26 Thread Andrew Stiegmann
Removed. Thanks. - Original Message - > From: "Greg KH" > To: "Andrew Stiegmann (stieg)" > Cc: linux-kernel@vger.kernel.org, virtualizat...@lists.linux-foundation.org, > pv-driv...@vmware.com, > vm-crosst...@vmware.com, csch...@vmware.com > Sent: Thursday, July 26, 2012 4:48:50 PM >

[GIT] Sparc

2012-07-26 Thread David Miller
Nothing much this merge window for sparc. 1) Fix FPU state management in sparc32, from Tkhai Kirill. 2) More sparc32 mm layer code cleanups, largely more side effects of the sun4c support removal in the 3.5 From Sam Ravnborg. 3) Remove unused code in sparc64, from Bjorn Helgaas and Kirill

[GIT] Networking

2012-07-26 Thread David Miller
1) Reinstate the no-ref optimization for input route lookups in ipv4 to fix some routing cache removal perf regressions. 2) Make TCP socket pre-demux work on ipv6 side too, from Eric Dumazet. 3) Get RX hash value from correct place in be2net driver, from Sarveshwar Bandi. 4) Validation

Re: [vmw_vmci 11/11] Apply the header code to make VMCI build

2012-07-26 Thread Greg KH
On Thu, Jul 26, 2012 at 04:39:40PM -0700, Andrew Stiegmann (stieg) wrote: > +#define ASSERT(cond) BUG_ON(!(cond)) Don't do that, you just crashed someone's box and now they have no way to recover it and tell you that you broke it. > +#define CAN_BLOCK(_f) (!((_f) & VMCI_QPFLAG_NONBLOCK)) >

[vmw_vmci 11/11] Apply the header code to make VMCI build

2012-07-26 Thread Andrew Stiegmann (stieg)
Adds all the necessary files to enable building of the VMCI module with the Linux Makefiles and Kconfig systems. Also adds the header files used for building modules against the driver. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/Kconfig|1 +

Re: [vmw_vmci 07/11] Apply VMCI hash table

2012-07-26 Thread Greg KH
On Thu, Jul 26, 2012 at 04:39:36PM -0700, Andrew Stiegmann (stieg) wrote: > Implements a hash table for VMCI's use. What's wrong with the in-kernel hash table(s)? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[vmw_vmci 10/11] Apply vmci routing code

2012-07-26 Thread Andrew Stiegmann (stieg)
This code is responsible for routing between various hosts/guests as well as routing in nested scenarios. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/vmw_vmci/vmci_route.c | 241 drivers/misc/vmw_vmci/vmci_route.h | 34 + 2 files changed,

[vmw_vmci 06/11] Apply dynamic array code

2012-07-26 Thread Andrew Stiegmann (stieg)
This code adds support for dynamic arrays that will grow if they need to. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/vmw_vmci/vmci_handle_array.c | 174 + drivers/misc/vmw_vmci/vmci_handle_array.h | 50 2 files changed, 224 insertions(+), 0

[vmw_vmci 01/11] Apply VMCI context code

2012-07-26 Thread Andrew Stiegmann (stieg)
Context code maintains state for vmci and allows the driver to communicate with multiple VMs. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/vmw_vmci/vmci_context.c | 1269 ++ drivers/misc/vmw_vmci/vmci_context.h | 161 + 2 files changed, 1430

[vmw_vmci 09/11] Apply VMCI resource code

2012-07-26 Thread Andrew Stiegmann (stieg)
Tracks all used resources within the vmci code. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/vmw_vmci/vmci_resource.c | 194 + drivers/misc/vmw_vmci/vmci_resource.h | 62 +++ 2 files changed, 256 insertions(+), 0 deletions(-) create mode

[vmw_vmci 02/11] Apply VMCI datagram code

2012-07-26 Thread Andrew Stiegmann (stieg)
Implements datagrams to allow data to be sent between host and guest. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/vmw_vmci/vmci_datagram.c | 586 + drivers/misc/vmw_vmci/vmci_datagram.h | 56 2 files changed, 642 insertions(+), 0 deletions(-)

[PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-26 Thread Toshiaki Yamane
Now checkpatch clean. $ find drivers/staging/olpc_dcon/ -name "*.[ch]"|xargs ./scripts/checkpatch.pl \ -f --terse --nosummary|cut -f3- -d":"|sort |uniq -c|sort -n 2 WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt 3 WARNING: Prefer

[vmw_vmci 07/11] Apply VMCI hash table

2012-07-26 Thread Andrew Stiegmann (stieg)
Implements a hash table for VMCI's use. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/vmw_vmci/vmci_hash_table.c | 332 +++ drivers/misc/vmw_vmci/vmci_hash_table.h | 56 + 2 files changed, 388 insertions(+), 0 deletions(-) create mode 100644

Re: [vmw_vmci 01/11] Apply VMCI context code

2012-07-26 Thread Greg KH
On Thu, Jul 26, 2012 at 04:39:30PM -0700, Andrew Stiegmann (stieg) wrote: > Context code maintains state for vmci and allows the driver > to communicate with multiple VMs. > > Signed-off-by: Andrew Stiegmann (stieg) One tiny nit: > diff --git a/drivers/misc/vmw_vmci/vmci_context.c >

[vmw_vmci 03/11] Apply VMCI doorbell code

2012-07-26 Thread Andrew Stiegmann (stieg)
Doorbell code allows for notifcations between host and guest. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/vmw_vmci/vmci_doorbell.c | 751 + drivers/misc/vmw_vmci/vmci_doorbell.h | 57 +++ 2 files changed, 808 insertions(+), 0 deletions(-) create

[vmw_vmci 00/11] VMCI for Linux

2012-07-26 Thread Andrew Stiegmann (stieg)
In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire

[vmw_vmci 05/11] Apply VMCI event code

2012-07-26 Thread Andrew Stiegmann (stieg)
Code that manages event handlers and handles callbacks when specific events fire. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/vmw_vmci/vmci_event.c | 451 drivers/misc/vmw_vmci/vmci_event.h | 29 +++ 2 files changed, 480 insertions(+), 0

Re: [vmw_vmci 00/11] VMCI for Linux

2012-07-26 Thread Greg KH
On Thu, Jul 26, 2012 at 04:39:29PM -0700, Andrew Stiegmann (stieg) wrote: > In an effort to improve the out-of-the-box experience with Linux > kernels for VMware users, VMware is working on readying the Virtual > Machine Communication Interface (vmw_vmci) and VMCI Sockets > (vmw_vsock) kernel

Re: [Resend][PATCH] ACPI / PM: Fix build warning in sleep.c for CONFIG_ACPI_SLEEP unset

2012-07-26 Thread Len Brown
Applied. thanks, Len Brown, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

[PATCH] n_tty: Don't lose characters when PARMRK is enabled

2012-07-26 Thread Jaeden Amero
When PARMRK is set and large transfers of characters that will get marked are being received, n_tty could drop data silently (i.e. without reporting any error to the client). This is because characters have the potential to take up to three bytes in the line discipline (when they get marked with

Re: [GIT PULL 00/15] arm-soc: changes for v3.6

2012-07-26 Thread Mark A. Greer
On Tue, Jul 24, 2012 at 02:51:35PM -0600, Paul Walmsley wrote: > Hi > > On Tue, 24 Jul 2012, Arnd Bergmann wrote: > > > On Tuesday 24 July 2012, Linus Torvalds wrote: > > > > > In your "for-linus" branch, "_3xxx_clkdm" remains in the > > > clockdomains_common[] array. In my merge, it is gone.

Re: [PATCH] cpuidle: coupled: fix sleeping while atomic in cpu notifier

2012-07-26 Thread Shilimkar, Santosh
On Thu, Jul 26, 2012 at 9:25 AM, Shilimkar, Santosh wrote: > On Wed, Jul 25, 2012 at 11:20 PM, Colin Cross wrote: >> The cpu hotplug notifier gets called in both atomic and non-atomic >> contexts, it is not always safe to lock a mutex. Filter out all events >> except the six necessary ones,

Re: No big TTY/serial patch merge for 3.6-rc1

2012-07-26 Thread Alan Cox
On Thu, 26 Jul 2012 14:28:07 -0700 Greg KH wrote: > On Thu, Jul 26, 2012 at 10:23:13PM +0100, Alan Cox wrote: > > On Thu, 26 Jul 2012 12:08:14 -0700 > > Greg KH wrote: > > > > > tty: Move the handling of the tty release logic > > > > Can we lose that one specifically. I've chased down

  1   2   3   4   5   6   7   8   9   10   >