public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] new ia64 patch (relative to 2.5.69)
@ 2003-05-22  1:33 David Mosberger
  2003-05-22 15:39 ` Luck, Tony
  0 siblings, 1 reply; 2+ messages in thread
From: David Mosberger @ 2003-05-22  1:33 UTC (permalink / raw)
  To: linux-ia64

An updated 2.5.69 patch is now available at:

 ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5/

in linux-2.5.69-ia64-030521.diff.gz.

Warning: I pushed a patch of the same name earlier today, just to find
that core-dumps were broken.  I fixed that now and updated the patch.
If you don't have the latest version, the attached patch will be
missing.

This kernel should be fairly stable (at least it has been for me).

I'm planning to apply a patch next a patch by Rohit Seth and some
other folks at Intel.  This patch restructures struct pt_regs and
optimizes the syscall path not to save/restore scratch registers.
Most definitely non-trivial stuff and will need a lot of testing.  But
if things break unexpectedly, we can easily fall back to the current
snapshot.

	--david

diff -Nru a/arch/ia64/kernel/unwind.c b/arch/ia64/kernel/unwind.c
--- a/arch/ia64/kernel/unwind.c	Wed May 21 18:24:17 2003
+++ b/arch/ia64/kernel/unwind.c	Wed May 21 18:24:17 2003
@@ -239,7 +239,10 @@
 	if (!info->pt) {
 		/* This should not happen with valid unwind info.  */
 		UNW_DPRINT(0, "unwind.%s: bad unwind info: resetting info->pt\n", __FUNCTION__);
-		info->pt = info->sp - 16;
+		if (info->flags & UNW_FLAG_INTERRUPT_FRAME)
+			info->pt = (unsigned long) ((struct pt_regs *) info->psp - 1);
+		else
+			info->pt = info->sp - 16;
 	}
 	UNW_DPRINT(3, "unwind.%s: sp 0x%lx pt 0x%lx\n", __FUNCTION__, info->sp, info->pt);
 	return (struct pt_regs *) info->pt;


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

* RE: [Linux-ia64] new ia64 patch (relative to 2.5.69)
  2003-05-22  1:33 [Linux-ia64] new ia64 patch (relative to 2.5.69) David Mosberger
@ 2003-05-22 15:39 ` Luck, Tony
  0 siblings, 0 replies; 2+ messages in thread
From: Luck, Tony @ 2003-05-22 15:39 UTC (permalink / raw)
  To: linux-ia64

David wrote:
> An updated 2.5.69 patch is now available at:
> 
>  ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5/
> 
> in linux-2.5.69-ia64-030521.diff.gz.

This patch includes my kernel relocation change (yipee!) ... don't
be surprised when you see kernel addresses like 0xA0000001000xxxxx
instead of the 0xE0000000000xxxxx that you've been used to in ia64.

-Tony


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

end of thread, other threads:[~2003-05-22 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-22  1:33 [Linux-ia64] new ia64 patch (relative to 2.5.69) David Mosberger
2003-05-22 15:39 ` Luck, Tony

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