Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2213173ybt; Mon, 15 Jun 2020 23:17:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzojzrIe5GmV5EEJk0wHcGoFRP7ogjQYM6doWLAjDBGB+BR4Xw7Y5Yn3iwLFziha4j3rP9/ X-Received: by 2002:a17:906:c831:: with SMTP id dd17mr1308680ejb.40.1592288227948; Mon, 15 Jun 2020 23:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592288227; cv=none; d=google.com; s=arc-20160816; b=jBYBFYnM8NE7zgELGMRGCzvqJifu+T4y3KjkkQo8lgGyHMS2mIgA2g8aT6AWo32JoA yJxmAR+KcCbqpIMdLF4F2UQ/pZ3ui2nXvZCZAIx+CR9am5lSE3QLv1Sl2fhWT35zFl/E f//HiCWsZ1kVDJUFYCLKiq9fU03NzFM3z5nm10z3iUHQhHSx5c5U1ypLxTw0QImpAG6h 5CIg+CG/NXPkxmrQRSK75puBqIkUfVogrpyzDftcLuVplE06QLX/sOab1TLOYul/8o2B ftv6IHCX2EXFA1yxdojdv+xcDDFwxbziqE+DQ6dJ938p+Xxaf19uRJ51D5qQYwGs2Ctd 3NJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=6mpvPq9LvxOPLoQsBoTj25U6plJEiyM73+Tb9BB7RNE=; b=n9oIruOO6rGlGvgrvkE+JVOY6wqVfx3flK8Q54wnkRpje9SqM90I7mE5vZL9H0IbKZ YCy/0JDg/Y0JSvstb41V+/Z+S7li1tgQkyPPs+8AqXuoE2uBYOi921ryK1FghoaWAV07 mMGmXnA0kvmKjOGWacj6D2UdZSBFeC44CceHQ4511KyQgchaOYw4pofixGLNC4ZJwbvF S3XVoivHZWISbfKEl4Yz9TM9tznnwZyIO8pbIEmRpW79PGjQw6+6gjstxbC0pAy5wUTQ ulo6yQdZYjYGZtRerA2CufikuNbDAMFnr9AEwBUp1SUa8BcGeKnXM6Gn+ne5iaOglel0 yoHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PxiUvWl6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w24si9998941ejv.691.2020.06.15.23.16.45; Mon, 15 Jun 2020 23:17:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PxiUvWl6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727873AbgFPGOU (ORCPT + 99 others); Tue, 16 Jun 2020 02:14:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727071AbgFPGNn (ORCPT ); Tue, 16 Jun 2020 02:13:43 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26F31C08C5C2 for ; Mon, 15 Jun 2020 23:13:43 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id l10so19383769wrr.10 for ; Mon, 15 Jun 2020 23:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6mpvPq9LvxOPLoQsBoTj25U6plJEiyM73+Tb9BB7RNE=; b=PxiUvWl6HJcJqUfGhCkE2MTdSHLpRyXF10WKIR5wM/tWE9ayQpWDK5+QsLgjLHEZtS Q4CZyz9GV2Rm7JvMWhSDpAj6RI5lRaDJw7tE16OXXegh3PEkWE4LDS6iZDtRLS3MAsJj jPhkf+eOXNwP5e3ORbU5jFaerl2ZRKrVFoYP9R5Ler5Qikycz2CQsMHYEcu42SUuUhQ7 2+eStlEH9tgH3PrsfcCDL5BYUaBwAAiLRgaWddWO50jd25VKjeVAJBzmlxPhyKI27J8j ILyAp6Mea3zRlABTrCF7h5PraxOkeyOoTvsqdaFNveeCG3TpIFuABCTFuDfSSQcPtlym uiQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6mpvPq9LvxOPLoQsBoTj25U6plJEiyM73+Tb9BB7RNE=; b=etlZFklUdDI2QADiUmJyYi9rWwW38onz2rpmy2TotOKOhKfgmzeVdlI91gLTzrCdPS suyprjj7XigdY92k4LGva3TOLwM2wAxddiDCynTj7BPeuHyyUz4J9NkWBJDA/3Wmi3Lc rWqFZ5APdRA+coGa+rurXJFodA0ksnq/8qRgUnL77JLC2hd6255Zeiu9l5w7a6r+P/Ri 4sjf+Pk1AepWasjQLHZ8IOHTGLY7jZjSAY7bsqGydFXSW6Z8lfvA1uN15YT4s9j7hVxM vmype61ea3G42d7XxRIPfMzYUOqv775mkPBp6oF9NYH5twX5gC29IdkXeenSLFP5PuPe qJmw== X-Gm-Message-State: AOAM5315p5kH4rnx2T43V+kksKjoMb6EPzqhqi8zsO7wIpkErB0xNsfx WPmyB8U+eTA59c1iEYXzu2DlQRKy2j0= X-Received: by 2002:adf:97d3:: with SMTP id t19mr1336341wrb.116.1592288021582; Mon, 15 Jun 2020 23:13:41 -0700 (PDT) Received: from ODED-MAIN.localdomain ([87.71.142.251]) by smtp.gmail.com with ESMTPSA id s2sm2354963wmh.15.2020.06.15.23.13.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 23:13:40 -0700 (PDT) From: Oded Gabbay To: linux-kernel@vger.kernel.org, SW_Drivers@habana.ai Cc: gregkh@linuxfoundation.org Subject: [PATCH 5/7] uapi/habanalabs: fix some comments Date: Tue, 16 Jun 2020 09:13:25 +0300 Message-Id: <20200616061327.12006-5-oded.gabbay@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200616061327.12006-1-oded.gabbay@gmail.com> References: <20200616061327.12006-1-oded.gabbay@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MAP/UNMAP are done also for device memory. Signed-off-by: Oded Gabbay --- include/uapi/misc/habanalabs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/uapi/misc/habanalabs.h b/include/uapi/misc/habanalabs.h index f6267a8d7416..f218d1c62c62 100644 --- a/include/uapi/misc/habanalabs.h +++ b/include/uapi/misc/habanalabs.h @@ -530,13 +530,13 @@ union hl_wait_cs_args { struct hl_wait_cs_out out; }; -/* Opcode to alloc device memory */ +/* Opcode to allocate device memory */ #define HL_MEM_OP_ALLOC 0 /* Opcode to free previously allocated device memory */ #define HL_MEM_OP_FREE 1 -/* Opcode to map host memory */ +/* Opcode to map host and device memory */ #define HL_MEM_OP_MAP 2 -/* Opcode to unmap previously mapped host memory */ +/* Opcode to unmap previously mapped host and device memory */ #define HL_MEM_OP_UNMAP 3 /* Memory flags */ -- 2.17.1