Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp302604rdb; Thu, 1 Feb 2024 08:56:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOPJDRZSFfGfH351l+dFqpPj6Zk7VgQcm+5WJ/ZX+T5pAyy+JbbhdmQDt7cRQs5JYIv+Ax X-Received: by 2002:a17:902:a388:b0:1d9:65e6:4acc with SMTP id x8-20020a170902a38800b001d965e64accmr324105pla.42.1706806576153; Thu, 01 Feb 2024 08:56:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706806576; cv=pass; d=google.com; s=arc-20160816; b=g4JTNHehfgQTpN7TBHgfU4GyYatmTeIn6AZEf+UGHNwYCushHwYHhebiSrychXvp4p s2kLwO3MPdLcEjtmx7SJyKs8Mq70PSQ6toyDfltXjpemNu30c8HyXvTiq0qqoIxYQ1XK ZS8UtyKLiQ5jEtmP1Gx0hb0dcvf9vy2b2hxy8APiKCPw8rMpIstYeuvajagivKLDM2ye sv+SqVXZCggw0SIjt+FaMp13xeft8VBhArbGPvj6/wmPqluCmXGaKF/sWO2D4k1GRMGF znb3WKKg5HJqq20SzwHjWBoBRM6RuOjL5f20JHh0hatbdQD3zxu6YZCv6nHCNLWMWYDQ d4aQ== 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:to:from:date:dkim-signature; bh=MEkzt+8h0qX/+cQCRHNooPhZL2ezbNlWE4lp/N6Usdc=; fh=Xxbdf4+aMguOmRfw4iQ5TUgc71OM+KDKXUyIhYg7epw=; b=OVwGu2QEIxFbXdhkVT6YkCOrL4BDlgB/5/ftaB7CnP80Ts3keL5SahIfFRmL/lAwTS A6JTfpsuEzcYlBw6yJV5zj9Jnt0NvELUQxhBA6u3Q0NgBqwXhdFmek0kX7Wky8MAuexs opiVOq+ZtkPGkB7KZmw5sxShLyGCVsi4CDEDO6reKk72Dgo0ySGD1+4U0bcIgGU5p23p 3RZyhARRtdEcreVDP25eCD96Lg2n31LQ504PLX0VhhJ6828C7HaOWrw3ZxjNsimXmkxY 9REKD1W89mj7RX71DWsej2ga4eef9lbRDipELws4M9C4+JCik3TPhrEYjr+Ku7dn+gpg NXTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lgUDac1H; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48472-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCVJ4z0i3mBExpdhq9tpI3sd1KVvDc6Lfp+1p3PmwP5z21j2nz9NuxH3tB1Lpcf4kR7MxDgF1omtlQ9Xzu9rvopCdhqDakypNSmYSsXmvA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d20-20020a170903209400b001d8aa512cc3si71240plc.379.2024.02.01.08.56.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 08:56:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48472-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=@kernel.org header.s=k20201202 header.b=lgUDac1H; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48472-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 0E31AB23840 for ; Thu, 1 Feb 2024 16:07:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC106626AC; Thu, 1 Feb 2024 16:07:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lgUDac1H" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F2C6262174; Thu, 1 Feb 2024 16:07:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706803666; cv=none; b=n60zGgLrGPpQ0ayhfgo0GqD6aJbBzc47qkF16e7mQZIvg4wmOO7exPCyJrALtpIGDlwCQcVAZE7n+lUDDyRYu2PxM8/IrnGOAxokfQoG4IDoeScDFptnlRm7FyAwDgNG2/YsipjO2j+xme5YlDppB29RKy4fyGgGV8pROZ1yD4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706803666; c=relaxed/simple; bh=r1jaUwoxglsNWHO60/roArWTIt/rqzl1LuZUFI7RDn8=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=RGMzWyk8KZoS2J5NM/Pm6TQ5HxjfGkP7sYbN8eGhclsDwZOi74F2VNfKWIjZuo8/R0c2P69ywui8Yhm/sMbHnOituc6WSLQthoc+/6/5yyowLwfLxcgo5RU9G5ZqVyKTyX01ZCuhLyLoy/br+mfH4ohfQcxhfdSzoso2OEqQ0BQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lgUDac1H; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20D4CC433C7; Thu, 1 Feb 2024 16:07:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706803665; bh=r1jaUwoxglsNWHO60/roArWTIt/rqzl1LuZUFI7RDn8=; h=Date:From:To:Subject:From; b=lgUDac1HbGZn4Hy7F5lK+7fOirRp07h3tY7J9GX0gUjg8IxoPrbH4n7QTJ1dnS8Sx SHq1lgiOoyBLz1b1kOLE8iObWPcBNs0MeaXFYJB8S5qiQia52nkJ2hpjBoOvy5SY4s hNTbMc/Up8hR3I8lxL7TJxUK5e7vUZ0M8kFnAucC3dzNXioqe/JKvNIythlekAnSCT 30qYrYguBwsW5mAXNxBbjpS/kkzVZIVcvE98AiO6zz2CqDVdb3d6Y5EY2P7fh0e9p3 UtlaDimoKposF0iCxuYwso2b7SVUKK8BJREoS062GTMfzh+EU2Av48uP83xYtxZV2+ 0WSxF8Cze3HTA== Date: Thu, 1 Feb 2024 17:07:41 +0100 From: Helge Deller To: Linus Torvalds , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [GIT PULL] parisc architecture fixes for v6.8-rc3 Message-ID: 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 Hi Linus, Please pull a few important fixes for the parisc architecture for 6.8-rc3: The current exception handler, which helps on kernel accesses to userspace, may exhibit data corruption. The problem is that it is not guaranteed that the compiler will use the processor register we specified in the source code, but may choose another register which then will lead to silent register- and data corruption. To fix this issue we now use another strategy to help the exception handler to always find and set the error code into the correct CPU register. The other fixes are small: fixing CPU hotplug bringup, fix the page alignment of the RO_DATA section, added a check for the calculated cache stride and fix possible hangups when printing longer output at bootup when running on serial console. Most of the patches are tagged for stable series. Thanks! Helge ---------------------------------------------------------------- The following changes since commit 8a696a29c6905594e4abf78eaafcb62165ac61f1: Merge tag 'platform-drivers-x86-v6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86 (2024-01-27 09:48:55 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git tags/parisc-for-6.8-rc3 for you to fetch changes up to 913b9d443a0180cf0de3548f1ab3149378998486: parisc: BTLB: Fix crash when setting up BTLB at CPU bringup (2024-01-31 13:51:26 +0100) ---------------------------------------------------------------- parisc architecture fixes for kernel v6.8-rc3: - Fix random data corruption triggered by exception handler - Fix crash when setting up BTLB at CPU bringup - Prevent hung tasks when printing inventory on serial console - Make RO_DATA page aligned in vmlinux.lds.S - Add check for valid cache stride size ---------------------------------------------------------------- Helge Deller (6): parisc: Make RO_DATA page aligned in vmlinux.lds.S parisc: Check for valid stride size for cache flushes parisc: Prevent hung tasks when printing inventory on serial console parisc: Drop unneeded semicolon in parse_tree_node() parisc: Fix random data corruption from exception handler parisc: BTLB: Fix crash when setting up BTLB at CPU bringup arch/parisc/Kconfig | 1 - arch/parisc/include/asm/assembly.h | 1 + arch/parisc/include/asm/extable.h | 64 +++++++++++++++++++++++++++++++++ arch/parisc/include/asm/special_insns.h | 6 ++-- arch/parisc/include/asm/uaccess.h | 48 ++++--------------------- arch/parisc/kernel/cache.c | 10 ++++-- arch/parisc/kernel/drivers.c | 5 ++- arch/parisc/kernel/unaligned.c | 44 +++++++++++------------ arch/parisc/kernel/vmlinux.lds.S | 2 +- arch/parisc/mm/fault.c | 11 ++++-- 10 files changed, 118 insertions(+), 74 deletions(-) create mode 100644 arch/parisc/include/asm/extable.h