From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69D1FC433E1 for ; Tue, 21 Jul 2020 16:21:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4794D207BB for ; Tue, 21 Jul 2020 16:21:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ymm00dD9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730041AbgGUQVH (ORCPT ); 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-Google-Smtp-Source: ABdhPJwlkQdsmXiGVJuT5fBMSRufgvGnNFQJWXPQYp7JmU26Bood8ogKvJRBt/XX6NId4d0K7v9nUTgHvmnJoTuh4oY= 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82B3EC433E3 for ; Tue, 21 Jul 2020 16:21:11 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4159B20771 for ; Tue, 21 Jul 2020 16:21:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ymm00dD9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4159B20771 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 10BD9864F3; Tue, 21 Jul 2020 16:21:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oMV67mI29mJI; Tue, 21 Jul 2020 16:21:10 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id 98B42864A4; Tue, 21 Jul 2020 16:21:10 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8B6A7C089F; Tue, 21 Jul 2020 16:21:10 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9E8FEC016F for ; Tue, 21 Jul 2020 16:21:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8D0CD863B7 for ; Tue, 21 Jul 2020 16:21:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XqL2Bhlt3bBM for ; Tue, 21 Jul 2020 16:21:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f67.google.com (mail-ed1-f67.google.com [209.85.208.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id D5810864E6 for ; Tue, 21 Jul 2020 16:21:06 +0000 (UTC) Received: by mail-ed1-f67.google.com with SMTP id n2so15712002edr.5 for ; 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=UKAuIV9MFZXlsE/85ZNeABcuIIw0zCwjMoDWX7lQH1hgcYz1Pn9CSY8rb6WV8z9vSL tCWPznsADyh0dOyI90d7omI1aIFvFJSU7W2ohYxl8N0z9IakW5YPOPKgdcCvAO/r8ha0 4dO5AktUQ5fv7qq7QQGcFpgcwjI6ar34ByD8Q7OTUvs30C061LqrrNG0KxnmM/cuiGEF P9c6WBKBmeAYQC34doToR8CjOlsgWAQemap8YMhEyoFBcwf4ZiLDaaWrDJY5AkJWqhba OcsCOAJJ8tV+XRrI2DlpL5+PHxlQ5BanGoaWJOhTwappUm0ZD5OjbOmTPOCC4nsdvf8C R47g== X-Gm-Message-State: AOAM530KfRn51AT4S2MCjkq80486a9hjBijIa92CQu1Klz58KGRqy/pm ylfO470XMQWEdIWTU3Go/WAgjmws4YKBjehZDYM= X-Google-Smtp-Source: ABdhPJwlkQdsmXiGVJuT5fBMSRufgvGnNFQJWXPQYp7JmU26Bood8ogKvJRBt/XX6NId4d0K7v9nUTgHvmnJoTuh4oY= 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 X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" >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 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D50E8C433E1 for ; Tue, 21 Jul 2020 16:22:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A2A8820792 for ; Tue, 21 Jul 2020 16:22:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kLXmV85a"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ymm00dD9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A2A8820792 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:To:Subject:Message-ID:Date:From:In-Reply-To:References:MIME-Version: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Tle7WJGcmff0sp8bd1eNM/ps0mz1Gxm1RagqSnAWcFo=; b=kLXmV85a/yeOu8u31j9g7M4opj TT+zjy+Netu4q2VO45DAJiioIp7cx2A0pFurw1zlL4m4doUuM76VqNOsbq4ESHiZg+TQ7KMIYHbuK pSerEZLAzAxxXgEnL0PZWxcdfiC20MJdikYqwR8H4tU+VGcIryBjEKHFVUAHjg9nMtpOxpJdkwZEX wtWsJdEyBF9SIOGlBqLCEpO9r4dLBNKnbaCooM2XUrdtCOl5pL+yTzAXxp3G8y1DUQIgw4JHB3Gsz N9/3ho+GQtGk06vTOVaLOqEhZwVGPaLqMef6Rl8CDUn7vqXNJsBxX/is7EHrfmoofl9hM0JKvVHy+ 6gsSPyhg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxv0u-00048x-3O; Tue, 21 Jul 2020 16:21:08 +0000 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxv0s-00048Y-3g for linux-arm-kernel@lists.infradead.org; Tue, 21 Jul 2020 16:21:07 +0000 Received: by mail-ed1-x542.google.com with SMTP id e22so15706032edq.8 for ; 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=f7vvw/3gwqyLfVdXsOOmhg6nBAIcyJV+wA9jTXLY1TzwUqqm+BbQJ7dje4Pm8YD8Wg /3fcQyBc5PXpmHtlytybkOOdZ+BJ/RK3j8kDlozToRatgGROdkqhVs9eGRsgkyuQ5FL2 MnZHhqzJfzEpd8snMRCIlh/Q99KezSvozj2fFswxYtVXl71pb9eP64L2sTS+r6D+Tdik XWQyEWYjI1VQwkNViFCH5/dupqgxwFiZHn/aEdvUUPvAl+N8clT1H3PtouUK6nO/y9yX 2pOYiE95HfbXb9ZANTU0Ei486dWH+BzGuaiCFH9utsmRdj07cBetb6aerTQ1bCbQXKhO /JNg== X-Gm-Message-State: AOAM5300S8Ah1vwZqSQLTpvjWidgvDbaINdsdLPeM15uXLBgC6U6GucO PZf7quHAUK9HHSPzbmLWgW/sWkcNeMf5WPOzpqs= X-Google-Smtp-Source: ABdhPJwlkQdsmXiGVJuT5fBMSRufgvGnNFQJWXPQYp7JmU26Bood8ogKvJRBt/XX6NId4d0K7v9nUTgHvmnJoTuh4oY= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_122106_327793_A8E266F3 X-CRM114-Status: UNSURE ( 8.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel