[Feature] RDT: Disable most RDT features on Skylake server

Bug #1713619 reported by quanxian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intel
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
High
Seth Forshee
Artful
Fix Released
High
Seth Forshee

Bug Description

Description:

There are serious errata in CMT, MBM and CAT sub-features of resource director technology. Disable these features by default on Skylake but provide a boot time argument to re-enable them for users who understand the errata and can use them for specific workloads.

Commit IDs:(4.14)
0576113a387e0c8a5d9e24b4cd62605d1c9c0db8
1d9807fc64c131a83a96917f2b2da1c9b00cf127
d56593eb5eda8f593db92927059697bbf89bc4b3

Target Release : 17.10
Target Kernel: 4.14

(Need backporting into 17.10 from 4.14 to 4.13)

CVE References

Revision history for this message
quanxian (quanxian-wang) wrote :

@Canonical, need backport.

information type: Proprietary → Public
Changed in linux (Ubuntu Artful):
status: New → Triaged
assignee: nobody → Seth Forshee (sforshee)
importance: Undecided → High
Revision history for this message
Seth Forshee (sforshee) wrote :

0576113a387e0c8a5d9e24b4cd62605d1c9c0db8 doesn't apply cleanly, and backporting to 4.13 is not trivial. Can Intel please advise whether we need to get additional commits?

Changed in linux (Ubuntu Artful):
status: Triaged → Incomplete
Revision history for this message
quanxian (quanxian-wang) wrote :

got that. Intel is working on that. Thx

Revision history for this message
pragyansri.pathi@intel.com (pragyan) wrote :

Pre-requisite changes:
5707b46a4206 x86/intel_rdt: Remove redundant ternary operator on return -> tip
24247aeeabe9 x86/intel_rdt/cqm: Improve limbo list processing -> tip
bbc4615e0b7d x86/intel_rdt/mbm: Fix MBM overflow handler during CPU hotplug -> tip
a9110b552d44 x86/intel_rdt: Modify the intel_pqr_state for better performance -> tip
eda61c265f36 x86/intel_rdt/cqm: Clear the default RMID during hotcpu -> tip
0dd2d7494cd8 x86/intel_rdt: Show bitmask of shareable resource with other executing units -> tip
e33026831bdb x86/intel_rdt/mbm: Handle counter overflow -> tip
a4de1dfdd726 x86/intel_rdt/mbm: Add mbm counter initialization -> tip
9f52425ba303 x86/intel_rdt/mbm: Basic counting of MBM events (total and local) -> tip
895c663ecef1 x86/intel_rdt/cqm: Add CPU hotplug support -> tip
748b6b881ccd x86/intel_rdt/cqm: Add sched_in support -> tip
4be6c078428b x86/intel_rdt: Introduce rdt_enable_key for scheduling -> tip
4af4a88e0c92 x86/intel_rdt/cqm: Add mount,umount support -> tip
f3cbeacaa06e x86/intel_rdt/cqm: Add rmdir support -> tip
f9049547f7e7 x86/intel_rdt: Separate the ctrl bits from rmdir -> tip
d89b7379015f x86/intel_rdt/cqm: Add mon_data -> tip
90c403e83101 x86/intel_rdt: Prepare for RDT monitor data support -> tip
a9fcf8627dc0 x86/intel_rdt/cqm: Add cpus file support -> tip
b09d981b3f34 x86/intel_rdt: Prepare to add RDT monitor cpus file support -> tip
d6aaba615a48 x86/intel_rdt/cqm: Add tasks file support -> tip
0734ded1abee x86/intel_rdt: Change closid type from int to u32 -> tip
c7d9aac61311 x86/intel_rdt/cqm: Add mkdir support for RDT monitoring -> tip
65b4f403057e x86/intel_rdt: Prepare for RDT monitoring mkdir support -> tip
d4ab33201029 x86/intel_rdt/cqm: Add info files for RDT monitoring -> tip
5dc1d5c6bac2 x86/intel_rdt: Simplify info and base file lists -> tip
edf6fa1c4a95 x86/intel_rdt/cqm: Add RMID (Resource monitoring ID) management -> tip
6a445edce657 x86/intel_rdt/cqm: Add RDT monitoring initialization -> tip
dd131853f3fb x86/intel_rdt: Make rdt_resources_all more readable -> tip
1b5c0b758317 x86/intel_rdt: Cleanup namespace to support RDT monitoring -> tip
cb2200e967c6 x86/intel_rdt: Mark rdt_root and closid_alloc as static -> tip
0583020456ce x86/intel_rdt: Change file names to accommodate RDT monitor code -> tip
f01d7d51f577 x86/intel_rdt: Introduce a common compile option for RDT -> tip
1640ae9471ae x86/intel_rdt/cqm: Documentation for resctrl based RDT Monitoring -> tip
c39a0e2c8850 x86/perf/cqm: Wipe out perf based cqm -> tip

Revision history for this message
quanxian (quanxian-wang) wrote :

Seems the patches are from https://bugs.launchpad.net/intel/+bug/1591609. So if you merge these patches into 17.10, 1591609 should be also done. :)

Seth Forshee (sforshee)
Changed in linux (Ubuntu Artful):
status: Incomplete → Fix Committed
Changed in intel:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (16.2 KiB)

This bug was fixed in the package linux - 4.13.0-15.16

---------------
linux (4.13.0-15.16) artful; urgency=low

  * linux: 4.13.0-15.16 -proposed tracker (LP: #1721373)

  * Boot regression on POWER9 (LP: #1721391)
    - Revert "crypto/nx: Add P9 NX support for 842 compression engine"
    - Revert "crypto/nx: Add P9 NX specific error codes for 842 engine"
    - Revert "crypto/nx: Use kzalloc for workmem allocation"
    - Revert "crypto/nx: Add nx842_add_coprocs_list function"
    - Revert "crypto/nx: Create nx842_delete_coprocs function"
    - Revert "crypto/nx: Create nx842_configure_crb function"
    - Revert "crypto/nx: Rename nx842_powernv_function as icswx function"
    - Revert "UBUNTU: [Config] CONFIG_PPC_VAS=y"
    - Revert "powerpc/powernv/vas: Define copy/paste interfaces"
    - Revert "powerpc/powernv/vas: Define vas_tx_win_open()"
    - Revert "powerpc/powernv/vas: Define vas_win_close() interface"
    - Revert "powerpc/powernv/vas: Define vas_rx_win_open() interface"
    - Revert "powerpc/powernv/vas: Define helpers to alloc/free windows"
    - Revert "powerpc/powernv/vas: Define helpers to init window context"
    - Revert "powerpc/powernv/vas: Define helpers to access MMIO regions"
    - Revert "powerpc/powernv/vas: Define vas_init() and vas_exit()"
    - Revert "powerpc/powernv: Move GET_FIELD/SET_FIELD to vas.h"
    - Revert "powerpc/powernv/vas: Define macros, register fields and structures"
    - Revert "powerpc/powernv: Enable PCI peer-to-peer"
    - Revert "powerpc/powernv: Add support to set power-shifting-ratio"
    - Revert "powerpc/powernv: Add support for powercap framework"
    - Revert "powerpc/perf: Add nest IMC PMU support"
    - Revert "powerpc/powernv: Detect and create IMC device"
    - Revert "powerpc/powernv: Add IMC OPAL APIs"

  * smartpqi patches for Artful (LP: #1721381)
    - scsi: smartpqi: add pqi reset quiesce support
    - scsi: smartpqi: enhance BMIC cache flush
    - scsi: smartpqi: update pqi passthru ioctl
    - scsi: smartpqi: cleanup doorbell register usage.
    - scsi: smartpqi: update kexec and power down support
    - scsi: smartpqi: add in new controller ids
    - scsi: smartpqi: change driver version to 1.1.2-125

  * CONFIG_DEBUG_FS is not enabled by "make zfcpdump_defconfig" with Ubuntu
    17.10 (kernel 4.13) (LP: #1719290)
    - SAUCE: s390: update zfcpdump_defconfig

  * [Feature] PXE boot with Intel Omni-Path (LP: #1712031)
    - d-i: Add hfi1 to nic-modules

  * [Feature]CNL:New device IDs for CNL (LP: #1685729)
    - pinctrl: intel: Add Intel Cannon Lake PCH-H pin controller support

linux (4.13.0-14.15) artful; urgency=low

  * linux: 4.13.0-14.15 -proposed tracker (LP: #1721122)

  * [Artful] ltp rwtest - Unable to handle kernel paging request at virtual
    address (LP: #1721067)
    - arm64: mm: Use READ_ONCE when dereferencing pointer to pte table

  * linux 4.13.0-13.14 ADT test failure with linux 4.13.0-13.14 (LP: #1720779)
    - SAUCE: LSM stacking: check for invalid zero sized writes

  * Add installer support for Broadcom BCM573xx network drivers. (LP: #1720466)
    - d-i: Add bnxt_en to nic-modules.

  * Miscellaneous Ubuntu changes
    - [Packaging] Include arch/arm6...

Changed in linux (Ubuntu Artful):
status: Fix Committed → Fix Released
Changed in intel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.