From patchwork Sat Nov 18 13:58:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 13460071 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 8462EC2BB3F for ; Sat, 18 Nov 2023 13:58:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229668AbjKRN6X (ORCPT ); Sat, 18 Nov 2023 08:58:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbjKRN6W (ORCPT ); Sat, 18 Nov 2023 08:58:22 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9673F1AD; Sat, 18 Nov 2023 05:58:17 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 443A1C433C7; Sat, 18 Nov 2023 13:58:15 +0000 (UTC) Date: Sat, 18 Nov 2023 14:58:12 +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 Subject: [GIT PULL] parisc architecture fixes for v6.7-rc1 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. 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 a patch from Kees to 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 b8eaae484f79b37c602d112e131475013ab14519: parisc/power: Fix power soft-off when running on qemu (2023-11-17 16:54:27 +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): prctl: Temporarily disable prctl(PR_SET_MDWE) on parisc parisc/power: Fix power soft-off when running on qemu Kees Cook (1): parisc: Replace strlcpy() with strscpy() arch/parisc/kernel/processor.c | 2 +- drivers/parisc/power.c | 2 +- kernel/sys.c | 10 ++++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) Signed-off-by: Helge Deller Reported-by: Sam James Tested-by: Sam James