Re: [PATCH] ahci: disable ncq feature for hisilicon sata

2014-06-24 Thread kefeng.wang
On 2014-6-10 21:56, Hans de Goede wrote: > Hi Kefeng, > > On 06/10/2014 12:07 PM, kefeng.wang wrote: >> Hi Tejun, >> >> I have a question, the hip04 and hix5hd2 soc use the old version of IP, but >> they >> also have a new version of IP which support

Re: [PATCH] ahci: disable ncq feature for hisilicon sata

2014-06-10 Thread kefeng.wang
t; string for the IP which is conformant with spec and has no special customization and issue? Any advices, thanks. Regards, Kefeng On 2014-6-10 17:51, kefeng.wang wrote: > NCQ feature is unsupported on hisilicon sata controller, so disable it. > This version of IP is used by hip04 and hix5h

[PATCH] ahci: disable ncq feature for hisilicon sata

2014-06-10 Thread kefeng.wang
NCQ feature is unsupported on hisilicon sata controller, so disable it. This version of IP is used by hip04 and hix5hd2 soc. Signed-off-by: Kefeng Wang --- drivers/ata/ahci_platform.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/ahci_platform.c b/drivers/ata

Re: [PATCH v6 3/3] ahci: add support for Hisilicon sata

2014-05-13 Thread kefeng.wang
On 2014-5-14 3:04, Tejun Heo wrote: > On Fri, Apr 25, 2014 at 04:59:11PM +0800, Kefeng Wang wrote: >> The hip04 SoC of hisilicon has an AHCI compliant SATA controller, >> and it is compliant with the ahci 1.3 and sata 3.0 specification. >> >> There is a wrong bit in HOST_CAP of hip04 sata controlle

Re: [PATCH v6 0/3] ahci: add support for hisilicon sata

2014-05-05 Thread kefeng.wang
Hi Tejun, ping... On 2014-4-25 16:59, Kefeng Wang wrote: > change in v6: > 1) type of host_flags changed from unsigned int to unsigned long, >fix the building warning and error. > > channge in v5: > 1) drop AHCI_HFLAGS(...) from ahci_xgene.c and do use host_flags >in ahci_platform_init_h

Re: [PATCH v5 0/3] ahci: add support for hisilicon sata

2014-04-25 Thread kefeng.wang
On 2014-4-24 20:28, Tejun Heo wrote: > On Wed, Apr 23, 2014 at 10:27:26AM -0400, Tejun Heo wrote: >> Applied to libata/for-3.16. > > Reverted due to build failure. I was apparently too dependent on > build-bot but what the hell? This isn't acceptable. > Sorry, apologize for this, send new patc

Re: [PATCH v4 2/3] libahci_platform: add host_flags parameter in ahci_platform_init_host()

2014-04-23 Thread kefeng.wang
On 2014-4-23 19:47, Hans de Goede wrote: > Hi, > > On 04/23/2014 01:36 PM, Kefeng Wang wrote: >> Add a dynamic host flags argument to make ahci_platform_init_host more >> flexible, >> then remove the AHCI_HFLAGS(...) argument from some driver's ata_port_info, >> and pass that in as the new argume

Re: [PATCH] arm: oprofile: add ARMv7 cortex-a15 support

2014-04-21 Thread kefeng.wang
Sorry, please ignore, we have operf tool, this is unnecessary. On 2014-4-21 18:11, Kefeng Wang wrote: > ARMv7 cortex-a15 supports Performance Monitor Units, and > it could be used by oprofile, add perf_pmu_name pair. > > Simply tested on hisilicon hip04 soc. > > Signed-off-by: Kefeng Wang > ---

Re: [PATCH v3 2/2] ahci: add support for Hisilicon sata

2014-04-20 Thread kefeng.wang
Hi Hans, A hflags argument is useless in ahci_platform_init_host for another driver's caller, use the pointer of ata_port_info in ahci_probe, is this OK? Regards, Kefeng On 2014-4-21 12:01, Kefeng Wang wrote: > The hip04 SoC of hisilicon has an AHCI compliant SATA controller, > and it is compli