Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp584853imm; Wed, 26 Sep 2018 03:46:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV60YRaVGIizESIKx5cX9MCb1SUOoB3eSuhveWL4K5PsbY0ts7VAPgB75ckFgQGtCkeso1px1 X-Received: by 2002:a62:c8c3:: with SMTP id i64-v6mr5719798pfk.183.1537958762385; Wed, 26 Sep 2018 03:46:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537958762; cv=none; d=google.com; s=arc-20160816; b=V9ibuR3IIR04HxhYbAGk12qNkz8SvNmHfiGQFDEVzRXaMTBPyeRq9UFqHhig/s2KUk y+ktpy7MUt2LLxdMDOR100GR9HbFh8h+7vevm/z0ezc/PLJ7Li2Xaev66m5GGKW60DHF hYuWuiRDfqgMcRGpAnRNHv7sqMn71I+LDtyz04EHWz9+hyLADPO7S/xcvxDpJHyAlaJc XUE1uWmsiKdB7hognEPzTLsSYVMexfjLdmQhpvi2+ItrwP7GAVaz/ui5dbhPsSPoQ5Cy IZoFRdMz15BkppmJqF4kiacMPj7+Qg8O+AloUW9yBj+d5aUPwUTD3ZLVxYfd2RcWqz31 ZUYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=/DMQuRhscBrg3R/JjM6xfKxV01+2672Wlx+05u7D/5s=; b=hw7hcaxXxXc+AvenSHTVTYDbTtb1XVcZ7wO1Ax9FP4D7Wfwx6zq5sUDL5A6W7a5nWP wyH1N7sci1w+aI6dRJDE7288GGAhsCHrnVGWYge37lTHQoJQg79GC013+ryhk+984ADa xejtBvpmuQuBzX6lFkXbfWif2WqiplrTEtOsouvaGi095N/5XSDYzbhyl7ZVLyK+bJEA pqg3b6ANbDtSAs4Lav5aQ9swO49ypqp7i5BsMD/VDopJIZty4R0zDN76N75JO3UnoHId ellr0GoxTbGk4IBo05EPtcTuRdmdNY80hYWigDwCBa2AvIR5kUj1w9BnE0WbVV/QOxFL pZ8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3-v6si5035505pgk.176.2018.09.26.03.45.46; Wed, 26 Sep 2018 03:46:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727239AbeIZQ5w (ORCPT + 99 others); Wed, 26 Sep 2018 12:57:52 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:42922 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726703AbeIZQ5w (ORCPT ); Wed, 26 Sep 2018 12:57:52 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 823ECED1; Wed, 26 Sep 2018 03:45:31 -0700 (PDT) Received: from [10.4.12.131] (e110467-lin.emea.arm.com [10.4.12.131]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3407B3F5BD; Wed, 26 Sep 2018 03:45:29 -0700 (PDT) Subject: Re: [PATCH 4/4] dma-mapping: clear dev->dma_ops in arch_teardown_dma_ops To: Christoph Hellwig , Guenter Roeck Cc: iommu@lists.linux-foundation.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Marek Szyprowski , Bjorn Helgaas , linux-pci@vger.kernel.org, Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org References: <20180827084711.23407-1-hch@lst.de> <20180827084711.23407-5-hch@lst.de> <20180922150119.GA14761@roeck-us.net> <20180925201619.GB8413@lst.de> From: Robin Murphy Message-ID: Date: Wed, 26 Sep 2018 11:45:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180925201619.GB8413@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/09/18 21:16, Christoph Hellwig wrote: > Looking at the code I think this commit is simply broken for > architectures not using arch_setup_dma_ops, but instead setting up > the dma ops through arch specific magic. > > I'll revert the patch. Ugh, sorry about missing that too. Ack to a revert - thinking about those PPC symptoms, it might actually be that other architectures could also get into the same pickle just by unbinding and rebinding a driver (e.g. switching to VFIO then back again). Robin.