From: kernel test robot <lkp@intel.com>
To: Viacheslav Bocharov <adeep@lexina.in>,
Neil Armstrong <neil.armstrong@linaro.org>,
Jerome Brunet <jbrunet@baylibre.com>,
Kevin Hilman <khilman@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 4/5] soc: amlogic: Add Amlogic secure-monitor SoC Information driver
Date: Fri, 24 Nov 2023 23:42:40 +0800 [thread overview]
Message-ID: <202311242104.RjBPI3uI-lkp@intel.com> (raw)
In-Reply-To: <20231122125643.1717160-5-adeep@lexina.in>
Hi Viacheslav,
kernel test robot noticed the following build warnings:
[auto build test WARNING on rockchip/for-next]
[also build test WARNING on linus/master v6.7-rc2 next-20231124]
[cannot apply to arm/for-next kvmarm/next arm/fixes]
[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/Viacheslav-Bocharov/soc-amlogic-meson-gx-socinfo-move-common-code-to-header-file/20231122-232150
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
patch link: https://lore.kernel.org/r/20231122125643.1717160-5-adeep%40lexina.in
patch subject: [PATCH 4/5] soc: amlogic: Add Amlogic secure-monitor SoC Information driver
config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20231124/202311242104.RjBPI3uI-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231124/202311242104.RjBPI3uI-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311242104.RjBPI3uI-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/soc/amlogic/meson-gx-socinfo-sm.c:21:
>> drivers/soc/amlogic/meson-gx-socinfo-internal.h:48:3: warning: 'soc_packages' defined but not used [-Wunused-const-variable=]
48 | } soc_packages[] = {
| ^~~~~~~~~~~~
>> drivers/soc/amlogic/meson-gx-socinfo-internal.h:26:3: warning: 'soc_ids' defined but not used [-Wunused-const-variable=]
26 | } soc_ids[] = {
| ^~~~~~~
vim +/soc_packages +48 drivers/soc/amlogic/meson-gx-socinfo-internal.h
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 22
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 23 static const struct meson_gx_soc_id {
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 24 const char *name;
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 25 unsigned int id;
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 @26 } soc_ids[] = {
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 27 { "GXBB", 0x1f },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 28 { "GXTVBB", 0x20 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 29 { "GXL", 0x21 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 30 { "GXM", 0x22 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 31 { "TXL", 0x23 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 32 { "TXLX", 0x24 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 33 { "AXG", 0x25 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 34 { "GXLX", 0x26 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 35 { "TXHD", 0x27 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 36 { "G12A", 0x28 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 37 { "G12B", 0x29 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 38 { "SM1", 0x2b },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 39 { "A1", 0x2c },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 40 };
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 41
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 42
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 43 static const struct meson_gx_package_id {
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 44 const char *name;
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 45 unsigned int major_id;
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 46 unsigned int pack_id;
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 47 unsigned int pack_mask;
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 @48 } soc_packages[] = {
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 49 { "S905", 0x1f, 0, 0x20 }, /* pack_id != 0x20 */
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 50 { "S905H", 0x1f, 0x3, 0xf }, /* pack_id & 0xf == 0x3 */
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 51 { "S905M", 0x1f, 0x20, 0xf0 }, /* pack_id == 0x20 */
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 52 { "S905D", 0x21, 0, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 53 { "S905X", 0x21, 0x80, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 54 { "S905W", 0x21, 0xa0, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 55 { "S905L", 0x21, 0xc0, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 56 { "S905M2", 0x21, 0xe0, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 57 { "S805X", 0x21, 0x30, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 58 { "S805Y", 0x21, 0xb0, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 59 { "S912", 0x22, 0, 0x0 }, /* Only S912 is known for GXM */
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 60 { "962X", 0x24, 0x10, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 61 { "962E", 0x24, 0x20, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 62 { "A113X", 0x25, 0x37, 0xff },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 63 { "A113X", 0x25, 0x43, 0xff },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 64 { "A113D", 0x25, 0x22, 0xff },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 65 { "S905D2", 0x28, 0x10, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 66 { "S905Y2", 0x28, 0x30, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 67 { "S905X2", 0x28, 0x40, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 68 { "A311D", 0x29, 0x10, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 69 { "S922X", 0x29, 0x40, 0xf0 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 70 { "S905D3", 0x2b, 0x4, 0xf5 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 71 { "S905X3", 0x2b, 0x5, 0xf5 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 72 { "S905X3", 0x2b, 0x10, 0x3f },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 73 { "S905D3", 0x2b, 0x30, 0x3f },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 74 { "A113L", 0x2c, 0x0, 0xf8 },
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 75 };
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 76
2fed8e24da3985 Viacheslav Bocharov 2023-11-22 77
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-11-24 15:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-22 12:56 [PATCH 0/5] soc: amlogic: add new meson-gx-socinfo-sm driver Viacheslav Bocharov
2023-11-22 12:56 ` [PATCH 1/5] soc: amlogic: meson-gx-socinfo: move common code to header file Viacheslav Bocharov
2023-11-22 12:56 ` [PATCH 2/5] soc: amlogic: meson-gx-socinfo: move common code to exported function Viacheslav Bocharov
2023-11-22 12:56 ` [PATCH 3/5] firmware: meson_sm: move common definitions to header file Viacheslav Bocharov
2024-02-16 21:16 ` Evgeny Bachinin
2023-11-22 12:56 ` [PATCH 4/5] soc: amlogic: Add Amlogic secure-monitor SoC Information driver Viacheslav Bocharov
2023-11-24 15:42 ` kernel test robot [this message]
2024-02-16 21:53 ` Evgeny Bachinin
2023-11-22 12:56 ` [PATCH 5/5] arm64: dts: meson: add dts links to secure-monitor for soc driver in a1, axg, gx, g12 Viacheslav Bocharov
2023-11-22 18:45 ` [DMARC error][DKIM error] " Dmitry Rokosov
2024-02-16 7:47 ` [DMARC error][DKIM error] [PATCH 0/5] soc: amlogic: add new meson-gx-socinfo-sm driver Dmitry Rokosov
2024-02-19 8:36 ` Neil Armstrong
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=202311242104.RjBPI3uI-lkp@intel.com \
--to=lkp@intel.com \
--cc=adeep@lexina.in \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=neil.armstrong@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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