Re: [Xen-devel] [PATCH 06/24] xen: missing includes

2012-07-26 Thread Jan Beulich
>>> On 26.07.12 at 17:33, Stefano Stabellini >>> wrote: > --- a/include/xen/interface/xen.h > +++ b/include/xen/interface/xen.h > @@ -10,7 +10,10 @@ > #define __XEN_PUBLIC_XEN_H__ > > #include > +#include > +#ifdef CONFIG_X86 > #include > +#endif Rather than hacking around this, why not

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

2012-07-26 Thread Paolo Bonzini
Il 27/07/2012 05:12, Wang Sen ha scritto: >> > No this code is correct, though you will need to make sure to properly >> > terminate the destination sg_list. > Yes, the terminate marker in the destination list is set when initialization. > sg_set_page would not break this marker because it saved bo

Re: [PATCH] mfd: add MAX8907 core driver

2012-07-26 Thread Laxman Dewangan
On Friday 27 July 2012 01:10 AM, Stephen Warren wrote: From: Gyungoh Yoo +static int max8907_irq_set_wake(struct irq_data *data, unsigned int on) +{ + /* Everything happens in max8907_irq_sync_unlock */ + Probably you need to call the wake_enable of irq which goes to the cpu here.

Re: [PATCH] extcon: arizona: Implement button detection support

2012-07-26 Thread Chanwoo Choi
On 07/26/2012 05:11 PM, Mark Brown wrote: > On Thu, Jul 26, 2012 at 09:10:08AM +0900, Chanwoo Choi wrote: > >> If user press BTN_0 and BTN_1 at the same time and then user only >> released BTN_0 but BTN_1 is still pressed, is it right that report >> released event to all of buttons? I think that

Re: [PATCH] Add Etron XHCI quirk to avoid warning spam

2012-07-26 Thread Daniel J Blueman
On 27 July 2012 14:14, Sarah Sharp wrote: > On Fri, Jul 27, 2012 at 12:03:44PM +0800, Daniel J Blueman wrote: >> 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 qui

Re: [BUG] Problem with commit cf03c5dac83609f09d9f0e9fa3c09d86daed614d

2012-07-26 Thread Dirk Gouders
Dirk Gouders writes: > Seth Forshee writes: > >> On Thu, Jul 26, 2012 at 05:07:57PM +0200, Dirk Gouders wrote: >>> Hi Seth, >>> >>> thanks for your reply and sorry for the noise. >>> >>> I followed your advice and tried to boot with the WLAN interface turned >>> off, and the problem still exis

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

2012-07-26 Thread Cyrill Gorcunov
On Fri, Jul 27, 2012 at 10:08:38AM +0400, Pavel Emelyanov wrote: > >>> +static void *seq_next(struct seq_file *m, void *p, loff_t *pos) > >>> +{ > >>> + struct proc_fdinfo_extra *extra = m->private; > >>> + void *v = NULL; > >>> + > >>> + if (extra->driver) { > >>> + int ret = 0; > >>> + >

Re: [PATCH 3/4] uprobes: rename vma_address() and make it return "unsigned long"

2012-07-26 Thread Srikar Dronamraju
* Oleg Nesterov [2012-07-26 12:28:12]: > On 07/26, Srikar Dronamraju wrote: > > > > * Oleg Nesterov [2012-07-12 19:10:22]: > > > > > 1. vma_address() returns loff_t, this looks confusing and this is > > >unnecessary after the previous change. Make it return "ulong", > > >all callers trun

Re: [PATCH] Add Etron XHCI quirk to avoid warning spam

2012-07-26 Thread Sarah Sharp
Hi Daniel, I already have a patch in my queue for this. However, it keys off the PCI_DEVICE_ID_ASROCK_P67 PCI device ID. Do you have another Etron device with a different device ID that needs this quirk? Sarah Sharp On Fri, Jul 27, 2012 at 12:03:44PM +0800, Daniel J Blueman wrote: > When vario

Re: [RFC PATCH v4 12/13] memory-hotplug : add node_device_release

2012-07-26 Thread Wen Congyang
At 07/18/2012 06:17 PM, Yasuaki Ishimatsu Wrote: > When calling unregister_node(), the function shows following message at > device_release(). > > Device 'node2' does not have a release() function, it is broken and must be > fixed. > > So the patch implements node_device_release() > > CC: David

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

2012-07-26 Thread Pavel Emelyanov
>>> +static void *seq_next(struct seq_file *m, void *p, loff_t *pos) >>> +{ >>> + struct proc_fdinfo_extra *extra = m->private; >>> + void *v = NULL; >>> + >>> + if (extra->driver) { >>> + int ret = 0; >>> + >>> + if (*pos == 0) { >>> + v = extra->driver-

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

2012-07-26 Thread Cyrill Gorcunov
On Fri, Jul 27, 2012 at 07:48:28AM +0400, Pavel Emelyanov wrote: > > +static int prep_fdinfo_driver(struct proc_fdinfo_extra *extra) > > +{ > > + struct proc_fdinfo_driver *s; > > + > > + down_read(&fdinfo_drivers_sem); > > + list_for_each_entry(s, &fdinfo_drivers, list) { > > + if

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 wrot

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 ass

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 developm

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 >> b/drivers/staging/olpc_

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 dcon_hw_

[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 Ch

[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 desc

[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, Ben

[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 2

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 writethrou

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 appl

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 >> --- a/fs/sysfs/

[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 --- a/

[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 a/drivers/base/c

[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 driver

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 pro

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 changed,

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 tree

[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, xbr_ma

[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 d

[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 a/Documentation/watchdog/src

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 UNCORE_PMU_HRTIMER_IN

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 I

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(&fdinfo_drivers_sem); > + list_for_each_entry(s, &fdinfo_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 like

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 insertions(

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 (wake_affine(affine_

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 (3.4

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 /home$

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 epa

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 i

[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 d

[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 b/drivers/acpi/contain

[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 iden

[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 usage

[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 === --- linux-3.5.orig/include/acpi/acpi_bu

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 system

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 un

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 inse

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 la

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 Pa

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 -n

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 Documen

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 w

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; 3

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) KB

[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: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.gi

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 timeout

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, Thank

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: a

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 dcon_hw_i

[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 a/drivers/acpi/s

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 request_firmware_nowa

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 throttling

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 dr

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 vma

[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() (previo

[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 ch

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 Rothwells...@canb.au

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 potentiall

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 2

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 > Su

[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 T

[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 of

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)) > +#defi

[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 + drivers/misc/Mak

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 d

[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 inser

[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 10

[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(-)

  1   2   3   4   5   6   7   >