Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1333387pxf; Fri, 2 Apr 2021 07:44:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY3MJ5YtCcnMRi4y/qco22uQkUpI0rFXGkbVlOitjUVuIVpNJZXaXzyvs53TuEkO0FD0pn X-Received: by 2002:a92:de01:: with SMTP id x1mr11469576ilm.109.1617374642556; Fri, 02 Apr 2021 07:44:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617374642; cv=none; d=google.com; s=arc-20160816; b=bsbPpUsIB499wKstbpA+6YPUqzk0xu8RpvmEoqHbrGYQvxYMcQat5PA+NHeH3Dd1Oa JLOeEmVWVcBWPKDm43l2eAGQo9b/BixhjrD4FHXGYH8bj1mNKfswOMHFLZw/yr+fUpeH Hq6Lt6GFejcoUXOjkOhmMUEFYTVOk6j9ljv20CGa09nESmAuXzXHi275mdNnDqiFFSWg jbKgaBlPV0/gweE3088Gc+G1hi9KJTiJc30m1RjF4bZBKiPB5v5O2kd6qdEzr3eH/d67 DESznkBHVYGGuCIkmLHPxLiDI3G7G+lPHnpw+a56pq5pJD4pv201+mbzP5VGwHUcTxgs 6Aug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=IsX2fSpKSdiwRPQlQlIkNhzwSN2iZpEukx+GE8vH9qg=; b=XLSwvw47CwQaErp1yY3njQsPojjfN02W2/HLxITGkegGJ3aCzlvFagss/C2YLEajzm hjG6HJzaPaW4qFJl/H+aSibgbVkbP0de8///TDhvzgrKb9fFOgLHlE+X+i8A5f1pDGFY K0wJFbF7CWIf3ZHtLVaJFzA+3p7EfcarxRe4OjtL5ezyOpO9R6uVbVX1I1R2LAejL2N5 aoZcJfp2Makc/tEJjMovCTwm/iTqW9oXzfN/sl7vkzNVDMqgPxSmFj30oXRti2jNIEAk mChCNvCuqGJyRg4rJJ8irnVJksKoaY2k1NGNag0blVLzsrcACybLjLex5pDUtvgZWDDu FTYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fFDfjIFU; 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 s18si8580543jaj.23.2021.04.02.07.43.47; Fri, 02 Apr 2021 07:44:02 -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=fFDfjIFU; 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 S235776AbhDBOlc (ORCPT + 99 others); Fri, 2 Apr 2021 10:41:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235584AbhDBOlb (ORCPT ); Fri, 2 Apr 2021 10:41:31 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEAB2C0613E6; Fri, 2 Apr 2021 07:41:29 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id d13so7879596lfg.7; Fri, 02 Apr 2021 07:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=IsX2fSpKSdiwRPQlQlIkNhzwSN2iZpEukx+GE8vH9qg=; b=fFDfjIFUquAmZhBi79ZzBpPk8+pSX5NyVymkZyitmoi8HBcBpJOZk6E0VXmiwNT24h 1I2ySRqqaoLzP96y6aDYdBYayiybVzEmPuYuQWr4UyKWtwzfUTt6q58ekkwqJ6S1Tu54 FdWi856BHZtiMeNf9djvldoC41p1vhRHr115ksgkBOTI6aW+ade4OTNp10viyhYyyWh6 gVe57qpwV0m5wEUH8+CsHWXpZZ3pWazL9nmkZ70HMERVlIRFpGyDEXBPmf8dXC5r0wmX ixrIMy95017vGsprcoRWBrHgbedvXjdqZHkqdAaA2+rbLd/2obfXgHGouQQDbQnWJwOj PZFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IsX2fSpKSdiwRPQlQlIkNhzwSN2iZpEukx+GE8vH9qg=; b=HKD5ToiK3E07uGiJF2be6z9Ha+9HdfC63ZUNnCp95uK+mavc0BZYPKQOMn6CMaGQbq 8dUrYVK4azq3xpJhQL6LHUnXpUj2jS9yRP+RzXMhc7LYJlM+MVgyCc3Sd7TWXjacLoW6 leADibXygD4cnqF4AD9mAAn0EZiS7vrB1QuTZeUGWkW3LWTMFnrUEOiMtAjMv+ofa/am Sr9FQJJYd/yqzUm6fcX3WJ5zgRBWJ8ByevQLdvRQGgbtxcjfX7/w52uy25gXMTw9XPbs Zc850ufzolPhri/QxoRYBehjFGHCePuARvbGHhaFF34nqfp8hKjawwocGHU48U4f93kP kDHA== X-Gm-Message-State: AOAM532jTlEjY+syTia4piFkPL3hXMOe+Ufuet6AY/96avW7eXNGYe3p kJ0TQPh2PWtgTEO/bNJhjfMGGbcZVTk= X-Received: by 2002:a19:5008:: with SMTP id e8mr8987591lfb.571.1617374488127; Fri, 02 Apr 2021 07:41:28 -0700 (PDT) Received: from [192.168.2.145] (109-252-193-85.dynamic.spd-mgts.ru. [109.252.193.85]) by smtp.googlemail.com with ESMTPSA id x19sm878929lfr.198.2021.04.02.07.41.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Apr 2021 07:41:27 -0700 (PDT) Subject: Re: [PATCH v1 2/2] iommu/tegra-smmu: Revert workaround that was needed for Nyan Big Chromebook To: Nicolin Chen , guillaume.tucker@collabora.com Cc: Thierry Reding , Joerg Roedel , Jonathan Hunter , Krishna Reddy , Will Deacon , iommu@lists.linux-foundation.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210328233256.20494-1-digetx@gmail.com> <20210328233256.20494-2-digetx@gmail.com> <20210401085549.GA31146@Asurada-Nvidia> From: Dmitry Osipenko Message-ID: <50a7e4c7-0e72-534a-a317-366e455213c1@gmail.com> Date: Fri, 2 Apr 2021 17:40:55 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210401085549.GA31146@Asurada-Nvidia> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 01.04.2021 11:55, Nicolin Chen пишет: > On Mon, Mar 29, 2021 at 02:32:56AM +0300, Dmitry Osipenko wrote: >> The previous commit fixes problem where display client was attaching too >> early to IOMMU during kernel boot in a multi-platform kernel configuration >> which enables CONFIG_ARM_DMA_USE_IOMMU=y. The workaround that helped to >> defer the IOMMU attachment for Nyan Big Chromebook isn't needed anymore, >> revert it. > > Sorry for the late reply. I have been busy with downstream tasks. > > I will give them a try by the end of the week. Yet, probably it'd > be better to include Guillaume also as he has the Nyan platform. > Indeed, thanks. Although, I'm pretty sure that it's the same issue which I reproduced on Nexus 7. Guillaume, could you please give a test to these patches on Nyan Big? There should be no EMEM errors in the kernel log with this patches. https://patchwork.ozlabs.org/project/linux-tegra/list/?series=236215