From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2 3/4] media: sunxi: sun6i-csi: Add support of MIPI CSI-2 for A83T
Date: Fri, 28 Aug 2020 23:23:12 +0800 [thread overview]
Message-ID: <202008282335.J3qvPDSc%lkp@intel.com> (raw)
In-Reply-To: <20200828131737.12483-4-kevin.lhopital@bootlin.com>
[-- Attachment #1: Type: text/plain, Size: 4224 bytes --]
Hi "Kévin,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on sunxi/sunxi/for-next pza/reset/next v5.9-rc2 next-20200828]
[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]
url: https://github.com/0day-ci/linux/commits/K-vin-L-h-pital/Support-of-MIPI-CSI-2-for-A83T/20200828-212110
base: git://linuxtv.org/media_tree.git master
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/media/platform/sunxi/sun6i-csi/sun8i_a83t_mipi_csi2.c:101:6: warning: no previous prototype for 'sun6i_mipi_csi_init' [-Wmissing-prototypes]
101 | void sun6i_mipi_csi_init(struct sun6i_csi_dev *sdev)
| ^~~~~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/7e8c8e3031ceba91b0a690fe805069b7069540a3
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review K-vin-L-h-pital/Support-of-MIPI-CSI-2-for-A83T/20200828-212110
git checkout 7e8c8e3031ceba91b0a690fe805069b7069540a3
vim +/sun6i_mipi_csi_init +101 drivers/media/platform/sunxi/sun6i-csi/sun8i_a83t_mipi_csi2.c
100
> 101 void sun6i_mipi_csi_init(struct sun6i_csi_dev *sdev)
102 {
103 regmap_update_bits(sdev->regmap, MIPI_CSI2_CTRL_REG,
104 MIPI_CSI2_CTRL_REG_RSTN, MIPI_CSI2_CTRL_REG_RSTN);
105 regmap_write(sdev->regmap, MIPI_CSI2_RX_PKT_NUM_REG, 0xb8d257f8);
106 sun6i_dphy_first_init(sdev);
107 regmap_write(sdev->regmap, MIPI_CSI2_RSVD1_REG,
108 HW_LOCK_REGISTER_VALUE_1);
109 regmap_write(sdev->regmap, MIPI_CSI2_RSVD2_REG,
110 HW_LOCK_REGISTER_VALUE_2);
111 regmap_write(sdev->regmap, MIPI_CSI2_RX_PKT_NUM_REG, 0);
112 regmap_write(sdev->regmap, MIPI_CSI2_VCDT0_REG, 0);
113 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
114 MIPI_CSI2_CFG_REG_SYNC_DLY_CYCLE_MASK,
115 MIPI_CSI2_CFG_REG_SYNC_DLY_CYCLE(0x11));
116 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
117 MIPI_CSI2_CFG_REG_N_BYTE, 0);
118 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
119 MIPI_CSI2_CFG_REG_YC_SWAB, 0);
120 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
121 MIPI_CSI2_CFG_REG_NONE_UNPKT_RX_MODE,
122 MIPI_CSI2_CFG_REG_NONE_UNPKT_RX_MODE);
123 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
124 MIPI_CSI2_CFG_REG_UNPKT_EN,
125 MIPI_CSI2_CFG_REG_UNPKT_EN);
126 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
127 MIPI_CSI2_CFG_REG_BYPASS_ECC_EN,
128 MIPI_CSI2_CFG_REG_BYPASS_ECC_EN);
129 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
130 MIPI_CSI2_CFG_REG_SYNC_EN,
131 MIPI_CSI2_CFG_REG_SYNC_EN);
132 sun6i_dphy_second_init(sdev);
133 regmap_update_bits(sdev->regmap, MIPI_CSI2_CTRL_REG,
134 MIPI_CSI2_CTRL_REG_RSTN, MIPI_CSI2_CTRL_REG_RSTN);
135 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
136 MIPI_CSI2_CFG_REG_SYNC_DLY_CYCLE_MASK,
137 MIPI_CSI2_CFG_REG_SYNC_DLY_CYCLE(0x08));
138 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
139 MIPI_CSI2_CFG_REG_NONE_UNPKT_RX_MODE, 0);
140 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
141 MIPI_CSI2_CFG_REG_BYPASS_ECC_EN, 0);
142 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
143 MIPI_CSI2_CFG_REG_SYNC_EN, 0);
144 }
145
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 63225 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: "Kévin L'hôpital" <kevin.lhopital@bootlin.com>,
linux-media@vger.kernel.org
Cc: kbuild-all@lists.01.org, robh+dt@kernel.org,
mark.rutland@arm.com, mripard@kernel.org, wens@csie.org,
yong.deng@magewell.com, mchehab+samsung@kernel.org,
p.zabel@pengutronix.de, sakari.ailus@linux.intel.com,
hans.verkuil@cisco.com
Subject: Re: [PATCH v2 3/4] media: sunxi: sun6i-csi: Add support of MIPI CSI-2 for A83T
Date: Fri, 28 Aug 2020 23:23:12 +0800 [thread overview]
Message-ID: <202008282335.J3qvPDSc%lkp@intel.com> (raw)
In-Reply-To: <20200828131737.12483-4-kevin.lhopital@bootlin.com>
[-- Attachment #1: Type: text/plain, Size: 4136 bytes --]
Hi "Kévin,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on sunxi/sunxi/for-next pza/reset/next v5.9-rc2 next-20200828]
[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]
url: https://github.com/0day-ci/linux/commits/K-vin-L-h-pital/Support-of-MIPI-CSI-2-for-A83T/20200828-212110
base: git://linuxtv.org/media_tree.git master
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/media/platform/sunxi/sun6i-csi/sun8i_a83t_mipi_csi2.c:101:6: warning: no previous prototype for 'sun6i_mipi_csi_init' [-Wmissing-prototypes]
101 | void sun6i_mipi_csi_init(struct sun6i_csi_dev *sdev)
| ^~~~~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/7e8c8e3031ceba91b0a690fe805069b7069540a3
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review K-vin-L-h-pital/Support-of-MIPI-CSI-2-for-A83T/20200828-212110
git checkout 7e8c8e3031ceba91b0a690fe805069b7069540a3
vim +/sun6i_mipi_csi_init +101 drivers/media/platform/sunxi/sun6i-csi/sun8i_a83t_mipi_csi2.c
100
> 101 void sun6i_mipi_csi_init(struct sun6i_csi_dev *sdev)
102 {
103 regmap_update_bits(sdev->regmap, MIPI_CSI2_CTRL_REG,
104 MIPI_CSI2_CTRL_REG_RSTN, MIPI_CSI2_CTRL_REG_RSTN);
105 regmap_write(sdev->regmap, MIPI_CSI2_RX_PKT_NUM_REG, 0xb8d257f8);
106 sun6i_dphy_first_init(sdev);
107 regmap_write(sdev->regmap, MIPI_CSI2_RSVD1_REG,
108 HW_LOCK_REGISTER_VALUE_1);
109 regmap_write(sdev->regmap, MIPI_CSI2_RSVD2_REG,
110 HW_LOCK_REGISTER_VALUE_2);
111 regmap_write(sdev->regmap, MIPI_CSI2_RX_PKT_NUM_REG, 0);
112 regmap_write(sdev->regmap, MIPI_CSI2_VCDT0_REG, 0);
113 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
114 MIPI_CSI2_CFG_REG_SYNC_DLY_CYCLE_MASK,
115 MIPI_CSI2_CFG_REG_SYNC_DLY_CYCLE(0x11));
116 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
117 MIPI_CSI2_CFG_REG_N_BYTE, 0);
118 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
119 MIPI_CSI2_CFG_REG_YC_SWAB, 0);
120 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
121 MIPI_CSI2_CFG_REG_NONE_UNPKT_RX_MODE,
122 MIPI_CSI2_CFG_REG_NONE_UNPKT_RX_MODE);
123 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
124 MIPI_CSI2_CFG_REG_UNPKT_EN,
125 MIPI_CSI2_CFG_REG_UNPKT_EN);
126 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
127 MIPI_CSI2_CFG_REG_BYPASS_ECC_EN,
128 MIPI_CSI2_CFG_REG_BYPASS_ECC_EN);
129 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
130 MIPI_CSI2_CFG_REG_SYNC_EN,
131 MIPI_CSI2_CFG_REG_SYNC_EN);
132 sun6i_dphy_second_init(sdev);
133 regmap_update_bits(sdev->regmap, MIPI_CSI2_CTRL_REG,
134 MIPI_CSI2_CTRL_REG_RSTN, MIPI_CSI2_CTRL_REG_RSTN);
135 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
136 MIPI_CSI2_CFG_REG_SYNC_DLY_CYCLE_MASK,
137 MIPI_CSI2_CFG_REG_SYNC_DLY_CYCLE(0x08));
138 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
139 MIPI_CSI2_CFG_REG_NONE_UNPKT_RX_MODE, 0);
140 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
141 MIPI_CSI2_CFG_REG_BYPASS_ECC_EN, 0);
142 regmap_update_bits(sdev->regmap, MIPI_CSI2_CFG_REG,
143 MIPI_CSI2_CFG_REG_SYNC_EN, 0);
144 }
145
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 63225 bytes --]
next prev parent reply other threads:[~2020-08-28 15:23 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-28 13:17 [PATCH v2 0/4] Support of MIPI CSI-2 for A83T Kévin L'hôpital
2020-08-28 13:17 ` Kévin L'hôpital
2020-08-28 13:17 ` [PATCH v2 1/4] media: sun6i-csi: Fix the bpp for 10-bit bayer formats Kévin L'hôpital
2020-08-28 13:17 ` Kévin L'hôpital
2020-08-31 10:47 ` Sakari Ailus
2020-08-31 10:47 ` Sakari Ailus
2020-08-28 13:17 ` [PATCH v2 2/4] media: sunxi: sun6i-csi: Move the sun6i_csi_dev structure to the common header Kévin L'hôpital
2020-08-28 13:17 ` Kévin L'hôpital
2020-08-31 10:48 ` Sakari Ailus
2020-08-31 10:48 ` Sakari Ailus
2020-08-28 13:17 ` [PATCH v2 3/4] media: sunxi: sun6i-csi: Add support of MIPI CSI-2 for A83T Kévin L'hôpital
2020-08-28 13:17 ` Kévin L'hôpital
2020-08-28 15:23 ` kernel test robot [this message]
2020-08-28 15:23 ` kernel test robot
2020-08-31 11:26 ` Sakari Ailus
2020-08-31 11:26 ` Sakari Ailus
2020-08-28 13:17 ` [PATCH v2 4/4] ARM: dts: sun8i: a83t: Add support for the MIPI CSI-2 in CSI node Kévin L'hôpital
2020-08-28 13:17 ` Kévin L'hôpital
2020-08-28 14:12 ` [PATCH v2 0/4] Support of MIPI CSI-2 for A83T Paul Kocialkowski
2020-08-28 14:12 ` Paul Kocialkowski
2020-08-31 13:04 ` Maxime Ripard
2020-08-31 13:04 ` 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=202008282335.J3qvPDSc%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.