linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	linux-mm@kvack.org, linux-acpi@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, x86@kernel.org
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
	kbuild-all@lists.01.org, rafael@kernel.org,
	linux-kernel@vger.kernel.org, Ingo Molnar <mingo@redhat.com>,
	Bjorn Helgaas <helgaas@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH v7 1/6] ACPI: Support Generic Initiator only domains
Date: Tue, 14 Jul 2020 02:47:04 +0800	[thread overview]
Message-ID: <202007140251.YUhncPgQ%lkp@intel.com> (raw)
In-Reply-To: <20200713155600.2272743-2-Jonathan.Cameron@huawei.com>

[-- Attachment #1: Type: text/plain, Size: 2636 bytes --]

Hi Jonathan,

I love your patch! Yet something to improve:

[auto build test ERROR on pm/linux-next]
[also build test ERROR on tip/x86/core driver-core/driver-core-testing linus/master tip/x86/mm v5.8-rc5 next-20200713]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use  as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Jonathan-Cameron/ACPI-Support-Generic-Initiator-proximity-domains/20200714-000539
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-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=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/acpi/numa/srat.c: In function 'acpi_parse_gi_affinity':
>> drivers/acpi/numa/srat.c:386:9: error: too many arguments to function 'acpi_map_pxm_to_node'
     386 |  node = acpi_map_pxm_to_node(gi_affinity->proximity_domain, true);
         |         ^~~~~~~~~~~~~~~~~~~~
   drivers/acpi/numa/srat.c:55:5: note: declared here
      55 | int acpi_map_pxm_to_node(int pxm)
         |     ^~~~~~~~~~~~~~~~~~~~

vim +/acpi_map_pxm_to_node +386 drivers/acpi/numa/srat.c

   370	
   371	static int __init
   372	acpi_parse_gi_affinity(union acpi_subtable_headers *header,
   373			       const unsigned long end)
   374	{
   375		struct acpi_srat_generic_affinity *gi_affinity;
   376		int node;
   377	
   378		gi_affinity = (struct acpi_srat_generic_affinity *)header;
   379		if (!gi_affinity)
   380			return -EINVAL;
   381		acpi_table_print_srat_entry(&header->common);
   382	
   383		if (!(gi_affinity->flags & ACPI_SRAT_GENERIC_AFFINITY_ENABLED))
   384			return -EINVAL;
   385	
 > 386		node = acpi_map_pxm_to_node(gi_affinity->proximity_domain, true);
   387		if (node == NUMA_NO_NODE || node >= MAX_NUMNODES) {
   388			pr_err("SRAT: Too many proximity domains.\n");
   389			return -EINVAL;
   390		}
   391		node_set(node, numa_nodes_parsed);
   392		node_set_state(node, N_GENERIC_INITIATOR);
   393	
   394		return 0;
   395	}
   396	

---
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: 73505 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2020-07-13 18:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-13 15:55 [PATCH v7 0/6] ACPI: Support Generic Initiator proximity domains Jonathan Cameron
2020-07-13 15:55 ` [PATCH v7 1/6] ACPI: Support Generic Initiator only domains Jonathan Cameron
2020-07-13 18:47   ` kernel test robot [this message]
2020-07-13 15:55 ` [PATCH v7 2/6] x86: Support Generic Initiator only proximity domains Jonathan Cameron
2020-07-13 15:55 ` [PATCH v7 3/6] ACPI: Let ACPI know we support Generic Initiator Affinity Structures Jonathan Cameron
2020-07-13 15:55 ` [PATCH v7 4/6] ACPI: HMAT: Fix handling of changes from ACPI 6.2 to ACPI 6.3 Jonathan Cameron
2020-07-13 15:55 ` [PATCH v7 5/6] node: Add access1 class to represent CPU to memory characteristics Jonathan Cameron
2020-07-13 15:56 ` [PATCH v7 6/6] docs: mm: numaperf.rst Add brief description for access class 1 Jonathan Cameron

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=202007140251.YUhncPgQ%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=helgaas@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=mingo@redhat.com \
    --cc=rafael@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.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;
as well as URLs for NNTP newsgroup(s).