All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman.id.au>
To: Frederic Barrat <fbarrat@linux.vnet.ibm.com>,
	imunsie@au1.ibm.com, linuxppc-dev@lists.ozlabs.org
Subject: Re: [RESEND PATCH] cxl: Fix coredump generation when cxl_get_fd() is used
Date: Fri, 18 Nov 2016 23:04:51 +1100	[thread overview]
Message-ID: <8760nlgfj0.fsf@concordia.ellerman.id.au> (raw)
In-Reply-To: <20161114085854.19667-1-fbarrat@linux.vnet.ibm.com>

Frederic Barrat <fbarrat@linux.vnet.ibm.com> writes:

> If a process dumps core while owning a cxl file descriptor obtained
> from an AFU driver (e.g. cxlflash) through the cxl_get_fd() API, the
> following error occurs:
>
> [  868.027591] Unable to handle kernel paging request for data at address ...
> [  868.027778] Faulting instruction address: 0xc00000000035edb0
> cpu 0x8c: Vector: 300 (Data Access) at [c000003c688275e0]
>     pc: c00000000035edb0: elf_core_dump+0xd60/0x1300
>     lr: c00000000035ed80: elf_core_dump+0xd30/0x1300
>     sp: c000003c68827860
>    msr: 9000000100009033
>    dar: c
> dsisr: 40000000
>  current = 0xc000003c68780000
>  paca    = 0xc000000001b73200   softe: 0        irq_happened: 0x01
>     pid   = 46725, comm = hxesurelock
> enter ? for help
> [c000003c68827a60] c00000000036948c do_coredump+0xcec/0x11e0
> [c000003c68827c20] c0000000000ce9e0 get_signal+0x540/0x7b0
> [c000003c68827d10] c000000000017354 do_signal+0x54/0x2b0
> [c000003c68827e00] c00000000001777c do_notify_resume+0xbc/0xd0
> [c000003c68827e30] c000000000009838 ret_from_except_lite+0x64/0x68
> --- Exception: 300 (Data Access) at 00003fff98ad2918

Just FYI, the triple "---" is the "end of change log" marker. It took me
a while to work out why whenever I applied this I only got half the
change log and no sign offs :D

Personally I like to indent oopses anyway, which also avoids that
problem.

cheers

  parent reply	other threads:[~2016-11-18 12:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-14  8:58 [RESEND PATCH] cxl: Fix coredump generation when cxl_get_fd() is used Frederic Barrat
2016-11-14 16:27 ` Matthew R. Ochs
2016-11-18 12:04 ` Michael Ellerman [this message]
2016-11-22  0:34 ` [RESEND] " Michael Ellerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760nlgfj0.fsf@concordia.ellerman.id.au \
    --to=mpe@ellerman.id.au \
    --cc=fbarrat@linux.vnet.ibm.com \
    --cc=imunsie@au1.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.