On Tue, 10 Sep 2024, Jiaxun Yang wrote:
> >> We have no good way to tell ISA reversion prior to R1 just from Kconfig
> >> TARGET_ISA_REV,
> >> valid numbers for TARGET_ISA_REV are only 1, 2, 5, 6 from Kconfig.
> >
> > This approach doesn't work for some MIPS architecture processor configs
> > a
在2024年9月10日九月 下午5:03,Maciej W. Rozycki写道:
> On Mon, 9 Sep 2024, Jiaxun Yang wrote:
>
>> > What's the consequence of using `mips2' rather than `mips1' here? How
>> > about other ISA revisions, e.g. `mips4' (that also applies to the 64BIT
>> > leg)?
>>
>> LLVM's mips1 backend is a little bit
On Mon, 9 Sep 2024, Jiaxun Yang wrote:
> >> diff --git a/scripts/generate_rust_target.rs
> >> b/scripts/generate_rust_target.rs
> >> index 863720777313..bbdf8a4dd169 100644
> >> --- a/scripts/generate_rust_target.rs
> >> +++ b/scripts/generate_rust_target.rs
> > [...]
> >> +} else {
> >>
On Thu, 05 Sep 2024 14:33:07 +0100
Jiaxun Yang wrote:
> Enable rust for linux by implement generate_rust_target.rs
> and select relevant Kconfig options.
>
> We don't use builtin target as there is no sutiable baremetal
> target for us that can cover all ISA variants supported by kernel.
>
> Li
在2024年9月8日九月 下午9:43,Maciej W. Rozycki写道:
> On Thu, 5 Sep 2024, Jiaxun Yang wrote:
>
>> diff --git a/scripts/generate_rust_target.rs
>> b/scripts/generate_rust_target.rs
>> index 863720777313..bbdf8a4dd169 100644
>> --- a/scripts/generate_rust_target.rs
>> +++ b/scripts/generate_rust_target.rs
>
On Thu, 5 Sep 2024, Jiaxun Yang wrote:
> diff --git a/scripts/generate_rust_target.rs b/scripts/generate_rust_target.rs
> index 863720777313..bbdf8a4dd169 100644
> --- a/scripts/generate_rust_target.rs
> +++ b/scripts/generate_rust_target.rs
[...]
> +} else {
> +ts.push("arch",
Enable rust for linux by implement generate_rust_target.rs
and select relevant Kconfig options.
We don't use builtin target as there is no sutiable baremetal
target for us that can cover all ISA variants supported by kernel.
Link: https://github.com/Rust-for-Linux/linux/issues/107
Signed-off-by: