From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 67984C64ED6 for ; Mon, 27 Feb 2023 11:47:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+qhTk6zZXjMZRVx99XTCJrtBkDLmIB3w4qxZeZynSOA=; b=kkMBSoUNM3D3Lc hcUJFBIVo9bFpBvq1JNJ6xqQBnz8KjZfzSWdWZC5YGNgXtc+yo0xCqQdGG3JR+59xUHDgQ0IS/RuR NUiCIBHT7WdjkKuLEnY7ZtyPXpq8+xROaK0sqOEkyW4lsmA7CG5Tg7Vk6R0fk6KSVD0bsyxLs2XYc /w9IYrUd9nrDB2sy7HI90m8MxaV6WOXXBbzLHsnC+CvLhEYhtj+ttR6m/Cmo/7neqbu8IZIZTXg24 Oub/L+Xw23DELxPZG8r74p/g9jBjRY/deT4ODTDBFm5dEHb4YgaNHPWrTevkg6cTG8yViB4Qims0z XlY2u3oh5fBqFN407l6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pWbn8-009NRo-M2; Mon, 27 Feb 2023 11:35:38 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pWbkA-009N8e-Ex for linux-arm-kernel@lists.infradead.org; Mon, 27 Feb 2023 11:32:37 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 225DAC14; Mon, 27 Feb 2023 03:33:09 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.17.201]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D22423F881; Mon, 27 Feb 2023 03:32:24 -0800 (PST) Date: Mon, 27 Feb 2023 11:32:22 +0000 From: Mark Rutland To: Florian Fainelli Cc: Marc Zyngier , linux-arm-kernel , Catalin Marinas , rostedt@goodmis.org, Stefan Wahren Subject: Re: Misaligned patch-site bcm2836_arm_irqchip_handle_irq+0x0/0x88 Message-ID: References: <2d9284c3-3805-402b-5423-520ced56d047@gmail.com> <87a612do8x.wl-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230227_033234_595251_59140C72 X-CRM114-Status: GOOD ( 20.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Florian, On Sat, Feb 25, 2023 at 07:26:50AM -0800, Florian Fainelli wrote: > On 2/25/2023 2:37 AM, Marc Zyngier wrote: > > On Fri, 24 Feb 2023 23:39:24 +0000, > > Florian Fainelli 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 I think the problem here is: CONFIG_CC_OPTIMIZE_FOR_SIZE=y ... since GCC is known to ignore function alignment when -Os is passed. We can have DYNANMIC_FTRACE_WITH_CALL_OPS depend on !CONFIG_CC_OPTIMIZE_FOR_SIZE to prevent that. That said, you have FTRACE and CC_OPTIMIZE_FOR_SIZE selected; are you actually seeing any beenfit from CC_OPTIMIZE_FOR_SIZE? > 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) Thanks for this info; I'll go check the above with the kernel.org GCC 11.3.0 cross toolchain. Thanks, Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel