From patchwork Mon Aug 2 05:41:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Niethe X-Patchwork-Id: 1512297 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=HSLh/ddq; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (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 4GdTLs2mncz9t6S for ; Mon, 2 Aug 2021 16:56:37 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GdTLs1gHCz309p for ; Mon, 2 Aug 2021 16:56:37 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=HSLh/ddq; dkim-atps=neutral X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1035; helo=mail-pj1-x1035.google.com; envelope-from=jniethe5@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=HSLh/ddq; dkim-atps=neutral Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 4GdRhb31W5z3022 for ; Mon, 2 Aug 2021 15:41:51 +1000 (AEST) Received: by mail-pj1-x1035.google.com with SMTP id u13-20020a17090abb0db0290177e1d9b3f7so850189pjr.1 for ; Sun, 01 Aug 2021 22:41:51 -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 :mime-version:content-transfer-encoding; bh=jIqsR/EceeHyBjm1BgovHNcQDBnTFyMto1l76RAXObI=; b=HSLh/ddqjAHkyPY+CyINjfC3Vw+oD0amdvrxilXnQydNNCAO5HhErowYfdQlEBMils EAsc9pSDjXze+KD0M7E8llBhVU0TutUdJ4wFPWqgQMdrSKLDWeWpCRKCLVJwXAUHUuCd zFYDJHWSPD0xsq052YV04MmKKH/oYAh3WbYzR8E10hL1NCUUglgo231sv1Ug/IGbpo43 1POHmYAyQVSi6sv74nhgtbRwPaz5KWd4MmvkRCR68hhEcgrsgh5As+Dzufybzldv5K6V e3gf6+7n6Xr0mHlsXeNIF4B39k2vCI9t1xHsx3uzJ+jMCa6A2en050bM/7vxhCoj4AEi cBFQ== 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:mime-version:content-transfer-encoding; bh=jIqsR/EceeHyBjm1BgovHNcQDBnTFyMto1l76RAXObI=; b=FPMvfBF/IPzSYfRWRZTQ6MQTu4pG5Ka8glQ919nyJ0N1nEK5jYCbBYxn8FLeHpQ0FX q7KJzA4CgD1uYzV7UdlzdEEmIkfKOh4TWecI/AuTed2MIu34hH7CCydLTJKuiZn2nMQQ XpO2it5F53RdNHpNjlXoTTPW6WtSrqWvoPaFVwhdWWIofRxUNTKZHhV04frcomyQVnva zU12lu6Mh/4r5/l7pCarrvyQqwCTOnKLe9VirXx5Bjt8e3+/zGIQrryTCE6gDmFZ6KLc tutVRoN6zHuUmDwBfDuThjsdIUeJ95jdQh7Mnr3CPZZBKqqqAAOlfIcuPpx4EwP6BQLi MRyg== X-Gm-Message-State: AOAM5321XcFpWRjVTaLO/dxbhZjOhLYSemTkIQU5HftxBIKvuJ7qW+v7 5cCElTArSg6BGqn96BARpgCRi8rUYOY= X-Google-Smtp-Source: ABdhPJxgTuhA82PV7o064rWD07TAkOUi0CEBbBJiUBXWsZ/YRQJK16amTAmv+X1f4Fo+Sk8OrFW/tA== X-Received: by 2002:a17:902:ec85:b029:12c:6896:dd62 with SMTP id x5-20020a170902ec85b029012c6896dd62mr12183400plg.44.1627882909316; Sun, 01 Aug 2021 22:41:49 -0700 (PDT) Received: from tee480.ozlabs.ibm.com (159-196-117-139.9fc475.syd.nbn.aussiebb.net. [159.196.117.139]) by smtp.gmail.com with ESMTPSA id 189sm1741852pfx.135.2021.08.01.22.41.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Aug 2021 22:41:49 -0700 (PDT) From: Jordan Niethe To: pdbg@lists.ozlabs.org Date: Mon, 2 Aug 2021 15:41:11 +1000 Message-Id: <20210802054112.461728-12-jniethe5@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210802054112.461728-1-jniethe5@gmail.com> References: <20210802054112.461728-1-jniethe5@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 02 Aug 2021 16:56:28 +1000 Subject: [Pdbg] [PATCH 11/12] libpdbg: Warn if default_backend() falls back to fake backend 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: Jordan Niethe Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Jordan Niethe --- libpdbg/dtb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libpdbg/dtb.c b/libpdbg/dtb.c index 331bd2cabbb2..2062c0b8db70 100644 --- a/libpdbg/dtb.c +++ b/libpdbg/dtb.c @@ -147,6 +147,7 @@ static enum pdbg_backend default_backend(void) return PDBG_BACKEND_KERNEL; } + pdbg_log(PDBG_WARNING, "Can not determine an appropriate backend. Using fake backend\n"); return PDBG_BACKEND_FAKE; }