From patchwork Fri Jun 7 18:52:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 802333 Delivered-To: patch@linaro.org Received: by 2002:adf:f147:0:b0:35b:5a80:51b4 with SMTP id y7csp949712wro; Fri, 7 Jun 2024 11:57:21 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWLZEuFYUXPuEBwIIQRL4AVBT2OQO35KIRmkibeIuoYemqt66RofAr2XhquuYsGXiTMQq400irYXrMY14DHpoqz X-Google-Smtp-Source: AGHT+IFnP9QW8VZhWnGZEpaCj+tFoGsZPQ7ms1nYUibSiKAh+UdmeKHIhhHaDdFvYzABALc3MHL6 X-Received: by 2002:a05:6512:1116:b0:51e:f79e:15d9 with SMTP id 2adb3069b0e04-52bb9f78616mr3566506e87.21.1717786641662; Fri, 07 Jun 2024 11:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717786641; cv=none; d=google.com; s=arc-20160816; b=STR+CxzktSXQgqnAhjcALrCWu+In9eW1b/dsG2QN+HE4FZnO817PEwu+NK2bk7V3qO C8BPWJkppYdLWA6z8eBdMQgptKDj0wRAamUHvtOBWi8MgFpMBlgjb8BnaY8ktsr4ZyUX V1FNpXWIu1sb/VZCQX+uC3pIk4c4ZbsYIV5beBeB9PdL+rAgNeAmAji4y7i0zeebri1x GFGyqTbr/ufK8ivbNNZq+GpZKK+afCxFoAgvEIxG6PcH2gDOFyFKWhro10Vy1z4y8I28 X2xWXiXa+16tYxMfRDe7OEAu8TFOzXeGtK93XzDGoNTPuoiVaOnZBmy8ySvQKHzNZS7R MSfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=OfmM+v9E3gnirxmqtqNm9cLVYYVEvBUAgleuZZkqHU8=; fh=xLSOOz5Q0Mrmzd+lwBRTYS7D/8TpUWM8TEHgIjpMzow=; b=v9QTfBIsY7Oyo6lF+Q3bTOkY7dzyNuhey1sOfU/l+QCpta4Bwufiln/hnDfKsBgnZS VRzVLQcZOhNkYSQ0P1C10tbdj+nFhF84VvG5ebiIfhvXjbU1ca7Bz4Ol4ARJRDlITCT2 MUJgoGfMZuXN7F2NRVIspb0Uak/kYgs3hpcdT2yg2GUhQMieN6qqKGPh56Q5aBFUi+kR vbOR89/aEejHATS1KJbKl4l1qyyKe+YKdP+1u8x+B5u0byCaHzxh+sHe1DFPZ8LqQb7m 0sHhUZECel8W7RX4R+dueeONQRYgXeVuUUGLxMwO8jK+5KoxnLm5iRkqyDxolzb+OUFl p/QQ==; 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 a640c23a62f3a-a6c8070c019si227312666b.675.2024.06.07.11.57.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 11:57:21 -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 45C2788545; Fri, 7 Jun 2024 20:54:47 +0200 (CEST) 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 3123488470; Fri, 7 Jun 2024 20:54:46 +0200 (CEST) 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_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE 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 3FDB28848F for ; Fri, 7 Jun 2024 20:54:44 +0200 (CEST) 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 2DAEF1480; Fri, 7 Jun 2024 11:55:08 -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 1405E3F792; Fri, 7 Jun 2024 11:54:40 -0700 (PDT) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Tom Rini , Ilias Apalodimas , Heinrich Schuchardt , Simon Glass , Marek Vasut , Mark Kettenis , Fabio Estevam , Sughosh Ganu Subject: [RFC PATCH 22/31] test: lmb: run the LMB tests only on sandbox Date: Sat, 8 Jun 2024 00:22:31 +0530 Message-Id: <20240607185240.1892031-23-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240607185240.1892031-1-sughosh.ganu@linaro.org> References: <20240607185240.1892031-1-sughosh.ganu@linaro.org> 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 The LMB memory map is now persistent and global. Running the tests for the LMB module will result in the memory map getting reset, and this will have side-effects on the rest of the working of the platform. Run the LMB tests only on the sandbox platform, which is meant for running such kinds of tests. Signed-off-by: Sughosh Ganu --- test/lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/Makefile b/test/lib/Makefile index e75a263e6a..9154e07993 100644 --- a/test/lib/Makefile +++ b/test/lib/Makefile @@ -9,7 +9,7 @@ obj-$(CONFIG_EFI_LOADER) += efi_device_path.o obj-$(CONFIG_EFI_SECURE_BOOT) += efi_image_region.o obj-y += hexdump.o obj-$(CONFIG_SANDBOX) += kconfig.o -obj-y += lmb.o +obj-$(CONFIG_SANDBOX) += lmb.o obj-y += longjmp.o obj-$(CONFIG_CONSOLE_RECORD) += test_print.o obj-$(CONFIG_SSCANF) += sscanf.o