From patchwork Wed Jun 24 04:38:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1315843 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49s9RG1h23z9sSJ for ; Wed, 24 Jun 2020 14:39:38 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=QSDasoKd; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49s9RG0jHVzDqcq for ; Wed, 24 Jun 2020 14:39:38 +1000 (AEST) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49s9Qm00hPzDqcv for ; Wed, 24 Jun 2020 14:39:11 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=QSDasoKd; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49s9Ql2fvlz9sSS; Wed, 24 Jun 2020 14:39:11 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1592973551; bh=uwxV3BfmRAkIPe9+cxmWoVIZPTwyHM88K9C1utaZkCo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QSDasoKdFIlGgn2/QsbQLhV23fUKuLbab7iYCHRDgVDJMGRp6V8+7EkKbZBWFW17D yPfuPurLqkBNBC4XLpzcfFjsQdZM0B5FUhYiMpXfVp5RYg2DYa0qa5hAhw1iEqGrnW L4Byyg0nHaMHmWpqLLzoclv1SNoCwF++hJ/An6E2ONbJ8N5K13vMwAkSnpAL3EzFbu oJxQNNVgBWtWtedr/5AZxyKVYLJCpGl2EY4ndTPSp+lJ+BjEecghwRxjUhBdHJvIDf /41631kT4xdOlAiwHLcXQPKDfy8Z9zo1qUBkXbftiJjClCMqHyHFSuquzLL2XiEAqA +uJ3ihG/BSZ8Q== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Wed, 24 Jun 2020 14:38:54 +1000 Message-Id: <20200624043856.175528-3-amitay@ozlabs.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200624043856.175528-1-amitay@ozlabs.org> References: <20200624043856.175528-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 2/4] dts: Add compatible property to fake processors X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amitay Isaacs Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Amitay Isaacs --- fake.dts.m4 | 1 + fake2.dts.m4 | 1 + tests/test_selection.sh | 86 +++++++++++----------- tests/test_selection2.sh | 152 +++++++++++++++++++-------------------- tests/test_tree.sh | 8 +++ tests/test_tree2.sh | 8 +++ 6 files changed, 137 insertions(+), 119 deletions(-) diff --git a/fake.dts.m4 b/fake.dts.m4 index 190597a..4ebb2f5 100644 --- a/fake.dts.m4 +++ b/fake.dts.m4 @@ -79,6 +79,7 @@ define(`dump_system', ` CONCAT(proc,i) { index = < CONCAT(0x,i) >; + compatible = "ibm,fake-proc"; dump_processor(i, $2, $3) }; diff --git a/fake2.dts.m4 b/fake2.dts.m4 index f71caa2..f8b2827 100644 --- a/fake2.dts.m4 +++ b/fake2.dts.m4 @@ -16,6 +16,7 @@ define(`dump_system', ` CONCAT(proc,i) { index = < CONCAT(0x,i) >; + compatible = "ibm,fake-proc"; }; ') ') diff --git a/tests/test_selection.sh b/tests/test_selection.sh index 0931051..04b3a1c 100755 --- a/tests/test_selection.sh +++ b/tests/test_selection.sh @@ -23,7 +23,7 @@ test_run pdbg -b fake probe test_result 0 <