From patchwork Tue Apr 14 02:47:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270063 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (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 491Vrh460Tz9sPF for ; Tue, 14 Apr 2020 13:11:48 +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=Ip1VYqQ4; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 491Vrh1qlwzDq96 for ; Tue, 14 Apr 2020 13:11:48 +1000 (AEST) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 491VLT70DPzDqQk for ; Tue, 14 Apr 2020 12:49:05 +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=Ip1VYqQ4; 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 491VLP1XKrz9sSG; Tue, 14 Apr 2020 12:49:01 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832541; bh=X/kE1rU4RuQwjmcXj+Wg/ZQlhAjuz95BZ1a90H6OamU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ip1VYqQ4NL9Wa/g9Xuj2yMe11fEoTjjLlJL8gQbl8J39YEsIBbRslWMrgFu4oun3/ TIAhz03J3S6AxTuC/LRoyK85M0a4H0Cy38x30zLNvMuleNgbAF3s5+hnk/nlHZVcTv eMDmCInxPWvmufC5rza1dGwSEfyWtwpm/15nZu189FNdrW9ILIzZSmPUcpRuUy3XDs xKvEwX589ATJAyNB4zMrH82AvjSVc+XT8g3N+rOI0Kr1kDR6xVsquPdmQgLKYWe5NO fUYsOQPn5K4nwHsfI+iFgc7YQQwlV/8ilDArcMX5sKDx0LbZLjKAw1dAUMqqwNl49v Hku5Fcu/eQiHQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:37 +1000 Message-Id: <20200414024750.20170-11-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 10/23] libpdbg: Register kernel drivers with kernel 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: Amitay Isaacs Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Amitay Isaacs --- libpdbg/kernel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpdbg/kernel.c b/libpdbg/kernel.c index c4637a7..3024736 100644 --- a/libpdbg/kernel.c +++ b/libpdbg/kernel.c @@ -264,6 +264,6 @@ DECLARE_HW_UNIT(kernel_pib); __attribute__((constructor)) static void register_kernel(void) { - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &kernel_fsi_hw_unit); - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &kernel_pib_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_KERNEL, &kernel_fsi_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_KERNEL, &kernel_pib_hw_unit); }