Re: [PATCH] riscv: Add runtime constant support
From: Charlie Jenkins
Date: Mon Jan 27 2025 - 13:47:32 EST
On Mon, Jan 27, 2025 at 08:51:04AM +0000, Ben Dooks wrote:
> On 27/01/2025 08:18, Charlie Jenkins wrote:
> > Implement the runtime constant infrastructure for riscv. Use this
> > infrastructure to generate constants to be used by the d_hash()
> > function.
> >
> > This is the riscv variant of commit 94a2bc0f611c ("arm64: add 'runtime
> > constant' support") and commit e3c92e81711d ("runtime constants: add
> > x86 architecture support").
> >
> > Signed-off-by: Charlie Jenkins <charlie@xxxxxxxxxxxx>
>
> I think my only comment on this is we should treat instructions as
> __le32 type and add the proper conversions when maniuplating them.
Fair enough, I will make the proper adjustements.
- Charlie
>
> --
> Ben Dooks http://www.codethink.co.uk/
> Senior Engineer Codethink - Providing Genius
>
> https://www.codethink.co.uk/privacy.html