Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2632170rwb; Sat, 8 Oct 2022 11:12:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5lNK9lLpoVcUkJGZx1gOzzowZwHiw16r+4uzbFBZrfUubF3pBh+bmmFHx3yopQCKZ9cjHj X-Received: by 2002:a17:903:258e:b0:17b:a251:c80a with SMTP id jb14-20020a170903258e00b0017ba251c80amr10952883plb.110.1665252721627; Sat, 08 Oct 2022 11:12:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665252721; cv=none; d=google.com; s=arc-20160816; b=z60ymp3VBGhGjIeActEf+CYTs68QpykXa7g2K/G7MyMDgHD6fC1RoWCbCvq5d7AFG8 jYraYcBP2c/z4vyLEWoP7EjTKJKQqhTZm2uDaDE5A0gx8EgDEqTwQNALkK3Vqst/QV1N LDDYYiVzVNa2KO8IrujJ+ck4Yq5FBbmUpvddN16FQgis6CPIHaniNmt9mN3ODcjdRcKS bBvYY+pf7W3M4rtpxOgYCBhpLFtWe++F6Qak3bstaAUtZvRK9Pc010zuHeJtFR1c5rkj 2u0As0ftNQ+2yBpwhC5dW/mpPcMnOz3P8amFeOgjQOwAYH1FZ62UQuRVl0jS4Zh4/HaD Xl/w== 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=GhiWN3vK5eVNLFvs2MyasfeZZrlYQTH2IU0D1HFTsLg=; b=WZDr4u7oH8SM8F+n3G1+yga4WeFojPvu8lyaNem4XNRwGOHuywLCt0zCIixioH3IDk sM6X7SbpUqxI8c0l1aS/UxyPWOA2Ohfoli17xjPKieENOzqXoJp6CO9lV61bqI4XNsVe vFjn2Ea5rDoceY1qtJOeBtN9RsRZAtrtToBc8ZKGqOCLco1JvXqcrlGNJVcpRC8zyXNt kc20biOenM4l3fw0Eb09Bi4v0Z+YLl/d3AgZo4pNb6Vd2Hy+tJDdBH8WM7OwJ+FDaHrD nWkmYWNEIGMyKSt9D5tYY+/kx2iX3qAA9r+NjJ2d1S1ARsqQ2eVgfX2vNGpQYepACBRh QUcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HKP8dPbR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nl10-20020a17090b384a00b00203336ddd4asi7134803pjb.56.2022.10.08.11.11.49; Sat, 08 Oct 2022 11:12:01 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=HKP8dPbR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229660AbiJHRuK (ORCPT + 99 others); Sat, 8 Oct 2022 13:50:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230421AbiJHRtz (ORCPT ); Sat, 8 Oct 2022 13:49:55 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B49DC1B9F7; Sat, 8 Oct 2022 10:49:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 22F39B80B9D; Sat, 8 Oct 2022 17:49:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2F6AC4347C; Sat, 8 Oct 2022 17:49:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665251391; bh=FMeXNJfI0IoqbHMQGj/sXCrRP6kNujAnRvsPJGkuog0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HKP8dPbRUUzUHnIbZzcnldygWmOoQrcsorn98a9fZc+gqodYR81BY8ZX9S9SdQ04o f+/4Itpj2UMW+vJy4KPDKx063ahiT6dIbG6Atqz80GDHRBdmLfbku4grxydqUo0z/W AiSTdeDczlM7b3FJ6DeJ9NsQCFGokqzRfbzjLRtiCWxB25DTZvfnkB3WQ6okYTvcwr pVQDd0Ugc4LIY5zkSkvaV1F74XY+bjFp9UZ1dW9+tRL3ot80xzbkBBFJagjzvsYHCK FgFh/cCP0+Cl4p0s/xPklAQFo++xVvxgMJ4Q8sbxxWErmcQlolu/o6kXthcWAfg3+e jWeqlvGAJW4Vw== From: SeongJae Park To: paulmck@kernel.org, corbet@lwn.net Cc: linux-doc@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 2/4] docs/memory-barriers.txt/kokr: introduce io_stop_wc() and add implementation for ARM64 Date: Sat, 8 Oct 2022 10:49:26 -0700 Message-Id: <20221008174928.13479-3-sj@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221008174928.13479-1-sj@kernel.org> References: <20221008174928.13479-1-sj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Translate this commit to Korean: d5624bb29f49 ("asm-generic: introduce io_stop_wc() and add implementation for ARM64") Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/memory-barriers.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/translations/ko_KR/memory-barriers.txt b/Documentation/translations/ko_KR/memory-barriers.txt index 75aa5531cc7d..1c811b96e8e0 100644 --- a/Documentation/translations/ko_KR/memory-barriers.txt +++ b/Documentation/translations/ko_KR/memory-barriers.txt @@ -1918,6 +1918,14 @@ Mandatory 배리어들은 SMP 시스템에서도 UP 시스템에서도 SMP 효 Persistent memory 에서의 로드를 위해선 현재의 읽기 메모리 배리어로도 읽기 순서를 보장하는데 충분합니다. + (*) io_stop_wc(); + + 쓰기와 결합된 특성을 갖는 메모리 액세스의 경우 (예: ioremap_wc() 에 의해 + 리턴되는 것들), CPU 는 앞의 액세스들이 뒤따르는 것들과 병합되게끔 기다릴 + 수 있습니다. io_stop_wc() 는 그런 기다림이 성능에 영향을 끼칠 수 있을 때, + 이 매크로 앞의 쓰기-결합된 메모리 액세스가 그 뒤의 것들과 병합되는 것을 + 방지하기 위해 사용될 수 있습니다. + ========================= 암묵적 커널 메모리 배리어 ========================= -- 2.17.1