Activity log for bug #1992912

Date Who What changed Old value New value Message
2022-10-14 05:25:39 Portia Stephens bug added bug
2022-10-14 05:36:04 Portia Stephens ubuntu-kernel-tests: assignee Portia Stephens (portias)
2022-10-17 04:22:27 Po-Hsu Lin bug task added linux-xilinx-zynqmp (Ubuntu)
2022-10-17 04:23:14 Po-Hsu Lin tags 5.4 focal
2022-11-01 16:20:10 Portia Stephens description Multiple regression tests are failing on the linux-xilinx-zynqmp/focal kernel when calling sched_setscheduler() or with related operations. This is probably caused by enabling CONFIG_RT_GROUP_SCHED since similiar issues have been seen when enabling this config on other kernels. The following tests are failing with this error: * ubuntu_ltp:sched:time-schedule01 * ubuntu_ltp:sched:trace_sched01 * ubuntu_qrt_apparmor:test-apparmor The focal kernel is failing the ubuntu_ltp:sched:time-schedule01 and ubuntu_ltp:sched:trace_sched01 regression test due to sched_setscheduler being unable to a task class to SCHED_FIFO. There are multiple known issues with CONFIG_RT_GROUP_SCHED that are reported in the debian.master/config/annotations file: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1284731 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873315 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1875665 We do not have a good reason to enable this , I see no processes using realtime scheduling. We should disable this setting to match the upstream Ubuntu focal arm64 kernel. The following tests are failing with this error: * ubuntu_ltp:sched:time-schedule01 * ubuntu_ltp:sched:trace_sched01 * ubuntu_qrt_apparmor:test-apparmor
2022-11-03 13:17:08 Portia Stephens summary linux-xilinx-zynqmp: main(): sched_setscheduler(): Operation not permitted linux-xilinx-zynqmp/focal: main(): sched_setscheduler(): Operation not permitted
2022-11-03 13:41:08 Portia Stephens description The focal kernel is failing the ubuntu_ltp:sched:time-schedule01 and ubuntu_ltp:sched:trace_sched01 regression test due to sched_setscheduler being unable to a task class to SCHED_FIFO. There are multiple known issues with CONFIG_RT_GROUP_SCHED that are reported in the debian.master/config/annotations file: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1284731 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873315 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1875665 We do not have a good reason to enable this , I see no processes using realtime scheduling. We should disable this setting to match the upstream Ubuntu focal arm64 kernel. The following tests are failing with this error: * ubuntu_ltp:sched:time-schedule01 * ubuntu_ltp:sched:trace_sched01 * ubuntu_qrt_apparmor:test-apparmor [SRU Justification] [Impact] The focal kernel is failing the ubuntu_ltp:sched:time-schedule01 and ubuntu_ltp:sched:trace_sched01 regression test due to sched_setscheduler being unable to a task class to SCHED_FIFO. This is due to have having CONFIG_RT_GROUP_SCHED enabled. There are multiple known issues with CONFIG_RT_GROUP_SCHED that are reported in the debian.master/config/annotations file: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1284731 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873315 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1875665 [Fix] CONFIG_RT_GROUP_SCHED should be disabled. The config was enabled when we copied the Xilinx default config settings and there is not a justification for this exact config. [Testcase]
2022-11-03 13:48:21 Portia Stephens description [SRU Justification] [Impact] The focal kernel is failing the ubuntu_ltp:sched:time-schedule01 and ubuntu_ltp:sched:trace_sched01 regression test due to sched_setscheduler being unable to a task class to SCHED_FIFO. This is due to have having CONFIG_RT_GROUP_SCHED enabled. There are multiple known issues with CONFIG_RT_GROUP_SCHED that are reported in the debian.master/config/annotations file: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1284731 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873315 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1875665 [Fix] CONFIG_RT_GROUP_SCHED should be disabled. The config was enabled when we copied the Xilinx default config settings and there is not a justification for this exact config. [Testcase] [SRU Justification] [Impact] The focal kernel is failing the ubuntu_ltp:sched:time-schedule01 and ubuntu_ltp:sched:trace_sched01 regression test due to sched_setscheduler being unable to a task class to SCHED_FIFO. This is due to have having CONFIG_RT_GROUP_SCHED enabled. There are multiple known issues with CONFIG_RT_GROUP_SCHED that are reported in the debian.master/config/annotations file: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1284731 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873315 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1875665 [Fix] CONFIG_RT_GROUP_SCHED should be disabled. The config was enabled when we copied the Xilinx default config settings and there is not a justification for this exact config. There may even be a negative impact, from the kernel.org documentation: “The default values for sched_rt_period_us (1000000 or 1s) and sched_rt_runtime_us (950000 or 0.95s). This gives 0.05s to be used by SCHED_OTHER (non-RT tasks).” This suggests this option will benefit RT systems, but be detrimental to non-RT systems, [Testcase] The annotations file will enforce that CONFIG_RT_GROUP_SCHED is disabled.
2022-11-03 13:51:34 Portia Stephens description [SRU Justification] [Impact] The focal kernel is failing the ubuntu_ltp:sched:time-schedule01 and ubuntu_ltp:sched:trace_sched01 regression test due to sched_setscheduler being unable to a task class to SCHED_FIFO. This is due to have having CONFIG_RT_GROUP_SCHED enabled. There are multiple known issues with CONFIG_RT_GROUP_SCHED that are reported in the debian.master/config/annotations file: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1284731 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873315 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1875665 [Fix] CONFIG_RT_GROUP_SCHED should be disabled. The config was enabled when we copied the Xilinx default config settings and there is not a justification for this exact config. There may even be a negative impact, from the kernel.org documentation: “The default values for sched_rt_period_us (1000000 or 1s) and sched_rt_runtime_us (950000 or 0.95s). This gives 0.05s to be used by SCHED_OTHER (non-RT tasks).” This suggests this option will benefit RT systems, but be detrimental to non-RT systems, [Testcase] The annotations file will enforce that CONFIG_RT_GROUP_SCHED is disabled. [SRU Justification] [Impact] The focal kernel is failing the ubuntu_ltp:sched:time-schedule01, ubuntu_ltp:sched:trace_sched01 and ubuntu_ltp:irq:irqbalance0 regression test due to sched_setscheduler being unable to a task class to SCHED_FIFO. This is due to have having CONFIG_RT_GROUP_SCHED enabled. Once RT_GROUP_SCHED is enabled it is impossible to schedule realtime tasks for non-root users until you allocate realtime bandwidth for them. There are multiple known issues with CONFIG_RT_GROUP_SCHED that are reported in the debian.master/config/annotations file: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1284731 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873315 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1875665 [Fix] CONFIG_RT_GROUP_SCHED should be disabled. The config was enabled when we copied the Xilinx default config settings and there is not a justification for this exact config. There may even be a negative impact, from the kernel.org documentation: “The default values for sched_rt_period_us (1000000 or 1s) and sched_rt_runtime_us (950000 or 0.95s). This gives 0.05s to be used by SCHED_OTHER (non-RT tasks).” This suggests this option will benefit RT systems, but be detrimental to non-RT systems, [Testcase] The annotations file will enforce that CONFIG_RT_GROUP_SCHED is disabled.
2022-11-03 13:51:45 Portia Stephens linux-xilinx-zynqmp (Ubuntu): assignee Portia Stephens (portias)
2022-11-16 04:35:56 Portia Stephens nominated for series Ubuntu Focal
2022-11-16 04:35:56 Portia Stephens bug task added linux-xilinx-zynqmp (Ubuntu Focal)
2022-11-16 05:24:15 Portia Stephens linux-xilinx-zynqmp (Ubuntu Focal): status New Fix Committed
2022-12-15 13:51:59 Ubuntu Kernel Bot tags 5.4 focal 5.4 focal kernel-spammed-focal-linux-xilinx-zynqmp verification-needed-focal
2024-05-01 23:24:47 Portia Stephens linux-xilinx-zynqmp (Ubuntu): status New Fix Released