From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC1AB1A6820 for ; Sun, 5 Apr 2026 21:40:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775425237; cv=none; b=Urn1b1JO1Jp3px+RCBwaRKRujCoNqpSQ4dBrQWHeKHjP661EM9qSF1MlngWggf3BTBMAY6YwQftOcZuU9qFpZnfzTdSiz+aeV119cDvtO8SDbDXh2BfJrYuQ4EiBqE3Df15wxicLcrwUs4eF26QWKxvb6gkwuUJU1SDxnOieUHU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775425237; c=relaxed/simple; bh=cklvwaQ6lc0AJHRPVzr+AtP1DOc8DZ+C3JnQgWKYojw=; h=Date:From:To:cc:Subject:Message-ID:MIME-Version:Content-Type; b=QZQlEJkjTWFg/gUTG/bw9GEsWcdMSrtmMHAgUgclDZObcq0OQC8CQYzPerwTgBkwHvCic1y4gFHuRNcRiPyh5YTOvT6++nvac43QvHXZxrp75g97uHDKS4N7wxFbSK3FHcWb4m6a8eT0d9gznZkQWizOxktAe2z88jrGm9DOYac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=l51ITGIp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="l51ITGIp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1A25C116C6; Sun, 5 Apr 2026 21:40:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775425237; bh=cklvwaQ6lc0AJHRPVzr+AtP1DOc8DZ+C3JnQgWKYojw=; h=Date:From:To:cc:Subject:From; b=l51ITGIp6j2HBL/yUKJIS74heJ5HKtdnUOdO0tV3UPJto6LdBZ4rO0oRZiY4SMBnK 44vLrdfI/I2d3QUwGWUO1rWQD6iQnhfYr2iOt9bkfJM/CqGT+onnJGzJxZ1fcrUMHc 02fBqK20HZYZN9O64Sn7XNOutO1DtcbBws9WueyH7ELj/Idi/kkUM4iNKVS7prUCub xXUP5hPPKpgvI+ElJgeEgyN/uSZIfXpMU2pdqyUc6BE1a+fuyUwhS3Ardrk/zSTXcf BG2qrS9RSsAfIgL/R7C9S6hvOEzVRW9v1BQh6Qjr9BuSbP4mgraqPLOeXjdoJIOUok +z1MSEUPTBLsg== Date: Sun, 5 Apr 2026 15:40:30 -0600 (MDT) From: Paul Walmsley To: torvalds@linux-foundation.org cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] RISC-V updates for v7.0-rc7 Message-ID: <4e071ea0-3571-467b-4626-5d4eb9c50435@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Linus, Please pull these RISC-V updates for v7.0-rc7. These are all relatively minor functional fixes. The branch was recently rebuilt, but only to remove fixes that aren't critical at this point in the release cycle. thanks, - Paul The following changes since commit c369299895a591d96745d6492d4888259b004a9e: Linux 7.0-rc5 (2026-03-22 14:42:17 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-7.0-rc7 for you to fetch changes up to 9156585280f161fc1c3552cf1860559edb2bb7e3: ACPI: RIMT: Add dependency between iommu and devices (2026-04-04 18:38:03 -0600) ---------------------------------------------------------------- RISC-V updates for v7.0-rc7 - Fix a CONFIG_SPARSEMEM crash on RV32 by avoiding early phys_to_page() - Prevent runtime const infrastructure from being used by modules, similar to what was done for x86 - Avoid problems when shutting down ACPI systems with IOMMUs by adding a device dependency between IOMMU and devices that use it - Fix a bug where the CPU pointer masking state isn't properly reset when tagged addresses aren't enabled for a task - Fix some incorrect register assignments, and add some missing ones, in kgdb support code - Fix compilation of non-kernel code that uses the ptrace uapi header by replacing BIT() with _BITUL() - Fix compilation of the validate_v_ptrace kselftest by working around kselftest macro expansion issues ---------------------------------------------------------------- Charlie Jenkins (1): selftests: riscv: Add braces around EXPECT_EQ() Jisheng Zhang (1): riscv: make runtime const not usable by modules Paul Walmsley (2): riscv: kgdb: fix several debug register assignment bugs riscv: use _BITUL macro rather than BIT() in ptrace uapi and kselftests Sunil V L (1): ACPI: RIMT: Add dependency between iommu and devices Vivian Wang (1): riscv: patch: Avoid early phys_to_page() Zishun Yi (1): riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set arch/riscv/include/asm/runtime-const.h | 4 ++++ arch/riscv/include/uapi/asm/ptrace.h | 13 +++++++------ arch/riscv/kernel/kgdb.c | 7 ++++--- arch/riscv/kernel/patch.c | 21 +++++++++++---------- arch/riscv/kernel/process.c | 4 +++- drivers/acpi/riscv/rimt.c | 7 +++++++ .../selftests/riscv/vector/validate_v_ptrace.c | 19 +++++++++++-------- 7 files changed, 47 insertions(+), 28 deletions(-) vmlinux size differences in bytes (from c369299895a5) text data bss dec hex filename -304 +160 . -144 -90 vmlinux.defconfig.gcc-15 -304 +160 . -144 -90 vmlinux.nosmp_defconfig.gcc-15 -160 +128 . -32 -20 vmlinux.rv32_defconfig.gcc-15 -176 +64 . -112 -70 vmlinux.rv32_nosmp_defconfig.gcc-15 +8 . . +8 +8 vmlinux.nommu_virt_defconfig.gcc-15 -240 +160 . -80 -50 vmlinux.defconfig.clang-20 -224 +96 . -128 -80 vmlinux.nosmp_defconfig.clang-20 -144 +96 . -48 -30 vmlinux.rv32_defconfig.clang-20 -136 +160 . +24 +18 vmlinux.rv32_nosmp_defconfig.clang-20 . . . . . vmlinux.nommu_virt_defconfig.clang-20 -384 +64 . -320 -140 vmlinux.defconfig.clang-17 -372 +64 . -308 -134 vmlinux.nosmp_defconfig.clang-17 -120 +64 . -56 -38 vmlinux.rv32_defconfig.clang-17 -112 +128 . +16 +10 vmlinux.rv32_nosmp_defconfig.clang-17 +8 +64 . +72 +48 vmlinux.nommu_virt_defconfig.clang-17 -288 +160 . -128 -80 vmlinux.defconfig.gcc-11 -296 +96 . -200 -c8 vmlinux.nosmp_defconfig.gcc-11 -176 +64 . -112 -70 vmlinux.rv32_defconfig.gcc-11 -192 +96 . -96 -60 vmlinux.rv32_nosmp_defconfig.gcc-11 . +256 . +256 +100 vmlinux.nommu_virt_defconfig.gcc-11