From nobody Sat Nov 23 05:01:13 2024 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 634CC8F62 for ; Thu, 14 Nov 2024 16:18:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731601133; cv=none; b=BdQLUNOZNeZvElIrJ70ORRkmV5gDrFkZTSQtn6TlCUEVtmU+11WBv/XR0lbnIgPlKvk1IWjdJen0Jy7o/VRD/CMt3JA2uMzcSkBMsdkVxjCro2aisM6XlttAxTuByuGiIFFYCDqI1PgfkRVb1ODgSWcj/nym/IiTKhS426y5MOE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731601133; c=relaxed/simple; bh=Fk34GaC/hTLP6m0UNDLPdCaDiAz8BRxxGQykrmrUHjY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AMZ78XKMUIr1Ijxsa+sSHj8a+H7OezIN3Q4PLJ3R6eH729uadV4YsoWgfqsQ+BTS3KaTwCCZZcF2bZ+QzCa1GTE5PiMt2qjrHbTCPxXjdXCd+cX6LQU8IRoZ+LqHRREV3LKk5VNdQNYGxG1liYstp6IWXUEQjD/u50MeSTO0xWU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=ogM8fqbT; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="ogM8fqbT" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-382171e1a83so624281f8f.0 for ; Thu, 14 Nov 2024 08:18:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1731601130; x=1732205930; darn=vger.kernel.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=4sV1q1LQk/q83S2J2BpeMk7gg4mJdAxo4Zufy5rZGAM=; b=ogM8fqbTMAIib6JisGUriwtAYFoUI7SYWbE3JembUiuwTAlOYGTbKCv9+bMne15a6b Cq1oobXNizib4H6EWAW/T0xdJ5C1OZwcPiz2KbCsg2ffSTuiuGxmQlNit04Xh4xs1LAc +mY0odhwcUY10Kn1g5xVufbYeh1v/xJtqOYZmRPzDBpbt6rSAcSUs/LeCb6bYMPs7RBf U6IOX6fkuMtZP7aXowbQgcecnKgzCmTaBUvf774WEbvp1tclst5/adllD2dy0X+lkaRS EMTxIapOfYuLWJI2769LDEiO+X5O5yGd5XuKVFrV0Mfv18BGSas63C7khn+BcjIazU8P NdSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731601130; x=1732205930; 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=4sV1q1LQk/q83S2J2BpeMk7gg4mJdAxo4Zufy5rZGAM=; b=AUJfrdfPdgrS0Ly44zibhxFtmYaL9lGgdZG+2XXZ3dAcVOhVZXUnjG4IBeFbfzEe7J nE7WO0fdBIO7WmV1dROxojBLM3K95VzJlgplygKyc2xh4rxoRF1dTr60YYqTzdiuAVX6 99C+kqNoxpm1qFqNedl3I98Hl+YRjUWr3xK4cvzWMQ+SibhqREj5QeEikv6vHBmMYjzr rQ+jzrkHQLS5KpeRNQAueaX8KJCapY3Az5Ky1jZPMKt6skkYam4AUCIxy5bD6tNx4pjV W7O1OMbWFzgqcDxR00+bmFpBDp4jBgkdujCK1YH0rhIs4j7quX/a/WU5Yz8nBa9nX0jJ sNTA== X-Forwarded-Encrypted: i=1; AJvYcCXAKTrnL/IHtg/hFjnMieH0FoUXHT3nn1exhWh8pqhSCw4JyOGGv8n1nv3TX9spKvB9AJV9KYCHioCqAZE=@vger.kernel.org X-Gm-Message-State: AOJu0YyfDCiG2MRcq2INc/Px/YtCzIFL5TF6kK34ei8VVG0kz1kPE9Pc 8rW6+We+77+v5lohlt9ajsYs2SLSfFqUQ72ky8F4wrC9PtNsGtOgTSAh+3tkybE= X-Google-Smtp-Source: AGHT+IG+PIdlvaNPVTcrNev34iOeURvR6kwzzOllPVjWxdCbuE/GqDAX+WoRpo6pTqFd8njujj53Ow== X-Received: by 2002:a05:6000:2a10:b0:382:2084:19b3 with SMTP id ffacd0b85a97d-38220844ac9mr1324585f8f.22.1731601129621; Thu, 14 Nov 2024 08:18:49 -0800 (PST) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432da265c45sm28633555e9.11.2024.11.14.08.18.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2024 08:18:49 -0800 (PST) From: Andrew Jones To: iommu@lists.linux.dev, kvm-riscv@lists.infradead.org, kvm@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: tjeznach@rivosinc.com, zong.li@sifive.com, joro@8bytes.org, will@kernel.org, robin.murphy@arm.com, anup@brainfault.org, atishp@atishpatra.org, tglx@linutronix.de, alex.williamson@redhat.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Subject: [RFC PATCH 02/15] genirq/msi: Provide DOMAIN_BUS_MSI_REMAP Date: Thu, 14 Nov 2024 17:18:47 +0100 Message-ID: <20241114161845.502027-19-ajones@ventanamicro.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241114161845.502027-17-ajones@ventanamicro.com> References: <20241114161845.502027-17-ajones@ventanamicro.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Provide a domain bus token for the upcoming support for the RISC-V IOMMU interrupt remapping domain, which needs to be distinguished from NEXUS domains. The new token name is generic, as the only information that needs to be conveyed is that the IRQ domain will remap MSIs, i.e. there's nothing RISC-V specific to convey. Signed-off-by: Andrew Jones --- include/linux/irqdomain_defs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/irqdomain_defs.h b/include/linux/irqdomain_defs.h index 36653e2ee1c9..676eca8147ae 100644 --- a/include/linux/irqdomain_defs.h +++ b/include/linux/irqdomain_defs.h @@ -27,6 +27,7 @@ enum irq_domain_bus_token { DOMAIN_BUS_AMDVI, DOMAIN_BUS_DEVICE_MSI, DOMAIN_BUS_WIRED_TO_MSI, + DOMAIN_BUS_MSI_REMAP, }; =20 #endif /* _LINUX_IRQDOMAIN_DEFS_H */ --=20 2.47.0