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.2 required=3.0 tests=FROM_EXCESS_BASE64, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham 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 95733C43331 for ; Thu, 5 Sep 2019 17:48:54 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 6A61C20820 for ; Thu, 5 Sep 2019 17:48:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6A61C20820 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 46PSq76j6kzDqtr for ; Fri, 6 Sep 2019 03:48:51 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=suse.de (client-ip=195.135.220.15; helo=mx1.suse.de; envelope-from=msuchanek@suse.de; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.de Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 46PSmh4Jg3zDqlB for ; Fri, 6 Sep 2019 03:46:42 +1000 (AEST) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B85EEAC18; Thu, 5 Sep 2019 17:46:38 +0000 (UTC) Date: Thu, 5 Sep 2019 19:46:38 +0200 From: Michal =?UTF-8?B?U3VjaMOhbmVr?= To: Christophe Leroy Subject: Re: [PATCH v3] powerpc/64: system call implement the bulk of the logic in C Message-ID: <20190905194638.74ab317d@kitsune.suse.cz> In-Reply-To: <1b0c7814-786e-f453-a26b-9d1cf7df12ce@c-s.fr> References: <20190905123512.24311-1-npiggin@gmail.com> <1b0c7814-786e-f453-a26b-9d1cf7df12ce@c-s.fr> Organization: SUSE Linux X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, Nicholas Piggin Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, 5 Sep 2019 15:25:31 +0000 Christophe Leroy wrote: > On 09/05/2019 12:35 PM, Nicholas Piggin wrote: > > System call entry and particularly exit code is beyond the limit of what > > is reasonable to implement in asm. > > > > This conversion moves all conditional branches out of the asm code, > > except for the case that all GPRs should be restored at exit. > > > > Null syscall test is about 5% faster after this patch, because the exit > > work is handled under local_irq_disable, and the hard mask and pending > > interrupt replay is handled after that, which avoids games with MSR. > > > > Signed-off-by: Nicholas Piggin > > Cannot apply it on latest powerpc/merge. On what does that apply ? The v2 series had 4 patches so presumably the previous 3 are missing here. Thanks Michal