[PATCH] ldso: exit if zalloc can't alloc memory

2017-04-05 Thread Vineet Gupta
_dl_zalloc callers don't check for allocaton failure. It kind of makes sense since such early allocations are unlikely to fail, and even if they do, ldso would segv anyways thus bringing the issue to attention. However there's a gcc nuance which led to this patch. It seems gcc at -O2 (for DODEBUG

[PATCH] ldso/arc: fix debug prints

2017-04-05 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- ldso/ldso/arc/elfinterp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ldso/ldso/arc/elfinterp.c b/ldso/ldso/arc/elfinterp.c index 2f0cf7f6635b..c164d5dae6bf 100644 --- a/ldso/ldso/arc/elfinterp.c +++ b/ldso/ldso/arc/elfinterp.c @@ -179

Re: [PATCH v2] clk/axs10x: introduce AXS10X pll driver

2017-04-05 Thread Vlad Zakharov
Hi Stephen, On Tue, 2017-04-04 at 18:35 -0700, Stephen Boyd wrote: > > + .pll_table = (struct pll_of_table []){ > > + { > > + .prate = 2700, > > Can this be another clk in the framework instead of hardcoding > the parent rate? In fact there is another clk

Re: [PATCH v2] clk/axs10x: introduce AXS10X pll driver

2017-04-05 Thread Stephen Boyd
On 02/21, Vlad Zakharov wrote: > diff --git a/Documentation/devicetree/bindings/clock/snps,pll-clock.txt > b/Documentation/devicetree/bindings/clock/snps,pll-clock.txt > new file mode 100644 > index 000..5706246 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/snps,pll-clock.txt