Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753569AbdIDMYK (ORCPT ); Mon, 4 Sep 2017 08:24:10 -0400 Received: from mail-sn1nam01on0074.outbound.protection.outlook.com ([104.47.32.74]:51744 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753531AbdIDMYF (ORCPT ); Mon, 4 Sep 2017 08:24:05 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@cavium.com; Date: Mon, 4 Sep 2017 15:23:50 +0300 From: Yury Norov To: Kaushik Phatak Cc: "linux-kernel@vger.kernel.org" , Catalin Marinas , Russell King , Dave Martin , Marc Zyngier , Peter Zijlstra , Mark Rutland , Arnd Bergmann Subject: Re: [PATCH] Unifying headers for AArch64 and ARM Message-ID: <20170904122350.ij3b2o5sf2dlownz@yury-thinkpad> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-Originating-IP: [5.8.110.169] X-ClientProxiedBy: VI1PR0502CA0024.eurprd05.prod.outlook.com (52.134.0.165) To BY2PR07MB1444.namprd07.prod.outlook.com (10.162.76.146) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a581e53b-84e4-4884-020a-08d4f38fd3c4 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BY2PR07MB1444; X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB1444;3:WtgkJhtw55X+Hv63csFNxamefBLamAyealCAqM2lR57NrdWbxLRTdSev9LbQD4A0NZ+VfioxAuxD8bUgARlt/AJ6fTpoemt0LBmiN+LQpIRzBhA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GvOR999a1MEppH4x471OoJuR7bUSp4Eh5jiXOghnp5UQ0E1IGLyqUsCWVbBhQQ0OJY9hSujCNqtxKCBd++STbt1xQfeq+sxOYinC4oESDexykvxowDiQhQvVopFtSjvGvdXeSQaUbbIE7lJQlHB0wy9Wc5/ioqSdXTAEf41H2erhS/GisgYcuobRbW9RvwSUwRvYTFSbjZJByCjI15DnWjkl+DMctm/MMiQDw/mJGXriKGIOx/eSfLLntBBce1bSGS9/ELkB6QcQuBWMdsDIQY8svRJywwZ4A67vW8GL1tIl6vkJsAHgvQcc02ARYXX1UKKafRqj0sOZI= X-Exchange-Antispam-Report-Test: UriScan:(20558992708506)(9452136761055)(278021516957215); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(3002001)(100000703101)(100105400095)(10201501046)(6041248)(20161123562025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BY2PR07MB1444;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY2PR07MB1444; X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB1444;4:mP/cMqf2rMyPioXBrD2YGzNu4ldIE5S3lsV8t0998t9FzzFzCPnoJh0PNtVS2lKYS+Ser/ogKcHbcBElFT2xfAGWBFn4DJZck4x3AJ1uYOdnnCfo6bYpOR4Wu8cezdCFq534diPWeZHodaaNfoG7koKyRa+cuy2XhBW8TVaBeinFbKNJJDB+bBK4/aVZ4MQnV6gYgcPMuXrSfN3ikPPMRiuvS5lH5/vLwoPgFFBC5K4TxDyK9nIqP5MTVtgp9K5i+PUM8NYpbSCzAFJS//EaDyDEwQLV8I7RDRf7m4000U4OGV/EC7au2uVZC7l+yba9ShZPgy08g9pmvi2EMafrDfO74NAOMLR9Gn7jLGrOnWQ= X-Forefront-PRVS: 0420213CCD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6009001)(6069001)(189002)(199003)(13464003)(24454002)(377454003)(3846002)(6116002)(8666007)(8656003)(6496005)(6246003)(110136004)(101416001)(72206003)(189998001)(33716001)(71446004)(6916009)(2950100002)(54356999)(42882006)(6666003)(105586002)(8936002)(4326008)(53936002)(76506005)(9686003)(83506001)(106356001)(76176999)(50986999)(6306002)(53546010)(54906002)(25786009)(229853002)(7736002)(81156014)(81166006)(8676002)(33646002)(5660300001)(966005)(2906002)(47776003)(68736007)(1076002)(66066001)(478600001)(23726003)(50466002)(4001350100001)(97736004)(6486002)(305945005)(42186005);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR07MB1444;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR07MB1444;23:Y1jd08jlMEDxqie/fv3GpFL/GRLw1bCDR+vx4VuCd?= =?us-ascii?Q?k1rzK9gNLEPCVl23BylJ7IyUoYkMzvi4YS5yu+CqW43oJhbWIPcAxLSMixo8?= =?us-ascii?Q?VKIqjWtAJUbDdZ+UIY8j+9djUl7JhX78KSrRsXB+eB0+QvHPF/q3lc6YM/mN?= =?us-ascii?Q?hCEh7gt+HOoEhKGZl4+YVrS4VdPjM5UTQnACPJXqf/pRKhbt2no6ruzAyNv8?= =?us-ascii?Q?VOS1Pt0boAox+61E84jgkETLNOqV5kG9mabMw1ymup9HcFgBki6HOKwj90tW?= =?us-ascii?Q?+TIoJlFvYogJiVbEqz0SemEnCZjyPx2Plw3nb1PYZgT0ekMG9xMvTxezjYCA?= =?us-ascii?Q?nDWZcuQJx1k5bnwKUHE/nddSD5jWyb4ZetaMNHIwFRKm9xUFVGHiHyCpFoRP?= =?us-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NrtirXI2cmJg+qB4UMJQb3h?= =?us-ascii?Q?+Ht21OlT3GR/u/Vo+l3L9gfLXxEreQMrW1Ji3w+L/Nf4yxu874GHbBSC56Zn?= =?us-ascii?Q?1k4dg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB1444;6:H9JiXejyp+DAg2AVPTkzOZAo/m8WPROUBEhZZv49RhOWdtNYlB/w2+KERMhvrM5y6yU3q0/8IaQnmEXBz/7c+8CAM3nJygTQPQkgN6r6OCE8WK4zzLUFQq7a9t6A/w8Kr8Cz21UXzGW2GZSr8unwwjvPjRhcENxlrPRhjDxCxV3tR7wT+IoKRhj4x2Z1/keWT9B+vvNHnG8uO++H0eZG4ok4BnOlLi7S1QnSdYXIOoJGQaMbWb3dtZ74zStLNFjt4iHpUmjDoG6X+D/vjNVjck43aPtDmCPHRtjI0ekh724S3sstMotDlTpeXxwo2g1wJZOoruv414huRybEU7I85g==;5:ub98QP6n/Jlb08EJBE5FccSTTjSIrK0uSz3IFREMYXQBixGvG/KiwO3KabVvEdtgRmo8TX6HIeyaErpYMJEOvaMcv6LCqDHK/Z0MO5llTiFefyazkfNrvtCs0Qs+9+OaoKn9q6s8p/etAR007mFaxA==;24:nvj4WYO2zUAe2B3qcoRIqbJw+86x6cWeVTzrEfVyMhUESA472KZb8qA6B9OJbZ4mwJArXpllPt3tEQxb+9b0mj3pioPOiZasA9pPO047AmI=;7:GbO/uMvvUa/5cI9XQShZdvt7WV+mFS0x2o2OCKzdKTTBJ5wtfEVOHjIE/eaBwL59qAP4RoBZ7liro8Yog6vN8ScRvNAU4mCj7H+1pecOIs8EKgBvK9nJvbLAkskHoQBs0iTVre0wEzr1woKxdIiamU4VICrVdki6m9gykKLc4a24SLwfaN8TkQJq/HdMfHB3wfRSqSMipPMJgLpsFDphAmpMfKXn8ZC36z0z79Qo6Dw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2017 12:24:01.6824 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB1444 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1899 Lines: 51 Hi Kaushik, (CC arm and arch maintainers) On Fri, Sep 01, 2017 at 12:24:08PM +0000, Kaushik Phatak wrote: > Ping for this patch: > https://lkml.org/lkml/2017/8/10/136 > > The patch can be viewed on the mail-archive link below, > https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1465874.html > > Please let me know if anyone has any feedback on this. > Thanks. > > Best Regards, > Kaushik M. Phatak > > -----Original Message----- > From: Kaushik Phatak > Sent: Thursday, August 10, 2017 2:12 PM > To: 'linux-kernel@vger.kernel.org' > Subject: [PATCH] Unifying headers for AArch64 and ARM > > Hi, > This patch is an attempt to unify the kernel header files for AArch64 and ARM. > We have developed similar patch for glibc, which unifies the headers in sysdeps. > We plan to post that separately to libc-alpha. > > This developed patch is similar to something that X86 does with the macros > (__x86_64__) and (__ILP32__). scripts/checkpatch.pl reports 30 errors and 24 warnings on your patch. Also, you didn't CC maintainers, so they most probably missed your patch in LKML noise. I CCed some of them here. scripts/get_maintainers.pl should point you to proper persons. > We have noticed some activity in this area in recent times, Linux patches by Yury Norov: > [07/20] arm64:uapi: set __BITS_PER_LONG correctly for ILP32 and LP64 > https://patchwork.kernel.org/patch/9599053/ arm64/ilp32 and arm64/lp64 is the single platform, and so lp64 and ilp32 parts share the same installed kernel headers. That's why I had to introduce #ifdef magic here and in other kernel and glibc headers. Arm32 is different platform, so I don't understand what the benefit in joining headers. Could you explain it in details. Your patch has 2880 lines. It's quite difficult to read it at once (and I didn't do that). Is it possible split in into the series? Yury