Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp572226pxb; Fri, 13 Aug 2021 01:11:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyj5zDFea9hRS7KpVOBbg0CHMf4ISY2QRJM2G3vbipd/bwzfSA7Ikj9E9Id4/ZqdNUZLgGS X-Received: by 2002:a17:907:76a1:: with SMTP id jw1mr1285681ejc.238.1628842317648; Fri, 13 Aug 2021 01:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628842317; cv=none; d=google.com; s=arc-20160816; b=K9/FmC5AVf80koUZ10Cdnxasqt8H6P6yzNcBkEiJx2eMM6guM5I04MY6fy8Uq1r0dr frk/UWqiNs38CxEQDOWkaiBmPrUVO/iHzm1RaeTXzx9ZCvyPLsPQoU1Hplsypx14DHNQ l/jZtH8BHq8iciK5bpN+9mx8lqchwxzavnDYL86hRuI9CJ5NyPJWTRXQWYOg0IRVQnu1 fyZjydU+xUXn+FDjKlPOsLByFgoYQtjC4aTn08dgoyaRZcwLrV+FUnnzghxHDC7eAeEy 95F6nMUgtlBNojtmPnCBzGoe31B2YnSpjbU8b7cQRlntnaSDwf9Kspf8nRTRy/+OU48u +sXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9uWCFAcyzkVj8no+O0RsCmvXvpv4eWhAb7u9P+Jl+OQ=; b=ET3K+S5WNcuuKT7DFceBk66KqIdbQNw/18wB5UWSQVKXONYKDwu7OfuV/+bM56RPMl DIL37DL4lLBLogIxJ78b/2CcZ2xUp6n3UxPYFhejUQrzbQ2NnMbgmYYmbpEQlrVQFaex d4XT7IOZMZQGtOXF0/NCp5onAf5QbstIxlBtwYKtE3FyUhy5snAdykgX85EMdxB+rSFn I15WjzncfiDRJK50xMSyJKRI8qJkj+skFVbBOLyvEmcglrvnEohmV3DjwN1E7M7HKE7S NHCnRwiJ2lRLX1uxucSZb5Xi+xxdpjubs6E4aesZJ0p41B8pAxSvHSp65ZQKjmyTcTll 49vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=skolZA09; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yc4si957269ejb.399.2021.08.13.01.11.34; Fri, 13 Aug 2021 01:11:57 -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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=skolZA09; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239713AbhHMIIW (ORCPT + 99 others); Fri, 13 Aug 2021 04:08:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239501AbhHMIIV (ORCPT ); Fri, 13 Aug 2021 04:08:21 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 325F6C061756; Fri, 13 Aug 2021 01:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=9uWCFAcyzkVj8no+O0RsCmvXvpv4eWhAb7u9P+Jl+OQ=; b=skolZA0941a9vaUZQjHgRhvFcO noo8dvQYNH3YQWFixE/g/Oqa0E5fFrhuFY22BTP1ffQxL+CNHP3+pHRxDfAlVhQ1fjeZbFhxBcpFp wguhbgaYjMXpFIksAmp5LLR34Bfvu840nTRaHX7sAu689DUOBFyLy6SaM8o0/T+3+ZeRBghm9amva eMhPxO+xayDbhuWM0HqeF/rr4O+zadv8uSge/qRFcOrDWv941ztngfG+iSJ1dDMyEbANHNMVB4SLu b3YC3dA4pdD9r6/MVNO8rYpYYOTmD+3S1UWQ8hFCQ9g6dyDKijDHeZ0XZdzjIRPY8qpoGora5iFkn kATt0VhQ==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mES9E-00FTGj-HZ; Fri, 13 Aug 2021 08:02:49 +0000 Date: Fri, 13 Aug 2021 09:02:36 +0100 From: Christoph Hellwig To: Kuppuswamy Sathyanarayanan Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Peter Zijlstra , Andy Lutomirski , Bjorn Helgaas , Richard Henderson , Thomas Bogendoerfer , James E J Bottomley , Helge Deller , "David S . Miller" , Arnd Bergmann , Jonathan Corbet , "Michael S . Tsirkin" , Peter H Anvin , Dave Hansen , Tony Luck , Dan Williams , Andi Kleen , Kirill Shutemov , Sean Christopherson , Kuppuswamy Sathyanarayanan , x86@kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-alpha@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH v4 11/15] pci: Add pci_iomap_shared{,_range} Message-ID: References: <20210805005218.2912076-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20210805005218.2912076-12-sathyanarayanan.kuppuswamy@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210805005218.2912076-12-sathyanarayanan.kuppuswamy@linux.intel.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 04, 2021 at 05:52:14PM -0700, Kuppuswamy Sathyanarayanan wrote: > +extern void __iomem *pci_iomap_shared(struct pci_dev *dev, int bar, > + unsigned long max); > +extern void __iomem *pci_iomap_shared_range(struct pci_dev *dev, int bar, > + unsigned long offset, > + unsigned long maxlen); No need for externs here. > +/** > + * pci_iomap_shared_range - create a virtual shared mapping cookie for a > + * PCI BAR This reads like completely garbage from a markow chain.