From: Joao Pinto <Joao.Pinto@synopsys.com>
To: linux-scsi@vger.kernel.org
Subject: UFS: MPHY configuration issue
Date: Wed, 20 Jan 2016 18:57:15 +0000 [thread overview]
Message-ID: <569FD88B.1010407@synopsys.com> (raw)
Hi,
I am trying to configure my MPHY through UNIPRO but I am experiencing a kernel
crash when executing a dme instruction:
As an example I am executing the following:
result = ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(PA_RXHSUNTERMCAP, 0), 1);
In ufshcd_dme_set_attr() I have the following data ready to execute:
set = dme-set
uic_cmd.command:2
uic_cmd.argument1 = 15a50000
uic_cmd.argument2 = 0
uic_cmd.argument3 = 1
And then the ufshcd_send_uic_cmd() procedure originates a crash as you can see
below.
Crash log:
Path: /bin/busybox
CPU: 0 PID: 97 Comm: modprobe Not tainted 4.4.0-rc1 #26
task: 9f1f9c00 ti: 9f1ba000 task.ti: 9f1ba000
[ECR ]: 0x00220200 => Invalid Write @ 0x00000000 by insn @ 0x80a8a8c2
[EFA ]: 0x00000000
[BLINK ]: ufshcd_release+0x14a2/0x1738 [ufshcd]
[ERET ]: __mutex_lock_slowpath+0x46/0x100
[STAT32]: 0x0000080e : K A1 E2 E1
BTA: 0x70054f4e SP: 0x9f1bbc64 FP: 0x00000000
LPS: 0x808765b8 LPE: 0x808765bc LPC: 0x00000000
r00: 0x9f2b5b50 r01: 0x9f1bbcb4 r02: 0x00000000
r03: 0x9f1bbc64 r04: 0x00000000 r05: 0x00000002
r06: 0x6affd617 r07: 0x00000000 r08: 0x6affd617
r09: 0x00000000 r10: 0x00000008 r11: 0x0000403f
r12: 0x00000000
Stack Trace:
__mutex_lock_slowpath+0x46/0x100
ufshcd_release+0x14a2/0x1738 [ufshcd]
I would like to hear some opinions about this issue!
Thank you very much!
BR
Joao
reply other threads:[~2016-01-20 18:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=569FD88B.1010407@synopsys.com \
--to=joao.pinto@synopsys.com \
--cc=linux-scsi@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).