// SPDX-License-Identifier: GPL-2.0-only /* * First-level interrupt controller model for Hexagon. * * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
*/
/* This is actually all we need for handle_fasteoi_irq */ staticvoid eoi_irq(struct irq_data *data)
{
__vmintop_globen((long) data->irq);
}
/* Power mamangement wake call. We don't need this, however, * if this is absent, then an -ENXIO error is returned to the * msm_serial driver, and it fails to correctly initialize. * This is a bug in the msm_serial driver, but, for now, we * work around it here, by providing this bogus handler. * XXX FIXME!!! remove this when msm_serial is fixed.
*/ staticint set_wake(struct irq_data *data, unsignedint on)
{ return 0;
}
/** * The hexagon core comes with a first-level interrupt controller * with 32 total possible interrupts. When the core is embedded * into different systems/platforms, it is typically wrapped by * macro cells that provide one or more second-level interrupt * controllers that are cascaded into one or more of the first-level * interrupts handled here. The precise wiring of these other * irqs varies from platform to platform, and are set up & configured * in the platform-specific files. * * The first-level interrupt controller is wrapped by the VM, which * virtualizes the interrupt controller for us. It provides a very * simple, fast & efficient API, and so the fasteoi handler is * appropriate for this case.
*/ void __init init_IRQ(void)
{ int irq;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.