aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLukas Wunner <[email protected]>2023-09-15 17:31:08 +0300
committerGreg Kroah-Hartman <[email protected]>2023-10-02 16:33:46 +0200
commitcf97c5e0f7dda2edc15ecd96775fe6c355823784 (patch)
tree5371d690bbed6b283e4268ea32b6fdade845640a /include/linux
parent15f3ef070933817fac2bcbdb9c85bff9e54e9f80 (diff)
xhci: Preserve RsvdP bits in ERSTBA register correctly
xhci_add_interrupter() erroneously preserves only the lowest 4 bits when writing the ERSTBA register, not the lowest 6 bits. Fix it. Migrate the ERST_BASE_RSVDP macro to the modern GENMASK_ULL() syntax to avoid a u64 cast. This was previously fixed by commit 8c1cbec9db1a ("xhci: fix event ring segment table related masks and variables in header"), but immediately undone by commit b17a57f89f69 ("xhci: Refactor interrupter code for initial multi interrupter support."). Fixes: b17a57f89f69 ("xhci: Refactor interrupter code for initial multi interrupter support.") Signed-off-by: Lukas Wunner <[email protected]> Cc: [email protected] # v6.3+ Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions