aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2023-07-10 18:49:01 +0530
committerPalmer Dabbelt <palmer@rivosinc.com>2023-10-31 19:15:48 -0700
commit5d98446f03c622cb917e15a5561601587c64aab2 (patch)
tree2fe485cdec9a3858c756d7fa704749342a993b64 /drivers/mtd/lpddr/lpddr_cmds.c
parenta9429d5f99bc25885ba5d4c2c58a25467f5d741b (diff)
clocksource: timer-riscv: Don't enable/disable timer interrupt
Currently, we enable/disable timer interrupt at runtime to start/stop timer events. This makes timer interrupt state go out-of-sync with the Linux interrupt subsystem. To address the above issue, we can stop a per-HART timer interrupt by setting U64_MAX in timecmp CSR (or sbi_set_timer()) at the time of handling timer interrupt. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Link: https://lore.kernel.org/r/20230710131902.1459180-2-apatel@ventanamicro.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions