Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4497948ybi; Tue, 11 Jun 2019 07:37:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqylEt5+9xS46VEfySD6x71ikpyhUq46YOB6zwOFA1mHfVrlVdbVpfR6e60taRG6/KRqJehT X-Received: by 2002:a17:90a:b387:: with SMTP id e7mr8615511pjr.113.1560263858645; Tue, 11 Jun 2019 07:37:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560263858; cv=none; d=google.com; s=arc-20160816; b=wAgYoP0DLDCXetpkxbxwnprBZnQeqxCHA0zvQPSsy1EuFSRPCs7zcoADiihnrvavlc 7AZU+bc32qqrhN6QgiSIO/0hQqxtYSzO5N16utG5C2QAWOeuvbVvPR1kqJt0LMetIfE8 Wsjx2ZPNLubURp9MT0t0Rg4Md/1oW+tf/jsRToJLbyg2VVGLJmVvvcocsd5q4dcm/gvI 6qyndvbEFq1uMeKDifZQhALHk7zN0GCFcqG59652qGGRUDT9BC3oQ8L/KhRi/LDG0IKL GbLjt0BSxkkh7Vwaqu6mlmGqyrpKu36tg2T/2IyeApbX5A6AfyuMzCO1Q460j/qKyIlt ZmbQ== 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=t6k2KSh5zmRu+C0vDoxLirJHmwGi3Q3qCLAdBnAOMdE=; b=bbVun0I/PGtuyCRoVwqrwLtG6SbEZY/nzhsVRG3jQS7c7Ov2frq4jnwyZ8aLI1jnty MjKDnefrgE+VwYNPzQX2aLdkmZ/HoszX2LIXnlhuwBwOews+z23a2mPmsBp7Cgg8V1px Q4I/iSlDu90rPbJM4OlkrnkubnxZzkCoLZa2tdphdvXooT+KaCwPaUrMTsNiE8qfZIoN KU7tgntSzDi30I5f0Xs5OFARfg+ZZ1cvtwBbRnxKO9Ek5wi03ZrRIXO2voF058RQ+V4O XF2AT4wmeN9rJJm+JHrrtHcv6IakaGeDKpWmMhUws69ZDzze8kr3U86FxhtxXjj06dtx P1dQ== 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 a22si1459746pgb.292.2019.06.11.07.37.22; Tue, 11 Jun 2019 07:37:38 -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 S2403861AbfFKOgE (ORCPT + 99 others); Tue, 11 Jun 2019 10:36:04 -0400 Received: from foss.arm.com ([217.140.110.172]:34452 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387551AbfFKOgD (ORCPT ); Tue, 11 Jun 2019 10:36:03 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B1C1F337; Tue, 11 Jun 2019 07:36:02 -0700 (PDT) Received: from [10.1.196.129] (ostrya.cambridge.arm.com [10.1.196.129]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8B72D3F557; Tue, 11 Jun 2019 07:36:01 -0700 (PDT) Subject: Re: [PATCH 8/8] iommu/arm-smmu-v3: Add support for PCI PASID To: Jonathan Cameron Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, will.deacon@arm.com, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, robh+dt@kernel.org, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org References: <20190610184714.6786-1-jean-philippe.brucker@arm.com> <20190610184714.6786-9-jean-philippe.brucker@arm.com> <20190611114542.000021f1@huawei.com> From: Jean-Philippe Brucker Message-ID: <3994ac33-e3e5-ba34-a669-c70a76a97e6e@arm.com> Date: Tue, 11 Jun 2019 15:35:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190611114542.000021f1@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/06/2019 11:45, Jonathan Cameron wrote: >> + pci_disable_pasid(pdev); >> + master->ssid_bits = 0; > > If we are being really fussy about ordering, why have this set of > ssid_bits after pci_disable_pasid rather than before (to reverse order > of .._enable_pasid)? Sure, I'll change that Thanks, Jean