Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp117946lqo; Wed, 15 May 2024 09:10:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVmimhwFdBijwhfz0g6NKQD+n11UMRE324E4gzDvxq60e3NCbw3FzY2LmObOmea1cx/LD9obXfQyqOi9rAFF6PQ6ON/7xXXn4oeX+FWrw== X-Google-Smtp-Source: AGHT+IESsTcNacHOjCcv5+2Iy1Cjo74DEb6mTqLTpLOBH8j/IoYGwTXQcQhn4Sb/3IiO9oh7igjQ X-Received: by 2002:a17:907:12cb:b0:a5a:893a:a73a with SMTP id a640c23a62f3a-a5a893aa833mr479397566b.10.1715789452933; Wed, 15 May 2024 09:10:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715789452; cv=pass; d=google.com; s=arc-20160816; b=zikhcQ/7xQSlqHN/kjUkIFyeU0tNjEatda/C5cpcwpI/HSXCOP4wrUWIvqwU3XB6jq tgzG3i/cZ1xUo+Eh6prx1bHX+LMNdk57IoXuW6MxwCdo9fYynw6e6YcVCiypvT4crhFm zg9nXEedEfHEXRZbe+ce/1omeoHLUHf/Fc9Drqi42ALkWqV2cmBPf737vOYk8aBGkVzy 4qNqh3jXiL6G8MpWgrdkPTMMW4WmpoqQxtddkeJ0LXcA4FbGe/+jEteRVWYYkdBFV/86 Ds1k7Hzmd43syoicL4hAn2sN4nfwrggFz8+PczVktogWRNvoaKKUzYPdYHjQxVHHfQvd jCKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=pWyat8cfIjM4ss/XklP/c2lDhmUIs716RulHaOxqKdA=; fh=DSHnvtUxSMaUSrXKiWDTMdHIzjCAsTRSsaIXxBrAMC4=; b=wjmSOlGuFel2xK1U+VTS/qjZCm/kV3+287RozlY+DQ/Jb7wBjHWCZfdrhp3zlPnp+R Mucid1FDMZF3IaSpkwr/Xv8tinPYoioqMWviWYmh8ZoMGlAaemZhQ8m/ZP0g09gxHXo0 DGL6+0RXFkjVbvdSALwe1EiGu8I13IBJp4XndlLWlgBl+RJrwAKL/mAOdsg99Wmr4hYN 1wDMxIvweiLQVCDyVHl22xZnfm9Bxm+k5qzGKo3wTEtHCfH4OElBhk6Is7GCcvRO57Ag QlLv5qcPN+5KtZeM2R7cJhyJInA9vkbfp/3eU0LpxDG3ZQeAeBw6wuqrjNaVZ8GRjrKU fr1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O6ELehAi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-180114-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180114-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5cdc77c8a9si28816066b.337.2024.05.15.09.10.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 09:10:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180114-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O6ELehAi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-180114-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180114-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A4F691F234D6 for ; Wed, 15 May 2024 16:10:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 037E915666E; Wed, 15 May 2024 16:09:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="O6ELehAi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BE76156230 for ; Wed, 15 May 2024 16:09:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715789383; cv=none; b=bmSBywqZV8YCY0RDmmbPIhX0l4tG03j/0Ul3tXbN7pnSKRxk4GC3nI31kixjhHag6tkLwva0sVIN01rGT/vJQy3VJhi40gxOgDtEYFA3FSLuTo++Vdebcgk0QT1RgFHcNRDOiZTF6YQkCdmS1AAdM1znrkp4oPDLtOiEMng9J2M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715789383; c=relaxed/simple; bh=NSbjQo0KGQxr91tG/X2mH7UIPoBhdYx/7f7fa50z/kA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DJOT7VTZYn4vZRDzIIemulIQ50XSBEdmUlLva+YN0RaYlxuOQU5lGU34qOlXb1/qA9Z530ppvFWxPnjSSGNEjrCBpPDpgCm+dudQjLcSoprbbfUCAdsrzRjR/z7huBp6Oolt1gHrwioAHLJfvz2l65iyhXRR+ZWm4kJzIBKSvv0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=O6ELehAi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4678DC116B1; Wed, 15 May 2024 16:09:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715789382; bh=NSbjQo0KGQxr91tG/X2mH7UIPoBhdYx/7f7fa50z/kA=; h=From:To:Cc:Subject:Date:From; b=O6ELehAijm+yZ52B4QPZdDxq6OJ1qBWOnKCsfs0rnFJsB+aktwwNS9zwCXCcLSUjt dF08DEJ+uO3T2ImhEM1SdHWYsvo62MDApyZXvlNMCeCq2ShAKO21yIoHHzV1YFXXNY SOhsBSNFeK2USB41XC6wdQ+OZr8S6odNAs/WsQzqSrAlRBwYSt+xStRI5XdUJnkoIw l/PJqGKL+dN0jpBh/bVsy0GWdErZTqFVvcf9G2O7E1xy173WE7LRYUfHvKWw2RG27M hTo+mbLz0eLR5DUTJM83YDWLziddWvk05+AE1BnauzSLoVVFjXx8NTR65Z64jXa8OX 4iWzLxDWWy8Vw== From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley , Paul Walmsley , Palmer Dabbelt , Charlie Jenkins , linux-kernel@vger.kernel.org Subject: [PATCH v2] RISC-V: fix Andes errata build issues Date: Wed, 15 May 2024 17:09:34 +0100 Message-ID: <20240515-comic-sketch-3b40e6676f55@spud> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1370; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=CAhQk586zjWNLJWwZpilXc2NDKe1f0YCLS1pl9hBeaw=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDGku9+yC/srPWRVw96D6jISSR8y8xiVZibH1gX/fTL/8I +nzk16GjlIWBjEOBlkxRZbE230tUuv/uOxw7nkLM4eVCWQIAxenAEzk4WZGhkZlmbp3VqsvTP/6 Lv7KQct2/sTPPWsCA0oOT5jbaf6tO4uRoVtwzfSOpX+/KVw5dIIn4M2xlc163a/Xb7m/2tl8++U JaowA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: 8bit From: Conor Dooley Commit e47c37c24024 ("riscv: Introduce vendor variants of extension helpers") added includes for the new vendor_extensions.h header in the T-Head and SiFive errata handling code but didn't do so for Andes, resulting in allmodconfig build issues when commit 589e2fc85850 ("riscv: Convert xandespmu to use the vendor extension framework") added a user of a macro defined there. Fixes: 589e2fc85850 ("riscv: Convert xandespmu to use the vendor extension framework") Signed-off-by: Conor Dooley --- v2: Fixup commit references in the commit message CC: Paul Walmsley CC: Palmer Dabbelt CC: Conor Dooley CC: Charlie Jenkins CC: linux-riscv@lists.infradead.org CC: linux-kernel@vger.kernel.org --- arch/riscv/errata/andes/errata.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/errata/andes/errata.c b/arch/riscv/errata/andes/errata.c index a5d96a7a4682..fc1a34faa5f3 100644 --- a/arch/riscv/errata/andes/errata.c +++ b/arch/riscv/errata/andes/errata.c @@ -17,6 +17,7 @@ #include #include #include +#include #define ANDES_AX45MP_MARCHID 0x8000000000008a45UL #define ANDES_AX45MP_MIMPID 0x500UL -- 2.43.0