[Kernel-packages] [Bug 1797200] Re: [Bionic] ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

2019-07-24 Thread Brad Figg
** Tags added: cscc

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1797200

Title:
  [Bionic] ACPI / PPTT: use ACPI ID whenever
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Bionic:
  Fix Released

Bug description:
  [Impact]
  Currently, we use the ACPI processor ID only for the leaf/processor nodes as 
the specification states it must match the value of the ACPI processor ID field 
in the processor’s entry in the MADT.

  However, if a PPTT structure represents a processors group, it matches
  a processor container UID in the namespace and the
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID flag indicates whether the ACPI
  processor ID is valid.

  Let's use UID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set to be
  consistent instead of using table offset as it's currently done for
  non-leaf nodes.

  Fixes: 2bd00bcd73e5 (ACPI/PPTT: Add Processor Properties Topology
  Table parsing)

  [Fix]
  This patch in is 4.18:
  30998033f62a ACPI / PPTT: use ACPI ID whenever 
ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

  [Test]
  -- testcase --

  #!/bin/bash

  stress-ng -q --vm 100 --vm-bytes 1G --cpu 210 --timeout 2400s --metrics-brief 
&
  pid=$!

  for i in {1..210}; do
num=$((RANDOM%10+$i))
echo "Offline CPU $num"
echo 0 > /sys/devices/system/cpu/cpu$num/online || exit 1
sleep 3s
echo "Online CPU $num"
echo 1 > /sys/devices/system/cpu/cpu$num/online || exit 1
  done

  kill -9 $pid
  
  Executed the test case with stock Bionic kernel and with Bionic kernel with 
patches applied. No system hang or crash was observed. On Cavium CN99XX Thunder 
X2 system. 

  [Regression Potential]
  Regression tested on Cavium Thunder X2 CN99XX system, and none were found. 
Regression risk is low.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797200/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1797200] Re: [Bionic] ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

2018-11-13 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.15.0-39.42

---
linux (4.15.0-39.42) bionic; urgency=medium

  * linux: 4.15.0-39.42 -proposed tracker (LP: #1799411)

  * Linux: insufficient shootdown for paging-structure caches (LP: #1798897)
- mm: move tlb_table_flush to tlb_flush_mmu_free
- mm/tlb: Remove tlb_remove_table() non-concurrent condition
- mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE
- [Config] CONFIG_HAVE_RCU_TABLE_INVALIDATE=y

  * Ubuntu18.04: GPU total memory is reduced (LP: #1792102)
- Revert "powerpc/powernv: Increase memory block size to 1GB on radix"

  * arm64: snapdragon: reduce boot noise (LP: #1797154)
- [Config] arm64: snapdragon: DRM_MSM=m
- [Config] arm64: snapdragon: SND*=m
- [Config] arm64: snapdragon: disable ARM_SDE_INTERFACE
- [Config] arm64: snapdragon: disable DRM_I2C_ADV7511_CEC
- [Config] arm64: snapdragon: disable VIDEO_ADV7511, VIDEO_COBALT

  * [Bionic] CPPC bug fixes (LP: #1796949)
- ACPI / CPPC: Update all pr_(debug/err) messages to log the susbspace id
- cpufreq: CPPC: Don't set transition_latency
- ACPI / CPPC: Fix invalid PCC channel status errors

  * regression in 'ip --family bridge neigh' since linux v4.12 (LP: #1796748)
- rtnetlink: fix rtnl_fdb_dump() for ndmsg header

  * screen displays abnormally on the lenovo M715 with the AMD GPU (Radeon Vega
8 Mobile, rev ca, 1002:15dd) (LP: #1796786)
- drm/amd/display: Fix takover from VGA mode
- drm/amd/display: early return if not in vga mode in disable_vga
- drm/amd/display: Refine disable VGA

  * arm64: snapdragon: WARNING: CPU: 0 PID: 1 arch/arm64/kernel/setup.c:271
reserve_memblock_reserved_regions (LP: #1797139)
- SAUCE: arm64: Fix /proc/iomem for reserved but not memory regions

  * The front MIC can't work on the Lenovo M715 (LP: #1797292)
- ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo M715

  * Keyboard backlight sysfs sometimes is missing on Dell laptops (LP: #1797304)
- platform/x86: dell-smbios: Correct some style warnings
- platform/x86: dell-smbios: Rename dell-smbios source to dell-smbios-base
- platform/x86: dell-smbios: Link all dell-smbios-* modules together
- [Config] CONFIG_DELL_SMBIOS_SMM=y, CONFIG_DELL_SMBIOS_WMI=y

  * rpi3b+: ethernet not working (LP: #1797406)
- lan78xx: Don't reset the interface on open

  * 87cdf3148b11 was never backported to 4.15  (LP: #1795653)
- xfrm: Verify MAC header exists before overwriting eth_hdr(skb)->h_proto

  * [Ubuntu18.04][Power9][DD2.2]package installation segfaults inside debian
chroot env in P9 KVM guest with HTM enabled (kvm) (LP: #1792501)
- KVM: PPC: Book3S HV: Fix guest r11 corruption with POWER9 TM workarounds

  * Provide mode where all vCPUs on a core must be the same VM (LP: #1792957)
- KVM: PPC: Book3S HV: Provide mode where all vCPUs on a core must be the 
same
  VM

  * fscache: bad refcounting in fscache_op_complete leads to OOPS (LP: #1797314)
- SAUCE: fscache: Fix race in decrementing refcount of op->npages

  * CVE-2018-9363
- Bluetooth: hidp: buffer overflow in hidp_process_report

  * CVE-2017-13168
- scsi: sg: mitigate read/write abuse

  * [Bionic] ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID
is set (LP: #1797200)
- ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

  * [Bionic] arm64: topology: Avoid checking numa mask for scheduler MC
selection (LP: #1797202)
- arm64: topology: Avoid checking numa mask for scheduler MC selection

  * crypto/vmx - Backport of Fix sleep-in-atomic bugs patch for 18.04
(LP: #1790832)
- crypto: vmx - Fix sleep-in-atomic bugs

  * hns3: autoneg settings get lost on down/up (LP: #1797654)
- net: hns3: Fix for information of phydev lost problem when down/up

  * not able to unwind the stack from within __kernel_clock_gettime in the Linux
vDSO (LP: #1797963)
- powerpc/vdso: Correct call frame information

  * Signal 7 error when running GPFS tracing in cluster (LP: #1792195)
- powerpc/mm/books3s: Add new pte bit to mark pte temporarily invalid.
- powerpc/mm/radix: Only need the Nest MMU workaround for R -> RW transition

  * Support Edge Gateway's WIFI LED (LP: #1798330)
- SAUCE: mwifiex: Switch WiFi LED state according to the device status

  * Support Edge Gateway's Bluetooth LED (LP: #1798332)
- SAUCE: Bluetooth: Support for LED on Edge Gateways

  * USB cardreader (0bda:0328) make the system can't enter s3 or hang
(LP: #1798328)
- usb: Don't disable Latency tolerance Messaging (LTM) before port reset

  * CVE-2018-15471
- xen-netback: fix input validation in xenvif_set_hash_mapping()

  * CVE-2018-16658
- cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status

  * [Bionic] Update ThunderX2 implementation defined pmu core events
(LP: #1796904)
- perf vendor events arm64: Update ThunderX2 implem

[Kernel-packages] [Bug 1797200] Re: [Bionic] ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

2018-10-29 Thread Manoj Iyer
Executed the test case with -proposed Bionic kernel. No system hang or
crash was observed. On Cavium CN99XX Thunder X2 system.

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1797200

Title:
  [Bionic] ACPI / PPTT: use ACPI ID whenever
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Bionic:
  Fix Committed

Bug description:
  [Impact]
  Currently, we use the ACPI processor ID only for the leaf/processor nodes as 
the specification states it must match the value of the ACPI processor ID field 
in the processor’s entry in the MADT.

  However, if a PPTT structure represents a processors group, it matches
  a processor container UID in the namespace and the
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID flag indicates whether the ACPI
  processor ID is valid.

  Let's use UID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set to be
  consistent instead of using table offset as it's currently done for
  non-leaf nodes.

  Fixes: 2bd00bcd73e5 (ACPI/PPTT: Add Processor Properties Topology
  Table parsing)

  [Fix]
  This patch in is 4.18:
  30998033f62a ACPI / PPTT: use ACPI ID whenever 
ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

  [Test]
  -- testcase --

  #!/bin/bash

  stress-ng -q --vm 100 --vm-bytes 1G --cpu 210 --timeout 2400s --metrics-brief 
&
  pid=$!

  for i in {1..210}; do
num=$((RANDOM%10+$i))
echo "Offline CPU $num"
echo 0 > /sys/devices/system/cpu/cpu$num/online || exit 1
sleep 3s
echo "Online CPU $num"
echo 1 > /sys/devices/system/cpu/cpu$num/online || exit 1
  done

  kill -9 $pid
  
  Executed the test case with stock Bionic kernel and with Bionic kernel with 
patches applied. No system hang or crash was observed. On Cavium CN99XX Thunder 
X2 system. 

  [Regression Potential]
  Regression tested on Cavium Thunder X2 CN99XX system, and none were found. 
Regression risk is low.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797200/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1797200] Re: [Bionic] ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

2018-10-24 Thread Brad Figg
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
bionic' to 'verification-done-bionic'. If the problem still exists,
change the tag 'verification-needed-bionic' to 'verification-failed-
bionic'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1797200

Title:
  [Bionic] ACPI / PPTT: use ACPI ID whenever
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Bionic:
  Fix Committed

Bug description:
  [Impact]
  Currently, we use the ACPI processor ID only for the leaf/processor nodes as 
the specification states it must match the value of the ACPI processor ID field 
in the processor’s entry in the MADT.

  However, if a PPTT structure represents a processors group, it matches
  a processor container UID in the namespace and the
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID flag indicates whether the ACPI
  processor ID is valid.

  Let's use UID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set to be
  consistent instead of using table offset as it's currently done for
  non-leaf nodes.

  Fixes: 2bd00bcd73e5 (ACPI/PPTT: Add Processor Properties Topology
  Table parsing)

  [Fix]
  This patch in is 4.18:
  30998033f62a ACPI / PPTT: use ACPI ID whenever 
ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

  [Test]
  -- testcase --

  #!/bin/bash

  stress-ng -q --vm 100 --vm-bytes 1G --cpu 210 --timeout 2400s --metrics-brief 
&
  pid=$!

  for i in {1..210}; do
num=$((RANDOM%10+$i))
echo "Offline CPU $num"
echo 0 > /sys/devices/system/cpu/cpu$num/online || exit 1
sleep 3s
echo "Online CPU $num"
echo 1 > /sys/devices/system/cpu/cpu$num/online || exit 1
  done

  kill -9 $pid
  
  Executed the test case with stock Bionic kernel and with Bionic kernel with 
patches applied. No system hang or crash was observed. On Cavium CN99XX Thunder 
X2 system. 

  [Regression Potential]
  Regression tested on Cavium Thunder X2 CN99XX system, and none were found. 
Regression risk is low.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797200/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1797200] Re: [Bionic] ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

2018-10-23 Thread Kleber Sacilotto de Souza
** Changed in: linux (Ubuntu Bionic)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1797200

Title:
  [Bionic] ACPI / PPTT: use ACPI ID whenever
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Bionic:
  Fix Committed

Bug description:
  [Impact]
  Currently, we use the ACPI processor ID only for the leaf/processor nodes as 
the specification states it must match the value of the ACPI processor ID field 
in the processor’s entry in the MADT.

  However, if a PPTT structure represents a processors group, it matches
  a processor container UID in the namespace and the
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID flag indicates whether the ACPI
  processor ID is valid.

  Let's use UID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set to be
  consistent instead of using table offset as it's currently done for
  non-leaf nodes.

  Fixes: 2bd00bcd73e5 (ACPI/PPTT: Add Processor Properties Topology
  Table parsing)

  [Fix]
  This patch in is 4.18:
  30998033f62a ACPI / PPTT: use ACPI ID whenever 
ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

  [Test]
  -- testcase --

  #!/bin/bash

  stress-ng -q --vm 100 --vm-bytes 1G --cpu 210 --timeout 2400s --metrics-brief 
&
  pid=$!

  for i in {1..210}; do
num=$((RANDOM%10+$i))
echo "Offline CPU $num"
echo 0 > /sys/devices/system/cpu/cpu$num/online || exit 1
sleep 3s
echo "Online CPU $num"
echo 1 > /sys/devices/system/cpu/cpu$num/online || exit 1
  done

  kill -9 $pid
  
  Executed the test case with stock Bionic kernel and with Bionic kernel with 
patches applied. No system hang or crash was observed. On Cavium CN99XX Thunder 
X2 system. 

  [Regression Potential]
  Regression tested on Cavium Thunder X2 CN99XX system, and none were found. 
Regression risk is low.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797200/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1797200] Re: [Bionic] ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

2018-10-15 Thread Kleber Sacilotto de Souza
** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Bionic)
   Status: New => In Progress

** Changed in: linux (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1797200

Title:
  [Bionic] ACPI / PPTT: use ACPI ID whenever
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Bionic:
  In Progress

Bug description:
  [Impact]
  Currently, we use the ACPI processor ID only for the leaf/processor nodes as 
the specification states it must match the value of the ACPI processor ID field 
in the processor’s entry in the MADT.

  However, if a PPTT structure represents a processors group, it matches
  a processor container UID in the namespace and the
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID flag indicates whether the ACPI
  processor ID is valid.

  Let's use UID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set to be
  consistent instead of using table offset as it's currently done for
  non-leaf nodes.

  Fixes: 2bd00bcd73e5 (ACPI/PPTT: Add Processor Properties Topology
  Table parsing)

  [Fix]
  This patch in is 4.18:
  30998033f62a ACPI / PPTT: use ACPI ID whenever 
ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

  [Test]
  -- testcase --

  #!/bin/bash

  stress-ng -q --vm 100 --vm-bytes 1G --cpu 210 --timeout 2400s --metrics-brief 
&
  pid=$!

  for i in {1..210}; do
num=$((RANDOM%10+$i))
echo "Offline CPU $num"
echo 0 > /sys/devices/system/cpu/cpu$num/online || exit 1
sleep 3s
echo "Online CPU $num"
echo 1 > /sys/devices/system/cpu/cpu$num/online || exit 1
  done

  kill -9 $pid
  
  Executed the test case with stock Bionic kernel and with Bionic kernel with 
patches applied. No system hang or crash was observed. On Cavium CN99XX Thunder 
X2 system. 

  [Regression Potential]
  Regression tested on Cavium Thunder X2 CN99XX system, and none were found. 
Regression risk is low.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797200/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1797200] Re: [Bionic] ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

2018-10-11 Thread Manoj Iyer
** Description changed:

  [Impact]
  Currently, we use the ACPI processor ID only for the leaf/processor nodes as 
the specification states it must match the value of the ACPI processor ID field 
in the processor’s entry in the MADT.
  
- However, if a PPTT structure represents a processors group, it matches a 
processor container UID in the namespace and the 
ACPI_PPTT_ACPI_PROCESSOR_ID_VALID flag indicates whether the ACPI processor ID 
is valid.
- 
- Let's use UID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set to be 
consistent instead of using table offset as it's currently done for non-leaf 
nodes.
- 
- Fixes: 2bd00bcd73e5 (ACPI/PPTT: Add Processor Properties Topology Table 
parsing)
+ However, if a PPTT structure represents a processors group, it matches a
+ processor container UID in the namespace and the
+ ACPI_PPTT_ACPI_PROCESSOR_ID_VALID flag indicates whether the ACPI
+ processor ID is valid.
  
+ Let's use UID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set to be
+ consistent instead of using table offset as it's currently done for non-
+ leaf nodes.
+ 
+ Fixes: 2bd00bcd73e5 (ACPI/PPTT: Add Processor Properties Topology Table
+ parsing)
  
  [Fix]
  This patch in is 4.18:
  30998033f62a ACPI / PPTT: use ACPI ID whenever 
ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set
  
  [Test]
+ -- testcase --
  
+ #!/bin/bash
+ 
+ stress-ng -q --vm 100 --vm-bytes 1G --cpu 210 --timeout 2400s --metrics-brief 
&
+ pid=$!
+ 
+ for i in {1..210}; do
+   num=$((RANDOM%10+$i))
+   echo "Offline CPU $num"
+   echo 0 > /sys/devices/system/cpu/cpu$num/online || exit 1
+   sleep 3s
+   echo "Online CPU $num"
+   echo 1 > /sys/devices/system/cpu/cpu$num/online || exit 1
+ done
+ 
+ kill -9 $pid
+ 
+ Executed the test case with stock Bionic kernel and with Bionic kernel with 
patches applied. No system hang or crash was observed. On Cavium CN99XX Thunder 
X2 system. 
  
  [Regression Potential]
+ Regression tested on Cavium Thunder X2 CN99XX system, and none were found. 
Regression risk is low.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1797200

Title:
  [Bionic] ACPI / PPTT: use ACPI ID whenever
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  [Impact]
  Currently, we use the ACPI processor ID only for the leaf/processor nodes as 
the specification states it must match the value of the ACPI processor ID field 
in the processor’s entry in the MADT.

  However, if a PPTT structure represents a processors group, it matches
  a processor container UID in the namespace and the
  ACPI_PPTT_ACPI_PROCESSOR_ID_VALID flag indicates whether the ACPI
  processor ID is valid.

  Let's use UID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set to be
  consistent instead of using table offset as it's currently done for
  non-leaf nodes.

  Fixes: 2bd00bcd73e5 (ACPI/PPTT: Add Processor Properties Topology
  Table parsing)

  [Fix]
  This patch in is 4.18:
  30998033f62a ACPI / PPTT: use ACPI ID whenever 
ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

  [Test]
  -- testcase --

  #!/bin/bash

  stress-ng -q --vm 100 --vm-bytes 1G --cpu 210 --timeout 2400s --metrics-brief 
&
  pid=$!

  for i in {1..210}; do
num=$((RANDOM%10+$i))
echo "Offline CPU $num"
echo 0 > /sys/devices/system/cpu/cpu$num/online || exit 1
sleep 3s
echo "Online CPU $num"
echo 1 > /sys/devices/system/cpu/cpu$num/online || exit 1
  done

  kill -9 $pid
  
  Executed the test case with stock Bionic kernel and with Bionic kernel with 
patches applied. No system hang or crash was observed. On Cavium CN99XX Thunder 
X2 system. 

  [Regression Potential]
  Regression tested on Cavium Thunder X2 CN99XX system, and none were found. 
Regression risk is low.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797200/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp