Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1807173pxa; Sun, 23 Aug 2020 17:34:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzn9/GG2Q/LOxIydujK0JiVsSLBRn3qKMxKGupz7Kcaczgc92Q+DkmTuyY7PMUnsi9lAjxw X-Received: by 2002:a17:906:d102:: with SMTP id b2mr3159818ejz.465.1598229296971; Sun, 23 Aug 2020 17:34:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598229296; cv=none; d=google.com; s=arc-20160816; b=UKOoS79m/q5lnSzLTAC6aJvvNADpNhAl4wrSBOuMHMUyq6Tsr1FUXvbyY3JN772Y0e Fs0jhVsIKiY7vS/I7UMGtjIRfoMWOwutXjnNoVhDfFjfHJmKsJ/33oGrKRjmL7HA5PvP DSMsT2KZ2ydalMFvUa0dPoSaI453krhvSFUR35X/Hqu5R5YgIFPGT93EoxrSSVJaMiwU E4mmjJiJmYEk7YE5o1YrpzAm7lw3ykZ/cp1I7RpvVzO3Ta+7ZmNoj+L+7tXV7rKUef1Q rXRX6uFK5th6by+Q/EoQNECF9ocSpHvu8IYcah5hnxHjvekNQ7O/+H2ZnL/1KOua9rCz +OQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:to:dkim-signature; bh=iM0SYJEwCSfM/KX5jOc8DR6fgqQxcRAOf/ZjYNYJiLg=; b=S+/uEvV1WqCh7pQDgJQFJ6fSymChL97lbYsZ70oeBVgtmGIrOsSsqGCl19joJjO5Rt DbL+ZWRLMleA4Y2Obf0C3tC/joDem+hPH75SnpuYkedu9EknoRuU/a4Gv1yf9W23edy1 U+J4suTvzS1JponLezhiOrR/ABywqeanBYuCGGddULLrSBCa7EnpXXQXyv6Adzk93Na1 rb2jVLWXqxZoq+91jknEBBgkG/TDF2Tvl83uMSjDwupvCGMVBdy6IfCyfoFp8uRnYimJ BuWoolHltoHuJfe8Qh2q2uMWe9gR2G6SaOGbaClC+HPJMcozFvYp52R5ilFcZ/4S8TBR ktHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=uvA44k96; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si5759561edr.422.2020.08.23.17.34.33; Sun, 23 Aug 2020 17:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=uvA44k96; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727024AbgHXAba (ORCPT + 99 others); Sun, 23 Aug 2020 20:31:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726765AbgHXAb3 (ORCPT ); Sun, 23 Aug 2020 20:31:29 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C96D5C061573; Sun, 23 Aug 2020 17:31:28 -0700 (PDT) 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: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:In-Reply-To:References; bh=iM0SYJEwCSfM/KX5jOc8DR6fgqQxcRAOf/ZjYNYJiLg=; b=uvA44k96e2xJrd+e1flZL8Yw8F Bv6IOBb6LU0hfu4SDw3Quxz6eddj8qf2YVsGrV4WxnE3cvxXWh5Tc6u8DCAB7sj+NQyYrfMxyRKYN pnkQIRkhxiQIzNLbou0rvV4RG8jpjdefb3a9iDfY0quCuZDelXA5B+4t0/DFE72LTeZwSZgOadZ0q u1FkTLW9FiLgfbSeA8Deb1VlcdMxXsP/mucUw9kVwPk9ZZaqJpcIbu+3sF3hdMOJJmpO65bfNQIgn oJP8bIWd20jzznmBh3XWU10IsOOzT17KVn5CMpJqmk7KD7OFABKVpjHDH+qtjb5nMJUd2S7DEnMSl LMpmhnag==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kA0OM-0003lt-Dd; Mon, 24 Aug 2020 00:31:18 +0000 To: LKML , "linux-doc@vger.kernel.org" , linuxppc-dev@lists.ozlabs.org, Nicholas Piggin , Michael Ellerman From: Randy Dunlap Subject: [PATCH] Documentation/powerpc: fix malformed table in syscall64-abi Message-ID: Date: Sun, 23 Aug 2020 17:31:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Fix malformed table warning in powerpc/syscall64-abi.rst by making two tables and moving the headings. Documentation/powerpc/syscall64-abi.rst:53: WARNING: Malformed table. Text in column margin in table line 2. =========== ============= ======================================== --- For the sc instruction, differences with the ELF ABI --- r0 Volatile (System call number.) r3 Volatile (Parameter 1, and return value.) r4-r8 Volatile (Parameters 2-6.) cr0 Volatile (cr0.SO is the return error condition.) cr1, cr5-7 Nonvolatile lr Nonvolatile --- For the scv 0 instruction, differences with the ELF ABI --- r0 Volatile (System call number.) r3 Volatile (Parameter 1, and return value.) r4-r8 Volatile (Parameters 2-6.) =========== ============= ======================================== Fixes: 7fa95f9adaee ("powerpc/64s: system call support for scv/rfscv instructions") Signed-off-by: Randy Dunlap Cc: Nicholas Piggin Cc: Michael Ellerman --- Documentation/powerpc/syscall64-abi.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- lnx-59-rc2.orig/Documentation/powerpc/syscall64-abi.rst +++ lnx-59-rc2/Documentation/powerpc/syscall64-abi.rst @@ -49,16 +49,18 @@ Register preservation rules Register preservation rules match the ELF ABI calling sequence with the following differences: -=========== ============= ======================================== --- For the sc instruction, differences with the ELF ABI --- +=========== ============= ======================================== r0 Volatile (System call number.) r3 Volatile (Parameter 1, and return value.) r4-r8 Volatile (Parameters 2-6.) cr0 Volatile (cr0.SO is the return error condition.) cr1, cr5-7 Nonvolatile lr Nonvolatile +=========== ============= ======================================== --- For the scv 0 instruction, differences with the ELF ABI --- +=========== ============= ======================================== r0 Volatile (System call number.) r3 Volatile (Parameter 1, and return value.) r4-r8 Volatile (Parameters 2-6.)