Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751394AbdGQPwD (ORCPT ); Mon, 17 Jul 2017 11:52:03 -0400 Received: from mail-by2nam03on0062.outbound.protection.outlook.com ([104.47.42.62]:20608 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751293AbdGQPwA (ORCPT ); Mon, 17 Jul 2017 11:52:00 -0400 Authentication-Results: suse.de; dkim=none (message not signed) header.d=none;suse.de; dmarc=none action=none header.from=caviumnetworks.com; Date: Mon, 17 Jul 2017 18:51:47 +0300 From: Yury Norov To: Andreas Schwab Cc: Catalin Marinas , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Adam Borowski , Andrew Pinski , Bamvor Zhangjian , Chris Metcalf , Chris Metcalf , Florian Weimer , Heiko Carstens , James Hogan , James Morse , Joseph Myers , Maxim Kuvyrkov , Nathan_Lynch@mentor.com, Prasun.Kapoor@caviumnetworks.com, Ramana Radhakrishnan , Steve Ellcey , Alexander Graf , Mark Brown , christoph.muellner@theobroma-systems.com, davem@davemloft.net, Geert Uytterhoeven , Alexey Klimov , linyongting@huawei.com, manuel.montezelo@gmail.com, philipp.tomsich@theobroma-systems.com, schwidefsky@de.ibm.com, szabolcs.nagy@arm.com, zhouchengming1@huawei.com Subject: Re: [PATCH 08/20] thread: move thread bits accessors to separated file Message-ID: <20170717155147.7s3qi2uduiz5ozon@yury-thinkpad> References: <20170619155003.13218-1-ynorov@caviumnetworks.com> <20170619155003.13218-9-ynorov@caviumnetworks.com> 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: [79.168.245.82] X-ClientProxiedBy: AM4PR05CA0009.eurprd05.prod.outlook.com (10.171.184.150) To BY1PR0701MB1864.namprd07.prod.outlook.com (10.162.143.146) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2d694405-2d07-4b89-3a10-08d4cd2bc195 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BY1PR0701MB1864; X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1864;3:5t7/fxE7jgefWPv2dyXrKSUuc9ErD5KhkYaevX4zhdVznCM8tX4qgojqqa1khS8N2tTV7+1gJWw0YxoFnkh1Y2UzD0c81uEcBsWGdPhmB+I9DRm3yRJ9+tHXWR90BB6OeWXYJ7gMOFzYALAoTb7LRZ0j44KoI3GGN0M+FZ4SHreZGPnXD9Qtozj3S8hNh7SY679ZQWyHtZ7HMrd/M7YfIeh+cDiRZRHzsWRoOHS3E/VewpeHqMpvP84lyxsavuHUDg8tamlbvAPzxrbOeUHtisHVpGHy7BJsxK3z33BHfqxitN2HAUTw4Igzdscne5IY/I3SABVKuZHKm5NSDiBZxrU8VbxZKY7x7EfbwlYeB5o+11E0eRt4aXzi6sh+qLiPdsqvlyWDUIxl0QDWR3BH6emcX/VHXuEdlFqXpfUAEC6FJqVAQPcM51tg3Uo8JVj5BI/+eFky/U0XmT04qTVOQvnvoOgjxgooFENHC9tPESG3fHLFM/IpQhfpU22O/6KmuJyih0EwVfamVTqpk6IfLa+zBIjMZ4hN223ZkQYsRRY4ag3cIkaksf4kGjpzM+EPBs4D7aC1i1J7DvKIvGz7pHYp2U93n8EmTK3uLNl2L0+h1ZgyQYoA5E4sx2xQHYCZdi1ZjC/KdifYrKPWl9RHwx9jacgJDhK4r6epzfrrgibY5Bbt9HO62qcfH9BJQLHmEkDDvMfm6RRI+7NMrU7mNRRbKnVxTOXkLjy4QN/OpfU= X-MS-TrafficTypeDiagnostic: BY1PR0701MB1864: X-Microsoft-Exchange-Diagnostics: 1;B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aixHKhhfGz2b9lNXZjU3NkmGWFclBuzyTzIcT9cpr3Ulu0s4jN38pGjc0u9cXdl4ad8IiaOpdeRyFkVUCF9rC4bNqrzHfQBHENSzaf25RhQRXEJmyVL8CP6GtBbeZHQWVBqykz3AW7zChcx/tERG0YkFx4VVT1MCNCdt+ud0= X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(148574349560750); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(10201501046)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(20161123562025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BY1PR0701MB1864;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY1PR0701MB1864; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0701MB1864;4:gT3y5+DQLSJ0ohD7zxyt6NCB6tTX/Ts++OGG8bkr?= =?us-ascii?Q?GtcOTnF9aEXwaH5qxsX+qq+66Zv1CAY/aSxHSl60BDr2Fwu8MKfQwDKZQbt3?= =?us-ascii?Q?lAuuXReDa0GrysJwlbv7135uM4h5CiwgFDzsl3NXwYn70hAvFnan5AtQ0nEj?= =?us-ascii?Q?KtICjUwXcbcV+tfFpf0IzpLr695BOcOBLETy3Na+euYEzp/yzvszBphZ937y?= =?us-ascii?Q?IkGkie7gpuO7VZHHu20/eSaPn5Kl48xpIiq7oclAzf6sIlUs9r/ZDNoZ5Gqm?= =?us-ascii?Q?xXh+Zv9aj/62UgKDDMUmC1tGjFkzPwinVHAcRgyOichiOD3R+nFDjHz+lP/g?= =?us-ascii?Q?7z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PwJRVUil47Rs18bFiI5yFQ?= =?us-ascii?Q?=3D=3D?= X-Forefront-PRVS: 0371762FE7 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(7370300001)(4630300001)(6069001)(6009001)(39840400002)(39850400002)(39400400002)(39450400003)(39410400002)(24454002)(83506001)(50466002)(8676002)(33716001)(6486002)(6916009)(33646002)(478600001)(6666003)(42882006)(2950100002)(81166006)(229853002)(7416002)(53936002)(2906002)(4326008)(5660300001)(72206003)(7406005)(47776003)(66066001)(50986999)(6246003)(23726003)(25786009)(4001350100001)(54356999)(189998001)(305945005)(38730400002)(7736002)(76506005)(7350300001)(42186005)(76176999)(54906002)(3846002)(9686003)(6116002)(6496005)(110136004)(1076002);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR0701MB1864;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0701MB1864;23:TCulnNm03mQUlIAayI/T8vi7YJll3Vd+g8vEcGG?= =?us-ascii?Q?lcsWgMkJstX9axc0pPITwTOVEVKILPps/PVmProyM78jIUaknDC4tqEEYeGF?= =?us-ascii?Q?W3hPLFLUc3lXgGR0G9Jn0UZHpx32vpRT42z8xMUXLZDNGkMX+rjDnwRhCihH?= =?us-ascii?Q?lgXspCb5LCPnSdESSI2bhmQuiZbtmf6vSmz1xctrRYa/jCGhKdgBstpTXyfL?= =?us-ascii?Q?OA6n4j1JdutuRSM+dgLtWEfYukA5Cz0uk5MOWRxEFeCsxvIMuQr5oKBe4iE1?= =?us-ascii?Q?bwDnPuseQwwToOJakTCRwh4btNP5nN5pRoPtSdMZy7Ei3Mqa8iLN+MEK4Ri5?= =?us-ascii?Q?2GsPGPFhHJU/mZKqLdvAb65pXWHaHg64GimuH8PabMZYuuavOGeJZASftsRL?= =?us-ascii?Q?fR4+ZA+hyuuqac2mXhb83nspRFPWzifbckGEHsz3jjHgJYBk0ud83oa0xgz0?= =?us-ascii?Q?9Xoi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Diagnostics: =?us-ascii?Q?1;BY1PR0701MB1864;6:Q4Z4qEbpKqjtNFXkvgo4Jea3uppNOA4YV/6NbiTY?= =?us-ascii?Q?PLfI12fD6JMx9QOQ4OW5/55vltJFZid2v2AmtKG84nZrWRgwsR2FrhlAbYds?= =?us-ascii?Q?ttS3871kt1tYFJP+dKqaqFUiEFafooVFnE8DXWDzIDGEveTNBovZ6+ZHjsbd?= =?us-ascii?Q?hrZtPKyW96kc3Ku6j7h4pk1ib/kMbDUvemVmmfzLsRQupghceMXq5oZlyr5j?= =?us-ascii?Q?dRuLWAKegoJgyRYi5bmtcCzC7RKuMZl/WsMOwZKl4dnUhdGtD90bMaQ0QldB?= =?us-ascii?Q?I7681P3rEOWoxczfL0LMVJEtzp76DDdEPa+KqOqqFfSjofpI5050QI5JpqNg?= =?us-ascii?Q?AULS1Emdcja9mponNauLTAazd/u14cvK7O8j+FFs1v2nSgPib9qHAlG/EbjK?= =?us-ascii?Q?4mdjBv92Wh+wDGCQPg5ic4PI4NuGBX4dO51ky3o1aNoH3hRzrvl4i0A2sQWw?= =?us-ascii?Q?v5yRFXR0WiwzIRlxWvVF71QURIt+sFE2xTptH8OK2beyFf+xBQkOBm3H0vpp?= =?us-ascii?Q?erZV0wkP3yiOrhX+sYlvvopolzMrzy2XmCHmehPkuP2pbFbsF3NxvC6pNaX/?= =?us-ascii?Q?5iuwtBcSy393HOqdMbU9VR5hUYVICut1wIVbHPMv8vybafADSD4Y2g4MJDIP?= =?us-ascii?Q?KWSVqOa48JbmM4IV+/Xf4QqLi3hbnc/Bzy+CmDirSexjsmRjc7rTLtaBHFuz?= =?us-ascii?Q?zkcCrQni2hZJ2HXbruSC/A6a37X6E7Y3VSUvorLhySbzl8eNCLP4CXsVt3zR?= =?us-ascii?Q?KOe5VygAaCpxNr8UIndhBS/kvjI1V0fj3LhVVKplAqR7eClBqSiVo9UjJ96R?= =?us-ascii?Q?kn2gyUHnIboGTh0rwXUT+cpcMaNnQjuoW3tP8BOm35juO+e0VGCjO1QQCkEa?= =?us-ascii?Q?uEL73HXHX/Ddj0gsSC1/0eegaR5bpxuJzY9O4MmyzA954P37J5nIzBuH7Nox?= =?us-ascii?Q?ragOSIPamoW7XomUVs90Bjso9ZPXSnx0SyJkku4dhZQivxf+5Wyi3gU5E/9H?= =?us-ascii?Q?nic=3D?= X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1864;5:VyY+fxXDirLTGjCEOH4AlS+YLrSC6M0VqqqXQ+wyh2EFVdksV3r4vIJ4zVOOZc/LFns8dDvHNHArmvQ17vsHX9Kp9NV/+BGs4fLtWz8sgjqOX5H69fOzxtnIv3pF+PpmlC/YkRDtOo3goqx/byYPjtoN5dzEDZhlRnAyK6Tf/VmJyBmUCorkBwUQMOiBqB2vjsV8eZ0W1nk7GkjG3gnSCmgnPuYiSvH57mbzbkUlGsQbm4jYi2QIFZ+b0IgG7jEos5WEYh5iebgGJD/iPKI9N6ZRHzLrurRo94O3iMHzmBBBLVA+ySRFd6UBAUu715LXDxoafnZ8daEdDFSBm5zs9kZk+hcVQ50si3PIA7jJC45l57fCjehHv78IYEKNNaA/ItUNwIRiTNcEjIDABEHy/Px0kiwDUZPLlTRsl7jPc3r7qmA4NJBT/jFBM/Eq12pjawHYByDUmIhPUeypUvatY1phm0USm4cSwQ5F1ThwL/jZB3B0FCYjO0/x1vibrs2b;24:x2wnfFE95U7cKlBBElPj8oXOqY3QEokcGlmv2uUJp73SYYjnSfjEgqQKYNd9nkhoua9gT26ZX6FjLosVwx9khc1/x44cL6VSj6cDt15OUiA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1864;7:KuhQI0TOnNQ40sxr5gLAYc+JvsiQZH3klUZUs9x0AjSyB4QDkTs2QOW6dCulGfAznkG+CT9My1LScpWmKiB79YOu7svRzD8n5lWzZU+M4isOH4BdzjS9c4gmymETpG2f+HQrrEKnj3sKD8gInZqbxIvqML49QObnYjDG8UFI0ktTYt8NSufjI8ifl4lNesYaYrpc2kyLdNC7s1aRqecaYo88LbKv/vR12KkKJWD6wQBCnBJcbqdO/N4qNzm9NIMc5EATc58i7yidBQm1ZEiBGOhv52ifOf6lWyIOZf2quIh5BXPll1yAce3N4xqrZH3LaSxESHjeeTgizBocXkW4ukc86A3DC7QqjXFHVNHPqxPuTj3YyUs0zGsQkF4N3copEAypbRvFjp0X4NdVV9I0QaQ3NbC4Z8DBtcfyWtROHpNASG3+ehAJCEPEZCq63HtUwoEHrnwKIr5R9UwFI6o3doD1Bsk6UACndcQ5cdgJoE2q2MfITBlQPcotFatIrJRRDQGl8jYfcnyPJn/EIz1AAKzwkofCzU7kk2CFxRR+wUBbEVRVSn7dd6YsbVAbx4o6k/gFiIy96qt4MaaEBuYp5xn1gI0VjbmrZFplw34idWphpDLKtdxG/zC2Ww5VRz7jzzIbG5S6UuNl3KvJA8GuQn4Hi6hmaEECWesPV7EBG7QTPV8BumK1ANu7pEEGyNuALfLcZlCE3/2hbBbplP3BU6sc5HSDGuchTyDC9Hwa4kRxJImZc+XqY08qgr5HwYL/1vRWwJrL1oZx9IhUQLp6NW7588VACyN4+oYDJs4+1gU= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2017 15:51:57.4277 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1864 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1604 Lines: 54 On Mon, Jul 17, 2017 at 04:57:02PM +0200, Andreas Schwab wrote: > On Jun 19 2017, Yury Norov wrote: > > > diff --git a/include/linux/thread_bits.h b/include/linux/thread_bits.h > > new file mode 100644 > > index 000000000000..87354331bc7b > > --- /dev/null > > +++ b/include/linux/thread_bits.h > > @@ -0,0 +1,63 @@ > > +/* thread_bits.h: common low-level thread bits accessors */ > > + > > +#ifndef _LINUX_THREAD_BITS_H > > +#define _LINUX_THREAD_BITS_H > > + > > +#ifndef __ASSEMBLY__ > > + > > +#include > > +#include > > + > > +#ifdef CONFIG_THREAD_INFO_IN_TASK > > +/* > > + * For CONFIG_THREAD_INFO_IN_TASK kernels we need for the > > + * definition of current, but for !CONFIG_THREAD_INFO_IN_TASK kernels, > > + * including can cause a circular dependency on some platforms. > > + */ > > +#include > > +#define current_thread_info() ((struct thread_info *)current) > > +#endif > > This is duplicate. > > > diff --git a/include/linux/thread_info.h b/include/linux/thread_info.h > > index d7d3ea637dd0..c40a89357329 100644 > > --- a/include/linux/thread_info.h > > +++ b/include/linux/thread_info.h > > @@ -7,9 +7,21 @@ > > #ifndef _LINUX_THREAD_INFO_H > > #define _LINUX_THREAD_INFO_H > > > > +/* > > + * For per-arch arch_within_stack_frames() implementations, defined in > > + * asm/thread_info.h. > > + */ > > +enum { > > + BAD_STACK = -1, > > + NOT_STACK = 0, > > + GOOD_FRAME, > > + GOOD_STACK, > > +}; > > + > > That should be kept after the includes. Thanks, will fix.