Re: [GIT PULL] uprobes: pre-filtering

2013-01-24 Thread Ingo Molnar
* Srikar Dronamraju wrote: > The other alternative is to extend the current abi and pass > the prefilter option. Should we extend the abi for userspace > tracing is obviously debatable. That's the obvious path to go - why add something to the kernel if user-space cannot make use of it?

Re: [PATCH] tools lib traceevent: Handle dynamic array's element size properly

2013-01-24 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 22, 2013 at 02:16:47PM +0100, Jiri Olsa escreveu: > > On Mon, Jan 21, 2013 at 11:45:42PM -0500, Steven Rostedt wrote: > > > This is only used in this function (the field_dynamic_elem_size() is > > > only called here). Can we not add the

Re: [PATCH] backlight: add an AS3711 PMIC backlight driver

2013-01-24 Thread Guennadi Liakhovetski
Hi Jingoo Han On Fri, 25 Jan 2013, Jingoo Han wrote: > On Wednesday, January 09, 2013 2:55 AM, Guennadi Liakhovetski wrote > > > > This is an initial commit of a backlight driver, using step-up DCDC power > > supplies on AS3711 PMIC. Only one mode has actually been tested, several > > further

Re: [PATCH v3 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-24 Thread Felipe Balbi
On Thu, Jan 24, 2013 at 09:32:46PM -0800, Stephen Warren wrote: > On 01/24/2013 06:19 PM, Kishon Vijay Abraham I wrote: > > Added a new driver for the usb part of control module. This has an API > > to power on the USB2 phy and an API to write to the mailbox depending on > > whether MUSB has to

Re: [PATCH v2 2/6] sched: split out css_online/css_offline from tg creation/destruction

2013-01-24 Thread Ingo Molnar
* Tejun Heo wrote: > On Thu, Jan 24, 2013 at 11:01:34AM +0100, Ingo Molnar wrote: > > Acked-by: Ingo Molnar > > Ingo, if you don't objecdt, I'll take these through cgroup/for-3.9 > branch with other cgroup changes. Pleaes holler if you object. That's fine with me, it should not interact

Re: [tip:x86/debug] x86/EFI: Properly init-annotate BGRT code

2013-01-24 Thread Jan Beulich
>>> On 24.01.13 at 23:28, Josh Triplett wrote: > On Thu, Jan 24, 2013 at 12:34:21PM -0800, tip-bot for Jan Beulich wrote: >> Commit-ID: 13f0e4d2b9e2209f13d5a4122478eb79e6136870 >> Gitweb: > http://git.kernel.org/tip/13f0e4d2b9e2209f13d5a4122478eb79e6136870 >> Author: Jan Beulich >>

Re: [PATCH v1 1/8] usb: otg: palmas-usb: make palmas-usb as a comparator driver

2013-01-24 Thread Felipe Balbi
Hi, On Fri, Jan 25, 2013 at 08:42:24AM +0530, Kishon Vijay Abraham I wrote: > palmas-usb is made as a comparator driver to omap usb2 phy, so that > omap usb can make use of palmas for srp and also to set vbus. > > Signed-off-by: Kishon Vijay Abraham I doesn't apply. palmas-usb isn't in

Re: [PATCH 2/2] mutex: use spin_[un]lock instead of arch_spin_[un]lock

2013-01-24 Thread Ingo Molnar
* Andrew Morton wrote: > On Thu, 24 Jan 2013 17:22:45 +0800 > Yuanhan Liu wrote: > > > Use spin_[un]lock instead of arch_spin_[un]lock in mutex-debug.h so > > that we can collect the lock statistics of spin_lock_mutex from > > /proc/lock_stat. So, as per the discussion we don't want this

Re: [PATCH RESEND 1/1] X86: Handle Hyper-V vmbus interrupts as special hypervisor interrupts

2013-01-24 Thread Jan Beulich
>>> On 24.01.13 at 19:59, Olaf Hering wrote: > On Thu, Jan 24, KY Srinivasan wrote: > > >> > Question is - considering you stated that this is supported >> > starting in Win8, doesn't Hyper-V itself announce that >> > capability in some explicit way? >> >> Thanks Jan. Unfortunately I don't

RE: [PATCH RESEND 1/1] X86: Handle Hyper-V vmbus interrupts as special hypervisor interrupts

2013-01-24 Thread Jan Beulich
>>> On 24.01.13 at 20:03, KY Srinivasan wrote: > I was under the impression that only Dom0 Xen would emulate Hyper-V. How that? It's the hypervisor that does the emulation, and obviously not for Dom0, but for (HVM) DomU-s. Jan -- To unsubscribe from this list: send the line "unsubscribe

RE: [PATCH RESEND 1/1] X86: Handle Hyper-V vmbus interrupts as special hypervisor interrupts

2013-01-24 Thread Jan Beulich
>>> On 24.01.13 at 20:10, "H. Peter Anvin" wrote: > I also have to point out the obvious problem with Xen masquerading as HyperV > without implementing the same feature set... I can't resist to state that this is what feature bits have been introduced for in CPUID leaves. As long as Xen's shim

Re: [PATCH v2] sched: Fix print format for u64

2013-01-24 Thread Paul Turner
On Thu, Jan 24, 2013 at 11:19 PM, Ingo Molnar wrote: > > * Fabio Estevam wrote: > >> On Thu, Jan 24, 2013 at 12:19 PM, Ingo Molnar wrote: >> >> > I suppose - is this patch warning-free both on 64-bit and 32-bit >> > systems? >> >> Yes, just confirmed that this patch is warning-free on both

Re: [PATCH] cpuset: fix cpuset_print_task_mems_allowed() vs rename() race

2013-01-24 Thread Li Zefan
On 2013/1/25 15:26, Al Viro wrpte: > On Fri, Jan 25, 2013 at 03:09:48PM +0800, Li Zefan wrote: >> rename() will change dentry->d_name. The result of this race can >> be worse than seeing partially rewritten name, but we might access >> a stale pointer because rename() will re-allocate memory to

Re: [PATCH RESEND 1/1] X86: Handle Hyper-V vmbus interrupts as special hypervisor interrupts

2013-01-24 Thread Jan Beulich
>>> On 24.01.13 at 20:04, "H. Peter Anvin" wrote: > Can't you discover Xen emulation by looking for Xen first? Or does Xen go > "stealth"? That's already being done - the ordering currently is Xen, VMWare, Hyper-V, KVM. I.e. there's only a problem when !CONFIG_XEN_PVHVM. Jan -- To

Re: [PATCH V6 2/3] virtio-net: split out clean affinity function

2013-01-24 Thread Wanlong Gao
On 01/25/2013 03:04 PM, Jason Wang wrote: > On 01/25/2013 02:42 PM, Wanlong Gao wrote: >> On 01/25/2013 02:12 PM, Jason Wang wrote: >>> On 01/25/2013 01:40 PM, Wanlong Gao wrote: On 01/25/2013 01:13 PM, Jason Wang wrote: > On 01/25/2013 12:20 PM, Wanlong Gao wrote: >> On 01/25/2013

Re: [PATCH] cpuset: fix cpuset_print_task_mems_allowed() vs rename() race

2013-01-24 Thread Al Viro
On Fri, Jan 25, 2013 at 03:09:48PM +0800, Li Zefan wrote: > rename() will change dentry->d_name. The result of this race can > be worse than seeing partially rewritten name, but we might access > a stale pointer because rename() will re-allocate memory to hold > a longer name. > > It's safe in

Re: [PATCH v2] sched: Fix print format for u64

2013-01-24 Thread Ingo Molnar
* Fabio Estevam wrote: > On Thu, Jan 24, 2013 at 12:19 PM, Ingo Molnar wrote: > > > I suppose - is this patch warning-free both on 64-bit and 32-bit > > systems? > > Yes, just confirmed that this patch is warning-free on both 64-bit and > 32-bit machines. Apparently it's not all good, see

[PATCH] cgroup: add lock validation in check_for_release()

2013-01-24 Thread Li Zefan
There was a long-standing bug that this function was called without any lock. Add a check to prevent similar issue. Signed-off-by: Li Zefan --- kernel/cgroup.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index

[PATCH] cgroup: fix cgroup_path() vs rename() race

2013-01-24 Thread Li Zefan
rename() will change dentry->d_name. The result of this race can be worse than seeing partially rewritten name, but we might access a stale pointer because rename() will re-allocate memory to hold a longer name. Use dentry_path_raw(), and this vfs API will take care of lockings. Signed-off-by:

Re: [BUG] panda board locks up on boot

2013-01-24 Thread Igor Grinberg
Hi Steven, On 01/25/13 05:01, Steven Rostedt wrote: > I've recently started testing my work on arm boards and have found that > they both don't boot under the latest kernel anymore. I already posted > about my snowball board, but my panda board also locks up. > > I've bisected it down to this

[PATCH] cpuset: fix cpuset_print_task_mems_allowed() vs rename() race

2013-01-24 Thread Li Zefan
rename() will change dentry->d_name. The result of this race can be worse than seeing partially rewritten name, but we might access a stale pointer because rename() will re-allocate memory to hold a longer name. It's safe in the protection of dentry->d_lock. Signed-off-by: Li Zefan ---

Re: [PATCH V6 2/3] virtio-net: split out clean affinity function

2013-01-24 Thread Jason Wang
On 01/25/2013 02:42 PM, Wanlong Gao wrote: > On 01/25/2013 02:12 PM, Jason Wang wrote: >> On 01/25/2013 01:40 PM, Wanlong Gao wrote: >>> On 01/25/2013 01:13 PM, Jason Wang wrote: On 01/25/2013 12:20 PM, Wanlong Gao wrote: > On 01/25/2013 11:28 AM, Jason Wang wrote: >> On 01/21/2013

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-24 Thread Santosh Shilimkar
On Friday 25 January 2013 02:19 AM, Matt Porter wrote: On Thu, Jan 24, 2013 at 05:12:05AM +, Shilimkar, Santosh wrote: On Thursday 24 January 2013 02:19 AM, Matt Porter wrote: On Wed, Jan 23, 2013 at 04:37:55PM +0530, Santosh Shilimkar wrote: Matt, On Wednesday 16 January 2013 02:02 AM,

[PATCH 2/2] media: tvp7002: enable TVP7002 decoder for media controller based usage

2013-01-24 Thread Prabhakar Lad
From: Manjunath Hadli add pad operations support for g_mbus_fmt, enum_mbus_code, set_pad_format, get_pad_format and media_entity_init. The device supports 1 output pad and no input pads. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/i2c/tvp7002.c | 132

[PATCH 1/2] media: add support for decoder subdevs along with sensor and others

2013-01-24 Thread Prabhakar Lad
From: Manjunath Hadli A lot of SOCs including Texas Instruments Davinci family mainly use video decoders as input devices. Here the initial subdevice node from where the input really comes is this decoder, for which support is needed as part of the Media Controller infrastructure. This patch

[PATCH 0/2] TVP7002 add support for media controller based usag

2013-01-24 Thread Prabhakar Lad
From: Lad, Prabhakar The first patch adds a entry MEDIA_ENT_T_V4L2_SUBDEV_DECODER for decoders and second patch adds media controller support for tvp7002 decoder. Manjunath Hadli (2): media: add support for decoder subdevs along with sensor and others media: tvp7002: enable TVP7002 decoder

Re: [GIT PULL] uprobes: pre-filtering

2013-01-24 Thread Srikar Dronamraju
* Oleg Nesterov [2013-01-24 18:06:12]: > On 01/24, Ingo Molnar wrote: > > > > * Oleg Nesterov wrote: > > > > > Unfortunately, currently there is no in-kernel user of > > > pre-filtering. > > > > > > I'll try to implement the pid-base filtering at least for > > > tracing/uprobe_events, but this

[PATCH 3/4] USB: HID: SRW-S1 Add support for LEDs

2013-01-24 Thread Simon Wood
From: simon This patch to the SRW-S1 driver adds support for the LED RPM meter on the front of the device. The LEDs are controlled via /sys/class/leds interface, with an individual control for each of the 15 LEDs. Signed-off-by: Simon Wood tested-by: John Murphy ---

[PATCH 2/4] USB: HID: SRW-S1 Add support for dials

2013-01-24 Thread Simon Wood
From: simon This patch to the SRW-S1 driver re-writes the HID descriptor to insert a section for the 3 dials on the device, previously these were contained within a 'Manufacturer Specific' usage page. Signed-off-by: Simon Wood tested-by: John Murphy --- drivers/hid/hid-srws1.c | 86

[PATCH 4/4] USB: HID: SRW-S1 Add support controlling all LEDs simultaneously

2013-01-24 Thread Simon Wood
From: simon This patch to the SRW-S1 driver adds the ability to control all LEDs simultaneously as testing showed that it was slow (noticably!!) when seting or clearing all the LEDs in turn. It adds a 'RPMALL' LED, whose behavoir is asserted to all the LEDs in the bar graph, individual LEDs can

[PATCH 1/4] USB: HID: SRW-S1 Gaming Wheel Driver

2013-01-24 Thread Simon Wood
From: simon Add support the SRW-S1 by patching HID descriptor to read axis as Generic Desktop X, Y and Z (rather than Usage page being 'Simulation'). Signed-off-by: Simon Wood tested-by: John Murphy --- drivers/hid/Kconfig |6 + drivers/hid/Makefile|1 +

Re: [PATCH V6 2/3] virtio-net: split out clean affinity function

2013-01-24 Thread Wanlong Gao
On 01/25/2013 02:12 PM, Jason Wang wrote: > On 01/25/2013 01:40 PM, Wanlong Gao wrote: >> On 01/25/2013 01:13 PM, Jason Wang wrote: >>> On 01/25/2013 12:20 PM, Wanlong Gao wrote: On 01/25/2013 11:28 AM, Jason Wang wrote: > On 01/21/2013 07:25 PM, Wanlong Gao wrote: >> Split out the

[patch 1/2] video/kyro: delete some dead code

2013-01-24 Thread Dan Carpenter
_OLDCODE is never defined. Delete it. Signed-off-by: Dan Carpenter diff --git a/drivers/video/kyro/STG4000OverlayDevice.c b/drivers/video/kyro/STG4000OverlayDevice.c index 0aeeaa1..84b6ea8 100644 --- a/drivers/video/kyro/STG4000OverlayDevice.c +++ b/drivers/video/kyro/STG4000OverlayDevice.c

RE: [PATCH V1 3/3] Xen processor driver

2013-01-24 Thread Liu, Jinsong
Agree, with minor comments below. Konrad Rzeszutek Wilk wrote: >> >> diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig >> index 2dc7022..ca2535a 100644 >> --- a/drivers/xen/Kconfig >> +++ b/drivers/xen/Kconfig >> @@ -202,6 +202,18 @@ config XEN_ACPI_HOTPLUG_MEMORY >>to hot-add

RE: [PATCH V1 1/3] Xen stub driver for CPU hotplug

2013-01-24 Thread Liu, Jinsong
Konrad Rzeszutek Wilk wrote: > On Tue, Jan 15, 2013 at 12:30:19PM +, Liu, Jinsong wrote: >>> From 110b4ef3b8ebefeaf68832dd8ef8aa916a782e89 Mon Sep 17 00:00:00 >>> 2001 >> From: Liu Jinsong >> Date: Mon, 14 Jan 2013 15:19:30 +0800 >> Subject: [PATCH 1/3] Xen stub driver for CPU hotplug >> >>

RE: [PATCH 5/6] ARM: regulator: add tps6507x device tree data

2013-01-24 Thread Vishwanathrao Badarkhe, Manish
Hi Mark, On Thu, Jan 24, 2013 at 17:30:51, Mark Brown wrote: > On Thu, Jan 24, 2013 at 04:25:19PM +0530, Vishwanathrao Badarkhe, Manish > wrote: > > > --- > > arch/arm/boot/dts/tps6507x.dtsi | 47 > > +++ > > Why are you putting this in arch/arm? > I

Re: [PATCH 1/1] Drivers: scsi: storvsc: Initialize the sglist

2013-01-24 Thread Wanlong Gao
On 01/25/2013 09:04 AM, K. Y. Srinivasan wrote: > Properly initialize scatterlist before using it. > > Signed-off-by: K. Y. Srinivasan > Cc: Stable Reviewed-by: Wanlong Gao > --- > drivers/scsi/storvsc_drv.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git

Re: [PATCH V8 00/13] MIPS: Add Loongson-3 based machines support

2013-01-24 Thread John Crispin
On 25/01/13 01:15, 陈华才 wrote: > ok, I'll prepare v9 of this seris in these days. >> Please dont send v9 read my mail and compile / runtime test the tree please only patch 3 needs to be reworked and an update for the "MIPS: Loongson 3: Add HT-linked PCI support." needs to e made John

Re: [PATCH 2/2] ARM: davinci: da850: add OF_DEV_AUXDATA entry for eth0.

2013-01-24 Thread Sekhar Nori
On 1/21/2013 11:59 AM, Prabhakar Lad wrote: > From: Lad, Prabhakar > > Add OF_DEV_AUXDATA for eth0 driver in da850 board dt > file to use emac clock. > > Signed-off-by: Lad, Prabhakar > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Cc:

Re: [PATCH 1/2] ARM: davinci: da850: add DT node for eth0.

2013-01-24 Thread Sekhar Nori
Prabhakar, On 1/21/2013 11:59 AM, Prabhakar Lad wrote: > From: Lad, Prabhakar > > Add eth0 device tree node information to da850 by > providing interrupt details and local mac address of eth0. > > Signed-off-by: Lad, Prabhakar > Cc: linux-arm-ker...@lists.infradead.org > Cc:

[PATCH] ARM: davinci: da850: add RTC driver DT entries

2013-01-24 Thread Mrugesh Katepallewar
Add RTC DT entries in da850 dts file. Signed-off-by: Mrugesh Katepallewar --- Applies on top of v3.8-rc4 of linus tree. Tested on da850-evm device. Test Procedure: date [.]MM.DD-hh:mm[:ss] hwclock -w reset board and check system time. :100644 100644 37dc5a3... b16efd4... M

Re: [PATCH 23/32] Generic dynamic per cpu refcounting

2013-01-24 Thread Rusty Russell
Tejun Heo writes: >> It also implements two stage shutdown, as we need it to tear down the >> percpu counts. Before dropping the initial refcount, you must call >> percpu_ref_kill(); this puts the refcount in "shutting down mode" and >> switches back to a single atomic refcount with the

Re: Doubts about listen backlog and tcp_max_syn_backlog

2013-01-24 Thread Nivedita SInghvi
On 01/24/2013 11:21 AM, Leandro Lucarella wrote: > On Thu, Jan 24, 2013 at 10:44:32AM -0800, Rick Jones wrote: >> On 01/24/2013 04:22 AM, Leandro Lucarella wrote: >>> On Wed, Jan 23, 2013 at 11:28:08AM -0800, Rick Jones wrote: > Then if syncookies are enabled, the time spent in connect()

Re: [PATCH V6 2/3] virtio-net: split out clean affinity function

2013-01-24 Thread Jason Wang
On 01/25/2013 01:40 PM, Wanlong Gao wrote: > On 01/25/2013 01:13 PM, Jason Wang wrote: >> On 01/25/2013 12:20 PM, Wanlong Gao wrote: >>> On 01/25/2013 11:28 AM, Jason Wang wrote: On 01/21/2013 07:25 PM, Wanlong Gao wrote: > Split out the clean affinity function to

Re: [PATCH] MODSIGN: flag modules that use cryptoapi and only panic if those are unsigned

2013-01-24 Thread Kyle McMartin
On Fri, Jan 25, 2013 at 10:06:01AM +1030, Rusty Russell wrote: > Kyle McMartin writes: > > After thinking about it a while, this seems like the best way to solve > > the problem, although it does still kind of offend my delicate > > sensibilities... > > You're far too polite. This patch was

Re: [PATCH v2 3/4] MODSIGN: Add -s option to sign-file

2013-01-24 Thread Rusty Russell
David Howells writes: > Feel free to add: > > Acked-by: David Howells > > to your patches. Thanks, done and applied. Cheers, Rusty. -- 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

Re: [PATCH V6 2/3] virtio-net: split out clean affinity function

2013-01-24 Thread Wanlong Gao
On 01/25/2013 01:13 PM, Jason Wang wrote: > On 01/25/2013 12:20 PM, Wanlong Gao wrote: >> On 01/25/2013 11:28 AM, Jason Wang wrote: >>> On 01/21/2013 07:25 PM, Wanlong Gao wrote: Split out the clean affinity function to virtnet_clean_affinity(). Cc: Rusty Russell Cc: "Michael

[GIT PULL] Btrfs fixes (v2)

2013-01-24 Thread Chris Mason
Hi Linus, My for-linus branch has our batch of btrfs fixes: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus It turns out that we had two crc bugs when running fsx-linux in a loop. Many thanks to Josef, Miao Xie, and Dave Sterba for nailing it all down. Miao also

Re: [PATCH v3 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-24 Thread Stephen Warren
On 01/24/2013 06:19 PM, Kishon Vijay Abraham I wrote: > Added a new driver for the usb part of control module. This has an API > to power on the USB2 phy and an API to write to the mailbox depending on > whether MUSB has to act in host mode or in device mode. > > Writing to control module

linux-next: Tree for Jan 25

2013-01-24 Thread Stephen Rothwell
Hi all, Changes since 20130124: New trees: ipsec and ipsec-next The powerpc tree still had a build failure. The sound-asoc tree still had its build failure so I used the version from next-20130122. The akpm tree lost its build failure and several patches that turned up elsewhere

Crash with 9fdb04c "async: replace list of active domains with global list of pending items"

2013-01-24 Thread Stephen Warren
Tejun, In next-20130124, I see a crash during boot on my ARM system unless I revert 9fdb04c "async: replace list of active domains with global list of pending items". This was reported t me by Venu (CC'd). The kernel log is below. Looking at that patch, I note that __async_sched

Re: [PATCH] backlight: add an AS3711 PMIC backlight driver

2013-01-24 Thread Jingoo Han
On Wednesday, January 09, 2013 2:55 AM, Guennadi Liakhovetski wrote > > This is an initial commit of a backlight driver, using step-up DCDC power > supplies on AS3711 PMIC. Only one mode has actually been tested, several > further modes have been implemented "dry," but disabled to avoid

Re: [PATCH] vhost-net: fall back to vmalloc if high-order allocation fails

2013-01-24 Thread Jason Wang
On Friday, January 25, 2013 03:03:13 AM Cong Wang wrote: > ["Followup-To:" header set to gmane.linux.network.] > > On Wed, 23 Jan 2013 at 20:46 GMT, Romain Francoise wrote: > > Creating a vhost-net device allocates an object large enough (34320 bytes > > on x86-64) to trigger an order-4

Re: [PATCH V6 2/3] virtio-net: split out clean affinity function

2013-01-24 Thread Jason Wang
On 01/25/2013 12:20 PM, Wanlong Gao wrote: > On 01/25/2013 11:28 AM, Jason Wang wrote: >> On 01/21/2013 07:25 PM, Wanlong Gao wrote: >>> Split out the clean affinity function to virtnet_clean_affinity(). >>> >>> Cc: Rusty Russell >>> Cc: "Michael S. Tsirkin" >>> Cc: Jason Wang >>> Cc: Eric

Re: [PATCH V6 2/3] virtio-net: split out clean affinity function

2013-01-24 Thread Wanlong Gao
On 01/25/2013 11:28 AM, Jason Wang wrote: > On 01/21/2013 07:25 PM, Wanlong Gao wrote: >> Split out the clean affinity function to virtnet_clean_affinity(). >> >> Cc: Rusty Russell >> Cc: "Michael S. Tsirkin" >> Cc: Jason Wang >> Cc: Eric Dumazet >> Cc:

Re: [PATCH v2] PCI: Document PCIE BUS MPS parameters

2013-01-24 Thread Bjorn Helgaas
[+cc Jon, can you make sure this documentation is accurate?] On Wed, Jan 23, 2013 at 7:58 PM, Yijing Wang wrote: > v0->v1: Update MPS parameters as non-arch and add MRRS > description into pcie_bus_perf parameter suggested > by Andrew Murray. > v1->v2: Update some

Re: [PATCH 1/3] regulator: max8907: Fix using wrong dev argument for calling of_regulator_match

2013-01-24 Thread Stephen Warren
On 01/24/2013 06:20 PM, Axel Lin wrote: > The dev parameter is the device requesting the data. > In this case it should be >dev rather than pdev->dev.parent. > > The dev parameter is used to call devm_kzalloc in > of_get_regulator_init_data(), > which means this fixes a memory leak because the

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Greg Kroah-Hartman
On Thu, Jan 24, 2013 at 09:21:52PM -0700, Bjorn Helgaas wrote: > On Thu, Jan 24, 2013 at 9:14 PM, Greg Kroah-Hartman > wrote: > > On Thu, Jan 24, 2013 at 07:59:01PM -0700, Bjorn Helgaas wrote: > >> [+cc Greg for driver core] > >> > >> On Fri, Jan 25, 2013 at 10:13:03AM +0900, Joonsoo Kim wrote: >

Re: [PATCH 2/7] clk: tegra: Use common of_clk_init() function

2013-01-24 Thread Stephen Warren
On 01/24/2013 04:57 PM, Mike Turquette wrote: > Quoting Stephen Warren (2013-01-24 11:32:37) >> On 01/24/2013 11:20 AM, Mike Turquette wrote: >>> Quoting Prashant Gaikwad (2013-01-04 18:44:48) On Friday 04 January 2013 10:00 PM, Stephen Warren wrote: > On 01/04/2013 12:00 AM, Prashant

Re: [PATCH 0/2] kvm: IOMMU read-only mapping support

2013-01-24 Thread Takuya Yoshikawa
On Fri, 25 Jan 2013 12:59:12 +0900 Takuya Yoshikawa wrote: > > The commit c972f3b1 changed the write-protect behaviour - it does > > wirte-protection only when dirty flag is set. > > [ I did not see this commit when we discussed the problem before. ] > > I'll look at the commit later, after the

Re: boot warnings due to swap: make each swap partition have one address_space

2013-01-24 Thread Shaohua Li
NING: at lib/debugobjects.c:261 > debug_print_object+0x8e/0xb0() > [3.447715] ODEBUG: init active (active state 0) object type: > percpu_counter hint: (null) > [3.450360] Modules linked in: > [3.451593] Pid: 1, comm: swapper/0 Tainted: GW >

Re: [PATCH] pci: remove redundant function calls in pci_reassigndev_resource_alignment()

2013-01-24 Thread Bjorn Helgaas
On Fri, Dec 28, 2012 at 1:55 AM, Lin Feng wrote: > > > On 12/28/2012 03:45 PM, Yinghai Lu wrote: >> On Thu, Dec 27, 2012 at 11:31 PM, Lin Feng wrote: >>> pci_reassigndev_resource_alignment() potentially calls >>> pci_specified_resource_alignment() twice, which is redundant. >>> >>>

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Bjorn Helgaas
On Thu, Jan 24, 2013 at 9:14 PM, Greg Kroah-Hartman wrote: > On Thu, Jan 24, 2013 at 07:59:01PM -0700, Bjorn Helgaas wrote: >> [+cc Greg for driver core] >> >> On Fri, Jan 25, 2013 at 10:13:03AM +0900, Joonsoo Kim wrote: >> > Hello, Bjorn. >> > >> > On Thu, Jan 24, 2013 at 10:45:13AM -0700, Bjorn

Re: [PATCH 2/5] jump label: constify lookup functions

2013-01-24 Thread Sasha Levin
On 01/18/2013 04:25 PM, Steven Rostedt wrote: > On Wed, 2013-01-09 at 18:09 -0500, Sasha Levin wrote: >> Modify the parameters of all the lookup and the bookkeeping functions which >> should be const to const. >> >> For example, jump_label_text_reserved() doesn't modify the memory it works >> on,

Re: [PATCH v3.5] dw_dmac: return proper residue value

2013-01-24 Thread Viresh Kumar
On Thu, Jan 24, 2013 at 6:37 PM, Andy Shevchenko wrote: > Currently the driver returns full length of the active descriptor which is > wrong. We have to go throught the active descriptor and substract the length > of > each sent children in the chain from the total length along with the actual >

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Greg Kroah-Hartman
On Thu, Jan 24, 2013 at 07:59:01PM -0700, Bjorn Helgaas wrote: > [+cc Greg for driver core] > > On Fri, Jan 25, 2013 at 10:13:03AM +0900, Joonsoo Kim wrote: > > Hello, Bjorn. > > > > On Thu, Jan 24, 2013 at 10:45:13AM -0700, Bjorn Helgaas wrote: > > > On Fri, Dec 28, 2012 at 6:50 AM, Joonsoo Kim

Re: [PATCH 3/5] kprobes: constify check_kprobe_address_safe and friends

2013-01-24 Thread Sasha Levin
Hello Masami, Thank you for your review! My comments are below. On 01/21/2013 06:49 AM, Masami Hiramatsu wrote: > (2013/01/10 8:09), Sasha Levin wrote: >> @@ -278,7 +278,7 @@ static int __kprobes can_optimize(unsigned long paddr) >> } >> >> /* Check optimized_kprobe can actually be

Re: [PATCH 5/7] clk: vt8500: Use common of_clk_init() function

2013-01-24 Thread Tony Prisk
On Thu, 2013-01-24 at 11:15 -0800, Mike Turquette wrote: > Quoting Tony Prisk (2013-01-18 13:08:00) > > On Fri, 2013-01-18 at 09:56 -0800, Mike Turquette wrote: > > > Quoting Prashant Gaikwad (2013-01-03 23:00:56) > > > > Use common of_clk_init() function for clock initialization. > > > > > > > >

Re: [PATCH 0/2] kvm: IOMMU read-only mapping support

2013-01-24 Thread Takuya Yoshikawa
On Fri, 25 Jan 2013 11:28:40 +0800 Xiao Guangrong wrote: > > I think I can naturally update my patch after this gets merged. > > > > Please wait. The patch I mentioned above won't change anything. Just cleans up set_memory_region(). The only possible change which we discussed before was

Re: [PATCH 2/8] mm: use vm_unmapped_area() on alpha architecture

2013-01-24 Thread Michael Cree
On 9/01/2013, at 2:28 PM, Michel Lespinasse wrote: Update the alpha arch_get_unmapped_area function to make use of vm_unmapped_area() instead of implementing a brute force search. Signed-off-by: Michel Lespinasse 'Tis running fine on my alpha. Tested-by: Michael Cree Cheers Michael. --

Re: [RFC] efivars write(2) races

2013-01-24 Thread Lingzhu Xiang
On 01/25/2013 08:25 AM, Al Viro wrote: > 1) process A does write() on efivars file, reaches ->get_variable(), > gets newdatasize set, drops efivars->lock and loses CPU before an attempt to > grab ->i_mutex. process B comes and does the same thing, replacing the > variable contents. Then it

boot warnings due to swap: make each swap partition have one address_space

2013-01-24 Thread Sasha Levin
ve (active state 0) object type: percpu_counter hint: (null) [3.450360] Modules linked in: [3.451593] Pid: 1, comm: swapper/0 Tainted: GW 3.8.0-rc4-next-20130124-sasha-4-g838a1b4 #266 [3.454508] Call Trace: [3.455248] [] warn_slowpath_common+0x8c/0xc0 [

Re: crash in ocfs2_fast_symlink_readpage in kernel 3.5.0

2013-01-24 Thread Bret Towe
On Thu, Jan 24, 2013 at 2:30 PM, Andrew Morton wrote: > On Sat, 19 Jan 2013 20:15:33 -0800 > Bret Towe wrote: > >> > >> > it looks like you have a patch for this problem in a queue somewhere >> > (email found on ocfs2-dev: >> > https://oss.oracle.com/pipermail/ocfs2-devel/2012-August/008677.html

Re: [PATCH] slub: assign refcount for kmalloc_caches

2013-01-24 Thread CAI Qian
- Original Message - > From: "Greg Kroah-Hartman" > To: "Joonsoo Kim" > Cc: "Paul Hargrove" , "Pekka Enberg" > , linux-kernel@vger.kernel.org, > linux...@kvack.org, "Christoph Lameter" > Sent: Tuesday, January 15, 2013 3:23:36 AM > Subject: Re: [PATCH] slub: assign refcount for

Re: [PATCH V6 2/3] virtio-net: split out clean affinity function

2013-01-24 Thread Jason Wang
On 01/21/2013 07:25 PM, Wanlong Gao wrote: > Split out the clean affinity function to virtnet_clean_affinity(). > > Cc: Rusty Russell > Cc: "Michael S. Tsirkin" > Cc: Jason Wang > Cc: Eric Dumazet > Cc: virtualizat...@lists.linux-foundation.org > Cc: net...@vger.kernel.org > Signed-off-by:

Re: [PATCH 0/2] kvm: IOMMU read-only mapping support

2013-01-24 Thread Xiao Guangrong
On 01/25/2013 09:17 AM, Takuya Yoshikawa wrote: > On Thu, 24 Jan 2013 15:03:57 -0700 > Alex Williamson wrote: > >> A couple patches to make KVM IOMMU support honor read-only mappings. >> This causes an un-map, re-map when the read-only flag changes and >> makes use of it when setting IOMMU

Re: [PATCH V6 1/3] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-24 Thread Jason Wang
On 01/21/2013 07:25 PM, Wanlong Gao wrote: > As Michael mentioned, set affinity and select queue will not work very > well when CPU IDs are not consecutive, this can happen with hot unplug. > Fix this bug by traversal the online CPUs, and create a per cpu variable > to find the mapping from CPU to

Re: [PATCH] MODSIGN: flag modules that use cryptoapi and only panic if those are unsigned

2013-01-24 Thread Matthew Garrett
On Fri, Jan 25, 2013 at 12:14:54AM +, David Howells wrote: > You can't rely on someone trying to sneak a dodgy crypto module in to set the > flag when they build it. The detection thus needs to be done in the kernel > during the module load. > > Can you search the module image for

[PATCH 3/6] ARM: dts: omap5: Add omap-usb3 and omap-usb2 dt data

2013-01-24 Thread Kishon Vijay Abraham I
Add omap-usb3 and omap-usb2 data node in omap5 device tree file. The information for the node added here is available @ Documentation/devicetree/bindings/usb/usb-phy.txt Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dtsi | 14 ++ 1 file changed, 14

[PATCH 6/6] ARM: dts: palmas: update dt data for palmas-usb

2013-01-24 Thread Kishon Vijay Abraham I
Update palmas-usb data node in palmas device tree file Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/palmas.dtsi |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/palmas.dtsi b/arch/arm/boot/dts/palmas.dtsi index d20adb4..0cf39da 100644

[PATCH 2/6] ARM: dts: omap5: Add ocp2scp data

2013-01-24 Thread Kishon Vijay Abraham I
Add ocp2scp data node in omap5 device tree file. The information for the node added here can be found @ Documentation/devicetree/bindings/bus/omap-ocp2scp.txt Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dtsi |8 1 file changed, 8 insertions(+) diff --git

[PATCH 0/6] ARM: dts: omap: add dt data for dwc3

2013-01-24 Thread Kishon Vijay Abraham I
This patch series adds dt data to get dwc3 working in omap5. This patch series is developed on git://github.com/rrnayak/linux.git omap5-3.8-rc4-base-palmas This is the last series of the series of patches. I've kept everything in a single branch git://gitorious.org/linux-usb/linux-usb.git

[PATCH 5/6] ARM: dts: omap5: add dwc3 core dt data

2013-01-24 Thread Kishon Vijay Abraham I
Add dwc3 core dt data as a subnode to dwc3 omap glue data in omap5 dt data file. The information for the entered data node is available @ Documentation/devicetree/bindings/usb/dwc3.txt Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dtsi |7 +++ 1 file changed, 7

[PATCH 4/6] ARM: dts: omap5: add dwc3 omap dt data

2013-01-24 Thread Kishon Vijay Abraham I
Add dwc3 omap glue data to the omap5 dt data file. The information about the dt node added here is available @ Documentation/devicetree/bindings/usb/omap-usb.txt Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff

[PATCH 1/6] ARM: dts: omap5: Add omap control usb data

2013-01-24 Thread Kishon Vijay Abraham I
Add omap control usb data in omap5 device tree file. This will have the register address of registers to power on the USB2 PHY and USB3 PHY. The information for the node added here is available in Documentation/devicetree/bindings/usb/omap-usb.txt Signed-off-by: Kishon Vijay Abraham I ---

[PATCH v1 2/8] usb: otg: palmas-usb: use devres API to allocate resources

2013-01-24 Thread Kishon Vijay Abraham I
used devres API while allocating resources so that these resources are released automatically on driver detach. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/otg/palmas-usb.c | 47 ++ 1 file changed, 15 insertions(+), 32 deletions(-) diff --git

[PATCH v1 5/8] usb: otg: palmas-usb: use bool to read property instead of u32

2013-01-24 Thread Kishon Vijay Abraham I
properies like wakeup and no_control_vbus can be represented in boolean, so read those properties using of_property_read_bool. Also updated the documentation with device tree binding information for palmas-usb. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH v1 4/8] usb: otg: palmas-usb: use mailbox API to send VBUS or ID events

2013-01-24 Thread Kishon Vijay Abraham I
Whenever palmas detects a VBUS or ID event, the mailbox API in dwc3 glue is called. The mailbox API takes care of notifying it to the core. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Moiz Sonasath --- drivers/usb/otg/palmas-usb.c | 32 +---

[PATCH v1 8/8] usb: otg: palmas-usb: fix cold plug issue

2013-01-24 Thread Kishon Vijay Abraham I
if the cable is connected even before the palmas-usb is loaded, the cable connect detection event will be missed. It's fixed here by checking for VBUS line states when palmas-usb is loaded. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/otg/palmas-usb.c |5 + 1 file changed, 5

Re: [GIT PULL] Btrfs fixes

2013-01-24 Thread Linus Torvalds
On Thu, Jan 24, 2013 at 1:52 PM, Chris Mason wrote: > > Update on this, we've tracked down the crc errors and are doing final > checks on the patches. Linus are you planning on taking this pull? If > not I can just fold the new stuff into a bigger request. If you have them basically ready, add

[PATCH v1 7/8] usb: otg: palmas-usb: pass the correct dev ptr in regulator get

2013-01-24 Thread Kishon Vijay Abraham I
regulator_get is passing the device pointer of the parent (palmas) instead of the child (palmas-usb). It's been fixed here. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/otg/palmas-usb.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH v1 1/8] usb: otg: palmas-usb: make palmas-usb as a comparator driver

2013-01-24 Thread Kishon Vijay Abraham I
palmas-usb is made as a comparator driver to omap usb2 phy, so that omap usb can make use of palmas for srp and also to set vbus. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/otg/palmas-usb.c | 20 ++-- include/linux/mfd/palmas.h |3 +++ 2 files changed, 21

[PATCH v1 6/8] usb: otg: palmas-usb: call regulator enable/disable only on valid regulator

2013-01-24 Thread Kishon Vijay Abraham I
The calls to regulator enable/disable was done unconditionally which might result in warn dumps if *no_control_vbus* is set. So always call regulator enable/disable on valid regulator. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/otg/palmas-usb.c | 17 + 1 file

[PATCH v1 3/8] usb: otg: palmas-usb: remove compiler warning

2013-01-24 Thread Kishon Vijay Abraham I
commit 696c5c04 (USB: Palmas OTG Transceiver Driver) introduced empty palmas_vbus_irq/palmas_id_irq with only *palmas_usb* declaration. Removed these unnecessary functions. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/otg/palmas-usb.c | 38 -- 1

[PATCH v1 0/8] usb: otg: palmas-usb: fixes/cleanups to get dwc3 working

2013-01-24 Thread Kishon Vijay Abraham I
This includes a series of patches that should be used for testing dwc3 in omap5. Among other changes, palmas is made as a comparator driver to the phy. And includes a fix to get a regulator by having phandle. This patch series is developed on git://github.com/rrnayak/linux.git

Re: [PATCH] firmware: Make user-mode helper optional

2013-01-24 Thread Ming Lei
On Tue, Jan 22, 2013 at 7:51 PM, Takashi Iwai wrote: > Since 3.7 kernel, the firmware loader can read the firmware files > directly, and the traditional user-mode helper is invoked only as a > fallback. This seems working pretty well, and the next step would be > to reduce the redundant

Re: [PATCH] MODSIGN: flag modules that use cryptoapi and only panic if those are unsigned

2013-01-24 Thread Rusty Russell
Kyle McMartin writes: > After thinking about it a while, this seems like the best way to solve > the problem, although it does still kind of offend my delicate > sensibilities... You're far too polite. This patch was horrible, partial and ugly. Stephan Mueller wrote: > FIPS requires the

[PATCH v3 02/11] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2013-01-24 Thread Kishon Vijay Abraham I
Used of_platform_populate() to create dwc3 core platform_device from device tree data. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dwc3-omap.c | 40 ++-- 1 file changed, 10 insertions(+), 30 deletions(-) diff --git

[PATCH v3 11/11] usb: dwc3: core: stray statements are removed

2013-01-24 Thread Kishon Vijay Abraham I
No functional change. Stray statements where removed from dwc3 core. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/core.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index af189d5..ee1fa18 100644 ---

[PATCH v3 10/11] usb: dwc3: core: enable the USB2 and USB3 phy in probe

2013-01-24 Thread Kishon Vijay Abraham I
Enabled the USB2 and USB3 PHY in probe by calling usb_phy_set_suspend and disabled the PHYs on driver removal. When PM is implemented this will be optimized to enable the PHYs only when needed. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/core.c |6 ++ 1 file changed, 6

  1   2   3   4   5   6   7   8   9   10   >