mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] RISC-V updates for v6.19-rc7
@ 2026-01-24 23:21 Paul Walmsley
  2026-01-25  3:00 ` pr-tracker-bot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paul Walmsley @ 2026-01-24 23:21 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-riscv

Linus,

Please pull these RISC-V fixes for v6.19-rc7.  

The notable changes here are the three RISC-V timer compare register 
update sequence patches.  These only apply to RV32 systems and are related 
to the 64-bit timer compare value being split across two separate 32-bit 
registers.  We weren't using the appropriate three-write sequence, 
documented in the RISC-V ISA specifications, to avoid spurious timer 
interrupts during the update sequence; so, these patches now use the 
recommended sequence.  This doesn't affect 64-bit RISC-V systems, since 
the timer compare value fits inside a single register and can be updated 
with a single write.

thanks,

- Paul


The following changes since commit 0f61b1860cc3f52aef9036d7235ed1f017632193:

  Linux 6.19-rc5 (2026-01-11 17:03:14 -1000)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linus-6.19-rc7

for you to fetch changes up to 841e47d56cef9b96fd2314220e3d0f1d92c719f4:

  riscv: Add intermediate cast to 'unsigned long' in __get_user_asm (2026-01-22 20:21:14 -0700)

----------------------------------------------------------------
RISC-V updates for v6.19-rc7

- Fix the RISC-V timer compare register update sequence on RV32
  systems to use the recommended sequence in the RISC-V ISA manual.
  This avoids spurious interrupts during updates

- Add a dependence on the new CONFIG_CACHEMAINT_FOR_DMA Kconfig symbol
  for Renesas and StarFive RISC-V SoCs

- Add a temporary workaround for a Clang compiler bug caused by using
  asm_goto_output for get_user()

- Clarify our documentation around to specifically state a particular
  ISA specification version for a chapter number reference

----------------------------------------------------------------
Guodong Xu (1):
      Documentation: riscv: uabi: Clarify ISA spec version for canonical order

Jonathan Cameron (2):
      riscv: ERRATA_STARFIVE_JH7100: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA
      soc: renesas: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA

Naohiko Shimizu (3):
      riscv: clocksource: Fix stimecmp update hazard on RV32
      riscv: kvm: Fix vstimecmp update hazard on RV32
      riscv: suspend: Fix stimecmp update hazard on RV32

Nathan Chancellor (2):
      riscv: Use 64-bit variable for output in __get_user_asm
      riscv: Add intermediate cast to 'unsigned long' in __get_user_asm

 Documentation/arch/riscv/uabi.rst |  4 +++-
 arch/riscv/Kconfig.errata         |  1 +
 arch/riscv/include/asm/uaccess.h  | 14 ++++++++++++--
 arch/riscv/kernel/suspend.c       |  3 ++-
 arch/riscv/kvm/vcpu_timer.c       |  6 ++++--
 drivers/clocksource/timer-riscv.c |  3 ++-
 drivers/soc/renesas/Kconfig       |  1 +
 7 files changed, 25 insertions(+), 7 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] RISC-V updates for v6.19-rc7
  2026-01-24 23:21 [GIT PULL] RISC-V updates for v6.19-rc7 Paul Walmsley
@ 2026-01-25  3:00 ` pr-tracker-bot
  2026-01-26  4:21 ` patchwork-bot+linux-riscv
  2026-01-26  4:24 ` patchwork-bot+linux-riscv
  2 siblings, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2026-01-25  3:00 UTC (permalink / raw)
  To: Paul Walmsley; +Cc: torvalds, linux-kernel, linux-riscv

The pull request you sent on Sat, 24 Jan 2026 16:21:29 -0700 (MST):

> git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linus-6.19-rc7

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d91a46d6805af41e7f2286e0fc22d498f45a682b

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] RISC-V updates for v6.19-rc7
  2026-01-24 23:21 [GIT PULL] RISC-V updates for v6.19-rc7 Paul Walmsley
  2026-01-25  3:00 ` pr-tracker-bot
@ 2026-01-26  4:21 ` patchwork-bot+linux-riscv
  2026-01-26  4:24 ` patchwork-bot+linux-riscv
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+linux-riscv @ 2026-01-26  4:21 UTC (permalink / raw)
  To: Paul Walmsley; +Cc: linux-riscv, torvalds, linux-kernel

Hello:

This pull request was applied to riscv/linux.git (fixes)
by Linus Torvalds <torvalds@linux-foundation.org>:

On Sat, 24 Jan 2026 16:21:29 -0700 (MST) you wrote:
> Linus,
> 
> Please pull these RISC-V fixes for v6.19-rc7.
> 
> The notable changes here are the three RISC-V timer compare register
> update sequence patches.  These only apply to RV32 systems and are related
> to the 64-bit timer compare value being split across two separate 32-bit
> registers.  We weren't using the appropriate three-write sequence,
> documented in the RISC-V ISA specifications, to avoid spurious timer
> interrupts during the update sequence; so, these patches now use the
> recommended sequence.  This doesn't affect 64-bit RISC-V systems, since
> the timer compare value fits inside a single register and can be updated
> with a single write.
> 
> [...]

Here is the summary with links:
  - [GIT,PULL] RISC-V updates for v6.19-rc7
    https://git.kernel.org/riscv/c/d91a46d6805a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] RISC-V updates for v6.19-rc7
  2026-01-24 23:21 [GIT PULL] RISC-V updates for v6.19-rc7 Paul Walmsley
  2026-01-25  3:00 ` pr-tracker-bot
  2026-01-26  4:21 ` patchwork-bot+linux-riscv
@ 2026-01-26  4:24 ` patchwork-bot+linux-riscv
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+linux-riscv @ 2026-01-26  4:24 UTC (permalink / raw)
  To: Paul Walmsley; +Cc: linux-riscv, torvalds, linux-kernel

Hello:

This pull request was applied to riscv/linux.git (for-next)
by Linus Torvalds <torvalds@linux-foundation.org>:

On Sat, 24 Jan 2026 16:21:29 -0700 (MST) you wrote:
> Linus,
> 
> Please pull these RISC-V fixes for v6.19-rc7.
> 
> The notable changes here are the three RISC-V timer compare register
> update sequence patches.  These only apply to RV32 systems and are related
> to the 64-bit timer compare value being split across two separate 32-bit
> registers.  We weren't using the appropriate three-write sequence,
> documented in the RISC-V ISA specifications, to avoid spurious timer
> interrupts during the update sequence; so, these patches now use the
> recommended sequence.  This doesn't affect 64-bit RISC-V systems, since
> the timer compare value fits inside a single register and can be updated
> with a single write.
> 
> [...]

Here is the summary with links:
  - [GIT,PULL] RISC-V updates for v6.19-rc7
    https://git.kernel.org/riscv/c/d91a46d6805a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-26  4:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-24 23:21 [GIT PULL] RISC-V updates for v6.19-rc7 Paul Walmsley
2026-01-25  3:00 ` pr-tracker-bot
2026-01-26  4:21 ` patchwork-bot+linux-riscv
2026-01-26  4:24 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome