From nobody Mon Nov 25 07:42:53 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1717187369; cv=none; d=zohomail.com; s=zohoarc; b=nExbvXMZ1W47alqIDFtmg8e60SXLYYkQCt9Hl0+OseiwOyWJWu7ahT2xbX2qEYHvDJcSckaspf9D5c9sRhEhmZkn2TdUgVMGjJRzwDZEW3SAZwmAeXaFZ2RCme1nrPoZCIy+gdpHfNuy3jH026779FPn8/n/gAwTnEckdlXKgzY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1717187369; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=0bdJR0XZ5/24do9SQiq86W34Uey5skxXwaEjBErRH+E=; b=FsBGvaYYrpsgod+gZ6Fn0wWpwlsRTCtCvY34HKv12yEEje7flxu4DL2ztd6ggxzdGQySVQXc+2SkIcIhYmBqia0Nutd974uCGtBsZxow4NVw7Cxn20zqNcEitG+OywrXmcCi4q57lXun6+TQ/Pct2dm9zqRax5qMof6vMwXyV0o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1717187369750548.4510540962549; Fri, 31 May 2024 13:29:29 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sD8rR-0002qt-VD; Fri, 31 May 2024 16:28:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sD8rQ-0002qb-Q2 for qemu-devel@nongnu.org; Fri, 31 May 2024 16:28:24 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sD8rP-0000o6-7R for qemu-devel@nongnu.org; Fri, 31 May 2024 16:28:24 -0400 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-7024f09bc92so578281b3a.1 for ; Fri, 31 May 2024 13:28:22 -0700 (PDT) Received: from grind.dc1.ventanamicro.com (189-69-160-78.dial-up.telesp.net.br. [189.69.160.78]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70242b09133sm1819691b3a.178.2024.05.31.13.28.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 13:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1717187301; x=1717792101; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0bdJR0XZ5/24do9SQiq86W34Uey5skxXwaEjBErRH+E=; b=ZPkBnqrSgK1Qz9uEyN36e/Q1eMn/TBZFwFhnehtxiXhINlIoODoj5BIJNli5sEaOLV f90+AG4YT7MdOwkqlSSaNNLTivRvAeeK1TPOLH0FNGqHn8BAhtdNYJVVj8oMUa8cizMM yAHrAEUCMBPQtdINQqLFeOW9+80RDbn5H/yuNpFWW9Kjoq682R7ZTs0fGmZ3Li5rEzi4 rdrd0DZdPyymf+3gk48w6VvxLYMu7erOvDjk3USNAnj/1ISz3BIDkHewe2yG61csJToS t1r9u+lmJ5H+dPT0UaAPC5pXlqio29Inp894uXBwV2jJ4C0esbhI3Eg96AvzDIDLzPij DbHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717187301; x=1717792101; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0bdJR0XZ5/24do9SQiq86W34Uey5skxXwaEjBErRH+E=; b=f8qwLFvkC81/XXELGvpZP9pj9wa1ZwATQvb/m5ZxAHP6wUa8tzuy0acVmMlCMxn5Br C/l3+wkHxbtsKwqrdbumiZ5b++htT+qDc8qJcNjXCcaE0/b5CsjsZ749yPRKcsTr+W79 2i1uMeh+eJ2YTwK3lhKGNyGAj0Ia9EHvg4XldhpO+IKrXxZ37fZeTmQ6FxSCycNRCzcL +J77f3MqjRFWzz8l/xd2ur9ZtPP+kfl+j9rCNm4j41T1S0DIkZ2p0G5pZUQ9KUFAxFBd 7Fq2B4ZMoGjn2dKplLzuTRRXL1MMvvmb27fIKLXE2bzaCGQ/vkRFlsy25HECN/v58kNF iZjA== X-Gm-Message-State: AOJu0YxdcTYiqXxh+OuJFNf8/y3k9f2F81/d/FMOvGNpyB6ODGvulSZM Ctf1LdcTDf9w/Iiz+C5yu7Of9qpcuhexXY36h94Iz4xiC39ibSiay8oqy2KsVBijaOU5AiVdJb1 s X-Google-Smtp-Source: AGHT+IF2T/GZ3JkT8S1HTxAYTAgaqXTDX3NnqWRvJOC99F1H7XWhK8BKeGrTCEJq+ZzzPsZRFWIkDg== X-Received: by 2002:a05:6a20:729a:b0:1af:597f:4970 with SMTP id adf61e73a8af0-1b26f1179c7mr3831730637.24.1717187301094; Fri, 31 May 2024 13:28:21 -0700 (PDT) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, alistair.francis@wdc.com, bmeng@tinylab.org, liwei1518@gmail.com, zhiwei_liu@linux.alibaba.com, palmer@rivosinc.com, apatel@ventanamicro.com, ajones@ventanamicro.com, conor@kernel.org, Daniel Henrique Barboza Subject: [PATCH v2 3/8] hw/riscv/virt.c: rename aplic nodename to 'interrupt-controller' Date: Fri, 31 May 2024 17:27:54 -0300 Message-ID: <20240531202759.911601-4-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240531202759.911601-1-dbarboza@ventanamicro.com> References: <20240531202759.911601-1-dbarboza@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=dbarboza@ventanamicro.com; helo=mail-pf1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1717187371300100001 Content-Type: text/plain; charset="utf-8" The correct name of the aplic controller node, as per Linux kernel DT docs [1], is 'interrupt-controller@addr'. [1] Documentation/devicetree/bindings/interrupt-controller/riscv,aplic.yaml Reported-by: Conor Dooley Fixes: e6faee65855b ("hw/riscv: virt: Add optional AIA APLIC support to vir= t machine") Signed-off-by: Daniel Henrique Barboza Reviewed-by: Alistair Francis --- hw/riscv/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index 07a07f5ce1..5505047945 100644 --- a/hw/riscv/virt.c +++ b/hw/riscv/virt.c @@ -591,7 +591,7 @@ static void create_fdt_imsic(RISCVVirtState *s, const M= emMapEntry *memmap, /* Caller must free string after use */ static char *fdt_get_aplic_nodename(unsigned long aplic_addr) { - return g_strdup_printf("/soc/aplic@%lx", aplic_addr); + return g_strdup_printf("/soc/interrupt-controller@%lx", aplic_addr); } =20 static void create_fdt_one_aplic(RISCVVirtState *s, int socket, --=20 2.45.1