From patchwork Fri Jan 27 06:39:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 49083 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp685097wrn; Thu, 26 Jan 2023 22:42:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXvAp8tJwSTrSKfSofl9OH41J8rK+EKE3BpEDPILXRgfXeg/75JH7cXoOqeGwXBMstElkqBf X-Received: by 2002:a05:6402:194c:b0:498:b9ea:1896 with SMTP id f12-20020a056402194c00b00498b9ea1896mr46493830edz.9.1674801749297; Thu, 26 Jan 2023 22:42:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674801749; cv=none; d=google.com; s=arc-20160816; b=vx2Cez7LnJo2JW4GJH5Ul0X0euIlPtuenLTGvnaqH09WIKlcV5hlRvA5d/XYk7e4Uh E2ZtI6b209eiD04A554hXUtln0hzRxdz/2M+ErXBGE94xAY5qykybHbXmellDXKeHuWp SBpAfq9RF2AiJlPYjr8bWViVeeQXkzd9t2y1uxVRYZhchUNVpOfXDOK0BxfORodygim/ dtlMaIVqOdbiXXmhZH4g/lj+pRY/lv3n0MB0rBqBLAuJtYr/66LrJFe7EDautWAF9kOv oMUYM72/e9D9IFPK2cblzfx/n9wBWojTEtfiE0eit0v5Bci093wff5NNY2g+8UMrv5aB w7pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CA1Cigbjbo5d5kU+L4D/OrisiUcoKP764Ad5A2j0x8s=; b=npOOB9HICZkDtg9JjWrczBgeR79+kz1sctEZow6DbcsmKVHq40n/XOwpPA7Ms6x/ms JhlsrLUQsLyuCqWHZBaEkdDvp7RtVBG4ML6FeowgL8UV68gGLivOAp252UqmOkS+Br1E nCqixcssgxi6amZStKVGKM0KTcQFBH7jRhxSwq0RyQEDzC9ED28SfAyMn9WxmUgeH2hp AhYliC0vYSmLXwDQ+bH5H6rA4e7Y6/xFpI/EztOzqOpo2tKflGYz+SfoaRtWWXeoS8p8 XaoO5RLUaLx1skD+TC9p9jKM5u/uvcFS4AIBXV0Y2aOdB5vyNDHzLquXUA2SwTtsywH5 ZHDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=J058ZoDS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t27-20020a056402241b00b0049e18d9674asi4706463eda.359.2023.01.26.22.42.04; Thu, 26 Jan 2023 22:42:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=J058ZoDS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230404AbjA0GlH (ORCPT + 99 others); Fri, 27 Jan 2023 01:41:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229759AbjA0GkW (ORCPT ); Fri, 27 Jan 2023 01:40:22 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1EC26BBE8; Thu, 26 Jan 2023 22:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=CA1Cigbjbo5d5kU+L4D/OrisiUcoKP764Ad5A2j0x8s=; b=J058ZoDSOmgIy+41JlX8VQ/lVD qfnzQ4K91uwGZWBMc0FOc8u18kq333GsVAotxcqrKJB4CUfERHCn+CjDxDKzpV5ZBCVuVHFc7mrvd +qt06JxB/UpmfisQSGvwPTvtmJFNNCha3KeDgoP2RKtjWE4tk/fBb9ozmZgp5pad9Rax+m4lPk7pe umTKtZ/+rP7KGwrqxtvC3tZddGvL5kBIqglMv0KQmg4mIFTcZUZUZZ5GQpiiEB5egTfEr/XDrMuBc UVwFb8pDfJH3NUQDUCO7dy8fI4yP+NuFtJONImIXeXwkuli7JXFXGeYw/6n6+TcifRssCWT6NC0r+ M9arjeOw==; Received: from [2601:1c2:d80:3110::9307] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLIPM-00DM0u-A4; Fri, 27 Jan 2023 06:40:20 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH 21/35] Documentation: powerpc: correct spelling Date: Thu, 26 Jan 2023 22:39:52 -0800 Message-Id: <20230127064005.1558-23-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230127064005.1558-1-rdunlap@infradead.org> References: <20230127064005.1558-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756156918754997020?= X-GMAIL-MSGID: =?utf-8?q?1756156918754997020?= Correct spelling problems for Documentation/powerpc/ as reported by codespell. Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org --- Documentation/powerpc/kasan.txt | 2 +- Documentation/powerpc/papr_hcalls.rst | 2 +- Documentation/powerpc/qe_firmware.rst | 4 ++-- Documentation/powerpc/vas-api.rst | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff -- a/Documentation/powerpc/kasan.txt b/Documentation/powerpc/kasan.txt --- a/Documentation/powerpc/kasan.txt +++ b/Documentation/powerpc/kasan.txt @@ -40,7 +40,7 @@ checks can be delayed until after the MM instrument any code that runs with translations off after booting. This is the current approach. -To avoid this limitiation, the KASAN shadow would have to be placed inside the +To avoid this limitation, the KASAN shadow would have to be placed inside the linear mapping, using the same high-bits trick we use for the rest of the linear mapping. This is tricky: diff -- a/Documentation/powerpc/papr_hcalls.rst b/Documentation/powerpc/papr_hcalls.rst --- a/Documentation/powerpc/papr_hcalls.rst +++ b/Documentation/powerpc/papr_hcalls.rst @@ -22,7 +22,7 @@ privileged operations. Currently there a On PPC64 arch a guest kernel running on top of a PAPR hypervisor is called a *pSeries guest*. A pseries guest runs in a supervisor mode (HV=0) and must issue hypercalls to the hypervisor whenever it needs to perform an action -that is hypervisor priviledged [3]_ or for other services managed by the +that is hypervisor privileged [3]_ or for other services managed by the hypervisor. Hence a Hypercall (hcall) is essentially a request by the pseries guest diff -- a/Documentation/powerpc/qe_firmware.rst b/Documentation/powerpc/qe_firmware.rst --- a/Documentation/powerpc/qe_firmware.rst +++ b/Documentation/powerpc/qe_firmware.rst @@ -232,11 +232,11 @@ For example, to match the 8323, revision 'extended_modes' is a bitfield that defines special functionality which has an impact on the device drivers. Each bit has its own impact and has special instructions for the driver associated with it. This field is stored in -the QE library and available to any driver that calles qe_get_firmware_info(). +the QE library and available to any driver that calls qe_get_firmware_info(). 'vtraps' is an array of 8 words that contain virtual trap values for each virtual traps. As with 'extended_modes', this field is stored in the QE -library and available to any driver that calles qe_get_firmware_info(). +library and available to any driver that calls qe_get_firmware_info(). 'microcode' (type: struct qe_microcode): For each RISC processor there is one 'microcode' structure. The first diff -- a/Documentation/powerpc/vas-api.rst b/Documentation/powerpc/vas-api.rst --- a/Documentation/powerpc/vas-api.rst +++ b/Documentation/powerpc/vas-api.rst @@ -46,7 +46,7 @@ request queue into the application's vir The application can then submit one or more requests to the engine by using copy/paste instructions and pasting the CRBs to the virtual address (aka paste_address) returned by mmap(). User space can close the -established connection or send window by closing the file descriptior +established connection or send window by closing the file descriptor (close(fd)) or upon the process exit. Note that applications can send several requests with the same window or @@ -240,7 +240,7 @@ issued. This signal returns with the fol siginfo.si_signo = SIGSEGV; siginfo.si_errno = EFAULT; siginfo.si_code = SEGV_MAPERR; - siginfo.si_addr = CSB adress; + siginfo.si_addr = CSB address; In the case of multi-thread applications, NX send windows can be shared across all threads. For example, a child thread can open a send window,