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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46213C433F5 for ; Tue, 7 Dec 2021 23:09:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242487AbhLGXNM (ORCPT ); Tue, 7 Dec 2021 18:13:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238175AbhLGXNL (ORCPT ); Tue, 7 Dec 2021 18:13:11 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A774C061746 for ; Tue, 7 Dec 2021 15:09:40 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id m24so275119pls.10 for ; Tue, 07 Dec 2021 15:09:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qKDd1VX3hBC89im9d4I56OuLVc25eiwTlx+sbQdp+Sw=; b=vnRocbhNrruqT81hYa0+LL1YmTd03xre0R39dPhTL0Iz+ndRyi8Kk2j4vncEtIedml 5RWbyz49x2iypSewBHEWmhUYR0VuL5cEhUkN98ZUxvT6HS/VyG0I0qMdRscK/WNR2DzI dB92AVMKkDTkNdE63WRtE0QzmrymcC1lL2mSUXhMPJ7x/2TV60k32n1ycoojIp/UExzR fc6k80Qup2+U+AI6C7WOejJzHM7rcFKuzGjy1pgiKFxywby8bw80rj64B0R02Fi6e6vv fL+92ombKOd2u0jrHgMNUN/EW+PdkCFpJ2gNZo1sByZ9x4wqg7GRifEO4/ue6Cqc/Sfp 0iYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qKDd1VX3hBC89im9d4I56OuLVc25eiwTlx+sbQdp+Sw=; b=2SDX2+CjiBbsKQp1tazwNWct9XK0Uq5utQKd3t6OmVbBy7oZnAZzFj4iFzCDFT6btu XN28DLuT3wt3sS2g6nvF/UkiZHMVq60ju/NX1fHfbpmK4NAekW1uLnc6AUxVvRUGWELv rYnrggtvyGTIkgc5HWhJ+zyne6GzLHV16uPL1azR4d1bYi2X4R9n6GlPTRNulRNuQnEV 3qUOs9akmDXpNNaT1nPwuE5RB8V2/PixeolPi4xJuXEtmqgGv5MRq+4nwBdrh6y+cHEJ /I8HYwz6c4AWiP0kh5ErJibqz7M7XnwJMcFOpj+6Pos/nD9zv8pq8eWLHrf6gqIyaYAv rZSg== X-Gm-Message-State: AOAM531RDDcODug6TZMjeWbHUODwRsU8Z8g+QJY4/MIuBfmRG4wdKqIi VUm/2ifwTVV9wsoy/1qg694EHvGTFd2SgMKk7e5GMw== X-Google-Smtp-Source: ABdhPJzZdj71AnZbqQAjVBfM6MMhRIMl5UOIfQgG74lXBky1qWNCtCR6rgJiwzjurPqRAgI5uDkweOykjFQBpapU+Vk= X-Received: by 2002:a17:902:7fcd:b0:142:8ab3:ec0e with SMTP id t13-20020a1709027fcd00b001428ab3ec0emr54368732plb.4.1638918579107; Tue, 07 Dec 2021 15:09:39 -0800 (PST) MIME-Version: 1.0 References: <20211206015903.88687-1-baolu.lu@linux.intel.com> <20211206015903.88687-4-baolu.lu@linux.intel.com> <20211206144535.GB4670@nvidia.com> <20211206150415.GD4670@nvidia.com> In-Reply-To: <20211206150415.GD4670@nvidia.com> From: Dan Williams Date: Tue, 7 Dec 2021 15:09:28 -0800 Message-ID: Subject: Re: [PATCH v3 03/18] driver core: platform: Rename platform_dma_configure() To: Jason Gunthorpe Cc: Christoph Hellwig , Stuart Yoder , "Rafael J. Wysocki" , David Airlie , Linux PCI , Thierry Reding , Diana Craciun , Dmitry Osipenko , Will Deacon , Ashok Raj , Jonathan Hunter , Kevin Tian , Chaitanya Kulkarni , Alex Williamson , KVM list , Bjorn Helgaas , Greg Kroah-Hartman , Cornelia Huck , Linux Kernel Mailing List , Li Yang , "open list:DMA MAPPING HELPERS" , Jacob jun Pan , Daniel Vetter , Robin Murphy Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 6, 2021 at 7:04 AM Jason Gunthorpe wrote: > > On Mon, Dec 06, 2021 at 06:47:45AM -0800, Christoph Hellwig wrote: > > On Mon, Dec 06, 2021 at 10:45:35AM -0400, Jason Gunthorpe via iommu wrote: > > > IIRC the only thing this function does is touch ACPI and OF stuff? > > > Isn't that firmware? > > > > > > AFAICT amba uses this because AMBA devices might be linked to DT > > > descriptions? > > > > But DT descriptions aren't firmware. They are usually either passed onb > > the bootloader or in some deeply embedded setups embedded into the > > kernel image. > > Pedenatically yes, but do you know of a common word to refer to both > OF and ACPI that is better than firmware? :) > > AFAICT we already use firwmare for this in a few places, eg > fwnode_handle and so on. I've always thought 'platform' was the generic name for otherwise non-enumerable platform-firmware/data things enumerated by ACPI / OF.