Hello Paul,
On Friday 12 December 2008 03:48, Paul Mackerras wrote:
> Andrew Morton writes:
>
> > > +#if (8 * THREAD_SIZE) > PAGE_SIZE
> > > max_threads = mempages / (8 * THREAD_SIZE / PAGE_SIZE);
> > > +#else
> > > + max_threads = mempages * (PAGE_SIZE / (8 * THREAD_SIZE));
> > > +#endif
> >
There is no standard way of getting device platform data from
dts file to the I2C device when it's probed. This patch adds
a function pointer to the of_modalias_table to get such bindings
properties into device's platform data.
Signed-off-by: Mingkai Hu
---
Thanks to Scott Wood's suggestions.
d
On Wed, Dec 17, 2008 at 05:31:40PM -0800, Grant Erickson wrote:
> Added additional information for type and compatibility strings and
> interrupt information to the SDRAM0 memory-controller device tree
> nodes for AMCC PowerPC 405EX[r]-based boards to facilitate binding
> with the new "ibm,sdram-4x
This adds support for an EDAC memory controller adaptation driver for
the "ibm,sdram-4xx-ddr2" ECC controller realized in the AMCC PowerPC
405EX[r].
Signed-off-by: Grant Erickson
---
At present, this driver has been developed and tested against the
controller realization in the AMCC PPC405EX[r] o
Added additional information for type and compatibility strings and
interrupt information to the SDRAM0 memory-controller device tree
nodes for AMCC PowerPC 405EX[r]-based boards to facilitate binding
with the new "ibm,sdram-4xx-ddr2" EDAC memory controller adapter driver.
Signed-off-by: Grant Eri
On Wed, Dec 17, 2008 at 04:09:05PM -0800, Grant Erickson wrote:
> On 12/17/08 3:46 PM, David Gibson wrote:
> > On Wed, Dec 17, 2008 at 11:56:07AM -0800, Grant Erickson wrote:
> >> Added additional information for type and compatibility strings and
> >> interrupt information to the SDRAM0 memory-con
On 12/17/08 3:46 PM, David Gibson wrote:
> On Wed, Dec 17, 2008 at 11:56:07AM -0800, Grant Erickson wrote:
>> Added additional information for type and compatibility strings and
>> interrupt information to the SDRAM0 memory-controller device tree
>> nodes for AMCC PowerPC 405EX[r]-based boards to f
On Wed, Dec 17, 2008 at 11:56:07AM -0800, Grant Erickson wrote:
> Added additional information for type and compatibility strings and
> interrupt information to the SDRAM0 memory-controller device tree
> nodes for AMCC PowerPC 405EX[r]-based boards to facilitate binding
> with the new "ibm,sdram-4x
Kumar Gala writes:
> The following changes since commit 23e0e8afafd9ac065d81506524adf3339584044b:
> Arnd Bergmann (1):
> powerpc/cell/axon-msi: Fix MSI after kexec
>
> are available in the git repository at:
>
> master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git merge
Lin
This adds support for an EDAC memory controller adaptation driver for
the "ibm,sdram-4xx-ddr2" ECC controller realized in the AMCC PowerPC
405EX[r].
Signed-off-by: Grant Erickson
---
At present, this driver has been developed and tested against the
controller realization in the AMCC PPC405EX[r] o
* Kumar Gala | 2008-12-17 15:41:42 [-0600]:
> Dave Liu noticed something similar.. Feel free to send me a brown paper
> bag.
:)
> Fixed in my 'merge' branch and just waiting for Paul or Linus to pick it
> up.
>
> http://ozlabs.org/pipermail/linuxppc-dev/2008-December/066352.html
Thx.
> - k
Se
On Dec 17, 2008, at 3:34 PM, Sebastian Andrzej Siewior wrote:
I just pulled from Linus and the Kernel I booted gave me this:
| Freeing unused kernel memory: 152k init
| BUG: sleeping function called from invalid context at /home/
bigeasy/git/linux-2.6-powerpc/fs/exec.c:417
| in_atomic(): 0, i
I just pulled from Linus and the Kernel I booted gave me this:
| Freeing unused kernel memory: 152k init
| BUG: sleeping function called from invalid context at
/home/bigeasy/git/linux-2.6-powerpc/fs/exec.c:417
| in_atomic(): 0, irqs_disabled(): 1, pid: 1, name: swapper
| Call Trace:
| [ef831dd0]
On Dec 14, 2008, at 11:44 PM, Benjamin Herrenschmidt wrote:
This reworks the context management code used by 4xx,8xx and
freescale BookE. It adds support for SMP by implementing a
concept of stale context map to lazily flush the TLB on
processors where a context may have been invalidated. This
/*
* Initialize the context management stuff.
@@ -326,13 +344,56 @@ void __init mmu_context_init(void)
init_mm.context.active = NR_CPUS;
/*
+ * The MPC8xx has only 16 contexts. We rotate through them on
each
+* task switch. A better way would be to keep track of t
On Tue, 16 Dec 2008, Benjamin Herrenschmidt wrote:
> On Mon, 2008-12-15 at 17:11 -0800, Trent Piepho wrote:
>> Shame, as it provides a huge speed up. I suppose an alternative would be
>> to map the chip twice at different physical addresses, by just configuring
>> the chip select to be twice the s
On Wed, 2008-12-17 at 11:43 -0800, Trent Piepho wrote:
The default ATMU window can support a pci_mem_offset less than zero too,
but pci_mem_offset is unsigned. One could say the abilities allowed a
powerpc pci_controller is neither subset nor a superset of the abilities of
a Freescale PCIe control
Kevin Diggs wrote:
Does anyone know what the statement:
"This technology has been retired."
on this page:
http://www.alphaworks.ibm.com/tech/powerscale4ppc
means? Something about 970FX frequency scaling?
I'm guessing they simply don't want to bother supporting the maple/970
anymore
> Hi Remi,
Hi Laurent,
> You will find my latest version of the CPM2 FHCI patch attached to this e-
> mail. I've never bothered to clean it as we decided to drop the USB host
> function from our device.
Thank you very much. Not clean is better than lost.
> This depends on the disk. Some will pr
On Dec 17, 2008, at 11:15 AM, Anton Vorontsov wrote:
On Wed, Dec 17, 2008 at 10:59:09AM -0600, Kumar Gala wrote:
On Dec 3, 2008, at 1:27 PM, Anton Vorontsov wrote:
- Update the device tree per QE USB bindings;
- Add timer (FSL GTM) node;
- Add gpio-controller node for BCSR13 bank (GPIOs on
Today the arch/powerpc/xmon/setjmp.S file contains only the
xmon_save_regs function. We want to use it for kdump purposes, so let's
move the file into arch/powerpc/kernel/ and give the function a more
generic name (ppc_save_regs).
Signed-off-by: Anton Vorontsov
---
The same patch but suitable fo
The patch replaces internal registers dump implementation with
ppc_save_regs(). From now on PPC64 and PPC32 are using the same
code for crash_setup_regs().
NOTE: The old regs dump implementation was capturing SP (r1) directly
as is, so you could see crash_kexec() function on top of the back-trace.
From: Dale Farnsworth
Wire up the trampoline code for ppc32 to relay exceptions from the
vectors at address 0 to vectors at address 32MB, and modify Kconfig
to enable Kdump support for all classic powerpcs.
Signed-off-by: Dale Farnsworth
Signed-off-by: Anton Vorontsov
---
arch/powerpc/Kconfig
From: Dale Farnsworth
Add the ability for a classic ppc kernel to be loaded at an address
of 32MB. This done by fixing a few places that assume we are loaded
at address 0, and by changing several uses of KERNELBASE to use
PAGE_OFFSET, instead.
Signed-off-by: Dale Farnsworth
Signed-off-by: Anto
While for debugging it is good to catch bogus users of ioremap,
though for kdump support it is more convenient to use ioremap for
copy_oldmem_page() (exactly as we do for PPC64 currently).
Note that copy_oldmem_page() calls __ioremap with flags set to '0',
so it should be safe with the regard to t
From: Dale Farnsworth
Refactor the setting of kexec OF properties, moving the common code
from machine_kexec_64.c to machine_kexec.c where it can be used on
both ppc64 and ppc32. This will be needed for kdump to work on ppc32
platforms.
Signed-off-by: Dale Farnsworth
Signed-off-by: Anton Voron
This patch replaces dummy function with full-fledged crash_setup_regs()
implementation. On PPC32 we simply use ppc_save_regs function to dump
the registers.
Signed-off-by: Anton Vorontsov
---
arch/powerpc/include/asm/kexec.h | 15 ++-
arch/powerpc/kernel/Makefile |2 +-
2 f
Today the arch/powerpc/xmon/setjmp.S file contains only the
xmon_save_regs function. We want to use it for kdump purposes, so let's
move the file into arch/powerpc/kernel/ and give the function a more
generic name (ppc_save_regs).
Signed-off-by: Anton Vorontsov
---
This is "git-format-patch -M"-
Hi all,
This is Kdump part of the older series[1] posted few months ago.
Yeah, I didn't bother with relocatable kernel support (yet), I just
want to consolidate a position of the working Kdump implementation,
and then we can improve it as time goes by.
Other than that, all the comments that were
On Thu, Dec 11, 2008 at 04:55:41AM +0300, Ilya Yanok wrote:
>This patch adds support for page sizes bigger than 4K (16K/64K) on
>PPC 44x.
>PGDIR table is much smaller than page in case of 16K/64K pages (512
>and 32 bytes resp.) so we allocate PGDIR with kzalloc() instead of
>__get_free_pages().
>PT
Added additional information for type and compatibility strings and
interrupt information to the SDRAM0 memory-controller device tree
nodes for AMCC PowerPC 405EX[r]-based boards to facilitate binding
with the new "ibm,sdram-4xx-ddr2" EDAC memory controller adapter driver.
Signed-off-by: Grant Eri
Does anyone know what the statement:
"This technology has been retired."
on this page:
http://www.alphaworks.ibm.com/tech/powerscale4ppc
means? Something about 970FX frequency scaling?
kevin
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.
Provides a small speedup when accessing pefetchable ranges. To indicate
that a memory range is prefetchable, mark it in the dts file with 4200
instead of 0200.
A powepc pci_controller is allowed three memory ranges, any of which may be
prefetchable. However, the PCI-PCI bridge configurat
The code that sets up the outbound ATMU windows, which is used to map CPU
physical addresses into PCI bus addresses where BARs will be mapped, didn't
work so well.
For one, it leaked the ioremap() of the ATMU registers. Another small bug
was the high 20 bits of the PCI bus address were left as ze
On Dec 16, 2008, at 4:08 PM, bterrell wrote:
>
>
> Kumar Gala-3 wrote:
>>
>>
>> <1. Which PCIe port is the device on?
>> 2. is this a INT-X style or MSI interrupt?
>> 3. if INT-X is INT-A, B, C, D?
1. Non-transparent bridge device is on port 1 of the PLX8616 switch, which
is connected to firs
Hi Yuri,
On Mon, Dec 8, 2008 at 2:55 PM, Yuri Tikhonov wrote:
> This adds support for doing asynchronous GF multiplication by adding
> four additional functions to async_tx API:
>
> async_pq() does simultaneous XOR of sources and XOR of sources
> GF-multiplied by given coefficients.
>
> async_
On Mon, Dec 15, 2008 at 04:44:17PM +1100, Benjamin Herrenschmidt wrote:
>This adds supports to the "extended" DCR addressing via
>the indirect mfdcrx/mtdcrx instructions supported by some
>4xx cores (440H6 and later)
>
>I enabled the feature for now only on AMCC 460 chips
>
>Signed-off-by: Benjamin
On Wed, Dec 17, 2008 at 10:59:09AM -0600, Kumar Gala wrote:
>
> On Dec 3, 2008, at 1:27 PM, Anton Vorontsov wrote:
>
>> - Update the device tree per QE USB bindings;
>> - Add timer (FSL GTM) node;
>> - Add gpio-controller node for BCSR13 bank (GPIOs on that bank
>> are used to control the USB tran
On Wed, Dec 17, 2008 at 10:56:08AM -0600, Kumar Gala wrote:
>
> On Dec 3, 2008, at 1:27 PM, Anton Vorontsov wrote:
>
>> The driver supports very simple GPIO controllers, that is, when a
>> controller provides just a 'data' register. Such controllers may be
>> found in various BCSRs (Board's FPGAs u
Kumar Gala wrote:
> Of these are they all in the kernel tree already? What I mean is QE
> usb bindings in linus's tree? I know GTM timers is and this patch
> series had the bcsr gpio. Similar question for qe par io. I think we
> are good but clearly I leave much of QE to you & timur.
Th
On Dec 3, 2008, at 1:27 PM, Anton Vorontsov wrote:
- Update the device tree per QE USB bindings;
- Add timer (FSL GTM) node;
- Add gpio-controller node for BCSR13 bank (GPIOs on that bank
are used to control the USB transceiver);
- Set up other BCSR registers;
- Configure the QE Par IO.
Of t
Kumar, can you please merge this patch? It is the last patch that
holds the FHCI USB driver.
Thanks,
Will do. Can I get you to add kdoc comments for the API functions:
The functions already have kdoc comments (see qe_lib/gpio.c changes).
Yeah, I noticed that.. sorry about the noise.
-
On Dec 3, 2008, at 1:27 PM, Anton Vorontsov wrote:
The driver supports very simple GPIO controllers, that is, when a
controller provides just a 'data' register. Such controllers may be
found in various BCSRs (Board's FPGAs used to control board's
switches, LEDs, chip-selects, Ethernet/USB PHY p
On Wed, Dec 17, 2008 at 10:46:17AM -0600, Kumar Gala wrote:
>
> On Dec 17, 2008, at 9:41 AM, Anton Vorontsov wrote:
>
>> On Wed, Dec 03, 2008 at 10:27:38PM +0300, Anton Vorontsov wrote:
>>> With this API we're able to set a QE pin to the GPIO mode or a
>>> dedicated
>>> peripheral function.
>>>
>
On Dec 3, 2008, at 1:27 PM, Anton Vorontsov wrote:
With this API we're able to set a QE pin to the GPIO mode or a
dedicated
peripheral function.
The API relies on the fact that QE gpio controllers are registered. If
they aren't, the API won't work (gracefully though).
There is one caveat th
On Dec 17, 2008, at 9:41 AM, Anton Vorontsov wrote:
On Wed, Dec 03, 2008 at 10:27:38PM +0300, Anton Vorontsov wrote:
With this API we're able to set a QE pin to the GPIO mode or a
dedicated
peripheral function.
The API relies on the fact that QE gpio controllers are registered.
If
they a
On Dec 17, 2008, at 4:24 AM, Dave Liu wrote:
The commit e5e774d8833de1a0037be2384efccadf16935675
powerpc/fsl-booke: Fix problem with _tlbil_va being interrupted
introduce one issue. that casue the problem like this:
Kernel BUG at c00b19fc [verbose debug info unavailable]
Oops: Exception in ker
On Dec 9, 2008, at 8:28 AM, Guillaume Knispel wrote:
There is an error in rh_alloc_fixed() of the Remote Heap code:
If there is at least one free block blk won't be NULL at the end of
the
search loop, so -ENOMEM won't be returned and the else branch of
"if (bs == s || be == e)" will be taken
The following changes since commit 23e0e8afafd9ac065d81506524adf3339584044b:
Arnd Bergmann (1):
powerpc/cell/axon-msi: Fix MSI after kexec
are available in the git repository at:
master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git merge
Dave Liu (1):
powerpc/fsl-booke
On Dec 16, 2008, at 7:13 PM, Paul Mackerras wrote:
Kumar Gala writes:
Paul are you planning on picking this up for .28 if not I'll pick it
up for .29
I was waiting for you to say if it needed to go in .28. Sounds like
you don't think it's that urgent then?
Since I have another patch for
On Wed, Dec 03, 2008 at 10:27:38PM +0300, Anton Vorontsov wrote:
> With this API we're able to set a QE pin to the GPIO mode or a dedicated
> peripheral function.
>
> The API relies on the fact that QE gpio controllers are registered. If
> they aren't, the API won't work (gracefully though).
>
>
Hi,
I have a few questions with regard to adapting the FHCI USB host
controller driver (for QE) from Anton Vorontsov to CPM2, based
on past discussions from linuxppc-dev & linuxppc-embedded.
http://ozlabs.org/pipermail/linuxppc-dev/2008-April/054253.html
>On Tuesday 08 April 2008 14:16, Anton Vor
On Wed, Dec 10, 2008 at 06:16:34PM -0500, Sean MacLennan wrote:
>Here is an updated patch. Doc has been moved to 4xx and amcc changed to
>ibm.
>
>Arnd: I removed your acked-by just in case you don't approve of the new
>flash layout. Feel free to ack again.
>
>Cheers,
> Sean
>
>Port of the ndfc dr
On Tue, Dec 16, 2008 at 03:34:43PM +1100, Tony Breeds wrote:
>ibm_configure_kernel_dump, is passed as the token to rtas_call() but I
>cannot see where it is initialised. Set it to something sane?
>
>Signed-off-by: Tony Breeds
Seems sane as a fix, just a note that whoever needs to apply this
patc
Hi Ben,
> Mike Ditto (1):
> i2c-cpm: Detect and report NAK right away instead of timing out
Could you also have a look at http://patchwork.ozlabs.org/patch/7452/ ?
(Discussion at http://patchwork.ozlabs.org/patch// )
IIRC, Kumar prefers to push this via your tree.
Thanks,
Jochen
_
On Tue, Dec 16, 2008 at 11:14:00PM -0500, Sean MacLennan wrote:
>On Wed, 10 Dec 2008 18:16:34 -0500
>"Sean MacLennan" wrote:
>
>> Here is an updated patch. Doc has been moved to 4xx and amcc changed
>> to ibm.
>
>Anybody? Even if it is not perfect, it would be better to have
>a driver that at leas
The commit e5e774d8833de1a0037be2384efccadf16935675
powerpc/fsl-booke: Fix problem with _tlbil_va being interrupted
introduce one issue. that casue the problem like this:
Kernel BUG at c00b19fc [verbose debug info unavailable]
Oops: Exception in kernel mode, sig: 5 [#1]
MPC8572 DS
Modules linked i
Hi Jens,
On Wed, 17 Dec 2008 09:02:11 +0100 Jens Axboe wrote:
>
> Indeed, looks good. I trust the ppc folks will carry this one? If so,
> feel free to add my acked-by to this.
Thanks, I would expect Paul (or Ben) to pick this up.
--
Cheers,
Stephen Rothwells...@canb.auug.or
On Wed, Dec 17 2008, Stephen Rothwell wrote:
> Otherwise you get lot of errors like these:
>
> drivers/block/viodasd.c:72: error: dereferencing pointer to incomplete type
> drivers/block/viodasd.c: In function 'viodasd_open':
> drivers/block/viodasd.c:135: error: dereferencing pointer to incomplet
59 matches
Mail list logo