Re: [PATCH] soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21-03-17, 10:37, Jon Hunter wrote:
> 
> On 21/03/17 05:24, Viresh Kumar wrote:
> > The size of the struct tegra_powergate is quite big and if any more
> > fields are added to the internal genpd structure, following warnings are
> > thrown:
> > 
> > drivers/soc/tegra/pmc.c:577:1: warning: the frame size of 1176 bytes is larger than 1024 bytes [-Wframe-larger-than=]
> 
> Hmmm ... AFAICT the size of the tegra_powergate struct is 312 bytes
> (based upon next-20170321) and so it looks like something massive needs
> to be added to the genpd struct to blow this up to over 1024 bytes. Are
> there some genpd changes in-flight that are causing this?

https://marc.info/?l=linux-kernel&m=149000247329743&w=2

This is up for discussion right now though and we don't know if it
will surely get merged or not.

-- 
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux