Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1399785rwd; Tue, 16 May 2023 17:05:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70S1KxJlaUqzxxHyF1LRlCoWTDnHVsp9oTXKeCdKYzWNindW1eHvSWTSrTb3zWHaLauimq X-Received: by 2002:a17:902:ed8e:b0:1a9:765c:77ac with SMTP id e14-20020a170902ed8e00b001a9765c77acmr37350549plj.7.1684281933205; Tue, 16 May 2023 17:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684281933; cv=none; d=google.com; s=arc-20160816; b=y7YzveM8uDR4Og28btwHqimUOAbebS31dwMd1RQH6U7x8eO7tpOhsEwmSMSQXGymmQ VQW8c7RBkJTyQw+jl53x3u3Jnw6Na7pUqyKjrQ4cYLqMS9xt3XTpKFqzuLzsmCWO6DcQ wvSJ3s3ldBrlIvEA50SFasiPbtM4URM0GOYiDa+dl/YMEiEXJnTRfpSYIDEIEF7QBv/q v+QU+A2E6fz4D0nGnbyhuvnJ6jDuTPbgDwCkFRy9Z5NtCjczowj+5w+Gdr2VeQWFw2QH gFwd7crlQPAmoxPDjg1mHe4IOSafKSC8wBAeh9NSQFOkjqafO+SAz+zmyPG+r8BLlQKW GFBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=F0lqRcsSsQH0bBfoyNKX+3AOqI8xO1VZEspaatlK78k=; b=UE1JvnHixiW2J2lBEN1Ib/Vuj/fkVpLDteTWSKmnNPA2iKJeECExudne5bMxB7dMA0 YNcGjXCZuiR7BJ0+JyQoRM4+QZDVF4l9XQKHdrgu2u0kMVpywA8+EN/pOqoqUj4SQcNQ pKfE+8uUvKVN1q3lO+CWV9BrzgIIXg4pBwKRq1W5jfuowk0kOFvpBEy+Uyaj4bN7LqUo UjTQV9r0iMLm5gv1Aq4UbC9C5kdB6acMrYBzgPSbeVVDuR6cO4nHeLvsEP2cQQwP+qSv uNG2YV00o9mjXtvpkpp46jpPUehhpYxBxAqM9n8aB8GOCtvvqGiw71qyGc3w8vwAzcpy ITTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="uA7/LYKh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m12-20020a170902db0c00b001a6ade4c8c2si12289025plx.142.2023.05.16.17.05.18; Tue, 16 May 2023 17:05:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="uA7/LYKh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231148AbjEPXWm (ORCPT + 99 others); Tue, 16 May 2023 19:22:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjEPXWi (ORCPT ); Tue, 16 May 2023 19:22:38 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79BDA4EEE for ; Tue, 16 May 2023 16:22:34 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2ac87e7806aso23791fa.3 for ; Tue, 16 May 2023 16:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684279353; x=1686871353; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=F0lqRcsSsQH0bBfoyNKX+3AOqI8xO1VZEspaatlK78k=; b=uA7/LYKh5HNBNHXQxR6NRDVGEgME5E/5oAkzu0StP2gjzSumdlZ5g/rL//IZqzjU2A +gViSD7O4lfppe164q8n3Xky20BhzZGAf9iDiwAoTUlqsRsCx4UDh6Y/4F2Pbhdlqr7y yYeUOjhEnhKVEUFdeF5UPkS2h3e5qRfnS4HxxaJ5HaIUa+T1kYHvOhBXJczw9/U8vjEa hDN85Ae1svLt7wJIHQffrL0BDY/BTIN9Q+HdpgaykIIQbVNyGHRd8tDHTu7LnyBvKsIg aZw8IXL3rbqbK4RVyIEKRlyjXcgTXQjY6UuJ/rLJ0hPQ0Z1PI90sjmJFeIddz1YMZvjs ypXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684279353; x=1686871353; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=F0lqRcsSsQH0bBfoyNKX+3AOqI8xO1VZEspaatlK78k=; b=N6fh/b1IrA23V9uVI2klXm2CAEKLz1jCBjRIixll2h3xZiKhvLOvWCaeta8Qjrn+yr s/Nz/BIBxTCcinXmwvzuHbmLcnywcPTvz0rOvVF3nWfsX1LYN0iCvmcAE5FtXUGHlh4g 5ozzlVcx0TN6hn5j/8d7wiw/i6bHc+ME7PA1dXd/QS+SEPDt+SLISOXy4xeJtPbGOq0b sjkB/AbPcBzcRDmjzWmosVRTIPtAFdtdKXVZHu+U4Nxqry/8iPkkwkg47tLOLB/DUInU i9g/hNUtoqr6Nb/ZTGzPwisJ+qyCfKUa3AlsqaYGwaNjBCS4a39nu8XHPtDFzKZ64X+M GCSQ== X-Gm-Message-State: AC+VfDzoibGq1/UiJ1DQrVCLclx9j50Sc3jqsfg8/PD1DYTyZZ41hfk4 zVQURM4H66kg6VtnRwnIORWbDw== X-Received: by 2002:a2e:8851:0:b0:2ac:8e69:c06d with SMTP id z17-20020a2e8851000000b002ac8e69c06dmr9126360ljj.49.1684279352762; Tue, 16 May 2023 16:22:32 -0700 (PDT) Received: from ?IPV6:2001:14ba:a0db:1f00::8a5? (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id e4-20020a2e9e04000000b002aecfa8c58bsm1321531ljk.40.2023.05.16.16.22.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 May 2023 16:22:32 -0700 (PDT) Message-ID: Date: Wed, 17 May 2023 02:22:31 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v4 1/2] iommu/arm-smmu-qcom: Fix missing adreno_smmu's Content-Language: en-GB To: Rob Clark , dri-devel@lists.freedesktop.org, iommu@lists.linux-foundation.org Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio , Will Deacon , Rob Clark , stable@vger.kernel.org, Lepton Wu , Robin Murphy , Joerg Roedel , Sai Prakash Ranjan , Bjorn Andersson , Elliot Berman , Marijn Suijten , Melody Olvera , "moderated list:ARM SMMU DRIVERS" , "open list:IOMMU SUBSYSTEM" , open list References: <20230516222039.907690-1-robdclark@gmail.com> From: Dmitry Baryshkov In-Reply-To: <20230516222039.907690-1-robdclark@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/05/2023 01:20, Rob Clark wrote: > From: Rob Clark > > When the special handling of qcom,adreno-smmu was moved into > qcom_smmu_create(), it was overlooked that we didn't have all the > required entries in qcom_smmu_impl_of_match. So we stopped getting > adreno_smmu_priv on sc7180, breaking per-process pgtables. > > Fixes: 30b912a03d91 ("iommu/arm-smmu-qcom: Move the qcom,adreno-smmu check into qcom_smmu_create") > Cc: > Suggested-by: Lepton Wu > Signed-off-by: Rob Clark > Reviewed-by: Konrad Dybcio > --- > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry