Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3273648lqo; Tue, 21 May 2024 11:40:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXa8otB5R+MjblKMqq0P8AL+zDpo/RSItVlB1NoHppNeaazUGJ6+y9ure5ZmaIGaW2AG+ICPJDHkivxzMrvPLHPGULA/HB37T2fW7744A== X-Google-Smtp-Source: AGHT+IFFh6W9/ESxgy2/aq/FoWPU3QNCCYJ58GmPTXn4aJgZiiN8RRkySNVPDZBEuGkN4FacWbDG X-Received: by 2002:a17:903:98b:b0:1f2:fb89:1d32 with SMTP id d9443c01a7336-1f2fb8921b3mr91033815ad.48.1716316811120; Tue, 21 May 2024 11:40:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716316811; cv=pass; d=google.com; s=arc-20160816; b=moKjjlUvhanFHIxQ8xodJ2g1Ff4wqGa0+WHa25AxGCHVA/4kYS2J3XqAkxtp8EEEq5 qzq6RDbQr0Kbyv0G3WVWvr1vtoTQ/JLpvnNcke+b6Y5qiij8M6ScuckgmU/10xoon6Xr deZyLZvhRv3LJIQMsBCIwJAnLgsYuxTUG4igkBgxx6e50RXGrBDgBzM3m+6GtBRsgBDC 6iqS5yTbcqAFxx0dkiea/if+gRu/6dCuJJz2T/qna0UkTgKB3ak9Cp4EjdjmBOcapEgY 9276kbUp9HNyiO9UZOOvZ6uHS4DDXJnXhTeGRtt/pNEEI9PklCRVtd8WKOtkgvC1PPcs ic8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=1LNd+fv3oEu/0YErNUclCj9Upaa4gJ8pi6cxnCsfq/0=; fh=+0Z8MmBb7T4/Oqylu+AM/iQhx/0sT1yF+kF73n/wJZM=; b=sIxfMfFoVC7fS0ZHZ7LSwDT2pOrMdut6IZ1lZkjdOThKOw5VBsQpoCi40aitHx/x++ b7Uu18Zg9PpXLFj5AE4EnCm90K2WlOWN9PZsDBRsDlFfOBLCUYfSmS0xvYRfgWbaYWQL 8NY36u0PGITmC/wc3P/Hw+YHFV5px1WGyoiyIipdl2dWeHlWkxyyTT+YYKoFhfdUDuRX xILSB0nCxlWLcECGMaFAAHGWFqM4Ec/LFEy/nF79Nu7Nt29TssiujmTKjy+MqK7piCZc U9d9La3ndwATm6DVmRP44BTQl2FYSZf92SwCSqMNa3yycq/gaVW1zKxvyc7BxHISlzBQ gs2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ee87fqVb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-185334-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185334-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f308926145si26572795ad.444.2024.05.21.11.40.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 11:40:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185334-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ee87fqVb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-185334-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185334-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8955DB21DF5 for ; Tue, 21 May 2024 18:39:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3011148FF0; Tue, 21 May 2024 18:39:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ee87fqVb" 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 0085114884F for ; Tue, 21 May 2024 18:39:32 +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=1716316773; cv=none; b=gwq//aqyoxnKb+a6iYD+RZ+ySVVwqNEiHmypPBmFFpnsIY2HirRz9sRe+rQFAcjFgk+d1rT4oi/IQr6NrWTqiE3voC4cxh+qI/AVaAbBqSsNYoB6/OEq04WRQ6haXNesqWriHQjdhjeoyfJDEi8zT5C2J3zTBRUuw8dLC7tnyME= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716316773; c=relaxed/simple; bh=ZwNeusr0bjuZXFwILV4/yWqrQt/2j+I7WZxp2xgt54s=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=D2a5a0uXViUYaqUIUiZU5Bn19TLcDKfld1BHHg4UTj/rY8mHjnBTkslcMepWHieab1g//FaKxW9GFC+GOHBPl2C0Khbov6K29ZzKXQZHdPriNDMWSCz83aSH034GIt6bVqbvjU7dillLgRi6bFsmirLlpHLTP48SeAu46DH0QnY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ee87fqVb; arc=none smtp.client-ip=10.30.226.201 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> 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="utf-8" Content-Transfer-Encoding: 8bit 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