From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF3E0C433B4 for ; Thu, 6 May 2021 08:30:41 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 677B9611AE for ; Thu, 6 May 2021 08:30:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 677B9611AE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: Subject:References:CC:To:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=h5bHHrpqnlro6A5J5gIk7LuXjVDe/B67wDmwF0UMatE=; b=C3UY9pNndEy+joUGBefWM+PMJ n0BPVpmBhAr5R0whKRirV87TYDKTt7z9Hxv06NfZNNms/A9k8QGR0HWlFDdYTGWYrLOZri/4JOKGV Pzt2T0kowAf2ujfLU5w8d0Cc29T11u4YK1GJ5rJijVPSV2A7L/7W7vWyzBz9YBcgGr9oW3DXAemuW Py5DoQOCQcAvMmMRqb8xRrBSzDRo08GrQneYd9P6OtrvJhGcttjbwQqkOTODAC08B4g1g6S/CBmop HIoxRftOBEBnU/J1JlYYHIYMILIPfAE2Js93k6HRRilvCyoYZ6Ou8mVFSB4xxCUBBEbI/BtcUD7Hj pyCQcndZg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1leZMu-003fic-4O; Thu, 06 May 2021 08:28:24 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1leZMq-003fi9-Os for linux-arm-kernel@desiato.infradead.org; Thu, 06 May 2021 08:28:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Subject:References :CC:To:Sender:Reply-To:Content-ID:Content-Description; bh=ZT+33Dz/jf+tHv9iI/QE4oKKcxKZ7snbu7ktvgExtqc=; b=2Ls7Zze1f5krxEZv1So0970AHu m6jkLgeIY/9QUEgzITKTcs1mTrLCq4iWNCPBJTjfgqygQGETWs7RpBKoHpSwO7OHGV/WEeH4yu4yi 7OBU2P4cMMv6qepqSIrXRWsBN31DQW2tfGxYlFNHtkWDehrMq2e/v/ayzn5rP+vcRmBPL2QITR3gR GBmj/Dm9WUN+AaWs4JKsxjI/mkbZvEqkxup4rkk3J7mJlLhpfNDhNetGBZ9b8dm+Kpdwa67p/pliP XK4dITQz5ZhjST6/S7RAz2Aq+Iq3bC9OQ2Z3O5tu/ovW6cdP1rrjIT9hYHAa0tETEF3CQR0G1WSbV EqEJlmqw==; Received: from szxga07-in.huawei.com ([45.249.212.35]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1leZMo-005s28-3J for linux-arm-kernel@lists.infradead.org; Thu, 06 May 2021 08:28:19 +0000 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4FbRV85mW2zCqkC; Thu, 6 May 2021 16:25:36 +0800 (CST) Received: from [10.67.110.136] (10.67.110.136) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.498.0; Thu, 6 May 2021 16:28:09 +0800 To: CC: , , , , , , , References: <20201130115950.22492-7-mark.rutland@arm.com> Subject: Re: [PATCHv2 06/11] arm64: entry: move el1 irq/nmi logic to C From: He Ying Message-ID: Date: Thu, 6 May 2021 16:28:09 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20201130115950.22492-7-mark.rutland@arm.com> X-Originating-IP: [10.67.110.136] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210506_012818_335748_5A625FD3 X-CRM114-Status: UNSURE ( 3.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Mark, I have faced a performance regression for handling IPIs since this commit. I caculate the cycles from the entry of el1_irq to the entry of gic_handle_irq. From my test, this commit may overhead an average of 200 cycles. Do you have any ideas about this? Looking forward to your reply. Thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel