From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1921DC4338F for ; Mon, 16 Aug 2021 15:26:30 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7595D60EB5 for ; Mon, 16 Aug 2021 15:26:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7595D60EB5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GpJ0h1J8Fz3bVC for ; Tue, 17 Aug 2021 01:26:28 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=gwd4G61y; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com (client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com; envelope-from=nathanl@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=gwd4G61y; dkim-atps=neutral Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4GpHzr3KPCz303x for ; Tue, 17 Aug 2021 01:25:43 +1000 (AEST) Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17GF2i9F073163; Mon, 16 Aug 2021 11:25:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : in-reply-to : references : date : message-id : content-type : content-transfer-encoding : mime-version; s=pp1; bh=F8rtMGKAGflzPs0uMRoZN+bSle26Ow3LeTsMYeDtHHc=; b=gwd4G61yP1gqIw3ukPKBi52byhA7M43FwtM7rTlQjKOO0dNhcRSeD7g5toGHInxPMN89 NFpBRTosXjtZxYMPqTgKctJFP6szVVJbRiDYD0dk5Oe/BIXQ35HTUlDIzooXPVioC5l+ ePQNlgx8X3KXB7QZg2CuGaYKoBRwbAQOYlPHWf1BY8OQDd2qwNRDOsiWo4rOhf2JuHTt 7VOK5PqJ8AZTg3bLOq6GNYrEndegjgoA51vIxg6DIHJZWbUdWe3+4THfaZiVQ8hWWMA0 3R5y5LLDI4j2lQpqYGdtFQ/MkxIUP35WjBTCmXJ8c1Yy5Ccvv4o7dcU3uewT7uTXDKAL 9w== Received: from ppma03wdc.us.ibm.com (ba.79.3fa9.ip4.static.sl-reverse.com [169.63.121.186]) by mx0b-001b2d01.pphosted.com with ESMTP id 3aeua03h1e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Aug 2021 11:25:33 -0400 Received: from pps.filterd (ppma03wdc.us.ibm.com [127.0.0.1]) by ppma03wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 17GFCnXb022188; Mon, 16 Aug 2021 15:25:33 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma03wdc.us.ibm.com with ESMTP id 3ae5fbd01f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Aug 2021 15:25:33 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 17GFPVJs26411336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Aug 2021 15:25:31 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C52D8C605A; Mon, 16 Aug 2021 15:25:31 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9D947C6057; Mon, 16 Aug 2021 15:25:31 +0000 (GMT) Received: from localhost (unknown [9.211.33.17]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 16 Aug 2021 15:25:31 +0000 (GMT) From: Nathan Lynch To: Christophe Leroy , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] powerpc/pseries/cpuhp: fix non-NUMA build In-Reply-To: References: <20210816151705.2786296-1-nathanl@linux.ibm.com> Date: Mon, 16 Aug 2021 10:25:31 -0500 Message-ID: <87bl5x8l90.fsf@linux.ibm.com> Content-Type: text/plain; charset=utf-8 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: GSCGW-7EnPhRs0nm4hxxhEjDss9YQZUs X-Proofpoint-ORIG-GUID: GSCGW-7EnPhRs0nm4hxxhEjDss9YQZUs Content-Transfer-Encoding: quoted-printable X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-16_05:2021-08-16, 2021-08-16 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 mlxlogscore=927 phishscore=0 spamscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108160096 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ldufour@linux.ibm.com Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Christophe Leroy writes: > Le 16/08/2021 =C3=A0 17:17, Nathan Lynch a =C3=A9crit=C2=A0: >> With CONFIG_NUMA unset, direct references to node_to_cpumask_map don't >> work: >>=20 >> arch/powerpc/platforms/pseries/hotplug-cpu.c: In function 'pseries_c= pu_hotplug_init': >>>> arch/powerpc/platforms/pseries/hotplug-cpu.c:1022:8: error: 'node_to_c= pumask_map' undeclared (first use in this >>>> function) >> 1022 | node_to_cpumask_map[node]); >> | ^~~~~~~~~~~~~~~~~~~ >>=20 >> Use cpumask_of_node() here instead. > > > Isn't it the same as=20 > https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20210816041032.28= 39343-1-mpe@ellerman.id.au/ ? Yes, thanks.