NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/50038: udl (DisplayLink GX-DVI_U2B) alignment fault on earmv6hf NETWALKER



>>   In these functions, (curcpu()->ci_ctrl & CPU_CONTROL_AFLT_ENABLE) is zero.

> We should be running with SCTLR.A =0 and SCTLR.U = 1, i.e.
> CPU_CONTROL_AFLT_ENABLE unset and CPU_CONTROL_UNAL_ENABLE set, but
> I think the usb transfer buffer is being marked as device/strongly ordered memory and
> we get an unaligned access fault because of this.

be32enc(sc->sc_cmd_buf, val) -- sc_cmd_buf is allocated in
usbdi.c:414 usbd_alloc_buffer() using kmem_alloc()..

-mochid



Home | Main Index | Thread Index | Old Index