Re: [PATCH 4/6 v5] Memory DLPAR Handling

2009-11-05 Thread Roland Dreier
This isn't a review of this patch -- more a question out of curiousity about how you actually can do memory remove in practice. Do you have any coordination between the platform/hypervisor and the kernel to make sure that a memory region you might want to remove later gets put into zone_movable

Re: [PATCH 1/3] powerpc/83xx/suspend: Clear deep_sleeping after devices resume

2009-11-05 Thread Scott Wood
Kumar Gala wrote: On Nov 5, 2009, at 10:57 AM, Scott Wood wrote: Kumar Gala wrote: On Sep 23, 2009, at 2:01 PM, Anton Vorontsov wrote: Currently 83xx PMC driver clears deep_sleeping variable very early, before devices are resumed. This makes fsl_deep_sleep() unusable in drivers' resume()

Re: [PATCH 1/3] powerpc/83xx/suspend: Clear deep_sleeping after devices resume

2009-11-05 Thread Kumar Gala
On Nov 5, 2009, at 1:48 PM, Scott Wood wrote: Kumar Gala wrote: On Nov 5, 2009, at 10:57 AM, Scott Wood wrote: Kumar Gala wrote: On Sep 23, 2009, at 2:01 PM, Anton Vorontsov wrote: Currently 83xx PMC driver clears deep_sleeping variable very early, before devices are resumed. This makes

Re: [PATCH] [SCSI] mpt fusion: Fix 32 bit platforms with 64 bit resources.

2009-11-05 Thread Benjamin Herrenschmidt
On Thu, 2009-11-05 at 10:07 -0600, James Bottomley wrote: ioc-memmap = mem; - dinitprintk(ioc, printk(MYIOC_s_INFO_FMT mem = %p, mem_phys = %lx\n, - ioc-name, mem, mem_phys)); + dinitprintk(ioc, printk(MYIOC_s_INFO_FMT mem = %p, mem_phys = %llx\n, + ioc-name, mem,

Re: [PATCH 1/3] powerpc/83xx/suspend: Clear deep_sleeping after devices resume

2009-11-05 Thread Scott Wood
Kumar Gala wrote: On Nov 5, 2009, at 1:48 PM, Scott Wood wrote: As for patch 3, Ben objected to the sleep-nexus stuff on IRC. Is sleep-nexus new? I thought we've had that for a bit. It's been around in a few dts files, but as was noted, nothing uses this stuff yet. -Scott

Re: [PATCH 1/3] powerpc/83xx/suspend: Clear deep_sleeping after devices resume

2009-11-05 Thread Anton Vorontsov
On Thu, Nov 05, 2009 at 02:03:14PM -0600, Scott Wood wrote: Kumar Gala wrote: On Nov 5, 2009, at 1:48 PM, Scott Wood wrote: As for patch 3, Ben objected to the sleep-nexus stuff on IRC. Is sleep-nexus new? I thought we've had that for a bit. It's been around in a few dts files, but as

Re: [PATCH 1/3] powerpc/83xx/suspend: Clear deep_sleeping after devices resume

2009-11-05 Thread Scott Wood
Anton Vorontsov wrote: On Thu, Nov 05, 2009 at 02:03:14PM -0600, Scott Wood wrote: Kumar Gala wrote: On Nov 5, 2009, at 1:48 PM, Scott Wood wrote: As for patch 3, Ben objected to the sleep-nexus stuff on IRC. Is sleep-nexus new? I thought we've had that for a bit. It's been around in a few

Re: [PATCH 1/3] powerpc/83xx/suspend: Clear deep_sleeping after devices resume

2009-11-05 Thread Anton Vorontsov
On Thu, Nov 05, 2009 at 02:25:15PM -0600, Scott Wood wrote: Anton Vorontsov wrote: On Thu, Nov 05, 2009 at 02:03:14PM -0600, Scott Wood wrote: Kumar Gala wrote: On Nov 5, 2009, at 1:48 PM, Scott Wood wrote: As for patch 3, Ben objected to the sleep-nexus stuff on IRC. Is sleep-nexus new? I

Interrupts not Firing on PPC405EX

2009-11-05 Thread Jonathan Haws
All, I am having some troubles getting interrupts to fire from my kernel module. I have connected the ISR with a call to request_irq() and have configured my device to generate interrupts. However, my ISR is called once when I connect the interrupt for the first time. After that it never

term_adt746x: Invert bit required on this Powerbook G4

2009-11-05 Thread Max Vozeler
I installed Ubuntu 8.10 on this Powerbook G4 (alu I think) for a friend of mine. As soon as therm_adt746x got loaded, the fan turned into a noise steam engine. This was on Ubuntu's 2.6.31 kernel (2.6.31-14-powerpc) which includes 0512a9a8e277a9de2. I could reproduce it with latest mainline as

Re: term_adt746x: Invert bit required on this Powerbook G4

2009-11-05 Thread Max Vozeler
On Wed, Nov 04, 2009 at 01:23:55PM +0100, Max Vozeler wrote: After some poking around, in which everything seemed to be according to plan including write of 0 to both FAN_SPD_SET regs, I noticed that explicitly *setting* the invert bit as in -write_reg(th, MANUAL_MODE[fan], -

Re: [PATCH] [SCSI] mpt fusion: Fix 32 bit platforms with 64 bit resources.

2009-11-05 Thread James Bottomley
On Thu, 2009-11-05 at 08:43 -0500, Josh Boyer wrote: On Tue, Sep 15, 2009 at 03:25:55PM -0700, pbath...@amcc.com wrote: From: Pravin Bathija pbath...@amcc.com Powerpc 44x uses 36 bit real address while the real address defined in MPT Fusion driver is of type 32 bit. This causes ioremap to

Re: [PATCH 0/8] 8xx: Misc fixes for buggy insn

2009-11-05 Thread Scott Wood
On Wed, Nov 04, 2009 at 02:38:32PM +0100, Joakim Tjernlund wrote: Here is the latest(last?) round of this series. I hope I got everything right now. Scott and Rex, please test and send ACK/NACK. Jocke Joakim Tjernlund (8): 8xx: invalidate non present TLBs This works, and is an

RE: [PATCH 3/6] P2020DS: Fixup sdhc to use PIO mode

2009-11-05 Thread Gao Guanhua-B22826
I will update the patch next week. Regards, --gaoguanhua -Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Thursday, November 05, 2009 9:52 PM To: Gao Guanhua-B22826 Cc: avoront...@ru.mvista.com; linuxppc-...@ozlabs.org; sdhci-de...@lists.ossman.eu

RE: [PATCH] [SCSI] mpt fusion: Fix 32 bit platforms with 64 bit resources.

2009-11-05 Thread Pravin Bathija
-Original Message- From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] Sent: Thursday, November 05, 2009 12:00 PM To: James Bottomley Cc: Josh Boyer; eric.mo...@lsi.com; Pravin Bathija; linux- s...@vger.kernel.org; linuxppc-...@ozlabs.org Subject: Re: [PATCH] [SCSI] mpt

Re: [PATCH] BUILD_BUG_ON: make it handle more cases

2009-11-05 Thread Rusty Russell
On Thu, 5 Nov 2009 05:08:42 pm Stephen Rothwell wrote: Hi Rusty, On Thu, 5 Nov 2009 16:58:36 +1030 Rusty Russell ru...@rustcorp.com.au wrote: Huh? virtio_has_feature does: if (__builtin_constant_p(fbit)) BUILD_BUG_ON(fbit = 32); else BUG_ON(fbit

Re: DMA to User-Space

2009-11-05 Thread Chris Friesen
On 11/04/2009 11:50 AM, Jonathan Haws wrote: One more question about this approach: does the mmap() call prevent the kernel from using this memory for other purposes? Will the kernel be able to move this memory elsewhere? I guess what I am asking is if this memory is locked for all other

RE: [PATCH] [SCSI] mpt fusion: Fix 32 bit platforms with 64 bit resources.

2009-11-05 Thread Desai, Kashyap
-Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-ow...@vger.kernel.org] On Behalf Of Benjamin Herrenschmidt Sent: Friday, November 06, 2009 1:30 AM To: James Bottomley Cc: Josh Boyer; Moore, Eric; pbath...@amcc.com; linux-s...@vger.kernel.org;

RE: [PATCH] [SCSI] mpt fusion: Fix 32 bit platforms with 64 bit resources.

2009-11-05 Thread Pravin Bathija
-Original Message- From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] Sent: Thu 11/5/2009 12:00 PM To: James Bottomley Cc: Josh Boyer; eric.mo...@lsi.com; Pravin Bathija; linux-s...@vger.kernel.org; linuxppc-...@ozlabs.org Subject: Re: [PATCH] [SCSI] mpt fusion: Fix 32 bit