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 X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38F51C433E2 for ; Sat, 18 Jul 2020 17:17:20 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0111520717 for ; Sat, 18 Jul 2020 17:17:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZmYPJrBU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0111520717 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CE40188020; Sat, 18 Jul 2020 17:17:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bT7GVY4AFv-6; Sat, 18 Jul 2020 17:17:19 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 36A1587ECD; Sat, 18 Jul 2020 17:17:19 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 1F81BC0865; Sat, 18 Jul 2020 17:17:19 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 70E29C0733 for ; Sat, 18 Jul 2020 17:17:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6069987ECD for ; Sat, 18 Jul 2020 17:17:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4Sbgjjc8NETJ for ; Sat, 18 Jul 2020 17:17:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id 959D481B42 for ; Sat, 18 Jul 2020 17:17:16 +0000 (UTC) Received: by mail-pl1-f196.google.com with SMTP id p1so6783613pls.4 for ; Sat, 18 Jul 2020 10:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=x9/2xXqwMMIu02V9Vx1i6FLVJT0HyPCTnfOosfXOgaE=; b=ZmYPJrBUjNKjox4NeljunjKcZnnBt381R+Y3talOfWMy350/GqtfWzR+C/0U5VL655 43SRvWcRjhK+5Mi/BEiOLCbTWf5Wu3G0hqZx5KPtfn9E9IaCJrMMnl1XyxSh79vSFcTP 9VzUagMa36hnuLwHjTAbCOQVNEhkEmV77yV2LB2WouQ4ecnWJgVJLGETFa/ElAHeUE26 H3xABIR+F8PswuSXDNENHnFy7B0XnW4QvowXg3TbSNg7vyhZpX5UClydnK2haFsnP93g Cuhmw3SsOEyFckbVyg+1uV7gl9N3cZNy7um3aP+3k0UuqKO3wktU0eGUMav8D9677/6p 8seg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=x9/2xXqwMMIu02V9Vx1i6FLVJT0HyPCTnfOosfXOgaE=; b=ehDiPLkqAEZLAS6LQZOsrm1Nu4apM8cVErmMV9wes1eqlsfr2+ise4pnIB7wqfqdX2 1qT9Cw/6+2Y9JPlSAnwDeSsH6QMP12z7lDLYQcDVGEpnqQPrXnsNUuFDlt445pMnuYlt wb4vVFjbxv0PclxZ+0eWYPnVpFaaZ/nJdoUxIXFbC1ooRFmOLsxBQ1z5ktJSx/9nmgIK 7kcRyB8u0uvdp6iaHhDbJ36N5yoJXV+xgvkZCGaChKnJMROwuaC3+mgoZ59JnWmhxzMD c94ynMRLvvdDQBpe+v/UsGSqSWBACgLOv+RUr3PpqqXmh88HXDqxcB+JHU39P0qn7yAD Za6g== X-Gm-Message-State: AOAM53336Z1dSexPmrIB9tlWEBCZnszo3YqvWGEEoTyzZPx9r8JtmcjK mymZbdi+ej4GwTJ92tAPd+M= X-Google-Smtp-Source: ABdhPJzA3RY/xQJRaNa31hOIDeekxbCxvMbScjxAzsMkHADaeWF07zK6Wn7kuGT9XTzSZOBRC47OSA== X-Received: by 2002:a17:90b:24a:: with SMTP id fz10mr15055235pjb.36.1595092636134; Sat, 18 Jul 2020 10:17:16 -0700 (PDT) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id d18sm6080726pjv.25.2020.07.18.10.17.15 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 18 Jul 2020 10:17:15 -0700 (PDT) Date: Sat, 18 Jul 2020 10:17:14 -0700 From: Guenter Roeck To: Christoph Hellwig Subject: Re: [PATCH 3/5] dma-mapping: make support for dma ops optional Message-ID: <20200718171714.GA237687@roeck-us.net> References: <20200708152449.316476-1-hch@lst.de> <20200708152449.316476-4-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200708152449.316476-4-hch@lst.de> User-Agent: Mutt/1.9.4 (2018-02-28) Cc: Daniel Borkmann , Greg Kroah-Hartman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, Jesper Dangaard Brouer , Robin Murphy X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Wed, Jul 08, 2020 at 05:24:47PM +0200, Christoph Hellwig wrote: > Avoid the overhead of the dma ops support for tiny builds that only > use the direct mapping. > > Signed-off-by: Christoph Hellwig For ppc:pmac32_defconfig and other configurations, this patch results in: Error log: drivers/macintosh/macio_asic.c: In function 'macio_add_one_device': drivers/macintosh/macio_asic.c:393:16: error: 'struct device' has no member named 'dma_ops' 393 | dev->ofdev.dev.dma_ops = chip->lbus.pdev->dev.dma_ops; | ^ drivers/macintosh/macio_asic.c:393:47: error: 'struct device' has no member named 'dma_ops' 393 | dev->ofdev.dev.dma_ops = chip->lbus.pdev->dev.dma_ops; | ^ Bisect log attached. Guenter --- # bad: [aab7ee9f8ff0110bfcd594b33dc33748dc1baf46] Add linux-next specific files for 20200717 # good: [11ba468877bb23f28956a35e896356252d63c983] Linux 5.8-rc5 git bisect start 'HEAD' 'v5.8-rc5' # bad: [4d55a7a1298d197755c1a0f4512f56917e938a83] Merge remote-tracking branch 'crypto/master' git bisect bad 4d55a7a1298d197755c1a0f4512f56917e938a83 # bad: [49485850238eb3fc72aac951e47e33e367aafbab] Merge remote-tracking branch 'hid/for-next' git bisect bad 49485850238eb3fc72aac951e47e33e367aafbab # bad: [4406fe306759d700f2b2aa8adf890a7d7ef064ae] Merge remote-tracking branch 'tegra/for-next' git bisect bad 4406fe306759d700f2b2aa8adf890a7d7ef064ae # bad: [27f18f0e00ed1f15ee55d479216c874561b6b70a] Merge remote-tracking branch 'arm-soc/for-next' git bisect bad 27f18f0e00ed1f15ee55d479216c874561b6b70a # good: [a23a793b03f465cf2222fa29e7f81d732a6f6fdf] Merge remote-tracking branch 'usb-chipidea-fixes/ci-for-usb-stable' git bisect good a23a793b03f465cf2222fa29e7f81d732a6f6fdf # good: [05d94a2de41e8d9840d9749d553febdcf99cb0e5] Merge branch 'arm/drivers' into for-next git bisect good 05d94a2de41e8d9840d9749d553febdcf99cb0e5 # good: [5fef5dc17f097794288acb098ccc80eb91142bf4] Merge branch 'for-next/mte' into for-next/core git bisect good 5fef5dc17f097794288acb098ccc80eb91142bf4 # good: [3c7f84b2248457030a903813e4af71d80141d663] Merge remote-tracking branch 'fpga-fixes/fixes' git bisect good 3c7f84b2248457030a903813e4af71d80141d663 # bad: [88ff79e455afa3ac90739da27e24f655a965e3cf] Merge remote-tracking branch 'dma-mapping/for-next' git bisect bad 88ff79e455afa3ac90739da27e24f655a965e3cf # good: [7c4d50d4973b40c53ef6c592b41b0473127e6762] kbuild: do not export LDFLAGS_vmlinux git bisect good 7c4d50d4973b40c53ef6c592b41b0473127e6762 # good: [c45db534668104ed5112ed371526db6096ac5742] Merge remote-tracking branch 'kbuild/for-next' git bisect good c45db534668104ed5112ed371526db6096ac5742 # bad: [249542813648f7a278895ad25674d3e147f49ad6] dma-mapping: make support for dma ops optional git bisect bad 249542813648f7a278895ad25674d3e147f49ad6 # good: [b4174173005972f8f6497883d08d87e0aba1b604] dma-mapping: inline the fast path dma-direct calls git bisect good b4174173005972f8f6497883d08d87e0aba1b604 # first bad commit: [249542813648f7a278895ad25674d3e147f49ad6] dma-mapping: make support for dma ops optional _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu