Re: [PATCH RFC] Interface to set SPRN_TIDR

2017-08-31 Thread felix
On 31/08/2017 01:32, Sukadev Bhattiprolu wrote: Michael Neuling [mi...@neuling.org] wrote: Suka, Please CC Christophe who as an alternative way of doing this. We ned to get agreement across all users of TIDR/AS_notify... Mikey, Thanks. There is overlap between the two patches. I will send a p

Re: [PATCH] mm: convert totalram_pages, totalhigh_pages and managed_pages to atomic.

2018-11-22 Thread Kuehling, Felix
On 2018-10-22 1:23 p.m., Arun KS wrote: > Remove managed_page_count_lock spinlock and instead use atomic > variables. > > Suggested-by: Michal Hocko > Suggested-by: Vlastimil Babka > Signed-off-by: Arun KS Acked-by: Felix Kuehling Regards,   Felix > > --- >

Handling multiple GPIO controllers in 8xxx GPIO driver

2011-09-27 Thread Felix Radensky
() is invoked 3 times with same hardware irq number. The result is interrupt storm, mpc8xxx_gpio_irq_cascade() is invoked indefinitely. What would be the best way to fix the problem ? Thanks. Felix Radensky. ___ Linuxppc-dev mailing list Linuxppc-dev

Re: Handling multiple GPIO controllers in 8xxx GPIO driver

2011-09-27 Thread Felix Radensky
Hi Grant, On 09/27/2011 09:29 PM, Grant Likely wrote: On Tue, Sep 27, 2011 at 04:59:28PM +0300, Felix Radensky wrote: Hi, Looks like 8xxx GPIO driver cannot properly handle interrupts when multiple GPIO controllers exist in the system. On Freescale P1022 there are 3 GPIO controllers. All 3

Re: Handling multiple GPIO controllers in 8xxx GPIO driver

2011-09-29 Thread Felix Radensky
line. If it's possible on ARM, it should be doable on powerpc, right ? Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] Fix interrupt handling in MPC8xxx GPIO driver

2011-10-11 Thread Felix Radensky
Interrupt handler in MPC8xxx GPIO driver is missing the call to PIC EOI (end of interrupt) handler. As a result, at least on 85XX systems, GPIO interrupt is delivered only once. This patch adds the missing EOI call. Tested on custom P1022 board. Signed-off-by: Felix Radensky --- arch/powerpc

Re: [PATCH 3/7] powerpc/85xx: add sleep and deep sleep support

2011-11-04 Thread Felix Radensky
h default implementation USB is dead on 85xx after deep sleep if USB PHY is     powered down completely. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 3/7] powerpc/85xx: add sleep and deep sleep support

2011-11-04 Thread Felix Radensky
fter deep sleep.     With default implementation USB is dead on 85xx after deep sleep if USB PHY is     powered down. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

NAND or other high density storage on MPC8260

2011-12-27 Thread Felix Radensky
regard: 1. How difficult would be to modify mainline UPM NAND driver to work on MPC8260 ? 2. What other options are feasible and cost effective? I was thinking about SPI NOR and Compact Flash on UPM. Thanks. Felix. ___ Linuxppc-dev mailing list

FSL DMA engine transfer to PCI memory

2011-01-24 Thread Felix Radensky
rc = -EIO; } return rc; } The destination address is PCI memory address returned by pci_ioremap_bar(). The transfer silently fails, destination buffer doesn't change contents, but no error condition is reported. What am I doing wrong ? Thanks a lot in advance. Felix.

Re: FSL DMA engine transfer to PCI memory

2011-01-24 Thread Felix Radensky
Hi Ira, Scott On 01/25/2011 12:26 AM, Ira W. Snyder wrote: On Mon, Jan 24, 2011 at 11:47:22PM +0200, Felix Radensky wrote: Hi, I'm trying to use FSL DMA engine to perform DMA transfer from memory buffer obtained by kmalloc() to PCI memory. This is on custom board based on P2020 running

Re: FSL DMA engine transfer to PCI memory

2011-01-25 Thread Felix Radensky
Hi Ira, On 01/25/2011 02:18 AM, Ira W. Snyder wrote: On Tue, Jan 25, 2011 at 01:39:39AM +0200, Felix Radensky wrote: Hi Ira, Scott On 01/25/2011 12:26 AM, Ira W. Snyder wrote: On Mon, Jan 24, 2011 at 11:47:22PM +0200, Felix Radensky wrote: Hi, I'm trying to use FSL DMA engine to pe

Re: FSL DMA engine transfer to PCI memory

2011-01-27 Thread Felix Radensky
Hi Ira, On 01/25/2011 06:29 PM, Ira W. Snyder wrote: On Tue, Jan 25, 2011 at 04:32:02PM +0200, Felix Radensky wrote: Hi Ira, On 01/25/2011 02:18 AM, Ira W. Snyder wrote: On Tue, Jan 25, 2011 at 01:39:39AM +0200, Felix Radensky wrote: Hi Ira, Scott On 01/25/2011 12:26 AM, Ira W. Snyder

Re: [PATCH 0/8] fsldma: lockup fixes

2011-02-28 Thread Felix Radensky
be dmatest threads_per_chan=2 iterations=1 Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 0/8] fsldma: lockup fixes

2011-02-28 Thread Felix Radensky
Hi Ira, Attached dmesg output. Felix. Original Message Subject: Re: [PATCH 0/8] fsldma: lockup fixes Date: Mon, 28 Feb 2011 09:16:24 -0800

Re: [PATCH 0/8] fsldma: lockup fixes

2011-02-28 Thread Felix Radensky
Hi Ira, Thank you very much Felix. The dmesg output shows that the controller never got an interrupt for the second transaction. The patch below has extra debugging information that may help determine why this happens. Please apply it and re-run the test. The last section of dmesg (after

Re: [PATCH 0/8] fsldma: lockup fixes

2011-02-28 Thread Felix Radensky
Hi Ira, On 02/28/2011 11:11 PM, Ira W. Snyder wrote: On Mon, Feb 28, 2011 at 10:15:49PM +0200, Felix Radensky wrote: Hi Ira, Thank you very much Felix. The dmesg output shows that the controller never got an interrupt for the second transaction. The patch below has extra debugging

Re: [PATCH 0/8] fsldma: lockup fixes

2011-02-28 Thread Felix Radensky
Hi Ira, On 03/01/2011 02:21 AM, Ira W. Snyder wrote: On Mon, Feb 28, 2011 at 11:27:40PM +0200, Felix Radensky wrote: Hi Ira, On 02/28/2011 11:11 PM, Ira W. Snyder wrote: On Mon, Feb 28, 2011 at 10:15:49PM +0200, Felix Radensky wrote: Hi Ira, Thank you very much Felix. The dmesg output

Re: [PATCH 0/8] fsldma: lockup fixes

2011-02-28 Thread Felix Radensky
Hi Ira, On 03/01/2011 02:21 AM, Ira W. Snyder wrote: On Mon, Feb 28, 2011 at 11:27:40PM +0200, Felix Radensky wrote: Hi Ira, On 02/28/2011 11:11 PM, Ira W. Snyder wrote: On Mon, Feb 28, 2011 at 10:15:49PM +0200, Felix Radensky wrote: Hi Ira, Thank you very much Felix. The dmesg output

Re: [PATCH 0/8] fsldma: lockup fixes

2011-03-01 Thread Felix Radensky
ying dest buffer... dma0chan0-copy0: #3: No errors with src_off=0x4ff dst_off=0x453 len=0x395d dma0chan0-copy0: terminating after 4 tests, 0 failures (status 0) Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v3 0/9] fsldma: lockup fixes

2011-03-04 Thread Felix Radensky
Hi Ira, I've successfully tested this version on P2020RDB, with 10 threads per channel, 10 iterations per thread. Tested-by: Felix Radensky Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/lis

gianfar compilation is broken in 2.6.31-rc9

2009-09-06 Thread Felix Radensky
f6873b3 Author: Toru UCHIYAMA Date: Sun Aug 30 22:04:07 2009 -0700 gianfar: gfar_remove needs to call unregister_netdev() Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

FPGA access over PCI-E on MPC8536

2009-09-16 Thread Felix Radensky
what can cause PCI device memory be marked as disabled. Thanks a lot. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: FPGA access over PCI-E on MPC8536

2009-09-19 Thread Felix Radensky
em exactly ! Setting this bit via setpci fixed it. Thanks a lot for your help. Felix ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

MPC8536 PCI rescan to discover FPGA

2009-09-21 Thread Felix Radensky
/sys/bus/pci/devices/.../rescan but didn't have much success. Thanks. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: MPC8536 PCI rescan to discover FPGA

2009-09-30 Thread Felix Radensky
PCI code doesn't like resources starting at 0. Again, thanks a lot for your help, much appreciated. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

UBIFS problem on MPC8536DS

2009-10-14 Thread Felix Radensky
n cause this. Is it a hardware problem, mtd layer problem or UBI problem ? Thanks a lot in advance. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: UBIFS problem on MPC8536DS

2009-10-14 Thread Felix Radensky
Hi, Adrian Adrian Hunter wrote: Felix Radensky wrote: Hi, I have a strange problem in linux-2.6.31 running on MPC8536DS board. It is 100% reproducible, by opening a 350MB tar file into ubifs volume on NAND flash, and starting erase of NOR flash partition right after that. If I don't

Re: UBIFS problem on MPC8536DS

2009-10-14 Thread Felix Radensky
Adrian Hunter wrote: Felix Radensky wrote: Hi, I have a strange problem in linux-2.6.31 running on MPC8536DS board. It is 100% reproducible, by opening a 350MB tar file into ubifs volume on NAND flash, and starting erase of NOR flash partition right after that. If I don't start NOR

Re: UBIFS problem on MPC8536DS

2009-10-14 Thread Felix Radensky
Adrian Hunter wrote: Felix Radensky wrote: Adrian Hunter wrote: Felix Radensky wrote: Hi, I have a strange problem in linux-2.6.31 running on MPC8536DS board. It is 100% reproducible, by opening a 350MB tar file into ubifs volume on NAND flash, and starting erase of NOR flash partition

Re: UBIFS problem on MPC8536DS

2009-10-14 Thread Felix Radensky
Hi, Scott Scott Wood wrote: Felix Radensky wrote: Yes, NAND and NOR are on the same local bus controller. Maybe powerpc folks can provide some insight here. Is it possible that simultaneous access to NOR and NAND on MPC8536 can result in NAND timeouts ? I've heard other reports of

Re: UBIFS problem on MPC8536DS

2009-10-15 Thread Felix Radensky
Hi, Norbert Norbert van Bolhuis wrote: Hi Felix, do you have CONFIG_NO_HZ defined ? I've seen similar problems with powerpc + CONFIG_NO_HZ. In my case the low-level do_write_buffer (cfi_cmdset_0002.c) timed out too early. See http://lkml.org/lkml/2009/9/3/84 Maybe in your case it&

Re: UBIFS problem on MPC8536DS

2009-10-15 Thread Felix Radensky
Hi, Scott Scott Wood wrote: Scott Wood wrote: Felix Radensky wrote: Yes, NAND and NOR are on the same local bus controller. Maybe powerpc folks can provide some insight here. Is it possible that simultaneous access to NOR and NAND on MPC8536 can result in NAND timeouts ? I've heard

Re: UBIFS problem on MPC8536DS

2009-10-18 Thread Felix Radensky
Hi, Scott Scott Wood wrote: On Fri, Oct 16, 2009 at 07:01:43AM +0200, Felix Radensky wrote: Thanks for confirmation. So the real problem is eLBC ? What happens if I access other devices on eLBC (e.g. FPGA) simultaneously with NAND or NOR ? AFAICT, the problem is NAND being accessed

Re: UBIFS problem on MPC8536DS

2009-10-19 Thread Felix Radensky
Scott Wood wrote: On Sun, Oct 18, 2009 at 11:38:13AM +0200, Felix Radensky wrote: Hi, Scott Scott Wood wrote: On Fri, Oct 16, 2009 at 07:01:43AM +0200, Felix Radensky wrote: Thanks for confirmation. So the real problem is eLBC ? What happens if I access other devices on eLBC

Re: UBIFS problem on MPC8536DS

2009-10-19 Thread Felix Radensky
Scott Wood wrote: Felix Radensky wrote: OK, no problem. I just wanted to get an idea of what should be done. Should the NOR code poll some eLBC register to wait for completion of NAND special operation ? Can you tell what register is relevant ? I was thinking you'd just share a mutex wit

Re: UBIFS problem on MPC8536DS

2009-10-20 Thread Felix Radensky
Scott Wood wrote: Felix Radensky wrote: OK, no problem. I just wanted to get an idea of what should be done. Should the NOR code poll some eLBC register to wait for completion of NAND special operation ? Can you tell what register is relevant ? I was thinking you'd just share a mutex wit

Re: UBIFS problem on MPC8536DS

2009-10-22 Thread Felix Radensky
Hi, Scott Scott Wood wrote: On Fri, Oct 16, 2009 at 07:01:43AM +0200, Felix Radensky wrote: Thanks for confirmation. So the real problem is eLBC ? What happens if I access other devices on eLBC (e.g. FPGA) simultaneously with NAND or NOR ? AFAICT, the problem is NAND being accessed

CompactPCI hotplug on PowerPC

2009-10-25 Thread Felix Radensky
to be no way do pass ENUM# irq number into the driver. How should one define ENUM# interrupt in device tree ? Thanks a lot in advance. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

tg3: link is permanently down after ifdown and ifup

2009-11-19 Thread Felix Radensky
comes back. Am I the only one seeing this problem ? Any help on fixing this is appreciated. Thanks a lot. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: tg3: link is permanently down after ifdown and ifup

2009-11-19 Thread Felix Radensky
trl[7618] dma_mask[64-bit] Is my problem related to hardware or it's a tg3 driver bug ? Thanks a lot. Felix. Felix Radensky wrote: Hi, I have a problem with tg3 driver on a custom MPC8536 based board running linux-2.6.31, with tg3 and Broadcom phy drivers taken from linux-2.6.32-rc7.

Re: tg3: link is permanently down after ifdown and ifup

2009-11-21 Thread Felix Radensky
Hi, Michael Chan wrote: On Thu, 2009-11-19 at 08:08 -0800, Felix Radensky wrote: Hi, The problem goes away if I remove the call to tg3_set_power_state(tp, PCI_D3hot); from tg3_close(). Added Matt to CC. He is on vacation and may not be able to look into this right away. Thanks

ndfc driver on Kilauea board

2009-02-05 Thread Felix Radensky
he example in ndfc.txt However driver probe routine is not called by the kernel, and NAND is not identified. What am I missing ? The same driver (backported) works for me on custom 460EX board with u-boot-1.3.4 and linux-2.6.28 Thanks a lot in advance. Felix. -- View this message in cont

Re: ndfc driver on Kilauea board

2009-02-05 Thread Felix Radensky
Felix Radensky wrote: > > Hi, > > I'm trying to enable Linux ndfc driver on Kilauea (ppc405ex) board rev 1.2 > running > u-boot v2009.01 and linux-2.6.29-rc3. I've enabled NDFC in kernel config > and > updated kilauea.dts as described in > Documentat

Re: 4xx tree updates

2009-02-15 Thread Felix Radensky
t me know! > > josh > > > ___ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev > > Hi, Josh What about 4xx SPI driver ? Is it planned for inclusion in 2.6.30 ? Th

The state of Serial Rapid IO on MPC8548

2009-02-15 Thread Felix Radensky
Hi I've noticed that in 2.6.29-rc5 Serial Rapid IO is only available for 86xx processors. There's also no Freescale BSP for 8548. What is the best source of SRIO driver for this CPU ? Can I simply enable SRIO support in mainline kernel for 85xx and hope it will work ? Thanks. Felix

Re: PPC 405 EX USB Development

2009-03-03 Thread Felix Radensky
? Also, would this be a correct combination of flags for host-only mode on 405EX: KBUILD_CPPFLAGS += -Dlinux -DOTG_PLB_DMA -DOTG_PLB_DMA_TASKLET -DDWC_HOST_ONLY Thanks a lot. Felix. -- View this message in context: http://www.nabble.com/PPC-405-EX-USB-Development-tp22201577p22318178.html Sen

Ethernet problem on 405EXr

2009-03-08 Thread Felix Radensky
hy-mode to "mii" in device tree. Any help in debugging this is very much appreciated. Felix. -- View this message in context: http://www.nabble.com/Ethernet-problem-on-405EXr-tp22402565p22402565.html Sent from the linuxppc-dev mailing l

Machine check in 4xx ethernet driver

2009-03-09 Thread Felix Radensky
9803> 7c0006ac 38840001 38630001 ---[ end trace 075752cbf5bce2a1 ]--- Bus error Felix. -- View this message in context: http://www.nabble.com/Machine-check-in-4xx-ethernet-driver-tp22408005p22408005.html Sent from the linuxppc-dev mailing list

Re: Machine check in 4xx ethernet driver

2009-03-09 Thread Felix Radensky
Josh Boyer-4 wrote: > > On Mon, Mar 09, 2009 at 12:47:02AM -0700, Felix Radensky wrote: >> >>Hi, >> >>I'm getting machine check exception when trying to dump >>emac registers on 405EX Kilauea board. The kernel is 2.6.29-rc7 >>The problem seems no

Re: Machine check in 4xx ethernet driver

2009-03-09 Thread Felix Radensky
Josh Boyer-4 wrote: > > On Mon, Mar 09, 2009 at 03:53:25AM -0700, Felix Radensky wrote: >> >> >> >>Josh Boyer-4 wrote: >>> >>> On Mon, Mar 09, 2009 at 12:47:02AM -0700, Felix Radensky wrote: >>>> >>>>Hi, >>>&g

Re: Machine check in 4xx ethernet driver

2009-03-09 Thread Felix Radensky
Josh Boyer-4 wrote: > > On Mon, Mar 09, 2009 at 03:53:25AM -0700, Felix Radensky wrote: >> >> >> >>Josh Boyer-4 wrote: >>> >>> On Mon, Mar 09, 2009 at 12:47:02AM -0700, Felix Radensky wrote: >>>> >>>>Hi, >>>&g

Re: RX problem in ibm_newemac driver

2009-03-11 Thread Felix Radensky
Benjamin Herrenschmidt wrote: On Wed, 2009-03-11 at 01:39 +0200, Felix Radensky wrote: Benjamin Herrenschmidt wrote: On Wed, 2009-03-11 at 00:14 +0200, Felix Radensky wrote: Yes, seems logical. U-boot has code to enable and disable loopback clock for 440SPE, 440EPX,440GRX

/dev/random on PPC40EXr

2009-04-01 Thread Felix Radensky
OM to network driver, but since not too many drivers implement it, I don't know whether it's a good idea or not. Is there any work in progress to develop hw_random driver for 4xx TRNG ? Thanks a lot. Felix. -- View this message in context: http://www.nabble.com/-dev-ran

Machine check in 4xx NAND driver

2009-04-27 Thread Felix Radensky
dump: 7cab2b79 4c810020 38a5fffc 396b 2f85fffd 556bf0be 3d20c02c 396b0001 39497ad8 7d6903a6 419c0028 812a0004 <7c0004ac> 80090008 0c00 4c00012c Any hints what could be the problem are much appreciated. Thanks. Felix. ___ Linuxppc-dev mail

Problem with mini-PCI-E slot on P2020RDB

2009-12-15 Thread Felix Radensky
os card plugged into regular PCI-E slot works OK in FSL BSP. Any help in resolving this is much appreciated. Thanks. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Problem with mini-PCI-E slot on P2020RDB

2009-12-16 Thread Felix Radensky
ic 0x1 0x1 0x0 0x0 0x2 &mpic 0x2 0x1 0x0 0x0 0x3 &mpic 0x3 0x1 0x0 0x0 0x4 &mpic 0x0 0x1 Thanks for your help. With this change "nobody cared" message disappears, but interrupts are not coming at all. Is it a

Re: Problem with mini-PCI-E slot on P2020RDB

2009-12-16 Thread Felix Radensky
Mahajan Vivek-B08308 wrote: From: Felix Radensky [mailto:fe...@embedded-sol.com] Sent: Wednesday, December 16, 2009 2:56 PM To: Mahajan Vivek-B08308 Cc: linuxppc-...@ozlabs.org; Aggrwal Poonam-B10812; Kumar Gala Subject: Re: Problem with mini-PCI-E slot on P2020RDB Hi, Looks like INTA is

Re: Problem with mini-PCI-E slot on P2020RDB

2009-12-16 Thread Felix Radensky
t to the driver is not trivial. They've tried once, it didn't work and they gave up. Any chance I can use mini-PCI-E slot without MSI ? Thanks. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Problem with mini-PCI-E slot on P2020RDB

2009-12-17 Thread Felix Radensky
Mahajan Vivek-B08308 wrote: From: linuxppc-dev-bounces+vivek.mahajan=freescale@lists.ozlabs. org [mailto:linuxppc-dev-bounces+vivek.mahajan=freescale@lists .ozlabs.org] On Behalf Of Felix Radensky Sent: Thursday, December 17, 2009 12:52 PM I just noticed a MSI enable bit in

Re: Problem with mini-PCI-E slot on P2020RDB

2009-12-17 Thread Felix Radensky
obody cared" message when driver executes request_irq(). Vivek has come to a conclusion that the problem is related to incorrect IRQ0 routing for mini-PCI-E slot on P2020RDB. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://

I2C bus clock on MPC85XX systems

2009-12-22 Thread Felix Radensky
s this the right approach ? Thanks. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: I2C bus clock on MPC85XX systems

2009-12-22 Thread Felix Radensky
Hi, Wolfgang Wolfgang Grandegger wrote: Felix Radensky wrote: Hi, Almost all MPC85XX based systems have the compatible=:"fsl-i2c" in respective i2c device tree nodes. This causes FSL i2c driver to use the following "backward compatible" values: FSR=0x31 DFSR=0x10. This

Re: I2C bus clock on MPC85XX systems

2009-12-22 Thread Felix Radensky
Hi, Wolfgang Wolfgang Grandegger wrote: Felix Radensky wrote: Hi, Wolfgang Wolfgang Grandegger wrote: Felix Radensky wrote: Hi, Almost all MPC85XX based systems have the compatible=:"fsl-i2c" in respective i2c device tree nodes. This causes FSL i2c driver

PCI-PCI bridge scanning broken on 460EX

2009-12-28 Thread Felix Radensky
in this thread: http://lists.ozlabs.org/pipermail/linuxppc-dev/2008-October/063939.html I'd appreciate any help in resolving this issue. Below is dmesg output with DEBUG enabled and problematic test for broken removed. Using PowerPC 44x Platform machine description Linux version 2.6.

Re: PCI-PCI bridge scanning broken on 460EX

2010-01-04 Thread Felix Radensky
Hi, Ben Adding Feng Kan from AMCC to CC. Benjamin Herrenschmidt wrote: On Mon, 2009-12-28 at 12:51 +0200, Felix Radensky wrote: Hi, I'm running linux-2.6.33-rc2 on Canyonlands board. When PLX 6254 transparent PCI-PCI bridge is plugged into PCI slot the kernel simply resets the

Re: PCI-PCI bridge scanning broken on 460EX

2010-01-10 Thread Felix Radensky
Hi, Ben Felix Radensky wrote: Hi, Ben Adding Feng Kan from AMCC to CC. Benjamin Herrenschmidt wrote: On Mon, 2009-12-28 at 12:51 +0200, Felix Radensky wrote: Hi, I'm running linux-2.6.33-rc2 on Canyonlands board. When PLX 6254 transparent PCI-PCI bridge is plugged into PCI slo

Re: PCI-PCI bridge scanning broken on 460EX

2010-01-10 Thread Felix Radensky
Benjamin Herrenschmidt wrote: On Sun, 2010-01-10 at 14:56 +0200, Felix Radensky wrote: I now have a custom board with 460EX and the same PLX bridge, running 2.6.23-rc3 Things look better here, as u-boot is now able to properly detect PLX and device behind it, but kernel still has problems

Re: PCI-PCI bridge scanning broken on 460EX

2010-01-11 Thread Felix Radensky
Hi Stef, Stef van Os wrote: Hello Felix, I had a problem similar to this on the 440GX, the PCI code was not sending type 1 transactions when scanning behind bridges. Perhaps you could try this: Index: linux/arch/powerpc/sysdev/ppc4xx_pci.c

Re: PCI-PCI bridge scanning broken on 460EX

2010-01-11 Thread Felix Radensky
Hi Stef Felix Radensky wrote: Hi Stef, Stef van Os wrote: Hello Felix, I had a problem similar to this on the 440GX, the PCI code was not sending type 1 transactions when scanning behind bridges. Perhaps you could try this: Index: linux/arch/powerpc/sysdev/ppc4xx_pci.c

Re: PCI-PCI bridge scanning broken on 460EX

2010-01-11 Thread Felix Radensky
ef's fix. I don't have access to a system with devices behind PLX, and the guy who did the testing used wrong kernel. I'll make sure he uses the correct one and get back to you. Maybe everything works after all :) I'm really sorry for confusion. Felix. __

Re: PCI-PCI bridge scanning broken on 460EX

2010-01-12 Thread Felix Radensky
Hi Ben Benjamin Herrenschmidt wrote: On Tue, 2010-01-12 at 00:48 +0200, Felix Radensky wrote: Maybe because the bus behind root P2P bridge is bus 0, and type 1 cycles are needed for bus numbers greater than 0. That's what 460EX manual says. Well, no... the bus behind the root P

Re: [PATCH] powerpc/4xx: Add support for type 1 pci transactions on 4xx boards

2010-01-19 Thread Felix Radensky
40SPe - yes 460XX - yes The distinction between these groups is pretty clear in the device trees. The members of the first group all have "ibm,plb-pci" property, and all members of second group have "ibm,plb-pcix" property. So onl

Re: [PATCH] powerpc/4xx: Add support for type 1 pci transactions on 4xx boards

2010-01-20 Thread Felix Radensky
Hi, Stef Benjamin Herrenschmidt wrote: On Wed, 2010-01-20 at 00:52 +0200, Felix Radensky wrote: 405XX - no 440EP - no 440GR - no 440EPx/440GRx - no 440GP - yes 440GX - yes 440SP - yes 440SPe - yes 460XX - yes The distinction between these groups is pretty clear in the device trees. The

Starting bare metal application on second core of P2020

2010-02-17 Thread Felix Radensky
leave core1 in reset, start Linux on core0 from u-boot and load bare metal application from Linux. If this possible, where can I learn about the procedure ? Thanks. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozla

Problem with PCI bus rescan on 460EX

2010-03-02 Thread Felix Radensky
Thanks a lot. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Problem with PCI bus rescan on 460EX

2010-03-10 Thread Felix Radensky
Hi Alex, Resending, previous attempt was erroneously send as HTML. Thanks a lot for replying. Alex Chiang wrote: * Felix Radensky : The problem arises when device is plugged in after boot. After doing echo 1 > /sys/bus/pci/rescan the device is identified, but bridge memory window is

Re: Problem with PCI bus rescan on 460EX

2010-03-11 Thread Felix Radensky
Hi Alex, Thanks a lot for replying. Alex Chiang wrote: * Felix Radensky : The problem arises when device is plugged in after boot. After doing echo 1 > /sys/bus/pci/rescan the device is identified, but bridge memory window is not allocated, and reads from device memory regi

Re: Problem with PCI bus rescan on 460EX

2010-03-11 Thread Felix Radensky
NUM# interrupt, but Hotswap Control register layout does not completely follow the standard. Should I use drivers/pci/hotplug/cpci_hotplug_core.c as a base, or do you have something more simple in mind ? Thanks a lot. Felix. ___ Linuxppc-dev mailing list

Re: Problem with PCI bus rescan on 460EX

2010-03-12 Thread Felix Radensky
ory window is properly allocated. For some reason bridge memory is disabled, but if I enable it via setpci, and also enable device memory, then everything works fine. If the system is booted when device behind the bridge is plugged in, bridge memory is en

Re: Problem with PCI bus rescan on 460EX

2010-03-14 Thread Felix Radensky
Hello Kenji-san, Kenji Kaneshige wrote: Felix Radensky wrote: Hello Kenji-san, Kenji Kaneshige wrote: I'm not sure, but I guess pci_setup_bridge() didn't update IO base/limit and Mem base/limit of the bridge (:00:02.0) because of the following lines. static void pci_se

Re: Problem with PCI bus rescan on 460EX

2010-03-15 Thread Felix Radensky
e software that I don't really want to modify heavily. But I'll do that if generic PCI rescan cannot be fixed. Thanks a lot for your help. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Problem with PCI bus rescan on 460EX

2010-03-16 Thread Felix Radensky
ing all configuration itself. But both u-boot and linux do not assign memory resources to bridge if there's no device behind it. Thanks a lot. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Problem with PCI bus rescan on 460EX

2010-03-16 Thread Felix Radensky
passing hpmemsize kernel parameter, to specify the amount of memory to assign to the bridge. I've tested this approach and it seems to work. Thanks. Felix. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Problem with PCI bus rescan on 460EX

2010-03-17 Thread Felix Radensky
oth cases the kernel doesn't boot unless PCI support is disabled. Debugging is difficult as the board just resets before anything is is printed on console. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Problem with PCI bus rescan on 460EX

2010-03-17 Thread Felix Radensky
Hi Ben, Benjamin Herrenschmidt wrote: On Wed, 2010-03-17 at 09:38 +0200, Felix Radensky wrote: Hello Kenj-san Kenji Kaneshige wrote: By the way, I think Yinghai's bridge resource reallocation patch series might help you. It is in Jesse's PCI tree. Please take a look.

Re: Problem with PCI bus rescan on 460EX

2010-03-28 Thread Felix Radensky
Hello, Kenji-san Kenji Kaneshige wrote: Felix Radensky wrote: Hello, Kenji-san Kenji Kaneshige wrote: I misunderstood the problem. My understanding was memory resource was not enabled even though Linux set the Memory Space bit in the command register. But it was not correct. The bridge

Re: Problem with PCI bus rescan on 460EX

2010-03-28 Thread Felix Radensky
Hi Ben, Benjamin Herrenschmidt wrote: On Sun, 2010-03-28 at 12:13 +0300, Felix Radensky wrote: I've tried Jesse's tree with Yinghai's patches, but they don't seem to help. Memory for bridge is not allocated after insertion of hotplug device and bus rescan. Attached dme

Re: Problem with PCI bus rescan on 460EX

2010-03-29 Thread Felix Radensky
Hello Kenji-san, Kenji Kaneshige wrote: Felix, I think assigning hpXXsize at boot time is the simpler solution, if it is acceptable workaround for you. And as Yinghai suggested in the another email, removing slot's parent bridge first should be one of the workaround. But the probl

Ethernet support missing p1020rdb.dts

2010-04-08 Thread Felix Radensky
Hi, I've just noticed that ethernet nodes are missing in p1020rdb device tree. Are there any known problems with ethernet controllers on p1020rdb ? Thanks. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlab

Re: Ethernet support missing p1020rdb.dts

2010-04-10 Thread Felix Radensky
Hi Kumar, On 4/9/2010 8:43 AM, Kumar Gala wrote: On Apr 8, 2010, at 5:53 AM, Felix Radensky wrote: Hi, I've just noticed that ethernet nodes are missing in p1020rdb device tree. Are there any known problems with ethernet controllers on p1020rdb ? I'd say its not pro

Re: [PATCH] powerpc/85xx: Add eTSEC 2.0 support for P1020RDB boards

2010-04-16 Thread Felix Radensky
/gpp/kernel-2.6.32-rc3-P1020RDB-DTS-Support-for-eTSEC-2.0-v0.patch but revamped for the mainline's OF bindings. Thanks a lot, I appreciate your help. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlab

Re: [git pull] Please pull powerpc.git merge branch

2010-04-26 Thread Felix Radensky
hanks. Felix. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] 85xx: Fix PCI-E interrupt mapping for slot 0 of P2020DS

2010-05-10 Thread Felix Radensky
Fix legacy PCI-E interrupt mapping for PCI-E slot 0 of P2020DS evaluation board. The patch is based on P2020DS device tree from Freescale BSP for this board. Signed-off-by: Felix Radensky --- arch/powerpc/boot/dts/p2020ds.dts |8 1 files changed, 4 insertions(+), 4 deletions

Re: [PATCH] 85xx: Fix PCI-E interrupt mapping for slot 0 of P2020DS

2010-05-11 Thread Felix Radensky
Hi Kumar, On 5/11/2010 3:36 PM, Kumar Gala wrote: On May 10, 2010, at 2:15 PM, Felix Radensky wrote: Fix legacy PCI-E interrupt mapping for PCI-E slot 0 of P2020DS evaluation board. The patch is based on P2020DS device tree from Freescale BSP for this board. Signed-off-by: Felix Radensky

Re: known working sata_sil24.c setup on powerpc platforms?

2011-04-06 Thread Felix Radensky
Hi Leon, I think there's a hardware problem with mini PCI-E slot on P2020RDB related to legacy IRQ routing. See this thread for details http://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg40037.html You may have better luck with PCI-E slot and mini PCI-E to PCI-E adapter.

Re: known working sata_sil24.c setup on powerpc platforms?

2011-04-06 Thread Felix Radensky
Hi Leon, On 04/06/2011 11:58 PM, Leon Woestenberg wrote: Hello Felix, On Wed, Apr 6, 2011 at 10:49 PM, Felix Radensky wrote: I think there's a hardware problem with mini PCI-E slot on P2020RDB related to legacy IRQ routing. See this thread for details http://www.mail-archive.com/linuxpp

Re: Problem with mini-PCI-E slot on P2020RDB

2011-04-11 Thread Felix Radensky
Hi, Assuming I have all patches in place, will this problem be resolved on earlier board revisions (before rev D) ? Felix. On 04/11/2011 12:06 PM, Kushwaha Prabhakar-B32579 wrote: Hi Fabe, Yes .. P1020/P1011 RDB has same issue as of P2020RDB. It was because of some missing patches at u-boot

Re: Problem with mini-PCI-E slot on P2020RDB

2011-04-11 Thread Felix Radensky
t possible on such boards. The problem was fixed in board revision D. To use legacy interrupts one has to modify pci-e nodes in device tree and add "interrupt-map-mask" and "interrupt-map" properties. Do you agree with this analysis ? Felix. -Original Message- From: F

Re: Problem with mini-PCI-E slot on P2020RDB

2011-04-11 Thread Felix Radensky
Hi, On 04/12/2011 07:35 AM, Benjamin Herrenschmidt wrote: On Tue, 2011-04-12 at 04:05 +, Aggrwal Poonam-B10812 wrote: May be you can look at http://old.nabble.com/Problem-with-mini-PCI-E-slot-on-P2020RDB-td26802038.html Felix we do not have the atheros driver for 2.6.38 and the issue is

  1   2   >