From patchwork Sat Nov 18 18:57:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 13460247 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4848C54FB9 for ; Sat, 18 Nov 2023 18:57:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229478AbjKRS5l (ORCPT ); Sat, 18 Nov 2023 13:57:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbjKRS5l (ORCPT ); Sat, 18 Nov 2023 13:57:41 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA5F1AF; Sat, 18 Nov 2023 10:57:37 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1606C433C8; Sat, 18 Nov 2023 18:57:35 +0000 (UTC) Date: Sat, 18 Nov 2023 19:57:33 +0100 From: Helge Deller To: Linus Torvalds , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Cc: Kees Cook , Sam James Subject: [GIT PULL v2] parisc architecture fixes for v6.7-rc2 Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org Hi Linus, please pull three small additional parisc fixes for kernel 6.7-rc2, two of those are tagged for stable series. This is v2 of the pull request with the changes to the prctl() patch as requested by you. On parisc we still sometimes need writeable stacks, e.g. if programs aren't compiled with gcc-14. To avoid issues with the upcoming systemd-254 we therefore have to disable prctl(PR_SET_MDWE) for now (for parisc only). The other two patches are minor: a bugfix for the soft power-off on qemu with 64-bit kernel and prefer strscpy() over strlcpy(). Thanks! Helge ---------------------------------------------------------------- The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: Linux 6.7-rc1 (2023-11-12 16:19:07 -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.7-rc2 for you to fetch changes up to 793838138c157d4c49f4fb744b170747e3dabf58: prctl: Disable prctl(PR_SET_MDWE) on parisc (2023-11-18 19:35:31 +0100) ---------------------------------------------------------------- parisc architecture fixes for kernel v6.7-rc2: - Fix power soft-off on qemu - Disable prctl(PR_SET_MDWE) since parisc sometimes still needs writeable stacks - Use strscpy instead of strlcpy in show_cpuinfo() ---------------------------------------------------------------- Helge Deller (2): parisc/power: Fix power soft-off when running on qemu prctl: Disable prctl(PR_SET_MDWE) on parisc Kees Cook (1): parisc: Replace strlcpy() with strscpy() arch/parisc/kernel/processor.c | 2 +- drivers/parisc/power.c | 2 +- kernel/sys.c | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-)