Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp340184ybh; Wed, 11 Mar 2020 02:06:11 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuy+UGQ5jkByIiGFSJP+U8LZiOI4F5PS8Hay4uCjdj0awjO/P7b0ygLjkQ4c3ptusRNuBRo X-Received: by 2002:a9d:23e4:: with SMTP id t91mr1478703otb.125.1583917570804; Wed, 11 Mar 2020 02:06:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583917570; cv=none; d=google.com; s=arc-20160816; b=x94nK05m0SgA+2ldwdqc6zkNW5chXwV9LVr8hIcAvaJm78QWSvjCBkPh7k5x52v+wt mFqPDCkLFpNm65CVr+ADoj0SvgNZogmgP7XdhWwsEQvC1UqzG56GTyeq0gbtTppD7Tov n+4jkJFn9p8Zw4xchnOV7sSuy8vSWETODMApfrLWjkVZbn76fK9k+MegeJuidouO33JM acrItsnNDoON11mKH1mBheEp9+MM5T+GatNEMaLYYdoOhgwPN3AVqSQC55XOHpK7E/bq I8xtwiXFH8PjIYhSFqOE/Ee984tUnIDx88d0jecc6SqktdB7NS2+szRRQPXhc2Ce1dfj gWCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=wAMgTfj7E/DkYhuiiLgjq9/+PqUvQQpW3BTWji7fTcc=; b=CBk1CO5y3RAA9uUwQ7K4QSdHKlW1IGhW4FgvcSkYPYrIW2AJKYqAIe41ruULiwvQSp nx83IGEAf7duSBoLKTWKktB2mZ0tfGQ19GCloT/gpb4OC3HJeKxf6bAwVjDL+SRNomgM O+WyVGaAsBtncpyA08d2+Rbu7cUidBDLsaxdovbvKqln92SkTuInu5ZmUJ2SdEgoenTq cwTgpPcGxrG76d5YJw30We31rteYJbsWsMxK4A4dpIYAk7irpp9EPxV5U6t/Sqg++64J yJY9B6m/g3LbSMAo3ABiSOdCVU+6H19OttUBfi0qpVve+Yw7NRnFofvaG/IRyVmQI48F ju8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fqXpF49M; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9si798242oti.155.2020.03.11.02.05.58; Wed, 11 Mar 2020 02:06:10 -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=@kernel.org header.s=default header.b=fqXpF49M; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728726AbgCKJDv (ORCPT + 99 others); Wed, 11 Mar 2020 05:03:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:41626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728150AbgCKJDv (ORCPT ); Wed, 11 Mar 2020 05:03:51 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7C1A520873; Wed, 11 Mar 2020 09:03:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583917430; bh=ibkYfT8H8iwwHnGO0guecciLLSfXPKRIswI7WrzOsAU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fqXpF49MGci3+/2P1nx05RN+C8Q7kAwE1N+DvnF1cM+9+DQmXANQlSecX4bDgB5Te UDGPbYKaFfd2wiuPtW52npjmWKskS+tC8pOAhkN0jD6YwZ7mSbLGwNgsWmNSMaq6dH Al/hCcA5OZoMyq9ueqOAbRQv/roYKcq5MtGN7tiQ= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jBxHI-00BrMA-Ow; Wed, 11 Mar 2020 09:03:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 11 Mar 2020 09:03:48 +0000 From: Marc Zyngier To: Robert Richter Cc: kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, Eric Auger , James Morse , Julien Thierry , Suzuki K Poulose , Thomas Gleixner , Jason Cooper , Lorenzo Pieralisi , Andrew Murray , Zenghui Yu Subject: Re: [PATCH v3 03/32] irqchip/gic-v3: Workaround Cavium TX1 erratum when reading GICD_TYPER2 In-Reply-To: <20200311084515.5vbfudbls3cj2cre@rric.localdomain> References: <20191224111055.11836-1-maz@kernel.org> <20191224111055.11836-4-maz@kernel.org> <20200309221137.5pjh4vkc62ft3h2a@rric.localdomain> <20200311084515.5vbfudbls3cj2cre@rric.localdomain> Message-ID: <74682a83c75bc8e517462d181e6c24c7@kernel.org> X-Sender: maz@kernel.org User-Agent: Roundcube Webmail/1.3.10 X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: rrichter@marvell.com, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, eric.auger@redhat.com, james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, tglx@linutronix.de, jason@lakedaemon.net, lorenzo.pieralisi@arm.com, Andrew.Murray@arm.com, yuzenghui@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Robert, On 2020-03-11 08:45, Robert Richter wrote: > Hi Marc, > > On 10.03.20 11:41:09, Marc Zyngier wrote: >> On 2020-03-09 22:11, Robert Richter wrote: >> > On 24.12.19 11:10:26, Marc Zyngier wrote: > >> > > @@ -1502,6 +1512,12 @@ static const struct gic_quirk gic_quirks[] = { >> > > .mask = 0xffffffff, >> > > .init = gic_enable_quirk_hip06_07, >> > > }, >> > > + { >> > > + .desc = "GICv3: Cavium TX1 GICD_TYPER2 erratum", >> > >> > There is no errata number yet. >> >> Please let me know when/if you obtain one. > > GIC-38539: GIC faults when accessing reserved GICD_TYPER2 register > > Applies to (covered with iidr mask below): > > ThunderX: CN88xx > OCTEON TX: CN83xx, CN81xx > OCTEON TX2: CN93xx, CN96xx, CN98xx, CNF95xx* > > Issue: Access to GIC reserved registers results in an exception. > Notes: > 1) This applies to other reserved registers too. > 2) The errata number is unique over all IP blocks, so a macro > CAVIUM_ERRATUM_38539 is ok. Great, thanks a lot for chasing this. One question though: does this apply to the distributor only? Or to all reserved registers regardless of the architectural block they are in? It won't change the workaround for now, but knowing the scope of the erratum will help future developments. Thanks, M. -- Jazz is not dead. It just smells funny...