From patchwork Tue Oct 29 07:18:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 839318 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:4593:b0:37d:45d0:187 with SMTP id gb19csp222439wrb; Tue, 29 Oct 2024 00:19:04 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWN+9kfAZ0DPmX9TmnTg07ifYK3hZtoqp46s7efRO0l7gBOKrU6I7NEUsqRERSSOMyKa12Vsg==@linaro.org X-Google-Smtp-Source: AGHT+IHQtYOxGOgsgxLCO6Averx6gQye6i2BBknpk/sMLRtskS4Q7UaYEt2vHFPS19+Ih/C3vXYy X-Received: by 2002:a5d:4083:0:b0:37d:50e1:a2c1 with SMTP id ffacd0b85a97d-380611eebadmr7534685f8f.46.1730186344272; Tue, 29 Oct 2024 00:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1730186344; cv=none; d=google.com; s=arc-20240605; b=SFTz9t5I3ZjEu9K6+B0rw4OaFljQmfblW4W+ZEz/be0UwEpkoX4SN+yjqXp22HkPAf /4LQ/ihHRB5coa0LNhl+6QmCucnqNNkKOmBQxhkhLuV8ukZkl2G+BN738uAEuz274422 kWSRIm9wgriR3FTL/vEDvaQzD74ip+sMuq9bJT7KhNCd8sLy7wwRyxu3tYEmYzUxdW43 TYbYj13B2btEvPinXqEyzKcSYWn3LrrkAn4GI8EMZMEHcbd/onvP/F9JXqCULUbSDS6C ZRR3IsusuIORDMhzcU6drXrksnivL6qUg580IvPyOKC6L3QCrV5kriZYAFUnhnwAe8jo Ybkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=HkY89fJiL4cK+iQ8VfSUOaWrnw74/2H5Vnt/wZ+wCgE=; fh=EcN0gVL4cvk9juP6HpATG4muDwDXARRaL33G6AzSNsk=; b=Aap+MVxYBEHPWMwgI87UyPdi11OIrSLnDFzTQqnw+bT8s2V7sYPyVpTcgVE6H5P/cH LhVi6KUfhv63cKXAEea1WRyDJadmmvCgR+iEu6CflpFn2ZHCp0nq8DoYUBLZMITpGVVY Ih3R3Rsq3Zku8ttNxd8rDp7uGofrhxdXWFyI6SmDbaOItztsyIKVTXvNs82riI71EDai UVENgI01N3BUL91h/PXCAwIk6yafFgZEl1E42LrHosQz3Sp1aSoj8DQezcneMw1CBGHt 86u+nMRl4qdcTNeq0lMrqPHFtixvl3rD7qqtcausPfQSsy73jxt98iE9c2F2dSdQ3uDz IrCw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id ffacd0b85a97d-38058be1655si5426418f8f.1082.2024.10.29.00.19.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 00:19:04 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6CA148912E; Tue, 29 Oct 2024 08:19:02 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id D8F4389138; Tue, 29 Oct 2024 08:19:00 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id C4E1A890D1 for ; Tue, 29 Oct 2024 08:18:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sughosh.ganu@linaro.org 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 D991C13D5; Tue, 29 Oct 2024 00:19:27 -0700 (PDT) Received: from a079122.blr.arm.com (a079122.arm.com [10.162.17.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7B7403F66E; Tue, 29 Oct 2024 00:18:56 -0700 (PDT) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Janne Grunau , Mark Kettenis , Tom Rini Subject: [RFC PATCH 0/2] apple: dart: Add driver specific instance of LMB Date: Tue, 29 Oct 2024 12:48:44 +0530 Message-Id: <20241029071846.514559-1-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Sughosh Ganu (2): lmb: refactor lmb push and pop functions apple: dart: use driver specific instance of LMB drivers/iommu/apple_dart.c | 67 +++++++++++++++++++++++++++++++++++++- include/lmb.h | 6 +++- lib/lmb.c | 21 +++++++++--- test/lib/lmb.c | 18 +++++----- 4 files changed, 96 insertions(+), 16 deletions(-)