[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb
Subject:    Re: [RESEND PATCH 1/4] usb: dbc: early driver for xhci debug capability
From:       Oliver Neukum <oneukum () suse ! com>
Date:       2016-08-31 9:53:55
Message-ID: 1472637235.1943.4.camel () suse ! com
[Download RAW message or body]

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic