[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202309241453.RCKvoFI9-lkp@intel.com>
Date: Wed, 27 Sep 2023 15:13:49 +0800
From: kernel test robot <yujie.liu@...el.com>
To: Serge Semin <fancer.lancer@...il.com>,
Michal Simek <monstr@...str.eu>,
Alexander Stein <alexander.stein@...tq-group.com>,
Borislav Petkov <bp@...en8.de>,
Tony Luck <tony.luck@...el.com>,
James Morse <james.morse@....com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
"Robert Richter" <rric@...nel.org>
CC: <oe-kbuild-all@...ts.linux.dev>, <linux-media@...r.kernel.org>,
"Serge Semin" <fancer.lancer@...il.com>,
Punnaiah Choudary Kalluri
<punnaiah.choudary.kalluri@...inx.com>,
Dinh Nguyen <dinguyen@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-edac@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4 13/18] EDAC/synopsys: Introduce System/SDRAM address
translation interface
Hi Serge,
kernel test robot noticed the following build warnings:
[auto build test WARNING on ras/edac-for-next]
[also build test WARNING on linus/master v6.6-rc2 next-20230921]
[cannot apply to xilinx-xlnx/master bp/for-next]
[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/Serge-Semin/EDAC-synopsys-Convert-sysfs-nodes-to-debugfs-ones/20230921-035302
base: https://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git edac-for-next
patch link: https://lore.kernel.org/r/20230920192806.29960-14-fancer.lancer%40gmail.com
patch subject: [PATCH v4 13/18] EDAC/synopsys: Introduce System/SDRAM address translation interface
config: arm64-randconfig-003-20230924 (https://download.01.org/0day-ci/archive/20230924/202309241453.RCKvoFI9-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230924/202309241453.RCKvoFI9-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 <yujie.liu@...el.com>
| Closes: https://lore.kernel.org/r/202309241453.RCKvoFI9-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/edac/synopsys_edac.c:482:13: warning: 'snps_map_sys_to_sdram' defined but not used [-Wunused-function]
482 | static void snps_map_sys_to_sdram(struct snps_edac_priv *priv,
| ^~~~~~~~~~~~~~~~~~~~~
vim +/snps_map_sys_to_sdram +482 drivers/edac/synopsys_edac.c
07abea90e8d373 Serge Semin 2023-09-20 472
07abea90e8d373 Serge Semin 2023-09-20 473 /**
07abea90e8d373 Serge Semin 2023-09-20 474 * snps_map_sys_to_sdram - Map System address to SDRAM address.
07abea90e8d373 Serge Semin 2023-09-20 475 * @priv: DDR memory controller private instance data.
07abea90e8d373 Serge Semin 2023-09-20 476 * @sys: System address (source).
07abea90e8d373 Serge Semin 2023-09-20 477 * @sdram: SDRAM address (destination).
07abea90e8d373 Serge Semin 2023-09-20 478 *
07abea90e8d373 Serge Semin 2023-09-20 479 * Perform a full mapping of the system address (detected on the controller
07abea90e8d373 Serge Semin 2023-09-20 480 * ports) to the SDRAM address tuple row/column/bank/etc.
07abea90e8d373 Serge Semin 2023-09-20 481 */
07abea90e8d373 Serge Semin 2023-09-20 @482 static void snps_map_sys_to_sdram(struct snps_edac_priv *priv,
07abea90e8d373 Serge Semin 2023-09-20 483 dma_addr_t sys, struct snps_sdram_addr *sdram)
07abea90e8d373 Serge Semin 2023-09-20 484 {
07abea90e8d373 Serge Semin 2023-09-20 485 u64 app, hif;
07abea90e8d373 Serge Semin 2023-09-20 486
07abea90e8d373 Serge Semin 2023-09-20 487 app = sys;
07abea90e8d373 Serge Semin 2023-09-20 488
07abea90e8d373 Serge Semin 2023-09-20 489 snps_map_app_to_hif(priv, app, &hif);
07abea90e8d373 Serge Semin 2023-09-20 490
07abea90e8d373 Serge Semin 2023-09-20 491 snps_map_hif_to_sdram(priv, hif, sdram);
07abea90e8d373 Serge Semin 2023-09-20 492 }
07abea90e8d373 Serge Semin 2023-09-20 493
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists