public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Shaveta Leekha <shaveta.leekha@nxp.com>
To: Linaro UEFI Mailman List <linaro-uefi@lists.linaro.org>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: SATA AHCI issue
Date: Mon, 8 Aug 2016 11:53:53 +0000	[thread overview]
Message-ID: <VI1PR0401MB2000DFB216060F6CDC3570B38F1B0@VI1PR0401MB2000.eurprd04.prod.outlook.com> (raw)
In-Reply-To: 7F1BAD85ADEA444D97065A60D2E97EE538817A7E@SHSMSX101.ccr.corp.intel.com

Hi,

I am facing one Timeout issue while writing
big file over my SATA HDD.
It in the code of "AhciDmaTransfer " from file AhciMode.c

  //
  // Wait for command compelte
  //
  FisBaseAddr = (UINTN)AhciRegisters->AhciRFis + Port * sizeof (EFI_AHCI_RECEIVED_FIS);
  Offset      = FisBaseAddr + EFI_AHCI_D2H_FIS_OFFSET;
Status = AhciWaitMemSet (
               Offset,
               EFI_AHCI_FIS_TYPE_MASK,
               EFI_AHCI_FIS_REGISTER_D2H,				This MemSet check fails, what could be the issue?
               Timeout
               );

TimeOut occur while checking FIS_REGISTER_D2H.
Any idea about this time out issue?

Can it be "Due to un-aligned PRD? Are there multiple PRDs created or single PRD?"

As I am able to write maximum 4MB file on SATA HDD, file above 4MB size failed by giving TIMEOUT_ERROR.

Thanks and Regards,
Shaveta




       reply	other threads:[~2016-08-08 11:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <VI1PR0401MB2000FB8D871780C1CA6FF7218F320@VI1PR0401MB2000.eurprd04.prod.outlook.com>
     [not found] ` <7F1BAD85ADEA444D97065A60D2E97EE538817A7E@SHSMSX101.ccr.corp.intel.com>
2016-08-08 11:53   ` Shaveta Leekha [this message]
2016-08-08 12:06     ` SATA AHCI issue Shaveta Leekha
2016-08-09  3:00       ` Tian, Feng
2016-08-09  7:36         ` Shaveta Leekha
2016-08-09  8:02           ` Shaveta Leekha
2016-08-09  8:08             ` Tian, Feng
2016-08-09 11:40               ` Shaveta Leekha
2016-08-10  5:19                 ` Tian, Feng
2016-08-10 11:49                   ` Shaveta Leekha
2016-08-11  1:55                     ` Tian, Feng

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-list 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=VI1PR0401MB2000DFB216060F6CDC3570B38F1B0@VI1PR0401MB2000.eurprd04.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /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