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: <86802c440809171128y17cbb6b6mca9c5beae0b2dcd4@mail.gmail.com>
Date:	Wed, 17 Sep 2008 11:28:48 -0700
From:	"Yinghai Lu" <yhlu.kernel@...il.com>
To:	"Marcin Slusarz" <marcin.slusarz@...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/6] apci: dump slit with printk(KERN_ACPI...)

On Wed, Sep 17, 2008 at 11:19 AM, Marcin Slusarz
<marcin.slusarz@...il.com> wrote:
> On Wed, Sep 17, 2008 at 01:27:46AM -0700, Yinghai Lu wrote:
>> Signed-off-by: Yinghai Lu <yhlu.kernel@...il.com>
>>
>> ---
>>  drivers/acpi/numa.c |    9 +++++++++
>>  1 file changed, 9 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,15 @@ static __init int slit_valid(struct acpi
>>  {
>>       int i, j;
>>       int d = slit->locality_count;
>> +     printk(KERN_DEBUG KERN_ACPI "ACPI: SLIT: nodes = %d\n", d);
>> +     for (i = 0; i < d; i++) {
>> +             printk(KERN_DEBUG KERN_ACPI "  ");
>> +             for (j = 0; j < d; j++)  {
>> +                     u8 val = slit->entry[d*i + j];
>> +                     printk(KERN_CONT KERN_ACPI " %d", val);
>> +             }
>> +             printk(KERN_CONT KERN_ACPI "\n");
>> +     }
>
> It will produce something like this:
> <7><acpi>ACPI: SLIT: nodes = %d\n
> <7><acpi>  <acpi> %d<acpi> %d<acpi> %d<acpi> %d<acpi>\n
>
> bit wrong... ;)

did you check v6...?

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