Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1220694

Re: [PATCH v7 4/5] xhci: mediatek: support MTK xHCI host controller

From Mathias Nyman <mathias.nyman@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v7 4/5] xhci: mediatek: support MTK xHCI host controller
Date 2015-09-08 12:50 +0200
Message-ID <q6oDo-1OS-21@gated-at.bofh.it> (permalink)
References <q6kq5-4mG-3@gated-at.bofh.it> <q6kq5-4mG-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi

On 08.09.2015 09:18, Chunfeng Yun wrote:
> There some vendor quirks for MTK xhci host controller:
> 1. It defines some extra SW scheduling parameters for HW
>    to minimize the scheduling effort for synchronous and
>    interrupt endpoints. The parameters are put into reseved
>    DWs of slot context and endpoint context.
> 2. Its IMODI unit for Interrupter Moderation register is
>    8 times as much as that defined in xHCI spec.
> 3. Its TDS in  Normal TRB defines a number of packets that
>    remains to be transferred for a TD after processing all
>    Max packets in all previous TRBs.
>

I just rewrote and unified the the xhci TD remainder functions,
now we got only one xhci_td_remainder() function which should
be more suitable for quirks.

You can add the quirk directly to it, no need to duplicate the
whole function.

-Mathias

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v7 0/5] Mediatek xHCI support Chunfeng Yun <chunfeng.yun@mediatek.com> - 2015-09-08 08:20 +0200
  [PATCH v7 2/5] dt-bindings: Add a binding for Mediatek xHCI host controller Chunfeng Yun <chunfeng.yun@mediatek.com> - 2015-09-08 08:20 +0200
    Re: [PATCH v7 2/5] dt-bindings: Add a binding for Mediatek xHCI host  controller Rob Herring <robh@kernel.org> - 2015-09-09 07:50 +0200
      Re: [PATCH v7 2/5] dt-bindings: Add a binding for Mediatek xHCI  host controller chunfeng yun <chunfeng.yun@mediatek.com> - 2015-09-11 05:50 +0200
  [PATCH v7 3/5] usb: phy: add usb3.0 phy driver for mt65xx SoCs Chunfeng Yun <chunfeng.yun@mediatek.com> - 2015-09-08 08:20 +0200
  [PATCH v7 5/5] arm64: dts: mediatek: add xHCI & usb phy for mt8173 Chunfeng Yun <chunfeng.yun@mediatek.com> - 2015-09-08 08:20 +0200
  Re: [PATCH v7 4/5] xhci: mediatek: support MTK xHCI host controller Mathias Nyman <mathias.nyman@intel.com> - 2015-09-08 12:50 +0200
    [PATCH] xhci: create one unified function to calculate TRB TD remainder. Mathias Nyman <mathias.nyman@linux.intel.com> - 2015-09-08 13:10 +0200
      Re: [PATCH] xhci: create one unified function to calculate TRB TD  remainder. Oliver Neukum <oneukum@suse.com> - 2015-09-08 13:50 +0200
        Re: [PATCH] xhci: create one unified function to calculate TRB TD  remainder. Mathias Nyman <mathias.nyman@linux.intel.com> - 2015-09-08 14:20 +0200
      Re: [PATCH] xhci: create one unified function to calculate TRB TD  remainder. chunfeng yun <chunfeng.yun@mediatek.com> - 2015-09-11 06:10 +0200
      Re: [PATCH] xhci: create one unified function to calculate TRB TD  remainder. chunfeng yun <chunfeng.yun@mediatek.com> - 2015-09-11 06:40 +0200
      Re: [PATCH] xhci: create one unified function to calculate TRB TD  remainder. chunfeng yun <chunfeng.yun@mediatek.com> - 2015-09-11 12:00 +0200

csiph-web