RE: [RFC 2/4] ARM: dma-mapping: IOMMU allocates pages from pool with GFP_ATOMIC

2012-08-22 Thread Marek Szyprowski
Hello, On Wednesday, August 22, 2012 3:37 PM Hiroshi Doyu wrote: > KyongHo Cho wrote @ Wed, 22 Aug 2012 14:47:00 +0200: > > > vzalloc() call in __iommu_alloc_buffer() also causes BUG() in atomic > > context. > > Right. > > I've been thinking that kzalloc() may be enough here, since >

Re: [PATCH v4 2/2] powerpc: Uprobes port to powerpc

2012-08-22 Thread Ananth N Mavinakayanahalli
On Thu, Aug 23, 2012 at 02:28:20PM +1000, Michael Ellerman wrote: > On Wed, 2012-08-22 at 13:57 +0530, Ananth N Mavinakayanahalli wrote: > > From: Ananth N Mavinakayanahalli > > > > This is the port of uprobes to powerpc. Usage is similar to x86. > > Hi Ananth, > > Excuse my ignorance of

Re: [PATCH v2] net: add new QCA alx ethernet driver

2012-08-22 Thread David Miller
From: Date: Tue, 21 Aug 2012 00:42:29 +0800 > +config ALX_DEBUGFS > + bool "Qualcomm Atheros debugging interface" > + depends on ALX && DEBUG_FS > + ---help--- > + This option adds ability to debug and test L1F. It can > + support Qualcomm Atheros tools, including

Re: [PATCH v3 2/3] power_supply: add new lp8788 charger driver

2012-08-22 Thread Anton Vorontsov
On Tue, Aug 14, 2012 at 02:32:50AM +, Kim, Milo wrote: > Patch v3. Thanks for the driver! It looks great, mostly cosmetic comments down below. > (a) use irq domain for handling charger interrupts > (b) use scaled adc value rather than raw value > : replace iio_read_channel_raw() with

Re: pci_get_subsys: GFP_KERNEL allocations with IRQs disabled

2012-08-22 Thread Feng Tang
Hi Bjorn, On Wed, 22 Aug 2012 11:02:52 -0700 Bjorn Helgaas wrote: > On Wed, Aug 22, 2012 at 12:49 AM, Feng Tang wrote: > > Hi Fengguang, > > > > > > On Wed, 22 Aug 2012 10:50:08 +0800 > > Fengguang Wu wrote: > > > >> Feng, > >> > >> > I think it's pci_get_subsys() triggered this assert: > >>

Re: [PATCH v4 2/2] powerpc: Uprobes port to powerpc

2012-08-22 Thread Srikar Dronamraju
> > These seem to be duplicated in kprobes.h, can we consolidate them. > > > +struct arch_uprobe { > > + u8 insn[MAX_UINSN_BYTES]; > > +}; > > Why not uprobe_opcode_t insn ? > insn is updated/accessed in the arch independent code. Size of uprobe_opcode_t could be different for

pci: question about the life cycle of pci_dev and its parent pci_bus

2012-08-22 Thread Liu ping fan
Hi, I have a question about the life cycle of pci_dev and its parent pci_bus. In pci_destroy_dev(), we remove the pci_dev from the bus_list, so pci_dev is isolated from its parent pci_bus, and their life cycle are independent too. But it seems that in pci_dev, we can still access the pci_bus from

linux-next: Tree for Aug 23

2012-08-22 Thread Stephen Rothwell
Hi all, Changes since 20120822: New tree: pstore The tip tree gained a conflict against the rr tree. The rcu tree gained a conflict against the tip tree. The kvm tree gained a build failure so I used the version from next-20120822. The drivers-x86 tree still has its build failure so I used

Re: [PATCH 4/7] regulator: anatop-regulator: convert to use imx-syscon to access anatop register

2012-08-22 Thread Stephen Warren
On 08/22/2012 01:18 AM, Dong Aisheng wrote: > Signed-off-by: Dong Aisheng > diff --git a/drivers/regulator/anatop-regulator.c > b/drivers/regulator/anatop-regulator.c > @@ -109,7 +110,11 @@ static int __devinit anatop_regulator_probe(struct > platform_device *pdev) > rdesc->ops = _rops;

Re: [BUG] net/core/sock.c won't compile on alpha

2012-08-22 Thread Bob Tracy
On Thu, Aug 23, 2012 at 09:16:53AM +1200, Michael Cree wrote: > On 23/08/2012, at 12:14 AM, Bob Tracy wrote: > >Kernel version 3.6.0-rc2, and probably -rc1 as well. I get the > >following compile-time error on alpha architecture: > > > >(...) > > CC net/core/sock.o > >net/core/sock.c:274:36:

Re: [PATCH 1/7] mfd: add imx syscon driver based on regmap

2012-08-22 Thread Stephen Warren
On 08/22/2012 04:57 AM, Dong Aisheng wrote: > On Wed, Aug 22, 2012 at 04:29:41PM +0800, Zhao Richard-B20223 wrote: >> On Wed, Aug 22, 2012 at 03:18:42PM +0800, Dong Aisheng wrote: >>> Add regmap based imx syscon driver. >>> This is usually used for access misc bits in registers which does not

Re: [PATCH] lpc_ich: Fix a 3.5 kernel regression for iTCO_wdt driver

2012-08-22 Thread Feng Tang
On Wed, 22 Aug 2012 22:55:43 +0100 Matthew Garrett wrote: > On Wed, Aug 22, 2012 at 09:55:12PM +0200, Wim Van Sebroeck wrote: > > > Any idea why the acpi_check_resource_conflict() check gives a conflict? > > Because the resource range is declared in ACPI and we assume that that > means the

Re: [PATCH 33/36] autonuma: powerpc port

2012-08-22 Thread Benjamin Herrenschmidt
On Thu, 2012-08-23 at 00:35 +0200, Andrea Arcangeli wrote: > I'm actually surprised you don't already check for PROTNONE > there. Anyway yes this is necessary, the whole concept of NUMA hinting > page faults is to make the pte not present, and to set another bit (be > it a reserved bit or

Re: v3.6-rc1: modprobe hangs with sdhci failure on dell e6410

2012-08-22 Thread Aaron Lu
On 08/22/2012 10:11 PM, Arend van Spriel wrote: > A quick search using google did not provide clues. Regardless if there > is anything inserted the hang occurs. your dmesg shows: [ 241.908294] INFO: task modprobe:134 blocked for more than 120 seconds. [ 241.908298] "echo 0 >

Re: [PATCH v2] power_supply: Add new power supply properties CHARGE_CURRENT/VOLTAGE_MAX

2012-08-22 Thread Anton Vorontsov
On Mon, Jul 30, 2012 at 12:49:21PM +0530, Ramakrishna Pallala wrote: > There are different types of chargers avalibale like AC, Solar, USB, etc.. > Even in USB we have different types SDP/DCP/CDP/ACA and all these > chargers have different o/p ratings. For example SDP supports only 500mA of >

Re: [PATCH] block: replace __getblk_slow misfix by grow_dev_page fix

2012-08-22 Thread Hugh Dickins
On Wed, 22 Aug 2012, Richard W.M. Jones wrote: > On Tue, Aug 21, 2012 at 06:33:45PM -0700, Hugh Dickins wrote: > > Jeff, > > > > Your commit 91f68c89d8f3 ("block: fix infinite loop in __getblk_slow"), > > already gone into 3.* stable, is not good. Could you and your testers > > please give this

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

2012-08-22 Thread Anton Vorontsov
On Thu, Aug 23, 2012 at 01:27:27PM +0900, Chanwoo Choi wrote: [...] > I did send additional patchset which has 5 patch and also include below > patch list, > if you may confuse due to duplicate patch, so I inform to you about > duplicate patch. > > Chanwoo Choi (2): >charger-manager: Disable

Re: [RFT] xhci: Switch PPT ports to EHCI on shutdown.

2012-08-22 Thread Robert Hancock
On 08/07/2012 11:39 AM, Sarah Sharp wrote: The Intel desktop boards DH77EB and DH77DF have a hardware issue that can be worked around by BIOS. If the USB ports are switched to xHCI on shutdown, the xHCI host will send a spurious interrupt, which will wake the system. Some BIOS will work around

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-22 Thread Hein Tibosch
On 8/21/2012 10:15 PM, Havard Skinnemoen wrote: > On Tue, Aug 21, 2012 at 1:31 AM, Arnd Bergmann > wrote: >> On Tuesday 21 August 2012, Viresh Kumar wrote: Is AVR32 a big-endian system? Probably big-endian, that's why values are > getting > swapped. And dw_dmac is the standard one,

Re: [PATCH v4 2/2] powerpc: Uprobes port to powerpc

2012-08-22 Thread Michael Ellerman
On Wed, 2012-08-22 at 13:57 +0530, Ananth N Mavinakayanahalli wrote: > From: Ananth N Mavinakayanahalli > > This is the port of uprobes to powerpc. Usage is similar to x86. Hi Ananth, Excuse my ignorance of uprobes, some comments inline ... > [root@ ~]# ./bin/perf probe -x

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

2012-08-22 Thread Chanwoo Choi
On 08/23/2012 12:10 PM, Anton Vorontsov wrote: > On Fri, Jul 27, 2012 at 02:01:25PM +0900, Chanwoo Choi wrote: >> 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

Re: [PATCH 1/4] ARM: export read_current_timer

2012-08-22 Thread Shinya Kuribayashi
On 8/23/2012 2:58 AM, Will Deacon wrote: > On Wed, Aug 22, 2012 at 06:57:20PM +0100, Stephen Boyd wrote: >> On 08/22/12 10:49, Will Deacon wrote: >>> On the topic of the timer stuff: Shinya/Stephen, did you have a chance to >>> look at the registration stuff that was proposed? I'm happy to push it

Re: [PATCH 33/36] autonuma: powerpc port

2012-08-22 Thread Vaidyanathan Srinivasan
* Benjamin Herrenschmidt [2012-08-23 08:56:34]: > On Thu, 2012-08-23 at 08:01 +1000, Benjamin Herrenschmidt wrote: > > On Wed, 2012-08-22 at 16:59 +0200, Andrea Arcangeli wrote: > > > From: Vaidyanathan Srinivasan > > > > > > * PMD flaging is not required in powerpc since large pages > > >

Re: Regression associated with commit c8628155ece3 - "tcp: reduce out_of_order memory use"

2012-08-22 Thread Eric Dumazet
On Wed, 2012-08-22 at 16:33 -0500, Larry Finger wrote: > On 08/22/2012 12:15 AM, Eric Dumazet wrote: > > > > This particular commit is the start of a patches batch that ended in the > > generic TCP coalescing mechanism. > > > > It is known to have problem on drivers doing skb_clone() in their rx >

Re: [PATCH v2 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-22 Thread Vinod Koul
On Wed, 2012-08-22 at 12:04 -0400, Matt Porter wrote: > for querying of these types of limitations. Right now, the > mmc driver implicitly knows that EDMA needs this restriction > but it's something that should be queried before calling > prep_slave(). that's something we need to add; exporting

Re: [PATCH 1/4] ARM: export read_current_timer

2012-08-22 Thread Shinya Kuribayashi
On 8/23/2012 2:49 AM, Will Deacon wrote: > On Wed, Aug 22, 2012 at 06:15:14PM +0100, Stephen Boyd wrote: >> On 08/22/12 07:29, Arnd Bergmann wrote: >>> read_current_timer is used in the get_cycles() function when >>> ARM_ARCH_TIMER is set, and that function can be inlined into >>> driver modules,

Re: [RFC 2/4] ARM: dma-mapping: IOMMU allocates pages from pool with GFP_ATOMIC

2012-08-22 Thread Minchan Kim
On Wed, Aug 22, 2012 at 03:36:48PM +0200, Hiroshi Doyu wrote: > Hi, > > KyongHo Cho wrote @ Wed, 22 Aug 2012 14:47:00 +0200: > > > vzalloc() call in __iommu_alloc_buffer() also causes BUG() in atomic > > context. > > Right. > > I've been thinking that kzalloc() may be enough here, since >

Re: [v2][PATCH 3/3] powerpc/kgdb: restore current_thread_info properly

2012-08-22 Thread tiejun.chen
On 08/23/2012 11:14 AM, Nicholas A. Bellinger wrote: > On Thu, 2012-08-23 at 10:10 +0800, Tiejun Chen wrote: >> For powerpc BooKE and e200, singlestep is handled on the critical/dbg >> exception stack. This causes current_thread_info() to fail for kgdb >> internal, so previously We work around

Re: linux-next: manual merge of the rcu tree with the tip tree

2012-08-22 Thread Paul E. McKenney
On Thu, Aug 23, 2012 at 01:01:43PM +1000, Stephen Rothwell wrote: > Hi Paul, > > Today's linux-next merge of the rcu tree got a conflict in arch/Kconfig > between commit b952741c8079 ("cputime: Generalize > CONFIG_VIRT_CPU_ACCOUNTING") from the tip tree and commit 3dbdfc26e27f > ("rcu: Settle

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

2012-08-22 Thread Stephen Rothwell
donly memslot"). I have used the kvm tree from next-20120822 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpbsNlhL91Gt.pgp Description: PGP signature

Re: [PATCH 74/74] lto, workaround: Mark do_futex noinline to prevent clobbering ebp

2012-08-22 Thread H. Peter Anvin
On 08/22/2012 07:29 PM, Andi Kleen wrote: How about just use register arguments for the first three arguments. This should work for the syscalls at least (may be too risky for all other asm entry points) Well, it's just an effort to convert each one in turn... And for syscalls with more than

Re: [v2][PATCH 3/3] powerpc/kgdb: restore current_thread_info properly

2012-08-22 Thread Nicholas A. Bellinger
On Thu, 2012-08-23 at 10:10 +0800, Tiejun Chen wrote: > For powerpc BooKE and e200, singlestep is handled on the critical/dbg > exception stack. This causes current_thread_info() to fail for kgdb > internal, so previously We work around this issue by copying > the thread_info from the kernel stack

Re: Re: [PATCH 3/5] trace-cmd: Support trace-agent of virtio-trace

2012-08-22 Thread Yoshihiro YUNOMAE
Hi Steven, (2012/08/22 22:51), Steven Rostedt wrote: On Wed, 2012-08-22 at 17:43 +0900, Yoshihiro YUNOMAE wrote: Add read path and control path to use trace-agent of virtio-trace. When we use trace-agent, trace-cmd will be used as follows: # AGENT_READ_DIR=/tmp/virtio-trace/tracing \

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

2012-08-22 Thread Anton Vorontsov
On Fri, Jul 27, 2012 at 02:01:25PM +0900, Chanwoo Choi wrote: > 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 v2] smb347_charger: fix battery status reporting logic for charger faults

2012-08-22 Thread Ramakrishna Pallala
This patch checks for charger status register for determining the battery charging status and reports Discharing/Charging/Not Charging/Full accordingly. This patch also adds the interrupt support for Safety Timer Expiration. This interrupt is helpful in debugging the cause for charger fault.

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

2012-08-22 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the rcu tree got a conflict in arch/Kconfig between commit b952741c8079 ("cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING") from the tip tree and commit 3dbdfc26e27f ("rcu: Settle config for userspace extended quiescent state") from the rcu tree. Just context

Re: [PATCH 2/5] trace-cmd: Use tracing directory to count CPUs

2012-08-22 Thread Masami Hiramatsu
(2012/08/23 11:01), Masami Hiramatsu wrote: > (2012/08/22 22:41), Steven Rostedt wrote: >> On Wed, 2012-08-22 at 17:43 +0900, Yoshihiro YUNOMAE wrote: >>> From: Masami Hiramatsu >>> >>> Count debugfs/tracing/per_cpu/cpu* to determine the >>> number of CPUs. >> >> I'm curious, do you find that

Re: [PATCH] power_supply: Add new power supply AUTHENTIC property

2012-08-22 Thread Anton Vorontsov
On Thu, Aug 23, 2012 at 06:50:21AM +0530, Ramakrishna Pallala wrote: > It is possible that users can use non-standard chargers > or use invalid batteries especially with mobile devices. > > This patch adds a new power supply property called 'AUTHENTIC' to > indicate this to the user(user space).

Re: [PATCH 1/2] ds2781_battery: convert to module_platform_driver

2012-08-22 Thread Anton Vorontsov
On Mon, Jul 30, 2012 at 04:29:10PM +0545, Devendra Naga wrote: > module_platform_driver can be used to replace the > platform_driver register and unregister functions, > with the calls to module_init and module_exit, > > i.e. all the code that is doing like the below > > static int __init

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

2012-08-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in arch/Kconfig between commit bd029f48459a ("Make most arch asm/module.h files use asm-generic/module.h") from the rr tree and commit b952741c8079 ("cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING") from the tip tree. Just context

Re: [PATCH] twl4030: It would be better not to use the 0b-prefix.

2012-08-22 Thread Anton Vorontsov
On Fri, Aug 17, 2012 at 07:30:46PM +1000, NeilBrown wrote: [...] > > -#define TWL4030_BBISEL_1000uA 0b11 > > +#define TWL4030_BBSEL_MASK 0x0c [...] > Thanks. I'd been meaning to send that patch, but life got in the way > recently. > > Acked-by: NeilBrown Thanks! Applied. -- To unsubscribe

[PATCH] power_supply: Add new power supply AUTHENTIC property

2012-08-22 Thread Ramakrishna Pallala
It is possible that users can use non-standard chargers or use invalid batteries especially with mobile devices. This patch adds a new power supply property called 'AUTHENTIC' to indicate this to the user(user space). Signed-off-by: Ramakrishna Pallala ---

Re: [PATCH 6/6] ARM: imx: select ARM_CPU_SUSPEND when necessary

2012-08-22 Thread Shawn Guo
On Wed, Aug 22, 2012 at 05:13:10PM +0200, Arnd Bergmann wrote: > On i.MX6, we select ARM_CPU_SUSPEND when building with power management > support, but for some reason this was omitted on i.MX5. Normally we > build kernels for both together so the error only showed up in > randconfig tests. > >

Re: [PATCH] power_supply: Remove broken mark for da9052-battery

2012-08-22 Thread Anton Vorontsov
On Wed, Aug 08, 2012 at 04:08:18PM +0800, Axel Lin wrote: > The fix for MFD part is already merged so we can remove the broken mark > for da9052-battery. > > Signed-off-by: Axel Lin > --- [...] > - depends on BROKEN Applied, thanks a lot! Though, I had to apply the following right after:

Re: Unable to mount NFSROOT: pcie change breaks e1000?

2012-08-22 Thread Fengguang Wu
On Thu, Aug 23, 2012 at 09:31:32AM +0800, Jiang Liu wrote: > Hi Fengguang, > Could you please help to verify whether following patch > fixes the issue? It works! Thank you for the quick fix! Tested-by: Fengguang Wu > > diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c > index

Re: [PATCH 74/74] lto, workaround: Mark do_futex noinline to prevent clobbering ebp

2012-08-22 Thread Andi Kleen
> The right thing to do is to change head_32.S to not violate the i386 > ABI. Arguments pushed (by value) on the stack are property of the > callee, that is, they are volatile, so the hack of making them do double > duty as both being saved and passed as arguments is just plain bogus. > The

[PATCH v9 6/6] allower the user to disable pv event support

2012-08-22 Thread Wen Congyang
Signed-off-by: Wen Congyang --- hw/pc_piix.c|6 +- qemu-config.c |4 qemu-options.hx |3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index f73fb85..76d3de1 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -151,6 +151,8

[PATCH v9 5/6] introduce a new qom device to deal with panicked event

2012-08-22 Thread Wen Congyang
If the target is x86/x86_64, the guest's kernel will write 0x01 to the port KVM_PV_EVENT_PORT when it is panciked. This patch introduces a new qom device kvm_pv_ioport to listen this I/O port, and deal with panicked event according to panicked_action's value. The possible actions are: 1. emit

[PATCH v9 4/6] add a new qevent: QEVENT_GUEST_PANICKED

2012-08-22 Thread Wen Congyang
This event will be emited when the guest is panicked. Signed-off-by: Wen Congyang --- monitor.c |1 + monitor.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/monitor.c b/monitor.c index 480f583..cd2adb7 100644 --- a/monitor.c +++ b/monitor.c @@ -455,6 +455,7 @@

[PATCH v9 3/6] add a new runstate: RUN_STATE_GUEST_PANICKED

2012-08-22 Thread Wen Congyang
The guest will be in this state when it is panicked. Signed-off-by: Wen Congyang --- qapi-schema.json |6 +- qmp.c|3 ++- vl.c |7 ++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index

[PATCH v9 2/6] kvm: Update kernel headers

2012-08-22 Thread Wen Congyang
Corresponding kvm.git hash: 35f2d16b with my patch for kvm --- linux-headers/asm-s390/kvm.h |2 +- linux-headers/asm-s390/kvm_para.h |2 +- linux-headers/asm-x86/kvm.h |1 + linux-headers/asm-x86/kvm_para.h |9 + linux-headers/linux/kvm.h |3 +++

[PATCH v9 1/6] start vm after reseting it

2012-08-22 Thread Wen Congyang
The guest should run after reseting it, but it does not run if its old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED. We don't set runstate to RUN_STATE_PAUSED when reseting the guest, so the runstate will be changed from RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED to

[PATCH v9] kvm: notify host when the guest is panicked

2012-08-22 Thread Wen Congyang
We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management app(for example: libvirt) can do auto dump when the guest is panicked. If management app does not do auto dump, the guest's user can do dump by hand

Re: [PATCH 2/2] lp8727_charger: unregister power supply at error path of lp8727_register_psy

2012-08-22 Thread Anton Vorontsov
On Mon, Jul 30, 2012 at 04:47:44AM +, Pallala, Ramakrishna wrote: > > if (power_supply_register(pchg->dev, >usb)) > > - goto err_psy; > > + goto err_psy_ac; > > "err_psy_ac" label name is confusing. Why can't you use err_psy_usb > > > if

Re: [PATCH v8 1/5] mm: introduce a common interface for balloon pages mobility

2012-08-22 Thread Rafael Aquini
On Wed, Aug 22, 2012 at 12:33:17PM +0300, Michael S. Tsirkin wrote: > Hmm, so this will busy wait which is unelegant. > We need some event IMO. No, it does not busy wait. leak_balloon() is mutual exclusive with migration steps, so for the case we have one racing against the other, we really want

[v2][PATCH 3/3] powerpc/kgdb: restore current_thread_info properly

2012-08-22 Thread Tiejun Chen
For powerpc BooKE and e200, singlestep is handled on the critical/dbg exception stack. This causes current_thread_info() to fail for kgdb internal, so previously We work around this issue by copying the thread_info from the kernel stack before calling kgdb_handle_exception, and copying it back

[v2][PATCH 1/3] kgdb,ppc: do not set kgdb_single_step on ppc

2012-08-22 Thread Tiejun Chen
The kgdb_single_step flag has the possibility to indefinitely hang the system on an SMP system. The x86 arch have the same problem, and that problem was fixed by commit 8097551d9ab9b9e3630(kgdb,x86: do not set kgdb_single_step on x86). This patch does the same behaviors as x86's patch.

[v2][PATCH 2/3] powerpc: Bail out of KGDB when we've been triggered

2012-08-22 Thread Tiejun Chen
We need to skip a breakpoint exception when it occurs after a breakpoint has already been removed. Signed-off-by: Tiejun Chen --- v2: simply kgdb_skipexception() return path. arch/powerpc/kernel/kgdb.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git

Re: [PATCH 0/8] netdev/MIPS: Improvements to octeon_mgmt Ethernet driver.

2012-08-22 Thread David Miller
From: David Daney Date: Tue, 21 Aug 2012 11:45:04 -0700 > From: David Daney > > Recent additions to the OCTEON SoC family have included enhancements > to the MIX (octeon_mgmt) Ethernet hardware. These include: > > o 1Gig support (up from 100M). > > o Hardware timestamping for PTP. > > Here

Re: [PATCH 74/74] lto, workaround: Mark do_futex noinline to prevent clobbering ebp

2012-08-22 Thread H. Peter Anvin
On 08/22/2012 05:17 PM, H. Peter Anvin wrote: On 08/18/2012 07:57 PM, Andi Kleen wrote: From: Andi Kleen On a 32bit build gcc 4.7 with LTO decides to clobber the 6th argument on the stack. Unfortunately this corrupts the user EBP and leads to later crashes. For now mark do_futex noinline to

RE: [PATCH] power_supply: Add new power supply VALID property

2012-08-22 Thread Pallala, Ramakrishna
> On Sun, Jul 29, 2012 at 09:01:54AM +0530, Ramakrishna Pallala wrote: > > It is possible that users can use non-standard chargers or use invalid > > batteries especially with mobile devices. > > Maybe 'original' or 'authentic' would be a better term for this? > For me, 'valid' is kind of too

Re: [PATCH 5/6] ARM: imx: select CPU_FREQ_TABLE when needed

2012-08-22 Thread Shawn Guo
On Wed, Aug 22, 2012 at 05:13:09PM +0200, Arnd Bergmann wrote: > The i.MX cpufreq implementation uses the CPU_FREQ_TABLE helpers, > so it needs to select that code to be built. This problem has > apparently existed since the i.MX cpufreq code was first merged > in v3.6.37. > s/v3.6.37/v2.6.37?

Re: [PATCH 4/6] ARM: imx: fix ksz9021rn_phy_fixup

2012-08-22 Thread Shawn Guo
On Wed, Aug 22, 2012 at 05:13:08PM +0200, Arnd Bergmann wrote: > The ksz9021rn_phy_fixup and mx6q_sabrelite functions try to > set up an ethernet phy if they can. They do check whether > phylib is enabled, but unfortunately the functions can only > be called from platform code if phylib is

Re: [PATCH 3/6] ARM: imx: build pm-imx5 code only when PM is enabled

2012-08-22 Thread Shawn Guo
On Wed, Aug 22, 2012 at 05:13:07PM +0200, Arnd Bergmann wrote: > This moves the imx5 pm code out of the list of unconditionally > compiled files for imx5, mirroring what we already do for imx6 > and how it was done before the code was move from mach-mx5 to > mach-imx in v3.3. > > Without this

Re: [PATCH 2/3] powerpc: Bail out of KGDB when we've been triggered

2012-08-22 Thread tiejun.chen
On 08/22/2012 11:07 PM, Tabi Timur-B04825 wrote: > On Wed, Aug 22, 2012 at 5:43 AM, Tiejun Chen > wrote: > >> +int kgdb_skipexception(int exception, struct pt_regs *regs) >> +{ >> + if (kgdb_isremovedbreak(regs->nip)) >> + return 1; >> + >> + return 0; >> +} > > int

Re: [PATCH 2/5] trace-cmd: Use tracing directory to count CPUs

2012-08-22 Thread Masami Hiramatsu
(2012/08/22 22:41), Steven Rostedt wrote: > On Wed, 2012-08-22 at 17:43 +0900, Yoshihiro YUNOMAE wrote: >> From: Masami Hiramatsu >> >> Count debugfs/tracing/per_cpu/cpu* to determine the >> number of CPUs. > > I'm curious, do you find that sysconf doesn't return the # of CPUs the > system has?

Re: [PATCH] power_supply: Add new power supply VALID property

2012-08-22 Thread Anton Vorontsov
On Sun, Jul 29, 2012 at 09:01:54AM +0530, Ramakrishna Pallala wrote: > It is possible that users can use non-standard chargers > or use invalid batteries especially with mobile devices. Maybe 'original' or 'authentic' would be a better term for this? For me, 'valid' is kind of too broad and

Re: [PATCH 2/14] drivers/power/ab8500_btemp.c: fix error return code

2012-08-22 Thread Anton Vorontsov
On Sun, Aug 19, 2012 at 10:44:22AM +0200, Julia Lawall wrote: > From: Julia Lawall [...] > Signed-off-by: Julia Lawall 2,3,4,5,6 applied, thanks! > --- > drivers/power/ab8500_btemp.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/power/ab8500_btemp.c

Re: [PATCH v3 00/32] provide interfaces to access PCIe capabilities registers

2012-08-22 Thread Don Dutile
On 08/22/2012 12:28 PM, Bjorn Helgaas wrote: On Mon, Aug 20, 2012 at 9:40 PM, Cui, Dexuan wrote: Bjorn Helgaas wrote on 2012-08-21: I am still concerned about reset_intel_82599_sfp_virtfn(). It looks wrong and possibly unnecessary. It looks wrong because it sets PCI_EXP_DEVCTL_BCR_FLR and

Re: Unable to mount NFSROOT: pcie change breaks e1000?

2012-08-22 Thread Jiang Liu
Hi Fengguang, Could you please help to verify whether following patch fixes the issue? Thanks! diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index f6b491b..fac08f5 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -842,6 +842,9 @@ static int pci_save_pcie_state(struct

[PATCH v3 1/3] dmaengine: add TI EDMA DMA engine driver

2012-08-22 Thread Matt Porter
Add a DMA engine driver for the TI EDMA controller. This driver is implemented as a wrapper around the existing DaVinci private DMA implementation. This approach allows for incremental conversion of each peripheral driver to the DMA engine API. The EDMA driver supports slave transfers but does not

[PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-22 Thread Matt Porter
Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by: Matt Porter --- drivers/spi/spi-davinci.c | 292 - 1 file changed, 130 insertions(+), 162 deletions(-) diff --git

[PATCH v3 2/3] mmc: davinci_mmc: convert to DMA engine API

2012-08-22 Thread Matt Porter
Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by: Matt Porter --- drivers/mmc/host/davinci_mmc.c | 271 1 file changed, 82 insertions(+), 189 deletions(-) diff --git

[PATCH v3 0/3] DaVinci DMA engine conversion

2012-08-22 Thread Matt Porter
Changes since v1: - Add virt-dma support. Better error checks and simplified descriptor handling. - Fix support for multiple EDMA controllers Tested on AM18x EVM with WL12xx on MMC1 Changes since v2: - Set default Kconfig state to off - Fix

RE: [PATCH v3 00/32] provide interfaces to access PCIe capabilities registers

2012-08-22 Thread Cui, Dexuan
Bjorn Helgaas wrote on 2012-08-23: > On Mon, Aug 20, 2012 at 9:40 PM, Cui, Dexuan > wrote: >> Bjorn Helgaas wrote on 2012-08-21: > >>> I am still concerned about reset_intel_82599_sfp_virtfn(). It looks >>> wrong and possibly unnecessary. It looks wrong because it sets >>>

Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Christopher Heiny
On 08/22/2012 02:45 PM, Dmitry Torokhov wrote: On Wednesday, August 22, 2012 09:08:00 PM Linus Walleij wrote: >On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny > wrote: > > >+/* Helper fn to convert a byte array representing a short in the RMI > >+ * endian-ness to a short in the native

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-08-22 Thread Sasha Levin
Hi Tejun, On 08/22/2012 08:01 PM, Tejun Heo wrote: > Hello, Sasha. > > On Wed, Aug 22, 2012 at 04:26:56AM +0200, Sasha Levin wrote: >> +#define DEFINE_HASHTABLE(name, bits) >> \ >> +struct hlist_head name[HASH_SIZE(bits)]; > > Shouldn't this be

Re: [PATCH 74/74] lto, workaround: Mark do_futex noinline to prevent clobbering ebp

2012-08-22 Thread H. Peter Anvin
On 08/18/2012 07:57 PM, Andi Kleen wrote: > From: Andi Kleen > > On a 32bit build gcc 4.7 with LTO decides to clobber the 6th argument on the > stack. Unfortunately this corrupts the user EBP and leads to later crashes. > For now mark do_futex noinline to prevent this. > > I wish there was a

The Linux 3.2.y stable series is longterm

2012-08-22 Thread Ben Hutchings
I intend to maintain Linux 3.2.y for at least as long as Debian 7.0 is supported. The end-of-life for each Debian release is 1 year after the following release, so this would probably be around the end of 2015. If anyone's interested in maintaining it even longer than that, I should be able to

[PATCH 4/4] extcon: fixing typos

2012-08-22 Thread Chanwoo Choi
From: Peter Meerwald Signed-off-by: Peter Meerwald Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-class.c |8 include/linux/extcon.h| 18 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/extcon/extcon-class.c

[PATCH 2/4] extcon: fix typos in max77693 driver

2012-08-22 Thread Chanwoo Choi
From: Peter Meerwald Signed-off-by: Peter Meerwald Signed-off-by: MyungJoo Ham --- drivers/extcon/extcon-max77693.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 920a609..8bb438b 100644

[PATCH 3/4] extcon: fix typos in extcon-arizona

2012-08-22 Thread Chanwoo Choi
From: Peter Meerwald Signed-off-by: Peter Meerwald Signed-off-by: Chanwoo Choi --- drivers/extcon/extcon-arizona.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index fa2114f..55fbc2f 100644 ---

[PATCH 1/4] extcon: fix typos in sys-class-extcon

2012-08-22 Thread Chanwoo Choi
From: Peter Meerwald Signed-off-by: Peter Meerwald Signed-off-by: Chanwoo Choi --- Documentation/ABI/testing/sysfs-class-extcon | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-class-extcon

[PATCH 0/4] extcon: fix typos

2012-08-22 Thread Chanwoo Choi
This patchset fix typos of extcon by Peter Meerwald. Peter Meerwald (4): extcon: fix typos in sys-class-extcon extcon: fix typos in max77693 driver extcon: fix typos in extcon-arizona extcon: fixing typos Documentation/ABI/testing/sysfs-class-extcon | 22 +++---

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-22 Thread Greg Thelen
On Wed, Aug 22 2012, Glauber Costa wrote: > On 08/22/2012 01:50 AM, Greg Thelen wrote: >> On Thu, Aug 09 2012, Glauber Costa wrote: >> >>> This patch introduces infrastructure for tracking kernel memory pages to >>> a given memcg. This will happen whenever the caller includes the flag >>>

Re: [PATCH] crypto: twofish - add x86_64/avx assembler implementation

2012-08-22 Thread Jason Garrett-Glaser
On Wed, Aug 22, 2012 at 12:20 PM, Jussi Kivilinna wrote: > Quoting Borislav Petkov : > >> On Wed, Aug 22, 2012 at 07:35:12AM +0300, Jussi Kivilinna wrote: >>> Looks that encryption lost ~0.4% while decryption gained ~1.8%. >>> >>> For 256 byte test, it's still slightly slower than twofish-3way

Re: [ 43/46] KVM: x86 emulator: fix byte-sized MOVZX/MOVSX

2012-08-22 Thread Ben Hutchings
On Sun, 2012-08-19 at 20:59 -0700, Greg Kroah-Hartman wrote: > From: Greg KH > > 3.5-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Avi Kivity > > (cherry picked from commit 361cad2b50a2c92b91b6f568db860fabad3bf149) > > Commit

Re: [ 40/46] KVM: PIC: call ack notifiers for irqs that are dropped form irr

2012-08-22 Thread Ben Hutchings
On Sun, 2012-08-19 at 20:59 -0700, Greg Kroah-Hartman wrote: > From: Greg KH > > 3.5-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Gleb Natapov > > (cherry picked from commit aea218f3cbbcaac249b6b2c98930a00d6d931f1e) > > After

Re: [PATCH RESEND] extcon: fix typos in extcon-arizona

2012-08-22 Thread Chanwoo Choi
On 08/23/2012 04:27 AM, Peter Meerwald wrote: > Signed-off-by: Peter Meerwald > --- > drivers/extcon/extcon-arizona.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c > index 427a289..6d24822

Re: [PATCH RESEND] extcon: fixing typos

2012-08-22 Thread Chanwoo Choi
On 08/23/2012 04:27 AM, Peter Meerwald wrote: > Signed-off-by: Peter Meerwald > --- > drivers/extcon/extcon_class.c |8 > include/linux/extcon.h| 18 +- > 2 files changed, 13 insertions(+), 13 deletions(-) > This patch is already replied by Myungjoo

Re: [PATCH RESEND] extcon: fix typos in max77693 driver

2012-08-22 Thread Chanwoo Choi
On 08/23/2012 04:27 AM, Peter Meerwald wrote: > Signed-off-by: Peter Meerwald > --- > drivers/extcon/extcon-max77693.c |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) This patch is already applied by Myungjoo Ham, so you can check it following git repository. -

Re: [PATCH RESEND] extcon: fix typos in sys-class-extcon

2012-08-22 Thread Chanwoo Choi
On 08/23/2012 04:27 AM, Peter Meerwald wrote: > Signed-off-by: Peter Meerwald > --- > Documentation/ABI/testing/sysfs-class-extcon | 22 +++--- > 1 file changed, 11 insertions(+), 11 deletions(-) > > diff --git a/Documentation/ABI/testing/sysfs-class-extcon >

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-08-22 Thread Ryan Mallon
On 23/08/12 04:01, Tejun Heo wrote: > Hello, Sasha. > > On Wed, Aug 22, 2012 at 04:26:56AM +0200, Sasha Levin wrote: >> +#define DEFINE_HASHTABLE(name, bits) >> \ >> +struct hlist_head name[HASH_SIZE(bits)]; > > Shouldn't this be something like the

Re: linux-next: New tree -- linux-pstore.git

2012-08-22 Thread Stephen Rothwell
Hi Anton, On Tue, 21 Aug 2012 19:50:37 -0700 Anton Vorontsov wrote: > > Can you please add linux-pstore.git tree to the linux-next, > the repository address is as follows: > > git://git.infradead.org/users/cbou/linux-pstore.git master > > This tree is dedicated to track pstore

Re: [PATCHv3 4/4] ARM: kprobes: make more tests conditional

2012-08-22 Thread Tixy
On Wed, 2012-08-22 at 18:41 +, Arnd Bergmann wrote: > On Wednesday 22 August 2012, Nicolas Pitre wrote: > > On Wed, 22 Aug 2012, Arnd Bergmann wrote: > > > > > > > > The ldrex/strex instructions are available on ARMv6. It's only the d > > > > variants (strexd/ldrexd) which are only

[PATCH] omapdrm: use alloc_ordered_workqueue() instead of UNBOUND w/ max_active = 1

2012-08-22 Thread Tejun Heo
This is an equivalent conversion and will ease scheduled removal of WQ_NON_REENTRANT. Only compile tested. Signed-off-by: Tejun Heo --- drivers/staging/omapdrm/omap_drv.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/omapdrm/omap_drv.c

[tip:x86/microcode] x86, microcode, AMD: Rewrite patch application procedure

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: 2efb05e8e9fa3510044e007b90263c73b6a83f84 Gitweb: http://git.kernel.org/tip/2efb05e8e9fa3510044e007b90263c73b6a83f84 Author: Borislav Petkov AuthorDate: Wed, 1 Aug 2012 16:16:13 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:16:29 -0700 x86, microcode, AMD:

[tip:x86/microcode] x86, microcode, AMD: Add a small, per-family patches cache

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: a3eb3b4da106a23b5d41bf915726172e31654a65 Gitweb: http://git.kernel.org/tip/a3eb3b4da106a23b5d41bf915726172e31654a65 Author: Borislav Petkov AuthorDate: Wed, 1 Aug 2012 15:38:18 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:16:21 -0700 x86, microcode, AMD:

[tip:x86/microcode] x86, microcode, AMD: Add reverse equiv table search

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: c96d2c0905cc48e34f2b37b775b59932c416b343 Gitweb: http://git.kernel.org/tip/c96d2c0905cc48e34f2b37b775b59932c416b343 Author: Borislav Petkov AuthorDate: Wed, 1 Aug 2012 14:55:01 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:16:11 -0700 x86, microcode, AMD:

[tip:x86/microcode] x86, microcode: Add a refresh firmware flag to ->request_microcode_fw

2012-08-22 Thread tip-bot for Borislav Petkov
Commit-ID: 48e30685caa8bdc4b8d4417d8ac31db59689742c Gitweb: http://git.kernel.org/tip/48e30685caa8bdc4b8d4417d8ac31db59689742c Author: Borislav Petkov AuthorDate: Thu, 26 Jul 2012 15:51:00 +0200 Committer: H. Peter Anvin CommitDate: Wed, 22 Aug 2012 16:15:58 -0700 x86, microcode: Add

  1   2   3   4   5   6   7   8   9   10   >