public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Pecio <michal.pecio@gmail.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Brent Page <brentfpage@gmail.com>, linux-usb@vger.kernel.org
Subject: Re: TT budgeting for EHCI; accommodate 1023-byte full-speed isochronous–in endpoints
Date: Wed, 29 Apr 2026 13:58:28 +0200	[thread overview]
Message-ID: <20260429135828.3e7f0675.michal.pecio@gmail.com> (raw)
In-Reply-To: <20260429113604.2204b646.michal.pecio@gmail.com>

On Wed, 29 Apr 2026 11:36:04 +0200, Michal Pecio wrote:
> The host must schedule SSPLITs assuming no bit-stuffing to prevent TT
> buffer underrun on long OUT packets. Assuming minimum/no packet headers
> further minimizes downstream idle. TTs are required to buffer this.
> 
> (BTW, periodic transfers should occur before async. Could the TT run
> out of periodic, do async, then get an unexpected periodic transaction
> in the next uframe? What happens?)
> 
> Including packet headers for SSPLIT scheduling seems harmless unless
> overestimated, but apparently it's not required. TTs must cope.

Or maybe not, because 11.18.2 states that "budgeting" includes packet
overhead and think time. And TT must handle gaps in periodic schedule
due to short transfers and deal with not knowing whether there will be
periodic transfers in the next uframe till the last moment.

  reply	other threads:[~2026-04-29 11:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-28  1:24 TT budgeting for EHCI; accommodate 1023-byte full-speed isochronous–in endpoints Brent Page
2026-04-28 21:19 ` Alan Stern
2026-04-29  9:36   ` Michal Pecio
2026-04-29 11:58     ` Michal Pecio [this message]
2026-04-29 17:56     ` Alan Stern
2026-04-29 19:24       ` Michal Pecio
2026-04-29 19:32         ` Alan Stern
2026-04-29 19:52           ` Brent Page
2026-04-30  2:27             ` Alan Stern
2026-04-30  6:46               ` Brent Page
2026-04-29 20:04           ` Michal Pecio
2026-04-30  1:47             ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260429135828.3e7f0675.michal.pecio@gmail.com \
    --to=michal.pecio@gmail.com \
    --cc=brentfpage@gmail.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox