linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: x86-ml <x86@kernel.org>, lkml <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] x86/cpu for v6.2
Date: Tue, 13 Dec 2022 15:01:16 +0100	[thread overview]
Message-ID: <Y5iFrMDV+YOdncjA@zn.tnic> (raw)

Hi Linus,

please pull the x86/cpu pile of changes for 6.2.

Thx.

---

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_cpu_for_v6.2

for you to fetch changes up to 7882b69eb6cdf6288a89d831d95c8547400a8b4d:

  x86/mtrr: Make message for disabled MTRRs more descriptive (2022-12-05 11:08:25 +0100)

----------------------------------------------------------------
- Split MTRR and PAT init code to accomodate at least Xen PV and TDX
guests which do not get MTRRs exposed but only PAT. (TDX guests do not
support the cache disabling dance when setting up MTRRs so they fall
under the same category.) This is a cleanup work to remove all the ugly
workarounds for such guests and init things separately (Juergen Gross)

- Add two new Intel CPUs to the list of CPUs with "normal" Energy
Performance Bias, leading to power savings

- Do not do bus master arbitration in C3 (ARB_DISABLE) on modern Centaur
CPUs

----------------------------------------------------------------
Borislav Petkov (2):
      x86/bugs: Use sysfs_emit()
      x86/cpuid: Carve out all CPUID functionality

Juergen Gross (22):
      x86/mtrr: Add comment for set_mtrr_state() serialization
      x86/mtrr: Remove unused cyrix_set_all() function
      x86/mtrr: Replace use_intel() with a local flag
      x86/mtrr: Rename prepare_set() and post_set()
      x86/mtrr: Split MTRR-specific handling from cache dis/enabling
      x86/mtrr: Move cache control code to cacheinfo.c
      x86/mtrr: Disentangle MTRR init from PAT init
      x86/mtrr: Remove set_all callback from struct mtrr_ops
      x86/mtrr: Simplify mtrr_bp_init()
      x86/mtrr: Get rid of __mtrr_enabled bool
      x86/mtrr: Let cache_aps_delayed_init replace mtrr_aps_delayed_init
      x86/mtrr: Add a stop_machine() handler calling only cache_cpu_init()
      x86: Decouple PAT and MTRR handling
      x86/cacheinfo: Switch cache_ap_init() to hotplug callback
      x86/mtrr: Simplify mtrr_ops initialization
      x86/cpufeatures: Add X86_FEATURE_XENPV to disabled-features.h
      x86/cpu: Remove unneeded 64-bit dependency in arch_enter_from_user_mode()
      x86/cpu: Drop 32-bit Xen PV guest code in update_task_stack()
      x86/cpu: Remove X86_FEATURE_XENPV usage in setup_cpu_entry_area()
      x86/cpu: Switch to cpu_feature_enabled() for X86_FEATURE_XENPV
      x86/pat: Handle TDX guest PAT initialization
      x86/mtrr: Make message for disabled MTRRs more descriptive

Srinivas Pandruvada (1):
      x86/intel_epb: Set Alder Lake N and Raptor Lake P normal EPB

Tony W Wang-oc (1):
      x86/acpi/cstate: Optimize ARB_DISABLE on Centaur CPUs

 arch/x86/include/asm/cacheinfo.h         |  13 +++
 arch/x86/include/asm/cpuid.h             | 141 +++++++++++++++++++++++-
 arch/x86/include/asm/disabled-features.h |   8 +-
 arch/x86/include/asm/entry-common.h      |   4 +-
 arch/x86/include/asm/memtype.h           |   5 +-
 arch/x86/include/asm/msr-index.h         |   1 +
 arch/x86/include/asm/mtrr.h              |  16 +--
 arch/x86/include/asm/processor.h         | 133 +----------------------
 arch/x86/include/asm/switch_to.h         |   7 +-
 arch/x86/kernel/acpi/cstate.c            |  24 +++--
 arch/x86/kernel/cpu/amd.c                |   2 +-
 arch/x86/kernel/cpu/bugs.c               | 105 +++++++++---------
 arch/x86/kernel/cpu/cacheinfo.c          | 179 +++++++++++++++++++++++++++++++
 arch/x86/kernel/cpu/common.c             |   2 +-
 arch/x86/kernel/cpu/hygon.c              |   2 +-
 arch/x86/kernel/cpu/intel_epb.c          |   7 +-
 arch/x86/kernel/cpu/mtrr/amd.c           |   8 +-
 arch/x86/kernel/cpu/mtrr/centaur.c       |   8 +-
 arch/x86/kernel/cpu/mtrr/cyrix.c         |  42 +-------
 arch/x86/kernel/cpu/mtrr/generic.c       | 107 ++----------------
 arch/x86/kernel/cpu/mtrr/mtrr.c          | 173 ++++-------------------------
 arch/x86/kernel/cpu/mtrr/mtrr.h          |  15 +--
 arch/x86/kernel/process_64.c             |   4 +-
 arch/x86/kernel/setup.c                  |  14 +--
 arch/x86/kernel/smpboot.c                |   9 +-
 arch/x86/kernel/topology.c               |   2 +-
 arch/x86/mm/cpu_entry_area.c             |   8 +-
 arch/x86/mm/pat/memtype.c                | 157 ++++++++++-----------------
 arch/x86/power/cpu.c                     |   3 +-
 include/linux/cpuhotplug.h               |   1 +
 30 files changed, 538 insertions(+), 662 deletions(-)

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

             reply	other threads:[~2022-12-13 14:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-13 14:01 Borislav Petkov [this message]
2022-12-13 23:31 ` [GIT PULL] x86/cpu for v6.2 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y5iFrMDV+YOdncjA@zn.tnic \
    --to=bp@alien8.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).