on ACS but disable all the peer-to-peer features.
Signed-off-by: Feng Kan
---
V2 - Correct patch summary as per Bjorn's comment
This is a rebranding of APM to Ampere, it is a change of vendor id
and device id, all functionality stays the same as before.
drivers/pci/quirks.c
Adding Ampere Computing vendor id to the ACS quirk list.
Signed-off-by: Feng Kan
---
Tanmay is no longer with us. After the email system is rebranded
to the new company. We will clean up the remaining legacy items.
drivers/pci/quirks.c| 9 +
include/linux/pci_ids.h | 1 +
2 files
On Wed, Nov 29, 2017 at 11:28 PM, Feng Kan wrote:
> On Thu, Aug 3, 2017 at 5:32 AM, Lorenzo Pieralisi
> wrote:
>> This patch series is v3 of a previous posting:
>>
>> v2->v3:
>> - Fixed DMA masks computation
>> - Fixed size computation ov
in order to detect DMA ranges for devices and
> update their data structures to make them work with their related DMA
> addressing restrictions.
>
> Cc: Will Deacon
> Cc: Hanjun Guo
> Cc: Feng Kan
> Cc: Jon Masters
> Cc: Robert Moore
> Cc: Robin Murphy
> Cc: Zhang
-off-by: Feng Kan
---
drivers/iommu/arm-smmu.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c
index 3bdb799..b5676a8 100644
--- a/drivers/iommu/arm-smmu.c
+++ b/drivers/iommu/arm-smmu.c
@@ -59,6 +59,7 @@
#define
in order to detect DMA ranges for devices and
> update their data structures to make them work with their related DMA
> addressing restrictions.
>
> Cc: Will Deacon
> Cc: Hanjun Guo
> Cc: Feng Kan
> Cc: Jon Masters
> Cc: Robert Moore
> Cc: Robin Murphy
> Cc: Zhang
+ Adding Bjorn
Sorry for top post, we are looking to pull this into the latest REL7.4
release. Would like
the maintainer to take a look. Thanks
On Tue, Aug 1, 2017 at 4:15 PM, Alex Williamson
wrote:
> On Tue, 1 Aug 2017 16:08:13 -0700
> Feng Kan wrote:
>
>> The APM X-Gene PCIe
peer features.
Signed-off-by: Feng Kan
---
V4 Change: Remove TB & TD flags from ACS mask
V3 Change: Add comment regarding unique port id in stream ID
V2 Change: Move XGene ACS quirk to unique XGene function
drivers/pci/quirks.c | 14 ++
1 file changed
On Mon, Jul 31, 2017 at 2:55 PM, Alex Williamson
wrote:
> On Mon, 31 Jul 2017 10:56:53 -0700
> Feng Kan wrote:
>
>> On Fri, Jul 28, 2017 at 4:00 PM, Alex Williamson
>> wrote:
>> > On Fri, 28 Jul 2017 11:50:43 -0700
>> > Feng Kan wrote:
>> >
>
atch series enables _DMA parsing in ACPI core code and
> use it in ACPI IORT code in order to detect DMA ranges for devices and
> update their data structures to make them work with their related DMA
> addressing restrictions.
>
> Cc: Will Deacon
> Cc: Hanjun Guo
> Cc: Feng
On Fri, Jul 28, 2017 at 4:00 PM, Alex Williamson
wrote:
> On Fri, 28 Jul 2017 11:50:43 -0700
> Feng Kan wrote:
>
>> The APM X-Gene PCIe root port does not support ACS at this point.
>> However, the hw provides isolation and source validation through
>> the SMMU. The
peer features.
Signed-off-by: Feng Kan
---
V3 Change: Add comment regarding unique port id in stream ID
V2 Change: Move XGene ACS quirk to unique XGene function
drivers/pci/quirks.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/pci/quirks.c b
On Sun, Jul 23, 2017 at 7:06 PM, Alex Williamson
wrote:
> On Fri, 21 Jul 2017 13:20:18 -0700
> Feng Kan wrote:
>
>> On Thu, Jul 20, 2017 at 3:22 PM, Alex Williamson
>> wrote:
>> > On Wed, 19 Jul 2017 17:46:51 -0700
>> > Feng Kan wrote:
>> >
>
On Thu, Jul 20, 2017 at 3:22 PM, Alex Williamson
wrote:
> On Wed, 19 Jul 2017 17:46:51 -0700
> Feng Kan wrote:
>
>> The APM X-Gene PCIe root port does not support ACS at this point.
>> However, the hw provides isolation and source validation through
>> the SMMU. Turn
The APM X-Gene PCIe root port does not support ACS at this point.
However, the hw provides isolation and source validation through
the SMMU. Turn on ACS but disable all the peer to peer features.
Signed-off-by: Feng Kan
---
drivers/pci/quirks.c | 15 +++
1 file changed, 15
>
> I don't know what that means, does the hardware support an equivalent
> to source validation or not?
Yes, source validation is done through the smmu.
What's the response of the root port if
> the downstream device issues a transaction spoofing devices not within
> the bus number ranges of t
On Mon, Jul 17, 2017 at 7:23 PM, Alex Williamson
wrote:
> On Mon, 17 Jul 2017 17:45:52 -0700
> Feng Kan wrote:
>
>> The APM X-Gene PCIe root port does not support ACS at this point.
>> Since the root does not allow peer to peer transactions, mask out
>> ACS capability
The APM X-Gene PCIe root port does not support ACS at this point.
Since the root does not allow peer to peer transactions, mask out
ACS capability flag bits.
Signed-off-by: Feng Kan
---
drivers/pci/quirks.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pci/quirks.c b/drivers/pci
This converts the memcpy.S to use the copy template file. The copy
template file was based originally on the memcpy.S
Signed-off-by: Feng Kan
Signed-off-by: Balamurugan Shanmugam
---
arch/arm64/lib/copy_template.S | 195 +
arch/arm64/lib/memcpy.S
This patch optimize copy_to-from-in_user for arm 64bit architecture. The
copy template is used as template file for all the copy*.S files. Minor
change was made to it to accommodate the copy to/from/in user files.
Signed-off-by: Feng Kan
Signed-off-by: Balamurugan Shanmugam
---
arch/arm64/lib
improvement (~30%) on the receive side.
V5 Changes:
1. Switch patch ordering.
2. Simplify assembly code and use fixed large tags in marco
3. Fixed indentation issue.
Feng Kan (2):
arm64: Change memcpy in kernel to use the copy template file
arm64: copy_to-from-in_user optimization using
This patch optimize copy_to-from-in_user for arm 64bit architecture.
The copy template is using the memcpy.S as a base. This allows the
sharing of the copy template with all of the copy*.S files.
Signed-off-by: Feng Kan
Signed-off-by: Balamurugan Shanmugam
---
arch/arm64/lib/copy_from_user.S
improvement (~30%) on the receive side.
V4 Change:
- base the copy template file on the existing memcpy.S
- convert copy*.s to user copy template
- conver the memcpy to use the copy template.
Feng Kan (2):
arm64: copy_to-from-in_user optimization using copy template
arm64
This converts the memcpy.S to use the copy template file. The copy
template file was based originally on the memcpy.S. Minor changes
was made to it to accommodate the copy to/from/in user files.
Signed-off-by: Feng Kan
---
arch/arm64/lib/memcpy.S | 179
On Tue, May 19, 2015 at 3:01 AM, Marc Zyngier wrote:
> On Tue, 19 May 2015 09:40:21 +0100
> Linus Walleij wrote:
>
>> On Thu, May 14, 2015 at 10:14 PM, Feng Kan wrote:
>> > On Thu, May 14, 2015 at 3:32 AM, Linus Walleij
>> > wrote:
>>
>> &g
This patch adds the support for APM Merlin board. The Merlin board
is based on the APM X-Gene Shadowcat SoC. This DTS enables PMU,
Ethernet, SATA and Serial.
Signed-off-by: Feng Kan
---
V4 Change:
- Add ethernet
V3 Change:
- Add PCIe
- Add merline to makefile in dts
On Thu, May 14, 2015 at 3:32 AM, Linus Walleij wrote:
> On Wed, May 13, 2015 at 5:44 PM, Feng Kan wrote:
>
>> We are using the gpio driver with gpio_key for power button. The gpio
>> status can only be retrieved from the GIC register when the gpio is
>> acting as a interr
On Wed, May 13, 2015 at 4:58 AM, Linus Walleij wrote:
> On Wed, May 13, 2015 at 4:25 AM, Feng Kan wrote:
>
>> Marc:
>>
>> Sorry for top posting. It seems with GIC-400, the get_irqstate is not a
>> reliable
>> way of accessing the GPIO status. In our case, t
Marc:
Sorry for top posting. It seems with GIC-400, the get_irqstate is not a reliable
way of accessing the GPIO status. In our case, the gpio interrupt status can
only be read correctly with the SPISR register. So it seems we have to go
back to the old way of mapping the SPISR portion of the GIC
3B 16.2Gb/s
Original64B 34-50.7Mb/s
1500B 4.7Gb/s
3B 14.5Gb/s
Signed-off-by: Feng Kan
---
arch/arm64/lib/copy_from_user.S | 92 +++--
arch/arm64/lib
Add SLIMpro I2C device driver on APM X-Gene platform. This I2C
device driver use the SLIMpro Mailbox driver to tunnel message to
the SLIMpro coprocessor to do the work of accessing I2C components.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
drivers/i2c/busses/Kconfig | 9
Add APM X-Gene platform SLIMpro I2C driver documentation.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
.../devicetree/bindings/i2c/i2c-xgene-slimpro.txt | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-xgene
This is a proxy I2C driver for APM X-Gene SoC. It uses the mailbox driver
to tunnel i2c transactions via the SLIMpro processor.
V4 Change:
- Remove PRP0001 and use a real ACPI id
V3 Change:
- Add ACPI support
- Fix previous comments.
Feng Kan (4):
i2c: busses: add
This adds support for ACPI for the APM X-Gene I2C SLIMpro proxy
driver.
Signed-off-by: Feng Kan
---
drivers/i2c/busses/i2c-xgene-slimpro.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/i2c/busses/i2c-xgene-slimpro.c
b/drivers/i2c/busses/i2c-xgene-slimpro.c
index
Add proxy I2C device driver on APM X-Gene platform.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index 70c14fa
Sorry, please disregard this series. Made a mistake here, will fix and resend.
On Fri, Apr 24, 2015 at 10:11 AM, Feng Kan wrote:
> Add SLIMpro I2C device driver on APM X-Gene platform. This I2C
> device driver use the SLIMpro Mailbox driver to tunnel message to
> the SLIMpro coproces
This adds support for ACPI for the APM X-Gene I2C SLIMpro proxy
driver.
Signed-off-by: Feng Kan
---
drivers/i2c/busses/i2c-xgene-slimpro.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-xgene-slimpro.c
b/drivers/i2c/busses/i2c-xgene
Add APM X-Gene platform SLIMpro I2C driver documentation.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
.../devicetree/bindings/i2c/i2c-xgene-slimpro.txt | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-xgene
Add proxy I2C device driver on APM X-Gene platform.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index a2b9657
Add SLIMpro I2C device driver on APM X-Gene platform. This I2C
device driver use the SLIMpro Mailbox driver to tunnel message to
the SLIMpro coprocessor to do the work of accessing I2C components.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
drivers/i2c/busses/Kconfig | 9
This is a proxy I2C driver for APM X-Gene SoC. It uses the mailbox driver
to tunnel i2c transactions via the SLIMpro processor.
V4 Change:
- Remove PRP0001 and use a real ACPI id
V3 Change:
- Add ACPI support
- Fix previous comments.
Feng Kan (4):
i2c: busses: add
This adds support for ACPI for the APM X-Gene I2C SLIMpro proxy
driver.
Signed-off-by: Feng Kan
---
drivers/i2c/busses/i2c-xgene-slimpro.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-xgene-slimpro.c
b/drivers/i2c/busses/i2c-xgene
Add proxy I2C device driver on APM X-Gene platform.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index a2b9657
This is a proxy I2C driver for APM X-Gene SoC. It uses the mailbox driver
to tunnel i2c transactions via the SLIMpro processor.
V3 Change:
- Add ACPI support
- Fix previous comments.
Feng Kan (4):
i2c: busses: add SLIMpro I2C device driver on APM X-Gene platform
i2c: busses
Add APM X-Gene platform SLIMpro I2C driver documentation.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
.../devicetree/bindings/i2c/i2c-xgene-slimpro.txt | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-xgene
Add SLIMpro I2C device driver on APM X-Gene platform. This I2C
device driver use the SLIMpro Mailbox driver to tunnel message to
the SLIMpro coprocessor to do the work of accessing I2C components.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
drivers/i2c/busses/Kconfig | 9
Add support for APM X-Gene platform mailbox driver.
Signed-off-by: Feng Kan
---
drivers/mailbox/Kconfig | 10 ++
drivers/mailbox/Makefile| 2 +
drivers/mailbox/mailbox-xgene-slimpro.c | 261
3 files changed, 273 insertions
Add ACPI support for APM X-Gene mailbox driver.
Signed-off-by: Feng Kan
---
drivers/mailbox/mailbox-xgene-slimpro.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/mailbox/mailbox-xgene-slimpro.c
b/drivers/mailbox/mailbox-xgene-slimpro.c
index 49370e5..890f95b 100644
This adds the mailbox driver for the APM X-Gene SoC
V2 change
- Add ACPI support
- use defines for reg offset
Feng Kan (4):
mailbox: add support for APM X-Gene platform mailbox driver
mailbox: xgene: add ACPI support for X-Gene mailbox driver
Documentation: mailbox: Add APM
This adds the APM X-Gene SLIMpro mailbox device tree node documentation.
Signed-off-by: Feng Kan
---
.../bindings/mailbox/xgene-slimpro-mailbox.txt | 34 ++
1 file changed, 34 insertions(+)
create mode 100644
Documentation/devicetree/bindings/mailbox/xgene-slimpro
Mailbox device tree node for APM X-Gene platform.
Signed-off-by: Feng Kan
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index c8d3e0e..92e7b6b 100644
On Tue, Apr 21, 2015 at 12:42 AM, Jassi Brar wrote:
> On Wed, Feb 18, 2015 at 8:40 AM, Feng Kan wrote:
>
>> +#define MBOX_CON_NAME "slimpro-mbox"
>> +#define MBOX_REG_SET_OFFSET0x1000
>> +#define MBOX_CNT 8
On Wed, Apr 8, 2015 at 4:58 PM, Feng Kan wrote:
> This will add support for ACPI parsing of the mboxes attribute
> when booting with ACPI table. The client will have a attribute
> mimic the dts call "mboxes". In the ACPI case, the client will
> mark "mboxes" with t
On Fri, Apr 17, 2015 at 5:45 AM, Marc Zyngier wrote:
> On 17/04/15 13:37, Duc Dang wrote:
>> On Fri, Apr 17, 2015 at 3:17 AM, Marc Zyngier wrote:
>>> On 17/04/15 11:00, Duc Dang wrote:
On Wed, Apr 15, 2015 at 1:16 AM, Marc Zyngier wrote:
> On Tue, 14 Apr 2015 19:20:19 +0100
> Duc Da
On Sun, Apr 19, 2015 at 12:55 PM, Arnd Bergmann wrote:
> On Sunday 19 April 2015 11:40:09 Duc Dang wrote:
>> On Fri, Apr 17, 2015 at 7:10 AM, Arnd Bergmann wrote:
>> > On Friday 17 April 2015 02:50:07 Duc Dang wrote:
>> >> +
>> >> + /*
>> >> +* MSIINTn (n is 0..F) indicates if there
Hi Marc:
Is there any plans to support ACPI for GICv2m MSI? Both this driver and the
GICv2m seems to support OF model of discovery for msi controller. X-Gene1
uses this driver and X-Gene2 uses GICv2m, there needs to be a way to
associate msi controller with the PCIe bus. I haven't
found a standard
Name (_DSD, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () {
Package (2) {"mboxes", Package(){"^^MBOXREF, index"}}
}
})
Signed-off-by: Feng Kan
---
V2 CHANGE:
- cha
Please disregard this, I messed up on the indexing. Will resubmit after fixing.
On Tue, Apr 7, 2015 at 4:34 PM, Feng Kan wrote:
> This will add support for ACPI parsing of the mboxes attribute
> when booting with ACPI table. The client will have a attribute
> mimic the dts call "m
Name (_DSD, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () {
Package (2) {"mboxes", "^^MBOXREF"},
}
})
Signed-off-by: Feng Kan
---
V2 CHANGE:
- change to us
On Tue, Apr 7, 2015 at 4:37 AM, Rafael J. Wysocki wrote:
> On Tuesday, April 07, 2015 11:41:43 AM Mika Westerberg wrote:
>> On Thu, Apr 02, 2015 at 11:04:24AM -0700, Feng Kan wrote:
>> > On Thu, Apr 2, 2015 at 2:07 AM, Mika Westerberg
>> > wrote:
>> > > O
On Thu, Apr 2, 2015 at 2:07 AM, Mika Westerberg
wrote:
> On Wed, Apr 01, 2015 at 10:01:45AM -0700, Feng Kan wrote:
>> On Wed, Apr 1, 2015 at 12:45 AM, Mika Westerberg
>> wrote:
>> > On Tue, Mar 31, 2015 at 02:18:00PM -0700, Feng Kan wrote:
>> >> This will
This patch adds the support for APM Merlin board. The Merlin board
is based on the APM X-Gene Shadowcat SoC. This DTS enables PMU,
SATA and Serial.
Signed-off-by: Feng Kan
---
V3 Change:
- Add PCIe
- Add merline to makefile in dts/apm directory
V2 Change:
- Add dma
On Wed, Apr 1, 2015 at 12:45 AM, Mika Westerberg
wrote:
> On Tue, Mar 31, 2015 at 02:18:00PM -0700, Feng Kan wrote:
>> This will add support for ACPI parsing of the mboxes attribute
>> when booting with ACPI table. The client will have a attribute
>> mimic the dts call "
Name (_DSD, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () {
Package (2) {"mboxes", "ACPIHID"},
}
})
Signed-off-by: Feng Kan
---
drivers/mailbox/mailbox.c | 121 ++
On Mon, Mar 23, 2015 at 11:31 AM, Wolfram Sang wrote:
> On Wed, Feb 18, 2015 at 11:34:01AM -0800, Feng Kan wrote:
>> Add SLIMpro I2C device driver on APM X-Gene platform. This I2C
>> device driver use the SLIMpro Mailbox driver to tunnel message to
>> the SLIMpro coproces
This adds ACPI support for the APM X-Gene SATA ports. When the system
boots using ACPI table, the SATA ports are able to configure using the
values supplied by the ACPI table rather than the DTS.
Signed-off-by: Feng Kan
Reviewed-by: Hanjun Guo
---
drivers/ata/ahci_xgene.c | 10 ++
1
On Mon, Jan 12, 2015 at 10:29 PM, Hanjun Guo wrote:
> On 2015年01月13日 05:07, Suman Tripathi wrote:
>>
>> Hi,
>>
>> Tested-by: Suman Tripathi
>>
>> On Thu, Jan 8, 2015 at 11:35 PM, Hanjun Guo > <mailto:hanjun@linaro.org>> wrote:
>>
>
This patch adds the support for APM Merlin board. The Merlin board
is based on the APM X-Gene Shadowcat SoC. This DTS enables PMU,
SATA and Serial.
Signed-off-by: Feng Kan
---
V2 Change:
- Add dma-range definition
V1 Change:
- add memreserve for spintable.
- remove
This patch adds the support for APM Merlin board. The Merlin board
is based on the APM X-Gene Shadowcat SoC. This DTS enables PMU,
SATA and Serial.
Signed-off-by: Feng Kan
---
V1 Change:
- add memreserve for spintable.
- remove clkfreq attribute
- update spin location
On Tue, Mar 10, 2015 at 10:20 AM, Mark Rutland wrote:
> Hi,
>
> On Tue, Mar 10, 2015 at 05:10:54PM +0000, Feng Kan wrote:
>> This patch adds the support for APM Merlin board. The Merlin board
>> is based on the APM X-Gene Shadowcat SoC. This DTS enables PMU,
>> SATA a
This patch adds the support for APM Merlin board. The Merlin board
is based on the APM X-Gene Shadowcat SoC. This DTS enables PMU,
SATA and Serial.
Signed-off-by: Feng Kan
---
arch/arm64/boot/dts/apm/apm-merlin.dts | 39
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 154
This adds ACPI support for APM X-Gene RNG unit.
Signed-off-by: Feng Kan
---
drivers/char/hw_random/xgene-rng.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/char/hw_random/xgene-rng.c
b/drivers/char/hw_random/xgene-rng.c
index 23caa05..c37cf75 100644
--- a/drivers
Acked-by: Feng Kan
On Wed, Mar 4, 2015 at 2:24 PM, Mark Salter wrote:
> Commit 350f8be5bb402 ("PCI: xgene: Convert to use generic config
> accessors") breaks PCI on the X-Gene platform. It creates two
> problems with the xgene_pcie_map_bus() function. First, it returns
Please take Mark's patch if you think it is better.
On Thu, Mar 5, 2015 at 8:38 AM, Bjorn Helgaas wrote:
> [+cc Mark]
>
> On Thu, Feb 26, 2015 at 06:21:51PM -0600, Bjorn Helgaas wrote:
>> On Tue, Feb 17, 2015 at 03:14:00PM -0800, Feng Kan wrote:
>> > The gener
eset(struct xgene_enet_pdata
> *pdata)
> if (!xgene_ring_mgr_init(pdata))
> return -ENODEV;
>
> - if (!efi_enabled(EFI_BOOT)) {
> + if (pdata->clk) {
> clk_prepare_enable(pdata->clk);
> clk_disable_unprep
Add proxy I2C device driver on APM X-Gene platform.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index 27d6c3d
Add APM X-Gene platform SLIMpro I2C driver documentation.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
.../devicetree/bindings/i2c/i2c-xgene-slimpro.txt | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-xgene
Add SLIMpro I2C device driver on APM X-Gene platform. This I2C
device driver use the SLIMpro Mailbox driver to tunnel message to
the SLIMpro coprocessor to do the work of accessing I2C components.
Signed-off-by: Feng Kan
Signed-off-by: Hieu Le
---
drivers/i2c/busses/Kconfig | 9
This adds the APM X-Gene SLIMpro mailbox device tree node documentation.
Signed-off-by: Feng Kan
---
.../bindings/mailbox/xgene-slimpro-mailbox.txt | 34 ++
1 file changed, 34 insertions(+)
create mode 100644
Documentation/devicetree/bindings/mailbox/xgene-slimpro
Mailbox device tree node for APM X-Gene platform.
Signed-off-by: Feng Kan
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index f1ad9c2..27d6c3d 100644
Add support for APM X-Gene platform mailbox driver.
Signed-off-by: Feng Kan
---
drivers/mailbox/Kconfig | 10 ++
drivers/mailbox/Makefile| 2 +
drivers/mailbox/mailbox-xgene-slimpro.c | 289
3 files changed, 301 insertions
Mailbox device tree node for APM X-Gene platform.
Signed-off-by: Feng Kan
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index f1ad9c2..27d6c3d 100644
Add support for APM X-Gene platform mailbox driver.
Signed-off-by: Feng Kan
---
drivers/mailbox/Kconfig | 10 ++
drivers/mailbox/Makefile| 2 +
drivers/mailbox/mailbox-xgene-slimpro.c | 289
3 files changed, 301 insertions
This adds the APM X-Gene SLIMpro mailbox device tree node documentation.
Signed-off-by: Feng Kan
---
.../bindings/mailbox/xgene-slimpro-mailbox.txt | 34 ++
1 file changed, 34 insertions(+)
create mode 100644
Documentation/devicetree/bindings/mailbox/xgene-slimpro
The generic accessor functions for pci-xgene uses map_bus
call that returns the base address but did not add the additional
offset.
Signed-off-by: Feng Kan
---
drivers/pci/host/pci-xgene.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/host/pci-xgene.c b
On Thu, Jan 29, 2015 at 10:11 PM, Wolfram Sang wrote:
>
>> > ctx->dev is probably the wrong device here. The i2c controller is not
>> > DMA capable itself, you need to have a pointer to the device that actually
>> > performs the DMA here.
>>
>> Arnd, I do agree this may not be the best identificat
On Tue, Nov 11, 2014 at 1:51 PM, Arnd Bergmann wrote:
> On Tuesday 07 October 2014 17:06:47 Feng Kan wrote:
>> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
>> index 2e45ae3..a03042c 100644
>> --- a/drivers/i2c/busses/Kconfig
>> +++ b
On Tue, Nov 11, 2014 at 1:51 PM, Arnd Bergmann wrote:
> On Tuesday 07 October 2014 17:06:47 Feng Kan wrote:
>> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
>> index 2e45ae3..a03042c 100644
>> --- a/drivers/i2c/busses/Kconfig
>> +++ b
On Tue, Nov 11, 2014 at 12:32 PM, Wolfram Sang wrote:
> On Tue, Oct 07, 2014 at 05:06:47PM -0700, Feng Kan wrote:
>> Add SLIMpro I2C device driver on APM X-Gene platform. This I2C
>> device driver use the SLIMpro Mailbox driver to tunnel message to
>> the SLIMpro coproces
On Wed, Jan 7, 2015 at 11:50 PM, Hanjun Guo wrote:
> Hi Feng Kan,
>
> I have some comments below.
>
>
> On 2015年01月08日 01:32, Feng Kan wrote:
>>
>> Just want to ping this again.
>>
>> Happy new year
>>
>> On Thu, Dec 11, 2014 at 2:31 PM, Feng
Add X-Gene platform reboot driver dts node.
Signed-off-by: Feng Kan
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index 4b2ec83
This add documentation for the SCU system clock unit device tree binding
to the kernel.
Signed-off-by: Feng Kan
---
Documentation/devicetree/bindings/arm/apm/scu.txt | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings
node
- change dwgpio node name to gpio
V2 Changes:
- add dma-coherent attribute for usb node.
Feng Kan (7):
arm64: dts: Add APM X-Gene USB DTS node
Documentation: arm64: add SCU dts binding documentation to linux
kernel
arm64: dts: Add X-Gene reboot driver dts node
arm64
Add Designware GPIO dts binding to APM X-Gene platform
Signed-off-by: Feng Kan
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64/boot/dts/apm/apm-storm.dtsi
This patch documents the compatible string for APM X-Gene Potenza CPU's PMU.
Signed-off-by: Vinayak Kale
Signed-off-by: Feng Kan
---
Documentation/devicetree/bindings/arm/pmu.txt |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/binding
This parch adds the device tree nodes for APM X-Gnene USB host controller.
Since X-Gene SOC supports maximum 2 USB ports, 2 dts node are added.
Signed-off-by: Bao Truong
Signed-off-by: Feng Kan
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 19 +++
1 files changed, 19
This patch adds the PMU device tree node for APM X-Gene Storm SOC.
Signed-off-by: Vinayak Kale
Signed-off-by: Feng Kan
---
arch/arm64/boot/dts/apm/apm-storm.dtsi |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64
Add the flash controller muxed gpio dts node for APM X-Gene SoC platform.
Signed-off-by: Feng Kan
---
arch/arm64/boot/dts/apm/apm-storm.dtsi |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64/boot/dts/apm/apm
Just want to ping this again.
Happy new year
On Thu, Dec 11, 2014 at 2:31 PM, Feng Kan wrote:
> This adds ACPI support for the APM X-Gene SATA ports. When the system
> boots using ACPI table, the SATA ports are able to configure using the
> values supplied by the ACPI table rather tha
This adds support for APM X-Gene ethernet driver to use ACPI table to derive
ethernet driver parameter.
Signed-off-by: Feng Kan
---
V3:
- Fix compile error caught by allmodconfig
V2:
- remove NO_MAC define
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | 94
1 - 100 of 266 matches
Mail list logo