Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp738205lqe; Sun, 7 Apr 2024 01:15:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWjGJUE5OhhJldMfgGteXxod+EAGQHVRhoMqoMqN22p8bOG1DrFaRxBVk4I9qkgg0BUu5htryrUqlwiHH2PUtu95eIUEjnmpwndLrH6ow== X-Google-Smtp-Source: AGHT+IHoTuT40mPLPhmYulmnI/OrzLRDcXlGdAF1z7hUGnwQ2glF354JaxkG5BeHYC3P7CXAAEEy X-Received: by 2002:a17:902:e885:b0:1dd:dcd3:662c with SMTP id w5-20020a170902e88500b001dddcd3662cmr9660520plg.4.1712477732313; Sun, 07 Apr 2024 01:15:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712477732; cv=pass; d=google.com; s=arc-20160816; b=NHOv+uvQdZ6Cou2dKX7CWViU8qkj21JKmLPVBkfJHn6cyWHy/FuLF0ENEubloj2WTM xfeB6WRsMW4V5D8B5Yyb48+ElY2ld09+2/Oa1qnamUvERl+Ux+goWzsPbhUi7xAVXiH0 X964jKgEMnmj+162/T46HNuu8qV3P10T+lwjBx3ZRQ1xzolYQlbFoLGVUTOAMegphoI1 yuGIA7fHH50/mSbbH7K3qYQvI9D28T/mu8kcCRQ17gaou+6aJ9pPnd5WqBna7XLPW1LD 6h3Pru/wBHD4b+t4H+FIWZMo2y5j3y077SiLYegcmx/U9/f5Z4rhDDIbIkovSlkUIDIn 0+7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:message-id:subject:cc:to:from:date :sender:dkim-signature; bh=Wfc4d3QxGPJWsmODhOZ8rFenRoR734rTYSVJJP+CTL8=; fh=UANtPEHvdzu+w/ugxNm2NYr4kSF2sDiQ8QW/5S+EVYQ=; b=gs2P8f7qWGDcL7sfyjv6Z1i2VvIGWooST48SOe+LS8gTxGW5phAiVr6MjI2FsTpzrP yLHhK3MdlucznVNUzte98uE/jTkzQ54vEm2V2xu0fv6ewDVtsGn5uo3qeTZLKsDXSq/n EOP93M0lAAB3CdA9Hoq15+a8XT4xxz8qhjTPWWGQndEPozUaq9ymPk/MNoge1Sq4/bZi q/9PLbPn+hWjb+nJl3e6lBAwmcbCKev+8xbQe84kHprLXTSk0gDHUMBiU/xtcTTZVLEn dDmTX/mYjvZqOi9hLaGhp+gZMghN4RWwQsT1C34YUajY/XIC4uznq2ksQxkMUjPqmyHV kHIQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gvGvCYWJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-134251-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134251-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i12-20020a17090332cc00b001e208929fa5si4343249plr.538.2024.04.07.01.15.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 01:15:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134251-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gvGvCYWJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-134251-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134251-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9B4A6B20FED for ; Sun, 7 Apr 2024 08:15:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFE001118B; Sun, 7 Apr 2024 08:15:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gvGvCYWJ" Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 638F310A14 for ; Sun, 7 Apr 2024 08:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712477722; cv=none; b=f3+3u0rB0SiKOulKlgVpdInUFjlBJMpUdmXvzfwKKmckWf+Thk52Fe+KRlQMz0B3A0hMI7R1UJ1Pi6ZTvPmMWRGybQeniE8+SNc8OTB0XvOFGQ4fhJPGcAoYeb1OUVs2raSAsQvfFlDg9RxR21170/1kBIkhElKbkfNrIe/9gZM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712477722; c=relaxed/simple; bh=2d+Qqt0GWbCaMMFlBmk+zlu2fatfrTl5Fn7c/bcNO+Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition; b=X2uF+s8AQIPDjrUmFGysC6/2JV5CwLjxhnz7SDcqSlMhnbQtdKdqTeextIAM2marpflFUwhfuoTmxd29CduKNZmoSSSfryb8VT9RG8Pt1umClMzwuvmzIhsCU4GNpE7FYdAYfPHU3UFYXKUyGBdG7rAoLB1kAThCXaom9zPu5xs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gvGvCYWJ; arc=none smtp.client-ip=209.85.208.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2d858501412so42146341fa.0 for ; Sun, 07 Apr 2024 01:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712477716; x=1713082516; darn=vger.kernel.org; h=content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:from:to:cc:subject:date:message-id:reply-to; bh=Wfc4d3QxGPJWsmODhOZ8rFenRoR734rTYSVJJP+CTL8=; b=gvGvCYWJGMnTXaMNUPxcfQQcZPBpT1CLxHuAtn9enNbNy3jfOzaAh7S5YjNYGkYoTU n7k6ejv1bAwHyvOJz9D/BQxix+pKvMVjBDVzILQQ5fqaey02mZXQ0zpfVbxed3mJdJp7 hpCXwHdnADObZuGtCHBW0BYwTqs2H5jqDWzLtN3gQORIBDlH86JCfj2Tt7Qnfq8XeCJ+ 0jUTO1dKRa1uo+UClsO66CuBQn8Qy6hNXzzhjlmItJXT1OwFtnaiVB4U1gWoV+xm1jTw z7V/oJPwy4gCn1aneG2nDB+5yMe+jKY7r239cj/Y+yvwW6WqzY0Cew/0KKRep67LQL6y wPDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712477716; x=1713082516; h=content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Wfc4d3QxGPJWsmODhOZ8rFenRoR734rTYSVJJP+CTL8=; b=qNDxxNkEvEWQQR22OUNAQEZAJQJcV8qm+ZfwmPFPS/MlObmwqtkcMBX+HC29DwltOg IkDkssRfhcfR6Ey97+CGaHLfQw2G7ATdNkUkJYC8ZRsFILsmJBnEAbQe/XFgHDGIJwE0 jhWNAY9heE3Rhc45TsZvEgOnT4dZJbOkdDCCiUrLdK+7IZFOths3bqZdm10UmMT4N3Pa 5T8QsbbFj2E7oIqURBNjqzMMBhcgpsioqUYTra1Du/uJev65WZpQDgbVKYgOWvzE+i42 IrEPULEJwIhjm195REvCXcoxst3XtSEsnmZYkmGeAB2pUYpfax24oHtO3CtyCuV3k8h2 QPRA== X-Gm-Message-State: AOJu0YxLk31D9WpytoHL3roMeV994VXsCv4hacPdjUvmaTIRxgmWY2Ki R6b6YM0uNgs9b7JmO5Jwh/UalQZXwHbktYhQ0DjscKhEIwPXTL9b X-Received: by 2002:a2e:6a17:0:b0:2d8:6725:e9c2 with SMTP id f23-20020a2e6a17000000b002d86725e9c2mr4284809ljc.28.1712477715968; Sun, 07 Apr 2024 01:15:15 -0700 (PDT) Received: from gmail.com (84-236-113-28.pool.digikabel.hu. [84.236.113.28]) by smtp.gmail.com with ESMTPSA id o6-20020a05600c4fc600b0041663450a4asm610733wmq.45.2024.04.07.01.15.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 01:15:15 -0700 (PDT) Sender: Ingo Molnar Date: Sun, 7 Apr 2024 10:15:13 +0200 From: Ingo Molnar To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Borislav Petkov , Dave Hansen , Peter Zijlstra , Andrew Morton , "H. Peter Anvin" , x86@kernel.org Subject: [GIT PULL] x86 fixes Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Linus, Please pull the latest x86/urgent Git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2024-04-07 # HEAD: b377c66ae3509ccea596512d6afb4777711c4870 x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk Miscellaneous x86 fixes: - Fix MCE timer reinit locking - Fix/improve CoCo guest random entropy pool init - Fix SEV-SNP late disable bugs - Fix false positive objtool build warning - Fix header dependency bug - Fix resctrl CPU offlining bug Thanks, Ingo ------------------> Arnd Bergmann (1): x86/numa/32: Include missing Borislav Petkov (AMD) (5): x86/kvm/Kconfig: Have KVM_AMD_SEV select ARCH_HAS_CC_PLATFORM x86/cc: Add cc_platform_set/_clear() helpers x86/CPU/AMD: Track SNP host status with cc_platform_*() x86/mce: Make sure to grab mce_sysfs_mutex in set_bank() x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk Jason A. Donenfeld (1): x86/coco: Require seeding RNG with RDRAND on CoCo systems Reinette Chatre (1): x86/resctrl: Fix uninitialized memory read when last CPU of domain goes offline arch/x86/coco/core.c | 93 ++++++++++++++++++++++++++++++++++ arch/x86/include/asm/coco.h | 2 + arch/x86/include/asm/sev.h | 4 +- arch/x86/kernel/cpu/amd.c | 38 ++++++++------ arch/x86/kernel/cpu/mce/core.c | 4 +- arch/x86/kernel/cpu/mtrr/generic.c | 2 +- arch/x86/kernel/cpu/resctrl/internal.h | 3 +- arch/x86/kernel/setup.c | 2 + arch/x86/kernel/sev.c | 10 ---- arch/x86/kvm/Kconfig | 1 + arch/x86/kvm/svm/sev.c | 2 +- arch/x86/lib/retpoline.S | 1 + arch/x86/mm/numa_32.c | 1 + arch/x86/virt/svm/sev.c | 26 +++++++--- drivers/crypto/ccp/sev-dev.c | 2 +- drivers/iommu/amd/init.c | 4 +- include/linux/cc_platform.h | 12 +++++ 17 files changed, 166 insertions(+), 41 deletions(-)