Message ID | 1474455108-13550-1-git-send-email-noamca@mellanox.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sfGfn4V4tz9sD5 for <incoming@patchwork.ozlabs.org>; Wed, 21 Sep 2016 20:52:33 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=Mellanox.com header.i=@Mellanox.com header.b=MCX+0TQg; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bmf8g-0004pn-QP; Wed, 21 Sep 2016 10:52:30 +0000 Received: from mail-eopbgr00084.outbound.protection.outlook.com ([40.107.0.84] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bmf8e-0004mr-Gr for linux-snps-arc@lists.infradead.org; Wed, 21 Sep 2016 10:52:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=esUbQsBDmZiNRHlrqCD4TyFi1OG+4gtlmF7vkamqc9o=; b=MCX+0TQgZW9awIKeTqlkoP2AE9INI+9GQQxyDJLZGnYoUtdL1GqJ0B8qnqQp4+DmkEcUOatyNPHbmUb1AYa4416ruDeM/tyZy9zPl1Q4TSatO1zR2M6lZATd4jrPvBmHRVGRf2aQAZrBg2feU3msKVuBeZ7wOCV8pXIBrC4Y5Go= Received: from AM4PR0501CA0035.eurprd05.prod.outlook.com (10.167.83.173) by HE1PR05MB1338.eurprd05.prod.outlook.com (10.162.250.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.8; Wed, 21 Sep 2016 10:52:04 +0000 Received: from DB3FFO11FD016.protection.gbl (2a01:111:f400:7e04::191) by AM4PR0501CA0035.outlook.office365.com (2603:10a6:200:6::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.8 via Frontend Transport; Wed, 21 Sep 2016 10:52:03 +0000 Authentication-Results: spf=pass (sender IP is 193.47.165.134) smtp.mailfrom=mellanox.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=pass action=none header.from=mellanox.com; Received-SPF: Pass (protection.outlook.com: domain of mellanox.com designates 193.47.165.134 as permitted sender) receiver=protection.outlook.com; client-ip=193.47.165.134; helo=mtlcas13.mtl.com; Received: from mtlcas13.mtl.com (193.47.165.134) by DB3FFO11FD016.mail.protection.outlook.com (10.47.216.190) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.5 via Frontend Transport; Wed, 21 Sep 2016 10:52:03 +0000 Received: from MTLCAS13.mtl.com (10.0.8.78) by mtlcas13.mtl.com (10.0.8.78) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 21 Sep 2016 13:52:02 +0300 Received: from MTLCAS01.mtl.com (10.0.8.71) by MTLCAS13.mtl.com (10.0.8.78) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Wed, 21 Sep 2016 13:52:02 +0300 Received: from ezex10.ezchip.com (10.0.13.1) by MTLCAS01.MTL.COM (10.0.8.71) with Microsoft SMTP Server (TLS) id 14.3.301.0; Wed, 21 Sep 2016 13:52:00 +0300 Received: from localhost.localdomain (10.1.3.58) by ezex10.ezchip.com (10.1.1.4) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 21 Sep 2016 13:52:00 +0300 From: Noam Camus <noamca@mellanox.com> To: <vgupta@synopsys.com> Subject: [PATCH] ARC: CONFIG_NODES_SHIFT fix default values Date: Wed, 21 Sep 2016 13:51:48 +0300 Message-ID: <1474455108-13550-1-git-send-email-noamca@mellanox.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-11.0.0.1191-8.000.1202-22520.000 X-TM-AS-Result: No--6.214000-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Received-SPF: None (MTLCAS01.mtl.com: noamca@mellanox.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:193.47.165.134; IPV:NLI; CTRY:IL; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(49486002)(50226002)(92566002)(626004)(47776003)(36756003)(19580395003)(19580405001)(87936001)(110136003)(586003)(107886002)(5660300001)(8936002)(77096005)(33646002)(189998001)(7846002)(2906002)(5003940100001)(229853001)(50466002)(48376002)(305945005)(50986999)(4001430100002)(356003)(2351001)(86362001)(81156014)(8676002)(575784001)(106466001)(11100500001)(81166006)(4326007); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR05MB1338; H:mtlcas13.mtl.com; FPR:; SPF:Pass; PTR:mail13.mellanox.com; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD016; 1:FJn4LHRYzpXPrGddwQQn6FUctT2zrY5Nwlhi9nOKInJ5JCOQtIWZqIoGtPl59s/hP76ijasgtp0pfYCJCzFGM/HZCRCYNWO7bZ/0kybRU9S5z8OQre06T9mKIlcGMfSL9QJTuNfYaKkFSZXK3ZV3Wi+mftTI7DNhEPm2W3+nk1YuaO6Zsj5FkFIESLgesdKI7X120Jw3bCzAGXGR7KCrW6vZcSBiyQQCGkP4X5qVRJsZrYcJZMCRcSYcD/nxG0c86yoQLKKYRb8UY3g8nCbxwVPVJ+Kx+T6TNAT+whdZclj4IHQYxn9WJYDiRo2miIUQzUvOwCS5JoG+iqwAo8adLP5l/6UtxhEJSY4XxbN6zrHK9KirtbVsPuIPzZRgGWweUvMqRhev5nLH09h5seH+l2xQ1Urn2muZrG/7C0XiArc6gzS1aKynyhIiTcw96wtjcTCJb1hotThxlid9UlG+vF5IpPEp0c9V4N0xXD10jw6w186ayb4f8j3pchEItq1zXZ//ROfwvNumJyVus6/3oqjMGA/3CskIjpHymUMhspA= X-MS-Office365-Filtering-Correlation-Id: 578ffb20-49aa-4665-cf7d-08d3e20d525f X-Microsoft-Exchange-Diagnostics: 1; HE1PR05MB1338; 2:2SH6CiLldg8Y9uR4P+kjecPVRi8f5FjGxLkQPCKQTU6lesNfHAhGRS68T5FfTblkwnfZ4gKtmLyxCBiUochS0Oh7q0smJ/jVbzrfGH7he58wlDMK5u598/KTG6I91pVqcbmIXiEXhjuZZq570Vzoj4BVNc9zo1e00yQewuo1N0pNKHWqHIZ7ygRXYWjaRK2v; 3:XKSSS2Vy6jdyX9HoBjzdP7duqffZ0EnhOykOFEsyi0prL2BNz2AOeH8cn5miTUwlGbHNLHvbaxzhQPMBaThj6Ofz0jKMaUWhQ+9JJELQKFinxdNWWNldCygIjHjoJkoF2XdkTCapRVfo9UiJvCjygjnwxcGR7LzjRpqTctdUFJcH6jQuj5y0YEsdSsaN14YnDlRXT/Q7ttOYtTVlOScg+r+AVcTDDKIQDjJ5PIeIOOBzzhJMT14FOzKHNGT75OL+uhAvYQn13Smwu5j/qjoTZw==; 25:mNnvb3+c148F/c4p2EZiYaLOoKVMQtjlehdo5/00j5QXDlbkK8wtPw+BPelysa1AxkabKyUO2fhCJ1wrPnp/krzItaDBI6Wtq9/73fN4TqnDJiGi+bK1KDZB8x2zKgGd5S3QxOjDCjHTNzRE6p7GZCMWfjxa7braoGASYk7Li+811vFeDKHstMQCPmO3H6rnfDv9wxsdn8/eOkIVxpCUSLv5yYGd2IW2sADYV46JL428fUmvhcVVshbItOVKffbvu9+CS30kcboSWoGqiYDwD0oWyk/56UrRhIPGEJQpW9u9iOCaOEbaYaUqfDNJY0vkCRVv0OYAKTjEECfCDegpksSWL3QiNUEmXuHuEvwW/Y19q48urE3e7a5KrChlGDSn9H+lqms8xQW1BXod4bmAVrZIMGv32awsacfiNSm/bO0= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:HE1PR05MB1338; X-Microsoft-Exchange-Diagnostics: 1; HE1PR05MB1338; 31:nLRU6m6pyn30WzUIO335kHR297Wjo9BI572AlqtJdr0iVA+zPvztsbQmxxXnqTeVVQL4Lwrc7HVVfuEBIoH26odfSqA04FkdTpvypUG7gPIL7dyTUZ3eV+3wwCZFKaJP8p30uhjImfemj3vkffScv58yqJWA+ztHeLhY0pZKooQV2VpEgkwlZo7/2AML6fFyVrMcZw4iY2V5ONqIDrf8mZoICsTrizomesubWY5Zo1s=; 20:j5L4KfjU1SR2Uxb/uirso/0FmztUm4+f0AuB6rohU9Hcra/73LqE+HRwKeHitoP3Jtlz8su0YDe8tsCo7RYQfX0pxi90QtrjcQwiawowfBgVPNhOx11sUJc9CPTDT/2Xc1sMU5E8XYjztfUT29frPpb/DqN6KJq+fcoHnrCswB8AQnr+rO07H6iNRp42U9ZXtl1zNfjGaoCw9KB+PKNlJhAIKFxgCV3YF4dRvHHsLNj6N1uKIJyt5Z6cBI5kJpNbh1j9M/P25R6xBAupdPY5GwlbjeyvYwQMQIgSZLy9b38wDReQg25CJw85yUShu+FGxO89uUniYxJdEC5d/E1GIIeXOl3TX0FNICwsx0allT2xKLBypNQcqNTi9+BD9UDZ13UpS8snjygOtR3Iqd+/bdAqIb3LT4AP6vVWk2TUuYIPap0rcEhLqpSGIeU8az8i1CuvgVmeshiC88MwaGnJKq3Sem3csTBLrQ6se7SWDWGvrdQvv8X+Rbq5yn8EkKEK X-Microsoft-Antispam-PRVS: <HE1PR05MB1338B187C731A4EAA9BAA44EAAF60@HE1PR05MB1338.eurprd05.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13018025)(13016025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:HE1PR05MB1338; BCL:0; PCL:0; RULEID:; SRVR:HE1PR05MB1338; X-Microsoft-Exchange-Diagnostics: 1; HE1PR05MB1338; 4:Ym5cltPqlF9IzrvRJGcFUGQDPM+umsQQ3m/KxjjT3uCsirxzqgelm85K0PtgDpqVp+Avs6Mt7/JOc2o25By9uecKu2QvSBAWga5fBR0dkoCUVH58jG9exLe/1ax0VLrax+KVOaqYI2E54SSeuaK/Bk+n8Y6zjhf4HjK9le2cpd7TB6t6yOBKHPdp3atmBY1hTJBI6ynYoRXHOJs0G2L347XqXb7iNNR3MqlaAWej1/laRDTFBr68V3q9ixIlVzyLp7uNCc2qwoJsA/KtNTtTwm2pKi/Gyff38sX+Ym0z/1lo4PVlG3waQ3WJOlyVJGil0/7a2U2/+VOiiX927S6mWpedZOKn6bAYmRMQ2ZHYqST2RP18TkyrQDluk7nNByQd3uTe8MmxWezn7z6TPhxY1jbTIThTX02J+L4YQOoYwWvh4TLjIvjjIvfUiJuRWxYB X-Forefront-PRVS: 007271867D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR05MB1338; 23:A+oMGv7FwYSvp1+MtldqRL3aTsTD5MNB6rYyKhSzz?= =?us-ascii?Q?iNBBru3oSyhZVlOFNw810k/CQ4REQ++O75EtB1COrENkVEneH3w1Fe7nAqF6?= =?us-ascii?Q?yd2kEJGi5vbQalBeY1QP9lRQp6DWYrbFnRvao0GqN/I2Qv1IN2nQosG0dBJQ?= =?us-ascii?Q?NRVCOawk9ajZNWwgZN5YugwcYtObll9+kMzCSP50PDvcgA4aW2uAMfCC3AJC?= =?us-ascii?Q?83y4j5K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; HE1PR05MB1338; 6:I3XY1tJJzsQ8Qda+J/qh7X47YYTD+AvMMdMNkfQmvn+TaDNuC5v0XNjIkqWMS1fNcXZuKQNqdIkn7xm/3Or3MmC6UbzSDNIAqFrW62nrL0Hi0hHNvT6bpKnYjneY1V/IcsppVSZi5denydcE5tWcck5yowdK8NbG6Vl+FcFpGXC5tPJK4n0cskID/bTsFbyr2mnP1IE82FmQ2BaS2rp19PIlZ1Y63HFQ+7Yf5QrsfeYAwYcVcuBHeBqd3ZnFwJBFBOJwP2ekvUTxbGQOblHatXGZ4AROEOGJcs8BvvoBvoZVhxmULnYQR+LjMGvMDJnJD6z3ssT6aWFfUOtV3k0a4g==; 5:yV2LdXRUQWr0RpNK2sPqsM16M7cjqmiJaHPzCGApjv7bLfDqobMs1SFZZC16UQKT15wo6ymbv43LEid/KqDQqjp7O6/rXeQK3ZoG8jAUhOVHccrBUBc3i7MjwAhw91J0jkU7qFRDM5NALwhms3wNoQ==; 24:mV5I3IDq2o2fVJ7ckfM9zQRJTVPOlTMUdJ+Vgs38CQHdhRpKRXKIAZnhjF1d2Jk2PLt8AQtyW4/XKitGRuIAbCyYfInfxiWBPP56jL66bio=; 7:dyrNCLaeQ9AHTG21+z1owhIJUQ41oCwxUxhycFqFsu2xx0Ex7yeDPjx1/xnI+H8E46xE7U1z8z0P+yQvmRv9gwnohy0K6XVDAQzi5suLsfqIW8c5Q68axQFJQEb7op3EovoxFycZXzWUsEi4H358bTw11mC5svQrXQwaFh+9rdso6c8HOLZwABYEOo1oy0+HMbrrku6AGHAENANkT5txjOTPqGAtWLFYfVxtxO8mqQ8yzKPDtGiQGqeC0GZM/xsKC+0TjuTCirG+fvQBCZTL3ClYi6MI/qs91uaGRbyNsC+qj59Km17glhxNJD7SVkvc SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2016 10:52:03.1962 (UTC) X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a652971c-7d2e-4d9b-a6a4-d149256f461b; Ip=[193.47.165.134]; Helo=[mtlcas13.mtl.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR05MB1338 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160921_035229_022137_73CFADCE X-CRM114-Status: UNSURE ( 6.44 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [40.107.0.84 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [40.107.0.84 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on Synopsys ARC Processors <linux-snps-arc.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-snps-arc>, <mailto:linux-snps-arc-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-snps-arc/> List-Post: <mailto:linux-snps-arc@lists.infradead.org> List-Help: <mailto:linux-snps-arc-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-snps-arc>, <mailto:linux-snps-arc-request@lists.infradead.org?subject=subscribe> Cc: Noam Camus <noamca@mellanox.com>, linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" <linux-snps-arc-bounces@lists.infradead.org> Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
On 09/21/2016 03:51 AM, Noam Camus wrote: > From: Noam Camus <noamca@mellanox.com> > > Seem like values assigned as absolute number and not and > shift value, i.e. should be 0 for one node (2^0) and 1 for > couple of nodes (2^1) > > Signed-off-by: Noam Camus <noamca@mellanox.com> Good catch ! Added to for-next. Thx, -Vineet
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 6af0b43..f347715 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -383,8 +383,8 @@ endchoice config NODES_SHIFT int "Maximum NUMA Nodes (as a power of 2)" - default "1" if !DISCONTIGMEM - default "2" if DISCONTIGMEM + default "0" if !DISCONTIGMEM + default "1" if DISCONTIGMEM depends on NEED_MULTIPLE_NODES ---help--- Accessing memory beyond 1GB (with or w/o PAE) requires 2 memory