Re: Strange transmit corruption in jsm driver on geode sc1200 system



On Fri, Aug 25, 2006 at 10:20:17PM +0100, Alan Cox wrote:
That should be staying in order unless the device memory is mislabelled
and prefetchable etc.

Hmm, no according to lspci the memory is labeled non-prefetachble, and
the pci bridge agrees with that setting too.

What happens if you swap the memcpy_toio with while() writeb() ?

I tried changing it to a for loop that calles memcpy_toio with one byte
at a time, and it works fine that way (although probably less
efficient). I expect the writeb one at a time will work too.

They do a lot of stuff but it should not affect the PCI side and I'd
expect it to do other things than byte lane re-ordering.

Yeah no kidding.

Is the buffer 32bit aligned ?

I honestly don't know. I am just trying to figure out why the jsm
driver isn't working on this system while it works on other types of
hardware, and so far it seems to come down to the __memcpy assembly not
being happy on the SC1200 doing more than one byte at a time. it is
very consistently making the same mistake all the time.

--
Len Sorensen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: The need to call MmProbeAndLockPages
    ... > contiguous memory. ... The driver is a driver for a PCI bridge chip to ... > map the memories of a system and a subsystem across the PCI Bridge. ...
    (microsoft.public.development.device.drivers)
  • [PATCH linux-2.6 00/03] i386_and_x86_64: implement dma_broken_dac() test
    ... 82541 gigabit controller in one of its PCI slot but it malfunctioned. ... As the last 1gig of memory lived above 4G barrier, ... I believe the problem is with the PCI bridge on the chipset as the ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Unhiding devices in pci bus
    ... and the JMicron SD Card reader is hidden from sysfs ... it only shows if I do an lspci -H1: ... 00:1c.0 PCI bridge: Intel Corporation 82801G PCI Express Port 1 ...
    (Linux-Kernel)
  • Unhiding devices in pci bus
    ... and the JMicron SD Card reader is hidden from sysfs ... it only shows if I do an lspci -H1: ... 00:1c.0 PCI bridge: Intel Corporation 82801G PCI Express Port 1 ... 04:00.2 SD Host controller: JMicron Technologies, ...
    (Linux-Kernel)
  • Re: Kubutu on Hasee225R Laptop - WLAN Problem
    ... 00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge ... Betreff: Re: Kubutu on Hasee225R Laptop - WLAN Problem ... Can you see it with lspci? ...
    (Ubuntu)

Loading