From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05101C388F7 for ; Tue, 3 Nov 2020 04:44:56 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 299D6207BB for ; Tue, 3 Nov 2020 04:44:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="i68IBSlP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 299D6207BB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CQHJP0SRTzDqVK for ; Tue, 3 Nov 2020 15:44:53 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::543; helo=mail-pg1-x543.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.a=rsa-sha256 header.s=20161025 header.b=i68IBSlP; dkim-atps=neutral Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (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 4CQH5v17gtzDqRs for ; Tue, 3 Nov 2020 15:35:47 +1100 (AEDT) Received: by mail-pg1-x543.google.com with SMTP id g12so12688529pgm.8 for ; Mon, 02 Nov 2020 20:35:46 -0800 (PST) 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=S7XdpBSyN2hayLd4zRl+DTnOe6f75FZb4gpZXT38Um4=; b=i68IBSlP0NXxs4hWvlU7VnsBXuOerg5+GL36z6GJLtuH0z+Ey8SYxV5Lc39di5WvGa B0onD/VU1/KJCvlSNkjE7xr2rJi17Fvjcyc+bGmYDwg69+m89hWx7gzKmbjoigX6VZ5T r4cY+wm9s4uTQSARjvEP0L77t3L1i3IOFqD7QwGL+uCHqUzWMwnQIQd9poXHcKf0ptph CCaS8/HGkpIbsfPFEvP8pCc81SvRyufRwVJ0YqYwpEnWUl0vy/NC9HnxpUG4Q5a4NNKz Jw6mNH0t3gaoKgzcQK08rr80OATtCmo1AkstTxeD54GcUe4L9EUOCUke+RsqqExCTDtZ /osA== 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=S7XdpBSyN2hayLd4zRl+DTnOe6f75FZb4gpZXT38Um4=; b=KssthZfUTaXz9r7rM5yX0hYuDaaZdk+SMr54H8n2kYVPL5lAVUNsrEur7lzrQ5bXQS 0SDH1F/0ecx3PoIrTY/9J1I3KNsjuMgpgfqkyCZylYGsLTL2U0DeuteRhtAL4td/9sG3 4ylR6rKTOnzZiz4fFMoHFUkv5duxQFduzBqV7zYKBnu5tD8rlUzjfl3jK2330t5YJpdr VmplH5fkaPXIe6jFj61pto4GQJQzgq2lM7LyYuTQw1IR9tdhSM8XcAVnuqVz53Jr+Me1 dMCFg6zy7qbXKFUDE7IKfBHkhg3sGq14u5j6p+tRkoZGSQ88vhjpOUJLUDm6zxfXqK6P tzpw== X-Gm-Message-State: AOAM530PljPIM0g7TyuF09WwJOtc88GwD/vCs7X0TKRdwdqrfTwDIdVc wxaV9hebN9A2ue8FvnQOCwZ/fBIYwts= X-Google-Smtp-Source: ABdhPJwmwc6ATWcY9F5FY8cmTYpdegTZrDktb7wZSryfXXQR1czWPP9DRd2dqaaBE9DpFPuV/Xza5A== X-Received: by 2002:a63:7408:: with SMTP id p8mr15451268pgc.273.1604378144493; Mon, 02 Nov 2020 20:35:44 -0800 (PST) Received: from wafer.ozlabs.ibm.com.ozlabs.ibm.com (110-175-254-242.static.tpgi.com.au. [110.175.254.242]) by smtp.gmail.com with ESMTPSA id o16sm2579116pgn.66.2020.11.02.20.35.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 20:35:44 -0800 (PST) From: Oliver O'Halloran To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 05/18] powerpc/52xx/efika: Move PHB discovery Date: Tue, 3 Nov 2020 15:35:10 +1100 Message-Id: <20201103043523.916109-5-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201103043523.916109-1-oohall@gmail.com> References: <20201103043523.916109-1-oohall@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oliver O'Halloran Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Signed-off-by: Oliver O'Halloran --- compile tested with mpc5200_defconfig --- arch/powerpc/platforms/52xx/efika.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/52xx/efika.c b/arch/powerpc/platforms/52xx/efika.c index 4514a6f7458a..3b7d70d71692 100644 --- a/arch/powerpc/platforms/52xx/efika.c +++ b/arch/powerpc/platforms/52xx/efika.c @@ -185,8 +185,6 @@ static void __init efika_setup_arch(void) /* Map important registers from the internal memory map */ mpc52xx_map_common_devices(); - efika_pcisetup(); - #ifdef CONFIG_PM mpc52xx_suspend.board_suspend_prepare = efika_suspend_prepare; mpc52xx_pm_init(); @@ -218,6 +216,7 @@ define_machine(efika) .name = EFIKA_PLATFORM_NAME, .probe = efika_probe, .setup_arch = efika_setup_arch, + .discover_phbs = efika_pcisetup, .init = mpc52xx_declare_of_platform_devices, .show_cpuinfo = efika_show_cpuinfo, .init_IRQ = mpc52xx_init_irq, -- 2.26.2