* [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM
@ 2014-12-09 22:36 Paul Walmsley
[not found] ` <alpine.DEB.2.02.1412092224050.31750-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Paul Walmsley @ 2014-12-09 22:36 UTC (permalink / raw)
To: linux-soc-u79uwXL29TY76Z2rM5mHXA
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-tegra-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Paul Walmsley,
Thierry Reding, Allen Martin, Stephen Warren, Alexandre Courbot
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-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org>
Signed-off-by: Paul Walmsley <pwalmsley-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: Allen Martin <amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: Alexandre Courbot <gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
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(-)
diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index a2c0ceb95f8f..4bdc654bd747 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -739,7 +739,7 @@ static int tegra_pmc_probe(struct platform_device *pdev)
return 0;
}
-#ifdef CONFIG_PM_SLEEP
+#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM)
static int tegra_pmc_suspend(struct device *dev)
{
tegra_pmc_writel(virt_to_phys(tegra_resume), PMC_SCRATCH41);
@@ -753,10 +753,11 @@ static int tegra_pmc_resume(struct device *dev)
return 0;
}
-#endif
static SIMPLE_DEV_PM_OPS(tegra_pmc_pm_ops, tegra_pmc_suspend, tegra_pmc_resume);
+#endif
+
static const char * const tegra20_powergates[] = {
[TEGRA_POWERGATE_CPU] = "cpu",
[TEGRA_POWERGATE_3D] = "3d",
@@ -894,7 +895,9 @@ static struct platform_driver tegra_pmc_driver = {
.name = "tegra-pmc",
.suppress_bind_attrs = true,
.of_match_table = tegra_pmc_match,
+#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM)
.pm = &tegra_pmc_pm_ops,
+#endif
},
.probe = tegra_pmc_probe,
};
diff --git a/include/soc/tegra/pm.h b/include/soc/tegra/pm.h
index 30fe2078a547..03909101d4e7 100644
--- a/include/soc/tegra/pm.h
+++ b/include/soc/tegra/pm.h
@@ -17,7 +17,7 @@ enum tegra_suspend_mode {
TEGRA_MAX_SUSPEND_MODE,
};
-#ifdef CONFIG_PM_SLEEP
+#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM)
enum tegra_suspend_mode
tegra_pm_validate_suspend_mode(enum tegra_suspend_mode mode);
--
2.1.3
^ permalink raw reply related [flat|nested] 10+ messages in thread[parent not found: <alpine.DEB.2.02.1412092224050.31750-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>]
* Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM [not found] ` <alpine.DEB.2.02.1412092224050.31750-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org> @ 2014-12-10 11:23 ` Thierry Reding 2014-12-12 3:04 ` Paul Walmsley 2015-01-07 14:33 ` Thierry Reding 1 sibling, 1 reply; 10+ messages in thread From: Thierry Reding @ 2014-12-10 11:23 UTC (permalink / raw) To: Paul Walmsley Cc: linux-soc-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-tegra-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Paul Walmsley, Allen Martin, Stephen Warren, Alexandre Courbot [-- Attachment #1: Type: text/plain, Size: 3422 bytes --] 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-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org> > Signed-off-by: Paul Walmsley <pwalmsley-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Cc: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Cc: Allen Martin <amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Cc: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Cc: Alexandre Courbot <gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > --- > 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(-) > > diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c > index a2c0ceb95f8f..4bdc654bd747 100644 > --- a/drivers/soc/tegra/pmc.c > +++ b/drivers/soc/tegra/pmc.c > @@ -739,7 +739,7 @@ static int tegra_pmc_probe(struct platform_device *pdev) > return 0; > } > > -#ifdef CONFIG_PM_SLEEP > +#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM) I would slightly prefer having this as separate #ifdef lines to make it clearer that we're special-casing 32-bit ARM. > static int tegra_pmc_suspend(struct device *dev) > { > tegra_pmc_writel(virt_to_phys(tegra_resume), PMC_SCRATCH41); > @@ -753,10 +753,11 @@ static int tegra_pmc_resume(struct device *dev) > > return 0; > } > -#endif > > static SIMPLE_DEV_PM_OPS(tegra_pmc_pm_ops, tegra_pmc_suspend, tegra_pmc_resume); > > +#endif I don't think this is necessary, SIMPLE_DEV_PM_OPS will not use the supend or resume hooks if PM_SLEEP is disabled. The result will be an empty dev_pm_ops structure. While that's somewhat useless, at least it'll allow... > + > static const char * const tegra20_powergates[] = { > [TEGRA_POWERGATE_CPU] = "cpu", > [TEGRA_POWERGATE_3D] = "3d", > @@ -894,7 +895,9 @@ static struct platform_driver tegra_pmc_driver = { > .name = "tegra-pmc", > .suppress_bind_attrs = true, > .of_match_table = tegra_pmc_match, > +#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM) > .pm = &tegra_pmc_pm_ops, > +#endif ... this #ifdef to be avoided. > }, > .probe = tegra_pmc_probe, > }; > diff --git a/include/soc/tegra/pm.h b/include/soc/tegra/pm.h > index 30fe2078a547..03909101d4e7 100644 > --- a/include/soc/tegra/pm.h > +++ b/include/soc/tegra/pm.h > @@ -17,7 +17,7 @@ enum tegra_suspend_mode { > TEGRA_MAX_SUSPEND_MODE, > }; > > -#ifdef CONFIG_PM_SLEEP > +#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM) Similarly to the above, I'd prefer this to be two separate lines. That also has the advantage that if we do add code for suspend/resume on 64 bit ARM later on we don't need to untangle the conditional again. Thierry [-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM 2014-12-10 11:23 ` Thierry Reding @ 2014-12-12 3:04 ` Paul Walmsley 0 siblings, 0 replies; 10+ messages in thread From: Paul Walmsley @ 2014-12-12 3:04 UTC (permalink / raw) To: Thierry Reding Cc: linux-soc, linux-kernel, linux-tegra, Kumar Gala, Paul Walmsley, Allen Martin, Stephen Warren, Alexandre Courbot Hello Thierry On Wed, 10 Dec 2014, Thierry Reding wrote: > 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@pwsan.com> > > Signed-off-by: Paul Walmsley <pwalmsley@nvidia.com> > > Cc: Thierry Reding <treding@nvidia.com> > > Cc: Allen Martin <amartin@nvidia.com> > > Cc: Stephen Warren <swarren@nvidia.com> > > Cc: Alexandre Courbot <gnurou@gmail.com> > > --- > > 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(-) > > > > diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c > > index a2c0ceb95f8f..4bdc654bd747 100644 > > --- a/drivers/soc/tegra/pmc.c > > +++ b/drivers/soc/tegra/pmc.c > > @@ -739,7 +739,7 @@ static int tegra_pmc_probe(struct platform_device *pdev) > > return 0; > > } > > > > -#ifdef CONFIG_PM_SLEEP > > +#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM) > > I would slightly prefer having this as separate #ifdef lines to make it > clearer that we're special-casing 32-bit ARM. That's fine, I'll update that when the patch is reposted against v3.19-rc1. > > static int tegra_pmc_suspend(struct device *dev) > > { > > tegra_pmc_writel(virt_to_phys(tegra_resume), PMC_SCRATCH41); > > @@ -753,10 +753,11 @@ static int tegra_pmc_resume(struct device *dev) > > > > return 0; > > } > > -#endif > > > > static SIMPLE_DEV_PM_OPS(tegra_pmc_pm_ops, tegra_pmc_suspend, tegra_pmc_resume); > > > > +#endif > > I don't think this is necessary, SIMPLE_DEV_PM_OPS will not use the > supend or resume hooks if PM_SLEEP is disabled. PM_SLEEP is enabled by default for the ARM64 defconfig, and I don't plan to patch that out. > > diff --git a/include/soc/tegra/pm.h b/include/soc/tegra/pm.h > > index 30fe2078a547..03909101d4e7 100644 > > --- a/include/soc/tegra/pm.h > > +++ b/include/soc/tegra/pm.h > > @@ -17,7 +17,7 @@ enum tegra_suspend_mode { > > TEGRA_MAX_SUSPEND_MODE, > > }; > > > > -#ifdef CONFIG_PM_SLEEP > > +#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM) > > Similarly to the above, I'd prefer this to be two separate lines. That > also has the advantage that if we do add code for suspend/resume on 64 > bit ARM later on we don't need to untangle the conditional again. I'm fine to change it, although it seems rather unlikely that this will be a significant issue. - Paul ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM [not found] ` <alpine.DEB.2.02.1412092224050.31750-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org> 2014-12-10 11:23 ` Thierry Reding @ 2015-01-07 14:33 ` Thierry Reding 2015-01-07 15:24 ` Dmitry Osipenko 1 sibling, 1 reply; 10+ messages in thread From: Thierry Reding @ 2015-01-07 14:33 UTC (permalink / raw) To: Paul Walmsley Cc: linux-soc-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-tegra-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Paul Walmsley, Thierry Reding, Allen Martin, Stephen Warren, Alexandre Courbot [-- Attachment #1: Type: text/plain, Size: 1380 bytes --] 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-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org> > Signed-off-by: Paul Walmsley <pwalmsley-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Cc: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Cc: Allen Martin <amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Cc: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Cc: Alexandre Courbot <gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > --- > 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 [-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM 2015-01-07 14:33 ` Thierry Reding @ 2015-01-07 15:24 ` Dmitry Osipenko [not found] ` <54AD4FB7.20600-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Dmitry Osipenko @ 2015-01-07 15:24 UTC (permalink / raw) To: Thierry Reding, Paul Walmsley Cc: linux-soc, linux-kernel, linux-tegra, Kumar Gala, Paul Walmsley, Thierry Reding, Allen Martin, Stephen Warren, Alexandre Courbot 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@pwsan.com> >> Signed-off-by: Paul Walmsley <pwalmsley@nvidia.com> >> Cc: Thierry Reding <treding@nvidia.com> >> Cc: Allen Martin <amartin@nvidia.com> >> Cc: Stephen Warren <swarren@nvidia.com> >> Cc: Alexandre Courbot <gnurou@gmail.com> >> --- >> 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <54AD4FB7.20600-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM [not found] ` <54AD4FB7.20600-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2015-01-07 15:55 ` Dmitry Osipenko 2015-01-08 8:49 ` Thierry Reding 1 sibling, 0 replies; 10+ messages in thread From: Dmitry Osipenko @ 2015-01-07 15:55 UTC (permalink / raw) To: Thierry Reding, Paul Walmsley Cc: linux-soc-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-tegra-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Paul Walmsley, Thierry Reding, Allen Martin, Stephen Warren, Alexandre Courbot 07.01.2015 18:24, Dmitry Osipenko пишет: > For now there is no feedback for my suspend bug patch (other than for V1), but, > To be more correct, by V1 I meant http://patchwork.ozlabs.org/patch/423224/ -- Dmitry ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM [not found] ` <54AD4FB7.20600-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2015-01-07 15:55 ` Dmitry Osipenko @ 2015-01-08 8:49 ` Thierry Reding [not found] ` <20150108084929.GA1987-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org> 1 sibling, 1 reply; 10+ messages in thread From: Thierry Reding @ 2015-01-08 8:49 UTC (permalink / raw) To: Dmitry Osipenko Cc: Paul Walmsley, linux-soc-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-tegra-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Paul Walmsley, Thierry Reding, Allen Martin, Stephen Warren, Alexandre Courbot [-- Attachment #1: Type: text/plain, Size: 2327 bytes --] On Wed, Jan 07, 2015 at 06:24:39PM +0300, Dmitry Osipenko wrote: > 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-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org> > >> Signed-off-by: Paul Walmsley <pwalmsley-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > >> Cc: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > >> Cc: Allen Martin <amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > >> Cc: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > >> Cc: Alexandre Courbot <gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >> --- > >> 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? I don't like changing this back to syscore_ops since it makes things less easier to follow. I also don't think that using PMC_SCRATCH41 for two different purposes is a good thing. There are a couple of suggestions in my reply to your original patch. Could you investigate whether any of those can be used to fix this instead? Thierry [-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20150108084929.GA1987-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>]
* Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM [not found] ` <20150108084929.GA1987-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org> @ 2015-01-08 9:42 ` Dmitry Osipenko 2015-01-08 10:58 ` Thierry Reding 0 siblings, 1 reply; 10+ messages in thread From: Dmitry Osipenko @ 2015-01-08 9:42 UTC (permalink / raw) To: Thierry Reding Cc: Paul Walmsley, linux-soc-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-tegra-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Paul Walmsley, Thierry Reding, Allen Martin, Stephen Warren, Alexandre Courbot 08.01.2015 11:49, Thierry Reding пишет: > I don't like changing this back to syscore_ops since it makes things > less easier to follow. I also don't think that using PMC_SCRATCH41 for > two different purposes is a good thing. There are a couple of > suggestions in my reply to your original patch. Could you investigate > whether any of those can be used to fix this instead? > > Thierry > I haven't received your reply. Double checked gmail inbox and mailing lists - nothing. It may just not propagated yet if you sent it today, otherwise can you please re-send it? -- Dmitry ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM 2015-01-08 9:42 ` Dmitry Osipenko @ 2015-01-08 10:58 ` Thierry Reding 2015-01-08 11:23 ` Dmitry Osipenko 0 siblings, 1 reply; 10+ messages in thread From: Thierry Reding @ 2015-01-08 10:58 UTC (permalink / raw) To: Dmitry Osipenko Cc: Paul Walmsley, linux-soc, linux-kernel, linux-tegra, Kumar Gala, Paul Walmsley, Thierry Reding, Allen Martin, Stephen Warren, Alexandre Courbot [-- Attachment #1: Type: text/plain, Size: 753 bytes --] On Thu, Jan 08, 2015 at 12:42:47PM +0300, Dmitry Osipenko wrote: > 08.01.2015 11:49, Thierry Reding пишет: > > I don't like changing this back to syscore_ops since it makes things > > less easier to follow. I also don't think that using PMC_SCRATCH41 for > > two different purposes is a good thing. There are a couple of > > suggestions in my reply to your original patch. Could you investigate > > whether any of those can be used to fix this instead? > > > > Thierry > > > > I haven't received your reply. Double checked gmail inbox and mailing lists - > nothing. It may just not propagated yet if you sent it today, otherwise can you > please re-send it? For some reason it hadn't gone out. Should be now, though. Thierry [-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM 2015-01-08 10:58 ` Thierry Reding @ 2015-01-08 11:23 ` Dmitry Osipenko 0 siblings, 0 replies; 10+ messages in thread From: Dmitry Osipenko @ 2015-01-08 11:23 UTC (permalink / raw) To: Thierry Reding Cc: Paul Walmsley, linux-soc, linux-kernel, linux-tegra, Kumar Gala, Paul Walmsley, Thierry Reding, Allen Martin, Stephen Warren, Alexandre Courbot 08.01.2015 13:58, Thierry Reding пишет: > On Thu, Jan 08, 2015 at 12:42:47PM +0300, Dmitry Osipenko wrote: >> 08.01.2015 11:49, Thierry Reding пишет: >>> I don't like changing this back to syscore_ops since it makes things >>> less easier to follow. I also don't think that using PMC_SCRATCH41 for >>> two different purposes is a good thing. There are a couple of >>> suggestions in my reply to your original patch. Could you investigate >>> whether any of those can be used to fix this instead? >>> >>> Thierry >>> >> >> I haven't received your reply. Double checked gmail inbox and mailing lists - >> nothing. It may just not propagated yet if you sent it today, otherwise can you >> please re-send it? > > For some reason it hadn't gone out. Should be now, though. > > Thierry > Received now, thanks! Your proposal sounds interesting, I'll try it. -- Dmitry ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-01-08 11:23 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-09 22:36 [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM Paul Walmsley
[not found] ` <alpine.DEB.2.02.1412092224050.31750-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2014-12-10 11:23 ` Thierry Reding
2014-12-12 3:04 ` Paul Walmsley
2015-01-07 14:33 ` Thierry Reding
2015-01-07 15:24 ` Dmitry Osipenko
[not found] ` <54AD4FB7.20600-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-07 15:55 ` Dmitry Osipenko
2015-01-08 8:49 ` Thierry Reding
[not found] ` <20150108084929.GA1987-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2015-01-08 9:42 ` Dmitry Osipenko
2015-01-08 10:58 ` Thierry Reding
2015-01-08 11:23 ` Dmitry Osipenko
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox