From patchwork Tue Dec 20 09:20:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 34999 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2862570wrn; Tue, 20 Dec 2022 01:22:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf5CglkTQzZqYdy069whT/+63L5pIffgZc0aanX2ygNEcYuyKccYjfvg3Yip7qz5v2m0zb12 X-Received: by 2002:a17:906:a410:b0:7c0:e5ca:411c with SMTP id l16-20020a170906a41000b007c0e5ca411cmr33873523ejz.17.1671528169574; Tue, 20 Dec 2022 01:22:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671528169; cv=none; d=google.com; s=arc-20160816; b=Wz7YAyQQohp0MrkJW3J492kuF/XoFuS33ATech7HgZmEf0EsGn+yo71WJRhr2WFUGE FAJZEMmJ/AgvouH7zTMxNpTqaPj8qYqxUwTNLqUAFhcxOZvbYvjkGJprnT1xvco4P4n4 Mwahle8iijyhhbUlnsm3l/Cv5oiE4CUX1suS4jsXWNthztzrRptRCBx1Z7OS1KCS2jZv GQfhngTqicM/f7BJ5MjyGNZMvUXm6JsiH6HViJ5nGJLIEzGTCMxeFRjeHUV3/W3PYH3R x/+TjY7rMq58yQ6xLSe9oymToLdbYYVa9dKgBQpZFHT65ZTgJW0tJdM+QGxbaZ8IjueD we0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:ui-outboundreport :content-disposition:mime-version:message-id:subject:to:from:date :dkim-signature; bh=RHhwPPStMqQxG7fz7SKQCYVKr2TtcAtHr54oxJNl1JI=; b=MobnHq7yZ1HVmmeY5Ts10kzKCaE68oj+q6hRKnf3SdaCLBZGa5hcZtgo7tK7FpS2bH +bW+rGf/lLiQ+93oFDcI3Pj8nxHjM54/I9nhWao0zWs9HUHaeXLZroztjWmB4jYKlYD2 z5LROfIM+qiG0ERNvmHEgNivy0B/j5pdg1mEtBZy4zxXU/A9UwwQx2soUTk1BObGaTYL lp8Rlm/7yWniVYP55/HuuSamcDNXUAOROE6ysQYNwuWONU91S+PybfNEydZ/AlhEj1yX nCJ24Wnu1IQ5bptQxR+4LXLvuDgr1GsJtvmQAx8sP7JhiVSWNhMwUT3chA4jxFflXas2 hblQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=sXTwYNNQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id vu6-20020a170907a64600b007c122a58805si9483906ejc.727.2022.12.20.01.22.26; Tue, 20 Dec 2022 01:22:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=sXTwYNNQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232948AbiLTJUo (ORCPT + 99 others); Tue, 20 Dec 2022 04:20:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232897AbiLTJUm (ORCPT ); Tue, 20 Dec 2022 04:20:42 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 897F812C; Tue, 20 Dec 2022 01:20:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1671528031; bh=adfkfewkwjQteurWnKEPbrhw+//bwdG2TBvIgRmXXIc=; h=X-UI-Sender-Class:Date:From:To:Subject; b=sXTwYNNQaWfS8wz7ifn1zQC7vj2PBvNiL1CcFIWjBM9uTw8j0qbcnu47cKJ1pMhr2 rxYkidBtOpi8W7aZNfeTNnnccUxWyED8hC5ZxjCUHxcplzBfKda9VpDSGC+N1XotOZ A+3DIgZERIuHOlbn85t8LL+reFtr2hfA95lGqt2ppsT48rvMvrj3jJmpjpdh7zLbiX 2/FVewJw7ZBKpVXb4MoMe9OIpznF3e99YjzkKa+cWEJUQfIwx2CCrMwcplv/KmL0tr BrBcmrc3c8rKlc1JhglIV7FdW6ShPBcKughTO+GLy5Os2Vcr8Ydcnx8kgOrAbby5+i Ih7kmS6+zmVyA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from p100 ([92.116.174.3]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mq2j2-1oUb5J0jGU-00nC2s; Tue, 20 Dec 2022 10:20:31 +0100 Date: Tue, 20 Dec 2022 10:20:29 +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.2-rc1 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Provags-ID: V03:K1:wwV8PcFNUkUX7RtNR0GPK4yFeK8WX1kYZVYQkrC0FKe0jkId2dG X3+nvs0Yz+AVaW0DpPU1C091pFZHrHJ5Ph3mhzglTBhDWkaOD+jG4EYC26pVEZ2u9zwYst6 7jwbBAYPtUBqBdIh1AUbXchWFP5zc537gYqbmmsbqwEXUy8l8SGZSCXACETaDTEW8sqbGJG tcOQ7cl0/mny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 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752724322250910906?= X-GMAIL-MSGID: =?utf-8?q?1752724322250910906?= Hi Linus, please pull the latest updates and fixes for the parisc architecture. There is one noteable patch, which allows the parisc kernel to use the same MADV_xxx constants as the other architectures going forward. With that change only alpha has one entry left (MADV_DONTNEED is 6 vs 4 on others) which is different. To prevent an ABI breakage, a wrapper is included which translates old MADV values to the new ones, so existing userspace isn't affected. Reason for that patch is, that some applications wrongly used the standard MADV_xxx values even on some non-x86 platforms and as such those programs failed to run correctly on parisc (examples are qemu-user, tor browser and boringssl). Then the kgdb console and the LED code received some fixes, and some 0-day warnings are now gone. Finally, the very last compile warning which was visible during a kernel build is now fixed too (in the vDSO code). The majority of the patches are tagged for stable series and in summary this patchset is quite small and drops more code than it adds. Thanks! Helge ---------------------------------------------------------------- The following changes since commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476: Linux 6.1 (2022-12-11 14:15:18 -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.2-1 for you to fetch changes up to 4934fbfb3ff09b8500f63d4624ed8b41647bb822: parisc: Show MPE/iX model string at bootup (2022-12-19 16:08:52 +0100) ---------------------------------------------------------------- parisc architecture fixes for kernel v6.2-rc1: Fixes: - Fix potential null-ptr-deref in start_task() - Fix kgdb console on serial port - Add missing FORCE prerequisites in Makefile - Drop PMD_SHIFT from calculation in pgtable.h Enhancements: - Implement a wrapper to align madvise() MADV_* constants with other architectures - If machine supports running MPE/XL, show the MPE model string Cleanups: - Drop duplicate kgdb console code - Indenting fixes in setup_cmdline() ---------------------------------------------------------------- Helge Deller (9): parisc: Fix inconsistent indenting in setup_cmdline() parisc: Align parisc MADV_XXX constants with all other architectures parisc: Drop PMD_SHIFT from calculation in pgtable.h parisc: Fix locking in pdc_iodc_print() firmware call parisc: Drop duplicate kgdb_pdc console parisc: Drop locking in pdc console code parisc: Move pdc_result struct to firmware.c parisc: Add missing FORCE prerequisites in Makefile parisc: Show MPE/iX model string at bootup Shang XiaoJing (1): parisc: led: Fix potential null-ptr-deref in start_task() arch/parisc/include/asm/pdc.h | 2 +- arch/parisc/include/asm/pgtable.h | 4 ++-- arch/parisc/include/uapi/asm/mman.h | 29 ++++++++++++++-------------- arch/parisc/kernel/firmware.c | 32 ++++++++++++++++--------------- arch/parisc/kernel/kgdb.c | 20 ------------------- arch/parisc/kernel/pdc_cons.c | 16 +++------------- arch/parisc/kernel/processor.c | 9 +++++++-- arch/parisc/kernel/real2.S | 17 ++-------------- arch/parisc/kernel/setup.c | 26 ++++++++++++------------- arch/parisc/kernel/sys_parisc.c | 28 +++++++++++++++++++++++++++ arch/parisc/kernel/syscalls/syscall.tbl | 2 +- arch/parisc/kernel/vdso32/Makefile | 4 ++-- arch/parisc/kernel/vdso64/Makefile | 4 ++-- drivers/parisc/led.c | 3 +++ tools/arch/parisc/include/uapi/asm/mman.h | 12 ++++++------ tools/perf/bench/bench.h | 12 ------------ 16 files changed, 100 insertions(+), 120 deletions(-)