From patchwork Wed Jun 13 06:40:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 928697 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.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 415HFx0d2Xz9s2g for ; Wed, 13 Jun 2018 16:41:09 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="e/mL0VGr"; 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 415HFw6FpSzF0Rs for ; Wed, 13 Jun 2018 16:41:08 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="e/mL0VGr"; dkim-atps=neutral X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c05::241; helo=mail-pg0-x241.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="e/mL0VGr"; dkim-atps=neutral Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 415HFq4VsZzDrpC for ; Wed, 13 Jun 2018 16:41:03 +1000 (AEST) Received: by mail-pg0-x241.google.com with SMTP id c9-v6so778016pgf.5 for ; Tue, 12 Jun 2018 23:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id; bh=eVsZ8u5w4bKEbqryJQKsWcj7QgD1EXeLujS1mducEH8=; b=e/mL0VGrq7j8YX2EowhqQekanNc/+zOnwzL6adohXyy/Gcs+uGLUiHxP4jH5YhZQeo vlvcNK9PifakNwT0SwllGA2rqLVgcF+NPyVIEoz1LGr9pFUutPp8gHlAowgMGEfDSFgD ZkFJ8f9asZUng53MZqo9Fw8WbiRqOZg0XnF76mjGeFPrmeIQtA9d0wK1mebUbo2deozb 0Ee7uqqNUa1Q+c7d5KkEuAf9QETYbOev2dIsvy/IUk3yFspHBo2/5zmA6h92izQzYtW1 P+u2PmigI5caEzlbyER1M0GPV7mBDbOZi2WoBQ1Koeq4laKH/5P1XHHe8lV1lQIEctV+ 215w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id; bh=eVsZ8u5w4bKEbqryJQKsWcj7QgD1EXeLujS1mducEH8=; b=dNli8JngPfITfncTOkqNVCDRXDY9dI4cj3pRa3FpWAr/YJpr6W/WChu7zKCPf5ZTQC kvlY6LB1R1uD5HVu/3hTnVdgH0TGxC4D4e8x6GbjYvokWAuuJ/TVZCKwQyPHCL/6Mdlv DUtSTt4TgBq0wejiAPU1Y/xmCr7kfQPAfUROgd9kgojmXH1FkeyW5U7cQYUTjREAsPqb Z6JhwHekcUW0TBD+zYxj6sVQSFTc1lYZthuzvrYpEw4ehZ7vkqGGqa9403R8F3WAmkHd gbnXSwMJsHqvBkRrA6e7Ss1Ta4l5l2RGvUcVT5NnVNU4r6W0nrMbiES0mFBi4Abcbkfb zpTg== X-Gm-Message-State: APt69E3RFtSlihDwg6TDzBK7OlAcwu1s5i4tD+BBl2jLw6+18HUE+qIG TY8cGbbYyrcWy2/Ml17Vn7N9CiP2 X-Google-Smtp-Source: ADUXVKKwLrTAYqanT6UlJF1JBV/6G4bh6IQYqM7HGD7aG+PPr1JZ/4vs0MJB8O/1eHkeDCscdBOyCw== X-Received: by 2002:a65:578c:: with SMTP id b12-v6mr3041500pgr.315.1528872060780; Tue, 12 Jun 2018 23:41:00 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id 9-v6sm3283599pfn.129.2018.06.12.23.40.58 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Jun 2018 23:40:59 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 13 Jun 2018 16:10:55 +0930 From: Joel Stanley To: pdbg@lists.ozlabs.org Date: Wed, 13 Jun 2018 16:10:52 +0930 Message-Id: <20180613064054.20625-1-joel@jms.id.au> X-Mailer: git-send-email 2.17.1 Subject: [Pdbg] [PATCH 0/2] Restore OpenBMC P8 support X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" These allow pdbg to be used with the i2c backend on an OpenBMC P8 machine again. $ pdbg -b i2c -d /dev/i2c-3 -p0 getscom 0xf000f p0:0xf000f = 0x220ea04980000000 $ pdbg -b i2c -d /dev/i2c-3 -p0 -a probe p0: POWER8 I2C Slave c1: POWER8 Core t0: POWER8 Thread t1: POWER8 Thread t2: POWER8 Thread t3: POWER8 Thread t4: POWER8 Thread t5: POWER8 Thread t6: POWER8 Thread t7: POWER8 Thread c2: POWER8 Core t0: POWER8 Thread t1: POWER8 Thread t2: POWER8 Thread t3: POWER8 Thread t4: POWER8 Thread t5: POWER8 Thread t6: POWER8 Thread t7: POWER8 Thread c5: POWER8 Core t0: POWER8 Thread t1: POWER8 Thread t2: POWER8 Thread t3: POWER8 Thread t4: POWER8 Thread t5: POWER8 Thread t6: POWER8 Thread t7: POWER8 Thread c14: POWER8 Core t0: POWER8 Thread t1: POWER8 Thread t2: POWER8 Thread t3: POWER8 Thread t4: POWER8 Thread t5: POWER8 Thread t6: POWER8 Thread t7: POWER8 Thread Joel Stanley (2): Make i2c backend possible on all ARM machines i2c: Add FORCE option libpdbg/i2c.c | 2 +- src/options_arm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)