From: kbuild test robot <lkp@intel.com>
To: "Mylène Josserand" <mylene.josserand@bootlin.com>
Cc: kbuild-all@01.org, maxime.ripard@bootlin.com,
linux@armlinux.org.uk, wens@csie.org, robh+dt@kernel.org,
mark.rutland@arm.com, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, clabbe.montjoie@gmail.com,
thomas.petazzoni@bootlin.com, mylene.josserand@bootlin.com,
quentin.schulz@bootlin.com
Subject: Re: [PATCH v4 08/10] ARM: sunxi: smp: Move assembly code into a file
Date: Mon, 26 Feb 2018 14:22:44 +0800 [thread overview]
Message-ID: <201802261422.ZCMWtsTA%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180223133742.26044-9-mylene.josserand@bootlin.com>
[-- Attachment #1: Type: text/plain, Size: 3258 bytes --]
Hi Mylène,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on next-20180223]
[cannot apply to arm-soc/for-next robh/for-next linux-rpi/for-rpi-next v4.16-rc2 v4.16-rc1 v4.15 v4.16-rc3]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Myl-ne-Josserand/Sunxi-Add-SMP-support-on-A83T/20180226-035312
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
arch/arm/mach-sunxi/headsmp.S: Assembler messages:
>> arch/arm/mach-sunxi/headsmp.S:22: Error: selected processor does not support `movw r2,#(0xff00fff0&0xffff)' in ARM mode
>> arch/arm/mach-sunxi/headsmp.S:23: Error: selected processor does not support `movt r2,#(0xff00fff0>>16)' in ARM mode
arch/arm/mach-sunxi/headsmp.S:25: Error: selected processor does not support `movw r2,#(0x4100c0f0&0xffff)' in ARM mode
arch/arm/mach-sunxi/headsmp.S:26: Error: selected processor does not support `movt r2,#(0x4100c0f0>>16)' in ARM mode
vim +22 arch/arm/mach-sunxi/headsmp.S
13
14 ENTRY(sunxi_mc_smp_cluster_cache_enable)
15 /*
16 * Enable cluster-level coherency, in preparation for turning on the MMU.
17 *
18 * Also enable regional clock gating and L2 data latency settings for
19 * Cortex-A15. These settings are from the vendor kernel.
20 */
21 mrc p15, 0, r1, c0, c0, 0
> 22 movw r2, #(0xff00fff0&0xffff)
> 23 movt r2, #(0xff00fff0>>16)
24 and r1, r1, r2
25 movw r2, #(0x4100c0f0&0xffff)
26 movt r2, #(0x4100c0f0>>16)
27 cmp r1, r2
28 bne not_a15
29
30 /* The following is Cortex-A15 specific */
31
32 /* ACTLR2: Enable CPU regional clock gates */
33 mrc p15, 1, r1, c15, c0, 4
34 orr r1, r1, #(0x1<<31)
35 mcr p15, 1, r1, c15, c0, 4
36
37 /* L2ACTLR */
38 mrc p15, 1, r1, c15, c0, 0
39 /* Enable L2, GIC, and Timer regional clock gates */
40 orr r1, r1, #(0x1<<26)
41 /* Disable clean/evict from being pushed to external */
42 orr r1, r1, #(0x1<<3)
43 mcr p15, 1, r1, c15, c0, 0
44
45 /* L2CTRL: L2 data RAM latency */
46 mrc p15, 1, r1, c9, c0, 2
47 bic r1, r1, #(0x7<<0)
48 orr r1, r1, #(0x3<<0)
49 mcr p15, 1, r1, c9, c0, 2
50
51 /* End of Cortex-A15 specific setup */
52 not_a15:
53
54 /* Get value of sunxi_mc_smp_first_comer */
55 adr r1, first
56 ldr r0, [r1]
57 ldr r0, [r1, r0]
58
59 /* Skip cci_enable_port_for_self if not first comer */
60 cmp r0, #0
61 bxeq lr
62 b cci_enable_port_for_self
63
64 .align 2
65 first: .word sunxi_mc_smp_first_comer - .
66 ENDPROC(sunxi_mc_smp_cluster_cache_enable)
67
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 65297 bytes --]
next prev parent reply other threads:[~2018-02-26 6:23 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 13:37 [PATCH v4 00/10] Sunxi: Add SMP support on A83T Mylène Josserand
2018-02-23 13:37 ` [PATCH v4 01/10] ARM: sun9i: smp: Add sun9i dt parsing function Mylène Josserand
2018-02-23 14:54 ` Maxime Ripard
2018-02-25 15:19 ` Mylène Josserand
2018-02-23 13:37 ` [PATCH v4 02/10] ARM: sun9i: smp: Rename clusters's power-off register Mylène Josserand
2018-02-23 14:56 ` Maxime Ripard
2018-02-25 15:20 ` Mylène Josserand
2018-02-23 13:37 ` [PATCH v4 03/10] ARM: sun8i: smp: Add support for A83T Mylène Josserand
2018-02-23 15:03 ` Maxime Ripard
2018-02-25 15:25 ` Mylène Josserand
2018-02-23 13:37 ` [PATCH v4 04/10] ARM: sun8i: smp: Add hotplug support for sun8i-a83t Mylène Josserand
2018-02-23 13:37 ` [PATCH v4 05/10] ARM: dts: sun8i: Add CPUCFG device node for A83T dtsi Mylène Josserand
2018-02-23 13:37 ` [PATCH v4 06/10] ARM: dts: sun8i: Add R_CPUCFG device node for the " Mylène Josserand
2018-02-23 13:37 ` [PATCH v4 07/10] ARM: dts: sun8i: a83t: Add CCI-400 node Mylène Josserand
2018-02-23 13:37 ` [PATCH v4 08/10] ARM: sunxi: smp: Move assembly code into a file Mylène Josserand
2018-02-23 15:09 ` Maxime Ripard
2018-03-01 8:21 ` Mylène Josserand
2018-02-26 6:22 ` kbuild test robot [this message]
2018-02-23 13:37 ` [PATCH v4 09/10] ARM: sunxi: smp: Move cpu_resume assembly entry into file Mylène Josserand
2018-02-23 13:37 ` [PATCH v4 10/10] ARM: sunxi: smp: Add initialization of CNTVOFF Mylène Josserand
2018-02-23 15:12 ` Maxime Ripard
2018-02-23 16:17 ` Chen-Yu Tsai
2018-02-26 10:12 ` Maxime Ripard
2018-02-26 10:25 ` Chen-Yu Tsai
2018-03-05 7:51 ` Mylène Josserand
2018-03-05 8:31 ` Maxime Ripard
2018-03-05 13:51 ` Mylène Josserand
2018-03-07 12:09 ` Marc Zyngier
2018-03-07 12:18 ` Marc Zyngier
2018-03-18 19:07 ` Mylène Josserand
2018-03-19 2:14 ` Chen-Yu Tsai
2018-03-19 13:55 ` Maxime Ripard
2018-03-19 9:21 ` Marc Zyngier
2018-03-19 10:59 ` Maxime Ripard
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=201802261422.ZCMWtsTA%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=clabbe.montjoie@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=kbuild-all@01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@bootlin.com \
--cc=mylene.josserand@bootlin.com \
--cc=quentin.schulz@bootlin.com \
--cc=robh+dt@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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