Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1189672ybt; Thu, 9 Jul 2020 00:32:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyQrvFXjFQnQtJdK9f0NV3v/20QCarB6IopdSGU4fO0VcfInjXIgLkDZNWkvZ3YGwXbBB1 X-Received: by 2002:a05:6402:1c86:: with SMTP id cy6mr56462626edb.30.1594279976231; Thu, 09 Jul 2020 00:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594279976; cv=none; d=google.com; s=arc-20160816; b=EVb8jNsiT7jz0HiIfyMkeNoewv7DyTzSRBXC+7St9g0M4B/SbWgR5OzUrAnScKySia QoYtvPC9lg4LpdWvRCITMoIS5O9nTMli3FilSxm1SL6myLQWll8dIt9LR7b0/gBE7tTp DCOyuo18vkArEZhTeOMVTdkvwREJq77tfj2fYsOKmRheL1TaZto5Lh+cWnnrDmsVRDwL o8Dgpuqq21zgiu3BEMcn+YzAslT8v67OY3to9xiMCGV8I/K+XPmYt3ETkh3Bnmg9BDmt 5eipwHNPmHIevY9rKsBwZaTqmzDsVsWROPDK732tYqn71PAdo6jPnZ3MOinStJzFPECZ hy0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=bJZ/SuqdjfiVfr+CaSHqy4VF9+AMrCjGRqp4pWNO/ps=; b=Ew3rULYmdig3HyMQvz18jQVZptkl7WO+TNY24/BdKps5e3P66HFva5qLlkU/nWJomd X/ED1y/y+O5HjtCZ1ToYpAhK4MxHFKWsM+biyE4CgELvzoCe8tzX8aNqqnZ4fyE0npi9 CgvBLxHsDrbmC6s1XKTkEDKQWdOhlb2iK4JfUViY1/rwpSsdtrezGeX9YObUCDOlDDLW 4IPv3sVpSZYwsPciShBHgw4keL5s+3jSJ6A4asJOCiqjM600Qs2/aP0LrVqqJrv9+B4h hEISRM1OCTqUkaW+/IftOKgC8jNojetxiomunXSs7/TT36w6xRgfu6t3S4Ld4Hg9S8jk B8AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FgM48asA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q6si1373466ejt.351.2020.07.09.00.32.33; Thu, 09 Jul 2020 00:32:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FgM48asA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726352AbgGIHcP (ORCPT + 99 others); Thu, 9 Jul 2020 03:32:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:43504 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726184AbgGIHcO (ORCPT ); Thu, 9 Jul 2020 03:32:14 -0400 Received: from localhost (unknown [122.182.251.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C24F220767; Thu, 9 Jul 2020 07:32:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594279934; bh=osjNtW7Vcsl6XAmexC2cVHsdXszVbxZeargjrRySMuA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FgM48asAEyYqqo3pNtHvbbzcmAGnCiHesy6730e5O/fCk7lM/Mi80rry/VUTwf9fP iCxgGhQv7KrE3E5FzDK+J74umYvxzhuYbw2wsqKAURVMoT3Xvwa/Bh2wzI0j2DeJog InFdiK7M+/Xf97CQNv+GgyzC6wUOhANqppmEsb/M= Date: Thu, 9 Jul 2020 13:02:04 +0530 From: Vinod Koul To: Bjorn Andersson Cc: Will Deacon , Robin Murphy , Joerg Roedel , Thierry Reding , Laurentiu Tudor , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Jonathan Marek , linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 4/5] iommu/arm-smmu-qcom: Consstently initialize stream mappings Message-ID: <20200709073204.GH34333@vkoul-mobl> References: <20200709050145.3520931-1-bjorn.andersson@linaro.org> <20200709050145.3520931-5-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200709050145.3520931-5-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08-07-20, 22:01, Bjorn Andersson wrote: > Firmware that traps writes to S2CR to translate BYPASS into FAULT also > ignores writes of type FAULT. As such booting with "disable_bypass" set > will result in all S2CR registers left as configured by the bootloader. > > This has been seen to result in indeterministic results, as these > mappings might linger and reference context banks that Linux is > reconfiguring. > > Use the fact that BYPASS writes result in FAULT type to force all stream > mappings to FAULT. s/Consstently/Consistently in patch subject -- ~Vinod