From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754225AbdLNXEd (ORCPT ); Thu, 14 Dec 2017 18:04:33 -0500 Received: from mail-lf0-f43.google.com ([209.85.215.43]:35538 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754069AbdLNXEa (ORCPT ); Thu, 14 Dec 2017 18:04:30 -0500 X-Google-Smtp-Source: ACJfBosPFI1YfuyCbdgoFBaCL9Bc+eII/+IGSHrGNT9a9whECnoR0AQwR/3QCYh5o/lQNnL4uxNl4w== Subject: Re: [PATCH v1 2/2] memory: tegra: Introduce memory client hot reset API From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <1b8256265365e9b6dd431aeaf96f2ee9d39f484b.1513134137.git.digetx@gmail.com> Message-ID: <472eb305-fb76-e5a2-0b90-d89054463a2d@gmail.com> Date: Fri, 15 Dec 2017 02:04:27 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13.12.2017 06:12, Dmitry Osipenko wrote: > In order to reset busy HW properly, memory controller needs to be > involved, otherwise it possible to get corrupted memory if HW was reset > during DMA. Introduce memory client 'hot reset' API that will be used > for resetting busy HW. The primary users are memory clients related to > video (decoder/encoder/camera) and graphics (2d/3d). I forgot to export symbol and realized that assert/deassert functions would be necessary. For now I'll wait for the comments to v1.