All of lore.kernel.org
 help / color / mirror / Atom feed
* PEAK RTCAN on Xenomai conflict with VT-d configuration
@ 2020-10-15  6:02 Edward Liao
  2020-10-15  8:11 ` Jan Kiszka
  2020-10-15  8:15 ` Fino Meng
  0 siblings, 2 replies; 5+ messages in thread
From: Edward Liao @ 2020-10-15  6:02 UTC (permalink / raw)
  To: xenomai@xenomai.org; +Cc: Victor Fu, William Liang

Hi, Xenomai Team:

We have a problem when using PEAK real-time CAN deploy with a virtualization project called ACRN, which is an open source project, the primary contributor are Intel Team.

  https://projectacrn.github.io/latest/introduction/index.html

The main purpose in our project is apply PEAK RTCAN with Xenomai run in ACRN real-time VM. The Intel CPU enhancement techniques for virtualization VT-d configuration in BIOS which is conflict with Xenomai PEAK RTCAN.
Here is our hardware resource and kernel version:

  CPU: Intel i7-9850HE
  OS: Ubuntu 18.04 x86_64
  Kernel: 4.19.59
  Xenomai: 3.1
  PEAK CAN model: PEAK PCAN-miniPCIe (IPEH-003048)
  https://www.peak-system.com/PCAN-miniPCIe.285.0.html?&L=1

The following PEAK's official forum discussion link who also have the same issue with PEAK RTCAN on Xenomai, but the user do not need a scenario run with virtual machine. So, the user disable VT-d setting and the problem solved. In this time we have to run PEAK RTCAN within a real-time VM, then cannot just disable VT-d setting to avoid the conflict. Hope Xenomai Team can help us to solve the problem.

  https://forum.peak-system.com/viewtopic.php?f=59&t=5720

Please also have a look the ACRN Project run with Xenomai on guest OS.

  https://projectacrn.github.io/latest/tutorials/using_xenomai_as_uos.html

  https://github.com/intel/linux-stable-xenomai

The basic steps to reproduce the conflict is enable VT-d in BIOS if is supported. Run PEAK RTCAN demo with Xenomai Cobalt Core, then can reproduce just like the forum topic(PEAK-CAN miniPCIe devices failed on Xenomai 3.0.5) said. It is not necessary to prepare ACRN Project in system anyway.

To check the CPU x86 virtualization technic if is supported:
  cat /proc/cpuinfo | grep vmx

Please feel free to contact us if you need any further information.

Thank you for taking the time to read this e-mail.

Best Regards,
Edward Liao
SEC-System Platform Dept. Section V
ADLINK Technology Inc.
TEL: +886-2-82265877 Ext: 8803
Skype: jay16814
Email : edward.liao@adlinktech.com<mailto:edward.liao@adlinktech.com>
[cid:image001.png@01D3E3BE.A746E910]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 2572 bytes
Desc: image003.jpg
URL: <http://xenomai.org/pipermail/xenomai/attachments/20201015/1b5a4552/attachment.jpg>

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

end of thread, other threads:[~2020-10-16  3:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-15  6:02 PEAK RTCAN on Xenomai conflict with VT-d configuration Edward Liao
2020-10-15  8:11 ` Jan Kiszka
2020-10-15  8:15 ` Fino Meng
2020-10-16  2:46   ` Edward Liao
2020-10-16  3:26     ` Fino Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.