Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp720217imm; Fri, 1 Jun 2018 08:24:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJx3DsS9/oxkzu7zA0oCYxYmaq2touFRNzqGbu0e2HnlsUCFzKk98mXcD6g//subMw4H4ZX X-Received: by 2002:a62:428f:: with SMTP id h15-v6mr11343430pfd.156.1527866679852; Fri, 01 Jun 2018 08:24:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527866679; cv=none; d=google.com; s=arc-20160816; b=AXoZ9RMkP0qTXG04+LJVNCjj4qyCRlmWN42btVqMbEHN18Lx2F5K7m9oNCLGGs4ahI W7vJFlab5jsDsbwN8kI1j6Zs5X3R6eSrHD+0u1Id1VK1CszQQPr7cHeil/g91uOJQ0vl ACT1gqy9X4baGXN+A4OMYft6kjk0gcCVlT+vCCa/Ceq8dkRUeqxvOGtz8EObeIia0xpm Iy8Nds5/fc6GbrSgbXwsFUCKqlX6T2K2mLY+F+NLmFgMB39+vMwrC/BgGP0DRgDflZ6v +j+aZA7Y7rap97bqlwSHPZjsrx7jlV4H4Beqi/vcRA/khmRzYFNxVpUF5u4S8Pg/jtda GNbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=vS8egDxYU5+rWW0oq8T08Emnh0rpISeyAImtWHxM+MQ=; b=vujVZM4rd+2kVPFjFayPPkJvNI6aeiBsvbTF9AJyUjxPEwbya2yfpO0jdJcWWQbyBD TRlo+NwAj9H7cEZOIHzRWcAgZLY4hSQJzxoXWXlqnhEQDw3jiMSaYaVk0dMh2ELTNJHI b3WUs8Jj2GkvSve9ukcOVaZPlOfzjaDmuhB9EQIJZwGEO3Ta/LwtK5Ykd3otfVQ9TVHH Z3PNwo7ycz9p60SDZFqAdhPGWFuCXll5fqudduIYDP+7OYmGt8LEAgi+7Bq8QXy8pEL5 JPpw8MTnx7/Cq6XPn8znjUcoGkatVKWq5mZrxYtDEux1EeKglNmSYBehagwjqgWr8Thp uhZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O4ZGrJh5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q11-v6si19945946pll.10.2018.06.01.08.24.25; Fri, 01 Jun 2018 08:24:39 -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=@gmail.com header.s=20161025 header.b=O4ZGrJh5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752786AbeFAPYD (ORCPT + 99 others); Fri, 1 Jun 2018 11:24:03 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:37554 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752036AbeFAPYB (ORCPT ); Fri, 1 Jun 2018 11:24:01 -0400 Received: by mail-qt0-f193.google.com with SMTP id q13-v6so32611228qtp.4; Fri, 01 Jun 2018 08:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vS8egDxYU5+rWW0oq8T08Emnh0rpISeyAImtWHxM+MQ=; b=O4ZGrJh5dfVPZpY9z0hLqSluCzvNsOzXRiWzyW0M85ZZCTehOEZndltNTwBLYFr8zQ LoUfQR2qlH7bpVOWCEciFouMRzD7CZCC8vfRZXRtmtmbYFqhVM89/+aTZUj+siIuJ0Yp bvTD0mdIpH3SCQTNXczLnfwiaYbUcvCs6jvzM+F4EhD7oNP5R9aakDALsjkL/EJxPpSz vUoj39BASpG5voO6uJOGPfI7iC0hKs0O30JcQNqCEGnbN8V49tTvlGAOnb1PP491v0DU GqqQvh39+8bl6YpYPtfED6VSi9EXZss9znFNi0yG6ZRHKYQvvaPbGR2yuswlq5qt+XZR JUCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vS8egDxYU5+rWW0oq8T08Emnh0rpISeyAImtWHxM+MQ=; b=qAgQpPSapguv5ym7w7Zjr/FVh9PZ5Y4eUK/GAye89sNzy1SRxzbbWvCFrikMC8kQo0 S0ZtEwrzoKrzXxTrVqLe35FkvONEa2ToKNmmyt5kJNQoShIFwa29ikV1lusCMf1FdQtZ QcQN351P8d85Pj5waC363H9iD1sXCoPIGfRcW/yS8tpIlnc67Hpzad2Xa15ml17YNQxn DTjpvmhfhJLRnbbNafHxItJcjwwAG2rRRkJ8sRl9fWJIHhdY/HDJ4ClQexDG4ngsIJAi gC3ejFCnNT+eEbuH8RxaJHH6tf3q+N7m7nZtzlTX4ZWRhHVfd/f18m1Db3HM67KsannN gISw== X-Gm-Message-State: APt69E2hfEHSgBlFd/40CoWjAFt7uHwINqfrEknlt7m0e14WCAwvkuD0 RceulOAwdEc+H4NlyNsRF1IP+wG0kkNq+GN8hLs= X-Received: by 2002:a0c:b2ca:: with SMTP id d10-v6mr5948653qvf.16.1527866640592; Fri, 01 Jun 2018 08:24:00 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a0c:98f9:0:0:0:0:0 with HTTP; Fri, 1 Jun 2018 08:24:00 -0700 (PDT) In-Reply-To: <53e4d6c3-ee19-fd04-4ba3-862d04558689@codeaurora.org> References: <1527654876-26716-1-git-send-email-okaya@codeaurora.org> <53e4d6c3-ee19-fd04-4ba3-862d04558689@codeaurora.org> From: Andy Shevchenko Date: Fri, 1 Jun 2018 18:24:00 +0300 Message-ID: Subject: Re: [PATCH] PCI: move early dump functionality from x86 arch into the common code To: Sinan Kaya Cc: linux-pci@vger.kernel.org, Timur Tabi , linux-arm-msm@vger.kernel.org, linux-arm Mailing List , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 1, 2018 at 6:06 PM, Sinan Kaya wrote: > On 6/1/2018 11:02 AM, Andy Shevchenko wrote: >> On Wed, May 30, 2018 at 7: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. >> >>> /* If set, the PCIe ATS capability will not be used. */ >>> static bool pcie_ats_disabled; >>> >>> +bool pci_early_dump; >>> + >> >> I didn't check above these, but maybe a good idea to add one line >> comment what is this about? > > This was discussed here: > > https://www.spinics.net/lists/linux-pci/msg72859.html I understand what is it. What I'm pointing is the variable in the source without any comment. In the context you have in diff previous one has a comment. -- With Best Regards, Andy Shevchenko