Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp22329pxu; Thu, 3 Dec 2020 18:06:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9dgwfAkk57rdJ6H7vLO63OzDPlXS9kIta2EvxSkltB7hyZGfcKH1Y42c7YHnQPyzo+2p9 X-Received: by 2002:a17:906:f153:: with SMTP id gw19mr5309478ejb.272.1607047560025; Thu, 03 Dec 2020 18:06:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607047560; cv=none; d=google.com; s=arc-20160816; b=H+N0o7VQa6q+GkIr2lqaqFk1VjkzZmM5QjqwVE88ELJLGQa2hhmGeFUbstnkvb8l+4 SyqWCjN/VJ9pjeg5IcgFYn8nf4w1qAbc+Ph8Fh8RBHbHqDdgHXStP40LTnv8k1THEZKy eEzWfg0s+VBr07RWnP85vsrk2VlVcjsERp1aHfUNH02QXTv4csT0JuDNTULrKsvTC1fG qnR5SPwYOZ78Wcp0CRXT0eZHeFoh8zJKyRhKT6fJ5ZW0a1rpwGVnU2qWtQphMqmM8ifI l5xGdP5NY/fY7OG33GywD1+XORXG9zj7b0zraBSO4QEj9RcG/pt8ZFNQT6qLFFSDwN3S PaPQ== 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:organization :from:references:cc:to:subject:dkim-signature; bh=kgQwytX7qXW/GdrGFnGsdVO9wDu/0QUsSPDjuT8pMz4=; b=ZucKedM3uP016BvQu8UlKeFp7GpYNy+zJLV4HIpwEj1nr13F+KAhC+1P4LuKt9RHTD SsUpzUYLAg5a+VtXPkpqvTVoZRo4lMRIDAkVFCuIr8uztzXOY1dS6eawLQUJKurFm2WT dj9wCyuKzjtsyrIFAThVCNv5QN92vXbqHQPMvDJOfjYXHhORKCvC0IjZNn9lsBsstM1q rypRtYBSlkDKsPsGMd7M5q3EV0NQ7aSm81aGbCKSIhEwFQgWJTrmo+HsmxqnR7uda+Go RvSwQm/ZMp5q+h0EtALVgd6n/HqI/9ZItnGp7F4gJUz9w8zKCheT00KCDCaJngrFC7AJ bAIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=orYrYk1C; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si510490ejb.157.2020.12.03.18.05.36; Thu, 03 Dec 2020 18:06:00 -0800 (PST) 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=@oracle.com header.s=corp-2020-01-29 header.b=orYrYk1C; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726787AbgLDCA7 (ORCPT + 99 others); Thu, 3 Dec 2020 21:00:59 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:35760 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725960AbgLDCA7 (ORCPT ); Thu, 3 Dec 2020 21:00:59 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B41xnZ5083677; Fri, 4 Dec 2020 02:00:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=kgQwytX7qXW/GdrGFnGsdVO9wDu/0QUsSPDjuT8pMz4=; b=orYrYk1CsgmCBUTuinqF31VlB0vCKmbysrP2yt0EpThq/bUcbpb1JPEc/RrqyjlD3d6o 2XPcoRct1zOP3XBrSh4qdEtCOoWhzCMEQfB/nvGuusltV+UParw4KBXMgEgR3FMgV7PE zKj1YyLUkWZob531o/24Rq1IiyU4ybe6kerm3dMSYBl2mbzpI9q6UTTXLF03jehq1yIb mnjW5XHYf0dVQr8d4gdOuO1X+RJoO3QHX9e6mJgJ0dDE0495Pwc7VdMRccXFz3tNeSWp ZyFoxWMFXK1ho4xMtSu1Lo6kBKI047SPjrGLlGc/p0E38X8w4aWOWpsVsZKnHN0nMYMn vg== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2130.oracle.com with ESMTP id 353c2b95yu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 04 Dec 2020 02:00:00 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B41oW8s185524; Fri, 4 Dec 2020 01:58:00 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 35404rpbfj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 04 Dec 2020 01:57:59 +0000 Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0B41vtwa015627; Fri, 4 Dec 2020 01:57:55 GMT Received: from [10.74.107.25] (/10.74.107.25) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 03 Dec 2020 17:57:54 -0800 Subject: Re: [PATCH] ARM: keystone: remove SECTION_SIZE_BITS/MAX_PHYSMEM_BITS To: Arnd Bergmann , soc@kernel.org, Santosh Shilimkar Cc: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20201203231847.1484900-1-arnd@kernel.org> From: santosh.shilimkar@oracle.com Organization: Oracle Corporation Message-ID: <9f49bc96-57ac-e06e-535e-659c4cb3dfea@oracle.com> Date: Thu, 3 Dec 2020 17:57:52 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20201203231847.1484900-1-arnd@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9824 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012040008 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9824 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 lowpriorityscore=0 clxscore=1011 bulkscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 spamscore=0 adultscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012040009 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/3/20 3:18 PM, Arnd Bergmann wrote: > From: Arnd Bergmann > > These definitions are evidently left over from the days when > sparsemem settings were platform specific. This was no longer > the case when the platform got merged. > > There was no warning in the past, but now the asm/sparsemem.h > header ends up being included indirectly, causing this warning: > > In file included from /git/arm-soc/arch/arm/mach-keystone/keystone.c:24: > arch/arm/mach-keystone/memory.h:10:9: warning: 'SECTION_SIZE_BITS' macro redefined [-Wmacro-redefined] > #define SECTION_SIZE_BITS 34 > ^ > arch/arm/include/asm/sparsemem.h:23:9: note: previous definition is here > #define SECTION_SIZE_BITS 28 > ^ > > Clearly the definitions never had any effect here, so remove them. > > Signed-off-by: Arnd Bergmann > --- Acked-by: Santosh Shilimkar