Misaligned patch-site bcm2836_arm_irqchip_handle_irq+0x0/0x88
Florian Fainelli
f.fainelli at gmail.com
Sun Feb 26 10:10:06 PST 2023
On 2/25/2023 7:26 AM, Florian Fainelli wrote:
>
>
> On 2/25/2023 2:37 AM, Marc Zyngier wrote:
>> On Fri, 24 Feb 2023 23:39:24 +0000,
>> Florian Fainelli <f.fainelli at gmail.com> wrote:
>>>
>>> Hello,
>>>
>>> You will find a complete boot log [1] below that shows the failure as
>>> well as the configuration file [2], however I am hitting what you see
>>> below as of v6.2-10217-ga93e884edf61. Have not tried linux-next yet,
>>> so if this is a known issue, please ignore :)
>>>
>>> This is seen with on a Raspberry pi 4B running in AArch64 mode.
>>>
>>> [1]: https://gist.github.com/b1a977b5fea837d180ccb800f091218a
>>> [2]: https://gist.github.com/64cf18b6ee770d58f64371e1db01afb9
>>
>> From the config file:
>>
>> CONFIG_ARM=y
>>
>> Can you please provide the config file for the build you're seeing
>> this on?
>
> Yes, sorry about that, here is the 64-bit configuration:
>
> https://gist.github.com/4eb83740c25b10f75b54560f8c8febb1
>
> In case this is relevant the toolchain is using:
>
> GNU ld (GNU Binutils) 2.38
> gcc version 11.3.0 (Buildroot 2022.08-rc2-21-g4cbf7336914f)
Bisection landed on:
# first bad commit: [baaf553d3bc330697c68a00f96cf11f4edfeac7e] arm64:
Implement HAVE_DYNAMIC_FTRACE_WITH_CALL_OPS
CONFIG_DYNAMIC_FTRACE_WITH_CALL_OPS is not enabled in my kernel
configuration, bumping up the alignment to 8b unconditionally:
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 6f6f37161cf6..0ab0891da9ac 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -123,8 +123,7 @@ config ARM64
select DMA_DIRECT_REMAP
select EDAC_SUPPORT
select FRAME_POINTER
- select FUNCTION_ALIGNMENT_4B
- select FUNCTION_ALIGNMENT_8B if DYNAMIC_FTRACE_WITH_CALL_OPS
+ select FUNCTION_ALIGNMENT_8B
select GENERIC_ALLOCATOR
select GENERIC_ARCH_TOPOLOGY
select GENERIC_CLOCKEVENTS_BROADCAST
did not seem to help.
--
Florian
More information about the linux-arm-kernel
mailing list