aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2024-03-26 21:49:46 -0700
committerPalmer Dabbelt <palmer@rivosinc.com>2024-04-29 10:49:28 -0700
commit9546f00410ed88b8117388cfd74ea59f4616a158 (patch)
tree1c0d8fc79fd666a1caf2c7a501ffef7d16a6354d /drivers/usb/cdns3/cdns3-pci-wrap.c
parent038ac18aae935c89c874649acde5a82f588a12b4 (diff)
riscv: Only send remote fences when some other CPU is online
If no other CPU is online, a local cache or TLB flush is sufficient. These checks can be constant-folded when SMP is disabled. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20240327045035.368512-6-samuel.holland@sifive.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions