[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adatzvnoo7g.fsf@cisco.com>
Date: Tue, 10 Apr 2007 15:32:19 -0700
From: Roland Dreier <rdreier@...co.com>
To: "Bryan O'Sullivan" <bos@...hscale.com>
Cc: general@...ts.openfabrics.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 14 of 33] IB/ipath - fix port sharing on powerpc
I applied this, but I still think there's some more work to do in this
area:
> The port sharing feature mixed kernel virtual addresses as well as
> physical addresses for the offset used to describe the mmap address to map
> the InfiniPath hardware into user space. This had a conflict on powerpc.
> The new scheme converts it to a physical address so it doesn't conflict
> with chip addresses and yet still fits in 40/44 bits so it isn't truncated
> by 32-bit applications calling mmap64().
there's no guarantee that a physical address fits in 40 or 44 or 63
bits on a 64 bit platform. So you've fixed this problem on the
platforms you test for now, but it could easily crop up again...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists