Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1501904imm; Sat, 4 Aug 2018 04:55:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdciR9v8ZgseG+tt1U8rQPXDxlRPa8MpJJF75LI+dQ/CA21oDmDvOC5LrrVo99M9XDL+tma X-Received: by 2002:a63:1722:: with SMTP id x34-v6mr7488659pgl.268.1533383740153; Sat, 04 Aug 2018 04:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533383740; cv=none; d=google.com; s=arc-20160816; b=Y7euJUR76x1HN29+9nnUBJjttLGo1WJovsVPVcfO2Du3ukTgai/WEneN+GvQn9iTBc Cu5xcKJFFlsfZkXBqVqKnKnOelbaVG/juDG/pLmXb7som5Iq7U7nCVFLpWoxzkgaWSRF YpyW12LrYUef3oRWpkI3GWRIXXnreebl4rqcrb0kTUTD4exaGPu+9YvpmFBnhfVV9MJC XHsvJpz8vIrpE0iyri9DERPb5aUKo5UrRa9RwVbGKykDpZwCzC3d0RsH9lqBVLpn3igb BJbhq0OhHUd0UDi9u3hrT9WcQMxEnACjrQSIu9BA5gTwvYKaXwZPTbTj8i93MJO5ompQ ClyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=RI3Tu2O+l8H/RLnhOlOKwo0o27c+tF591SEVuGVNbnU=; b=O/1WevHlO76fD96F8VfGE6OmItdMnbG/f0nSeLmensv2XqYFyVmugQFhw2ErQLxVwK cUkQI0x8I0SSb6TxwrvgqVRhTU+P3Z60jUgJmKbKXmAdlpZeI1GEyl6wCQU353RX+SNm Jy67jDcMrsOqjtwJYdF88DPQwzTP+O1uAuSSlEeEPjcxl59IYeoe+ySgOvKRxVe1xhUz bQNZfkRkWvG2LZO2E17C42qf5NysII1uczZveZly6hwHlUbW60ntptMl0Zqe4D/u4CRH kOYQcCocSsKCXhV8+EbflxPSXbTDcEDL0SU8YxYJAfAXJ4oO/7eJJMnJbYHgQ0Mo9XXc yLew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lC1jLszs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id n13-v6si5988427pgq.655.2018.08.04.04.54.49; Sat, 04 Aug 2018 04:55:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lC1jLszs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727351AbeHDNx6 (ORCPT + 99 others); Sat, 4 Aug 2018 09:53:58 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:43208 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726588AbeHDNx6 (ORCPT ); Sat, 4 Aug 2018 09:53:58 -0400 Received: by mail-lj1-f195.google.com with SMTP id r13-v6so6965750ljg.10; Sat, 04 Aug 2018 04:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RI3Tu2O+l8H/RLnhOlOKwo0o27c+tF591SEVuGVNbnU=; b=lC1jLszsVR/J1ImZTJjvfJN+wRjFSTHY1QfTCjqn7VvG5OSmJlr8lGZQh7KzooaKDT NsNpp9t8oDu6jHLYbd1s/hVnjq8Gz3o86HCLm0c/iVREi0Djlx+6d8W66O6M6XY+GtER NzGBxuAln06EIOxqAdkV/TTLKd8ztvSfEK0OpHPVeOuWTrNKZ8z+X0e31qVzR78lQPtc +AHwxMCl484Z3Y6TYF3DOBT4fak9t51LFOHBitWeEmbc8O92eGhs56iiF0YpWefHTxsH HxGWf5c4DvRumoccD4107zZ4saPp1VI+aKJyWLhZAlvReAb+w/k01AxyBuwPAMAiIWBp WJvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RI3Tu2O+l8H/RLnhOlOKwo0o27c+tF591SEVuGVNbnU=; b=cVPBkezsCDUV+95M6TrSuwJqcTzTbAoZo2GmsN3XHFloF2DODaLC3umFE6SXYLVZQk IkNGGpZTMIQ9n9zGWk+S6RWRNcXJl5GRgNwmNDtA6r+YGw7nmoSCJJa0z/537f8ndPqh 9XxchGkRR3nFXdNBeNS0hfmjjYrW1DHdDlY3Swtm/ExqCOYtbbVr2XYMuzw65SIUJqEf UEY6g0Hs/D/Vfis60nQD24PW2GAq6W9mADTCKDF7rV2012QY1sTkfmYVgk36Dg6rEMH0 tcHMEMqnrDUmWBZZqkxq4incaCFMPBom92j2HBAJfYgonDvVAfoX1Xe/Gxa55I9uAMtq s30Q== X-Gm-Message-State: AOUpUlE9suauwuO4DFNFRMNtbjn6jE+9Jpu6OX8xhFodX3sbBl3gRBMN JuVOzS+hh4W5f6Jv+HBy4DY= X-Received: by 2002:a2e:5f5b:: with SMTP id t88-v6mr8318724ljb.140.1533383608047; Sat, 04 Aug 2018 04:53:28 -0700 (PDT) Received: from dimapc.localnet ([109.252.90.13]) by smtp.gmail.com with ESMTPSA id h9-v6sm1150476lfc.47.2018.08.04.04.53.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Aug 2018 04:53:27 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Peter De Schrijver , Mikko Perttunen Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v1] memory: tegra: Block DMA for clients HW on a faulty memory access Date: Sat, 04 Aug 2018 14:53:19 +0300 Message-ID: <2607799.I2xByD6lqT@dimapc> In-Reply-To: <20180508165841.13758-1-digetx@gmail.com> References: <20180508165841.13758-1-digetx@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, 8 May 2018 19:58:41 MSK Dmitry Osipenko wrote: > Currently Memory Controller informs about erroneous memory accesses done > by memory clients and that's it. Let's make it to block whole HW unit > that corresponds to the misbehaving memory client in order to try to avoid > memory corruptions and to stop deliberate attempts of manipulation by a > misbehaving client. Guys, any comments? That is a kinda useful feature, in worst case only some of memory could get corrupted instead of trashing the whole memory. In my experience with T20/30, the interrupt handling latency is low and blocking happens immediately after the first page fault.