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=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 EEFC3C48BDF for ; Tue, 15 Jun 2021 19:50:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C0E42613B9 for ; Tue, 15 Jun 2021 19:50:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229898AbhFOTwk (ORCPT ); Tue, 15 Jun 2021 15:52:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:34304 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbhFOTwk (ORCPT ); Tue, 15 Jun 2021 15:52:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 14BCA6128B; Tue, 15 Jun 2021 19:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623786635; bh=mArWVnYnQ6vLGF4/jXFA3EDckajI1UgQo8mIcx1O5ZU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gp3kyyAH1Qs4tAACkkmh3LljxheC2CwXfAuW0NZ/NBAuKRtYK/syOIDj8HmnK5p6C X2hfYs6dZfSdrf5i7wlq802Ifw0a4uzQHZLseBvuieQYZFobKapi7DLmWwvcWDTGKK nfQ3WfSPwSrMDWSbu0D2x1DwII7R3AcopYWv/YsiCAbBUywpobjFBPEOO2FhbugX3f ucX/+IvX6ihNhNVlc1gt+4LoRhtSiWaRoQul2MAaoHM2pzOVTefqgwbCYkkhoxzAg+ dnB2VFqFHMKzu8LuG0jcEjWGXOvsxLRUiik2/2RSuZEtJWN5vVElmAH9cp/0gnDF5i p9tONIgr6dJ8g== Date: Tue, 15 Jun 2021 20:50:30 +0100 From: Will Deacon To: Krishna Reddy Cc: Marek Szyprowski , Thierry Reding , Krzysztof Kozlowski , Robin Murphy , Joerg Roedel , Jonathan Hunter , Nicolin Chen , "linux-tegra@vger.kernel.org" , "iommu@lists.linux-foundation.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v3 3/9] iommu/arm-smmu: Implement ->probe_finalize() Message-ID: <20210615195030.GA21783@willie-the-truck> References: <20210603164632.1000458-1-thierry.reding@gmail.com> <20210603164632.1000458-4-thierry.reding@gmail.com> <46e65ade-49cb-5437-5863-1f11ccc2205e@samsung.com> <20210615182135.GA21481@willie-the-truck> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210615182135.GA21481@willie-the-truck> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org On Tue, Jun 15, 2021 at 07:21:35PM +0100, Will Deacon wrote: > On Tue, Jun 15, 2021 at 06:12:13PM +0000, Krishna Reddy wrote: > > > if (smmu->impl->probe_finalize) > > > > The above is the issue. It should be updated as below similar to other instances impl callbacks. > > if (smmu->impl && smmu->impl->probe_finalize) > > I'll push a patch on top shortly... Done: https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git/log/?h=for-thierry/arm-smmu I'll send this lot to Joerg tomorrow. Thierry -- feel free to pull in the updated branch if you want the fix sooner, as it may be a few days before this hits -next. Cheers, Will 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=-10.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 9D54EC48BDF for ; Tue, 15 Jun 2021 19:50:42 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 44A8161246 for ; Tue, 15 Jun 2021 19:50:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 44A8161246 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 16B3960898; Tue, 15 Jun 2021 19:50:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NswtWHfMrViY; Tue, 15 Jun 2021 19:50:41 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id E3D5560873; Tue, 15 Jun 2021 19:50:40 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id AD52BC000E; Tue, 15 Jun 2021 19:50:40 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6B4C1C000B for ; Tue, 15 Jun 2021 19:50:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 572A54015D for ; Tue, 15 Jun 2021 19:50:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RS0CyTRtgYQJ for ; Tue, 15 Jun 2021 19:50:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp2.osuosl.org (Postfix) with ESMTPS id 4867440133 for ; Tue, 15 Jun 2021 19:50:36 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 14BCA6128B; Tue, 15 Jun 2021 19:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623786635; bh=mArWVnYnQ6vLGF4/jXFA3EDckajI1UgQo8mIcx1O5ZU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gp3kyyAH1Qs4tAACkkmh3LljxheC2CwXfAuW0NZ/NBAuKRtYK/syOIDj8HmnK5p6C X2hfYs6dZfSdrf5i7wlq802Ifw0a4uzQHZLseBvuieQYZFobKapi7DLmWwvcWDTGKK nfQ3WfSPwSrMDWSbu0D2x1DwII7R3AcopYWv/YsiCAbBUywpobjFBPEOO2FhbugX3f ucX/+IvX6ihNhNVlc1gt+4LoRhtSiWaRoQul2MAaoHM2pzOVTefqgwbCYkkhoxzAg+ dnB2VFqFHMKzu8LuG0jcEjWGXOvsxLRUiik2/2RSuZEtJWN5vVElmAH9cp/0gnDF5i p9tONIgr6dJ8g== Date: Tue, 15 Jun 2021 20:50:30 +0100 From: Will Deacon To: Krishna Reddy Subject: Re: [PATCH v3 3/9] iommu/arm-smmu: Implement ->probe_finalize() Message-ID: <20210615195030.GA21783@willie-the-truck> References: <20210603164632.1000458-1-thierry.reding@gmail.com> <20210603164632.1000458-4-thierry.reding@gmail.com> <46e65ade-49cb-5437-5863-1f11ccc2205e@samsung.com> <20210615182135.GA21481@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210615182135.GA21481@willie-the-truck> User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Krzysztof Kozlowski , Jonathan Hunter , "iommu@lists.linux-foundation.org" , Thierry Reding , Nicolin Chen , "linux-tegra@vger.kernel.org" , Robin Murphy , "linux-arm-kernel@lists.infradead.org" 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" On Tue, Jun 15, 2021 at 07:21:35PM +0100, Will Deacon wrote: > On Tue, Jun 15, 2021 at 06:12:13PM +0000, Krishna Reddy wrote: > > > if (smmu->impl->probe_finalize) > > > > The above is the issue. It should be updated as below similar to other instances impl callbacks. > > if (smmu->impl && smmu->impl->probe_finalize) > > I'll push a patch on top shortly... Done: https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git/log/?h=for-thierry/arm-smmu I'll send this lot to Joerg tomorrow. Thierry -- feel free to pull in the updated branch if you want the fix sooner, as it may be a few days before this hits -next. Cheers, Will _______________________________________________ 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=-10.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 41028C48BE5 for ; Tue, 15 Jun 2021 22:22:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 06DFC611C0 for ; Tue, 15 Jun 2021 22:22:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06DFC611C0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=C0vN4IFXkilM6hSMjWeZRoREEW6zOqPy8yVappSPoWk=; b=3tccZTK6gSBOjL /xwL27YTbHYlGFEBkz0FX/mWW9wwbanVTelI8fMRnH3W+Va6PS+/DESs8+Zp/Avo5BdJOEzq/RUqJ Fl8jc1IRQhOLm/ugo6ITJCJzzud45MAVUa79v3//70F6Jxn4Ga/F+qhfc3nxBx74oiDv2t/lCJ3XH qBq2ld5FHvW6d8cR+YOvbPhiCr+24/YK81+k9vhOzWx8oOU8aAScZ0wFaMwLLwXX2r9hT+AYPNBLI +7pMqUbXQveDcdhoEQtiOCgEXWXZ7Hma1TlIrhnHtp4QAZJyxzxFYz84+ofysdYDGqnPkEi14hRpp tkToXiDYpQ1Z2acztG3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltHQE-003VlQ-Ji; Tue, 15 Jun 2021 22:20:39 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltF52-002aEE-FS for linux-arm-kernel@lists.infradead.org; Tue, 15 Jun 2021 19:50:40 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 14BCA6128B; Tue, 15 Jun 2021 19:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623786635; bh=mArWVnYnQ6vLGF4/jXFA3EDckajI1UgQo8mIcx1O5ZU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gp3kyyAH1Qs4tAACkkmh3LljxheC2CwXfAuW0NZ/NBAuKRtYK/syOIDj8HmnK5p6C X2hfYs6dZfSdrf5i7wlq802Ifw0a4uzQHZLseBvuieQYZFobKapi7DLmWwvcWDTGKK nfQ3WfSPwSrMDWSbu0D2x1DwII7R3AcopYWv/YsiCAbBUywpobjFBPEOO2FhbugX3f ucX/+IvX6ihNhNVlc1gt+4LoRhtSiWaRoQul2MAaoHM2pzOVTefqgwbCYkkhoxzAg+ dnB2VFqFHMKzu8LuG0jcEjWGXOvsxLRUiik2/2RSuZEtJWN5vVElmAH9cp/0gnDF5i p9tONIgr6dJ8g== Date: Tue, 15 Jun 2021 20:50:30 +0100 From: Will Deacon To: Krishna Reddy Cc: Marek Szyprowski , Thierry Reding , Krzysztof Kozlowski , Robin Murphy , Joerg Roedel , Jonathan Hunter , Nicolin Chen , "linux-tegra@vger.kernel.org" , "iommu@lists.linux-foundation.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v3 3/9] iommu/arm-smmu: Implement ->probe_finalize() Message-ID: <20210615195030.GA21783@willie-the-truck> References: <20210603164632.1000458-1-thierry.reding@gmail.com> <20210603164632.1000458-4-thierry.reding@gmail.com> <46e65ade-49cb-5437-5863-1f11ccc2205e@samsung.com> <20210615182135.GA21481@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210615182135.GA21481@willie-the-truck> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210615_125036_615936_9B21B007 X-CRM114-Status: GOOD ( 12.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 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 On Tue, Jun 15, 2021 at 07:21:35PM +0100, Will Deacon wrote: > On Tue, Jun 15, 2021 at 06:12:13PM +0000, Krishna Reddy wrote: > > > if (smmu->impl->probe_finalize) > > > > The above is the issue. It should be updated as below similar to other instances impl callbacks. > > if (smmu->impl && smmu->impl->probe_finalize) > > I'll push a patch on top shortly... Done: https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git/log/?h=for-thierry/arm-smmu I'll send this lot to Joerg tomorrow. Thierry -- feel free to pull in the updated branch if you want the fix sooner, as it may be a few days before this hits -next. Cheers, Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel