Skip to content

[PW_SID:1124035] mm/early_ioremap: clarify and clean up early_ioremap_reset()#2246

Closed
linux-riscv-bot wants to merge 4 commits into
workflow__riscv__fixesfrom
pw1124035
Closed

[PW_SID:1124035] mm/early_ioremap: clarify and clean up early_ioremap_reset()#2246
linux-riscv-bot wants to merge 4 commits into
workflow__riscv__fixesfrom
pw1124035

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1124035 applied to workflow__riscv__fixes

Name: mm/early_ioremap: clarify and clean up early_ioremap_reset()
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1124035
Version: 1

Linux RISC-V bot and others added 4 commits July 8, 2026 17:32
__late_set_fixmap() and __late_clear_fixmap() are only used after
early_ioremap_reset() has been called.

arm64, riscv and powerpc all have a __set_fixmap() that works before
and after paging_init(), so they do not need to call
early_ioremap_reset() or define the macros, but they describe the same
situation in three different ways:

                 calls reset    defines the macros
        arm64    yes            yes
        riscv    no             yes
        powerpc  no             no

The existing comment is vague and allows all three. Replace it with
comments that make it clear when the reset and the macros are needed.

No functional change.

Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
__late_set_fixmap() and __late_clear_fixmap() are only used after
early_ioremap_reset() has been called. riscv never calls it because
__set_fixmap() works before and after paging_init(). So remove them.

No functional change.

Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
On arm64, __early_set_fixmap(), __late_set_fixmap() and
__late_clear_fixmap() are all __set_fixmap(). Calling
early_ioremap_reset() changes nothing. So remove the call and the
macros.

No functional change.

Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 143.53 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1400.56 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1712.77 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.55 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.74 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 84.82 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
kdoc
Desc: Detects for kdoc errors
Duration: 0.86 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 143.59 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1479.54 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1738.32 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.96 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.61 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.71 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 85.82 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
kdoc
Desc: Detects for kdoc errors
Duration: 0.87 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap()"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.32 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 144.00 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1137.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1415.01 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.94 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.26 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.89 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 86.18 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
kdoc
Desc: Detects for kdoc errors
Duration: 0.87 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 4.54 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[3/3] arm64: remove early_ioremap_reset() call and _late* macros"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.52 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot force-pushed the workflow__riscv__fixes branch 7 times, most recently from 56b6f30 to 8ca72ef Compare July 15, 2026 17:25
@linux-riscv-bot
linux-riscv-bot deleted the pw1124035 branch July 16, 2026 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants