RE: [PATCH] libata-pmp: add schedule timeout to support some PMP cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Or maybe I can add this PID/VID to the sata_pmp_quircks,
Before sata_pmp_read, driver will check this flag to decide if delay the time.

> -----Original Message-----
> From: Huang Changming-R66093
> Sent: Friday, December 16, 2011 7:01 PM
> To: Huang Changming-R66093; Mark Lord
> Cc: Tejun Heo; linux-ide@xxxxxxxxxxxxxxx
> Subject: RE: [PATCH] libata-pmp: add schedule timeout to support some PMP
> cards
> 
> For JMP393 PMP card, the VID: 0x197b, PID: 0x0325
> 
> > -----Original Message-----
> > From: linux-ide-owner@xxxxxxxxxxxxxxx [mailto:linux-ide-
> > owner@xxxxxxxxxxxxxxx] On Behalf Of Huang Changming-R66093
> > Sent: Friday, December 16, 2011 6:58 PM
> > To: Mark Lord
> > Cc: Tejun Heo; linux-ide@xxxxxxxxxxxxxxx
> > Subject: RE: [PATCH] libata-pmp: add schedule timeout to support some
> > PMP cards
> >
> > Hi, have you any feedback about your PMP cards?
> >
> > Now I must send out the patch to support the JMP393 PMP card.
> > Maybe I will simply to delay the enough time for PMP SCR as the below:
> >
> > set_current_state(TASK_INTERRUPTIBLE);
> > schedule_timeout(msecs_to_jiffies(50)); /* sleep 50 msecond */
> >
> > err_mask = sata_pmp_read(link, reg, r_val);
> >
> >
> > > -----Original Message-----
> > > From: Mark Lord [mailto:kernel@xxxxxxxxxxxx]
> > > Sent: Wednesday, November 16, 2011 10:20 PM
> > > To: Huang Changming-R66093
> > > Cc: Tejun Heo; linux-ide@xxxxxxxxxxxxxxx
> > > Subject: Re: [PATCH] libata-pmp: add schedule timeout to support
> > > some PMP cards
> > >
> > > On 11-11-16 04:00 AM, Huang Changming-R66093 wrote:
> > > >> -----Original Message-----
> > > >> From: Mark Lord [mailto:kernel@xxxxxxxxxxxx]
> > > ..
> > > >>> What's the patch that I need to test ?
> > > >>
> > > >> Found it, tried it, still have a Linux doorstop.
> > > >> Works fine under that other O/S though.
> > > >>
> > > > That’s a bad news. I think we need one workaround to fix it.
> > > > I tested the other two PMP cards, they work well on Freescale's
> board:
> > > > Port Multiplier 1.1, 0x1095:0x4726 r31, 7 ports, feat 0x1/0x9
> > > > (Silicon
> > > Image)
> > > > Port Multiplier 1.2, 0x197b:0x0321 r0, 5 ports, feat 0x5/0xf
> > > > (JMB391)
> > >
> > >
> > > No worries -- I'm just trying to get my JMB PMP to work on x86.
> > > Your patch may still be good and necessary for Freescale; dunno.
> > >
> > > Cheers
> >
> >   칻 & ~ &   +-  ݶ  w  ˛   m b  bu觶  ܨ}   Ơz &j:+v        zZ+
> +zf
> > h   ~    i   z  w   ?    & )ߢf
��.n��������+%������w��{.n�����{��'^�)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux