mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
irqchip/irqdomain updates for 4.11-rc2
- irqchip/crossbar: Some type tidying up - irqchip/gicv3-its: Workaround for a Qualcomm erratum - irqdomain: Compile for for systems that don't use CONFIG_IRQ_DOMAIN -----BEGIN PGP SIGNATURE----- iQFJBAABCAAzFiEEaVjJ8iM8Xp1syoGKqzCcdLk7HqEFAljBLCQVHG1hcmMuenlu Z2llckBhcm0uY29tAAoJEKswnHS5Ox6h6h8IAJKt0NHSLV4vQH51MdX1flj8uyw0 xzeosx/r7hsV/apbaFcciJuaOZNDYdVH+a1NboklpDe2g8N1eSwSITodXnsg3seO 1EyGWkZT9lWbz8/febvG8WPLLZJu0CeD9wNRT7cePTUgNZgGRR1IN6ySM/TtWixA csIL9kgdRvChcU6hydTPceBzN5pSpZ169+BTeEL5CVTggRiq24fJlmBwM7caOu1Z nZDsKckUQA5D/VO0CiopE6BpCZTBzB6TTC2251DEEfVxyL6/M947lOtsC4EXK4y2 6CjWM4II24ImvPmqYDNIwzK1ZimhWO0Uo8jy1LZZKVpiXXXk8zm6LKxqJbU= =JV9b -----END PGP SIGNATURE----- Merge tag 'irq-fixes-4.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent Pull irqchip/irqdomain updates for 4.11-rc2 from Marc Zyngier - irqchip/crossbar: Some type tidying up - irqchip/gicv3-its: Workaround for a Qualcomm erratum - irqdomain: Compile for for systems that don't use CONFIG_IRQ_DOMAIN Fixed up minor conflict in the crossbar driver.
This commit is contained in:
commit
920c634aff
2159 changed files with 57987 additions and 25177 deletions
|
|
@ -198,8 +198,8 @@ static const struct irq_domain_ops crossbar_domain_ops = {
|
|||
|
||||
static int __init crossbar_of_init(struct device_node *node)
|
||||
{
|
||||
u32 max = 0, entry, reg_size;
|
||||
int i, size, reserved = 0;
|
||||
u32 max = 0, entry;
|
||||
const __be32 *irqsr;
|
||||
int ret = -ENOMEM;
|
||||
|
||||
|
|
@ -276,9 +276,9 @@ static int __init crossbar_of_init(struct device_node *node)
|
|||
if (!cb->register_offsets)
|
||||
goto err_irq_map;
|
||||
|
||||
of_property_read_u32(node, "ti,reg-size", &size);
|
||||
of_property_read_u32(node, "ti,reg-size", ®_size);
|
||||
|
||||
switch (size) {
|
||||
switch (reg_size) {
|
||||
case 1:
|
||||
cb->write = crossbar_writeb;
|
||||
break;
|
||||
|
|
@ -304,7 +304,7 @@ static int __init crossbar_of_init(struct device_node *node)
|
|||
continue;
|
||||
|
||||
cb->register_offsets[i] = reserved;
|
||||
reserved += size;
|
||||
reserved += reg_size;
|
||||
}
|
||||
|
||||
of_property_read_u32(node, "ti,irqs-safe-map", &cb->safe_map);
|
||||
|
|
|
|||
|
|
@ -1601,6 +1601,14 @@ static void __maybe_unused its_enable_quirk_cavium_23144(void *data)
|
|||
its->flags |= ITS_FLAGS_WORKAROUND_CAVIUM_23144;
|
||||
}
|
||||
|
||||
static void __maybe_unused its_enable_quirk_qdf2400_e0065(void *data)
|
||||
{
|
||||
struct its_node *its = data;
|
||||
|
||||
/* On QDF2400, the size of the ITE is 16Bytes */
|
||||
its->ite_size = 16;
|
||||
}
|
||||
|
||||
static const struct gic_quirk its_quirks[] = {
|
||||
#ifdef CONFIG_CAVIUM_ERRATUM_22375
|
||||
{
|
||||
|
|
@ -1617,6 +1625,14 @@ static const struct gic_quirk its_quirks[] = {
|
|||
.mask = 0xffff0fff,
|
||||
.init = its_enable_quirk_cavium_23144,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_QCOM_QDF2400_ERRATUM_0065
|
||||
{
|
||||
.desc = "ITS: QDF2400 erratum 0065",
|
||||
.iidr = 0x00001070, /* QDF2400 ITS rev 1.x */
|
||||
.mask = 0xffffffff,
|
||||
.init = its_enable_quirk_qdf2400_e0065,
|
||||
},
|
||||
#endif
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue