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: 166537 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6359:6513:b0:164:83eb:24d7 with SMTP id sk19csp1237791rwb; Sat, 18 Nov 2023 05:58:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+tc8ldRjXGgDIdZlZpDu0a2WcTwahPYW6TXdfzUWzRs01b0L/e/CWYQkl17opse8YEQSS X-Received: by 2002:a17:90b:4a0a:b0:27d:1972:136c with SMTP id kk10-20020a17090b4a0a00b0027d1972136cmr2733653pjb.38.1700315927825; Sat, 18 Nov 2023 05:58:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700315927; cv=none; d=google.com; s=arc-20160816; b=AB6+uZdPuJPc02Q9QVFZsMOk8F2k2f+fU2UlgzPe/d+ESgQXmKYdT3bsoMfc8bOjHR U2GgifTTx2DN6VNPZieRerF6iuLRduxs+CvboGrUA7iOvjQcTqpmDn/WGJ6UyZ44m2O7 zmm0aXIYRCKjEP4RXSAgFkJzhcfEhPX3y+IdhkqEDDYnbFnuy3NmhoUnGq3FJl2VCSAD ZzKTcobpeXA9QUn4bgNM5tqmVoHyML79RMN/LXQIWK6wgN31mmXbyuNMGc+jQOq7tgNi p+55sc//aNcOpg67JOrB3shY/ZihYhALgTpnnNnAjps4dDQERRsjwn1PMErj3Dsu5Ups /yyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date; bh=p5dKBKl/Vh3O8ZVJhEGTtCRhPoH74YRxlt0Hw6Q3wVI=; fh=MilSIBE2HvLQbJ0LLlTd3CoPI/3h8MnjL/gFfLf6OWI=; b=xsBeRaOgTp3TFoWXr3pFTMfwRArBcSwh2binpLvHVUKP+OQ6R2LOWXwvVguAfwuDYX X88ud2xJ+SlW7rBOsw5BFmumtEUq+AKI2vPo1jFROtYqeq3qtr246xqm7Qsnfrb+WO29 j6Bph2/fi/Lhibfw8pOt5aTjmYFZeMfy0Spgy/dlqHfFqFjX+RGiFEiNjtymyztBq04g fUtjVXPgrUdCV8eV62djdeVz/qK0oQeN+lL3C2houhu295l2/gxSzmLnX1yP5tLulU8x Za8pmSObhLmaO1JQ/gI1RruTJid0WbHQ7P12ADqJr56alHC3hvWAYaihsnJ92hhNz3gM mIZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id mm1-20020a17090b358100b0028001292940si6561099pjb.68.2023.11.18.05.58.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 05:58:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 6DE718087255; Sat, 18 Nov 2023 05:58:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229848AbjKRN6X (ORCPT + 29 others); 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 X-Spam-Status: No, score=-0.5 required=5.0 tests=FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sat, 18 Nov 2023 05:58:45 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782910474261209338 X-GMAIL-MSGID: 1782910474261209338 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