From patchwork Wed Apr 3 09:09:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1075640 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 44Z0kN0jdgz9sPF for ; Wed, 3 Apr 2019 20:13:48 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="dpuf5Ypv"; 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 44Z0kM5JH6zDqRk for ; Wed, 3 Apr 2019 20:13:47 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::443; helo=mail-pf1-x443.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="dpuf5Ypv"; dkim-atps=neutral Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 44Z0f45M2MzDqSL for ; Wed, 3 Apr 2019 20:10:04 +1100 (AEDT) Received: by mail-pf1-x443.google.com with SMTP id 188so7834621pfd.8 for ; Wed, 03 Apr 2019 02:10:04 -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=5gw5dXxT6O41dxbdOD4zB9HiIgQs1HKdHOAyWRtVuhE=; b=dpuf5YpvOsYAMQ2mUd7b/6Leg+chZTDYiGdvykYylQdjgfjjg3F4DFvcu+esMymH1i TzMMa2oGJY+BvoUZy2QCgz87NfzDtCLsZf/aSo9V4PR6mB2QzTK7CVvobu4q8oku0qFb 1kYhRVZvvKSnP7ssyQr3a4eec1IIP7OerZOLlxq8DyLfxgVFmfIIcWWr2RH9wB8pgo41 qa/4KV21QMFRzz/hFP6JlnvPZNx7iHfclJtHIpb56kYSj9iowu3xFA4xPA/hxn51eBiD HAeCFO0iTzkocRcXbnvT9iVtW3hv/xGhrN7ppXvTybZIVBldEyfNWJlbR71FRRY0Fou6 ys8Q== 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=5gw5dXxT6O41dxbdOD4zB9HiIgQs1HKdHOAyWRtVuhE=; b=pUqOf12Z+cENLPuZ6N3kWZb9phCSXNqzb9BKeMGGwuYjgiOx+p+DD8DnF1YAjyB8t2 yi7KpizeY64Uz+n2T1c2nol94KTRR7ZRS5s8Bm5VGdivbqR5Xi15OJjEaC0s1YPaTPAu i+kS69658bOAEEjBa29qNrKfKFN2cIshO5lkes/oFeyh44YL/MHxVrdOMiEI2RntoYdq N50slSWc0fgjh4h05MpZoQq0eSmZGg/KQlW4Ork/Hh0luU8eE5oNIwWL4LY689pTzr4a tHDNGjqu4+p5brQDdYLeCPQoupDf21DYfIn3mHczmJiT5RP4v20G8ooxFk1NOIXDQB9u ZZyA== X-Gm-Message-State: APjAAAU2S0YfjEEC6G/ZGOeWLamQp1C4GjRseGXrz4vocnK4/p70Gk+z 50GWVL2vNzp6AKbSCKd/Id4Bv8cz X-Google-Smtp-Source: APXvYqzfvmfYCUlvNuURWJeY7PLFsm6PyWJ4k+TVog8GFIjQiyqCNYXE2BBNGZhdp+8x9alvjhuzXQ== X-Received: by 2002:a63:2c3:: with SMTP id 186mr71007943pgc.161.1554282602907; Wed, 03 Apr 2019 02:10:02 -0700 (PDT) Received: from wafer.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id t64sm39165764pfa.86.2019.04.03.02.10.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Apr 2019 02:10:02 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Wed, 3 Apr 2019 20:09:11 +1100 Message-Id: <20190403090920.362-15-oohall@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190403090920.362-1-oohall@gmail.com> References: <20190403090920.362-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [RFC PATCH 14/23] hw/phb3: Wire up assert_perst X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" The pcie-slot specific method is largely pointless now. --- hw/phb3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/phb3.c b/hw/phb3.c index 095fc3153378..4ac6aa729c4d 100644 --- a/hw/phb3.c +++ b/hw/phb3.c @@ -2742,6 +2742,7 @@ static struct pci_slot *phb3_slot_create(struct phb *phb) slot->ops.get_latch_state = NULL; slot->ops.set_power_state = NULL; slot->ops.set_attention_state = NULL; + slot->ops.assert_perst = phb3_assert_perst; /* * For PHB slots, we have to split the fundamental reset