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:	Tue, 16 Sep 2008 14:13:11 +0400
From:	Cyrill Gorcunov <gorcunov@...il.com>
To:	Yinghai Lu <yhlu.kernel@...il.com>
Cc:	Ingo Molnar <mingo@...e.hu>, Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/5] apci: dump slit v3

[Yinghai Lu - Tue, Sep 16, 2008 at 01:52:54AM -0700]
| v2: using boot_printk
| v3: using acpi_printk
| 
| Signed-off-by: Yinghai Lu <yhlu.kernel@...il.com>
| 
| ---
|  drivers/acpi/numa.c |    8 ++++++++
|  1 file changed, 8 insertions(+)
| 
| Index: linux-2.6/drivers/acpi/numa.c
| ===================================================================
| --- linux-2.6.orig/drivers/acpi/numa.c
| +++ linux-2.6/drivers/acpi/numa.c
| @@ -150,6 +150,14 @@ static __init int slit_valid(struct acpi
|  {
|  	int i, j;
|  	int d = slit->locality_count;
| +	acpi_printk(KERN_LOG_DEBUG, KERN_DEBUG "ACPI: SLIT: nodes = %d\n", d);
| +	for (i = 0; i < d; i++) {
| +		for (j = 0; j < d; j++)  {
| +			u8 val = slit->entry[d*i + j];
| +			acpi_printk(KERN_LOG_DEBUG, " %d", val);
| +		}
| +		acpi_printk(KERN_LOG_DEBUG, "\n");
| +	}
|  	for (i = 0; i < d; i++) {
|  		for (j = 0; j < d; j++)  {
|  			u8 val = slit->entry[d*i + j];
| 

I suppose there will be some apic_pr_... macro since
typing ~40 symbols to print a message a bit annoying.
Yinghai?

		- Cyrill -
--
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