Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3931594pxu; Mon, 30 Nov 2020 13:30:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyYOq9CBS/ij5nYG4kJ6CnhIiYyBTJs6/sMVNvRRosq3mlI+GoVOFDhaAom6ryXvrsxQHmc X-Received: by 2002:a17:906:693:: with SMTP id u19mr15539924ejb.133.1606771851809; Mon, 30 Nov 2020 13:30:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606771851; cv=none; d=google.com; s=arc-20160816; b=DtpZiy6xflVFIKzaW4vc6OEng+1qCTWOQNhppTX9rpdbcsn8WZB6xvvPRZb3o7emiy Apqr4lf4/UTXljE8p3Yv3RMS1iNxWMiFnF3YhBGsEuypZBB0SNS8jTLOshYcdU5D+SA3 1I8TY70e1T6Ngxbmihne/YzVd9qVcwMZudB263P3LxexYM3HAJ262a4mtD7Hk6YKAii3 sCHF3S999Ck1WDKqemB2kpthSuodyhSfw82ZaLh47N3ChbAf7baLj84FkQXBN1EAYMJ1 /vrq8wYInz+ypWHeWvG0yv2vgGt5WDYLvUyxIUWZFWSn8fleI8o0bMHiyspAWXnddAb7 JZyQ== 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=3gZIy7ZN9UMClLXLuA5LSLxZFm86PnDw+gWbncdJfRY=; b=r/wv7Y7e5raA1ELoExUlaFzIveIe3PBV+I6xnhVVolwiMBENwErfJO5gbvdwoCWQqr +4AzM1hVHbckK0rjXeLkOp5bYyKCnzTOUTPxEIq3qaUlapHI2NOIzomzj1aa0OHfIza1 ISDSEGrvdQ3MsT9vZB/19Js6QcyCX6VoiSXrET5Mg+ny2klPqOEJY+SIxVY8FXm3QW0M a9YgCToc8ZP+mhyM7WQMvzyQiJZH9sDAbMtcG/kSV9bq1Zhb+R5auRsnZStatEyrJAH5 IW26B5ctA72yS3y3S13DhYDzpYMG2F4akiT7+tQEx6/SgEtG++Xe4R0PqBBE49Lkxu31 R5Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cVFQMyZc; 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 a19si12188649edb.21.2020.11.30.13.30.29; Mon, 30 Nov 2020 13:30:51 -0800 (PST) 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=cVFQMyZc; 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 S2387728AbgK3V3E (ORCPT + 99 others); Mon, 30 Nov 2020 16:29:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387413AbgK3V3D (ORCPT ); Mon, 30 Nov 2020 16:29:03 -0500 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAAC0C0613D2; Mon, 30 Nov 2020 13:28:17 -0800 (PST) Received: by mail-pl1-x643.google.com with SMTP id u2so7205613pls.10; Mon, 30 Nov 2020 13:28:17 -0800 (PST) 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=3gZIy7ZN9UMClLXLuA5LSLxZFm86PnDw+gWbncdJfRY=; b=cVFQMyZc6D9fnuH6se/RGaFK9RkmzedqswLV1RB83OzejGCiqec883Iq0qBRuiPwVA fNN1UPocvlglPMoaRVFNaJXAzFeHERWMqV8IXrNwS20ud7tBvAsBmuW/gfFxBobeK09A CG1ob+o+NbQhAA0SZT6CIys6HTl1cJpHYESH1rYn7EVEAoEugHKB2mJbnyzWBggY+G8s uTDAmOIThgOhwsS3v1iWLt9QItXZCsHjHuqpfKbGBh8sgJv8ba3Wn5mT8L3nYI3BcyWi FX0XI4nCOWkko7Iq6BZTVzkoG3LeEaEN+01gbheG1eW48WcqH51z3vuZW/VNfaT/wbPZ MIiQ== 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=3gZIy7ZN9UMClLXLuA5LSLxZFm86PnDw+gWbncdJfRY=; b=qqUBHQCfsh9JPR9eDKAnxZBXZnVfPz9VOOWoUBNM7H4yAlHzwtX3rh72IxvHNBGnYm vm+/kvcIILwJjWC3s0/xyIwwdeeEi6+yBNdHuhOkA9w+Vz21nHR4DoZv4BHIzOjN7+QO kqrdmCLjFFi20GztEnnRcfnEJ4yIqWsNArJTIpRFoMemH9MpYanz8vdsZihdJPwt0yvQ otZgTKxIV/P4eGI35qw1mUQ+6hzlk3tjYkQXp1wKHIIiPi6zMwZOT42M/BfPBv5vqach I91txtgnVoeGAKt+G6basIF0omkBV+VCrXrHZ1gPlObSVyX6D4BpgVDe/4NJEaxkl7QD z26Q== X-Gm-Message-State: AOAM532mvFq3XDV8RBT2DR+tar4FVrsldTtIKnneTK0KDx27uT+wkYMc 5vsmFEevTxwp6eENUpSOzsDYW1nVxIQ= X-Received: by 2002:a17:902:a9c7:b029:d9:d985:55b1 with SMTP id b7-20020a170902a9c7b02900d9d98555b1mr20529983plr.59.1606771697074; Mon, 30 Nov 2020 13:28:17 -0800 (PST) Received: from [10.230.28.242] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id u4sm1107904pgg.48.2020.11.30.13.28.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Nov 2020 13:28:16 -0800 (PST) Subject: Re: [PATCH v2 5/6] PCI: brcmstb: Add panic/die handler to RC driver To: Jim Quinlan , linux-pci@vger.kernel.org, Nicolas Saenz Julienne , broonie@kernel.org, bcm-kernel-feedback-list@broadcom.com Cc: Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , Florian Fainelli , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , open list References: <20201130211145.3012-1-james.quinlan@broadcom.com> <20201130211145.3012-6-james.quinlan@broadcom.com> From: Florian Fainelli Message-ID: <8117e3d5-eac7-d686-98d8-7854c77c142e@gmail.com> Date: Mon, 30 Nov 2020 13:28:13 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20201130211145.3012-6-james.quinlan@broadcom.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/30/2020 1:11 PM, Jim Quinlan wrote: > Whereas most PCIe HW returns 0xffffffff on illegal accesses and the like, > by default Broadcom's STB PCIe controller effects an abort. This simple > handler determines if the PCIe controller was the cause of the abort and if > so, prints out diagnostic info. > > Example output: > brcm-pcie 8b20000.pcie: Error: Mem Acc: 32bit, Read, @0x38000000 > brcm-pcie 8b20000.pcie: Type: TO=0 Abt=0 UnspReq=1 AccDsble=0 BadAddr=0 > > Signed-off-by: Jim Quinlan Acked-by: Florian Fainelli -- Florian