2023-05-19 08:58:55

by Chanh Nguyen

[permalink] [raw]
Subject: [PATCH v2 3/3] ARM: dts: aspeed: mtmitchell: Add MCTP

Enable MCTP driver on I2C3 bus for MCTP transaction

Signed-off-by: Chanh Nguyen <[email protected]>
---
Changes in v2:
- Update reg for mctp node. [Andrew]
---
arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts
index d3c7e7c0fd25..c0316c198a88 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts
@@ -366,6 +366,13 @@

&i2c3 {
status = "okay";
+ bus-frequency = <1000000>;
+ multi-master;
+ mctp-controller;
+ mctp@10 {
+ compatible = "mctp-i2c-controller";
+ reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+ };
};

&i2c4 {
--
2.17.1



2023-05-19 14:14:16

by kernel test robot

[permalink] [raw]
Subject: Re: [PATCH v2 3/3] ARM: dts: aspeed: mtmitchell: Add MCTP

Hi Chanh,

kernel test robot noticed the following build errors:

[auto build test ERROR on krzk/for-next]
[also build test ERROR on krzk-dt/for-next krzk-mem-ctrl/for-next linus/master v6.4-rc2 next-20230519]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Chanh-Nguyen/ARM-dts-aspeed-mtmitchell-Enable-the-BMC-UART8-and-UART9/20230519-165514
base: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git for-next
patch link: https://lore.kernel.org/r/20230519085200.22020-4-chanh%40os.amperecomputing.com
patch subject: [PATCH v2 3/3] ARM: dts: aspeed: mtmitchell: Add MCTP
config: arm-defconfig
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/da702cf741af776d5d8f601ab7b2927ea4c702e6
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Chanh-Nguyen/ARM-dts-aspeed-mtmitchell-Enable-the-BMC-UART8-and-UART9/20230519-165514
git checkout da702cf741af776d5d8f601ab7b2927ea4c702e6
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> Error: arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts:374.18-19 syntax error
FATAL ERROR: Unable to parse input tree

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


Attachments:
(No filename) (2.14 kB)
config (270.39 kB)
Download all attachments

2023-05-23 22:54:22

by kernel test robot

[permalink] [raw]
Subject: Re: [PATCH v2 3/3] ARM: dts: aspeed: mtmitchell: Add MCTP

Hi Chanh,

kernel test robot noticed the following build errors:

[auto build test ERROR on krzk/for-next]
[also build test ERROR on krzk-dt/for-next krzk-mem-ctrl/for-next linus/master v6.4-rc3 next-20230523]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Chanh-Nguyen/ARM-dts-aspeed-mtmitchell-Enable-the-BMC-UART8-and-UART9/20230519-165514
base: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git for-next
patch link: https://lore.kernel.org/r/20230519085200.22020-4-chanh%40os.amperecomputing.com
patch subject: [PATCH v2 3/3] ARM: dts: aspeed: mtmitchell: Add MCTP
config: arm-randconfig-r034-20230522
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 4faf3aaf28226a4e950c103a14f6fc1d1fdabb1b)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/intel-lab-lkp/linux/commit/da702cf741af776d5d8f601ab7b2927ea4c702e6
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Chanh-Nguyen/ARM-dts-aspeed-mtmitchell-Enable-the-BMC-UART8-and-UART9/20230519-165514
git checkout da702cf741af776d5d8f601ab7b2927ea4c702e6
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> Error: arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts:374.18-19 syntax error
FATAL ERROR: Unable to parse input tree

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


Attachments:
(No filename) (2.32 kB)
config (135.04 kB)
Download all attachments