From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0062.outbound.protection.outlook.com [104.47.42.62]) by dpdk.org (Postfix) with ESMTP id 532912935 for ; Fri, 28 Apr 2017 07:03:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Y01awYLgprwuSqwFi1nSQ4AlzlqaGp4FDnRaKUOSLNY=; b=jvTsv40XwvCxhw/PfUxFaPg6vCozcoD5cxE1cfI5g6voZlwrkH/eHLeFlQ9WJ3CTRm0x6aE3FeTHB2tuiO4vzdYiHBnj0UCSYY6LjFOLJgfLx/aBCmtFTVvjgbC7xnK1oaTvdJxmT9CFjoR4FDLWRrXIIGoGVBnCinbLd2z4Mc4= Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (106.200.225.200) by BN3PR0701MB1720.namprd07.prod.outlook.com (10.163.39.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Fri, 28 Apr 2017 05:03:22 +0000 Date: Fri, 28 Apr 2017 10:33:00 +0530 From: Jerin Jacob To: Jianbo Liu Cc: dev@dpdk.org, thomas@monjalon.net, Hemant Agrawal , christian.ehrhardt@canonical.com Message-ID: <20170428050259.GA3912@jerin> References: <20170426162919.15397-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.2 (2017-04-18) X-Originating-IP: [106.200.225.200] X-ClientProxiedBy: PN1PR01CA0108.INDPRD01.PROD.OUTLOOK.COM (10.174.144.24) To BN3PR0701MB1720.namprd07.prod.outlook.com (10.163.39.19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b78c9a8d-0585-4b46-e8db-08d48df3e727 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BN3PR0701MB1720; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 3:kyUlZ/QC7GuAK3NftEZwL1d5dg5+kjhnUxHRerYscxal2ic91dLWBdQ55lCflxB1pv5tAf4sNGo0J+9BxbEKAHhGXiTBozVsGnqFYZsVqFygUMLMtM4YeClpZKWfxRwigisYFcgF3OisftP2PTR8ESXrQVlab8EZRMsn1dmMVC3L0/ZhZ0pLMDJ6XR7lsjYykyV7+0IaN+GAXAGQlrOXVOrIxSXb57A7w1Q4f+hrrS5DKeSd1u4BpjbXBeBZfa8Dc1kMamitVq0hf2WHKi7GTVHyZlY6ZfGpn/vNMdMARbGlpnKLl2RaBrZ5e7z/vdTpmjNyRvYXtqQ4o/+cdwNw2Q==; 25:RLQFK42exH7blOQQpeHIU78FQpVMlXinl04CzmoAH+q1bTjS3+pxrTbdpuc1458RPXBbTsbwHjNvULarSFvjhb2cG4Rpct8VGy76uhLl2oo9Fv/UFFj2wU/xC0E7neLuYLkm4Zz9kpnGTii6HkjM3bU/bok2UEeDyZ+ZUDa7C8aXhaZDOWqbelUoxh6Z9Afl3fNy3E4+Q8mBT2vu7m8mt5KsuTjPoUCJa86j7IAE8H5oPwhXkcVqd6qizn5jd+tVi8/Vhw8JNBmaiJQdBAHCygdGPZJrb3cpBGL219L3m+QOfXZZCcSi3vekFQcKLOuqi6zgaiS3nBKShjvi2J/0I5Sz2yIfFRCQzftWK7wxDejlSX4dgzcYpuFCbTpEZZ6vPUTnaCQbL3edjKMYeieDL7OX11mF4UhRJrlgzC1CdITrAjKDtjOwqStVz5Byj3c4MxP3Z+0vjykwuYWVU+lRJA== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 31:FaFItfNorSRu/yo35lGfONHi2wWootyCT+0JTFYWxHaM/3Vsq//yicXc/mNeW7h4jd7L05R2Yjj9mnWmovUmaX8RP4rlkUk/pYrqkMrVTYoKKxD6sdSthZPmlcHxmuOhPLgUiUiOuwqBTlBcJjhpHkEWa2ghqI2XKIGf5ACIviM/rqUwvPkYmnXCHAZZbi/it2okUdDFQcFXEH2chmrAQysvYK+pzbQ3srbxfxsbHCO7zK1xATxS5wAWIfxPSRfY8Bw/BmQHCZfWgDUv3SQh9eXdSZ1AMaW6CdWRBLclZk4=; 20:Qm39M49kk8mn42+scK3ktaSNsRRyNCpRDDTEUl3NdmhaJUwvdOgNIMn5HvQ0ZNvILYnWlAuiTPpYMtxGMn7VeBflMQpYgnLBpbD02ezH5o4tNLhEf5Zu0JDLHdqIxjEsEhboCbyZjtZhB2HFXkLPhWTQZBjqzqYOxBVI/rErjnTkb/7barClAR5CsuA0QkYAupz6B0ubQIyDvFvp5KlXjFRPV7oB2N2UMBCO9LoV+dLSboLrFdCLk8g1849GZqyJTMqKGFTODqP9roLIqE+5GNSGHrBRgEuSq/z0uu0ARSyso+cftetH6pgFv9i0HUY2oHkMADGNpOcVaQRQ9XwQyNpFP0l525okJlrvR3XZ38+mwVJ2oem2uo+9Om+CnPPpGmeCXhtgR1qyuB/OQXoPVvhQ1oIJ7exP+sDuD1OuqNVcPiziZqkyiwZ7ZNVImp0J8YMeIWPtzXCywUJ0aAjUHoq4BelX+H4gCrVwusJCmRmBT0Yd59F5h6hMXogrVqsZzdcEbEJ13VY0jRjGHdugAvw+XF5E4gahFtUlKXXnpPqnPHwHTLDDv8Kl0Kfp12x4wVdpLJpp2ejLEeuhea92YPKbg90P4GWWKuVe+LIA5Xw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(58145275503218)(198206253151910); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(3002001)(10201501046)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(6072148); SRVR:BN3PR0701MB1720; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1720; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 4:SX9UxKvfstxJ4I9zJcaSd8fPnePrhAY2CC9KYlbMfeeUY2T0eVXOq0Lsg0BkFf6d7bzedPsVxcjgTHgzw1j2RdXuJngZirH4BqYkdzY4ZbUK2amDp1hcqkrNo/P4osQdKRo3vcnXO82/VGQEMk80vfOEWBiLwDsaeSU/kq7WaxLhzk2e9A6hiP/fZNB7RJ5+ZnM1gN0woXyTd5laK9dXSCCc8r3Vw7Yyp56x9V2T2Cm6iiJBwVO+DnGYXrE3UCix6KbjEFzg5fLbP4M/M1fwIpEqhfmfKfrY97Ujxt8AJmsA7AYAX9Ry13WfiRAtzn6hMtE3UPZrYe/TLCDihR+d+nWzdcl46rOtPyUbgkSPkCl51EdzcWOLtsq8tVOpm8ar4wEnAKYE5O0Gl5Eq2WwmhzOay4OnyM6QqtWTMEb2IB2FUhqHOEE9L5Kgzf5QR9F2J+K5puUzbxxGbIWoA9hfTHuD4XJ+5fTSNtIyOrq6SADBJE/riJ1DwAIV9sojpaZH35xAGmV5xTXY31tgOgdecQiVCryJeq+C0MphXdalbKfaIqdunIInfVikZjRLp4E2cEXb3Cgw5F6vZpnKjBwwIuLGBAg7JC/N1gUZLNungUHG91E0+I9s0D/Omxi0OhwIQ76M4hbh0zeehfXZyVYGxiYqW0IYAz5ituJ+hLLbwqBxihg8TKpZIlOwHYl/yyCozajTyODlXVSjwPwWOOrgWv9oR+4jMQ+cyzYgBskZwCJVQE+MYfVTJ5jPIh7nQgyBfbmLjAgWiD+vS0jjbcxkPzFBkSd/oupG2cbhDMgHwtLjHI0rblFf5g0QsShUkPs1uN0ivq/sa/GJd4g8nrb6I6v2QKnObOwb5ufw1IwJmlvYv/wamVXsigt1oASEL/8q X-Forefront-PRVS: 029174C036 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39840400002)(39410400002)(39450400003)(39400400002)(13464003)(24454002)(50986999)(38730400002)(110136004)(76176999)(54356999)(23726003)(189998001)(966004)(6496005)(1076002)(2906002)(4001350100001)(55016002)(8656002)(3846002)(4326008)(6246003)(6116002)(47776003)(53936002)(6306002)(83506001)(53546009)(9686003)(25786009)(66066001)(5660300001)(33716001)(42882006)(305945005)(6666003)(33656002)(2950100002)(7736002)(229853002)(15380165006)(5009440100003)(6916009)(50466002)(42186005)(81166006)(8676002)(18370500001)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1720; H:jerin; FPR:; SPF:None; MLV:nov; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1720; 23:M+YEPah4vAbLWr0CKBoOiku1dZyTM1/Tzag2puG?= =?us-ascii?Q?bdw6dfWFsKteD8WVoPDWNFIea+P1poYqxmbgn9OXt/ZWbZVIaQfCa/Alab19?= =?us-ascii?Q?rj+G8DOol4XDaEwqRcnegp+8cu6pNN39BEE9Tn+xfw8H7exgeX+U3tD6zTFg?= =?us-ascii?Q?UWXEx+i5mMN4IolGb66YbJjWWmMr5aLrA/qJQ3W1sYFvkciOyBazLKwRg7/A?= =?us-ascii?Q?4NUwl8ScT+xLXrAk+FVkXW7ihnPjs01IilTJab//inztFKJS9k3PPrpwulZf?= =?us-ascii?Q?r2xffJlGbxLqtWH4sUhX66ooP9y/NXJDn2HIfTRrif+5vd9zn0V6TU8BLF9e?= =?us-ascii?Q?3um+FyLoX8YMCGtifrgjqaHhkDAycmcsXZZYFV5a+6ghiSidt36jB3gFw4eO?= =?us-ascii?Q?1gONOLLuOvzHQK8U1fBhq7QR36dxST4AO+i++Ubv7g5fFBBhKDdd48nVSO4j?= =?us-ascii?Q?1bD3LlS8+umyXgE2nolP3nsa+fNrxPiN7X7Ru+kMm+qgvLKNmAYIEUNwa37R?= =?us-ascii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5bur+pj4Hgkc64l/TyMd/DBj5rUGj8IcTUdYXF1LOvDOpJVpHevaoZJ57Z3dcSkYuVPUkOxHGVPRlwdCjtOvDUqvwgMIkazvMA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2017 05:03:22.5490 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1720 Subject: Re: [dpdk-dev] [PATCH] config: set cache line as 128B in the generic arm64 config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2017 05:03:28 -0000 -----Original Message----- > Date: Fri, 28 Apr 2017 10:14:11 +0800 > From: Jianbo Liu > To: Jerin Jacob > Cc: dev@dpdk.org, thomas@monjalon.net, Hemant Agrawal > , christian.ehrhardt@canonical.com > Subject: Re: [dpdk-dev] [PATCH] config: set cache line as 128B in the > generic arm64 config > > On 27 April 2017 at 00:29, Jerin Jacob wrote: > > armv8 implementations may have 64B or 128B cache line. > > Setting to the maximum available cache line size in generic config to > > address minimum DMA alignment across all arm64 implementations. > > > > Increasing the cacheline size has no negative impact to cache invalidation > > on systems with a smaller cache line. > > > > The need for the minimum DMA alignment has impact on functional aspects > > of the platform so default config should cater the functional aspects. > > > > There is an impact on memory usage with this scheme, but that's not too > > important for the single image arm64 distribution use case. > > > > The arm64 linux kernel followed the similar approach for single > > arm64 image use case. > > http://lxr.free-electrons.com/source/arch/arm64/include/asm/cache.h > > > > Signed-off-by: Jerin Jacob > > --- > > config/defconfig_arm64-armv8a-linuxapp-gcc | 5 +++++ > > config/defconfig_arm64-dpaa2-linuxapp-gcc | 1 + > > config/defconfig_arm64-xgene1-linuxapp-gcc | 1 + > > 3 files changed, 7 insertions(+) > > -- > > Acked-by: Jianbo Liu Thomas, Is it possible to merge this patch for v17.05-rc3?