Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM

From: Dmitry Osipenko
Date: Wed Jan 07 2015 - 10:24:58 EST


07.01.2015 17:33, Thierry Reding ÐÐÑÐÑ:
> On Tue, Dec 09, 2014 at 10:36:50PM +0000, Paul Walmsley wrote:
>>
>> Tegra SoCs with 64-bit ARM support don't currently support deep CPU
>> low-power states in mainline Linux. When this support is added in the
>> future, it will probably look rather different from the existing
>> 32-bit ARM support, since the ARM64 maintainers' strong preference is
>> to use PSCI to implement it.
>>
>> So, for the time being, prevent the CPU suspend-related code and data
>> in the Tegra PMC driver from compiling on ARM64.
>>
>> Signed-off-by: Paul Walmsley <paul@xxxxxxxxx>
>> Signed-off-by: Paul Walmsley <pwalmsley@xxxxxxxxxx>
>> Cc: Thierry Reding <treding@xxxxxxxxxx>
>> Cc: Allen Martin <amartin@xxxxxxxxxx>
>> Cc: Stephen Warren <swarren@xxxxxxxxxx>
>> Cc: Alexandre Courbot <gnurou@xxxxxxxxx>
>> ---
>> Applies on next-20141209.
>> Intended for v3.20.
>> Boot-tested on Tegra124 Jetson TK1 on next-20141209.
>> Also boot-tested on Tegra132 Norrin FFD on next-20141209 + some unrelated
>> patches.
>>
>> drivers/soc/tegra/pmc.c | 7 +++++--
>> include/soc/tegra/pm.h | 2 +-
>> 2 files changed, 6 insertions(+), 3 deletions(-)
>
> On second thought, I decided to apply this as-is.
>
> Thanks,
> Thierry
>

Oh, I haven't noticed this patch before...

I sent patch fixing tegra20 suspend bug [
http://patchwork.ozlabs.org/patch/423778/ ] and it will obviously conflict with
this one.
For now there is no feedback for my suspend bug patch (other than for V1), but,
if it's fine, I think it would be easier to rebase Paul's patch on top of it.
Any other suggestions?

--
Dmitry
--
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/