Lines Matching +full:gic +full:- +full:v3 +full:- +full:its

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013-2015 ARM Limited, All Rights Reserved.
27 .name = "ITS-MSI",
61 return -EINVAL; in its_pci_msi_prepare()
63 msi_info = msi_get_domain_info(domain->parent); in its_pci_msi_prepare()
69 * Also tell the ITS that the signalling will come from a proxy in its_pci_msi_prepare()
74 if (alias_dev->subordinate) in its_pci_msi_prepare()
75 pci_walk_bus(alias_dev->subordinate, in its_pci_msi_prepare()
77 info->flags |= MSI_ALLOC_FLAGS_PROXY_DEVICE; in its_pci_msi_prepare()
80 /* ITS specific DeviceID, as the core ITS ignores dev. */ in its_pci_msi_prepare()
81 info->scratchpad[0].ul = pci_msi_domain_get_msi_rid(domain, pdev); in its_pci_msi_prepare()
91 if (!info->scratchpad[0].ul) in its_pci_msi_prepare()
94 return msi_info->ops->msi_prepare(domain->parent, dev, nvec, info); in its_pci_msi_prepare()
109 { .compatible = "arm,gic-v3-its", },
120 pr_err("%s: Unable to locate ITS domain\n", name); in its_pci_msi_init_one()
121 return -ENXIO; in its_pci_msi_init_one()
127 return -ENOMEM; in its_pci_msi_init_one()
141 if (!of_property_read_bool(np, "msi-controller")) in its_pci_of_msi_init()
144 if (its_pci_msi_init_one(of_node_to_fwnode(np), np->full_name)) in its_pci_of_msi_init()
162 int err = -ENXIO; in its_pci_msi_parse_madt()
165 node_name = kasprintf(GFP_KERNEL, "ITS@0x%lx", in its_pci_msi_parse_madt()
166 (long)its_entry->base_address); in its_pci_msi_parse_madt()
167 dom_handle = iort_find_domain_token(its_entry->translation_id); in its_pci_msi_parse_madt()
169 pr_err("%s: Unable to locate ITS domain handle\n", node_name); in its_pci_msi_parse_madt()