Source-Changes archive

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

CVS commit: src/sys/dev/usb



Module Name:    src
Committed By:   skrll
Date:           Mon Sep 23 10:07:27 UTC 2024

Modified Files:
        src/sys/dev/usb: ehci.c ehcireg.h ehcivar.h

Log Message:
Allocate a whole cacheline for all the descriptor types used by ehci so
that

 i) they can be alloc'ed without USBMALLOC_COHERENT which can mean they're
     now mapped cacheable, and
ii) the "soft" versions are cacheable, and mapped as small as possible.

A quick test of

    dd if=/dev/rsd0 of=/dev/null bs=1m count=1024

improved by approximagely 10% on a Banana PI.


To generate a diff of this commit:
cvs rdiff -u -r1.325 -r1.326 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.40 -r1.41 src/sys/dev/usb/ehcireg.h
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/usb/ehcivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index