Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp678260imm; Fri, 1 Jun 2018 07:47:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJrR0O2TcatMWa5FaKleunxyA5IOGKPWVNFl3JxFqF1+hU/W6RZ43VbF6E2zXFZOfcf1NRV X-Received: by 2002:a63:6185:: with SMTP id v127-v6mr8947064pgb.301.1527864436436; Fri, 01 Jun 2018 07:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527864436; cv=none; d=google.com; s=arc-20160816; b=n4GSNNVuUF9rGmsW15i9zriisX4z7pkrgr86GNvwF9xibSVWdqcKxzmIIIN+Gm+KrA s+kSUoeofSwflzuVgH06oWHfQ+I0KWL59Om50fLR1rNi1TLxOWKujDKLl+rLnrM/SDmB /ZYzll7D3+SNWtzDUXAK1ToISXFYllB6dcw4WAqmHkKZyNQmU7AUX+lPpHgM5tIwWKux tlPubqAoRDBLTX/11Quq/gnk3sAySAtfdOzvV50zd+hTZwFdtLhrTNLzvGzCCwXBwxAH 8PS8irIxg6JNifq8ySPJL7xEohGxrAZNJ2WD4BMKqpG8KWcO2hgqEYgAOdNPtWPaAawM HkeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=MV4JabiXVX3zbcsoauJiCv7zkeBcXUGl/VVzbvdnoJ8=; b=Zkbvkp7rrTDOefRfcLDUZwZ7jveShqZbhtARyJcgTRO8wSLw9v6PlaJptkNVBRUPKl z7tyXyI5JiNe7XLm3bQXSpRD2wa5Mi76ETfWaKPlCpRU7RX3HG0X7gEaxjSzrjVNLwEo XFLENd2u6/xxN9FF56m59XcF1nmBTgWSh3Az7uPp1D9L+vZ39urzfwM+gBopRanVR8vz 1W06w3SHRNy7jtoxo5v48jR8vws7GXmKgKnCaN9mm/BF+OSwDzofBHSBDmBCx/KZbi+K Wdi9ge1l01wXYqJsDgnO7LdFAnwruEuJSeqICdEEJZ2hPB6lkth1UhmWR0EPpoTXLJRV 9EVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=oB1DBUqw; dkim=pass header.i=@codeaurora.org header.s=default header.b=RkWx1H7j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e124-v6si38950307pfe.80.2018.06.01.07.47.02; Fri, 01 Jun 2018 07:47:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=oB1DBUqw; dkim=pass header.i=@codeaurora.org header.s=default header.b=RkWx1H7j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753017AbeFAOqM (ORCPT + 99 others); Fri, 1 Jun 2018 10:46:12 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:53868 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752983AbeFAOqE (ORCPT ); Fri, 1 Jun 2018 10:46:04 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1069C607BB; Fri, 1 Jun 2018 14:46:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527864364; bh=Kh+HdeKtdTQsNKLEK1rMXPyaTftEfWcazLL2beBhMeQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=oB1DBUqwIpqh5K9a8zAsQzKwsRZVshoqy+F6y2XAZOHqp/PQujX+cLWGOA9U+YbEV RQV1a9ZpoeIi0VPnncfvYKUqPpjJy6dDETf2DGN7YjbGkOOPf8rcQqntCF7Vm290X+ G51ifguScVNYJN3YilMkGWnF5VIGNIoHYHHs0Jfc= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.235.228.150] (global_nat1_iad_fw.qualcomm.com [129.46.232.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: okaya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0766B60224; Fri, 1 Jun 2018 14:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527864361; bh=Kh+HdeKtdTQsNKLEK1rMXPyaTftEfWcazLL2beBhMeQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=RkWx1H7jrOzhhLTf4UmGNqCdCQ8tSNW0dKRZiPUI3SC/5AgB1AA3WzXGOs9hA/ReD IcW1ijy/evEw4BG057HOflmaVgcV4S6zoJ/etOk+c6jCwHQFa2tezEoBt8cRck4+bL AlqCy8fF200o0fKxkIRssMuJDI+vgORPCk44+jgg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0766B60224 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH] PCI: move early dump functionality from x86 arch into the common code To: linux-pci@vger.kernel.org, timur@codeaurora.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jonathan Corbet , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Bjorn Helgaas , Christoffer Dall , "Paul E. McKenney" , Marc Zyngier , Kai-Heng Feng , Thymo van Beers , Frederic Weisbecker , Konrad Rzeszutek Wilk , Greg Kroah-Hartman , David Rientjes , Kate Stewart , Philippe Ombredanne , Tom Lendacky , Juergen Gross , Borislav Petkov , Mikulas Patocka , Petr Tesarik , Andy Lutomirski , Dou Liyang , Ram Pai , Boris Ostrovsky , "open list:DOCUMENTATION" , open list References: <1527654876-26716-1-git-send-email-okaya@codeaurora.org> From: Sinan Kaya Message-ID: <82d0852b-7c34-3fc2-85d8-c21b33aa8cf4@codeaurora.org> Date: Fri, 1 Jun 2018 10:45:58 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1527654876-26716-1-git-send-email-okaya@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/30/2018 12:34 AM, Sinan Kaya wrote: > Move early dump functionality into common code so that it is available for > all archtiectures. No need to carry arch specific reads around as the read > hooks are already initialized by the time pci_setup_device() is getting > called during scan. > > Signed-off-by: Sinan Kaya > --- > Documentation/admin-guide/kernel-parameters.txt | 2 +- > arch/x86/include/asm/pci-direct.h | 5 --- > arch/x86/kernel/setup.c | 5 --- > arch/x86/pci/common.c | 4 -- > arch/x86/pci/early.c | 50 ------------------------- > drivers/pci/pci.c | 4 ++ > drivers/pci/pci.h | 2 +- > drivers/pci/probe.c | 19 ++++++++++ > 8 files changed, 25 insertions(+), 66 deletions(-) Any feedback on the direction? -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.