From: Shawn Guo <shawnguo@kernel•org>
To: Leonard Crestez <leonard.crestez@nxp•com>
Cc: Dong Aisheng <aisheng.dong@nxp•com>,
Alessandro Zummo <a.zummo@towertech•it>,
Alexandre Belloni <alexandre.belloni@bootlin•com>,
Abel Vesa <abel.vesa@nxp•com>, Anson Huang <anson.huang@nxp•com>,
Stephen Boyd <sboyd@kernel•org>,
Michael Turquette <mturquette@baylibre•com>,
Stefan Agner <stefan@agner•ch>,
linux-clk@vger•kernel.org,
Franck LENORMAND <franck.lenormand@nxp•com>,
linux-gpio@vger•kernel.org, linux-imx@nxp•com,
kernel@pengutronix•de, Fabio Estevam <fabio.estevam@nxp•com>,
Linus Walleij <linus.walleij@linaro•org>,
linux-arm-kernel@lists•infradead.org, linux-rtc@vger•kernel.org
Subject: Re: [PATCH v2 5/8] firmware: imx: Align imx_sc_msg_req_cpu_start to 4
Date: Mon, 24 Feb 2020 15:28:59 +0800 [thread overview]
Message-ID: <20200224072858.GV27688@dragon> (raw)
In-Reply-To: <a74fdf9dd976a6b3198844880ec2f4c6f1c70dca.1582216144.git.leonard.crestez@nxp.com>
On Thu, Feb 20, 2020 at 06:29:36PM +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: d90bf296ae18 ("firmware: imx: Add support to start/stop a CPU")
> Signed-off-by: Leonard Crestez <leonard.crestez@nxp•com>
Applied, thanks.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-02-24 7:29 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-20 16:29 [PATCH v2 0/8] firmware: imx: Align imx SC msg structs to 4 Leonard Crestez
2020-02-20 16:29 ` [PATCH v2 1/8] clk: imx: Align imx sc clock " Leonard Crestez
2020-02-24 7:22 ` Shawn Guo
2020-03-16 0:25 ` Shawn Guo
2020-02-25 16:51 ` Stephen Boyd
2020-02-25 19:52 ` Leonard Crestez
[not found] ` <158276809953.177367.6095692240077023796@swboyd.mtv.corp.google.com>
2020-03-17 19:25 ` Leonard Crestez
2020-03-17 19:54 ` Dmitry Vyukov
2020-03-16 8:52 ` Aisheng Dong
2020-02-20 16:29 ` [PATCH v2 2/8] clk: imx: Align imx sc clock parent " Leonard Crestez
2020-02-24 7:23 ` Shawn Guo
2020-02-20 16:29 ` [PATCH v2 3/8] firmware: imx: misc: Align imx sc " Leonard Crestez
2020-02-24 7:28 ` Shawn Guo
2020-02-20 16:29 ` [PATCH v2 4/8] firmware: imx: scu-pd: " Leonard Crestez
2020-02-24 7:28 ` Shawn Guo
2020-02-20 16:29 ` [PATCH v2 5/8] firmware: imx: Align imx_sc_msg_req_cpu_start " Leonard Crestez
2020-02-24 7:28 ` Shawn Guo [this message]
2020-02-20 16:29 ` [PATCH v2 6/8] pinctrl: imx: scu: Align imx sc msg structs " Leonard Crestez
2020-02-21 15:34 ` Linus Walleij
2020-02-20 16:29 ` [PATCH v2 7/8] rtc: imx-sc: " Leonard Crestez
2020-03-03 11:02 ` Alexandre Belloni
2020-02-20 16:29 ` [PATCH v2 8/8] soc: imx-scu: " Leonard Crestez
2020-02-24 7:30 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200224072858.GV27688@dragon \
--to=shawnguo@kernel$(echo .)org \
--cc=a.zummo@towertech$(echo .)it \
--cc=abel.vesa@nxp$(echo .)com \
--cc=aisheng.dong@nxp$(echo .)com \
--cc=alexandre.belloni@bootlin$(echo .)com \
--cc=anson.huang@nxp$(echo .)com \
--cc=fabio.estevam@nxp$(echo .)com \
--cc=franck.lenormand@nxp$(echo .)com \
--cc=kernel@pengutronix$(echo .)de \
--cc=leonard.crestez@nxp$(echo .)com \
--cc=linus.walleij@linaro$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-clk@vger$(echo .)kernel.org \
--cc=linux-gpio@vger$(echo .)kernel.org \
--cc=linux-imx@nxp$(echo .)com \
--cc=linux-rtc@vger$(echo .)kernel.org \
--cc=mturquette@baylibre$(echo .)com \
--cc=sboyd@kernel$(echo .)org \
--cc=stefan@agner$(echo .)ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox