Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753114AbdGMQZv (ORCPT ); Thu, 13 Jul 2017 12:25:51 -0400 Received: from mail-bn3nam01on0041.outbound.protection.outlook.com ([104.47.33.41]:4128 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753076AbdGMQZr (ORCPT ); Thu, 13 Jul 2017 12:25:47 -0400 Authentication-Results: codeaurora.org; dkim=none (message not signed) header.d=none;codeaurora.org; dmarc=none action=none header.from=cavium.com; Date: Thu, 13 Jul 2017 18:25:29 +0200 From: Robert Richter To: Shanker Donthineni Cc: Marc Zyngier , linux-kernel , linux-arm-kernel , Thomas Gleixner , Jason Cooper , Vikram Sethi , Ganapatrao Kulkarni , Eric Auger Subject: Re: [PATCH v2] irqchip: gicv3-its: Use NUMA aware memory allocation for ITS tables Message-ID: <20170713162529.GB18024@rric.localdomain> References: <1499702025-21383-1-git-send-email-shankerd@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1499702025-21383-1-git-send-email-shankerd@codeaurora.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [77.180.124.15] X-ClientProxiedBy: VI1P18901CA0010.EURP189.PROD.OUTLOOK.COM (10.173.66.148) To SN1PR07MB2349.namprd07.prod.outlook.com (10.169.127.15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bf36c07d-b37b-4fae-74b2-08d4ca0bcd5d 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:SN1PR07MB2349; X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB2349;3:MWRJnmrGyd2CBr9RXjM+Tfno7mATMds8LQLw3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O98EpjxMTtP2FjN3jtNOK83SnWfpHgQgFHI/dt7cMsC0jNU3zuEF6f53hkM2yPjqRFvmyAVuhntCfiGqOhu1MK7Y6STFW6mLxC/sh7CtBec59QaLnLfTVZNq9+y5sHfLN3MSdIDQ7GqozDpnjtYqbq4rRF7m7aROjRlAirAwvmDKlBSBW2I8mJ+NCeQaX3nr9gaYaUuL4N6nsXz/9VTQj85IlMpScTSxx70m7+TND1oOy5YGeudIVrfdJA8GVzdtHtm7aOOBNWYX/Y0JK1u2a2X/nvkLpU= X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB2349;20:uQMHqyLz/ECoDNz4L2WvgMg32IUh33ZL4tuKAKXOW6XemNsisVulY4y3p2AgTOjh10jr9dsFyk3DJkkJj8I4JWCvTxIG+/n7iVrXuURQohQz6aYzTnBzBoyJlbXpQbVDvOrOaH1LZwIeBWNRpBQQI4C2b8JWFoLz+mvOUEAfnZj0Q3KGvireQdGk6pF+Fagjtlj5c8ifLJt6JN1Q6rv/+m39MgR+7Vyl+xeCZVSqKxChdXkXyNiO0Nbn6OXHnBbMPHJB1mLpqqmJfNi4gPez05z1MZxGqXs1gyMvdMbSH8JqkSVFIpVT+7fc7XzxTfdeyW62KIQK++tYm+lcZTvyzvLOFn0LOrrF2fpPyxWq5YxgOhEf+drXpbCrwlGhoD0yYqs2SNQAVJlgrcpoecaBRiqwIZzFnApPLSur00M7uht9gyLyDuQjljeF1AiQ3RrNFDbkQqCHZppR4iAycT1ELri37sX+fk1ofa6n22DgjeXdAN4i7B3zbRElRshdHty+ X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(247924648384137); 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)(10201501046)(93006095)(93001095)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123560025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:SN1PR07MB2349;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:SN1PR07MB2349; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR07MB2349;4:I3FKO9b6+GyRNeod9O2i3IApzBWtqgdnjIC8lbzY4p?= =?us-ascii?Q?ccTgWIa3mdU6/oddlXNb39f2fg28QVoqKDhzIXrzGOIMpyfrqDDNpDvRNhzX?= =?us-ascii?Q?JjfiXHW4hQyvkg/Mi1zKSxGozRy1I1vkLneLilVjGVZSBpQcthEpe6Z/lZig?= =?us-ascii?Q?kOVVflzrTT7GiAxEBZ3ACASIad9kNM/w/vMwxV6xGKf2znpIaU/eGJ1rpPmy?= =?us-ascii?Q?kOuGcBBag6DZTNbCynztt4/cSt61OypUWN1gI/D3PieJ+kkX4ey18nuvNtWx?= =?us-ascii?Q?IHnvzLxl2ScM9YnTYBO937u/A6oJGy8941zWYk4npLZKZS8cLHiFqY9AsWx3?= =?us-ascii?Q?t+6tMZnj9plAKIK1Clvxa1fW1+yP7ARoMUC/F6ujxvyHQfXkugRBfJ+62cQd?= =?us-ascii?Q?Pt3kpJOLH+HH5sA3UOCQL5Yi1LiEFem1GpXjAbDuVM0O11xIx6akjbvNGDID?= =?us-ascii?Q?XZISzis4AgdkOujWgEfzAWBL06GcT1OPrsMa6ooJatJMMC9fqJt8Whp4Juv5?= =?us-ascii?Q?7zugb3zNG+35PLoVn9efqaySdVFztqf2lH29r2QNt02W+8YSGrS4gTsjw0oD?= =?us-ascii?Q?wiALVuAg2jocOV+7RlHvkTy/LpVnBxQpe/pwAZbp9i3rojlHilPr6xkAOpWT?= =?us-ascii?Q?1cFTl3VSImZBiNaI2H15Fbas2rvxNaPnewj4LW65/M28tTe+22ZjH+AhzIQH?= =?us-ascii?Q?XVwOlViUHwGfPdSUFuYMVcY+/piAICb9m0ajY+09OdwfowM+bGmwpk4l2lgq?= =?us-ascii?Q?IxelIMYqcJrGGaMqsjUeae8DRZ5kG9iRb10/uNTKGdomhQyDNNCOjpiRFH2k?= =?us-ascii?Q?fmj8pLx92DUHtSbIHn0LB1tF3SS+YLFSItV1c067PNFuYRno+GFlAXgStJWE?= =?us-ascii?Q?3IMhCFIExkczmxoDwu8MBMaytBo5xqrK3GCOxxIKSfGIqeIVCLa2YAgsuNZR?= =?us-ascii?Q?Wpv9kOpctLLAyk4DX9k8WkCnDCApLWMK/0BkrQPRiKa8H4UeT7ytmXoEJd9R?= =?us-ascii?Q?0tlQ7eVizmBTHWh92yBcYkHsrjNahI7GcL87Mv6FXLw4xcynqtmUbF/6fkGW?= =?us-ascii?Q?Wmm7Fe581YmGLN9VBFjTqP2Ztp5Htusifsh4gSBIlqGfIQD7RNQugQ2cgFgN?= =?us-ascii?Q?f/QL/nTLUmblgvKq8BWYFFZmZFTP+D9cQPYSWSFgUsONfn6oFDZ8RInp+/qv?= =?us-ascii?Q?tUXHKYIFGjqP2vMpsxijAet0ilaDyht/RvxXFLBbRMFDqaekVLiuxyKY4G2w?= =?us-ascii?Q?60i1oTLvN/D6huXIE=3D?= X-Forefront-PRVS: 0367A50BB1 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(7370300001)(6009001)(39450400003)(39410400002)(39400400002)(39850400002)(39840400002)(24454002)(54356999)(5660300001)(86362001)(4001350100001)(2950100002)(478600001)(53936002)(33656002)(50466002)(8676002)(50986999)(1076002)(6506006)(6666003)(54906002)(72206003)(2906002)(6916009)(76176999)(229853002)(9686003)(6116002)(305945005)(189998001)(23726003)(83506001)(6246003)(66066001)(7736002)(25786009)(42186005)(55016002)(47776003)(7350300001)(81166006)(110136004)(4326008)(38730400002)(53546010)(3846002)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR07MB2349;H:rric.localdomain;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR07MB2349;23:XHTW0Sq3KXDaCezmCi4QJQhdqF+zeUZelROM4HEdP?= =?us-ascii?Q?3YjY19HRN911Gizm9NVrk7PUW113Wh8oGnDWao8gi8QdV6U0fKV3UDSF/rfZ?= =?us-ascii?Q?r4K75RzlJnHkPcUqPM3gTQRmqAnLDt+h5ivSaCQmYPtONfH+4reUNekoNMQe?= =?us-ascii?Q?yOd6tB9vMRMJvp0HVKFenx6sq/pdlakAUbDXlrr1SIR2tskAO9pE59hEnDFE?= =?us-ascii?Q?nR2yNZasWKNWVxJpbxfwWwLDFBbb6j3eABFUTPTyXAG0adqPZxSmkF0fJVFJ?= =?us-ascii?Q?dTT8cWnOOLBJFnwA8qUaIGOXbhZ46LoFqgS/lOnl3Z5Rr4q/j4u7ZDxuWJFz?= =?us-ascii?Q?AFxEj5E0g2Q+pJ1b6rRcVyC20d8Dl4iz28F5VKgpqEZVv3n7pT4NLy98+4ho?= =?us-ascii?Q?0NrzzuGKk3yZiSkGGYnvZLrFg1p5FiMsj9RcnXaR+suD65H8vrNZ6Ud4e/Yq?= =?us-ascii?Q?g0CR4dJbfNy7IWJK0Xom2slgtLL+x2ZE+/Rbe89bubu3rYMQ3qVFY+Xzc9VO?= =?us-ascii?Q?gbbO2FEVqTOhDc1C+m8IU0OEEit9sWoZXc4kOeI1Epmx8TWREI16zRo9NwWo?= =?us-ascii?Q?P2HaeaQOx5iYXuO4vNmszQr9o5fFh9dyXPEExldDNrHQTvUDPA6aIO5E9Waj?= =?us-ascii?Q?1uTq+0FwQT0pfTd7IhuvCOFQOS+pc6R3AOA6iBoKr5RO8C9qMM76hnPn7Z2X?= =?us-ascii?Q?pin0jbJBLqoiJR2Zc+nOkfvVnavbIDvRDEZUiM5YhLRHQG49oMLtMXobPder?= =?us-ascii?Q?AQINLr+ShgWPrKU73JRhfb2eGUku83U149VcS8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LSntXeIaNsVJbJoZiDWVonDGLzNPUPIWTXD8XOcD?= =?us-ascii?Q?inGSPbwQWwjUKds031Iv30apnlXlWUVWif7SMiRhxC4GBGhWuXihFRXIlCZ5?= =?us-ascii?Q?0laOzrar8reLQAzkA4hSZ8u83lC42V6KBrVQANCcJIkSjME9GEeeOtIb8Ddv?= =?us-ascii?Q?EvRTHObkqdlsSPMnV77C1bBsQ2mT9gvq/nF80DH7RZTfJuWzoCEpjXx45TPM?= =?us-ascii?Q?yoFXuXTM0qMw9UDMQDg4HKyXxhJnXA0CEuzEDKAPHX50tSo+8sYjkqQT31lJ?= =?us-ascii?Q?xcjTEVEvVknISiHtN273hDELYLQCWm4/SQLGc4RFvFPgWMoY4DI6AGstmz5w?= =?us-ascii?Q?4dbfb0whZPhQXxTk89eU678ax7RJYyEWhHRjA+lypbv0PvTYhMtps21KgA5u?= =?us-ascii?Q?EOTUqEeHxwIpLTWgap01/CR9r0b9p5McSdJ6wywAzAUvwFQBkHdrHwMxsRFz?= =?us-ascii?Q?u8JjxRT61O+xSQ64f2MQ8x1S1xXkS6ye0tImoxr6gfBAZ4zcn+qgbJ57YdGZ?= =?us-ascii?Q?j/Wn17YACJdHvZM363pa8AGtZ/ruUnjm/7S6g69+RRoQIVb91I1xaUkvSmjp?= =?us-ascii?Q?orf6mb48eREHOTw9tRxOKFbPbMR4ru7NAVrA68nT49lqIMSBHaQj8tE5JKah?= =?us-ascii?Q?0=3D?= X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB2349;5:+cVvFngP30tsZXETJ17NO4Iy4QQVD3LH6KC+ebHsPJhWUjV4BD4SNjID85R5SSOzSKoPr/HNO84PcOSNeZDHcVSGlN4m4I40kRZWMsbu6UyZGh+uNTmRwgkJu+riZsnGM3PTdik6Vk+ZGrBZs6LVurBfUT0IzjxggNYKbP0x48LcOQpsJMs78HNzszebsnkpN/qYvhmsILAcgOVpJ/BY5ZKA4EknC3kZRUnSLYnUOWTDidaCHVQW1oRxbGfsqr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ApPenFdAycKL7eesUYzDOT4nroKO7jFB6iYeE1xaQJcRQSWd4FsFpKNlQP/YO86T9W8k3CDu/avZaoQShiUjW4IRe3SLZhPZALSGL+r1/iQte7qylr4T8AtB42NHICPxwi0NU5kuMnJKkbEK0I1BLMzg8Y3htQ4q4LpAjIAI= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2017 16:25:38.5455 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2349 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1346 Lines: 32 On 10.07.17 10:53:45, Shanker Donthineni wrote: > The NUMA node information is visible to ITS driver but not being used > other than handling hardware errata. ITS/GICR hardware accesses to the > local NUMA node is usually quicker than the remote NUMA node. How slow > the remote NUMA accesses are depends on the implementation details. > > This patch allocates memory for ITS management tables and command > queue from the corresponding NUMA node using the appropriate NUMA > aware functions. This change improves the performance of the ITS > tables read latency on systems where it has more than one ITS block, > and with the slower inter node accesses. > > Signed-off-by: Shanker Donthineni > Tested-by: Ganapatrao Kulkarni > --- > drivers/irqchip/irq-gic-v3-its.c | 36 ++++++++++++++++++++---------------- > 1 file changed, 20 insertions(+), 16 deletions(-) > @@ -1773,7 +1777,7 @@ static int __init its_probe_one(struct resource *res, > out_free_tables: > its_free_tables(its); > out_free_cmd: > - free_pages((unsigned long)its->cmd_base, get_order(ITS_CMD_QUEUE_SZ)); > + __free_pages(virt_to_page(its->cmd_base), get_order(ITS_CMD_QUEUE_SZ)); This change is not required as free_pages() can be used here directly. -Robert > out_free_its: > kfree(its); > out_unmap: