From nobody Wed May 15 16:38:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=raptorengineering.com ARC-Seal: i=1; a=rsa-sha256; t=1695681785; cv=none; d=zohomail.com; s=zohoarc; b=TA8pG45DYXxD3VKKobjvyFrEhFyR0fgfoHtmLzszEMZtVp91fcXfGaEuw4dmr2QqBSpWjs8YESQY6+vnGTzxRIOavhMkGgdWnqWXrFBjtn/GBgDitxe21CygTUHuLHBy3SlB0vFlDUi1PH1EzTGSMKvp53D9iRS0S/t5ddK7k20= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1695681785; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=qgDo1YeXt9Vr+PQZJaZuykif3Tl3ZhSAuBjemNQSJ2U=; b=e+P9SatbPNMY2kLHB8j9MIFFDRaqGvMDBgpwiXWzQbsRuZzmFbCs5uIo0jlBxQm+/AM4JaLKYnNagA/EldOYbyFkCHEy4WKiacjsfkJ7gJJW39WnOfUT0JTyjHPs2IPXBJF7jHp0qhGWivuCkMHHhBC1DMalzn6K+EhKi8k4990= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 169568178511627.860809078741795; Mon, 25 Sep 2023 15:43:05 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.608150.946471 (Exim 4.92) (envelope-from ) id 1qkuHu-0006to-FG; Mon, 25 Sep 2023 22:42:46 +0000 Received: by outflank-mailman (output) from mailman id 608150.946471; Mon, 25 Sep 2023 22:42:46 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qkuHu-0006th-CV; Mon, 25 Sep 2023 22:42:46 +0000 Received: by outflank-mailman (input) for mailman id 608150; Mon, 25 Sep 2023 22:42:45 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qkuHt-0006e1-0Q for xen-devel@lists.xenproject.org; Mon, 25 Sep 2023 22:42:45 +0000 Received: from raptorengineering.com (mail.raptorengineering.com [23.155.224.40]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id d6f4f79b-5bf4-11ee-878a-cb3800f73035; Tue, 26 Sep 2023 00:42:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id A1C0A8285640; Mon, 25 Sep 2023 17:42:42 -0500 (CDT) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id n1dk3BGOU3I7; Mon, 25 Sep 2023 17:42:41 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id B9B3782857FA; Mon, 25 Sep 2023 17:42:41 -0500 (CDT) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PpeA1DajU-Mw; Mon, 25 Sep 2023 17:42:41 -0500 (CDT) Received: from raptor-ewks-026.rptsys.com (5.edge.rptsys.com [23.155.224.38]) by mail.rptsys.com (Postfix) with ESMTPSA id 53ECC828562B; Mon, 25 Sep 2023 17:42:41 -0500 (CDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: d6f4f79b-5bf4-11ee-878a-cb3800f73035 DKIM-Filter: OpenDKIM Filter v2.10.3 mail.rptsys.com B9B3782857FA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raptorengineering.com; s=B8E824E6-0BE2-11E6-931D-288C65937AAD; t=1695681761; bh=qgDo1YeXt9Vr+PQZJaZuykif3Tl3ZhSAuBjemNQSJ2U=; h=From:To:Date:Message-Id:MIME-Version; b=Z3mItygE4ZKcaBJrINVS5yCRu5DQjHzeEo8WLadQKjf3pGUCliJSX7D514GCKEgiv swSPfBZaQ+2y97yw2vjLUJ5f1DJ1jsUR5qajwC1MOzQJH74irgydiAFOR9yqRKW3ot s57FDHhfpnScT8KwnfZTClxeMkK/W45U1A01mevU= X-Virus-Scanned: amavisd-new at rptsys.com From: Shawn Anastasio To: xen-devel@lists.xenproject.org Cc: Timothy Pearson , Shawn Anastasio , Doug Goldstein , Stefano Stabellini , Jan Beulich Subject: [PATCH 1/3] automation: Drop ppc64le-*randconfig jobs Date: Mon, 25 Sep 2023 17:42:28 -0500 Message-Id: <76d21ac8a0de7d5ebac8b39a8d552b931a6302a3.1695681330.git.sanastasio@raptorengineering.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @raptorengineering.com) X-ZM-MESSAGEID: 1695681786739100001 Content-Type: text/plain; charset="utf-8" Since ppc64le is still undergoing early bringup, disable the randconfig CI build which was causing spurious CI failures. Signed-off-by: Shawn Anastasio Reported-by: Jan Beulich Acked-by: Stefano Stabellini --- automation/gitlab-ci/build.yaml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.y= aml index 1619e9a558..32af30cced 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -563,24 +563,6 @@ debian-bullseye-gcc-ppc64le-debug: KBUILD_DEFCONFIG: ppc64_defconfig HYPERVISOR_ONLY: y =20 -debian-bullseye-gcc-ppc64le-randconfig: - extends: .gcc-ppc64le-cross-build - variables: - CONTAINER: debian:bullseye-ppc64le - KBUILD_DEFCONFIG: ppc64_defconfig - RANDCONFIG: y - EXTRA_FIXED_RANDCONFIG: - CONFIG_COVERAGE=3Dn - -debian-bullseye-gcc-ppc64le-debug-randconfig: - extends: .gcc-ppc64le-cross-build-debug - variables: - CONTAINER: debian:bullseye-ppc64le - KBUILD_DEFCONFIG: ppc64_defconfig - RANDCONFIG: y - EXTRA_FIXED_RANDCONFIG: - CONFIG_COVERAGE=3Dn - # Yocto test jobs yocto-qemuarm64: extends: .yocto-test-arm64 --=20 2.30.2 From nobody Wed May 15 16:38:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=raptorengineering.com ARC-Seal: i=1; a=rsa-sha256; t=1695681788; cv=none; d=zohomail.com; s=zohoarc; b=RMZvaAPPKzs18FbUJOFhNlqIPuFObiFwIpc76q0P3dxiBJINFmPZ6E0dmJa9mzESEEvocT3bPNamRUgR9IKswCMRgtK1/yBZMYAA1LNg0LvevAZUoQSkw5yw75v/ei6oAJi7ZT6Rb8RCRHRrEXJc6W7HwzVUBYU+y6CbcPz76hU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1695681788; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=/X3lk3Zg+rUp6Qi1mK6ROL4w3hG4Tvl8DPK6/nEq4A8=; b=L9+UD5gbVSa+RRFhZ2F/07VkiKEpMJollkRfVMZCwCRO1gbQvJPc2cvLU4cyp00xdjLM+btPrt22dZwXGxbydYLrzm6Mm+dXC22JhA9WAgO70KkZwkybeyTgTvg6WurzcbAomqc11Mw7iuQKQubB+a+7gsNmj3j6IHNgnTbMX0I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1695681788034613.4463229094025; Mon, 25 Sep 2023 15:43:08 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.608152.946487 (Exim 4.92) (envelope-from ) id 1qkuHw-0007EV-32; Mon, 25 Sep 2023 22:42:48 +0000 Received: by outflank-mailman (output) from mailman id 608152.946487; Mon, 25 Sep 2023 22:42:48 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qkuHv-0007Co-RM; Mon, 25 Sep 2023 22:42:47 +0000 Received: by outflank-mailman (input) for mailman id 608152; Mon, 25 Sep 2023 22:42:46 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qkuHu-0006pn-4w for xen-devel@lists.xenproject.org; Mon, 25 Sep 2023 22:42:46 +0000 Received: from raptorengineering.com (mail.raptorengineering.com [23.155.224.40]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id d718eeb5-5bf4-11ee-9b0d-b553b5be7939; Tue, 26 Sep 2023 00:42:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 0876F8286740; Mon, 25 Sep 2023 17:42:43 -0500 (CDT) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ASdzD7Om2Tcp; Mon, 25 Sep 2023 17:42:42 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 1C18F8285AE4; Mon, 25 Sep 2023 17:42:42 -0500 (CDT) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZN_x8D8fyun4; Mon, 25 Sep 2023 17:42:42 -0500 (CDT) Received: from raptor-ewks-026.rptsys.com (5.edge.rptsys.com [23.155.224.38]) by mail.rptsys.com (Postfix) with ESMTPSA id B1488828558A; Mon, 25 Sep 2023 17:42:41 -0500 (CDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: d718eeb5-5bf4-11ee-9b0d-b553b5be7939 DKIM-Filter: OpenDKIM Filter v2.10.3 mail.rptsys.com 1C18F8285AE4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raptorengineering.com; s=B8E824E6-0BE2-11E6-931D-288C65937AAD; t=1695681762; bh=/X3lk3Zg+rUp6Qi1mK6ROL4w3hG4Tvl8DPK6/nEq4A8=; h=From:To:Date:Message-Id:MIME-Version; b=LiAjfJHSkGmdRU9i0Rr8iRMqpdF2rBIcoVEnWAfxTzXcHtT+E+ymFi48urRROSW/8 CTamfSymSr0FiOBnxmsFNKSp93LC+aBZV5e1r/JnCKhlIIJ5Jk9J4sK9jZE0/VU8pD VkrZyYbcVtMlFL1uiDpBgm0BABPHdRQwJO3haU04= X-Virus-Scanned: amavisd-new at rptsys.com From: Shawn Anastasio To: xen-devel@lists.xenproject.org Cc: Timothy Pearson , Shawn Anastasio , Doug Goldstein , Stefano Stabellini , Michal Orzel , Jan Beulich Subject: [PATCH 2/3] automation: Change build script to use arch defconfig Date: Mon, 25 Sep 2023 17:42:29 -0500 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @raptorengineering.com) X-ZM-MESSAGEID: 1695681789805100001 Content-Type: text/plain; charset="utf-8" Change automation build script to call the make defconfig target before setting CONFIG_DEBUG and extra options. This fixes issues on Power where the build fails without using the ppc64_defconfig. Signed-off-by: Shawn Anastasio Reported-by: Jan Beulich --- automation/scripts/build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/automation/scripts/build b/automation/scripts/build index b4edcf010e..19dd9e8270 100755 --- a/automation/scripts/build +++ b/automation/scripts/build @@ -22,7 +22,12 @@ if [[ "${RANDCONFIG}" =3D=3D "y" ]]; then # RANDCONFIG implies HYPERVISOR_ONLY HYPERVISOR_ONLY=3D"y" else - echo "CONFIG_DEBUG=3D${debug}" > xen/.config + # Start off with arch's defconfig + make -C xen defconfig + + # Drop existing CONFIG_DEBUG and replace with value of ${debug} + sed -i 's/^CONFIG_DEBUG=3D[yn]//g' xen/.config + echo "CONFIG_DEBUG=3D${debug}" >> xen/.config if [[ -n "${EXTRA_XEN_CONFIG}" ]]; then echo "${EXTRA_XEN_CONFIG}" >> xen/.config -- 2.30.2 From nobody Wed May 15 16:38:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=raptorengineering.com ARC-Seal: i=1; a=rsa-sha256; t=1695681793; cv=none; d=zohomail.com; s=zohoarc; b=gSoS0KA3zA1frZaHjvIKDeLiN2IZLsx8/d2iyqA0rrZvDgbDMjbyF56zWiQqekDV1qiF3XEL0UTNWoypEiIEjKy2gOy4WTBFLOI+YnapWMnk+QjlPd4UL5pxsIQdX1VH5lxi1UvQHL6NtkYVR1SVXTZlINgQZDiT02q/U+ajUsc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1695681793; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=n7RbV6HKhggR9ZKikSDWaAYhJWp3wDDzOjNqYprqXEk=; b=nhEXTC5KSAKnKzV3a/mNOkOWl5Ni3Sm9mJBTXdNujFa7Dhdg2KT1dUXEL4lyQfANTTDWMEoNH73JwUhR5xBoy2YdJzseM3k2YBglSRh8wilU/TTUFQOPvwyBjGkaKN5d0lK6eHrNqHH7ZWLKAeCYrQU/JprIwiTuRZ0zgVRCpnY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1695681793403896.4578927905944; Mon, 25 Sep 2023 15:43:13 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.608151.946481 (Exim 4.92) (envelope-from ) id 1qkuHv-0007BB-NX; Mon, 25 Sep 2023 22:42:47 +0000 Received: by outflank-mailman (output) from mailman id 608151.946481; Mon, 25 Sep 2023 22:42:47 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qkuHv-0007B0-KB; Mon, 25 Sep 2023 22:42:47 +0000 Received: by outflank-mailman (input) for mailman id 608151; Mon, 25 Sep 2023 22:42:46 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qkuHu-0006e1-0Q for xen-devel@lists.xenproject.org; Mon, 25 Sep 2023 22:42:46 +0000 Received: from raptorengineering.com (mail.raptorengineering.com [23.155.224.40]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id d7c9fbcb-5bf4-11ee-878a-cb3800f73035; Tue, 26 Sep 2023 00:42:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 52A33828558A; Mon, 25 Sep 2023 17:42:44 -0500 (CDT) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id swcRR5RQMj6u; Mon, 25 Sep 2023 17:42:43 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 2CE3D82867A9; Mon, 25 Sep 2023 17:42:43 -0500 (CDT) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id t6R6dDD_VBP4; Mon, 25 Sep 2023 17:42:42 -0500 (CDT) Received: from raptor-ewks-026.rptsys.com (5.edge.rptsys.com [23.155.224.38]) by mail.rptsys.com (Postfix) with ESMTPSA id 219B78285B83; Mon, 25 Sep 2023 17:42:42 -0500 (CDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: d7c9fbcb-5bf4-11ee-878a-cb3800f73035 DKIM-Filter: OpenDKIM Filter v2.10.3 mail.rptsys.com 2CE3D82867A9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raptorengineering.com; s=B8E824E6-0BE2-11E6-931D-288C65937AAD; t=1695681763; bh=n7RbV6HKhggR9ZKikSDWaAYhJWp3wDDzOjNqYprqXEk=; h=From:To:Date:Message-Id:MIME-Version; b=vLmBfBYe+KOv7Okxx7jFjFzyykpd0C/YFf6cCSqqAXQV5Bk4tJLmnG76eYtUxyADq 3qfBn5UxwkX3O7TYjqrsnc4dAtswk6vrEbrsLz33Nvdw3Vvv3OcBt9Mr2u6Nm0jU8g qASTBWDfE7gL5LXuZ0m9gg0DPn1h43qWZXT/jKPg= X-Virus-Scanned: amavisd-new at rptsys.com From: Shawn Anastasio To: xen-devel@lists.xenproject.org Cc: Timothy Pearson , Shawn Anastasio , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH 3/3] xen/common: Add NUMA node id bounds check to page_alloc.c/node_to_scrub Date: Mon, 25 Sep 2023 17:42:30 -0500 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @raptorengineering.com) X-ZM-MESSAGEID: 1695681794695100001 Content-Type: text/plain; charset="utf-8" When building for Power with CONFIG_DEBUG unset, a compiler error gets raised inside page_alloc.c's node_to_scrub function, likely due to the increased optimization level: common/page_alloc.c: In function 'node_to_scrub.part.0': common/page_alloc.c:1217:29: error: array subscript 1 is above array bounds of 'long unsigned int[1]' [-Werror=3Darray-bounds] 1217 | if ( node_need_scrub[node] ) It appears that this is a false positive, given that in practice cycle_node should never return a node ID >=3D MAX_NUMNODES as long as the architecture's node_online_map is properly defined and initialized, so this additional bounds check is only to satisfy GCC. Signed-off-by: Shawn Anastasio Acked-by: Stefano Stabellini --- xen/common/page_alloc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c index 35d9a26fa6..6df2a223e1 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -1211,6 +1211,9 @@ static unsigned int node_to_scrub(bool get_node) } while ( !cpumask_empty(&node_to_cpumask(node)) && (node !=3D local_node) ); + if ( node >=3D MAX_NUMNODES ) + break; + if ( node =3D=3D local_node ) break; -- 2.30.2