Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4052669rdb; Thu, 28 Dec 2023 08:33:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFeBONt8zbLzIdmvcWXFG4F6qHmPl5xdrK9+OsJQwCLN4eAyO8hMNYO8s0p3shH3nb5eqyN X-Received: by 2002:a05:6214:4202:b0:680:6f4a:e4f0 with SMTP id nd2-20020a056214420200b006806f4ae4f0mr1602785qvb.122.1703781192617; Thu, 28 Dec 2023 08:33:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703781192; cv=none; d=google.com; s=arc-20160816; b=BA1IxHmyNYasCT7u/VpDYnVZTVnQutfW/R1qE05SfUrjtWCQ/Z3c/eUqCkkWPhMVmC 91yK8hHP5+LmbTIN72y2vrltC5IzrkCkE9GAfvlzUyX5ytkEzEuBjbyIiANLXMQIKYx/ DvOhVP1HEalxLRXm146wAWBl/rBTufGsdG8VXQi9avTgc3JWnb6fJraJwGCj7biwzQdu 8fT55g3357+7WTnji0dIGIo1CMCP3cbI4chHxvZqwQhYm7cawkpjXp44/eMtrT5ffEpm rA1H+dKUetkZ65Gh1MD+mKw70/1snukttX8KxCDZ0WVndoFeNPOQGHPxRAr4S1DYE/UB 11Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=lAP8Zb+HkZsnillwcpfrsbTuBIJbNz9/nXmUQV/BSSk=; fh=511WlHjXkb3LOo8Obscnh2/ykGdfhuXqrpAYMqh/bBY=; b=wsbXOVDsNgM+jxDqyJlbtSn3CQqY2see9ztbhEAGld+TonMO7PQRCjnWD4aY/RVQLR woZQH1c9q+SaeKuWKulCd1U3NOIAM0Z1+CjFbufSiKxwHucferH90WameQFuX9OId2zI qSRnKvdU9GZnjayA/3qy++MrPeZYSnj71x+btg6haf1psleuWCYUekSev12eTW/f6fXW W/dc0qop2TEawyRk+JMLNYQ1blRFc2GBMMQ6VVoTe6ne3JKcmXPoqp8m7y7I6z/Pur6y 0VS16lEA4hxQYHp192VBg4JLyL3EBQX+sd8kzJkhhVy/UExWMIgU/REUfxXRbdr4ynfn vAiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SCBJpB99; spf=pass (google.com: domain of linux-kernel+bounces-12777-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12777-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h19-20020a0cf453000000b0067ab0240542si17267207qvm.500.2023.12.28.08.33.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 08:33:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12777-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SCBJpB99; spf=pass (google.com: domain of linux-kernel+bounces-12777-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12777-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5F3DF1C22883 for ; Thu, 28 Dec 2023 16:33:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBFCDF519; Thu, 28 Dec 2023 16:33:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SCBJpB99" X-Original-To: linux-kernel@vger.kernel.org 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 D7E2EF4EC; Thu, 28 Dec 2023 16:33:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5878EC433C7; Thu, 28 Dec 2023 16:33:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703781183; bh=A+mzjJV1MkOOSr8necrae1hjEHXB1nVIyk8vFPzU0nA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=SCBJpB99wRNQ+/edSWU3WqaeGIEYBYXUSOq7sxS+Zg7b/jxPNOa6LK168C7z5bL1+ 9+1ueqsEiK/JBTEaJ0fqJbQjKwXa9JSuraS0AJKnGFzc9Ft2crt/YurjmbL53M0/4W yHireEXNLJ2YeBHk50vy7GmBsdLHArTXi2VgYx41h9X9gi1jhfgbhdAADG5ryf+HiC liAtXO65YNBnp+mYZVxgBMrYyELjEH3wet97JxrvpQVZLeQ10TFeWZXN+2eEQJTGYH tuSdJ6waitWR9KHaSQDn5x0VtJanNgdNuuH9sjpPBnHvp2BfDBrQOFZ2PNUxBYBTyW b28BH5pjodTrw== Received: by mail-oi1-f178.google.com with SMTP id 5614622812f47-3bb53e20a43so4998768b6e.1; Thu, 28 Dec 2023 08:33:03 -0800 (PST) X-Gm-Message-State: AOJu0YyQBMT/1LG1T5bmCpMoDIGsZ6REv2GW/x+XK/a4xtw5qKGHzzbp cglCMc5aP1MXVKNvkRd6DIuydFKZLcUqc9I9/5Y= X-Received: by 2002:a05:6870:c112:b0:204:20cb:8cd7 with SMTP id f18-20020a056870c11200b0020420cb8cd7mr12469373oad.103.1703781182663; Thu, 28 Dec 2023 08:33:02 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Masahiro Yamada Date: Fri, 29 Dec 2023 01:32:26 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] linux/export: Ensure natural alignment of kcrctab array To: Helge Deller Cc: linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 28, 2023 at 7:36=E2=80=AFPM Helge Deller wr= ote: > > The ___kcrctab section holds an array of 32-bit CRC values. > Add a .balign 4 to tell the linker the correct memory alignment. > > Signed-off-by: Helge Deller > Fixes: f3304ecd7f06 ("linux/export: use inline assembler to populate symb= ol CRCs") > Link: https://lore.kernel.org/r/CAK7LNAT5gyn0C9EJhh1EeFT7gF0rOudWcdqAVN= =3D+C4jR42W90w@mail.gmail.com/ Applied to linux-kbuild/fixes. Thanks! > diff --git a/include/linux/export-internal.h b/include/linux/export-inter= nal.h > index 69501e0ec239..51b8cf3f60ef 100644 > --- a/include/linux/export-internal.h > +++ b/include/linux/export-internal.h > @@ -61,6 +61,7 @@ > > #define SYMBOL_CRC(sym, crc, sec) \ > asm(".section \"___kcrctab" sec "+" #sym "\",\"a\"" "\n" \ > + ".balign 4" "\n" \ > "__crc_" #sym ":" "\n" \ > ".long " #crc "\n" \ > ".previous" "\n") --=20 Best Regards Masahiro Yamada