mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vaneet Narang <v.narang@samsung.com>
To: Maninder Singh <maninder1.s@samsung.com>,
	"linux@armlinux.org.uk" <linux@armlinux.org.uk>,
	"dustinb@codeaurora.org" <dustinb@codeaurora.org>
Cc: "linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	AMIT SAHRAWAT <a.sahrawat@samsung.com>,
	PANKAJ MISHRA <pankaj.m@samsung.com>
Subject: RE: [PATCH v2] arm/stacktrace: stop unwinding after an invalid address.
Date: Tue, 03 Apr 2018 18:28:04 +0530	[thread overview]
Message-ID: <1166142499.594566.1522760284362.JavaMail.jboss@ep1ml501> (raw)
In-Reply-To: <1521630645-46715-1-git-send-email-maninder1.s@samsung.com>

[-- Attachment #1: Type: text/plain, Size: 538 bytes --]

 
Hi Russell,


>__dabt_usr+0x44/0x60
>0xb6748ea4
>^^^^^^^^

>--- a/arch/arm/kernel/stacktrace.c
>+++ b/arch/arm/kernel/stacktrace.c
>@@ -92,6 +92,9 @@ static int save_trace(struct stackframe *frame, void *d)
> 
> 	regs = (struct pt_regs *)frame->sp;
>
>+	if (!__kernel_text_address(regs->ARM_pc))
>+		return 1;
>+
> 	trace->entries[trace->nr_entries++] = regs->ARM_pc;
 
 
Any Inputs or Comments on this patch to avoid storing user space entries 
during unwind.
 
Regards,
Vaneet Narang

[-- Attachment #2: rcptInfo.txt --]
[-- Type: application/octet-stream, Size: 1636 bytes --]


   =================================================================================================================================
      Subject    : [PATCH v2] arm/stacktrace: stop unwinding after an invalid address.
      From       : Maninder Singh Engineer/SRI-Delhi-Platform S/W 1 Team/Samsung Electronics 
      Sent Date  : 2018-03-21 16:41  GMT+5:30
   =================================================================================================================================
                  Name                Type          Job Title                       Dept.                               Company                
   =================================================================================================================================
      linux@armlinux.org.uk          TO
      dustinb@codeaurora.org         TO
      linux-arm-kernel@lists.in...   CC
      linux-kernel@vger.kernel.org   CC
      AMIT SAHRAWAT                  CC         Staff Engineer             SRI-Delhi-Platform S/W 1 Team             Samsung Electronics
      PANKAJ MISHRA                  CC         Principal Professional     SRI-Delhi-Platform S/W 1 Team             Samsung Electronics
      Maninder Singh                 CC         Engineer                   SRI-Delhi-Platform S/W 1 Team             Samsung Electronics 
      Vaneet Narang                  CC         Staff Engineer             SRI-Delhi-Platform S/W 1 Team             Samsung Electronics
   =================================================================================================================================

      parent reply	other threads:[~2018-04-03 12:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180321111139epcas5p4d5b75f4e1b572ae4e55aef737cd6d8e9@epcas5p4.samsung.com>
2018-03-21 11:10 ` Maninder Singh
     [not found]   ` <CGME20180321111139epcas5p4d5b75f4e1b572ae4e55aef737cd6d8e9@epcms5p3>
2018-04-03 12:58     ` Vaneet Narang [this message]

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=1166142499.594566.1522760284362.JavaMail.jboss@ep1ml501 \
    --to=v.narang@samsung.com \
    --cc=a.sahrawat@samsung.com \
    --cc=dustinb@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=maninder1.s@samsung.com \
    --cc=pankaj.m@samsung.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®