Re: [PATCH 1/5] powerpc/qe: Increase MAX_QE_RISC to 4

2009-08-27 Thread Timur Tabi
Anton Vorontsov wrote: MPC8569 CPUs have four QE RISCs, so we need to increase MAX_QE_RISC constant, otherwise qe_upload_firmware() fails at sanity checking. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- Acked-by: Timur Tabi ti...@freescale.com Anton, I'll review the rest

Re: [PATCH 2/3] ucc_geth: Rearrange some code to avoid forward declarations

2009-09-10 Thread Timur Tabi
Anton Vorontsov wrote: We'll need ugeth_disable() and ugeth_enable() calls earlier in the file, so rearrange some code to avoid forward declarations. The patch doesn't contain any functional changes. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com Acked-by: Timur Tabi ti

Re: Is volatile always verboten for FSL QE structures?

2009-10-02 Thread Timur Tabi
. The PowerPC architecture is too complicated w.r.t. ordering of reads and writes. In other words, you can't trust it. No one should be using 'volatile' to access I/O registers. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list

[PATCH] hvc_console: returning 0 from put_chars is not an error

2009-10-14 Thread Timur Tabi
of the buffer. So change hvc_console_print() to just loop and call put_chars() again if it returns a 0 return code. This change makes hvc_console_print() behave more like hvc_push(), which does check for a 0 return code and re-schedules itself. Signed-off-by: Timur Tabi ti...@freescale.com

Re: [PATCH] hvc_console: returning 0 from put_chars is not an error

2009-10-15 Thread Timur Tabi
heavy printk() output. hvc calls my driver, but the output buffer is still full, so the driver just returns 0. If I add a spin-loop in the driver, then we don't need to change hvc, but now the driver is blocking during user-space print operations (via hvc_write and hvc_push). -- Timur Tabi

Re: [PATCH] hvc_console: returning 0 from put_chars is not an error

2009-10-17 Thread Timur Tabi
data is discarded internally. So what is the plan now? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Calling wait_event_interruptible_timeout() in I2C wait functions

2009-02-03 Thread Timur Tabi
, which is then passed up through i2c_smbus_write_byte_data(). So my question is, is i2c-mpc.c wrong in using wait_event_interruptible_timeout()? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https

Re: Calling wait_event_interruptible_timeout() in I2C wait functions

2009-02-05 Thread Timur Tabi
not much discussion on this issue, so I'm going to make the change to an uninterruptible wait and see if it fixes my problem. If so, I'll post a patch for i2c-mpc.c and see how far I get. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev

[PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-06 Thread Timur Tabi
-off-by: Timur Tabi ti...@freescale.com --- A similar change should probably be done to i2c-cpm.c, and maybe all other I2C drivers. Not many use wait_event_interruptible_timeout(). drivers/i2c/busses/i2c-mpc.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Timur Tabi
On Fri, Feb 6, 2009 at 8:00 AM, Timur Tabi ti...@freescale.com wrote: The i2c_wait() function is using wait_event_interruptible_timeout() to wait for the I2C controller to signal that it has completed an I2C bus operation. If the process that causes the I2C operation terminated abruptly

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Timur Tabi
Jean Delvare wrote: No, that's something for either Ben Dooks (Cc'd) or the powerpc tree. This patch has nothing to do with ARM, so Kumar will pick it up, if you ACK it. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Timur Tabi
patches in the recent past, so of course I will assume that you would apply this one. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: request_irq return errno 38

2009-02-12 Thread Timur Tabi
On Thu, Feb 12, 2009 at 4:51 AM, Vijay Nikam vijay.t.ni...@gmail.com wrote: Also how I can read the device tree binary file ? ? ? It would be a lot simpler if you just read the documentation (see booting-without-of.txt) and looked at other device drivers to see what they do. -- Timur Tabi

Re: Newby trying to get Ethernet going on MPC83xx series device.

2009-02-19 Thread Timur Tabi
= simple-bus, }, {}, }; is the old way. You're missing a compatible=simple-bus in your device tree. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc

[PATCH] powerpc: add defintion for MSR[GS] to list of MSR bits

2009-03-02 Thread Timur Tabi
for more information. Signed-off-by: Timur Tabi ti...@freescale.com --- arch/powerpc/include/asm/reg.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h index c6d1ab6..ca5c7f8 100644 --- a/arch/powerpc/include/asm

Re: [PATCH] powerpc: add defintion for MSR[GS] to list of MSR bits

2009-03-02 Thread Timur Tabi
Michael Neuling wrote: diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h Shouldn't this be in reg_booke.h? Yes, you're right. -- Timur Tabi Linux Kernel Developer @ Freescale ___ Linuxppc-dev mailing list Linuxppc-dev

[PATCH v2] powerpc: add defintion for MSR[GS] to list of MSR bits

2009-03-03 Thread Timur Tabi
for more information. Signed-off-by: Timur Tabi ti...@freescale.com --- v2: moved the definition from reg.h to reg_booke.h, where it belongs arch/powerpc/include/asm/reg_booke.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/reg_booke.h b/arch

[PATCH] powerpc: add fsl, fifo-depth property to Freescale SSI device nodes

2009-03-04 Thread Timur Tabi
that specifies the depth of the FIFOs. Also update the MPC8610 HPCD device tree with this property. Signed-off-by: Timur Tabi ti...@freescale.com --- Updates to the SSI audio driver will come later. Currently, this driver supports only one Freescale SOC, and so it's hard-coded to use the value 8

Re: mpc8349e-mitx 2.6.25 serial IRQ assigned wrong

2009-03-04 Thread Timur Tabi
something else. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH] powerpc: clean up ssi.txt, add definition for fsl, ssi-asynchronous

2009-03-05 Thread Timur Tabi
Add the definition of the fsl,ssi-asynchronous property to ssi.txt (documentation of the device tree bindings for the Freescale SSI device). Also tidy up the layout of ssi.txt. Signed-off-by: Timur Tabi ti...@freescale.com --- Documentation/powerpc/dts-bindings/fsl/ssi.txt | 64

Re: [PATCH] powerpc: clean up ssi.txt, add definition for fsl, ssi-asynchronous

2009-03-05 Thread Timur Tabi
. I'll reword it. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH v2] powerpc: clean up ssi.txt, add definition for fsl, ssi-asynchronous

2009-03-06 Thread Timur Tabi
Add the definition of the fsl,ssi-asynchronous property to ssi.txt (documentation of the device tree bindings for the Freescale SSI device). Also tidy up the layout of ssi.txt. Signed-off-by: Timur Tabi ti...@freescale.com --- v2: fixed typo, improved wording. Documentation/powerpc/dts

Re: 83xx: Marking or Allocating Pages as Cache-Inhibited

2009-03-08 Thread Timur Tabi
On Fri, Mar 6, 2009 at 12:49 AM, Liu Dave-R63238 dave...@freescale.com wrote: could you try to set '1' to DMA description bit3? Dave, I'm looking at the 8315e reference manual. What is DMA description bit 3? -- Timur Tabi Linux kernel developer at Freescale

Re: [PATCH v2] powerpc: clean up ssi.txt, add definition for fsl, ssi-asynchronous

2009-03-09 Thread Timur Tabi
Kumar Gala wrote: does not apply cleanly if/after I apply: powerpc: add fsl, fifo-depth property to Freescale SSI device nodes That's weird -- I designed the patch so that it would. Oh well, I'll rebase and repost. -- Timur Tabi Linux kernel developer at Freescale

Re: [PATCH v5] introduce macro spin_event_timeout()

2009-03-10 Thread Timur Tabi
timebase register. Now we can create a generic version of the function that uses jiffies, and then arch-specific versions where possible. But Alan still needs to be convinced. I already posted a length rebuttal to his email, but I haven't gotten a reply yet. -- Timur Tabi Linux kernel developer

Re: [PATCH v5] introduce macro spin_event_timeout()

2009-03-11 Thread Timur Tabi
believe that on some platforms, jiffies never increments. If so, we can't use the actual 'jiffies' variable. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo

Re: [PATCH v5] introduce macro spin_event_timeout()

2009-03-11 Thread Timur Tabi
aren't going to happen whether we abstract it with a macro or not. I think I can live with that. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH v5] introduce macro spin_event_timeout()

2009-03-11 Thread Timur Tabi
depending on the hardware and its priority scheme), no. So in that case, I can't rely on jiffies. I guess get_cycle() is my only choice. The problem is that there is no num_cycles_per_usec(). -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc

Re: [PATCH v5] introduce macro spin_event_timeout()

2009-03-11 Thread Timur Tabi
Scott Wood wrote: Or you can say that atomic context is outside the scope of this macro. No, I don't want to say that. We have wait_event_timeout() for larger-scale operations. I'm just looking for something that can replace while (!condition); -- Timur Tabi Linux Kernel Developer

Re: fsldma driver questions

2009-03-11 Thread Timur Tabi
controller, so I'm familiar with the controller but not the code. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH v5] introduce macro spin_event_timeout()

2009-03-11 Thread Timur Tabi
into the loop. He countered with this: spin_until_timeout(readb(foo) 0x80, 30 * HZ) { udelay(10); /* Maybe do other stuff */ } But I don't know how to make that work *and* have it return a value indicating timeout or success. -- Timur Tabi Linux Kernel Developer @ Freescale

[PATCH v3] powerpc: clean up ssi.txt, add definition for fsl, ssi-asynchronous

2009-03-11 Thread Timur Tabi
Add the definition of the fsl,ssi-asynchronous property to ssi.txt (documentation of the device tree bindings for the Freescale SSI device). Also tidy up the layout of ssi.txt. Signed-off-by: Timur Tabi ti...@freescale.com --- v3: rebased v2: fixed typo, improved wording. Documentation

Confused about CLOCK_TICK_RATE

2009-03-12 Thread Timur Tabi
? Shouldn't it be a variable, perhaps something that is based on tb_ticks_per_usec? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: node /dev/ttyCPM2 not created

2009-03-13 Thread Timur Tabi
On Fri, Mar 13, 2009 at 1:56 PM, liran raz liranrazli...@gmail.com wrote: Does anyone know what I'm missing? or what do I need to configure in order to have: /dev/ttyCPM2 ? My guess is that you don't have udev or mdev running. -- Timur Tabi Linux kernel developer at Freescale

Re: [PATCH v3] powerpc: clean up ssi.txt, add definition for fsl, ssi-asynchronous

2009-03-26 Thread Timur Tabi
On Wed, Mar 11, 2009 at 7:22 PM, Timur Tabi ti...@freescale.com wrote: Add the definition of the fsl,ssi-asynchronous property to ssi.txt (documentation of the device tree bindings for the Freescale SSI device). Also tidy up the layout of ssi.txt. Signed-off-by: Timur Tabi ti

Re: Q: define i2c nodes in device tree?

2009-03-26 Thread Timur Tabi
properly. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] ucc_geth: Convert to net_device_ops

2009-03-27 Thread Timur Tabi
; + + ugeth_info(%s: MTU = %d (frame size=%d)\n, dev-name, + dev-mtu, frame_size); + } + return 0; +} Do you think this is how it should be done? I don't know enough about ucc_geth and MTUs to know off-hand. -- Timur Tabi Linux kernel developer

Re: Q: define i2c nodes in device tree?

2009-03-27 Thread Timur Tabi
believe you'll find those entries still there even if your driver isn't loaded at all. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] QE USB Host Integration for MPC832x

2009-04-02 Thread Timur Tabi
devices for standard functionality, I'm not aware of any. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] ASoC: fsl_dma: Pass the proper device for dma mapping routines

2009-04-05 Thread Timur Tabi
to figure out what the right dev pointer was. ASoC is kinda screwy in that many fields are not initialized when you think they should be. More than once I passed a pointer to a wrong object without realizing it, even though the code worked. I'll check out these two patches on Monday. -- Timur

Re: [PATCH] ASoC: fsl_dma: Pass the proper device for dma mapping routines

2009-04-06 Thread Timur Tabi
avoront...@ru.mvista.com --- Acked-by: Timur Tabi ti...@freescale.com Mark and Takashi: this patch is a must-fix for 2.6.30 -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org

Re: sata device failed to IDENTIFY...

2009-04-06 Thread Timur Tabi
On Mon, Mar 23, 2009 at 3:07 AM, rizwan ahmad rizwan...@gmail.com wrote: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) ata1.00: qc timeout (cmd 0xec) ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) I'm seeing the same exact thing on a Freescale MPC8610 HPCD board. This happens

Re: ahci: drop intx manipulation on msi enable breaks ULI M1575

2009-04-07 Thread Timur Tabi
On Tue, Apr 7, 2009 at 7:52 PM, Michael Ellerman mich...@ellerman.id.au wrote: Can you post some more details, or point us at a thread? http://marc.info/?t=12391165216r=1w=2 -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev

Re: ahci: drop intx manipulation on msi enable breaks ULI M1575

2009-04-08 Thread Timur Tabi
On Tue, Apr 7, 2009 at 9:09 PM, Michael Ellerman mich...@ellerman.id.au wrote: Have you confirmed that INTX is disabled before that call? How do I do that? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev

Re: ahci: drop intx manipulation on msi enable breaks ULI M1575

2009-04-08 Thread Timur Tabi
Tejun Heo wrote: Running lspci -nnvvvxxx before loading the driver should be enough. That might be difficult. My root file system is on my SATA drive. It'll be a while before I can build an NFS rootfs. -- Timur Tabi Linux kernel developer at Freescale

Re: ahci: drop intx manipulation on msi enable breaks ULI M1575

2009-04-08 Thread Timur Tabi
Tejun Heo wrote: Yeah, right. The following patch should do the trick then. Thanks, I appreciate it. I get this output: XXX PCI_COMMAND=0x407 -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

Re: ahci: drop intx manipulation on msi enable breaks ULI M1575

2009-04-08 Thread Timur Tabi
On Wed, Apr 8, 2009 at 4:31 PM, Tejun Heo t...@kernel.org wrote: Hmmm... for now, I think it would be best to revert the original change.  Jeff, can you please do that? Actually, give me a few days before you do that. A colleague gave me some suggestions to debug this. -- Timur Tabi Linux

Re: ahci: drop intx manipulation on msi enable breaks ULI M1575

2009-04-09 Thread Timur Tabi
, but it doesn't. Earlier U-Boot couldn't find my SATA drive, so I thought that was a clue. The latest U-Boot does find the SATA drive, but the Linux driver still doesn't get interrupts. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc

Re: [PATCH] powerpc/85xx: Add P2020DS board support

2009-04-15 Thread Timur Tabi
define some property in the device tree to handle this? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: ahci: drop intx manipulation on msi enable breaks ULI M1575

2009-04-16 Thread Timur Tabi
. And thanks to everyone for helping me resolve this issue. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH] powerpc: don't disable SATA interrupts on Freescale MPC8610 HPCD

2009-04-20 Thread Timur Tabi
this, and so SATA support on the 8610 HPCD is broken. The original quirk function disabled INTx because it caused some other interrupt problem during early development on this board, but no one remembers any more what that problem was, and it doesn't seem to occur any more. Signed-off-by: Timur Tabi ti

Re: MPC8349E's DMA controller like ISA controller but with more feature?

2009-04-20 Thread Timur Tabi
, which is how ISA DMA is frequently used. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: removing get_immrbase()??

2009-04-22 Thread Timur Tabi
all of the + offset usages. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: removing get_immrbase()??

2009-04-22 Thread Timur Tabi
Scott Wood wrote: Timur Tabi wrote: these two are related and seem like we could look for fsl,cpm2 That's okay, as long as you don't break compatibility with older device trees that don't have that property, unless you can demonstrate that these trees would never work with the current

Re: removing get_immrbase()??

2009-04-22 Thread Timur Tabi
patches before that broke backwards compatibility unnecessarily. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: removing get_immrbase()??

2009-04-22 Thread Timur Tabi
property anymore. In that case, I have no issues. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: removing get_immrbase()??

2009-04-23 Thread Timur Tabi
in the kernel is because we didn't have a better place to put them. Keeping them in the kernel repository was just convenient. So I personally don't consider the *location* of the DTS files to be a basis for deciding what they really mean. -- Timur Tabi Linux kernel developer at Freescale

Re: removing get_immrbase()??

2009-04-23 Thread Timur Tabi
(for lack of a better word). We should *strive* to maintain backwards compatibility. If that means adding a few lines of isolated code every now and then, I don't see that as a bad thing at all. -- Timur Tabi Linux kernel developer at Freescale

Re: removing get_immrbase()??

2009-04-23 Thread Timur Tabi
an effort to minimize the problem. Adding a few isolated lines of code to maintain that compatibility, and running a few tests, is not a bad idea and can save headaches for some people in the future. -- Timur Tabi Linux kernel developer at Freescale

Re: removing get_immrbase()??

2009-04-23 Thread Timur Tabi
. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: MPC8349E's DMA controller like ISA controller but with more feature?

2009-04-24 Thread Timur Tabi
going to have to study the DMA programming model, and my device driver, and write a brand new driver from scratch. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo

[PATCH v6] introduce macro spin_event_timeout()

2009-04-27 Thread Timur Tabi
on a hardware register until a status bit changes. The timeout ensures that the loop still terminates if the bit doesn't change as expected. This macro makes it easier for driver developers to perform this kind of operation properly. Signed-off-by: Timur Tabi ti...@freescale.com --- I'm making

Re: [PATCH] fsldma: use PCI Read Multiple command

2009-04-27 Thread Timur Tabi
like us to check any other transaction/register combos? Yes, could you try this on non-PCI memory? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] fsldma: use PCI Read Multiple command

2009-04-27 Thread Timur Tabi
, but I don't see anything there that would constitute a memory buffer. I test this change on an 8610 and DMA to a register I/O, where this bit isn't even defined, and it made no difference. So I guess this change is okay. Acked-by: Timur Tabi ti...@freescale.com -- Timur Tabi Linux kernel

Re: [PATCH] fsldma: use PCI Read Multiple command

2009-04-27 Thread Timur Tabi
to use the PCI Read Multiple command, instead of the PCI Read Line command, for PCI read operations. Please be aware that this setting may result in read pre-fetching on some platforms. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev

Re: [PATCH] fsldma: use PCI Read Multiple command

2009-04-27 Thread Timur Tabi
David Hawkins wrote: Ira will add your comment to the body of the code near the PRC_RM command and submit a new patch. I'd rather have it near the top where people can see it. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev

Re: [PATCH] fsldma: use PCI Read Multiple command

2009-04-27 Thread Timur Tabi
in performance with this patch. The dmatest driver was also used to verify the correctness of the transfers, and showed no errors. Signed-off-by: Ira W. Snyder i...@ovro.caltech.edu Acked-by: Timur Tabi ti...@freescale.com -- Timur Tabi Linux kernel developer at Freescale

Re: [PATCH] fsldma: use PCI Read Multiple command

2009-04-27 Thread Timur Tabi
for PCI, so it would be surprising if it had any effect elsewhere. Surely you wouldn't really be surprised by incorrect documentation of our parts. :-) -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev

Re: [PATCH] fsldma: use PCI Read Multiple command

2009-04-28 Thread Timur Tabi
a single register address. It's just a off-loaded memcpy. So we don't need to worry about what happens to a fixed address. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman

Re: removing get_immrbase()??

2009-04-28 Thread Timur Tabi
the driver/kernel to clearly indicate what's missing from the device tree. In Kumar's example above, I expect the kernel to say that the MCM node is missing. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev

Re: [PATCH v6] introduce macro spin_event_timeout()

2009-04-29 Thread Timur Tabi
On Mon, Apr 27, 2009 at 2:05 PM, Timur Tabi ti...@freescale.com wrote: The macro spin_event_timeout() takes a condition and timeout value (in microseconds) as parameters.  It spins until either the condition is true or the timeout expires.  It returns the result of the condition when the loop

Re: [PATCH 05/11] [POWERPC] qe_lib: support for gpio_set_dedicated

2008-02-04 Thread Timur Tabi
. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: drivers/char/hvc_* and /Documentation/powerpc/hvcs.txt

2008-02-06 Thread Timur Tabi
put_char function is never called. Trying to debug to the console subsystem is making me dizzy. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: Could the DTS experts look at this?

2008-02-11 Thread Timur Tabi
is removed (or ignored) from the device tree. If it's true, then it's kept in. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: Could the DTS experts look at this?

2008-02-12 Thread Timur Tabi
to support conditional nodes, so that if a customer has an older U-Boot he can't update, he can use DTC to generate a V17 DTB that has the conditionals already processed. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list

Re: Could the DTS experts look at this?

2008-02-12 Thread Timur Tabi
, and will continue to be true. The problem with this approach is that you're replacing data with code, and that always makes things more difficult. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev

Re: Could the DTS experts look at this?

2008-02-12 Thread Timur Tabi
to implement a graft function in libfdt. Most likely, U-Boot would strip out the special node after processing it. The idea is for the boot loader to customize the device tree based before sending it to the kernel. -- Timur Tabi Linux kernel developer at Freescale

Re: Could the DTS experts look at this?

2008-02-12 Thread Timur Tabi
Grant Likely wrote: On Feb 12, 2008 8:44 AM, Timur Tabi [EMAIL PROTECTED] wrote: Arnd Bergmann wrote: On Tuesday 12 February 2008, David Gibson wrote: Or to expand. It's relatively easy now to just include multiple nodes in the tree and either delete or nop some of them out conditionally

Re: Could the DTS experts look at this?

2008-02-12 Thread Timur Tabi
different thing). Then why bother passing a DTB to the boot loader at all? Why not just have the boot loader create the device tree from scratch? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

Re: Could the DTS experts look at this?

2008-02-12 Thread Timur Tabi
will be wrong, because it could contain nodes that don't belong. We would need a new, incompatible version number for the device tree to make sure that this doesn't happen, even though nothing has changed in the binary layout of the tree. -- Timur Tabi Linux kernel developer at Freescale

Difference between vmlinux and vmlinux.bin

2008-02-19 Thread Timur Tabi
78 4b d7 b0 75 32 bytes @ 4230: 1f 8b 08 08 b7 e7 7a 44 00 03 62 75 73 79 62 6f 78 2d 31 2e 31 2e 33 2e 69 6d 67 00 ec 5d 7d 74 So when Kbuild creates vmlinux.bin, what does it do besides extract the PT_LOAD segment? -- Timur Tabi Linux kernel developer at Freescale

Re: Difference between vmlinux and vmlinux.bin

2008-02-19 Thread Timur Tabi
Timur Tabi wrote: So when Kbuild creates vmlinux.bin, what does it do besides extract the PT_LOAD segment? Never mind, I was doing something stupid which was trashing my in-memory copy of vmlinux.bin. -- Timur Tabi Linux kernel developer at Freescale

Re: Trouble with SCC UART ports when moving from ppc to powerpc

2008-03-07 Thread Timur Tabi
are a bunch of functions to manage memory allocated of the DPRAM. You might want to see who's using those functions, and how. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman

Confused about usercopy_64.c

2008-03-10 Thread Timur Tabi
; } If access_ok() returns false, then that means that we cannot copy the data from user-space. So why are we returning 'n'? Shouldn't we return zero, to let the caller know that the function failed? -- Timur Tabi Linux kernel developer at Freescale

Re: [PATCH] [POWERPC] 83xx: MPC837xRDB's VSC7385 ethernet switch isn't on the MDIO bus

2008-03-17 Thread Timur Tabi
ifconfig eth1 down would cause a kernel panic if eth0 was also up. The root cause was a bug in rheap.c. However, this code was fixed a year ago. Could it be a similar bug? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list

Re: [PATCH] [POWERPC] 83xx: MPC837xRDB's VSC7385 ethernet switch isn't on the MDIO bus

2008-03-17 Thread Timur Tabi
Joakim Tjernlund wrote: eth0 is also up, was it commit 4942bd80e83d13bf394df4a8109bee39d861820f that fixed that bug? Yep. Unfortunately, I don't really know enough about the ucc_geth driver to know what could be wrong. I just noticed your message and remembered that old bug. -- Timur Tabi

Re: [PATCH] [POWERPC] 83xx: MPC837xRDB's VSC7385 ethernet switch isn't on the MDIO bus

2008-03-18 Thread Timur Tabi
? If so, can you email me a detailed description of the problem? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] [POWERPC] 83xx: MPC837xRDB's VSC7385 ethernet switch isn't on the MDIO bus

2008-03-18 Thread Timur Tabi
that, sorry. You'll have to ask Jeff G or maybe Kumar to pick up those patches. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 1/2 v2] Driver for Freescale 8610 and 5121 DIU

2008-03-24 Thread Timur Tabi
in order for the allocate to succeed. Considering that the amount of memory that we allocate is in the order of megabytes, and it really isn't that important, I would think that we don't want to touch the emergency pool. Does that sound right? -- Timur Tabi Linux kernel developer at Freescale

[PATCH] Enable CONFIG_FORCE_MAX_ZONEORDER for all PowerPC, and make selectable

2008-03-25 Thread Timur Tabi
than 4MB of physically contiguous memory. Signed-off-by: Timur Tabi [EMAIL PROTECTED] --- I tested this on a Freescale 8610 32-bit PowerPC system, and when I increased CONFIG_FORCE_MAX_ZONEORDER to 13, I was able to allocate 5MB of memory via __get_free_pages(), so this change should be safe. arch

Re: [PATCH 4/5] i2c: MPC837xRDB Power Management and GPIO expander driver

2008-03-26 Thread Timur Tabi
Anton Vorontsov wrote: +config MCU_MPC837XRDB + tristate MPC837XRDB MCU driver + depends on I2C MPC837x_RDB OF_GPIO The MPC8349E-mITX also has this chip. Can you include support for that board as well? -- Timur Tabi Linux kernel developer at Freescale

Re: [PATCH 1/2 v4] Driver for Freescale 8610 and 5121 DIU

2008-03-28 Thread Timur Tabi
Scott Wood wrote: ...but not anywhere else. All user pointers should have a __user annotation. Even in a typecast? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman

Re: Commits added to powerpc.git master/powerpc-next branches

2008-04-01 Thread Timur Tabi
-- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 2/2 v5] Add DIU platform code for MPC8610HPCD

2008-04-01 Thread Timur Tabi
Andrew Morton wrote: The defconfig change gets almost 100% rejects and probably isn't appropriate here and isn't very important. It's weird that you get rejects, but otherwise you're correct. defconfigs are just a convenience, anyway. -- Timur Tabi Linux kernel developer at Freescale

Re: [PATCH] Freescale QUICC Engine USB Host Controller

2008-04-03 Thread Timur Tabi
to the rheap code. But that's a problem for another time. Well, there is Linux CLK API (somewhat similar to GPIO API), but PowerPC doesn't use it yet. Yeah, I noticed that too. I'll add it to my to-do list, but I suspect that someone else will get around to it before I do. -- Timur Tabi Linux kernel

Re: Question on mpc52xx_common.c

2008-04-08 Thread Timur Tabi
Robert Schwebel wrote: The ARM method of using just a device number is so much easier ... And I was going to suggest that the ARM guys should use device trees, too. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list

Re: [PATCH 2/2] [POWERPC] UCC nodes cleanup

2008-04-11 Thread Timur Tabi
Kumar Gala wrote: I'd prefer we use cell-index and not introduce fsl,ucc. Yeah, me too. cell-index is the right property for the UCC number. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

Re: [PATCH 2/2] [POWERPC] UCC nodes cleanup

2008-04-11 Thread Timur Tabi
-serial Cc'ed. Do we want the first UCC to have a cell-index of 1? Maybe we should fix this off-by-one error once and for all, and number all UCCs from 0? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

Re: [PATCH 2/2] [POWERPC] UCC nodes cleanup

2008-04-11 Thread Timur Tabi
is Linux implementation details. Fair enough. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 2/2] [POWERPC] UCC nodes cleanup

2008-04-11 Thread Timur Tabi
occurrences of device-id with cell-index. Drivers are modified for backward compatibility's sake. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] Acked-by: Timur Tabi [EMAIL PROTECTED] -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev

  1   2   3   4   5   6   7   8   9   10   >