Skip to contentSkip to conversation

Add PCI device ID for IT8152 RISC-to-PCI chip

PATCH In review Raphael Assenat 3 participants 7 messages Feb 9, 2007 – Feb 13, 2007 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add PCI device ID for IT8152 RISC-to-PCI chip

This patch adds a PCI device ID (0x8152) for the IT8152F/G Advanced RISC-to-PCI Companion Chip.

Signature · 2 lines
Raphael Assenat
8D Technologies Inc.

This patch adds a PCI device ID for the IT8152F/G
Advanced RISC-to-PCI Companion Chip.

include/linux/pci_ids.h +1 -0
@@ -1626,6 +1626,7 @@
 #define PCI_VENDOR_ID_ROCKWELL		0x127A
 
 #define PCI_VENDOR_ID_ITE		0x1283
+#define PCI_DEVICE_ID_ITE_8152		0x8152
 #define PCI_DEVICE_ID_ITE_8211		0x8211
 #define PCI_DEVICE_ID_ITE_8212		0x8212
 #define PCI_DEVICE_ID_ITE_8872		0x8872
#1 lore raw
Quoted 15 lines · Raphael Assenat

This patch adds a PCI device ID (0x8152) for the IT8152F/G Advanced RISC-to-PCI Companion Chip.

Signature · 7 lines
Raphael Assenat
8D Technologies Inc.

This patch adds a PCI device ID for the IT8152F/G 
Advanced RISC-to-PCI Companion Chip.

Signed-off-by: Raphael Assenat <[email protected]>

include/linux/pci_ids.h line 1632

Quoted 7 lines
include/linux/pci_ids.h +1 -0
@@ -1626,6 +1626,7 @@
 #define PCI_VENDOR_ID_ROCKWELL		0x127A
 
 #define PCI_VENDOR_ID_ITE		0x1283
+#define PCI_DEVICE_ID_ITE_8152		0x8152
 #define PCI_DEVICE_ID_ITE_8211		0x8211
 #define PCI_DEVICE_ID_ITE_8212		0x8212
 #define PCI_DEVICE_ID_ITE_8872		0x8872

Oh that one. Anyone ever have a reliable PCI bus with one of these? The one system on a board I have worked with in the past had so many problems with the PCI bus that we have to switch to another board instead. Too bad since the ARM cpu was much faster and better and handling network traffic (we switched to a Geode SC1200 based board).

At the time my theory was that the cpu would interrupt DMA transfers when it wanted access to system memory, which would break the PCI transfers. But that was just my theory.

--
Len Sorensen

#2 lore raw
Quoted 32 lines · Lennart Sorensen
Quoted 15 lines · Raphael Assenat

This patch adds a PCI device ID (0x8152) for the IT8152F/G Advanced RISC-to-PCI Companion Chip.

Signature · 7 lines
Raphael Assenat
8D Technologies Inc.


This patch adds a PCI device ID for the IT8152F/G Advanced RISC-to-PCI Companion Chip.

Signed-off-by: Raphael Assenat <[email protected]>

include/linux/pci_ids.h line 1632

Quoted 7 lines
include/linux/pci_ids.h +1 -0
@@ -1626,6 +1626,7 @@
 #define PCI_VENDOR_ID_ROCKWELL		0x127A
 
 #define PCI_VENDOR_ID_ITE		0x1283
+#define PCI_DEVICE_ID_ITE_8152		0x8152
 #define PCI_DEVICE_ID_ITE_8211		0x8211
 #define PCI_DEVICE_ID_ITE_8212		0x8212
 #define PCI_DEVICE_ID_ITE_8872		0x8872

Oh that one. Anyone ever have a reliable PCI bus with one of these? The one system on a board I have worked with in the past had so many problems with the PCI bus that we have to switch to another board instead. Too bad since the ARM cpu was much faster and better and handling network traffic (we switched to a Geode SC1200 based board).

Quoted 3 lines

At the time my theory was that the cpu would interrupt DMA transfers when it wanted access to system memory, which would break the PCI transfers. But that was just my theory.

Really? I have no idea if it's possible to get a reliable PCI bus or
not with this chip. Right now, we only use it for it's built-in OHCI USB host controller and UART. You're making me hope I never have to use it for interfacing a PCI card!

Best regards,

Signature · 2 lines
Raphael Assenat
8D Technologies Inc.
#3 lore raw
Quoted 4 lines · Raphael Assenat

Really? I have no idea if it's possible to get a reliable PCI bus or not with this chip. Right now, we only use it for it's built-in OHCI USB host controller and UART. You're making me hope I never have to use it for interfacing a PCI card!

Well on the system on a board we were trying, using the development baseboard from the same supplier, by simply doing a ping flood through the onboard rtl8139 I managed to get corrupted ethernet packets fairly frequently. The WAN cards (T1/E1) we were trying to make work with it were much more upset by it. It could be bad enough corruption to cause the chip on the card and the driver to get out of sync and just have no idea what to do anymore. Given our mainboard works perfectly fine using a Geode SC1200 instead of the PXA255 board, I can only figure the PCI bus wasn't implemented correctly on that chip, unless PCI on arm is done wrong in linux (I sure hope not). There doesn't seem to be very many arm systems with PCI, so it's hard to tell. Now other than PCI the system was wonderful. Fast, reliable, ran great even at high temperatures, etc. Just couldn't get the stupid PCI bus to work.

--
Len Sorensen

#4 lore raw
Quoted 2 lines · Lennart Sorensen

There doesn't seem to be very many
arm systems with PCI, so it's hard to tell.

NetWinder, EBSA285 (which the NetWinder is a derivative of), the N2100, etc are PCI based and are all well proven in the field.

However, I have come across issues with what I suspect are buggy bridges - some southbridges require out of band cache control signalling and don't behave properly if you don't provide this (despite having modes to disable such signalling) and some PCMCIA bridges which don't like delayed read responses from host bridges.

That said, I've an EBSA285 with Promise UDMA, 3com NIC, S3 VGA and a plug-in southbridge card which has been running since about 1999 or so and the only real data corruption problem I've heard of was when a track on my Promise UDMA card was eaten by the sticky label resulting in silent corruption of writes to the disks.

(I did consider replacing the Promise UDMA card, but the IT821x card I bought to replace it didn't have all the pins on the chip soldered down - to the extent that even a PC couldn't recognise the PCI card. So I'm running on the assumption that the self-repaired Promise UDMA card is all round going to be more reliable than the as yet unproven IT821x card.)

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
#5 lore raw
Quoted 6 lines · Russell King
Quoted 2 lines · Lennart Sorensen

There doesn't seem to be very many
arm systems with PCI, so it's hard to tell.

NetWinder, EBSA285 (which the NetWinder is a derivative of), the N2100, etc are PCI based and are all well proven in the field.

Which PCI controller do they use?

Quoted 5 lines

However, I have come across issues with what I suspect are buggy bridges - some southbridges require out of band cache control signalling and don't behave properly if you don't provide this (despite having modes to disable such signalling) and some PCMCIA bridges which don't like delayed read responses from host bridges.

Well certainly on the cpu board we were trying out, it didn't work, whether it was a buggy PCI bridge, or a bad design I am not sure. I suspect the chip.

Quoted 5 lines

That said, I've an EBSA285 with Promise UDMA, 3com NIC, S3 VGA and a plug-in southbridge card which has been running since about 1999 or so and the only real data corruption problem I've heard of was when a track on my Promise UDMA card was eaten by the sticky label resulting in silent corruption of writes to the disks.

Ouch.

Quoted 6 lines

(I did consider replacing the Promise UDMA card, but the IT821x card I bought to replace it didn't have all the pins on the chip soldered down - to the extent that even a PC couldn't recognise the PCI card. So I'm running on the assumption that the self-repaired Promise UDMA card is all round going to be more reliable than the as yet unproven IT821x card.)

And they shipped a card in that state?

--
Len Sorensen

#6 lore raw
Quoted 9 lines · Lennart Sorensen
Quoted 6 lines · Russell King
Quoted 2 lines · Lennart Sorensen

There doesn't seem to be very many
arm systems with PCI, so it's hard to tell.

NetWinder, EBSA285 (which the NetWinder is a derivative of), the N2100, etc are PCI based and are all well proven in the field.

Which PCI controller do they use?

NetWinder and EBSA285 are DC21285 (footbridge). The N2100 is IOP32x based. As for gluing a PCI bridge to something not designed for PCI (eg, a PXA255) I can't comment.

Quoted 8 lines
Quoted 6 lines

(I did consider replacing the Promise UDMA card, but the IT821x card I bought to replace it didn't have all the pins on the chip soldered down - to the extent that even a PC couldn't recognise the PCI card. So I'm running on the assumption that the self-repaired Promise UDMA card is all round going to be more reliable than the as yet unproven IT821x card.)

And they shipped a card in that state?

Indeed. :(

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of: