Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1509124
| From | Marc Zyngier <marc.zyngier@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v14 4/9] acpi/arm64: Add GTDT table parse driver |
| Date | 2016-10-26 14:20 +0200 |
| Message-ID | <swvlw-3vY-19@gated-at.bofh.it> (permalink) |
| References | <smrCx-1LD-3@gated-at.bofh.it> <smrMf-1Po-69@gated-at.bofh.it> <suoxP-1Cz-5@gated-at.bofh.it> <swupr-2Sj-19@gated-at.bofh.it> |
| Organization | ARM Ltd |
On 26/10/16 12:10, Fu Wei wrote:
> Hi Mark,
>
> On 21 October 2016 at 00:37, Mark Rutland <mark.rutland@arm.com> wrote:
>> Hi,
>>
>> As a heads-up, on v4.9-rc1 I see conflicts at least against
>> arch/arm64/Kconfig. Luckily git am -3 seems to be able to fix that up
>> automatically, but this will need to be rebased before the next posting
>> and/or merging.
>>
>> On Thu, Sep 29, 2016 at 02:17:12AM +0800, fu.wei@linaro.org wrote:
>>> +static int __init map_gt_gsi(u32 interrupt, u32 flags)
>>> +{
>>> + int trigger, polarity;
>>> +
>>> + if (!interrupt)
>>> + return 0;
>>
>> Urgh.
>>
>> Only the secure interrupt (which we do not need) is optional in this
>> manner, and (hilariously), zero appears to also be a valid GSIV, per
>> figure 5-24 in the ACPI 6.1 spec.
>>
>> So, I think that:
>>
>> (a) we should not bother parsing the secure interrupt
>
> If I understand correctly, from this point of view, kernel don't
> handle the secure interrupt.
> But the current arm_arch_timer driver still enable/disable/request
> PHYS_SECURE_PPI
> with PHYS_NONSECURE_PPI.
> That means we still need to parse the secure interrupt.
> Please correct me, if I misunderstand something? :-)
That's because we can use the per-cpu timer when 32bit Linux is running
on the secure side (and we cannot distinguish between secure and
non-secure at runtime). ACPI is 64bit only, and Linux on 64bit isn't
supported on the secure side, so only registering the non-secure timer
is perfectly acceptable.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v14 4/9] acpi/arm64: Add GTDT table parse driver Mark Rutland <mark.rutland@arm.com> - 2016-10-20 18:40 +0200
Re: [PATCH v14 4/9] acpi/arm64: Add GTDT table parse driver Fu Wei <fu.wei@linaro.org> - 2016-10-26 13:20 +0200
Re: [PATCH v14 4/9] acpi/arm64: Add GTDT table parse driver Marc Zyngier <marc.zyngier@arm.com> - 2016-10-26 14:20 +0200
Re: [PATCH v14 4/9] acpi/arm64: Add GTDT table parse driver Fu Wei <fu.wei@linaro.org> - 2016-10-26 15:50 +0200
csiph-web