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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C8BFC4332F for ; Tue, 12 Oct 2021 21:11:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 56B1560F3A for ; Tue, 12 Oct 2021 21:11:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234950AbhJLVNy (ORCPT ); Tue, 12 Oct 2021 17:13:54 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:57624 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232852AbhJLVNx (ORCPT ); Tue, 12 Oct 2021 17:13:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634073110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HJGSIN2xKq0W1I1KYpa25UxJU8ELuu6VCKra+BOIUC4=; b=LozTO0x8eC7hISiP/9Tg7YCND6Z/xzW/3Ws0dnRSkVid3xgKASFARsdWT6bn3VJBWP78Fq b0BE/cxgIVU3vrNndntiROmsay6/8XHl3hi79BG/Z32dtdbe41pfh+klh7ydTeqh/gYVWC MbqEfrd5Y3Ea4yp1Sheds8prrptTTro= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-473-yyLUOTE3Nb6X5wlRDpwHcQ-1; Tue, 12 Oct 2021 17:11:49 -0400 X-MC-Unique: yyLUOTE3Nb6X5wlRDpwHcQ-1 Received: by mail-wr1-f69.google.com with SMTP id p12-20020adfc38c000000b00160d6a7e293so293147wrf.18 for ; Tue, 12 Oct 2021 14:11:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=HJGSIN2xKq0W1I1KYpa25UxJU8ELuu6VCKra+BOIUC4=; b=voyQYq9+ijl11HR6sHd7iJFb3AVPx4WVhlrJLEGP9ntMwtXhdWoshslB+aRWNP6ZxG 7AyJp9vsI8Z+JVpiZHQBpsPA2l0vgUWaA+8kRlJ606i7BmSdLDfJcpm9CjUmhqhvvp/S X67REUNWVfHvw797s/xEmtN8NwoaZHHKOkuJoWIZzXV0/m8uhUiTP5iBH0bKRJ3P3uL3 WtCS5ft7y6WoZxPCByAxFiF5dhgZdqYfXz3XskjYRFzcpjHFxxRe2C0yxsEmGkVQpKUR jQ0UeJBnHQDnr0n6z/OD6PeLg0M0aAT8R5dQZn98oZ6OkcY8YMMXjyg16XGtmX2mbcJF 7IoQ== X-Gm-Message-State: AOAM532TPwFgogrysrCYI7YkCjNvPDNX5j9ZsItv1SrICh6VHv/fw8BJ PFBOHzPXw6VKQ+BOrqwEg29IRr0GS+lcGIaSG9WH/ynzdJxF2E2fJ7kxXN9S0elf7va9R+xXt7i ypjLvUmKxYj1ztCwTSwJrLg== X-Received: by 2002:adf:a78a:: with SMTP id j10mr35380794wrc.231.1634073108393; Tue, 12 Oct 2021 14:11:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpVXZ8CwRxxdc3jOF9zqv7UA5V/rSW0PqfcHy6Y1h8eiycZBeLZrenWoni8OECj28KdQIXIQ== X-Received: by 2002:adf:a78a:: with SMTP id j10mr35380772wrc.231.1634073108176; Tue, 12 Oct 2021 14:11:48 -0700 (PDT) Received: from redhat.com ([2.55.159.57]) by smtp.gmail.com with ESMTPSA id s3sm11456516wrm.40.2021.10.12.14.11.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 14:11:47 -0700 (PDT) Date: Tue, 12 Oct 2021 17:11:40 -0400 From: "Michael S. Tsirkin" To: "Reshetova, Elena" Cc: Andi Kleen , "Williams, Dan J" , 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" Subject: Re: [PATCH v5 12/16] PCI: Add pci_iomap_host_shared(), pci_iomap_host_shared_range() Message-ID: <20211012171016-mutt-send-email-mst@kernel.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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Tue, Oct 12, 2021 at 06:36:16PM +0000, Reshetova, Elena wrote: > > The 5.15 tree has something like ~2.4k IO accesses (including MMIO and > > others) in init functions that also register drivers (thanks Elena for > > the number) > > To provide more numbers on this. What I can see so far from a smatch-based > analysis, we have 409 __init style functions (.probe & builtin/module_ > _platform_driver_probe excluded) for 5.15 with allyesconfig. I don't think we care about allyesconfig at all though. Just don't do that. How about allmodconfig? This is closer to what distros actually do. -- MST