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: 166625 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp1324643vqn; Sat, 18 Nov 2023 10:58:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHCFo5RY9pTP6/kIAuftzVIt5rqO20r4DZHHgSFzZxS4tO0rL7JYMQghnO/qhyTG9tYedX X-Received: by 2002:a05:6871:208b:b0:1f5:acbd:1e02 with SMTP id ry11-20020a056871208b00b001f5acbd1e02mr3444828oab.5.1700333882643; Sat, 18 Nov 2023 10:58:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700333882; cv=none; d=google.com; s=arc-20160816; b=JY1lrPVhwPs0HcAS43bRW6Sj9EMUmEg91KRcBZg1OlpfyGhtIP8Xeh1QUAX4hwRiu8 CHQdmEAFsUPTKlw1i14Gq2S+ZyrBB6UG40Z7PMEE6egTJnKf0E5T+ZTcELYyeb7Bmzms A/Dk6G5m55KpvOdhQrssMiSDkKmqBBecUsJ3M4f0wH4WqOW19xCx4QRRjP7Zj8Wuhp1b V9FjS1pwkFVHnnpTS6mhsthqitmxiVRDfKliWq+wQpwFCZ677qNNGrGX5tdxGqjQksAY gWt4dUUbyBbWdA7EhpqE7UlGae+P6DVxJ552bGUl7pAmEQvICVp5fesm4s361pNpRQKc 8TDA== 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=2Ugo/3ib028EXMDC+LTkIxxrgwUQzbE+vvRDcuWBWKc=; fh=v7RDNuOCP3egVx9rrBFjfnQuBjfjhQGJ1OkrYYHB7j4=; b=uXWkicPR47vGSLCtGly7TKx+n9U5zJODXH/oNWrVqP1Bt65IY9QffsEyb8kJjBntKC PyNwQx2yUI3nR2ut0ZyjN0AUPI6jSIwQU2HDYqQIBtbpYGQlnfmiN6lQ6nj1iVHK/bUK q/VRA5+CrrkRh6/S8GXiKNPpohJH2Lk+5fr844s+sD3ygxxo3v2QM/qyYSxcIgfrH+Bt Uc52CdXlL+iMBIS424RBdU4AQJ5DTTtJKrT6AQb4C4Qu3LjcKAcToHezVRCpVrsV9eMg /GuQ903EbSOAKoYQWU6N72T+/LElUF9R5rcpUjtY+eevMrWQP+naXTxzYfFnqNq05eOf Gbqg== 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:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id lk4-20020a17090b33c400b00277453e82fesi5121280pjb.87.2023.11.18.10.58.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 10:58:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 88754804DBFE; Sat, 18 Nov 2023 10:58:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229873AbjKRS5l (ORCPT + 29 others); 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 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Sat, 18 Nov 2023 10:58:00 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782929301401133747 X-GMAIL-MSGID: 1782929301401133747 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(-)