public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* some new unaligned access while booting ia64 (HP rx2620)
@ 2006-02-02 19:46 Luck, Tony
  2006-02-02 22:28 ` Moore, Robert
                   ` (21 more replies)
  0 siblings, 22 replies; 41+ messages in thread
From: Luck, Tony @ 2006-02-02 19:46 UTC (permalink / raw)
  To: linux-acpi; +Cc: linux-ia64

Booting a snapshot of Linus' tree this morning I saw a few (new?)
kernel unaligned access warnings:

ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOSAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
kernel unaligned access to 0xe00000407ec5a204, ip=0xa0000001003af8c0
kernel unaligned access to 0xe00000407ec5a23c, ip=0xa0000001003af8c0
kernel unaligned access to 0xe00000407ec5a28c, ip=0xa0000001003af8c0
kernel unaligned access to 0xe00000407ec5a1fc, ip=0xa0000001003ae6c1
kernel unaligned access to 0xe00000407ec5a204, ip=0xa0000001003ae6d1
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI0._PRT]
ACPI: PCI Root Bridge [PCI1] (0000:20)

The first three at ip=0xa0000001003af8c0 are in acpi_rs_get_resource_source()
while zeroing a 64-bit value:
a0000001003af8c0:       dc 00 00 46 98 11       [MFB] (p06) st8 [r35]=r0

Which looks from the assembly code like we are doing a:
   resource_source->string_ptr = 0;
but I don't see anything quite like that in the C source (but
there may be macros & inlining happening).

The other two, ip=0xa0000001003ae6c1 and ip=0xa0000001003ae6d1 are in
acpi_resource_to_address64() close together in this little
block:

a0000001003ae6c6:       50 02 58 30 20 00                   ld8 r37=[r22]
a0000001003ae6cc:       00 00 00 20                         nop.b 0x0;;
a0000001003ae6d0:       19 00 94 1e 98 11       [MMB]       st8 [r15]=r37
a0000001003ae6d6:       70 02 40 30 20 00                   ld8 r39=[r16]

These loads are dereferencing the acpi_resource structure that was passed
as the first argument (offsets 40 and 48 bytes).

-Tony

^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2006-03-15 17:14 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-02 19:46 some new unaligned access while booting ia64 (HP rx2620) Luck, Tony
2006-02-02 22:28 ` Moore, Robert
2006-02-09 16:56 ` Moore, Robert
2006-02-09 20:44 ` Luck, Tony
2006-02-09 20:55 ` Moore, Robert
2006-02-09 21:04 ` Luck, Tony
2006-02-09 21:15 ` Luck, Tony
2006-02-09 23:43 ` Moore, Robert
2006-02-10  2:07   ` Thomas Renninger
2006-02-10 20:11 ` Moore, Robert
2006-02-10 21:15 ` Luck, Tony
2006-02-10 21:19 ` Moore, Robert
2006-02-10 21:54 ` Luck, Tony
2006-02-10 21:56 ` Moore, Robert
2006-02-10 22:58 ` Luck, Tony
2006-02-11 21:25   ` Bjorn Helgaas
2006-02-10 23:07 ` Moore, Robert
2006-02-10 23:15 ` Moore, Robert
2006-02-10 23:25 ` Luck, Tony
2006-02-10 23:31 ` Moore, Robert
2006-02-13 18:51   ` Thomas Renninger
2006-02-13 22:33     ` Bjorn Helgaas
2006-02-13 22:57       ` Andreas Schwab
2006-02-14  0:22         ` Bjorn Helgaas
2006-02-14 23:13           ` [PATCH] ACPI: fix vendor resource length computation Bjorn Helgaas
2006-02-14 23:19             ` Bjorn Helgaas
2006-02-14 23:25             ` Moore, Robert
2006-02-14 23:34               ` Bjorn Helgaas
2006-02-15  0:04             ` Moore, Robert
2006-02-15 17:49               ` Thomas Renninger
2006-02-15 18:38             ` Moore, Robert
2006-02-15 19:05             ` Luck, Tony
2006-02-16  8:59               ` Thomas Renninger
2006-02-16 22:54             ` Moore, Robert
2006-02-10 23:58 ` some new unaligned access while booting ia64 (HP rx2620) Luck, Tony
2006-02-11  0:39 ` Luck, Tony
2006-02-11 12:21   ` Robin Holt
2006-03-14 23:59 ` Bjorn Helgaas
2006-03-15 15:47 ` Moore, Robert
2006-03-15 16:49   ` Bjorn Helgaas
2006-03-15 17:14 ` Moore, Robert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox