Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp82358ybh; Tue, 21 Jul 2020 17:01:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoUwLNu4pR2Qd7TvMM9XyvVRAxaOXSIMVE0Fg129azZfR0vxZ3Z6ycU67+RQF5Bw1lMxju X-Received: by 2002:a50:d50e:: with SMTP id u14mr3170278edi.256.1595376085576; Tue, 21 Jul 2020 17:01:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595376085; cv=none; d=google.com; s=arc-20160816; b=zqfuhOLzba9TRKHtUygODAGN7slOGYQOL6A65cX511GxLEqjCQqoV9vg5/+e9zGmCL 2HNodOPmG1nIWaFeuK/eNnRN9d5kZH1Pjw6kFMlFv0OYP7/s4SNIFIRX6ClEiDTwXD4f W2IwkE1gjE+4UcVpRzjst72wpoB9V1lUtvMZmiep1JGgAEZJeXnVgcSBZTbhSfyTtfGr 3X5aIq6v4NzLic1j9bJ9tkqqpbS0SgVzKlFgsLB93hq0D8+PzX46B+QVkHlM4dki9Ws/ bcpxh4x/uSe80zT2nCoYMNgmJwlHP5Yt1EKCpaiQqGX/gDSHS6etQn3t9STAjpUQ4G/e 3lpg== 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=GuyDVxBXJ2eH/fhFLNQsFiugfMp6zgAf3tWvMyaED+s=; b=AH2yw0jlCmjSJfkwiTelcLUesH067XF/CkfgnwT5/JaaTvU9qkQ35inUQZ6SoQm74J uCnIA7B7wHAC5SgP/F2E2/knKv+SKCTeZNdZme42AQNL0c2a/H4Cb9hqvnhCbPYZnG14 /5EaTcbq3IIDAFIw18SoW+d7+ujR6B6hBoqcwX8Bjme4uglgBmy7Kj/fR6qs9WhUQrCH yZTzMyXZ/4U7HRfk+4wZKGHNYZrRoIFYK4tpGRRnfloe3wou1LdbpsoJTaKBqGsR74mV fYffPDkMNhfliBFQTBEMUi3zJZ5h+KiLDwUPkO/+uoL7Autf999jEL/YOgB0x2BbSjpx IUEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HaAgyktY; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si14839038ejd.265.2020.07.21.17.01.00; Tue, 21 Jul 2020 17:01:25 -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=@linaro.org header.s=google header.b=HaAgyktY; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731456AbgGUX6q (ORCPT + 99 others); Tue, 21 Jul 2020 19:58:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726938AbgGUX6q (ORCPT ); Tue, 21 Jul 2020 19:58:46 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31FC0C061794 for ; Tue, 21 Jul 2020 16:58:46 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id k1so207596pjt.5 for ; Tue, 21 Jul 2020 16:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=GuyDVxBXJ2eH/fhFLNQsFiugfMp6zgAf3tWvMyaED+s=; b=HaAgyktYnJOdjm5FRHn5a2ME+0Fd9HVyv0m5tug3+N2yvslrpy2kUqaZrnPLE5PP5J +W1u5brVAx92kBbDzk+6zrBBUcNNPgkh7Yuhwl07N9CJU25tAyyf427zq3s7OMTudGMH 9xd4r4hn/FAIex3VFg1YQUnS+tpDa1SDcwP/OMueE0jBmmByQTwFY6ovbcf5bg9gidev 6tycNK/hXF7XZ6Ddhqc/Rwdh7puaq/3P2q6jMZKBN4udkoMsKVizjO6WN9H7+6SAv1Hh Xjtolx88vxG70K2suFvarVbFLW2TVF2dHuDRl2yX2whEBF6VUdpLrQ3QucfhyNdamySF qf5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=GuyDVxBXJ2eH/fhFLNQsFiugfMp6zgAf3tWvMyaED+s=; b=frJzwEL5WGS1Qj2Ul9FLW75jweRw2RcybrKfbabZIEKnn+2weuLJwnJKPIEttZg0v4 GwH51xhIN6y4C4xdTxfdC0ahPYrzP4pLrdObe/aMjOHHv2GUKIQWX6HL80+JByHt2z+i 58YGIXy8OJnXLusNKqOU2f/m6MLP8DF6wdarHyoYcolhPoXhx6XtdC5jT02gX4zoK7Lf 2KNaSLNBzdfkAUwzW4xtP500VKRU3nBHfwvgR2AmPZNge70/Lkq6zgIOSCapWgRM7cfP +T+vTd0eHu1SCkULGIhWQyvK5FwVEcE8tCnXZzPjXeDeeXW+5bJlWjC9j4SZ4IwuRj3j C2Sg== X-Gm-Message-State: AOAM533EeQaY8kG+jR6rHmzRmIqCKOdUsYy/xXoF+WiBgsKprw63w9E/ S3nClWbprLmqzSxtmvIAcL4FCcA1Dno= X-Received: by 2002:a17:902:8ecb:: with SMTP id x11mr18820708plo.123.1595375925125; Tue, 21 Jul 2020 16:58:45 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id a2sm21698033pfg.120.2020.07.21.16.58.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 16:58:44 -0700 (PDT) Date: Tue, 21 Jul 2020 16:56:50 -0700 From: Bjorn Andersson To: Konrad Dybcio Cc: Will Deacon , skrzynka@konradybcio.pl, Robin Murphy , Joerg Roedel , Rob Herring , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, DTML , Linux Kernel Mailing List , John Stultz Subject: Re: [PATCH 1/1] iommu/arm-smmu: Implement qcom,skip-init Message-ID: <20200721235650.GN388985@builder.lan> References: <20200704122809.73794-1-konradybcio@gmail.com> <20200704130922.GB21333@willie-the-truck> <20200705033511.GR388985@builder.lan> <20200721154415.GA5758@jcrouse1-lnx.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 21 Jul 09:20 PDT 2020, Konrad Dybcio wrote: > >The current > >focus has been on moving more of the SMMU specific bits into the arm-smmu-qcom > >implementation [1] and I think that is the right way to go. > > Pardon if I overlooked something obvious, but I can't seem to find a > clean way for implementing qcom,skip-init in arm-smmu-qcom, as neither > the arm_smmu_test_smr_masks nor the probe function seem to be > alterable with arm_smmu_impl. I'm open to your ideas guys. > Is the problem on SDM630 that when you write to SMR/S2CR the device reboots? Or that when you start writing out the context bank configuration that trips the display and the device reboots? Regards, Bjorn