All of lore.kernel.org
 help / color / mirror / Atom feed
* AHCI related question
@ 2010-11-22 21:43 Kamala Narasimhan
  0 siblings, 0 replies; only message in thread
From: Kamala Narasimhan @ 2010-11-22 21:43 UTC (permalink / raw)
  To: tj, jgarzik; +Cc: linux-scsi, linux-ide

Thought I would request help from AHCI experts to solve an issue I
encounter.  Apologies in advance if this is not the right forum for
requesting such help.

Background - I am writing a minimal AHCI driver that would be invoked
within Xen environment upon a system crash.  It is minimal in the
sense it doesn't do much in the way of initializing the device,
setting up interrupts etc. as dom0 would take care of initialization
and we will be using it in polled mode with no interrupts, so no need
to setup interrupts.  Upon a system crash, I am able to get to abar
and HBA registers etc.  I am also able to map the relevant memory
regions appropriately within Xen and access it.  But, when I issue a
command by setting the relevant free slot specific bit in the port
command issue register (pxci), the bit I set for the slot in pxci is
not getting reset as it should upon successful execution of the
command.

As an experiment, I simply tried to stop/start the HBA engine by
setting the ST bit in the command register (PxCMD) to 0 but the CR, FR
bits etc. in PxCMD is not getting reset by the HBA upon ST reset as
expected.  It appears the HBA engine is not responding as it should.
If you can share any thought as to why the HBA is not responding
though the PCI space, abar, port registers etc. looks fine that would
be much appreciated.  Thanks!

Kamala

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-22 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-22 21:43 AHCI related question Kamala Narasimhan

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.