Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1260913pxb; Tue, 29 Mar 2022 22:21:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHO/qjKs2lC3aabIKMt9M/IoYM5kBAxoGFGhcBY9tiaiVgOmno0pVK3Y/KWNjgheVMzktc X-Received: by 2002:a17:903:4052:b0:156:229d:ffed with SMTP id n18-20020a170903405200b00156229dffedmr8798160pla.98.1648617674518; Tue, 29 Mar 2022 22:21:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648617674; cv=none; d=google.com; s=arc-20160816; b=Ey/jRpm7OQABgS7nwY/4hHQj6JJynmOZZYDBmY2j89J4eUH7kCWIqkAcknwuwvnA80 4g5RF6Pud9FBPmG2LjIhFk3yzs9BzsqRqu4XS/k0O1vNCxDt8sox+Ri9IqpRSbtFFF8E vQr0Mk2DOGFcI+jpgD3r6IZK/cxuWLAz9E39sKCNIjB4Auy9BGcY/OEAcPZurjRBNmG6 P3z3eUH3iLX4u2SLC7hJ7VVuJPf2Ln4ay962NrcRHxy7bPqjsg4QDU14zylUMrhmFVFJ HBmrfWHqkl/76Aq2cKIQkWsBw8VoNZBbpE3Pbw3pr7ZoghLgaPjEdCQEw/hjHqt8bw7w wTyA== 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=XfuGlh2T61YNWoYo8bTtdhy1HF+9x/iM22pKCkDB96M=; b=T54aSyl0OHc5MvAgIgpbkSRmadondQGNCb0Zno9HK5ZF5h/ufLanxhuif3pO3jb1wG QxD8LNk274+d4mr2HGEcidlpxppbcGAY01+e60Mcs9LITvdByQux10PcOq2X/xlYA4Rc Brn8A61ZIMiG19K/APYdnUcxmdgM5s197r2QiOU5BBd0x99Ndsxk+IzRQPajU+f4bweP 53KO2KykcO8ZAZ9136OVObJ6e0MVwqPtJiAV0KUcctrY2T0LwH8RXxZknlLsiVz1Fv8Y ma3NjVRQsteiyT7jNaOdHQidQgdvDbhXNOqYPO1AwKVTomQBBiO0qyWq1LOImE6IN51m LbHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hh+IQsoK; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a23-20020a637057000000b0038207e0091dsi22469071pgn.249.2022.03.29.22.21.01; Tue, 29 Mar 2022 22:21:14 -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=@collabora.com header.s=mail header.b=hh+IQsoK; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241371AbiC3AIt (ORCPT + 99 others); Tue, 29 Mar 2022 20:08:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232984AbiC3AIs (ORCPT ); Tue, 29 Mar 2022 20:08:48 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA4B943483; Tue, 29 Mar 2022 17:07:04 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: dmitry.osipenko) with ESMTPSA id 970AC1F439F1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1648598823; bh=dRavRYMt4OXmhvAe8PF9ABx9qq8MFHZ3LSwNhkacwkE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=hh+IQsoK7zvHgnfGfROXkPwo6+B/Do7vmAiYuC7Tr1odb20mC9vKiTdnvuUlO+ALx Xy8vbDrdwHf3icILpszpILr+q/QJQOi1E2W8dKrhXZFypLtudxx6vda6dxU0Jemasu uR67nsFC7NzvXkQk7sI9gWvCga9b1MJdTJ+tS0TEftojx4SO/scHMBfhtH7CRFbavU I4ucJeC+hNVAU4R3ALFMNt4LeUuBPNH8dSjG+yT+1q9pi0j4r0bCZmfXKRjSSJu5UX PSpow83MQP2LMDDEriKj7NWEhh6DlYy6uo4GmvajJtwHrtJEfYoJIdp7S+zAuyndWs NRGBATme8EXeA== Message-ID: <04bb5ef2-15c3-d561-3572-76dc803275ef@collabora.com> Date: Wed, 30 Mar 2022 03:06:59 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [Patch v5 2/4] memory: tegra: Add MC error logging on tegra186 onward Content-Language: en-US To: Ashish Mhetre , krzysztof.kozlowski@canonical.com, robh+dt@kernel.org, thierry.reding@gmail.com, digetx@gmail.com, jonathanh@nvidia.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org Cc: vdumpa@nvidia.com, Snikam@nvidia.com References: <20220316092525.4554-1-amhetre@nvidia.com> <20220316092525.4554-3-amhetre@nvidia.com> From: Dmitry Osipenko In-Reply-To: <20220316092525.4554-3-amhetre@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham 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 3/16/22 12:25, Ashish Mhetre wrote: > Add new function 'get_int_channel' in tegra_mc_soc struture which is > implemented by tegra SOCs which support multiple MC channels. This > function returns the channel which should be used to get the information > of interrupts. > Remove static from tegra30_mc_handle_irq and use it as interrupt handler > for MC interrupts on tegra186, tegra194 and tegra234 to log the errors. > Add error specific MC status and address register bits and use them on > tegra186, tegra194 and tegra234. > Add error logging for generalized carveout interrupt on tegra186, tegra194 > and tegra234. > Add error logging for route sanity interrupt on tegra194 an tegra234. > Add register for higher bits of error address which is available on > tegra194 and tegra234. > Add a boolean variable 'has_addr_hi_reg' in tegra_mc_soc struture which > will be true if soc has register for higher bits of memory controller > error address. Set it true for tegra194 and tegra234. > > Signed-off-by: Ashish Mhetre > Reported-by: kernel test robot > Reported-by: Dan Carpenter Reported what? You should add this tag only if patch addresses reported problem. This patch doesn't address anything, hence the tag is inappropriate, you should remove it.