Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2879736rwd; Mon, 22 May 2023 05:51:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6TfpH94HVGnHwY7iAZ6k+VEulQDkayUDXyvra6HfY1cjyxC2AG7BbvM3wpkew/g6BrzyVR X-Received: by 2002:a17:90a:9514:b0:24e:1f06:4d32 with SMTP id t20-20020a17090a951400b0024e1f064d32mr10120526pjo.2.1684759896071; Mon, 22 May 2023 05:51:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684759896; cv=none; d=google.com; s=arc-20160816; b=fUCYOpE5e2VzK8fYPcNIbVEJTbF5ZIUgpPbOy8oaifiWy0SXWzpsjic7K11k3291Ab Hjltakcg78V32vptvWAF4qJsNUcK9cw0XZjISIkq/kTULP5e1T18mDBHWPN3vGYpNK4p cg8MLB8QECtazws5atSO17omBDsE4RhT15M09K1bPjbF1sl2HkGuL5T014vVvBLtR3MD GaXUPxPtjSHoG6cOQsHgSBucD9SV6dqSzRNxoxXDAMT0+8LTEoTe9H26rhfDyZeSTQOD mnZx1951aZBoOTTwHVyNn5h/Ijt54j2rNYxf5BqLeVnbDh3f3WCaE5twvlySumFX/uif eRwg== 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; bh=hsij5K+YWec1UvQIOA03/MurzcbKVEwQCONQnWcymaQ=; b=MH1OJKDylfLwGmvtn61+qctKSYforUNHBmAA6rO1EHF32tpop2mPhylcxucrVnlORR 9gtC11zGHWbDLRXRY1IgtxtBVUagQMdrZMrYJjM0IZ4TCGsMBLjaxbiJRH/LETyU4qkw D0+CT0EKg/dbDRWGR+mTB1p9HUnGGO29p5QiiSLTwQaBEFhup3BXmr1itatZK4LfvwXo oATOYBs5zwuYX9JbHuTZRC3v49hAF7jk1rDuFyJo/MLwPMmeXfB8+ERRvtULhVFFEoO/ z7FMCiqWpl2M7mA5xsFBtndpIigcddCHqKnq45uJPizycza/D1WcBtg2/0Y3jC1UdqcB wRNg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020a17090acb0600b00252f4ca40c4si1046667pjt.34.2023.05.22.05.51.22; Mon, 22 May 2023 05:51:36 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234144AbjEVM3K (ORCPT + 99 others); Mon, 22 May 2023 08:29:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232305AbjEVM1e (ORCPT ); Mon, 22 May 2023 08:27:34 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B2BB18C; Mon, 22 May 2023 05:25:40 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 29A4D11FB; Mon, 22 May 2023 05:26:25 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 762E43F59C; Mon, 22 May 2023 05:25:38 -0700 (PDT) From: Mark Rutland To: linux-kernel@vger.kernel.org Cc: akiyks@gmail.com, boqun.feng@gmail.com, corbet@lwn.net, keescook@chromium.org, linux-arch@vger.kernel.org, linux@armlinux.org.uk, linux-doc@vger.kernel.org, mark.rutland@arm.com, paulmck@kernel.org, peterz@infradead.org, sstabellini@kernel.org, will@kernel.org Subject: [PATCH 25/26] locking/atomic: docs: Add atomic operations to the driver basic API documentation Date: Mon, 22 May 2023 13:24:28 +0100 Message-Id: <20230522122429.1915021-26-mark.rutland@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230522122429.1915021-1-mark.rutland@arm.com> References: <20230522122429.1915021-1-mark.rutland@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 From: "Paul E. McKenney" Add the generated atomic headers to 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: Reviewed-by: Kees Cook [Mark: add atomic-long.h] Signed-off-by: Mark Rutland --- Documentation/driver-api/basics.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/driver-api/basics.rst b/Documentation/driver-api/basics.rst index 4b4d8e28d3be4..a1fbd97fb79fb 100644 --- a/Documentation/driver-api/basics.rst +++ b/Documentation/driver-api/basics.rst @@ -87,6 +87,12 @@ Atomics .. kernel-doc:: arch/x86/include/asm/atomic.h :internal: +.. kernel-doc:: include/linux/atomic/atomic-arch-fallback.h + :internal: + +.. kernel-doc:: include/linux/atomic/atomic-long.h + :internal: + Kernel objects manipulation --------------------------- -- 2.30.2