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 1DC9EC25B74 for ; Tue, 21 May 2024 18:40:17 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VaMq+cutQqrz1kmIapfRVuzVJ3lfgedBj+PnF+2W0g0=; b=PP+mRGHBT/QjqV yHKS2tiIauZdRl6Vre7KMWXXEyK9gQFEnssEm12UJ1mfVbOvZc6l13ZIfLVYrmm7D8hiEsA1FQZ0A TpvbwXY/QU6NJ2ZB0pPk/yryhGhv0JHf6ivUtcQQ4AW6XXx+Vw8TpvR2Lqx+onnFZe2vatUczAg0i 8z2/nuAJoC+5JUS61s4QUaip5MUjJ/SzHL+DtlKqUtC7KZpLZ7C/KhJghnhUEKP81SBKKUz95BHdm x+f7i3JEWuIXCimkspFXpGP1tg4wUY7whsJBunUQkFWkLxuC99+cH6kYoX9v8UiWtnsSqAq/ef3hA xHw0eOG/vR1aBOq/UL2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9UP7-00000000oE9-0Phc; Tue, 21 May 2024 18:40:05 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9UOb-00000000nwi-30MC for linux-arm-kernel@lists.infradead.org; Tue, 21 May 2024 18:39:37 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id B77C162210; Tue, 21 May 2024 18:39:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91D38C2BD11; Tue, 21 May 2024 18:39:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716316772; bh=ZwNeusr0bjuZXFwILV4/yWqrQt/2j+I7WZxp2xgt54s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ee87fqVbudv9E2QJx9Gu6ChM52QHTOhc1AQOzeWG/slc82aNt4smDnEKE6wOfs7Vk oKyO/UkKcDqlrXUPf5sl3xSwpqrZzvLTweYJAeUy6C8xafD4CVHp80QxGAgpix1yDq JWhi968ZkmTUts/GGHT06sjzpwoH9o/mk5mDq5yM+C3DtJe1HSHZgZeYMCjBKt2ww/ rNPOnEJexkrwlz//7hX37Q02T6m9dy+Pcm7cs8trrK894EG6XCckfnq3DpwTRxKAxi Sv4mgG4sbo/Fc+4apgPRvRYthZIJsxN6pNiCIvYLB4NTSTRC8vKgx6i+LY4C3vBGRo bLSHhAcXLTXgA== From: Will Deacon To: mark.rutland@arm.com, catalin.marinas@arm.com, Dave.Martin@arm.com, xieyuanbin1@huawei.com, Jiangfeng Xiao Cc: kernel-team@android.com, Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, nixiaoming@huawei.com, wangbing6@huawei.com, douzhaolei@huawei.com, liaohua4@huawei.com, lijiahuan5@huawei.com, wangfangpeng1@huawei.com Subject: Re: [PATCH v2] arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY Date: Tue, 21 May 2024 19:39:24 +0100 Message-Id: <171631490546.211397.14650733448270838075.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <1716212077-43826-1-git-send-email-xiaojiangfeng@huawei.com> References: <1715955208-17109-1-git-send-email-xiaojiangfeng@huawei.com> <1716212077-43826-1-git-send-email-xiaojiangfeng@huawei.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240521_113933_860210_8722D330 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. 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 On Mon, 20 May 2024 21:34:37 +0800, Jiangfeng Xiao wrote: > When CONFIG_DEBUG_BUGVERBOSE=n, we fail to add necessary padding bytes > to bug_table entries, and as a result the last entry in a bug table will > be ignored, potentially leading to an unexpected panic(). All prior > entries in the table will be handled correctly. > > The arm64 ABI requires that struct fields of up to 8 bytes are > naturally-aligned, with padding added within a struct such that struct > are suitably aligned within arrays. > > [...] Applied to arm64 (for-next/core), thanks! [1/1] arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY https://git.kernel.org/arm64/c/ffbf4fb9b5c1 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel