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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0801DC433EF for ; Mon, 6 Dec 2021 16:49:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oxk5V7joEqW74CXJXG28QP0gDzFzwft/Bx1s9L41iQs=; b=KdC01NAJuoBcxf hiVn6cRYpyC1GQKiiUtmUIbBsfOsYpHQLgGXxX7Wwo91DFjrFfPhYrw/erOmtC0tLCCsA/CKfTcjG deFTgVXFi4wL1ORRjWNVot4LmG+P3V2yBLUV7Y2TmTmVgEv9AJFfsGx6xfk8p8Nd3qaiUBguqt+xh JnG7IKmfso7uUHtlHdgtaI+9+yIUy1WUza1hxn7N5MRXdmGUY76GtM6E6Gak4Gpjm0Q5vnfWHcWP8 gzymWBwvOLPBzcBoW3Cdqi3zfXDnmY8bf6hOJkJcrWhShlADIYWAKMiwTlGJJcfDJnBCtzKK6GN3I BXpp64nWOJdBkzOODKhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muH9h-004qnJ-Tz; Mon, 06 Dec 2021 16:47:58 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1muH98-004qaB-Vy for linux-arm-kernel@lists.infradead.org; Mon, 06 Dec 2021 16:47:24 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9E11DB81171; Mon, 6 Dec 2021 16:47:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4B2CC341C2; Mon, 6 Dec 2021 16:47:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638809241; bh=cSMz9HNmdlyrAxuErbtcZ6pp4jGvOvzYWBgsYjniQbI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tb7nra16cvHKtkzPanKasS/+dkYSuol48ZYuABXmXUOXlaOJ22lSRWfgBBaAj78WU NG2shvHMjhsnot8HXEcVrmhz8NOivRldj6mR+VgtzrlP/9q3QLXspMHu68Vy7CsT2O pFG4NBn+LKXzHNQnedCBV6aS6z43QytWJTC2DzQpbUno4WBzNAPWne92IYHptmKiSY o9yPsJ85HCB0Z/VRUDWN93Zo1+9/ECWyOk7u7xSPSsmOI1Kodnrqq8oYDADcDnygw4 1k5xidzgMfHzpA3N08X69pyh+bn9LQooFGj+jvg6fm4CHchzsrBj4I5DrTneDZRo6D LEraf6TzC1bDA== From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk Cc: Ard Biesheuvel , Nicolas Pitre , Arnd Bergmann , Kees Cook , Keith Packard , Linus Walleij , Nick Desaulniers , Tony Lindgren , Marc Zyngier , Vladimir Murzin , Jesse Taube Subject: [PATCH v4 01/15] ARM: riscpc: drop support for IOMD_IRQREQC/IOMD_IRQREQD IRQ groups Date: Mon, 6 Dec 2021 17:46:45 +0100 Message-Id: <20211206164659.1495084-2-ardb@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211206164659.1495084-1-ardb@kernel.org> References: <20211206164659.1495084-1-ardb@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3374; h=from:subject; bh=cSMz9HNmdlyrAxuErbtcZ6pp4jGvOvzYWBgsYjniQbI=; b=owEB7QES/pANAwAKAcNPIjmS2Y8kAcsmYgBhrj5lLVhTYXHtrpVrhKsZAsJHAndmZ+M7D40XqAom tZcFECGJAbMEAAEKAB0WIQT72WJ8QGnJQhU3VynDTyI5ktmPJAUCYa4+ZQAKCRDDTyI5ktmPJBDkC/ 4/SK+gwbNafcYat+eEYiTm99Li1YsR+BWcHkuiTM+phP8AnwuSHJNHIen3LXZxt7fVUDv9YuIldcHT +wfTqdWqI2PGHneuBqoos7eZ6K1BxlAwCCeqOyYOn6a3QHYUhpEmfXAJgEFfRn5pNlv0rqNY13nnuX N5OMfbtUG4oTJKYyVxgi2jjh390LUmiUcoM5Ddf4dXjOzCEN37FPYaLyDZB0eOA6s7/IVVfiB8yShM WsghOREfI+PpRWrI3xZRhtz4WjlVsUIeSujd+W26vX7ax9zNHKKrV4rlJIExatQZahs2y1zHbRk74q GdW6m+Eb1HKi+fW7J0/QBFBWc+d0xS9dTaZP+CAJihruUmX6iW0qvE2Ak6x5Z9G4DoRs7C6vnthDzh IVnhpkVDNafWNXF0cZuT1THegP7GCZYeVHzFuxvCG5JbqkOoql31mpu9j+J6CWiHTWeqi9PJtPMhgP dErKpDTwwwKC0+g+CfY2ltAJesFvjudpFFMcvo5r+Lqzc= X-Developer-Key: i=ardb@kernel.org; a=openpgp; fpr=F43D03328115A198C90016883D200E9CA6329909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211206_084723_339018_21058E7F X-CRM114-Status: GOOD ( 10.07 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org IOMD_IRQREQC nor IOMD_IRQREQD are ever defined, so any conditionally compiled code that depends on them is dead code, and can be removed. Suggested-by: Russell King Signed-off-by: Ard Biesheuvel --- arch/arm/include/asm/hardware/entry-macro-iomd.S | 47 -------------------- 1 file changed, 47 deletions(-) diff --git a/arch/arm/include/asm/hardware/entry-macro-iomd.S b/arch/arm/include/asm/hardware/entry-macro-iomd.S index f7692731e514..81441dfa5282 100644 --- a/arch/arm/include/asm/hardware/entry-macro-iomd.S +++ b/arch/arm/include/asm/hardware/entry-macro-iomd.S @@ -24,16 +24,6 @@ ldrbeq \irqstat, [\base, #IOMD_IRQREQA] @ get low priority addeq \tmp, \tmp, #256 @ irq_prio_d table size teqeq \irqstat, #0 -#ifdef IOMD_IRQREQC - ldrbeq \irqstat, [\base, #IOMD_IRQREQC] - addeq \tmp, \tmp, #256 @ irq_prio_l table size - teqeq \irqstat, #0 -#endif -#ifdef IOMD_IRQREQD - ldrbeq \irqstat, [\base, #IOMD_IRQREQD] - addeq \tmp, \tmp, #256 @ irq_prio_lc table size - teqeq \irqstat, #0 -#endif 2406: ldrbne \irqnr, [\tmp, \irqstat] @ get IRQ number .endm @@ -92,40 +82,3 @@ irq_prio_l: .byte 0, 0, 1, 0, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3 .byte 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 .byte 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 .byte 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 -#ifdef IOMD_IRQREQC -irq_prio_lc: .byte 24,24,25,24,26,26,26,26,27,27,27,27,27,27,27,27 - .byte 28,24,25,24,26,26,26,26,27,27,27,27,27,27,27,27 - .byte 29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29 - .byte 29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29 - .byte 30,30,30,30,30,30,30,30,27,27,27,27,27,27,27,27 - .byte 30,30,30,30,30,30,30,30,27,27,27,27,27,27,27,27 - .byte 29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29 - .byte 29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29 - .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31 - .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31 - .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31 - .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31 - .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31 - .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31 - .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31 - .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31 -#endif -#ifdef IOMD_IRQREQD -irq_prio_ld: .byte 40,40,41,40,42,42,42,42,43,43,43,43,43,43,43,43 - .byte 44,40,41,40,42,42,42,42,43,43,43,43,43,43,43,43 - .byte 45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45 - .byte 45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45 - .byte 46,46,46,46,46,46,46,46,43,43,43,43,43,43,43,43 - .byte 46,46,46,46,46,46,46,46,43,43,43,43,43,43,43,43 - .byte 45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45 - .byte 45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45 - .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47 - .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47 - .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47 - .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47 - .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47 - .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47 - .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47 - .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47 -#endif - -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel