Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp852519ybh; Tue, 21 Jul 2020 09:21:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFnRUH9RY+7CP6RRp3wDB9+JaxGp9RBaT4PSGElVsgiMqIXQGQgidUA5Qd+/EcUb8G5iqR X-Received: by 2002:a17:906:c096:: with SMTP id f22mr25144647ejz.159.1595348499872; Tue, 21 Jul 2020 09:21:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595348499; cv=none; d=google.com; s=arc-20160816; b=Z7elKdtnkGxUlAzVciI2k49TCxk8s5cJRuCTnjd+tGPo46YEd0K/7iz5/gitKvDnCp 8ScN2B/XSX7QQpKdjRK0SN/0nD36QKUyAjF6OHezhzzLFi2Q2cWDHBQbuyAmzADbFU5L PGHjIVl1nnwaX1Evt3f5NLdD9/YRO8qcfDC+ZAHRgxsFLVJUCN4clCPG4+7cOqG/uyxJ BajAWz33DKCMYn1iHLsA6RQf1d3CoubCiWudFUGSnQGv5bwygkg4h2CwqRsAQuUgSjaw mwAQHz+O78UssxqdTME6i68rPwx6tBfQdpviT8f6dWYLF0o3qYTiduu5kYr3SLF5l3VE hO5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=OHn7hEjFb/8SBXPDh1+DgoRQWsuvdjNe2+U9AyALG4o=; b=ot4uyttiacx0KDM/ZZumONc2db40Ls9RN42g1TQJ1S2eXb83c1aufcioRmQS4/vPRJ eH2cdIYdpgTZjAkVTeXtHwM4XCQf3HdI7Xeun69IDkpwIl5yLQ9ZMneL/S/xTdqcrImT YkAwJcKdn4WcN3JWEcGdguojtV9Z729YCQXVrcLn0qsQBOpR2cTjQzahNQsgsuQHX8zy BtIzqRTsMJMecPH9AU7dp2cbqzpfOJqvkfTGx2aarbQxBKLYLpkZ4byU4NompqGgpL62 PPU2+neISYge+fl93ReLYSpJpDyslgMyI99DjhvJQi4YOgow0QsXFv7F1WOEA/D0Momi 4aRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ymm00dD9; 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 r23si12733661eja.287.2020.07.21.09.21.16; Tue, 21 Jul 2020 09:21: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=Ymm00dD9; 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 S1729607AbgGUQVH (ORCPT + 99 others); Tue, 21 Jul 2020 12:21:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726890AbgGUQVG (ORCPT ); Tue, 21 Jul 2020 12:21:06 -0400 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F063C061794; Tue, 21 Jul 2020 09:21:06 -0700 (PDT) Received: by mail-ed1-x543.google.com with SMTP id dg28so15697284edb.3; Tue, 21 Jul 2020 09:21:06 -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; bh=OHn7hEjFb/8SBXPDh1+DgoRQWsuvdjNe2+U9AyALG4o=; b=Ymm00dD9F2MasO44D8/wTfY1on9EmII3e6c5icTnGDjY49MsIFNKckv4IZwX+ryogf GRb1dqFZQCLJj0kOlfQ+/ioq9eSG3gXCeDvzxIkQ3XhNVRYELEvEWCTRfL41X2oFvkFJ 6B+e20IzO63huP1rpSd2WjArWZ25Qb3gIIWlfNwKP5mOav3z7CoBOoIoQhiYBALvUL52 BYB+4ZQb63i8kAb2LtDh/0/iF3bUWc3Th+eULyeWS+cGaSLe5tkqpkhazu1sKFawBxHm fQZv5FoabAu9gg8akYzMCY6Fw5v7Hb5iimAkyb1YL8YKZPr0UHqJfXw85J3Bl5e2ND/y 4o2g== 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; bh=OHn7hEjFb/8SBXPDh1+DgoRQWsuvdjNe2+U9AyALG4o=; b=o32R44laedXCQoK+YjeInT50P1QspspQ/j9TIEET6qf9tqvrb5rnxYQ/mIUGYgihGf Zk7RMGw/otBjbnOezMldrpt5/CRsJXWVqtcUpSvlTe0xH8U0PPembi5F9Fovat/gdGlI 1xbGVzy5iluOuA7G6KVKox/KTOOv9iDkuaqdGPqWYnEtLEMooGfc5j2m7gWc+YypVYpZ ssyx26b5dcCvtMFQgrOR3Fjp4ZPxURxWmTHI5alqgwOiMQADtdviQPpRbNVH/6rHkRLG nXMYTBzKyNwKEMvf5dj8ikOWFAF4HxBVo0WFNiyzVgJx8QY1UkVoWbDhHXw1iMZrRIXu x6BQ== X-Gm-Message-State: AOAM533q43LJthqcqI0IRoEnOJvscHsSb7b2HVWwjpa4RGOjzdRbcXE0 VemRosHxSzjDadPQAcB29eG5Pq3AKa6gP4p2BUno+zTqnZw= X-Received: by 2002:a05:6402:202e:: with SMTP id ay14mr26654583edb.233.1595348465062; Tue, 21 Jul 2020 09:21:05 -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> In-Reply-To: <20200721154415.GA5758@jcrouse1-lnx.qualcomm.com> From: Konrad Dybcio Date: Tue, 21 Jul 2020 18:20:29 +0200 Message-ID: Subject: Re: [PATCH 1/1] iommu/arm-smmu: Implement qcom,skip-init To: Konrad Dybcio , Bjorn Andersson , 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 >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. Konrad