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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 A43B5C46CD3 for ; Fri, 29 Dec 2023 08:54:23 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=eVyvXw8l; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4T1fM16Yn5z3cR9 for ; Fri, 29 Dec 2023 19:54:21 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=infradead.org (client-ip=2001:8b0:10b:1236::1; helo=casper.infradead.org; envelope-from=geoff@infradead.org; receiver=lists.ozlabs.org) Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4T1fL04pNSz2xdq for ; Fri, 29 Dec 2023 19:53:25 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:References:To:From:Subject:MIME-Version:Date:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description; bh=9njuBDN9ld9CoGZTPj9YwY0U3/PER/6GYsJZeAgW3IE=; b=eVyvXw8l0J7bvcByL70k4KTIxc nUjL7fwVXzLaiDH/ULtR8ZdUWr1JeX7RiA5RdM1IWAt7XulaGEO1/xay/VeYmvlBhzI+IbSKud6+S HZCY92iJI4/4ysuBhdZ54tQO8cCha4ZcK5wNkYLNl4M1DSxVt57S3hLIxKiGjCUg4nrkIOZ2Tpdzv adPotuFWL0IsUurssCyNjlWNa1w35bZR0dKbwrFxshzzKqmWu9hhEMVByjxD7qslI59X8Ep+t8LZE SL6vj5VeDzmG8Avdxu4nkm0zK69++06y50WaG1Ft66TlYMxbp3wOEg1xIjVmI54COQg3q/06KzaAo O3wPIZnA==; Received: from om126255101095.24.openmobile.ne.jp ([126.255.101.95] helo=[192.168.43.165]) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1rJ8cB-0064ib-OR; Fri, 29 Dec 2023 08:53:13 +0000 Message-ID: <8991a6d9-bf19-4c15-9803-3238cb41aa80@infradead.org> Date: Fri, 29 Dec 2023 17:53:01 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] powerpc/ps3: Fixes for lv1 hcall assembly From: Geoff Levand To: Nicholas Piggin , linuxppc-dev@lists.ozlabs.org, Michael Ellerman References: <20231227072405.63751-1-npiggin@gmail.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 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: , Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hi Nick, On 12/27/23 18:50, Geoff Levand wrote: >> Nicholas Piggin (3): >> powerpc/ps3: Fix lv1 hcall assembly for ELFv2 calling convention >> powerpc/ps3: lv1 hcall code use symbolic constant for LR save offset >> powerpc/ps3: Make real stack frames for LV1 hcalls I tested these patches applied to v6.7-rc7 on PS3 with CONFIG_PPC64_BIG_ENDIAN_ELF_ABI_V2=y, and they seem to be working OK. I did not do any extensive testing though. I tested three configurations: - With only the first patch 'Fix lv1 hcall assembly for ELFv2 calling convention' applied. - With the first two patches, 'Fix lv1 hcall assembly for ELFv2 calling convention' and 'lv1 hcall code use symbolic constant for LR save offset' applied. - And with all three patches applied. All three configurations worked OK. Thanks again for working on this. Michael, I think we can just add these three patches and remove my patch that disables CONFIG_PPC64_BIG_ENDIAN_ELF_ABI_V2. Tested-by: Geoff Levand