This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository linux.
from d08c407f715f Merge tag 'timers-core-2024-03-10' of git://git.kernel.org [...] new 43d86e3cd9a7 x86/cpu: Provide cpuid_read() et al. new ebdb20361059 x86/cpu: Provide cpu_init/parse_topology() new bda74aae2008 x86/cpu: Add legacy topology parser new 598e719c40d6 x86/cpu: Use common topology code for Centaur and Zhaoxin new 92853a7774f9 x86/cpu: Move __max_die_per_package to common.c new 3d4100942522 x86/cpu: Provide a sane leaf 0xb/0x1f parser new 22d63660c35e x86/cpu: Use common topology code for Intel new 7e3ec6286753 x86/cpu/amd: Provide a separate accessor for Node ID new f7fb3b2dd92c x86/cpu: Provide an AMD/HYGON specific topology parser new ace278e7eca6 x86/smpboot: Teach it about topo.amd_node_id new c749ce393b8f x86/cpu: Use common topology code for AMD new 3279081dd0cb x86/cpu: Use common topology code for HYGON new d805a6916037 x86/mm/numa: Use core domain size on AMD new 03fa6bea5a3e x86/cpu: Make topology_amd_node_id() use the actual node info new 6cf70394e720 x86/cpu: Remove topology.c new fab75e790f00 x86/cpu: Remove x86_coreid_bits new 035fc90a9d8f x86/apic: Remove unused phys_pkg_id() callback new d5474e4d2c91 x86/xen/smp_pv: Remove cpudata fiddling new bcccdf8b3073 x86/apic/uv: Remove the private leaf 0xb parser new 52128a7a21f7 x86/cpu/topology: Make the APIC mismatch warnings complete new 490cc3c5e724 x86/platform/ce4100: Dont override x86_init.mpparse.setup_ [...] new 2ac9e529d76a x86/ioapic: Replace some more set bit nonsense new 517234446c1a x86/apic: Get rid of get_physical_broadcast() new 533535afc079 x86/ioapic: Make io_apic_get_unique_id() simpler new 4b99e735a5c6 x86/ioapic: Simplify setup_ioapic_ids_from_mpc_nocheck() new 3e48d804c8ea x86/apic: Remove check_apicid_used() and ioapic_phys_id_map() new e061c7ae0830 x86/mpparse: Rename default_find_smp_config() new fc60fd009c83 x86/mpparse: Provide separate early/late callbacks new d0a85126b137 x86/mpparse: Prepare for callback separation new 5faf8ec77111 x86/dtb: Rename x86_dtb_init() new fe280ffd7eab x86/platform/ce4100: Prepare for separate mpparse callbacks new a626ded4e308 x86/platform/intel-mid: Prepare for separate mpparse callbacks new 30c928691ce1 x86/jailhouse: Prepare for separate mpparse callbacks new 0baf4d485cbe x86/xen/smp_pv: Prepare for separate mpparse callbacks new c22e19cd2c8a x86/hyperv/vtl: Prepare for separate mpparse callbacks new dcb7600849ce x86/mpparse: Switch to new init callbacks new de6aec241750 x86/mm/numa: Move early mptable evaluation into common code new 350b5e2730d1 x86/mpparse: Remove the physid_t bitmap wrapper new 58d16928358f x86/apic: Remove the pointless writeback of boot_cpu_physi [...] new 4a5f72a4a39f x86/apic: Remove yet another dubious callback new 1a5d0f62d10d x86/apic: Use a proper define for invalid ACPI CPU ID new c0a66c284790 x86/cpu/topology: Move registration out of APIC code new 4176b541c2c6 x86/cpu/topology: Provide separate APIC registration functions new ff37b09c8495 x86/acpi: Use new APIC registration functions new 8cd01c8a68b0 x86/jailhouse: Use new APIC registration function new 7d319c0fcae6 x86/of: Use new APIC registration functions new 8098428c5412 x86/mpparse: Use new APIC registration function new cab8e164a49c x86/acpi: Dont invoke topology_register_apic() for XEN PV new e75307023466 x86/xen/smp_pv: Register fake APICs new 58aa34abe995 x86/cpu/topology: Confine topology information new 4c4c6f38704a x86/cpu/topology: Simplify APIC registration new 72530464ed60 x86/cpu/topology: Use a data structure for topology info new 6055f6cf0d46 x86/smpboot: Make error message actually useful new 0e53e7b656cf x86/cpu/topology: Sanitize the APIC admission logic new 7c0edad3643f x86/cpu/topology: Rework possible CPU management new 5c5682b9f87a x86/cpu: Detect real BSP on crash kernels new f1f758a80516 x86/topology: Add a mechanism to track topology via APIC IDs new 7cdcdab1a660 x86/cpu/topology: Reject unknown APIC IDs on ACPI hotplug new ea2dd8a5d436 x86/cpu/topology: Assign hotpluggable CPUIDs during init new c8f808231f1f x86/xen/smp_pv: Count number of vCPUs early new 354da4cf57af x86/cpu/topology: Let XEN/PV use topology from CPUID/MADT new 090610ba704a x86/cpu/topology: Use topology bitmaps for sizing new 882e0cff9ef3 x86/cpu/topology: Mop up primary thread mask handling new 5e40fb2d4a4c x86/cpu/topology: Simplify cpu_mark_primary_thread() new b7065f4f844c x86/cpu/topology: Provide logical pkg/die mapping new 380414be78bf x86/cpu/topology: Use topology logical mapping mechanism new 3205c9833d69 x86/cpu/topology: Retrieve cores per package from topology [...] new 8078f4d6102f x86/cpu/topology: Rename smp_num_siblings new bd745d1c41e7 x86/cpu/topology: Rename topology_max_die_per_package() new fd43b8ae76e9 x86/cpu/topology: Provide __num_[cores|threads]_per_package new 89b0f15f408f x86/cpu/topology: Get rid of cpuinfo::x86_max_cores new 4c8a49854130 smp: Avoid 'setup_max_cpus' namespace collision/shadowing new 3c2f8859ae1c smp: Provide 'setup_max_cpus' definition on UP too new 6be4ec29685c x86/apic: Build the x86 topology enumeration functions on [...] new 8009479ee919 x86/bugs: Use fixed addressing for VERW operand new 9b9c280b9af2 Merge branch 'x86/urgent' into x86/apic, to resolve conflicts new f0551af02130 x86/topology: Ignore non-present APIC IDs in a present package new ca7e91776912 Merge tag 'x86-apic-2024-03-10' of git://git.kernel.org/pu [...] new a4cb5ece1458 x86/cpufeatures,opcode,msr: Add the WRMSRNS instruction support new 3167b37f82ea x86/entry: Remove idtentry_sysvec from entry_{32,64}.S new 8df719341e85 x86/trapnr: Add event type macros to <asm/trapnr.h> new 51383e741b41 Documentation/x86/64: Add documentation for FRED new 2cce95918d63 x86/fred: Add Kconfig option for FRED (CONFIG_X86_FRED) new 51c158f7aacc x86/cpufeatures: Add the CPU feature bit for FRED new e554a8ca49d6 x86/fred: Disable FRED support if CONFIG_X86_FRED is disabled new 3810da12710a x86/fred: Add a fred= cmdline param new 0115f8b1a26e x86/opcode: Add ERET[US] instructions to the x86 opcode map new cd19bab825bd x86/objtool: Teach objtool about ERET[US] new ff45746fbf00 x86/cpu: Add X86_CR4_FRED macro new cd6df3f378f6 x86/cpu: Add MSR numbers for FRED configuration new ee63291aa828 x86/ptrace: Cleanup the definition of the pt_regs structure new 3c77bf02d0c0 x86/ptrace: Add FRED additional information to the pt_regs [...] new 32b09c230392 x86/fred: Add a new header file for FRED definitions new 65c9cc9e2c14 x86/fred: Reserve space for the FRED stack frame new 9356c4b8886c x86/fred: Update MSR_IA32_FRED_RSP0 during task switch new 09794f68936a x86/fred: Disallow the swapgs instruction when FRED is enabled new df8838737b36 x86/fred: No ESPFIX needed when FRED is enabled new ad41a14cc2d6 x86/fred: Allow single-step trap and NMI when starting a new task new 58c80cc55e07 x86/fred: Make exc_page_fault() work for FRED new 90f357208200 x86/idtentry: Incorporate definitions/declarations of the [...] new 99fcc968e7c4 x86/fred: Add a debug fault entry stub for FRED new f8b8ee45f82b x86/fred: Add a NMI entry stub for FRED new ffa4901f0e00 x86/fred: Add a machine check entry stub for FRED new 14619d912b65 x86/fred: FRED entry/exit and dispatch code new 8f4a29b0e8a4 x86/traps: Add sysvec_install() to install a system interr [...] new 51ef2a4da7ec x86/fred: Let ret_from_fork_asm() jmp to asm_fred_exit_use [...] new 5105e7687ad3 x86/fred: Fixup fault on ERETU by jumping to fred_entrypoint_user new 2333f3c473c1 x86/entry/calling: Allow PUSH_AND_CLEAR_REGS being used be [...] new 2e670358ec18 x86/entry: Add fred_entry_from_kvm() for VMX to handle IRQ/NMI new 70d0fe5d0923 KVM: VMX: Call fred_entry_from_kvm() for IRQ/NMI handling new 530dce278aff x86/syscall: Split IDT syscall setup code into idt_syscall_init() new cdd99dd873cb x86/fred: Add FRED initialization functions new 208d8c79fd0f x86/fred: Invoke FRED initialization code to enable FRED new cba9ff334511 x86/fred: Fix a build warning with allmodconfig due to 'in [...] new e13841907b8f MAINTAINERS: Add a maintainer entry for FRED new c416b5bac6ad x86/fred: Fix init_task thread stack pointer initialization new 720c85790753 Merge tag 'x86-fred-2024-03-10' of git://git.kernel.org/pu [...] new bb998361999e x86/entry: Avoid redundant CR3 write on paranoid returns new 86833aec4479 Merge tag 'x86-entry-2024-03-11' of git://git.kernel.org/p [...]
The 119 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: Documentation/admin-guide/kdump/kdump.rst | 7 +- Documentation/admin-guide/kernel-parameters.txt | 15 +- Documentation/arch/x86/topology.rst | 24 +- Documentation/arch/x86/x86_64/fred.rst | 96 ++++ Documentation/arch/x86/x86_64/index.rst | 1 + MAINTAINERS | 10 + arch/x86/Kconfig | 9 + arch/x86/entry/Makefile | 5 +- arch/x86/entry/calling.h | 41 +- arch/x86/entry/entry_32.S | 4 - arch/x86/entry/entry_64.S | 21 +- arch/x86/entry/entry_64_fred.S | 131 +++++ arch/x86/entry/entry_fred.c | 294 +++++++++++ arch/x86/entry/vsyscall/vsyscall_64.c | 2 +- arch/x86/events/amd/core.c | 2 +- arch/x86/events/intel/cstate.c | 2 +- arch/x86/events/intel/uncore.c | 2 +- arch/x86/events/intel/uncore_nhmex.c | 4 +- arch/x86/events/intel/uncore_snb.c | 8 +- arch/x86/events/intel/uncore_snbep.c | 18 +- arch/x86/events/rapl.c | 2 +- arch/x86/hyperv/hv_vtl.c | 5 +- arch/x86/include/asm/apic.h | 22 +- arch/x86/include/asm/asm-prototypes.h | 1 + arch/x86/include/asm/barrier.h | 2 +- arch/x86/include/asm/cpu.h | 10 +- arch/x86/include/asm/cpufeatures.h | 2 + arch/x86/include/asm/cpuid.h | 36 ++ arch/x86/include/asm/desc.h | 2 - arch/x86/include/asm/disabled-features.h | 8 +- arch/x86/include/asm/extable_fixup_types.h | 4 +- arch/x86/include/asm/fred.h | 97 ++++ arch/x86/include/asm/ia32.h | 4 +- arch/x86/include/asm/idtentry.h | 88 +++- arch/x86/include/asm/io_apic.h | 1 - arch/x86/include/asm/mpspec.h | 66 +-- arch/x86/include/asm/msr-index.h | 13 +- arch/x86/include/asm/msr.h | 18 + arch/x86/include/asm/nospec-branch.h | 2 +- arch/x86/include/asm/perf_event_p4.h | 4 +- arch/x86/include/asm/processor.h | 15 +- arch/x86/include/asm/prom.h | 4 +- arch/x86/include/asm/ptrace.h | 104 +++- arch/x86/include/asm/smp.h | 6 - arch/x86/include/asm/switch_to.h | 8 +- arch/x86/include/asm/thread_info.h | 12 +- arch/x86/include/asm/topology.h | 90 +++- arch/x86/include/asm/trapnr.h | 12 + arch/x86/include/asm/vmx.h | 17 +- arch/x86/include/asm/x86_init.h | 10 +- arch/x86/include/uapi/asm/processor-flags.h | 7 + arch/x86/kernel/Makefile | 1 + arch/x86/kernel/acpi/boot.c | 59 +-- arch/x86/kernel/amd_nb.c | 4 +- arch/x86/kernel/apic/apic.c | 207 +------- arch/x86/kernel/apic/apic_common.c | 15 - arch/x86/kernel/apic/apic_flat_64.c | 16 - arch/x86/kernel/apic/apic_noop.c | 5 - arch/x86/kernel/apic/apic_numachip.c | 19 - arch/x86/kernel/apic/bigsmp_32.c | 20 - arch/x86/kernel/apic/io_apic.c | 92 ++-- arch/x86/kernel/apic/local.h | 5 - arch/x86/kernel/apic/probe_32.c | 9 - arch/x86/kernel/apic/x2apic_cluster.c | 4 - arch/x86/kernel/apic/x2apic_phys.c | 12 - arch/x86/kernel/apic/x2apic_uv_x.c | 69 +-- arch/x86/kernel/cpu/Makefile | 15 +- arch/x86/kernel/cpu/acrn.c | 4 +- arch/x86/kernel/cpu/amd.c | 146 ------ arch/x86/kernel/cpu/cacheinfo.c | 8 +- arch/x86/kernel/cpu/centaur.c | 4 - arch/x86/kernel/cpu/common.c | 169 ++---- arch/x86/kernel/cpu/cpu.h | 13 +- arch/x86/kernel/cpu/cpuid-deps.c | 2 + arch/x86/kernel/cpu/debugfs.c | 47 +- arch/x86/kernel/cpu/hygon.c | 129 ----- arch/x86/kernel/cpu/intel.c | 25 - arch/x86/kernel/cpu/mce/amd.c | 4 +- arch/x86/kernel/cpu/mce/core.c | 26 + arch/x86/kernel/cpu/mce/inject.c | 8 +- arch/x86/kernel/cpu/microcode/intel.c | 2 +- arch/x86/kernel/cpu/mshyperv.c | 15 +- arch/x86/kernel/cpu/topology.c | 573 ++++++++++++++++----- arch/x86/kernel/cpu/topology.h | 67 +++ arch/x86/kernel/cpu/topology_amd.c | 183 +++++++ arch/x86/kernel/cpu/topology_common.c | 218 ++++++++ arch/x86/kernel/cpu/topology_ext.c | 130 +++++ arch/x86/kernel/cpu/zhaoxin.c | 4 - arch/x86/kernel/devicetree.c | 4 +- arch/x86/kernel/espfix_64.c | 8 + arch/x86/kernel/fred.c | 59 +++ arch/x86/kernel/head_64.S | 3 +- arch/x86/kernel/idt.c | 4 +- arch/x86/kernel/irqinit.c | 7 +- arch/x86/kernel/jailhouse.c | 30 +- arch/x86/kernel/kvm.c | 2 +- arch/x86/kernel/mpparse.c | 31 +- arch/x86/kernel/nmi.c | 42 ++ arch/x86/kernel/process.c | 2 +- arch/x86/kernel/process_64.c | 67 ++- arch/x86/kernel/setup.c | 27 +- arch/x86/kernel/smpboot.c | 233 +-------- arch/x86/kernel/traps.c | 74 ++- arch/x86/kernel/vsmp_64.c | 13 - arch/x86/kernel/x86_init.c | 5 +- arch/x86/kvm/vmx/vmx.c | 12 +- arch/x86/lib/x86-opcode-map.txt | 4 +- arch/x86/mm/amdtopology.c | 34 +- arch/x86/mm/extable.c | 78 +++ arch/x86/mm/fault.c | 5 +- arch/x86/platform/ce4100/ce4100.c | 14 +- arch/x86/platform/intel-mid/intel-mid.c | 5 +- arch/x86/xen/apic.c | 27 +- arch/x86/xen/enlighten_hvm.c | 2 +- arch/x86/xen/enlighten_pv.c | 3 + arch/x86/xen/smp.c | 2 - arch/x86/xen/smp.h | 2 + arch/x86/xen/smp_pv.c | 69 ++- arch/x86/xen/xen-head.S | 2 +- drivers/edac/amd64_edac.c | 4 +- drivers/edac/mce_amd.c | 4 +- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 2 +- drivers/hwmon/coretemp.c | 2 +- drivers/hwmon/fam15h_power.c | 2 +- .../x86/intel/uncore-frequency/uncore-frequency.c | 2 +- drivers/powercap/intel_rapl_common.c | 2 +- drivers/thermal/intel/intel_hfi.c | 2 +- drivers/thermal/intel/intel_powerclamp.c | 2 +- drivers/thermal/intel/x86_pkg_temp_thermal.c | 2 +- drivers/xen/events/events_base.c | 2 +- include/linux/cpu.h | 2 +- include/linux/smp.h | 2 + init/main.c | 1 - kernel/cpu.c | 6 +- tools/arch/x86/include/asm/cpufeatures.h | 2 + tools/arch/x86/include/asm/disabled-features.h | 8 +- tools/arch/x86/include/asm/msr-index.h | 13 +- tools/arch/x86/lib/x86-opcode-map.txt | 4 +- tools/objtool/arch/x86/decode.c | 19 +- 139 files changed, 2940 insertions(+), 1710 deletions(-) create mode 100644 Documentation/arch/x86/x86_64/fred.rst create mode 100644 arch/x86/entry/entry_64_fred.S create mode 100644 arch/x86/entry/entry_fred.c create mode 100644 arch/x86/include/asm/fred.h create mode 100644 arch/x86/kernel/cpu/topology.h create mode 100644 arch/x86/kernel/cpu/topology_amd.c create mode 100644 arch/x86/kernel/cpu/topology_common.c create mode 100644 arch/x86/kernel/cpu/topology_ext.c create mode 100644 arch/x86/kernel/fred.c