Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2254008yba; Fri, 17 May 2019 13:26:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3IiKzQhPSGEQ/CfO6cIMVbF2IbpZ+Awm928HWQ9RVbmy51khklDPAF5Xsbgy7PsnQdck2 X-Received: by 2002:a62:ed1a:: with SMTP id u26mr56644848pfh.229.1558124796887; Fri, 17 May 2019 13:26:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558124796; cv=none; d=google.com; s=arc-20160816; b=S2f+V3H096RMslc4oxX2IzIGOXL3cLj3CH7PAZ//cjv5YxbZnPR4J32Pa150vhDIdu JesicJdlE45q8mOWzhqh6LY4nKHNgmnRvFKsCzMrhI/4+HBzpy3nVry6o8MviCfxhPhM whJdhadcORxM5uukCe9wYCkcfbdFDr1JAXhBRS/cqiP6B8ahgE3YxhJzXkDnXNLTxo3U C4psYiClF779ZlhwTFmd3Ay7kmzxkyag3JE6F3N+ZXkER6RAdBZAlrPl5WrySajW8aOT bOMqehzUsTEglBRvjQHajZJOSqB5qj5wlynWvUo0RnO3JfIRT55TIPDrX23yCmde0oxE 36Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=Hm3yX0Nd02ALJtMiIxehw/8oMCnvHp38QMs7/aSaeD4=; b=dmemN/4W+Sz2HLnzkGEYv+/OFE+AvxOc4vno7vIOK0A8LYmIb4ZEnWwYUT94nIFE4n uULMQsZQqDIcbm/8AXDcSx+fhc6Xt+IElyUcfLSMpoYsTnXrWTMcOuNP2YCsgctbR71U jDICsUCxwANKtVuudU6ijtedjx28xRExka9kf+UbSR0xGdUhl//79MshhW1e99TcNtns kFk5bHiUXBUdQp+lmDvAv29ALc1wUJNI2LlX2B733n3HQEOOAewanw6xnnB4aQxqamUI ReH1//UrveL23wlCM7HEo6TWpZC695KUbIkTFfoZukppVI+74esGzdspH0lu2PgYunko l3fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=bd0e7iEZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8si9551660pfa.124.2019.05.17.13.26.21; Fri, 17 May 2019 13:26:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=bd0e7iEZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729021AbfEQTc1 (ORCPT + 99 others); Fri, 17 May 2019 15:32:27 -0400 Received: from dc2-smtprelay2.synopsys.com ([198.182.61.142]:37092 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727714AbfEQTc0 (ORCPT ); Fri, 17 May 2019 15:32:26 -0400 Received: from mailhost.synopsys.com (dc8-mailhost2.synopsys.com [10.13.135.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 5A997C00E5; Fri, 17 May 2019 19:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1558121535; bh=j8O86pkhB/C8JdbxUYCEms78o2TDvjnHPnzfvRgCTBU=; h=From:To:CC:Subject:Date:From; b=bd0e7iEZBw/UgUZefEPip61U0Mf+y9nMaVcosE0jeKniy9v9fZApg2EWMvJgfOllG Y8Wt4hrz7ixqKdXIIQIoTgPCFDK2L6u13+/MMZxLQgMzLpHlvsms/ubBthw5oaTOd0 6gMXCxjY5QjvU90xhyjAyptkfcyoyI6JobDgTdLb182mJIIM7zh8mJl1qeHcwjsU3W XOwryS4S5OrpCSuUUmJSKFizivb4YoD3UEQfpY/Lz38DvibpQVEOn2pbZdbSxIqn4c 21pfIa5kueRS6X2s8u9600KohX5NtonMlM9DXYcmS3AB/Fvr59Bq7UPxyzidQPwJAD nxS7HN5FEBMTw== Received: from us01wehtc1.internal.synopsys.com (us01wehtc1-vip.internal.synopsys.com [10.12.239.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 7E3A5A0067; Fri, 17 May 2019 19:32:25 +0000 (UTC) Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.104) by us01wehtc1.internal.synopsys.com (10.12.239.235) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 17 May 2019 12:32:25 -0700 Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.105) by IN01WEHTCA.internal.synopsys.com (10.144.199.103) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sat, 18 May 2019 01:02:34 +0530 Received: from vineetg-Latitude-E7450.internal.synopsys.com (10.10.161.89) by IN01WEHTCB.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sat, 18 May 2019 01:02:21 +0530 From: Vineet Gupta To: CC: , Vineet Gupta Subject: [PATCH 0/5] Rewrite ARCv2 interrupt/expecption entry code Date: Fri, 17 May 2019 12:32:03 -0700 Message-ID: <1558121528-30184-1-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.10.161.89] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This was along pending todo item to remove the copy-paste from NO_AUTOSAVE support as well use LDD/STD instructions for better generated code. Thx, -Vineet Vineet Gupta (5): ARCv2: entry: comments about hardware auto-save on taken interrupts ARCv2: entry: push out the Z flag unclobber from common EXCEPTION_PROLOGUE ARCv2: entry: avoid a branch ARCv2: entry: rewrite to enable use of double load/stores LDD/STD ARC: entry: EV_Trap expects r10 (vs. r9) to have exception cause arch/arc/include/asm/entry-arcv2.h | 361 ++++++++++++++++++----------------- arch/arc/include/asm/entry-compact.h | 4 +- arch/arc/include/asm/linkage.h | 18 ++ arch/arc/kernel/asm-offsets.c | 7 + arch/arc/kernel/entry-arcv2.S | 4 +- arch/arc/kernel/entry.S | 4 +- arch/arc/mm/tlbex.S | 11 ++ 7 files changed, 232 insertions(+), 177 deletions(-) -- 2.7.4