lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 14 Aug 2014 08:40:23 +0100
From:	Russell King - ARM Linux <linux@....linux.org.uk>
To:	Chanwoo Choi <cw00.choi@...sung.com>
Cc:	santosh.shilimkar@...com, will.deacon@....com,
	catalin.marinas@....com, akpm@...ux-foundation.org,
	damm@...nsource.se, ard.biesheuvel@...aro.org, olof@...om.net,
	kyungmin.park@...sung.com, sw0312.kim@...sung.com,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: Use 'model' property to set machine_name from
	Device Tree

On Thu, Aug 14, 2014 at 10:04:42AM +0900, Chanwoo Choi wrote:
> On 07/07/2014 10:53 AM, Chanwoo Choi wrote:
> > This patch use 'model' property from Device Tree to set machine_name.
> > The arm64 has already got the machine_name from Device Tree.
> > 
> > Signed-off-by: Chanwoo Choi <cw00.choi@...sung.com>
> > ---
> >  arch/arm/kernel/setup.c | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> > diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
> > index 8a16ee5..698616f 100644
> > --- a/arch/arm/kernel/setup.c
> > +++ b/arch/arm/kernel/setup.c
> > @@ -878,7 +878,11 @@ void __init setup_arch(char **cmdline_p)
> >  	if (!mdesc)
> >  		mdesc = setup_machine_tags(__atags_pointer, __machine_arch_type);
> >  	machine_desc = mdesc;
> > +#if CONFIG_OF
> > +	machine_name = of_flat_dt_get_machine_name();
> > +#else
> >  	machine_name = mdesc->name;
> > +#endif
> >  
> >  	if (mdesc->reboot_mode != REBOOT_HARD)
> >  		reboot_mode = mdesc->reboot_mode;
> > 
> 
> Ping.

This has come up before, and the decision was against exposing this.

Thanks.

-- 
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ