Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp785498ybh; Wed, 22 Jul 2020 13:13:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywM4CUeoJpZozPOQBl2EQK5RGQyYX/p1lgeVgKUndytWEeMBJsG5WIqfSj1eHc2VcatEw/ X-Received: by 2002:a17:906:4447:: with SMTP id i7mr1160034ejp.191.1595448819773; Wed, 22 Jul 2020 13:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595448819; cv=none; d=google.com; s=arc-20160816; b=k80GHPVXOD5OFvDgyRsqo3RE5diaKL6JjvCbNzivv67oaZqAcQd9FBLI0PwaJfnCGl lpS8Xrwmgp9x5mZNLHHYeLZfN+X5V/stQUumbjgMWJU+ogbs/GwrAcSDdSFz1Nna/c00 qH6me6hfjwl9zD6cS4jR6c5/AeQFTPsbYWt3ClQy6U4/oLRlAwlC/lIhAshTt8B9EHax Gl24CiWB1Ek74hHQQQLaS+N1CRZozpi2uYG+fSrJghyohfm3WgD0tYYRcqmgXW0bI/c9 rLg6HWwNBne5tADamN8nWOpUuIRWY+pHMBEF0vFhbZI3NXBx/g/kbcF+dul4G/Etfuxn goig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=yLTkTEgt4xUndPHOWAIycnFkBJ6E45HfBo7NtTWjQFQ=; b=tIMcYfMGyvfU//Xjh/ThYsSEnnImho9PV56Rg9/UU++AuHFrPgNWMKWJXy08aCt2Cw Lr2oh0LcGUwR3gpShNch+P/Gtjle2PORpU+zWpYU83gJPtLkNH+8VTdMDDtsgVpwY5DW eLiEuvrsnGGKxC9vaov/cCYr66UvzogNKSvLzfeL99A/zkPaxNM2D5W//erRwv1qHmz7 TJ0V/76bl/snOA364B0nm5ZP9ZghyDoIXJT3KFqrPAHqKEehC0swfOFPqzyPhYMDDbRB w8MXGxQbaRt9GxGkNT+bF0aFjEnKlkqvCj4JuvJHLokC70d/GIto4k2mW/yYbeV0iz6O kZWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=alnd3LC7; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lj8si609442ejb.60.2020.07.22.13.13.17; Wed, 22 Jul 2020 13:13:39 -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=@gmail.com header.s=20161025 header.b=alnd3LC7; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732878AbgGVUML (ORCPT + 99 others); Wed, 22 Jul 2020 16:12:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732359AbgGVUML (ORCPT ); Wed, 22 Jul 2020 16:12:11 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1ACA9C0619DC; Wed, 22 Jul 2020 13:12:11 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id by13so2616575edb.11; Wed, 22 Jul 2020 13:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yLTkTEgt4xUndPHOWAIycnFkBJ6E45HfBo7NtTWjQFQ=; b=alnd3LC7bZF88GYjqDHdUOdzWFQohQLO9Zvh+1FMMZ/ID4cWZFhRotTy+TXlkoXEcf /R/ehmAb7jpmit194UXGc9oHqec/B+O6xg0Xi4GOVYWeopAdz+GgbJH4mtBQ3L/F/m/7 6nuEk1jyoebnggTXW43/6lCtVcqTkYhJqL9NfUvfcg4Y3Zkp/E7L6EyLalgH29DAEicz 2QuLDQthO5ZatNjafPEkj3YXlG8nab81KYeYJ8FrgNaJNJTNOCjhCCUfRCUI3LM5jZRr eQSYhuGhZTnw9eyUG6mJd6PFKgfPsTZBfG6nZJh+blW6cQC6zcwQVNjVtrQtUgKEYDh8 /E1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yLTkTEgt4xUndPHOWAIycnFkBJ6E45HfBo7NtTWjQFQ=; b=soLDqKv7qXux48AyLsDhwsm25+tvt8r+dxM/DAU0BgHFt45HEhcmaGvzN9/AS7U/ji CbtrQkrbqa8Rq1T/UGl3ZGxjn9Wd+4pPMdM6+e02HA+9ajfTCthTuJlkMn642fR16OZ7 XiJlwa0Knac9HNgPhl66zDBb71BtzVdT7htYzaLjevCYZeGP5YTvHsvkTLnJ/CwbCFvx ipuYzxE9aTdXi3b3cF9oqrfGrg4N+q6SpAyQVsx0qH8rD35+tT9nt4QhnaFVLrUuoiY1 bcIJYpWuWw3D7TFGjsVgO9N9IIh9/ebtpA1hM2xAasJOBqRq0BiYIVzLnc81kUMACqfe yOuA== X-Gm-Message-State: AOAM531VtVWZe+hLnsVmBZ9iLAkg+YwscEkG+GBXCzjxJ18q5CXMsoaT Uepj8wQKYNNd7CT8PpbxAn9K/YcTzJEdCa9btNI= X-Received: by 2002:a05:6402:1ade:: with SMTP id ba30mr1031198edb.231.1595448729790; Wed, 22 Jul 2020 13:12:09 -0700 (PDT) MIME-Version: 1.0 References: <20200704122809.73794-1-konradybcio@gmail.com> <20200704130922.GB21333@willie-the-truck> <20200705033511.GR388985@builder.lan> <20200721154415.GA5758@jcrouse1-lnx.qualcomm.com> <20200721235650.GN388985@builder.lan> In-Reply-To: <20200721235650.GN388985@builder.lan> From: Konrad Dybcio Date: Wed, 22 Jul 2020 22:11:34 +0200 Message-ID: Subject: Re: [PATCH 1/1] iommu/arm-smmu: Implement qcom,skip-init To: Bjorn Andersson 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >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? I added some debug prints and the phone hangs after reaching the seventh CB (with i=6) at arm_smmu_cb_write(smmu, i, ARM_SMMU_CB_FSR, ARM_SMMU_FSR_FAULT); line in arm_smmu_device_reset. Konrad