This bug was fixed in the package linux - 4.15.0-48.51
---------------
linux (4.15.0-48.51) bionic; urgency=medium
* linux: 4.15.0-48.51 -proposed tracker (LP: #1822820)
* Packaging resync (LP: #1786013)
- [Packaging] update helper scripts
- [Packaging] resync retpoline extraction
* 3b080b2564287be91605bfd1d5ee985696e61d3c in ubuntu_btrfs_kernel_fixes
triggers system hang on i386 (LP: #1812845)
- btrfs: raid56: properly unmap parity page in finish_parity_scrub()
* [P9][LTCTest][Opal][FW910] cpupower monitor shows multiple stop Idle_Stats
(LP: #1719545)
- cpupower : Fix header name to read idle state name
* [amdgpu] screen corruption when using touchpad (LP: #1818617)
- drm/amdgpu/gmc: steal the appropriate amount of vram for fw hand-over (v3)
- drm/amdgpu: Free VGA stolen memory as soon as possible.
* [SRU][B/C/OEM]IOMMU: add kernel dma protection (LP: #1820153)
- ACPICA: AML parser: attempt to continue loading table after error
- ACPI / property: Allow multiple property compatible _DSD entries
- PCI / ACPI: Identify untrusted PCI devices
- iommu/vt-d: Force IOMMU on for platform opt in hint
- iommu/vt-d: Do not enable ATS for untrusted devices
- thunderbolt: Export IOMMU based DMA protection support to userspace
- iommu/vt-d: Disable ATS support on untrusted devices
* Add basic support to NVLink2 passthrough (LP: #1819989)
- powerpc/powernv/npu: Do not try invalidating 32bit table when 64bit table
is
enabled
- powerpc/powernv: call OPAL_QUIESCE before OPAL_SIGNAL_SYSTEM_RESET
- powerpc/powernv: Export opal_check_token symbol
- powerpc/powernv: Make possible for user to force a full ipl cec reboot
- powerpc/powernv/idoa: Remove unnecessary pcidev from pci_dn
- powerpc/powernv: Move npu struct from pnv_phb to pci_controller
- powerpc/powernv/npu: Move OPAL calls away from context manipulation
- powerpc/pseries/iommu: Use memory@ nodes in max RAM address calculation
- powerpc/pseries/npu: Enable platform support
- powerpc/pseries: Remove IOMMU API support for non-LPAR systems
- powerpc/powernv/npu: Check mmio_atsd array bounds when populating
- powerpc/powernv/npu: Fault user page into the hypervisor's pagetable
* Huawei Hi1822 NIC has poor performance (LP: #1820187)
- net-next: hinic: fix a problem in free_tx_poll()
- hinic: remove ndo_poll_controller
- net-next/hinic: add checksum offload and TSO support
- hinic: Fix l4_type parameter in hinic_task_set_tunnel_l4
- net-next/hinic:replace multiply and division operators
- net-next/hinic:add rx checksum offload for HiNIC
- net-next/hinic:fix a bug in set mac address
- net-next/hinic: fix a bug in rx data flow
- net: hinic: fix null pointer dereference on pointer hwdev
- hinic: optmize rx refill buffer mechanism
- net-next/hinic:add shutdown callback
- net-next/hinic: replace disable_irq_nosync/enable_irq
* [CONFIG] please enable highdpi font FONT_TER16x32 (LP: #1819881)
- Fonts: New Terminus large console font
- [Config]: enable highdpi Terminus 16x32 font support
* [19.04 FEAT] qeth: Enhanced link speed - kernel part (LP: #1814892)
- s390/qeth: report 25Gbit link speed
* CVE-2017-5754
- x86/nmi: Fix NMI uaccess race against CR3 switching
- x86/mm: Fix documentation of module mapping range with 4-level paging
- x86/pti: Enable global pages for shared areas
- x86/pti: Never implicitly clear _PAGE_GLOBAL for kernel image
- x86/pti: Leave kernel text global for !PCID
- x86/pti: Fix boot problems from Global-bit setting
- x86/pti: Fix boot warning from Global-bit setting
- x86/pti: Reduce amount of kernel text allowed to be Global
- x86/pti: Disallow global kernel text with RANDSTRUCT
- x86/entry/32: Add explicit 'l' instruction suffix
- x86/asm-offsets: Move TSS_sp0 and TSS_sp1 to asm-offsets.c
- x86/entry/32: Rename TSS_sysenter_sp0 to TSS_entry2task_stack
- x86/entry/32: Load task stack from x86_tss.sp1 in SYSENTER handler
- x86/entry/32: Put ESPFIX code into a macro
- x86/entry/32: Unshare NMI return path
- x86/entry/32: Split off return-to-kernel path
- x86/entry/32: Enter the kernel via trampoline stack
- x86/entry/32: Leave the kernel via trampoline stack
- x86/entry/32: Introduce SAVE_ALL_NMI and RESTORE_ALL_NMI
- x86/entry/32: Handle Entry from Kernel-Mode on Entry-Stack
- x86/entry/32: Simplify debug entry point
- x86/entry/32: Add PTI cr3 switch to non-NMI entry/exit points
- x86/entry/32: Add PTI CR3 switches to NMI handler code
- x86/entry: Rename update_sp0 to update_task_stack
- x86/pgtable: Rename pti_set_user_pgd() to pti_set_user_pgtbl()
- x86/pgtable/pae: Unshare kernel PMDs when PTI is enabled
- x86/pgtable/32: Allocate 8k page-tables when PTI is enabled
- x86/pgtable: Move pgdp kernel/user conversion functions to pgtable.h
- x86/pgtable: Move pti_set_user_pgtbl() to pgtable.h
- x86/pgtable: Move two more functions from pgtable_64.h to pgtable.h
- x86/mm/pae: Populate valid user PGD entries
- x86/mm/pae: Populate the user page-table with user pgd's
- x86/mm/pti: Add an overflow check to pti_clone_pmds()
- x86/mm/pti: Define X86_CR3_PTI_PCID_USER_BIT on x86_32
- x86/mm/pti: Clone CPU_ENTRY_AREA on PMD level on x86_32
- x86/mm/pti: Make pti_clone_kernel_text() compile on 32 bit
- x86/mm/pti: Keep permissions when cloning kernel text in
pti_clone_kernel_text()
- x86/mm/pti: Introduce pti_finalize()
- x86/mm/pti: Clone entry-text again in pti_finalize()
- x86/mm/dump_pagetables: Define INIT_PGD
- x86/pgtable/pae: Use separate kernel PMDs for user page-table
- x86/ldt: Reserve address-space range on 32 bit for the LDT
- x86/ldt: Define LDT_END_ADDR
- x86/ldt: Split out sanity check in map_ldt_struct()
- x86/ldt: Enable LDT user-mapping for PAE
- x86/pti: Allow CONFIG_PAGE_TABLE_ISOLATION for x86_32
- [Config] Update PAGE_TABLE_ISOLATION annotations
- x86/mm/pti: Add Warning when booting on a PCID capable CPU
- x86/entry/32: Add debug code to check entry/exit CR3
- x86/pti: Check the return value of pti_user_pagetable_walk_p4d()
- x86/pti: Check the return value of pti_user_pagetable_walk_pmd()
- perf/core: Make sure the ring-buffer is mapped in all page-tables
- x86/entry/32: Check for VM86 mode in slow-path check
- x86/mm: Remove in_nmi() warning from vmalloc_fault()
- x86/kexec: Allocate 8k PGDs for PTI
- x86/mm/pti: Clear Global bit more aggressively
- mm: Allow non-direct-map arguments to free_reserved_area()
- x86/mm/init: Pass unconverted symbol addresses to free_init_pages()
- x86/mm/init: Add helper for freeing kernel image pages
- x86/mm/init: Remove freed kernel image areas from alias mapping
- x86/mm/pti: Fix 32 bit PCID check
- x86/mm/pti: Don't clear permissions in pti_clone_pmd()
- x86/mm/pti: Clone kernel-image on PTE level for 32 bit
- x86/relocs: Add __end_rodata_aligned to S_REL
- x86/mm/pti: Move user W+X check into pti_finalize()
- x86/efi: Load fixmap GDT in efi_call_phys_epilog()
- x86/efi: Load fixmap GDT in efi_call_phys_epilog() before setting %cr3
- x86/mm/doc: Clean up the x86-64 virtual memory layout descriptions
- x86/mm/doc: Enhance the x86-64 virtual memory layout descriptions
- x86/entry/32: Clear the CS high bits
- x86/mm: Move LDT remap out of KASLR region on 5-level paging
- x86/ldt: Unmap PTEs for the slot before freeing LDT pages
- x86/ldt: Remove unused variable in map_ldt_struct()
- x86/mm: Fix guard hole handling
- x86/dump_pagetables: Fix LDT remap address marker
* Avoid potential memory corruption on HiSilicon SoCs (LP: #1819546)
- iommu/arm-smmu-v3: Avoid memory corruption from Hisilicon MSI payloads
* Ubuntu18.04.01: [Power9] power8 Compat guest(RHEL7.6) crashes during guest
boot with > 256G of memory (kernel/kvm) (LP: #1818645)
- ]PATCH] KVM: PPC: Book3S HV: Don't truncate HPTE index in xlate function
* Fix for dual Intel NVMes (LP: #1821961)
- SAUCE: nvme: Merge two quirk entries into one for Intel 760p/Pro 7600p
* CVE-2017-5715
- tools headers: Synchronize prctl.h ABI header
- x86/spectre: Add missing family 6 check to microcode check
- x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation
- x86/speculation: Apply IBPB more strictly to avoid cross-process data leak
- x86/speculation: Propagate information about RSB filling mitigation to
sysfs
- x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC
variant
- x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support
- x86/retpoline: Remove minimal retpoline support
- x86/speculation: Update the TIF_SSBD comment
- x86/speculation: Clean up spectre_v2_parse_cmdline()
- x86/speculation: Remove unnecessary ret variable in cpu_show_common()
- x86/speculation: Move STIPB/IBPB string conditionals out of
cpu_show_common()
- x86/speculation: Disable STIBP when enhanced IBRS is in use
- x86/speculation: Rename SSBD update functions
- x86/speculation: Reorganize speculation control MSRs update
- sched/smt: Make sched_smt_present track topology
- x86/Kconfig: Select SCHED_SMT if SMP enabled
- sched/smt: Expose sched_smt_present static key
- x86/speculation: Rework SMT state change
- x86/l1tf: Show actual SMT state
- x86/speculation: Reorder the spec_v2 code
- x86/speculation: Mark string arrays const correctly
- x86/speculataion: Mark command line parser data __initdata
- x86/speculation: Unify conditional spectre v2 print functions
- x86/speculation: Add command line control for indirect branch speculation
- x86/speculation: Prepare for per task indirect branch speculation control
- x86/process: Consolidate and simplify switch_to_xtra() code
- x86/speculation: Avoid __switch_to_xtra() calls
- x86/speculation: Prepare for conditional IBPB in switch_mm()
- ptrace: Remove unused ptrace_may_access_sched() and MODE_IBRS
- x86/speculation: Split out TIF update
- x86/speculation: Prevent stale SPEC_CTRL msr content
- x86/speculation: Prepare arch_smt_update() for PRCTL mode
- x86/speculation: Add prctl() control for indirect branch speculation
- x86/speculation: Enable prctl mode for spectre_v2_user
- x86/speculation: Add seccomp Spectre v2 user space protection mode
- x86/speculation: Provide IBPB always command line options
- kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb
- x86/speculation: Change misspelled STIPB to STIBP
- x86/speculation: Add support for STIBP always-on preferred mode
- x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINE
- s390: remove closung punctuation from spectre messages
- x86/speculation: Simplify the CPU bug detection logic
* CVE-2018-3639
- x86/bugs: Add AMD's variant of SSB_NO
- x86/bugs: Add AMD's SPEC_CTRL MSR usage
- x86/bugs: Switch the selection of mitigation from CPU vendor to CPU
features
- x86/bugs: Update when to check for the LS_CFG SSBD mitigation
- x86/bugs: Fix the AMD SSBD usage of the SPEC_CTRL MSR
- KVM: x86: SVM: Call x86_spec_ctrl_set_guest/host() with interrupts
disabled
* [Ubuntu] vfio-ap: add subsystem to matrix device to avoid libudev failures
(LP: #1818854)
- s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem
* Kernel regularly logs: Bluetooth: hci0: last event is not cmd complete
(0x0f) (LP: #1748565)
- Bluetooth: Fix unnecessary error message for HCI request completion
* HiSilicon HNS ethernet broken in 4.15.0-45 (LP: #1818294)
- net: hns: Fix WARNING when hns modules installed
* rtl8723be wifi does not work under linux-modules-extra-4.15.0-33-generic
(LP: #1788997)
- SAUCE: Revert "rtlwifi: cleanup 8723be ant_sel definition"
* Crash from :i915 module with 4.15.0-46-generic using multi-display
(LP: #1819486)
- SAUCE: Revert "drm/i915: Fix hotplug irq ack on i965/g4x"
* kernel linux-image-4.15.0-44 not booting on Hyperv Server 2008R2
(LP: #1814069)
- hv/netvsc: fix handling of fallback to single queue mode
- hv/netvsc: Fix NULL dereference at single queue mode fallback
* Lenovo ideapad 330-15ICH Wifi rfkill hard blocked (LP: #1811815)
- platform/x86: ideapad: Add ideapad 330-15ICH to no_hw_rfkill
* Qualcomm Atheros QCA9377 wireless does not work (LP: #1818204)
- platform/x86: ideapad-laptop: Add Ideapad 530S-14ARR to no_hw_rfkill list
* fscache: jobs might hang when fscache disk is full (LP: #1821395)
- fscache: fix race between enablement and dropping of object
* hns3: fix oops in hns3_clean_rx_ring() (LP: #1821064)
- net: hns3: add dma_rmb() for rx description
* Hard lockup in 2 CPUs due to deadlock in cpu_stoppers (LP: #1821259)
- stop_machine: Disable preemption after queueing stopper threads
- stop_machine: Atomically queue and wake stopper threads
* tcm_loop.ko: move from modules-extra into main modules package
(LP: #1817786)
- [Packaging] move tcm_loop.lo to main linux-modules package
* tcmu user space crash results in kernel module hang. (LP: #1819504)
- scsi: tcmu: delete unused __wait
- scsi: tcmu: track nl commands
- scsi: tcmu: simplify nl interface
- scsi: tcmu: add module wide block/reset_netlink support
* Intel XL710 - i40e driver does not work with kernel 4.15 (Ubuntu 18.04)
(LP: #1779756)
- i40e: Fix for Tx timeouts when interface is brought up if DCB is enabled
- i40e: prevent overlapping tx_timeout recover
* some codecs stop working after S3 (LP: #1820930)
- ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
* i40e xps management broken when > 64 queues/cpus (LP: #1820948)
- i40e: Do not allow use more TC queue pairs than MSI-X vectors exist
- i40e: Fix the number of queues available to be mapped for use
* 4.15 s390x kernel BUG at /build/linux-
Gycr4Z/linux-4.15.0/drivers/block/virtio_blk.c:565! (LP: #1788432)
- virtio/s390: avoid race on vcdev->config
- virtio/s390: fix race in ccw_io_helper()
* [SRU][B/B-OEM/C/D] Fix AMD IOMMU NULL dereference (LP: #1820990)
- iommu/amd: Fix NULL dereference bug in match_hid_uid
* New Intel Wireless-AC 9260 [8086:2526] card not correctly probed in Ubuntu
system (LP: #1821271)
- iwlwifi: add new card for 9260 series
* Add support for MAC address pass through on RTL8153-BD (LP: #1821276)
- r8152: Add support for MAC address pass through on RTL8153-BD
- r8152: Fix an error on RTL8153-BD MAC Address Passthrough support
-- Andrea Righi <[email protected]> Tue, 02 Apr 2019 18:31:55
+0200
** Changed in: linux (Ubuntu Bionic)
Status: Fix Committed => Fix Released
** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2017-5715
** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2017-5754
** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-3639
--
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/1719545
Title:
[P9][LTCTest][Opal][FW910] cpupower monitor shows multiple stop
Idle_Stats
Status in The Ubuntu-power-systems project:
Fix Committed
Status in linux package in Ubuntu:
Invalid
Status in linux source package in Bionic:
Fix Released
Bug description:
== Comment: #0 - PAVAMAN SUBRAMANIYAM <[email protected]> - 2017-06-29
02:30:22 ==
---Problem Description---
cpupower monitor shows multiple stop Idle_Stats
---uname output---
Linux zz376p1 4.10.0-26-generic #30~16.04.1-Ubuntu SMP Tue Jun 27 09:38:48
UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = P9
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Install a P9 8375-42A Hardware with Ubuntu 16.04.3 OS.
Then execute the cpupower monitor command to fetch all the Idle_Stats values.
root@zz376p1:~# cpupower monitor
|Idle_Stats
PKG |CORE|CPU | snoo | stop | stop
0| 8| 0| 0.00| 0.00| 2.79
0| 8| 1| 0.00| 0.00| 70.68
0| 8| 2| 0.00| 0.00| 99.87
0| 8| 3| 0.00| 0.00| 67.28
0| 12| 4| 0.00| 0.00| 5.17
0| 12| 5| 0.00| 0.00| 12.50
0| 12| 6| 0.00| 0.00| 99.74
0| 12| 7| 0.00| 0.00| 0.00
8|2048| 8| 0.00| 0.00| 22.14
8|2048| 9| 0.00| 0.00| 102.3
8|2048| 10| 0.00| 0.00| 0.00
8|2048| 11| 0.00| 0.00| 99.97
8|2052| 12| 0.00| 0.00| 99.70
8|2052| 13| 0.00| 0.00| 23.86
8|2052| 14| 0.00| 0.00| 113.1
8|2052| 15| 0.00| 0.00| 0.00
As can be seen it shows 2 columns for stop.
root@zz376p1:~# uname -a
Linux zz376p1 4.10.0-26-generic #30~16.04.1-Ubuntu SMP Tue Jun 27 09:38:48
UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
root@zz376p1:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
root@zz376p1:~# cat /proc/cpuinfo | tail
processor : 15
cpu : POWER9 (raw), altivec supported
clock : 2600.000000MHz
revision : 1.0 (pvr 004e 0100)
timebase : 512000000
platform : PowerNV
model : 8375-42A
machine : PowerNV 8375-42A
firmware : OPAL
Userspace tool common name: /usr/bin/cpupower
The userspace tool has the following bit modes: 64-bit
Userspace rpm: linux-tools-common
Userspace tool obtained from project website: na
*Additional Instructions for [email protected]:
-Post a private note with access information to the machine that the bug is
occuring on.
-Attach ltrace and strace of userspace application.
.
There are 3 idle_stats (3 states) in this system.
root@zz376p1:/sys/devices/system/cpu/cpu0/cpuidle/state2# cpupower monitor -l
Monitor "Idle_Stats" (3 states) - Might overflow after 4294967295 s
snoo [T] -> snooze
stop [T] -> stop0_lite
stop [T] -> stop1_lite
root@zz376p1:/sys/devices/system/cpu/cpu0/cpuidle/state2# cpupower idle-info
CPUidle driver: powernv_idle
CPUidle governor: menu
analyzing CPU 0:
Number of idle states: 3
Available idle states: snooze stop0_lite stop1_lite
snooze:
Flags/Description: snooze
Latency: 0
Usage: 224
Duration: 423
stop0_lite:
Flags/Description: stop0_lite
Latency: 0
Usage: 1685
Duration: 530522
stop1_lite:
Flags/Description: stop1_lite
Latency: 4
Usage: 12693
Duration: 5405898106
root@zz376p1:/sys/devices/system/cpu/cpu0/cpuidle/state2# cpupower monitor -l
Monitor "Idle_Stats" (3 states) - Might overflow after 4294967295 s
snoo [T] -> snooze
stop [T] -> stop0_lite
stop [T] -> stop1_lite
root@zz376p1:/sys/devices/system/cpu/cpu0/cpuidle/state2# cpupower idle-info
CPUidle driver: powernv_idle
CPUidle governor: menu
analyzing CPU 0:
Number of idle states: 3
Available idle states: snooze stop0_lite stop1_lite
snooze:
Flags/Description: snooze
Latency: 0
Usage: 272
Duration: 905
stop0_lite:
Flags/Description: stop0_lite
Latency: 0
Usage: 2141
Duration: 536399
stop1_lite:
Flags/Description: stop1_lite
Latency: 4
Usage: 15396
Duration: 6625668881
cpu monitor will print the results of all the 3 available idle_stats .
The first stop -> stop0_lite stats
and
The second stop -> stop1_lite stats.
cpupower monitor header prints the header list by getting the name of
the idle stats.
name (name description)
snoo [T] -> snooze
stop [T] -> stop0_lite
stop [T] -> stop1_lite
We can change the header to be more meaningful so user won't interpret
it as 2 columns for stop.
May be we need to change the code to print the header to use name description
instead of name.
.
I will work on the patch and get it resolve.
== Comment: #8 - PAVAMAN SUBRAMANIYAM <[email protected]> - 2017-06-30
03:42:01 ==
I have executed the command again with the fixed cpupower utility.
Submitted patch upstream and awaiting response.
https://lkml.org/lkml/2017/7/31/177
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1719545/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp