From patchwork Sun Feb 11 10:41:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 199406 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1866259dyd; Sun, 11 Feb 2024 02:42:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IHnXx7lW2+aeLEjVNck9UhiwEFX+sb6yv131hjV4O3Jjr4DnPtcQWRWakZZBUYQCJ9kQ09n X-Received: by 2002:a05:6808:144b:b0:3c0:2b95:2108 with SMTP id x11-20020a056808144b00b003c02b952108mr4463356oiv.29.1707648143541; Sun, 11 Feb 2024 02:42:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707648143; cv=pass; d=google.com; s=arc-20160816; b=hYCy8hFumlA95ik/te+ox7O+idtjdcAnh1LiQKqJGOTbHZFqsnlRwRAYqVT1feaYKB an9NlaXmXF2iSS0x3BOe+dTfb3guDhEGm5o3QaRCL0poZnOcGqmHcRczTg4UPyQRVo3x Tsauxo+2wA4aIDyB0/hKRn+rMPLG0mbt53YfFHN6vZtzWMrwUagQ7sidEMHw5LdlUWcO gPHGaGLCcI3sw5NZQqjk0uNKAZoE4o+0ESaN+8Ew9WLrOr0BzfI8a0bKFfj3WkFPZwIA kGuP67LPe4aL6XMTq9xXJ0OSazFCip/C/KfKAES2IhryvtxR2x8/mIbZimMX4XiK5iUD B1Vg== 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:message-id:subject:cc:to:from:date :dkim-signature; bh=INX6uI+1dONLEWgYgztCUTuh9r0lrQ79ihh95+KUsSM=; fh=+WDL7bPz5EMvrkJgqiTU7/YscNIb9qAwnPHS5EngL1c=; b=MYhx1fLJseWnYTJGOCpQBzINXkCEJGZD/nOi10Svv/tLeJJk7ddwiQHcJSlC9+s7HF vsQMewBptkqPeRRx1hoHiUuWkrJ6QyF0qCi74mtdsXolHumLnhUHm/mpBE8bn/umSuCu joh4ZtSFqQHrP9mnPMj0pXxkCZOZi1Ic9gHvAeRPJg17oMqSQAm4ndKuRJUDZnnigj6s lz/6bIJu/B3XZveyYFNUrRarTcTBpz5efyNVE7Go55/kfRvSaLbrvp67SE+jfR+rfXqn Y/HmT+iMEJFQEzlO8W0DpkThUKFWdgXAsLarqAjmTbfoieBiVeQF7sbpR83lYWiGkwJJ RtoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=Vu8yU5dA; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-60699-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60699-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de X-Forwarded-Encrypted: i=2; AJvYcCXYMeqQehZ1KGjv2iWv467AafHVU4Br071urxb/iD6d7A6Q42epP2SRXkmoHe5vODBIxCGBUn5sb9wSioc9OQOFxZ0qGQ== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t25-20020a05622a181900b0042c189b36c8si5912806qtc.599.2024.02.11.02.42.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 02:42:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60699-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=Vu8yU5dA; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-60699-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60699-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5428F1C20FEA for ; Sun, 11 Feb 2024 10:42:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D07745A4DE; Sun, 11 Feb 2024 10:42:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="Vu8yU5dA" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0532958231 for ; Sun, 11 Feb 2024 10:42:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707648129; cv=none; b=O1uMdixnHHBEpYYCTFJNquZMaiU1qyJPORR1bKJuC5ENYko6oaUQ8P0Aedd2BKTgRN4NBfxB6+dldTH99Lnj3YFX21kshueKcUwGA5mYtM2/xVTa8gzm3MVa0sNVRQLHgds0LLfgAYaC9ReexX4h4GA2p708D7DJBeM2W11UC5Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707648129; c=relaxed/simple; bh=yqJTFHQKRuf3McMWjJjCtVjJDMny2ZXReTr5EeuBmk8=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=EjzzBAvfOVH7pKN2ILLwN02fXR1jpg9lT6e4GCoSSaOuolO0eXbz22Oxp+aydWi2G8CYbW/7m1YYTEiCPGW6VGZDohp9HiewxgzYNsI20zGrn9c3rMRwWKoRGqHETH0Zs9jWNI3nGZ56tkNiKhHW+KZZB48IQtfOCi1XlaBBDbA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=Vu8yU5dA; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 90F4240E01BB; Sun, 11 Feb 2024 10:41:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id q3NjUKypKKOW; Sun, 11 Feb 2024 10:41:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1707648115; bh=INX6uI+1dONLEWgYgztCUTuh9r0lrQ79ihh95+KUsSM=; h=Date:From:To:Cc:Subject:From; b=Vu8yU5dA57ikBNs/uF3IU5JPO0pqAmUIYJdZkZEP8EQcTGQvxw9TzSQ7528Mw5uA1 bYYunxr6c86W2nNrGiqcoBHWD1Fsc65+u5ahtd6/QPTqej+Lilsym1AY/qwg1pQwo3 2vcFPoNsMVE0Hr1g1LI3lzSrOFWJXPrsHeq1c+evzZveqg8lbA9Ti+jA7++YAOyOiq rIhv4YzVaZdY4JtVcsRYaC2utrMZ0qEDgVcTkk1q6TqWBy9ZmD54MKKb1m3vdF2swJ QsjCOj4VfX/5kT0WJCJKVewJPLOZPyFM06CQY0zVLtjyv/Lj5cJfz5DnYZliuReQWq asIiM3Ks2vA3JeLgeq426xXfJ3slgt44tP4Lwxn5aXkP9RcMS4LC9jt1eKI7UlpQ8e MhXm9nH3D5I0+Obt/yYdxidWhHuBY1QUlXaihaCKuFTGRfQRHNYgCJIE9u6UzmYDNY sxAv0hmA2ehx7NooL0qU1nWtr7u3SfKiqXUj9lcwYMJNzhx5JPzi4ankMBxlmostTQ lZegO6ukOVHd3545RAJmidADtpW/qdLfswMKEp5OE/zR8f6hVPjlW/YTLHsBy9dXku jEAw62urQ0U7oSyzGr/sMlpop4qww8fL5rr8sFj01n4tqe4YKV97kcVLkhVp3kzXm9 F1VvR3VlJvMOrO8v6jfg1YvE= Received: from zn.tnic (pd953021b.dip0.t-ipconnect.de [217.83.2.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 7C37240E01B5; Sun, 11 Feb 2024 10:41:52 +0000 (UTC) Date: Sun, 11 Feb 2024 11:41:44 +0100 From: Borislav Petkov To: Linus Torvalds Cc: x86-ml , lkml Subject: [GIT PULL] x86/urgent for v6.8-rc4 Message-ID: <20240211104144.GAZcikaNw7Luaj4XZy@fat_crate.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790598860031661193 X-GMAIL-MSGID: 1790598860031661193 Hi Linus, please pull a couple of urgent x86 fixes for v6.8-rc4. Thx. --- The following changes since commit 41bccc98fb7931d63d03f326a746ac4d429c1dd3: Linux 6.8-rc2 (2024-01-28 17:01:12 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v6.8_rc4 for you to fetch changes up to f6a1892585cd19e63c4ef2334e26cd536d5b678d: x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6 (2024-02-09 16:28:19 +0100) ---------------------------------------------------------------- - Correct the minimum CPU family for Transmeta Crusoe in Kconfig so that such hw can boot again - Do not take into accout XSTATE buffer size info supplied by userspace when constructing a sigreturn frame - Switch get_/put_user* to EX_TYPE_UACCESS exception handling when an MCE is encountered so that it can be properly recovered from instead of simply panicking ---------------------------------------------------------------- Aleksander Mazur (1): x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6 Andrei Vagin (1): x86/fpu: Stop relying on userspace for info to fault in xsave buffer Qiuxu Zhuo (1): x86/lib: Revert to _ASM_EXTABLE_UA() for {get,put}_user() fixups arch/x86/Kconfig.cpu | 2 +- arch/x86/kernel/fpu/signal.c | 13 +++++-------- arch/x86/lib/getuser.S | 24 ++++++++++++------------ arch/x86/lib/putuser.S | 20 ++++++++++---------- 4 files changed, 28 insertions(+), 31 deletions(-)