[openfabrics-ewg] FW: Mstflint - not working on ppc64 andwhendriver is not loaded on AMD

Michael S. Tsirkin mst at mellanox.co.il
Thu Sep 28 07:17:15 PDT 2006


Quoting r. Moshe Kazir <moshek at voltaire.com>:
> Subject: RE: FW: Mstflint - not working on ppc64 andwhendriver is not loaded on AMD
> 
> Michael,
> 
> Frank found the cause to the problem in the implementation of
> arch/ppc/kernel/pci.c , 
> and asked the IBM kernel group to send a bug fix to the Linux kernel
> group.
> 
> The problem is :
> 
> 1. This bug fix will not enter SLES10 as it is closed.
> 2. It also will not enter SLES9 :-) or Redhate as4 u4 .
> 
> So we need a bug fix that will enable the use of mstflint on js21 PPC64
> + backport to old systems  .

OK, cool, but could I see this discussion/patch please, to understand the
solution?
Just googling for Frank's name only gets me something related to SIOCGIFCONF
ioctl.

> Franks fix is based on two points (if I understand the code with no
> errors) -
> 
> 1. It opens /proc/bus/pci... And not /sys/bus/pci/...
> 2. It perform an ictl(fd, PCIIOC_MMAP_IS_MEM) ;
> 
> Frank - am I write ?
> 
> Can we enter these two small changes to the mstflint to have it working
> on the PPC64 js21 ?

Oh, I was under impression that we were falling back on pread/pwrite from /proc,
which is not safe without locking.

-- 
MST




More information about the ewg mailing list