• J
    xhci: Use more event ring segment table entries · 8f2c6b7c
    Jonathan Bell 提交于
    raspberrypi inclusion
    category: feature
    bugzilla: 50432
    
    --------------------------------
    
    Users have reported log spam created by "Event Ring Full" xHC event
    TRBs. These are caused by interrupt latency in conjunction with a very
    busy set of devices on the bus. The errors are benign, but throughput
    will suffer as the xHC will pause processing of transfers until the
    event ring is drained by the kernel. Expand the number of event TRB slots
    available by increasing the number of event ring segments in the ERST.
    
    Controllers have a hardware-defined limit as to the number of ERST
    entries they can process, so make the actual number in use
    min(ERST_MAX_SEGS, hw_max).
    Signed-off-by: NJonathan Bell <jonathan@raspberrypi.org>
    Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
    Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
    8f2c6b7c
xhci-mem.c 75.7 KB