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: <20161119.104812.1434195314137737490.davem@davemloft.net>
Date:   Sat, 19 Nov 2016 10:48:12 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     vijay.ac.kumar@...cle.com
Cc:     sparclinux@...r.kernel.org, karl.volz@...cle.com,
        rob.gardner@...cle.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/4] sparc64: Migrate hvcons irq to panicked cpu

From: Vijay Kumar <vijay.ac.kumar@...cle.com>
Date: Fri, 11 Nov 2016 10:11:57 -0800

> @@ -1444,8 +1444,12 @@ void smp_send_stop(void)
>  	int cpu;
>  
>  	if (tlb_type == hypervisor) {
> +		int this_cpu = smp_processor_id();
> +
> +		sunhv_migrate_hvcons_irq(this_cpu);
> +

You can't unconditionally call into code that might be configured
out by a Kconfig option, as you are doing here.

If SERIAL_SUNHV=n this change will thus result in a build error.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ