From patchwork Fri Nov 11 23:08:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Catalin Marinas X-Patchwork-Id: 19044 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1012053wru; Fri, 11 Nov 2022 15:10:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf79bZ/tD+Gi3xpFvu9MyrAtQr+bazdjMtDihxeYCFa0Dk5qiA+Mh8qCqesVxzRUNPMvOliT X-Received: by 2002:a63:c51:0:b0:475:7677:fa7f with SMTP id 17-20020a630c51000000b004757677fa7fmr1207546pgm.598.1668208224223; Fri, 11 Nov 2022 15:10:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668208224; cv=none; d=google.com; s=arc-20160816; b=YiAKH92SMhqbh+pHn7J8ZDoMDEZxJrCawW1EmHhy51TxCxpRb4K/ETtorxiaaylMpJ LfFZdb7PWErZWMqiV22ZICyPe/SLhlWw0yEEC8/zKKEBUt0wrA1QUCMCS7yRokswNPzr Ji/ZAfQztHzuK3FIM/3EaJsIBOUCaBzKCURTLtKxhgpq5lCDf/y6CtPBPR0Z7gQJN03s J45rWxz8dOvXvG6qykOGdfEF6aqJIa/1VAamdnvNSwd+9Io2yI2EPg2yuCA4NxqtB6gr 0TIPsrLV1+gm+VT3+StO3dmYhUPzEG+HhkESZ/11SDVMxIcV7++1lFZsNMGS0Z4y3B5t XCIQ== 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=s32CzUyzBTRcW0DUpmgeS/IPjTTO7uqjn9p3IOFBnTs=; b=vfgIiWEiLrzmxqtuMKrpRUEseH/bGL9/hTQbN7SQObR+9AzBsnxsqF36jeqENO9yd+ fZzKyCWdHELi8ljg+sljb61hq7MgUDyQPwZgiS4/37+0jKh1e0wVvJbLzt6resnCm7s7 VG8kEfm/GhBHTvLifu9HifdYA1I6+K+RjGlp81iKlqLQB6hQgLbOmQLUiEV6E/iKXLvp 1fxRz3ko+l6E/NDRAF73GUmEl1jTFm75G0eShJKlfe7+qxk8zixYocW3rZxTp0Aye6Io s+nVK4OOEBSsQjb4buu5F5QR3Wu/G52xfsnVh+Cq09X7VJHSpwCiTFaAwqtNKPmQkkPE Sy3w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i185-20020a6287c2000000b0056e3400fdf2si3238979pfe.41.2022.11.11.15.10.07; Fri, 11 Nov 2022 15:10:24 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233455AbiKKXIx (ORCPT + 99 others); Fri, 11 Nov 2022 18:08:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233739AbiKKXIp (ORCPT ); Fri, 11 Nov 2022 18:08:45 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 737C827DDF for ; Fri, 11 Nov 2022 15:08:44 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0BC62620C9 for ; Fri, 11 Nov 2022 23:08:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7461C433D7; Fri, 11 Nov 2022 23:08:41 +0000 (UTC) Date: Fri, 11 Nov 2022 23:08:36 +0000 From: Catalin Marinas To: Linus Torvalds Cc: Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] arm64 fixes for 6.1-rc5 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,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?1749243106610482751?= X-GMAIL-MSGID: =?utf-8?q?1749243106610482751?= Hi Linus, Please pull the arm64 fixes below. Thanks. The following changes since commit 85f1506337f0c79a4955edfeee86a18628e3735f: arm64: cpufeature: Fix the visibility of compat hwcaps (2022-11-03 18:04:56 +0000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes for you to fetch changes up to acfc35cfcee5df419391671ef1a631f43feee4e3: arm64/syscall: Include asm/ptrace.h in syscall_wrapper header. (2022-11-09 09:52:25 +0000) ---------------------------------------------------------------- arm64 fixes: - Another fix for rodata=full. Since rodata= is not a simple boolean on arm64 (accepting 'full' as well), it got inadvertently broken by changes in the core code. If rodata=on is the default and rodata=off is passed on the kernel command line, rodata_full is never disabled. - Fix gcc compiler warning of shifting 0xc0 into bits 31:24 without an explicit conversion to u32 (triggered by the AMPERE1 MIDR definition). - Include asm/ptrace.h in asm/syscall_wrapper.h to fix an incomplete struct pt_regs type causing the BPF verifier to refuse to load a tracing program which accesses pt_regs. ---------------------------------------------------------------- Ard Biesheuvel (1): arm64: fix rodata=full again D Scott Phillips (1): arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro Kuniyuki Iwashima (1): arm64/syscall: Include asm/ptrace.h in syscall_wrapper header. arch/arm64/include/asm/cputype.h | 2 +- arch/arm64/include/asm/syscall_wrapper.h | 2 +- arch/arm64/mm/pageattr.c | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-)