Re: About the kernel configuration(CONFIG_CPU_FREQ and CONFIG_CPU_IDLE.)

2022-01-19 Thread 孙世龙 sunshilong via Xenomai
> How could you find that frequency of cpu is constant or not in both trials? By cat /proc/cpuinfo | grep -i hz The output looks like this when idle: model name : Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz cpu MHz : 799.193 When busy: model name : Intel(R) Core(TM) i7-8565U CPU @ 1

Issue with driver-to-driver services

2022-01-19 Thread Olsen, Niels (INT) via Xenomai
We are having issues with a Xenomai driver module for a UART chip. The UART chip is connected to our i.MX8MN SOC via ECSPI, and I have a Xenomai SPI driver for i.MX ECSPI. The stock NXP 'spi-imx' driver is configured out of the kernel. The Xenomai SPI driver initializes successfully, and after boo

Dovetail 5.10 - Xenomai huge page support

2022-01-19 Thread Bezdeka, Florian via Xenomai
Hi all, after migrating from 4.19-ipipe to 5.10-dovetail internal users are reporting that they receive sporadic SIGXCPUs. The reported reason is "page_fault_user".  After disabling the huge page support in 5.10 the issue vanished. Tests are still running, but we are optimistic that we found the

Re: Dovetail 5.10 - Xenomai huge page support

2022-01-19 Thread Bezdeka, Florian via Xenomai
On Wed, 2022-01-19 at 13:35 +, Bezdeka, Florian via Xenomai wrote: > Hi all, > > after migrating from 4.19-ipipe to 5.10-dovetail internal users are > reporting that they receive sporadic SIGXCPUs. The reported reason is > "page_fault_user".  > > After disabling the huge page support in 5.10

RE: About the kernel configuration(CONFIG_CPU_FREQ and CONFIG_CPU_IDLE.)

2022-01-19 Thread Chen, Hongzhan via Xenomai
From: ??? sunshilong sunshilong...@gmail.com >Sent: Wednesday, January 19, 2022 5:01 PM >To: Chen, Hongzhan hongzhan.c...@intel.com >Subject: Re: About the kernel configuration(CONFIG_CPU_FREQ and >CONFIG_CPU_IDLE.) > >> Did you use

RE: About the kernel configuration(CONFIG_CPU_FREQ and CONFIG_CPU_IDLE.)

2022-01-19 Thread Chen, Hongzhan via Xenomai
> >From: ??? sunshilong sunshilong...@gmail.com >>Sent: Wednesday, January 19, 2022 5:01 PM >>To: Chen, Hongzhan hongzhan.c...@intel.com >>Subject: Re: About the kernel configuration(CONFIG_CPU_FREQ and >>CONFIG_CPU_IDLE.) >> >>> Did

Re: About the kernel configuration(CONFIG_CPU_FREQ and CONFIG_CPU_IDLE.)

2022-01-19 Thread 孙世龙 sunshilong via Xenomai
>Let us go back to what you found with disabling CPU_IDLE and CPU_FREQ. I do not know if you already disable C-state in BIOS. >But on my side, I found the similiar result with yours that cpu_freq is non-constant even if I disable CPUIDLE and CPUFREQ but >with enabling C-State in BIOS for my i7-8665

Re: About the kernel configuration(CONFIG_CPU_FREQ and CONFIG_CPU_IDLE.)

2022-01-19 Thread 孙世龙 sunshilong via Xenomai
>>Let us go back to what you found with disabling CPU_IDLE and CPU_FREQ. I do not know if you already disable C-state in BIOS. >>But on my side, I found the similiar result with yours that cpu_freq is non-constant even if I disable CPUIDLE and CPUFREQ but >>with enabling C-State in BIOS for my i7-8

RE: About the kernel configuration(CONFIG_CPU_FREQ and CONFIG_CPU_IDLE.)

2022-01-19 Thread Chen, Hongzhan via Xenomai
>From: ??? sunshilong >Sent: Thursday, January 20, 2022 2:25 PM >To: Chen, Hongzhan >Cc: xenomai@xenomai.org >Subject: Re: About the kernel configuration(CONFIG_CPU_FREQ and >CONFIG_CPU_IDLE.) > >>Let us go back to what you found with disabling CPU_IDLE and CPU_FREQ. I do >>not know if you alr

RE: About the kernel configuration(CONFIG_CPU_FREQ and CONFIG_CPU_IDLE.)

2022-01-19 Thread Chen, Hongzhan via Xenomai
>From: ??? sunshilong >Sent: Thursday, January 20, 2022 3:12 PM >To: Chen, Hongzhan >Cc: xenomai@xenomai.org >Subject: Re: About the kernel configuration(CONFIG_CPU_FREQ and >CONFIG_CPU_IDLE.) > >>>Let us go back to what you found with disabling CPU_IDLE and CPU_FREQ. I do >>>not know if you a