Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1606818lqo; Sat, 18 May 2024 10:16:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUQmNN6HDLLmZgLrzhj/E1rlzod+BaXXnSH9rPuyigjBhsFsVuJzCkIhvQchzkQ1H7CgUPPZwKucl81Ex0xzaQOGym0DbYzyaTcS13szw== X-Google-Smtp-Source: AGHT+IH4JYfw09fi80obbFVTnOZ9ottTPVA+aXTIz5ymKTRFaEhFu7LLsM+HEfzh5tpcuQfjgLDF X-Received: by 2002:a05:6a20:7f8a:b0:1a9:509c:eba6 with SMTP id adf61e73a8af0-1b1ca450abamr3143606637.25.1716052618995; Sat, 18 May 2024 10:16:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716052618; cv=pass; d=google.com; s=arc-20160816; b=jIno6VvSEl6QxWOa3+hVb9Gxz5/0LYLRpgWGnnTfSp23A+lP1d6kSS63VuRnfY+KFk /tI3S6FarWS+fscnN86BC9GwASjg3K+bWQr7Zp0hzFstKYJuPOyXLc2Hp3GX0qMn+9Mo 1gqcFF+wRAqdwSgwmhY9rymXqpP2iP9Cabhf7HkyMubvibBxV5UiDI8gkujFauZwIPR0 wy4X7E2Fbi5riyXOCiSlW1VP4MxF9UUiK4wp0NbbhgIqoWZAwY1eJenMo/JG+XpSBaKG Yjsk5Mjvvdbw0qJAml5KfpXL+DeakViIGFEuN2SLH9K/ZQa0Kh6q2lnZISWk2Ftp1Ab0 /whA== 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:references:in-reply-to:date :subject:cc:to:from:message-id:dkim-signature; bh=G4b7Gy7au2RGDdIfISCbBgIRap2G195EA9qLAZb1j00=; fh=MUzHKLJ1EFLCvIKwCCyZDjYtOTioDcb+EEtJ0GCWcsc=; b=w9xHzFvKb+Vo22h2cBqlLUxSxedYuMnGvcUBr6FqCKzNhJZqSyD/S2Fbn65FpXje4K 9J8j3J4TMlRJ6qRghrLmFN4wHwKDSqpXc6LBcQrQKpd4uBBfxcSoenrewIW3cOjbeU+k BsLGrMSMgJz70kgqZXlC5rgWkWq1qu4Nj2xnBof2yCYSDBSHeEpu4hPmfG3DRbGg/5Sz 23DxNMEMhgmimSognN3Ul2h+ysACCj6y+sCkn5pG0Y0F8PdJi2kzenIjPI4urbCCPPRd 4LT08FwNi4PPVrnk4GaLRTfRypED2LQfS7x8shObuw85LeR7vgcOv9tyWwozn/7250fI gkiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=BeotOVyf; arc=pass (i=1 dkim=pass dkdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-182908-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182908-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f668932361si709676b3a.142.2024.05.18.10.16.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 10:16:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182908-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=BeotOVyf; arc=pass (i=1 dkim=pass dkdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-182908-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182908-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7861EB2154D for ; Sat, 18 May 2024 16:00:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01431446AF; Sat, 18 May 2024 16:00:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b="BeotOVyf" Received: from out162-62-57-252.mail.qq.com (out162-62-57-252.mail.qq.com [162.62.57.252]) (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 573906AD7; Sat, 18 May 2024 16:00:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=162.62.57.252 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716048038; cv=none; b=tszpH8UKETZKZJ3Afw604eTXJ7KUOArdEfnQC7E4I1j8qAuuZ6eEgvtoIIJU/ODJ2FiJ6iOudd3W+JpSdfn451laduurcoAEfuGd7pX7bRDH3SkJttBDGPJgThU8TNEF845DN/ovh2kgoFWU4Jxqbxhr7bK3JgGFFAQ927aIyQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716048038; c=relaxed/simple; bh=bygF6WawJ6ueyBX57zcpvye3rWmVIwdo53C08rU9aPs=; h=Message-ID:From:To:Cc:Subject:Date:In-Reply-To:References: MIME-Version; b=dJhgK6mMZZ2GwAr8Og/XCMrUHI0WLGrttG4loQVEyRgJXLEIj55WXBx3SFKgC7vHl+RJxy/OXJUWH+QgCoFROfGY7bDp1AIe355MLirbtz2Un8DCh4WpLHkwINvPBfPKIgDlscr3VazYw1lOgrR7k6TB9k5c3wvesPT8ttEDdBs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cyyself.name; spf=none smtp.mailfrom=cyyself.name; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b=BeotOVyf; arc=none smtp.client-ip=162.62.57.252 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cyyself.name Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=cyyself.name DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1716048030; bh=G4b7Gy7au2RGDdIfISCbBgIRap2G195EA9qLAZb1j00=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=BeotOVyfXSlQems8W0+Tz8b38pFY3XnZrWbqkmjvXbICw9o+CaJrA0KbxFPAxeutu HFlSyDsU3AQICxoy/ZOdWEdUkpNEPU14hszQqX9tRJuGxfYPmFQ/QaqQazhwtkZYH0 UNOTZGEQg26b9aw3OI1qwfE0CxJz2fOhZKDgEPtc= Received: from cyy-pc.lan ([240e:379:227e:fc00:28c6:7f50:fe33:13fe]) by newxmesmtplogicsvrsza10-0.qq.com (NewEsmtp) with SMTP id 198A620; Sun, 19 May 2024 00:00:25 +0800 X-QQ-mid: xmsmtpt1716048025tb9g5oicz Message-ID: X-QQ-XMAILINFO: Mee1Vp/QiDAWWkXRv90vh1x1lkAExZPbvkAPEF12ooNqsdf4ptrfkOpg3xq8gA xE1sVpz+ZDPlFvtbiqSl1u3VFgtw0o8lgsV8GL/GnFz1ZaIZyS9Y++AlKlsoH+2LMVNciFYbEubP zoD+61Iwlyqa2lXQcWYAfRohYJamV+fBDvG4FjGoZR+EUueCIjcihNP6sW/EnDnZkqudqLizU14/ 50nxRuNUKBY6NGK97pKArVRB6BdzrHyOqegrsjqaJ82jWhkjGiCnwySr1aIoURIBZhp25swpINQz 8eE7zUTcskMlqGHGhpZl3v1lOJH0pk3zPzO/pKoEi8Xo1Z2TzQbsWApQLli9Bf1WJl7X/VjHCTSW YAiYTwHMYNSqg9QIiOEaf1PWcWW5TykRu06XTfMxTF7yncyqZ6TaYrKJg0fJuzqVQbSlDulNueuE GlWJB3N0kLMerljjpQdeSfeTIppxsl4Eo1/lpnMb/69IFq1QcnlmV/9RBBePTsKXBQ5NyeArNGBv EKRBBhskXbAakmOE5yFEIsisg0j/LUWyQAutsJSfd8Iz10eK9uO3sCPDc1fZbXUINz+EMrKCHURF mXKDs2MP/YiWxtU/A2JVDGM2oQdQEGrfG1ENyOTssXMbin+cPwrIPtp3IQS7am1fvz464kr2Ci4I 22U6LQBiETfOI9qrySp8hhaGU5QzUi09xQGSlqiqnCH2w1Suor+NdPMBz+DWUVP6/Qr0byY0BTJe BHT4RjlAp3zZ62rcsAcehBKNvbMPsQ5tOEyQaQQiw3XRuiqX6pIi2WQ0HrfjqJexJqzIlly2f5T3 3Q47RtLTmwBu5xOgllfLbq2ZprFfD7mbf+Et19r+TFoIHbm1OgmaR2npuacdd4NBiUQ+mLAOLdyz QEBQExwRT8TG+wWuvQvLCVOOD+O1+35TGcP6ntwuJB46StXeCshtIzPzjhcX7LcpyttrH9xx22F2 JKS87RB4lMEjQ2M6boXb3yE7kAOa/EB9bRkZaBC3hLJFz9rmmxkqVRkGZdp7CF X-QQ-XMRINFO: MSVp+SPm3vtS1Vd6Y4Mggwc= From: Yangyu Chen To: linux-riscv@lists.infradead.org Cc: Elliott Hughes , Charlie Jenkins , Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Evan Green , =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , Conor Dooley , Andrew Jones , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Yangyu Chen Subject: [PATCH 1/2] docs: riscv: Clarify risc-v hwprobe RISCV_HWPROBE_MISALIGNED_* docs. Date: Sun, 19 May 2024 00:00:11 +0800 X-OQ-MSGID: <20240518160012.892135-1-cyy@cyyself.name> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: enh These only tell you about scalar accesses, not vector accesses. Signed-off-by: Elliott Hughes Reviewed-by: Charlie Jenkins Signed-off-by: Yangyu Chen --- Documentation/arch/riscv/hwprobe.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/arch/riscv/hwprobe.rst b/Documentation/arch/riscv/hwprobe.rst index b2bcc9eed9aa..239be63f5089 100644 --- a/Documentation/arch/riscv/hwprobe.rst +++ b/Documentation/arch/riscv/hwprobe.rst @@ -192,21 +192,21 @@ The following keys are defined: information about the selected set of processors. * :c:macro:`RISCV_HWPROBE_MISALIGNED_UNKNOWN`: The performance of misaligned - accesses is unknown. + scalar accesses is unknown. - * :c:macro:`RISCV_HWPROBE_MISALIGNED_EMULATED`: Misaligned accesses are + * :c:macro:`RISCV_HWPROBE_MISALIGNED_EMULATED`: Misaligned scalar accesses are emulated via software, either in or below the kernel. These accesses are always extremely slow. - * :c:macro:`RISCV_HWPROBE_MISALIGNED_SLOW`: Misaligned accesses are slower - than equivalent byte accesses. Misaligned accesses may be supported + * :c:macro:`RISCV_HWPROBE_MISALIGNED_SLOW`: Misaligned scalar accesses are + slower than equivalent byte accesses. Misaligned accesses may be supported directly in hardware, or trapped and emulated by software. - * :c:macro:`RISCV_HWPROBE_MISALIGNED_FAST`: Misaligned accesses are faster - than equivalent byte accesses. + * :c:macro:`RISCV_HWPROBE_MISALIGNED_FAST`: Misaligned scalar accesses are + faster than equivalent byte accesses. - * :c:macro:`RISCV_HWPROBE_MISALIGNED_UNSUPPORTED`: Misaligned accesses are - not supported at all and will generate a misaligned address fault. + * :c:macro:`RISCV_HWPROBE_MISALIGNED_UNSUPPORTED`: Misaligned scalar accesses + are not supported at all and will generate a misaligned address fault. * :c:macro:`RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE`: An unsigned int which represents the size of the Zicboz block in bytes. -- 2.43.0