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 19061CF11E1 for ; Thu, 10 Oct 2024 12:27:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Jgzc/uLviO7J54OVqHpsyMnCk4VTRuOJ3qugkDERST8=; b=e5bmaxKSGqkEOf4xfZ25RC5ex6 yNNDyUIhp3bYEQMevALQzbPzho3BGEQq/1q/FDfQANXhzCEiXXGudwAB9zsSw8mZXnVGzvZh2LIY1 wV+mzRK/3J1TXO7pkdDWjcGLjJ5/jplX5wVNCQTJq9W6enwjDqkRJILu6G+0zbg9YfuDD14dyUwnP AImZRN+ZUlCEd0pF4kVI2VLs+BMM8ZcvdvYpdNuCFj8cKhjDxFpj1azamUij1aoJ/9kK9F4aqnseq c8CR18uPw8f+o/uM+yai2dOc+a7mYfU7sttdeKouDlJj++BzGC1XKojOF1duc6kI9sttQeoSiIl3v xFxoRCaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sysG5-0000000Chpr-18Gs; Thu, 10 Oct 2024 12:27:09 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syrne-0000000CcYi-3qVU for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 11:57:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Jgzc/uLviO7J54OVqHpsyMnCk4VTRuOJ3qugkDERST8=; b=IIe+J1UD8SkmQSXtqZvX4LjYxM /0Qpcshk2xUqgwE/jU5u5u9nB6ve8edCv9dFAsxYsM3S+wjJZD+ytsnuWIIx0lbtBnTmW70PGy/Yg dhq8BZm077nnWVQf3Ucm0qP01tA13M774TFjnv4b2zZekyAYVM0HKzbPVdH8lElXZSh8hnskU40yw 9uQ3M1J73m7NhJRRDeKEZf514jrZ1G4Gdmzvj/8Vl9ladGZy6kRKzrMjnP+BJC0ha7VTjxjMn40Sg heqvJhzhOJfoe353S5xm8RhxMf8zN8UUHuNKHPTZDrBkvkarvSNRmIc3ZCCpFgA/4jVj0MqTUgQtZ LqmG04VA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:53502) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1syrlZ-0002IO-0l; Thu, 10 Oct 2024 12:55:36 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.96) (envelope-from ) id 1syrlU-0007HP-2r; Thu, 10 Oct 2024 12:55:32 +0100 Date: Thu, 10 Oct 2024 12:55:32 +0100 From: "Russell King (Oracle)" To: Linus Walleij Cc: Oleg Nesterov , Kees Cook , Andy Lutomirski , Will Drewry , Frederic Weisbecker , "Paul E. McKenney" , Jinjie Ruan , Arnd Bergmann , Ard Biesheuvel , Al Viro , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 00/28] ARM: Switch to generic entry Message-ID: References: <20241010-arm-generic-entry-v1-0-b94f451d087b@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241010-arm-generic-entry-v1-0-b94f451d087b@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241010_045746_996681_78B8D4F1 X-CRM114-Status: GOOD ( 13.09 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 10, 2024 at 01:33:38PM +0200, Linus Walleij wrote: > This patch series converts a slew of ARM assembly into the > corresponding C code, step by step moving the codebase > closer to the expectations of the generic entry code, > and as a last step switches ARM over to the generic > entry code. I haven't looked at the series yet, but I guess we're throwing away all the effort I put in to make stuff like syscalls as fast as possible. So the question is... do we want performance, or do we want generic (and slower) code? It seems insane to me that we spend time micro-optimising things like memcpy, memset, divide routines, but then go and throw away performance that applications actually rely upon, such as syscall performance. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!