Skip to contentSkip to conversation

CPUs with EVA support

DISCUSSION Thomas Bogendoerfer 5 participants 11 messages Dec 20, 2020 – Dec 28, 2020 MIPS

lore
Share & tools
lore

Thomas Bogendoerfer

author maintainer
#0 lore raw

Hi;

I've started looking how to get rid of get_fs/set_fs for MIPS and my current obstacle is EVA support.

Looking for CPUs supporting EVA I only found P5600, are there more ?

Does someone sell boards with an EVA enabled CPU ?

How good is EVA support in qemu ?

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
#1 lore raw
Quoted 6 lines · Thomas Bogendoerfer

Hi;

I've started looking how to get rid of get_fs/set_fs for MIPS and my current obstacle is EVA support.

Looking for CPUs supporting EVA I only found P5600, are there more ?

Hi Thomas,

It is a optional feature for M14k but nobody enabled it :-(

Quoted 2 lines

Does someone sell boards with an EVA enabled CPU ?

Baikal-T1 supports EVA.

Quoted 2 lines

How good is EVA support in qemu ?

EVA is functional in QEMU.
I had tested it with P5600 malta system.

- Jiaxun

Quoted 3 lines

Thomas.

#2 lore raw

Hello Thomas, Jiaxun

Quoted 8 lines · Jiaxun Yang
Quoted 6 lines · Thomas Bogendoerfer

Hi;

I've started looking how to get rid of get_fs/set_fs for MIPS and my current obstacle is EVA support.

Looking for CPUs supporting EVA I only found P5600, are there more ?

Quoted 8 lines

Hi Thomas,

It is a optional feature for M14k but nobody enabled it :-(

Quoted 2 lines

Does someone sell boards with an EVA enabled CPU ?

Baikal-T1 supports EVA.

Yeap, Baikal-T1 SoC does support EVA since based on P5600 does. Moreover the feature is enabled in my CSP code by default, but the segments mapping is initialized to fully match the legacy MIPS address space layout.

Regarding the boards with Baikal-T1 to purchase. It's available and demonstrated on the company site:
https://www.baikalelectronics.com/products/339/

Currently a single retailer selling the item is Russian-based:
https://www.chipdip.ru/product/bfk3.1?from=suggest_product
(Alas the site doesn't have an English version, so please use the Goog-xlate.)
If for some reason you still won't be able to purchase it from there please send me an email directly.

(Today I've got a suspicious message on my corporate inbox from a guy
- Yunqiang Su with email domain @cipunited.com, who stated that CIP United wants to purchase one or more of them for you and requested to give them the company sells contacts. I didn't response, because the message structure looked more like a spam, than an official request. It was also strange not to see you in CC.)

Regarding the Baikal-T1 boards being finally supported in the kernel. I am still working on it. There are several more SoC-device drivers to fix and I'll be ready to submit the CSP/BSP code to the MIPS arch subsystem.

-Sergey

Quoted 13 lines
Quoted 3 lines

How good is EVA support in qemu ?

EVA is functional in QEMU.
I had tested it with P5600 malta system.

- Jiaxun

Quoted 3 lines

Thomas.

#3 lore raw
Quoted 3 lines · Serge Semin

Hello Thomas, Jiaxun

On Mon, Dec 21, 2020 at 08:38:00AM +0800, Jiaxun Yang wrote:

[...]

Quoted 6 lines

(Today I've got a suspicious message on my corporate inbox from a guy
- Yunqiang Su with email domain @cipunited.com, who stated that CIP United wants to purchase one or more of them for you and requested to give them the company sells contacts. I didn't response, because the message structure looked more like a spam, than an official request. It was also strange not to see you in CC.)

+ Yunqiang's Debian mailbox

Yunqiang is well-known as Debian-MIPS maintainer, I just informed him a kernel developer is looking for EVA enabled hardware.

Probably something went wrong with his company email?

CIP United is running all MIPS business in China[1].

Thanks.

[1]: https://www.electronicsweekly.com/news/business/mips-lands-china-2020-08/

- Jiaxun

Quoted 16 lines

Regarding the Baikal-T1 boards being finally supported in the kernel. I am still working on it. There are several more SoC-device drivers to fix and I'll be ready to submit the CSP/BSP code to the MIPS arch subsystem.

-Sergey

Quoted 8 lines
Quoted 1 line

How good is EVA support in qemu ?

EVA is functional in QEMU.
I had tested it with P5600 malta system.

- Jiaxun

Quoted 2 lines

Thomas.

#4 lore raw
In reply to Serge Semin
Quoted 37 lines · Serge Semin <[email protected]> 于2020年12月21日周一 下午3:05写道:

Hello Thomas, Jiaxun

Quoted 8 lines · Jiaxun Yang
Quoted 6 lines · Thomas Bogendoerfer

Hi;

I've started looking how to get rid of get_fs/set_fs for MIPS and my current obstacle is EVA support.

Looking for CPUs supporting EVA I only found P5600, are there more ?

Quoted 8 lines

Hi Thomas,

It is a optional feature for M14k but nobody enabled it :-(

Quoted 2 lines

Does someone sell boards with an EVA enabled CPU ?

Baikal-T1 supports EVA.

Yeap, Baikal-T1 SoC does support EVA since based on P5600 does. Moreover the feature is enabled in my CSP code by default, but the segments mapping is initialized to fully match the legacy MIPS address space layout.

Regarding the boards with Baikal-T1 to purchase. It's available and demonstrated on the company site:
https://www.baikalelectronics.com/products/339/

Currently a single retailer selling the item is Russian-based:
https://www.chipdip.ru/product/bfk3.1?from=suggest_product
(Alas the site doesn't have an English version, so please use the Goog-xlate.)
If for some reason you still won't be able to purchase it from there please send me an email directly.

Quoted 2 lines

(Today I've got a suspicious message on my corporate inbox from a guy
- Yunqiang Su with email domain @cipunited.com, who stated that CIP

Yes. It is me.
CIP is holding the business of MIPS in China (including HK, Macao). And now I have a budget for MIPS eco-system: for team and devices.

Quoted 25 lines

United wants to purchase one or more of them for you and requested to give them the company sells contacts. I didn't response, because the message structure looked more like a spam, than an official request. It was also strange not to see you in CC.)

Regarding the Baikal-T1 boards being finally supported in the kernel. I am still working on it. There are several more SoC-device drivers to fix and I'll be ready to submit the CSP/BSP code to the MIPS arch subsystem.

-Sergey

Quoted 13 lines
Quoted 3 lines

How good is EVA support in qemu ?

EVA is functional in QEMU.
I had tested it with P5600 malta system.

- Jiaxun

Quoted 3 lines

Thomas.

Signature · 1 line
YunQiang Su
#5 lore raw

Hello YunQiang,

Quoted 38 lines · YunQiang Su
Quoted 37 lines · Serge Semin <[email protected]> 于2020年12月21日周一 下午3:05写道:

Hello Thomas, Jiaxun

Quoted 8 lines · Jiaxun Yang
Quoted 6 lines · Thomas Bogendoerfer

Hi;

I've started looking how to get rid of get_fs/set_fs for MIPS and my current obstacle is EVA support.

Looking for CPUs supporting EVA I only found P5600, are there more ?

Quoted 8 lines

Hi Thomas,

It is a optional feature for M14k but nobody enabled it :-(

Quoted 2 lines

Does someone sell boards with an EVA enabled CPU ?

Baikal-T1 supports EVA.

Yeap, Baikal-T1 SoC does support EVA since based on P5600 does. Moreover the feature is enabled in my CSP code by default, but the segments mapping is initialized to fully match the legacy MIPS address space layout.

Regarding the boards with Baikal-T1 to purchase. It's available and demonstrated on the company site:
https://www.baikalelectronics.com/products/339/

Currently a single retailer selling the item is Russian-based:
https://www.chipdip.ru/product/bfk3.1?from=suggest_product
(Alas the site doesn't have an English version, so please use the Goog-xlate.)
If for some reason you still won't be able to purchase it from there please send me an email directly.

Quoted 7 lines
Quoted 2 lines

(Today I've got a suspicious message on my corporate inbox from a guy
- Yunqiang Su with email domain @cipunited.com, who stated that CIP

Yes. It is me.
CIP is holding the business of MIPS in China (including HK, Macao). And now I have a budget for MIPS eco-system: for team and devices.

Oh, sorry for being suspicious. Then I'll give you an answer to the question here. First you can try to purchase the boards on the site:
https://www.chipdip.ru/product/bfk3.1?from=suggest_product

If for some reason you won't be able to do that, please reach me one more time and we'll try to figure out what to do then.

(I've added my managers in CC so they would be aware of the issue.)

-Sergey

Quoted 31 lines
Quoted 26 lines

United wants to purchase one or more of them for you and requested to give them the company sells contacts. I didn't response, because the message structure looked more like a spam, than an official request. It was also strange not to see you in CC.)

Regarding the Baikal-T1 boards being finally supported in the kernel. I am still working on it. There are several more SoC-device drivers to fix and I'll be ready to submit the CSP/BSP code to the MIPS arch subsystem.

-Sergey

Quoted 13 lines
Quoted 3 lines

How good is EVA support in qemu ?

EVA is functional in QEMU.
I had tested it with P5600 malta system.

- Jiaxun

Quoted 3 lines

Thomas.

Signature · 1 line
YunQiang Su
#9 lore raw
In reply to Thomas Bogendoerfer
Quoted 5 lines · Thomas Bogendoerfer

Hi;

I've started looking how to get rid of get_fs/set_fs for MIPS and my current obstacle is EVA support.

Quoted 8 lines

Looking for CPUs supporting EVA I only found P5600, are there more ?

Does someone sell boards with an EVA enabled CPU ?

How good is EVA support in qemu ?

Thomas.

Hi,

The InterAptiv CPUs used by Lantiq/Intel/MaxLinear are supporting EVA mode and it is used in the default settings of the vendor SDK.

The SoCs are not supported by mainline Linux kernel, it was tried to add them some years ago:
https://lwn.net/Articles/761729/
https://lwn.net/ml/linux-kernel/[email protected]/

Hauke

author maintainer
#10 lore raw
Quoted 10 lines · Hauke Mehrtens
Quoted 9 lines · Thomas Bogendoerfer

Hi;

I've started looking how to get rid of get_fs/set_fs for MIPS and my current obstacle is EVA support.

Looking for CPUs supporting EVA I only found P5600, are there more ?

Does someone sell boards with an EVA enabled CPU ?

Quoted 8 lines
Quoted 4 lines

How good is EVA support in qemu ?

Thomas.

Hi,

The InterAptiv CPUs used by Lantiq/Intel/MaxLinear are supporting EVA mode and it is used in the default settings of the vendor SDK.

too bad that I lost my access to a GRX350 eval board, but at least hardware with GRX350&550 is easy to get.

Quoted 4 lines

The SoCs are not supported by mainline Linux kernel, it was tried to add them some years ago:
https://lwn.net/Articles/761729/
https://lwn.net/ml/linux-kernel/[email protected]/

and no updates for that ? Too sad...

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
author maintainer
#6 lore raw
In reply to Jiaxun Yang
Quoted 4 lines · Jiaxun Yang
Quoted 1 line

How good is EVA support in qemu ?

EVA is functional in QEMU.
I had tested it with P5600 malta system.

and it's working for you ? I've setup a qemu malta system running debian buster. It boots fine when CPU is != P5600, but as soon as I enable -cpu P5600 it stops booting:

Run /bin/bash as init process
request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-464c, throttling...
request_module: modprobe binfmt-464c cannot be processed, kmod busy with 50 threads for more than 5 seconds now

Kernel panic - not syncing: Requested init /bin/bash failed (error -8).

This happens independant whether EVA enabled or disabled.

Has anybody seen this ?

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
#7 lore raw
Quoted 10 lines · Thomas Bogendoerfer
Quoted 4 lines · Jiaxun Yang
Quoted 1 line

How good is EVA support in qemu ?

EVA is functional in QEMU.
I had tested it with P5600 malta system.

and it's working for you ? I've setup a qemu malta system running debian buster. It boots fine when CPU is != P5600, but as soon as I enable -cpu P5600 it stops booting:

Quoted 6 lines

Run /bin/bash as init process
request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-464c, throttling...
request_module: modprobe binfmt-464c cannot be processed, kmod busy with 50 threads for more than 5 seconds now

Kernel panic - not syncing: Requested init /bin/bash failed (error -8).

Well you need add "ieee754=relaxed" to cmdline
to workaround this.

It's due to NAN2008 mismatch.

Thanks.

- Jiaxun

Quoted 11 lines

This happens independant whether EVA enabled or disabled.

Has anybody seen this ?

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
Signature · 1 line
- Jiaxun
author maintainer
#8 lore raw
Quoted 20 lines · Jiaxun Yang
Quoted 10 lines · Thomas Bogendoerfer
Quoted 4 lines · Jiaxun Yang
Quoted 1 line

How good is EVA support in qemu ?

EVA is functional in QEMU.
I had tested it with P5600 malta system.

and it's working for you ? I've setup a qemu malta system running debian buster. It boots fine when CPU is != P5600, but as soon as I enable -cpu P5600 it stops booting:

Quoted 6 lines

Run /bin/bash as init process
request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-464c, throttling...
request_module: modprobe binfmt-464c cannot be processed, kmod busy with 50 threads for more than 5 seconds now

Kernel panic - not syncing: Requested init /bin/bash failed (error -8).
Quoted 4 lines

Well you need add "ieee754=relaxed" to cmdline
to workaround this.

It's due to NAN2008 mismatch.

excellent, now it boots. I had to specify "coherentio" as kernel parameter to avoid a pcnet32 driver crash the kernel. Looks like creating uncached pointers is borken in EVA kernels, is this a known issue ?

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]