Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp507905lqs; Thu, 13 Jun 2024 18:00:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXWDeadameubW2C1qMv/lReNfu7MLC1ACgh2ZL+0HHN0YPFlqlhbi33oDkVHtIAf1AhtndwVj3ZtifYXihkZG+Yla+HsEUnQ228bRutuQ== X-Google-Smtp-Source: AGHT+IED70WZQZaXjGzSDznqOrcyMX7OYd28rpWCXLw0wQ0ZbrW79taR2nHbELgPqABtZbs60rsT X-Received: by 2002:a17:90a:8f05:b0:2c4:aba4:d84e with SMTP id 98e67ed59e1d1-2c4dbd44f51mr1365971a91.43.1718326853925; Thu, 13 Jun 2024 18:00:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718326853; cv=pass; d=google.com; s=arc-20160816; b=HdPZk7/W1fbOqNA6qVnCyi5lT+jTBI7HGg9k0ZJrmuMTYkPT4t7nv1kmwncv4Ej6zA Cgp2YKMMEQ+J/JFdHdMZPQIsV/vHgmNYMYh5qAgRbVQveu5Wc8n8vbXYlB00ZziweYNO 8/uSqhU0s763/rH13trCC3TYHtf00kqynOK2D7keqFlQxkgQcliBFvRNgyABruylk4D/ AnVoJSKJj0atNxJVkE1hTSZJxhpw8nBUhzocRKlD1BQlCv+ZUhOO++vQakQnc0ZAHveV RRbV3fxw00IReXt7OGG0iQXZwCSGinuLS/3WZe4HUR9s78qP4EgQ3b8UTq4YtMcleP39 4F8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=qy850L5PJFbzlxo2T0Dk5hkf44Ac8mJ7NBfzMi3f5r0=; fh=H/Ee/2lNQZHQL5j29eX0fQ0cUCxDHWqdDdT0tlDHnx8=; b=udNP45HC9r0kz6OP+HGVN/YMwJGKiEEcKKJJtmd1Xve74AVTASpplhlPYtbCx+9TTY xn7mcz+o0SlRqQpt8s0ohrA7Pzkay6GhyPVkKwOEjTcPpndYs5Fu8QxylvxPQNlhsb09 yx+ybxOe/PyqwGuHC96fnTX0wGZzK4uLKf6qaNI/g5Y6GuVrKG4aVLALyP1izSvF0nDT teFAJ6efL07HCtiM+2VfIIF3xjD62kvMdXSeOtxcVV/Ynum/Whf+1GzyESoseIIgP9Xg Fh/dciBrof/s0oiiWerApPcsARJDgL2QvbOrl3DCYlMAOP6Tui5R41rEFYZvf2y9V5gJ Z9zg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@fujitsu.com header.s=fj2 header.b=QLqtJfbS; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.com); spf=pass (google.com: domain of linux-kernel+bounces-214168-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214168-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=fujitsu.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fee310caa2si2430351a12.418.2024.06.13.18.00.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 18:00:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-214168-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@fujitsu.com header.s=fj2 header.b=QLqtJfbS; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.com); spf=pass (google.com: domain of linux-kernel+bounces-214168-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214168-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=fujitsu.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D58A028426C for ; Fri, 14 Jun 2024 01:00:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AA623D66; Fri, 14 Jun 2024 01:00:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b="QLqtJfbS" Received: from esa1.hc1455-7.c3s2.iphmx.com (esa1.hc1455-7.c3s2.iphmx.com [207.54.90.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AED166FB0; Fri, 14 Jun 2024 01:00:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=207.54.90.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718326848; cv=none; b=VQjjdVCqGnkxma2pq2RZWjz8f4PYoQx2InB21Fs1kI51Y1HMrnvORMuE83xyTzFM5QUyoGgPJVK6Lao94rBN2+fmjaIXJk4Baj1J8HLPuVmaXdpxLUzWtIaBW+7t1oo6xsYZH0lBtJ4oyuTKuPpKBCTtzgFeSIoy5qmJkvGDokA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718326848; c=relaxed/simple; bh=58DWKisnhrHdCz55eXANJnDLMcyfb2It2isJmC5H1Aw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Xpk9mWiGH9vhjQr72BXaHIGKWNRkgBLEPdl643WkFqnUIIHzwo4T/26JH17f4JN6o5wsWOW9yAdQzWWmvuMoNMCDOk+24LwmclAJCbhquWh264ua6ul6nt8a5uTnFc9N4XB5L2iu5rz3asvjp1W13Ms1Wx2ngK+ktQULlEahdXU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fujitsu.com; spf=pass smtp.mailfrom=fujitsu.com; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b=QLqtJfbS; arc=none smtp.client-ip=207.54.90.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fujitsu.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1718326845; x=1749862845; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=58DWKisnhrHdCz55eXANJnDLMcyfb2It2isJmC5H1Aw=; b=QLqtJfbSgqekF/o7LSAq2VynsUzCIn7MGBjboaVCUi9SoJkZN8u1FGGi shrWMB2bUH7uulZTksGJ/tICYqWulaRW6saxgUhHG1FzX6hBCN4MWs46j J+W8aux+58rRN1wr7C4YT2pUa2zLFIeS9kQMCTar2n8d0zXF0FQg4BOls YAnOnhewKI6FGmcOPutiIsE0+pPVSgo9nuJJDYUVo8y/PUcxxxBQnskH8 mra0fkFm0pzfN42MfvmYSnWC78rHMTxFvjuLv2Fds2l6QpzfYrV0sSYtj DWEXS4vYTgPPpyOVTyUprYPFdwk1audvL19mWMbTr7pmUwpgWI00ydc7u Q==; X-IronPort-AV: E=McAfee;i="6700,10204,11102"; a="163059450" X-IronPort-AV: E=Sophos;i="6.08,236,1712588400"; d="scan'208";a="163059450" Received: from unknown (HELO yto-r4.gw.nic.fujitsu.com) ([218.44.52.220]) by esa1.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2024 10:00:36 +0900 Received: from yto-m3.gw.nic.fujitsu.com (yto-nat-yto-m3.gw.nic.fujitsu.com [192.168.83.66]) by yto-r4.gw.nic.fujitsu.com (Postfix) with ESMTP id EA548CD6E4; Fri, 14 Jun 2024 10:00:33 +0900 (JST) Received: from kws-ab3.gw.nic.fujitsu.com (kws-ab3.gw.nic.fujitsu.com [192.51.206.21]) by yto-m3.gw.nic.fujitsu.com (Postfix) with ESMTP id 2BD7E2552F; Fri, 14 Jun 2024 10:00:33 +0900 (JST) Received: from edo.cn.fujitsu.com (edo.cn.fujitsu.com [10.167.33.5]) by kws-ab3.gw.nic.fujitsu.com (Postfix) with ESMTP id A660E20081310; Fri, 14 Jun 2024 10:00:32 +0900 (JST) Received: from localhost.localdomain (unknown [10.167.226.45]) by edo.cn.fujitsu.com (Postfix) with ESMTP id 5E2881A0002; Fri, 14 Jun 2024 09:00:31 +0800 (CST) From: Li Zhijian To: linux-doc@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, corbet@lwn.net, hpa@zytor.com, linux-kernel@vger.kernel.org, Li Zhijian Subject: [PATCH] Documentation: exception-tables.rst: Fix the wrong steps referenced Date: Fri, 14 Jun 2024 09:00:28 +0800 Message-Id: <20240614010028.48262-1-lizhijian@fujitsu.com> X-Mailer: git-send-email 2.31.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSS-9.1.0.1417-9.0.0.1002-28452.003 X-TM-AS-User-Approved-Sender: Yes X-TMASE-Version: IMSS-9.1.0.1417-9.0.1002-28452.003 X-TMASE-Result: 10--5.000200-10.000000 X-TMASE-MatchedRID: TWQD+6s80gMDCEXfCfH5DHnLJGGZe5swTSz0JdEAJbTVjNsehGf0vb8F Hrw7frluf146W0iUu2uQfYjCMFqIHif7ZnjOtvquRcGHEV0WBxCxXA8wqNmbVodlrZzkVCoONMj Eju2qSFCr1jKm0SUrl9EOCxfTciM35UcZtwNsCroURSScn+QSXpjDMT0TyDk5+gtHj7OwNO0LH2 qjGZLbHT83Ey36k4b1h5odYtrQJ1Hbf9E1FWPAGoo+LwLI3KU0 X-TMASE-SNAP-Result: 1.821001.0001-0-1-22:0,33:0,34:0-0 When it was in text format, it correctly hardcoded steps 8a to 8c. However, after it was converted to RST, the sequence numbers were auto-generated during rendering and became incorrect after some steps were inserted. Change it to refer to steps a to c in a relative way. Signed-off-by: Li Zhijian --- Documentation/arch/x86/exception-tables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/arch/x86/exception-tables.rst b/Documentation/arch/x86/exception-tables.rst index efde1fef4fbd..562d1bc6d448 100644 --- a/Documentation/arch/x86/exception-tables.rst +++ b/Documentation/arch/x86/exception-tables.rst @@ -297,7 +297,7 @@ vma occurs? c) execution continues at local label 2 (address of the instruction immediately after the faulting user access). -The steps 8a to 8c in a certain way emulate the faulting instruction. +The steps a to c above in a certain way emulate the faulting instruction. That's it, mostly. If you look at our example, you might ask why we set EAX to -EFAULT in the exception handler code. Well, the -- 2.29.2