Received: by 2002:a05:6a10:e2c5:0:0:0:0 with SMTP id j5csp3783078pxy; Mon, 5 Oct 2020 15:36:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMkynQ6XQIVpZh56k0i7973JXYefTfB4+pecYK9pTBGvjRX9Eelz6Muq7jwhXY/9snCHwL X-Received: by 2002:a50:d483:: with SMTP id s3mr2103888edi.173.1601937393618; Mon, 05 Oct 2020 15:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601937393; cv=none; d=google.com; s=arc-20160816; b=eb6pxIQTO8+ehHUbyj03Ndnxg7F7jhtLh8jlShpNyNj5q6nZl35Ghbb3hdwiA+4K3a 9W5c0KP3NYk/ZJ3iFvZpjVYyCsveUeNx8yiCZ0VKIRqw/K+Clq0DwKDa7H96VaDiXDbL 5+LAbAMWoUqnTQz0AUok1yud/A6e8EOdAbWTI6b+8RGJNQErZmDDeBUSc4K0yY7KMOqH ht7/8aIvBxyFgXdI4xQQTL7ZqztJNFxX/Srgl/KF+iee/RQNV6x136d3Knsbn7POzyhs ElaWSe5nkekxCVi/70jSq7qF5MtwycXr2xD4HAqKrOMCqhOn5zy0kSZLJjTnzqUOYiiK yb1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=bPo/oilLNk8PElbv6boVEH1kRliIgPV/hpAyCnC+wBo=; b=Fl+ohQFfPml96dJ6aKIDTjpPUHGoplWTCsk3JoG0Js9KjyzWTRKNwi4cYQ76KAaKVF y+eohtqfkycEKTTLE3tvFeihT2nmGXtRl1OMt75/49CaXOtyhqUgEZyWM9Qy3rtZQ0Ua haZlfnRIFp1liHN3YTC1zkUaSIYeMmjzlDq/C07Vx32wYOdbG8iZnfATdPirB32gw+9W +KvogTgjcNWklTnh0Kf/gNu//by2KVyq8Zz3QC6UZxz3VjYWd6pTPs8Cx6HWvEj/wcjP UyrLRZL0w5DWN/VBPNRwpJLbvsHvLwdopea5YrgrbX8K8jgKsGmk1wN6tuDEJOG+8UAd Wlgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=Rvp65uOl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ks27si675814ejb.543.2020.10.05.15.36.08; Mon, 05 Oct 2020 15:36:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=Rvp65uOl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726615AbgJEVdV (ORCPT + 99 others); Mon, 5 Oct 2020 17:33:21 -0400 Received: from mx0a-002e3701.pphosted.com ([148.163.147.86]:14946 "EHLO mx0a-002e3701.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725616AbgJEVdU (ORCPT ); Mon, 5 Oct 2020 17:33:20 -0400 Received: from pps.filterd (m0134421.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 095LUA3I003716; Mon, 5 Oct 2020 21:32:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pps0720; bh=bPo/oilLNk8PElbv6boVEH1kRliIgPV/hpAyCnC+wBo=; b=Rvp65uOl0/i8WgFYk+u7G6415uExbLyRzQv8vGinW5U95bGKVqabsVoRJv6LtGoJzq7R WRTUp+LKckFOolZi32XubwbHhNnln8+uCpfXzyE6Jt7+Oj2s/EivA5ABxrniopcseEMo vMp2r1+aGozvIIvG0yoTZYT2J1XWxAbQEEUbDR77++sSPWzNmJ5XqmFa1aNIoSfb3eCc q3hTRLcVQMpdZ8mSjvROJBIl8BwHSnf7pB7k8P4R1qNmEyqVSnv3ELaL9/7lEmxMbF+j QoDiitaN1hmWqHIs7cw+O9TYRZKxcGwbt/Id0nfBpQWKe7aPUq8YYP6aenJXkL0POYfA fQ== Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0b-002e3701.pphosted.com with ESMTP id 33y2nx681m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Oct 2020 21:32:41 +0000 Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id C695358; Mon, 5 Oct 2020 21:32:40 +0000 (UTC) Received: from [16.99.129.98] (unknown [16.99.129.98]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id 140CD46; Mon, 5 Oct 2020 21:32:39 +0000 (UTC) Subject: Re: [PATCH v4 03/13] x86/platform/uv: Adjust references in UV kernel modules To: Borislav Petkov Cc: Thomas Gleixner , Ingo Molnar , x86@kernel.org, Steve Wahl , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Dimitri Sivanich , Arnd Bergmann , Greg Kroah-Hartman , "H. Peter Anvin" , Russ Anderson , Darren Hart , Andy Shevchenko , Alexandre Chartre , Jian Cai , Vitaly Kuznetsov , linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org References: <20201005203929.148656-1-mike.travis@hpe.com> <20201005203929.148656-4-mike.travis@hpe.com> <20201005211611.GK21151@zn.tnic> From: Mike Travis Message-ID: <7598f508-6c4a-f1df-f83f-2f68bc99578f@hpe.com> Date: Mon, 5 Oct 2020 14:32:38 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <20201005211611.GK21151@zn.tnic> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-10-05_16:2020-10-05,2020-10-05 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 malwarescore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010050152 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/5/2020 2:16 PM, Borislav Petkov wrote: > On Mon, Oct 05, 2020 at 03:39:19PM -0500, Mike Travis wrote: >> Make a small symbol change (is_uv() ==> is_uv_sys()) to accommodate a >> change in the uv_mmrs.h file (is_uv() is the new arch selector function). >> >> Signed-off-by: Mike Travis >> Reviewed-by: Dimitri Sivanich >> Reviewed-by: Steve Wahl >> --- >> drivers/misc/sgi-xp/xp.h | 8 ++++---- >> drivers/misc/sgi-xp/xp_main.c | 4 ++-- >> drivers/misc/sgi-xp/xp_uv.c | 6 ++++-- >> drivers/misc/sgi-xp/xpc_main.c | 6 +++--- >> drivers/misc/sgi-xp/xpc_partition.c | 2 +- >> drivers/misc/sgi-xp/xpnet.c | 2 +- >> 6 files changed, 15 insertions(+), 13 deletions(-) >> >> diff --git a/drivers/misc/sgi-xp/xp.h b/drivers/misc/sgi-xp/xp.h >> index 06469b12aced..0af267baf031 100644 >> --- a/drivers/misc/sgi-xp/xp.h >> +++ b/drivers/misc/sgi-xp/xp.h >> @@ -17,11 +17,11 @@ >> >> #if defined CONFIG_X86_UV || defined CONFIG_IA64_SGI_UV >> #include >> -#define is_uv() is_uv_system() >> +#define is_uv_sys() is_uv_system() > > Do I see it correctly that you can simply use is_uv_system() directly > instead of this macro indirection? Yes, there was the MACRO is_uv() that conflicted with the automated "generate uv_mmrs.h" PERL script that also uses it that I changed. I see now maybe just getting rid of the entire thing in this file might have been better?