aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNiklas Neronin <niklas.neronin@linux.intel.com>2025-03-06 16:49:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-06 16:46:16 +0100
commit68c1f1671650b49bbd26e6a65ddcf33f2565efa3 (patch)
treeef398a94f38fd735bb358217804e0502728d9548 /tools/perf/scripts/python/export-to-postgresql.py
parentusb: xhci: correct debug message page size calculation (diff)
downloadlinux-rng-68c1f1671650b49bbd26e6a65ddcf33f2565efa3.tar.xz
linux-rng-68c1f1671650b49bbd26e6a65ddcf33f2565efa3.zip
usb: xhci: set page size to the xHCI-supported size
The current xHCI driver does not validate whether a page size of 4096 bytes is supported. Address the issue by setting the page size to the value supported by the xHCI controller, as read from the Page Size register. In the event of an unexpected value; default to a 4K page size. Additionally, this commit removes unnecessary debug messages and instead prints the supported and used page size once. The xHCI controller supports page sizes of (2^{(n+12)}) bytes, where 'n' is the Page Size Bit. Only one page size is supported, with a maximum page size of 128 KB. Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20250306144954.3507700-10-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions