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: <CAD6h2NSnU5aLEC2w12FVesvBHoKHg2DNY3Eav-kq7htivu=Z=w@mail.gmail.com>
Date:	Thu, 11 Dec 2014 19:19:02 +0800
From:	Haojian Zhuang <haojian.zhuang@...aro.org>
To:	Wang Long <long.wanglong@...wei.com>
Cc:	"tglx@...utronix.de" <tglx@...utronix.de>,
	Jason Cooper <jason@...edaemon.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	peifeiyue@...wei.com, Xinwei Hu <huxinwei@...wei.com>
Subject: Re: [PATCH] irq: irq-hip04: initialize hip04_cpu_map to 0xffff

On 11 December 2014 at 19:03, Wang Long <long.wanglong@...wei.com> wrote:
> HiP04 GIC extends to support 16 cores, so we should
> initialize the hip04_cpu_map to 0xffff.
>
> Signed-off-by: Wang Long <long.wanglong@...wei.com>
> ---
>  drivers/irqchip/irq-hip04.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/irqchip/irq-hip04.c b/drivers/irqchip/irq-hip04.c
> index 9c8f8335..8eee46b 100644
> --- a/drivers/irqchip/irq-hip04.c
> +++ b/drivers/irqchip/irq-hip04.c
> @@ -382,7 +382,7 @@ hip04_of_init(struct device_node *node, struct device_node *parent)
>          * It will be refined as each CPU probes its ID.
>          */
>         for (i = 0; i < NR_HIP04_CPU_IF; i++)
> -               hip04_cpu_map[i] = 0xff;
> +               hip04_cpu_map[i] = 0xffff;
>
>         /*
>          * Find out how many interrupts are supported.
> --
> 1.8.3.4
>

Acked-by: Haojian Zhuang <haojian.zhuang@...aro.org>

Best Regards
Haojian
--
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