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 X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0739C3567B for ; Mon, 24 Feb 2020 07:22:36 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8388E2072D for ; Mon, 24 Feb 2020 07:22:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="a181ZSMd"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="p34LEU//" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8388E2072D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=53nrq7MvJbbc+ykvaTuXGQbtmz+BOp/B8ASJM65LQNs=; b=a181ZSMdUDUSm6 I5x5UI61GDJI5bwltuWGt317GL9/qUQES18l7nMU63kpw3SGWwcnlqqSmbW2PmF/YiyvD0Jqf9rJs TjaDW+pxnXv34aNObksH4BiQhYkqVEuLU9AS2rp199aT7FxBgBd+Pr8E7r8hg0twfDqhOeGZq8GP9 2PsqNihIfgMAjMatJauvF0axwJniXarwuVXC7Qsfx621vibWTmAt//ezEKk7wIxYzDHG+xEXsCQIh T0EPj0BXsxVH3ea+2Ba0D1xI/P8zLKpSADSGid4074+9Rm2Ad6iaihPN8GgMx8qVTNasdgFmM23CY T9kWe0U/zij/katb74OQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j684U-0007JZ-6o; Mon, 24 Feb 2020 07:22:30 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j684R-0007JI-QM for linux-arm-kernel@lists.infradead.org; Mon, 24 Feb 2020 07:22:28 +0000 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5E71320578; Mon, 24 Feb 2020 07:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582528947; bh=Sh/AFPrml+jxcD/YRPNsi/H8wjD86MKYjICDTThL1eY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p34LEU//uyJoPaaP1R4g6ya+FaTQM72gWcIzNvx1iWFXp3Mk1eBDvbA7QDKZgbsPf gsQgL7awq9LpMI5z4AwmvwJ1U+nIMbuJTntnEqiZbWdRS1ss+GtkPH+xZvhMdH/u0L YIql1dDG9EN3ds16vHDgpuA8Fa9+R2YB/femOF+U= Date: Mon, 24 Feb 2020 15:22:18 +0800 From: Shawn Guo To: Leonard Crestez Subject: Re: [PATCH v2 1/8] clk: imx: Align imx sc clock msg structs to 4 Message-ID: <20200224072210.GR27688@dragon> References: <10e97a04980d933b2cfecb6b124bf9046b6e4f16.1582216144.git.leonard.crestez@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <10e97a04980d933b2cfecb6b124bf9046b6e4f16.1582216144.git.leonard.crestez@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200223_232227_876787_66F7E823 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dong Aisheng , Alessandro Zummo , Alexandre Belloni , Abel Vesa , Anson Huang , Stephen Boyd , Michael Turquette , Stefan Agner , linux-clk@vger.kernel.org, Franck LENORMAND , linux-gpio@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, Fabio Estevam , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Feb 20, 2020 at 06:29:32PM +0200, Leonard Crestez wrote: > The imx SC api strongly assumes that messages are composed out of > 4-bytes words but some of our message structs have odd sizeofs. > > This produces many oopses with CONFIG_KASAN=y. > > Fix by marking with __aligned(4). > > Fixes: fe37b4820417 ("clk: imx: add scu clock common part") > Signed-off-by: Leonard Crestez Applied, thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel