Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7725291rwr; Wed, 10 May 2023 11:42:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5sYl2JU4aKW6tEinmFOAoW8hjo0dDYqw6UjaG95qH8zZonFFbpOsCUpfS3YibZIGSt01MJ X-Received: by 2002:a05:6a21:9999:b0:100:c8ed:c207 with SMTP id ve25-20020a056a21999900b00100c8edc207mr13823046pzb.39.1683744121031; Wed, 10 May 2023 11:42:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683744121; cv=none; d=google.com; s=arc-20160816; b=LVmpUsFt4F0x1TAOrPehOKPGgBA46Fo5SwyPR3yNXT1uUHTZ+h90hIKv3oueSEgCkD odFQXUeR19vdc8Jkv+MWBlR60Uyi2Nt/V/TaXtN3lmRTa0C63dnVY88roMipq0LzjYGs dO53HZ6Qv9J9BF1mzsd3xS5zvJU8uHDqtCYhi9hgpLU3af03XsSTGK56++7fSqnZtZ3J n7sCwhE+T6Yib3ZvrsjfVNb1ZC98JWnd3fBcLjY/0vRS6tSr2Hn3XGufsuwIgvhFXvdp bah9OWyyO17wPsFtUu/dwIttXNjyOpoHmKbuMW0nhh/Fw+6952DBmWWKmS68A8RzjKob hRug== 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=Qntpf8KKGvIOl64063SWa9bRsPTn5u3/bLvG+PFzuoI=; b=jllsr4XCXBftoWqw6EN1DDINTUThjZdsZ1eA8SCdVe+Q32uywAH9h6IcxRl/BMojX4 zHdDdJrhgZPlu33KLzyTYu1UUFgY1hTaUx13OW+fiJyGbUPZFWu0i1Ov5zH/dzVjkDee UB2tDBLIyCzNv4aVDFjlmhFQ07mClsAXGyVIJYo1fjaESBJgL4SmAtO5iTvqz/Np5G4k 4n5dXr+zhMGVK/7MFrVq18u301hM9dzdFE3Yb9NMdtqOHyllEL6uhdRJXB+eScItoJsN o0eZFnex71l/hAeKGK9QdOot5N37GtgWR9Qh9NHInBd7AbizFRngEA3NEiMwIHCcpbJ4 aPyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E6FdKMPC; 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 y7-20020aa78f27000000b0064354230c2asi5510635pfr.367.2023.05.10.11.41.49; Wed, 10 May 2023 11:42: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=E6FdKMPC; 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 S236172AbjEJSTF (ORCPT + 99 others); Wed, 10 May 2023 14:19:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236159AbjEJSSV (ORCPT ); Wed, 10 May 2023 14:18:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85A528694; Wed, 10 May 2023 11:18:06 -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 dfw.source.kernel.org (Postfix) with ESMTPS id CA02063F96; Wed, 10 May 2023 18:17:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEE4BC433AF; Wed, 10 May 2023 18:17:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683742645; bh=5niEoOKO1ZkgLqnjpypuOkCum/ZBxI/z2WOC9+AEEJY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E6FdKMPCzjlU2H9fbkTFQeqdk0HNDS1E6dlpIRaNOGqMSKBtqk5OEVR2vxdhPqcQq UmL7syR5Zydq67rTe89amu9DmA4kLQgd6fTWw8bdF9HSzXheGkJVj+83Bppuh8OqrV 8i8eX/Az14mdD/zd9P6cW47Rdw2zbrG41/siw7z82uINTpKp6TO56B7+59EhlyF6Jk xw6EEDZrM8IUBgtBgPlj1JZa/cakOVO2ZefOEY2pZ6sSy4zwo1jOnLWOwFjqyekILm n4ew9qJfLwqncnzQMbb+wxvxTr9RT5MWmPQlqU921KblIxe0gmwP/fxSFK6L6zZ/aE iwkUwlpWAPSdw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 0C48BCE21E1; Wed, 10 May 2023 11:17:19 -0700 (PDT) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: x86@kernel.org, akiyks@gmail.com, linux-doc@vger.kernel.org, kernel-team@meta.com, "Paul E. McKenney" , Jonathan Corbet , Kees Cook , Will Deacon , Peter Zijlstra , Boqun Feng , Mark Rutland Subject: [PATCH locking/atomic 19/19] docs: Add atomic operations to the driver basic API documentation Date: Wed, 10 May 2023 11:17:17 -0700 Message-Id: <20230510181717.2200934-19-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <19135936-06d7-4705-8bc8-bb31c2a478ca@paulmck-laptop> References: <19135936-06d7-4705-8bc8-bb31c2a478ca@paulmck-laptop> MIME-Version: 1.0 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,T_SCC_BODY_TEXT_LINE 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 Add the include/linux/atomic/atomic-arch-fallback.h file to the driver-api/basics.rst in order to provide documentation for the Linux kernel's atomic operations. Signed-off-by: Paul E. McKenney Cc: Jonathan Corbet Cc: Kees Cook Cc: Akira Yokosawa Cc: Will Deacon Cc: Peter Zijlstra Cc: Boqun Feng Cc: Mark Rutland Cc: --- Documentation/driver-api/basics.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/driver-api/basics.rst b/Documentation/driver-api/basics.rst index 4b4d8e28d3be..0ae07f0d8601 100644 --- a/Documentation/driver-api/basics.rst +++ b/Documentation/driver-api/basics.rst @@ -87,6 +87,9 @@ Atomics .. kernel-doc:: arch/x86/include/asm/atomic.h :internal: +.. kernel-doc:: include/linux/atomic/atomic-arch-fallback.h + :internal: + Kernel objects manipulation --------------------------- -- 2.40.1