On Thu, Aug 28, 2008 at 10:11 AM, Frans Pop <elendil@xxxxxxxxx> wrote: > On Thursday 28 August 2008, saeed bishara wrote: >> can you try setting bit 0 of the 0xf108002c then run some io? > > Tried that using Grant's suggestion (thanks!), but setting the bit does > not seem to take: > > $ sudo mmio_rd f108002c 1 > 0x0000000000000000 > $ sudo mmio_wr f108002c 1 > 0000000000000000 -> 0000000000000001 > $ sudo mmio_rd f108002c 1 > 0x0000000000000000 > > Am I doing something wrong here? Dunno. Is this a 64-bit kjernel? I still have a patch outstanding against mmio_test fix to issues with 64-bit addressing from 32-bit user space. I've attached those (and cc'd Harald Welte) in case that's the problem. thanks, grant
Attachment:
diff-mmio_test-02
Description: Binary data