Thread (37 messages) 37 messages, 7 authors, 2008-02-26

Re: What's needed for PMP support?

From: Tejun Heo <hidden>
Date: 2008-02-22 02:12:54

Mark Lord wrote:
quoted
Heh... I never thought a PMP aware controller would use TF SRST, so what
you want to do is set pmp value in the register and calling
ata_std_softreset(), right?  I think the correct thing to do is to
separate out SRST sequence proper from ata_std_softreset() into, say,
ata_sff_SRST() and build custom softreset around it.  After all, the
problem here is the reset sequence not the SCR access.
..

Actually, I believe the problem *is* the (pmp) SCR access.
The same issue will return again when trying to support hotplug, for
example.
Can you elaborate a bit?
Any SCR access will steal the active pmp on such hosts.

I think we really do need to snoop those, somehow.
Adding ->sata_pmp_scr_read/write should do but I wanna avoid that if
possible.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help