Re: [RFC PATCH 3/9] irqchip: GIC: Convert to EOImode == 1
From: Joel Schopp
Date: Wed Jun 25 2014 - 16:16:11 EST
+ if (resource_size(&cpu_res) >= SZ_8K)
+ supports_deactivate = true;
+ else
+ pr_warn("GIC: CPU interface size is %x, DT is probably wrong\n", (int)resource_size(&cpu_res));
This will not work on APM X-Gene because, for
X-Gene first CPU page is at 0x78020000 and
second CPU page is at 0x78030000.
Ian had send-out a patch long time back to extend
GIC dt-bindings for addressing this issue.
(http://www.spinics.net/lists/arm-kernel/msg283767.html)
We have a similar issue with an AMD SOC. You can add 0xf000 (60K) page
offset to it to cleverly work around the issue but it seems quite likely
that the page offset has to be communicated to userspace and handled
there at no small effort.
Anybody want to revive Ian's split patches? They do seem convoluted but
seem like they might work as an approach.
-Joel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/