Re: [RESEND PATCH 1/4] usb: dbc: early driver for xhci debug capability

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

 



On Mon, 2016-08-29 at 13:26 +0800, Lu Baolu wrote:
> +       /*
> +        * Memory barrier to ensure hardware sees the trbs
> +        * enqueued above.
> +        */
> +       wmb();
> +       if (cycle)
> +               trb->field[3] |= cpu_to_le32(cycle);
> +       else
> +               trb->field[3] &= cpu_to_le32(~TRB_CYCLE);

And this manipulation you don't need the hardware to see?

	Regards
		Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux