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]
Message-ID: <20140424105235.GL26756@n2100.arm.linux.org.uk>
Date:	Thu, 24 Apr 2014 11:52:35 +0100
From:	Russell King - ARM Linux <linux@....linux.org.uk>
To:	Anders Berg <anders.berg@....com>
Cc:	Arnd Bergmann <arnd@...db.de>, Olof Johansson <olof@...om.net>,
	Mike Turquette <mturquette@...aro.org>,
	Mark Rutland <mark.rutland@....com>,
	Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
	David Woodhouse <dwmw2@...radead.org>,
	Linus Walleij <linus.walleij@...aro.org>,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/6] ARM: Add platform support for LSI AXM55xx SoC

On Thu, Apr 24, 2014 at 12:44:04PM +0200, Anders Berg wrote:
> diff --git a/arch/arm/mach-axxia/Kconfig b/arch/arm/mach-axxia/Kconfig
> new file mode 100644
> index 0000000..8c308fd
> --- /dev/null
> +++ b/arch/arm/mach-axxia/Kconfig
> @@ -0,0 +1,16 @@
> +config ARCH_AXXIA
> +	bool "LSI Axxia platforms" if (ARCH_MULTI_V7 && ARM_LPAE)
> +	select ARM_GIC
> +	select MFD_SYSCON
> +	select ARM_AMBA
> +	select HAVE_ARM_ARCH_TIMER
> +	select ARM_TIMER_SP804
> +	select ZONE_DMA
> +	select ARCH_DMA_ADDR_T_64BIT
> +	select MIGHT_HAVE_PCI
> +	select PCI_DOMAINS if PCI

Please sort alphabetically.

> +static int axxia_boot_secondary(unsigned int cpu, struct task_struct *idle)
> +{
> +	struct device_node *syscon_np;
> +	void __iomem *syscon;
> +	u32 tmp;
> +
> +	syscon_np = of_find_compatible_node(NULL, NULL, "lsi,axxia-syscon");
> +	if (!syscon_np)
> +		return -ENOENT;
> +
> +	syscon = of_iomap(syscon_np, 0);
> +	if (!syscon)
> +		return -ENOMEM;
> +
> +	tmp = readl(syscon + SC_RST_CPU_HOLD);
> +	writel(0xab, syscon + SC_CRIT_WRITE_KEY);
> +	tmp &= ~(1 << cpu);
> +	writel(tmp, syscon + SC_RST_CPU_HOLD);
> +
> +	return 0;
> +}

This is much better, thanks.

-- 
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.
--
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