mbox series

[GIT,PULL] RISC-V Fixes for 5.9

Message ID mhng-c32d6fbf-32dd-45ed-90f1-ffbb7e455aaa@palmerdabbelt-glaptop1 (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] RISC-V Fixes for 5.9 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.9-rc8

Message

Palmer Dabbelt Oct. 2, 2020, 4:07 p.m. UTC
The following changes since commit a1b8638ba1320e6684aa98233c15255eb803fac7:

  Linux 5.9-rc7 (2020-09-27 14:38:10 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.9-rc8

for you to fetch changes up to aa9887608e77b835d51f05a54940380391cd4e21:

  RISC-V: Check clint_time_val before use (2020-09-30 11:05:14 -0700)

----------------------------------------------------------------
RISC-V Fixes for 5.9

I have two fixes for this week:

* The addition of a symbol export for clint_time_val, which has been inlined
  into some timex functions and can be used by drivers.
* A fix to avoid calling get_cycles() before the timers have been probed.

These both only effect !MMU systems.

----------------------------------------------------------------
Anup Patel (1):
      RISC-V: Check clint_time_val before use

Palmer Dabbelt (1):
      clocksource: clint: Export clint_time_val for modules

 arch/riscv/include/asm/stackprotector.h |  4 ----
 arch/riscv/include/asm/timex.h          | 13 +++++++++++++
 drivers/clocksource/timer-clint.c       |  1 +
 3 files changed, 14 insertions(+), 4 deletions(-)

Comments

pr-tracker-bot@kernel.org Oct. 2, 2020, 5:15 p.m. UTC | #1
The pull request you sent on Fri, 02 Oct 2020 09:07:27 -0700 (PDT):

> git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.9-rc8

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

Thank you!
Christoph Hellwig Oct. 5, 2020, 7:16 a.m. UTC | #2
On Fri, Oct 02, 2020 at 09:07:27AM -0700, Palmer Dabbelt wrote:
> * The addition of a symbol export for clint_time_val, which has been inlined
>   into some timex functions and can be used by drivers.

Err, haven't we just agreed on that this is a bad idea and jitterentropy
should not call get_cycles()?
Palmer Dabbelt Oct. 5, 2020, 3:50 p.m. UTC | #3
On Mon, 05 Oct 2020 00:16:32 PDT (-0700), Christoph Hellwig wrote:
> On Fri, Oct 02, 2020 at 09:07:27AM -0700, Palmer Dabbelt wrote:
>> * The addition of a symbol export for clint_time_val, which has been inlined
>>   into some timex functions and can be used by drivers.
>
> Err, haven't we just agreed on that this is a bad idea and jitterentropy
> should not call get_cycles()?

Sorry, I hadn't seen that when I'd posted the PR.  It looks like there's a
jitterentropy fix in the works, I'll drop the export when that lands.  Probably
best to talk on that thread, though, as there's more context over there.