Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2757534pxb; Tue, 12 Oct 2021 12:52:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz93ka2hqsID1ZFwAncZHcKx2DRES4aUfAoY6RE+vkZ6VJyUYOuciRDgqxpF4NenjNZEoqI X-Received: by 2002:a17:906:2294:: with SMTP id p20mr36618683eja.224.1634068347756; Tue, 12 Oct 2021 12:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634068347; cv=none; d=google.com; s=arc-20160816; b=HC5SiLepe7S+gOCl6ILqbzyfhxVR2nzsApAN3M+Ohc19DiSBNeVAGb/R9MjxK3oUS7 1AD6JFWL/LbF/m3uzUqVW7QnRiAPEHpurFMtiXRzgHq9nRvUfyhNR6kF8fM9/kXglxpg XDD7MeK9MB8NlEo5LLzVyrDsK1Kgf7SARgg1KKbZxe4p5MYEC5WcSSOyvLg+GVo3ESan tdub9VRjTZo+gFYaspcydMDRRPLByBwtNfPpy/wZzBitXCinhIaG+J+sLHRxn4GEaceC QRAVCPrB3LripkgHtKpYVfS00SOIvV/0KBmgmqGWtQfw8WwSvvLJ9OMFH2bpbYzEB8oX /djg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=vEc4UYBsfzlCOQ5m9tNKNpQdXT7xuBzvaR5Mdk17MLE=; b=jUzbF3fnrkdYxt8m7h31rQS1eopfGNASRnCC9JJ3B/fQTxru78ngk3KJHOs6ycKVMn IY0w44mPZzbjT6DCPsA/N4LaJLq+P1Yx/vIJv5abPgrUKsVimZyvbnicvQ8bfHYMXR9I k2WdbfStGQ8IW5SWWd9jjLdoFE8QyHSUPrdbnG3LY1JLIyR0pzUFTiz3vVh/n/rsOhUX GX170VcHqf+hcoR+kQAEdFc1HhXNXdWntO1VueZX5E3f7OMEOrI5iTI0FF2wLgJmK48f 93hddtcX36+45KExcTqJKqhcU480hgrkTOFe6jogn5N1LUEOEfJvevslzu3phoZ6GssB 2GWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si19155408edl.308.2021.10.12.12.52.04; Tue, 12 Oct 2021 12:52:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234029AbhJLTvS (ORCPT + 99 others); Tue, 12 Oct 2021 15:51:18 -0400 Received: from mga14.intel.com ([192.55.52.115]:10914 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232648AbhJLTvR (ORCPT ); Tue, 12 Oct 2021 15:51:17 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10135"; a="227537886" X-IronPort-AV: E=Sophos;i="5.85,368,1624345200"; d="scan'208";a="227537886" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2021 12:49:10 -0700 X-IronPort-AV: E=Sophos;i="5.85,368,1624345200"; d="scan'208";a="562799204" Received: from akleen-mobl1.amr.corp.intel.com (HELO [10.209.115.208]) ([10.209.115.208]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2021 12:49:07 -0700 Message-ID: Date: Tue, 12 Oct 2021 12:49:06 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH v5 12/16] PCI: Add pci_iomap_host_shared(), pci_iomap_host_shared_range() Content-Language: en-US To: Dan Williams , "Reshetova, Elena" Cc: "Michael S. Tsirkin" , Kuppuswamy Sathyanarayanan , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Peter Zijlstra , "Lutomirski, Andy" , Bjorn Helgaas , Richard Henderson , Thomas Bogendoerfer , James E J Bottomley , Helge Deller , "David S . Miller" , Arnd Bergmann , Jonathan Corbet , Paolo Bonzini , David Hildenbrand , Andrea Arcangeli , Josh Poimboeuf , Peter H Anvin , "Hansen, Dave" , "Luck, Tony" , Kirill Shutemov , Sean Christopherson , Kuppuswamy Sathyanarayanan , X86 ML , Linux Kernel Mailing List , Linux PCI , "linux-alpha@vger.kernel.org" , "linux-mips@vger.kernel.org" , "linux-parisc@vger.kernel.org" , "sparclinux@vger.kernel.org" , linux-arch , Linux Doc Mailing List , "virtualization@lists.linux-foundation.org" References: <20211009003711.1390019-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20211009003711.1390019-13-sathyanarayanan.kuppuswamy@linux.intel.com> <20211009053103-mutt-send-email-mst@kernel.org> <0e6664ac-cbb2-96ff-0106-9301735c0836@linux.intel.com> From: Andi Kleen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/12/2021 12:13 PM, Dan Williams wrote: > On Tue, Oct 12, 2021 at 11:57 AM Reshetova, Elena > wrote: >> >>> I suspect the true number is even higher because that doesn't include IO >>> inside calls to other modules and indirect pointers, correct? >> Actually everything should be included. Smatch has cross-function db and >> I am using it for getting the call chains and it follows function pointers. >> Also since I am starting from a list of individual read IOs, every single >> base read IO in drivers/* should be covered as far as I can see. But if it uses >> some weird IO wrappers then the actual list might be higher. > Why analyze individual IO calls? I thought the goal here was to > disable entire classes of ioremap() users? This is everything that would need to be moved somewhere else if we didn't disable the entire classes of ioremap users. -Andi