diff options
author | Atish Patra <[email protected]> | 2022-07-22 09:50:46 -0700 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2022-08-11 14:36:55 -0700 |
commit | 9f7a8ff6391fd5363363b8e5c8b1462a07922368 (patch) | |
tree | 6ea3c4b80dbecb0de1071c630daafe6babc34090 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | 464b0187ff94fcc629fe7cd350e16a3b9e80ed9e (diff) |
RISC-V: Prefer sstc extension if available
RISC-V ISA has sstc extension which allows updating the next clock event
via a CSR (stimecmp) instead of an SBI call. This should happen dynamically
if sstc extension is available. Otherwise, it will fallback to SBI call
to maintain backward compatibility.
Reviewed-by: Anup Patel <[email protected]>
Signed-off-by: Atish Patra <[email protected]>
Reviewed-by: Guo Ren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions