Re: [PATCH v2 net 1/6] net: mvneta: add configuration for MBUS windows access protection

2015-11-26 Thread Thomas Petazzoni
* i); > + Unneeded change. > } > > mvreg_write(pp, MVNETA_BASE_ADDR_ENABLE, win_enable); > + mvreg_write(pp, MVNETA_ACCESS_PROTECT_ENABLE, win_protect); > } Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-elect

Re: [PATCH v2 net 2/6] net: mvneta: fix bit assignment in MVNETA_RXQ_CONFIG_REG

2015-11-26 Thread Thomas Petazzoni
code is wrong, but things were working fine until now. So I am not questioning that this patch should be merged, but only questioning whether the stable tag is appropriate. Same questions for your patch 3/6. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android

Re: [PATCH v2 net 6/6] net: mvneta: enable IP checksum with jumbo frames for Armada 38x on Port0

2015-11-26 Thread Thomas Petazzoni
x-csum-limit' to 9800B in > 'ethernet@7' node. > > Signed-off-by: Marcin Wojtas > Cc: # v3.18+ This and the previous patch is not a fix, and has no business going in stable. It is enabling a better functionality, but it is clearly not a fix. Thomas -- Thomas Petaz

[PATCH] ARM: mvebu: remove duplicated regulator definition in Armada 388 GP

2015-12-04 Thread Thomas Petazzoni
quot;) Signed-off-by: Thomas Petazzoni Cc: # v4.0+ --- arch/arm/boot/dts/armada-388-gp.dts | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/arm/boot/dts/armada-388-gp.dts b/arch/arm/boot/dts/armada-388-gp.dts index a633be3..cd31602 100644 --- a/arch/arm/boot/dts/armada-388-g

[PATCH 1/4] irqchip: armada-370-xp: fix IPI race condition

2013-11-25 Thread Thomas Petazzoni
d in 3.13. Signed-off-by: Lior Amsalem Signed-off-by: Thomas Petazzoni Cc: stable@vger.kernel.org Cc: Thomas Gleixner --- The problem has been present since 344e873e5657e8dc0 ('arm: mvebu: Add IPI support via doorbells'), that is since v3.8. However, notice that the IRQ driver was moved f

[PATCH 4/4] ARM: mvebu: re-enable PCIe on Armada 370 DB

2013-11-25 Thread Thomas Petazzoni
ost of the boards were properly adjusted accordingly, the Armada 370 DB board was left unchanged, and therefore, PCIe is seen as not enabled on this board. This patch fixes that by moving the PCIe controller node one level-up in armada-370-db.dts. Signed-off-by: Thomas Petazzoni Cc: stable@vger.

[PATCH 3/4] ARM: mvebu: use the virtual CPU registers to access coherency registers

2013-11-25 Thread Thomas Petazzoni
h fixes that by using the virtual CPU registers. Signed-off-by: Gregory CLEMENT Signed-off-by: Thomas Petazzoni Cc: stable@vger.kernel.org --- This bug has been introduced in e60304f8cb7bb5 ("arm: mvebu: Add hardware I/O Coherency support"), merged in v3.8. Therefore this fix should be

Re: Patch "ARM: mvebu: re-enable PCIe on Armada 370 DB" has been added to the 3.10-stable tree

2013-12-09 Thread Thomas Petazzoni
at the .dtsi level was 14fd8ed0a7fd199131425fe9e802173c4ba6a4e9, merged for 3.12. Therefore, I confirm that this patch should only be applied to 3.12-stable, and not 3.10-stable. Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://f

Re: [PATCH 1/4] irqchip: armada-370-xp: fix IPI race condition

2013-12-12 Thread Thomas Petazzoni
omas On Mon, 25 Nov 2013 17:26:44 +0100, Thomas Petazzoni wrote: > From: Lior Amsalem > > In the Armada 370/XP driver, when we receive an IRQ 0, we read the > list of doorbells that caused the interrupt from register > ARMADA_370_XP_IN_DRBEL_CAUSE_OFFS. This gives the list of IPIs th

Re: [PATCH 1/4] irqchip: armada-370-xp: fix IPI race condition

2013-12-14 Thread Thomas Petazzoni
5657e8dc0 'arm: mvebu: Add IPI support via doorbells' > > to this patch. Great, thanks! Note that the patch will not apply as is on 3.8, but I will be able to provide a backported variant of it when needed. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded L

Re: [PATCH] ata: sata_mv: setting PHY speed according to SControl speed

2013-12-25 Thread Thomas Petazzoni
e seen as a new feature for this platform, and is therefore not a regression (i.e something that used to work, and that no longer works). There has been no kernel release for which SATA hotplug was working for Armada 370/XP. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Li

Re: [PATCH] ata: sata_mv: setting PHY speed according to SControl speed

2013-12-26 Thread Thomas Petazzoni
he rules in Documentation/stable_kernel_rules.txt. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord

Re: [PATCH v2 1/2] ARM: mvebu: Add support to get the ID and the revision of a SoC

2014-01-03 Thread Thomas Petazzoni
work properly when the system is booted big-endian. > + return ret; > +} > +arch_initcall(mvebu_soc_id_init); > +#ifdef CONFIG_ARCH_MVEBU > +int mvebu_get_soc_id(u32 *dev, u32 *rev); > +#else > +int mvebu_get_soc_id(u32 *dev, u32 *rev) Missing "static inline". Wi

Re: [PATCH v2 2/2] i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs

2014-01-03 Thread Thomas Petazzoni
n't get the SoC revision > + * weplay safe and we don't enable it weplay -> we play > + */ > + if (mvebu_get_soc_id(&rev, &dev) == 0 && dev > MV78XX0_A0_REV) > + drv_data->offload_enabled = tru

[PATCH] net: mvneta: properly disable HW PHY polling and ensure adjust_link() works

2013-09-04 Thread Thomas Petazzoni
IG register. This patch has been tested on Armada 370 Mirabox, and now both network interfaces are usable after boot. Signed-off-by: Thomas Petazzoni Cc: Willy Tarreau Cc: Jochen De Smet Cc: Peter Sanford Cc: Ethan Tuttle Cc: Chény Yves-Gael Cc: Ryan Press Cc: Simon Guinot Cc: vdo

Re: [PATCH] net: mvneta: properly disable HW PHY polling and ensure adjust_link() works

2013-09-05 Thread Thomas Petazzoni
s detected. I believe it could probably be extended to cover other use cases such as modifying the DTB to add the MAC addresses where appropriate. I've added Jason Cooper in the Cc list if he wants to comment on that. (3) Continue to manually apply the patches from Willy that add support

Re: [PATCH] net: mvneta: properly disable HW PHY polling and ensure adjust_link() works

2013-09-05 Thread Thomas Petazzoni
Dear Willy Tarreau, On Thu, 5 Sep 2013 09:44:26 +0200, Willy Tarreau wrote: > On Thu, Sep 05, 2013 at 09:28:08AM +0200, Thomas Petazzoni wrote: > > I indeed submitted a revised/improved version of your patches some time > > ago, but they were rejected. See > > http:

Re: [PATCH] net: mvneta: properly disable HW PHY polling and ensure adjust_link() works

2013-09-05 Thread Thomas Petazzoni
bout this as well, but I don't think that's possible, the U-Boot scripting/parsing capabilities seems to be too limited to achieve that, unfortunately. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, traini

[PATCH] net: mvneta: fix operation in 10 Mbit/s mode

2014-07-08 Thread Thomas Petazzoni
Mae Roxas Signed-off-by: Thomas Petazzoni --- drivers/net/ethernet/marvell/mvneta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index 45beca1..d49f08d 100644 --- a/drivers/net/ethernet/marvell/m

[PATCH 1/2] spi: orion: fix incorrect handling of cell-index DT property

2014-07-27 Thread Thomas Petazzoni
ts with the first bus that has cell-index = <0>). This commit fixes that by using of_property_read_u32() to read the property value, which does the appropriate endianness conversion when needed. Fixes: f814f9ac5a81 ("spi/orion: add device tree binding") Cc: # v3.6+ Signed-off-by:

[PATCH 2/2] ARM: mvebu: fix NOR bus-width in Armada XP OpenBlocks AX3 Device Tree

2014-06-11 Thread Thomas Petazzoni
commit a7d4f81821f7eec3175f8e23dd6949c71ab2da43 ('ARM: mvebu: Add support for NOR flash device on Openblocks AX3 board') which was merged in v3.10. Signed-off-by: Thomas Petazzoni Link: https://lkml.kernel.org/r/1397489361-5833-5-git-send-email-thomas.petazz...@free-electrons

[PATCH 1/2] ARM: mvebu: fix NOR bus-width in Armada XP GP Device Tree

2014-06-11 Thread Thomas Petazzoni
da8d1b38356853c37116f9afa29f15648d7fb159 ('ARM: mvebu: Add support for NOR flash device on Armada XP-GP board') which was merged in v3.10. Signed-off-by: Thomas Petazzoni Link: https://lkml.kernel.org/r/1397489361-5833-3-git-send-email-thomas.petazz...@free-electrons.com Fixes: da8d1b38

Re: FAILED: patch "[PATCH] ARM: mvebu: fix NOR bus-width in Armada XP GP Device Tree" failed to apply to 3.10-stable tree

2014-06-11 Thread Thomas Petazzoni
s,bus-width= <16>; > > iirc, we did some dts node reshuffling after v3.10. Mind taking a look > and see if we can get this applied? Done (for both Armada XP GP and Armada XP OpenBlocks). Thanks for the notification! Best regards, Thomas -- Thomas Petazzoni, CTO, Free E

[PATCH] PCI: mvebu: split PCIe BARs into multiple MBus windows when needed

2014-06-11 Thread Thomas Petazzoni
those functions, instead of directly calling the mvebu-mbus driver functions. Fixes: 45361a4fe446 ('pci: PCIe driver for Marvell Armada 370/XP systems') Cc: # v3.11+ Signed-off-by: Thomas Petazzoni Link: https://lkml.kernel.org/r/1397823593-1932-8-git-send-email-thomas.petazz...@fre

[PATCH 2/3] ARM: mvebu: disable I/O coherency on non-SMP situations on Armada 370/XP

2014-07-02 Thread Thomas Petazzoni
rmada 38x (which are multiple cores processors), but will no longer be used on Armada 370 (which is a single core processor). In the process, it simplifies the implementation of the coherency_type() function, and adds a missing call to of_node_put(). Signed-off-by: Thomas Petazzoni

[PATCH 1/3] ARM: mvebu: make the coherency_ll.S functions work with no coherency fabric

2014-07-02 Thread Thomas Petazzoni
urn a physical address of 0 to indicate that the coherency fabric is not enabled. Signed-off-by: Thomas Petazzoni Cc: # v3.8+ --- Technically speaking, this patch is not needed up to 3.8, since the code was completely different back then. However, the next commit has to be backported up to 3.8, and r

Re: [PATCH v4 3/3] i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs

2014-01-07 Thread Thomas Petazzoni
ng like: drv_data->offload_enable = !of_property_read_bool(np, "offload-broken"); Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsub

Re: [PATCH] ata: sata_mv: setting PHY speed according to SControl speed

2014-01-10 Thread Thomas Petazzoni
mpatible, and can therefore share the same root compatible strings. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 2/3] ata: sata_mv: fix disk hotplug for Armada 370/XP SoCs

2014-01-25 Thread Thomas Petazzoni
s_compatible() and the function it's calling seem to indicate that of_device_is_compatible will return false if the passed struct device_node * is NULL. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To

Re: [PATCH v2 2/3] ata: sata_mv: fix disk hotplug for Armada 370/XP SoCs

2014-01-31 Thread Thomas Petazzoni
of of_device_is_compatible() and the function it's > > calling seem to indicate that of_device_is_compatible will return false > > if the passed struct device_node * is NULL. > > I see. > > It seems to me, you already have a patch ready to send. Isn't it ? > Or

[PATCH 02/17] ARM: mvebu: enable strex backoff delay

2014-10-24 Thread Thomas Petazzoni
log, add stable markers.] Cc: Russell King Cc: # v3.8+ Fixes: de4901933f6d ("arm: mm: Add support for PJ4B cpu and init routines") Signed-off-by: Nadav Haklai Signed-off-by: Thomas Petazzoni --- This patch is submitted as part of the suspend/resume work, because the suspend/resu

[PATCHv2 1/3] ARM: mvebu: make the coherency_ll.S functions work with no coherency fabric

2014-10-27 Thread Thomas Petazzoni
urn a physical address of 0 to indicate that the coherency fabric is not enabled. Signed-off-by: Thomas Petazzoni Cc: # v3.8+ --- arch/arm/mach-mvebu/coherency_ll.S | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mvebu/coherency_ll.S b/arc

[PATCHv2 2/3] ARM: mvebu: disable I/O coherency on non-SMP situations on Armada 370/XP

2014-10-27 Thread Thomas Petazzoni
rmada 38x (which are multiple cores processors), but will no longer be used on Armada 370 (which is a single core processor). In the process, it simplifies the implementation of the coherency_type() function, and adds a missing call to of_node_put(). Signed-off-by: Thomas Petazzoni

[PATCHv2 3/3] ARM: mvebu: add missing of_node_put() call in coherency.c

2014-10-27 Thread Thomas Petazzoni
There is a missing of_node_put() to decrement the device_node reference counter after a of_find_matching_node() in coherency_init(). Fixes: 501f928e0097 ("ARM: mvebu: add a coherency_available() call") Cc: # v3.16+ Signed-off-by: Thomas Petazzoni --- arch/arm/mach-mvebu/coherency.c

[PATCH 1/6] ASoC: cs42l51: re-add of_match_table pointer

2014-10-28 Thread Thomas Petazzoni
le pointer. This commit therefore moves the of_device_id array into the cs42l51-i2c.c file, and restore the proper .of_match_table pointer. Fixes: a1253ef6d3fa ("ASoC: cs42l51: split i2c from codec driver") Cc: # v3.16+ Cc: Arnaud Patard (Rtp) Cc: Brian Austin Signed-off-by: Thomas P

Re: [PATCH v3 01/20] usb: ehci-orion: Fix clock reference leaking

2014-05-07 Thread Thomas Petazzoni
same problem as above. Indeed. Will fix in v4. > Also, for both this patch and 02/20, it would be better to replace the > "errN" labels with something more descriptive, so that it's not > necessary to renumber them every time something changes. Sure. I've added

[PATCHv4 03/20] usb: ehci-orion: fix clock reference leaking

2014-05-07 Thread Thomas Petazzoni
to label names.] Fixes: 8c869edaee07c623066266827371235fb9c12e01 ('ARM: Orion: EHCI: Add support for enabling clocks') Cc: # v3.8+ Signed-off-by: Gregory CLEMENT Signed-off-by: Thomas Petazzoni --- drivers/usb/host/ehci-orion.c | 45 ---

[PATCHv5 03/20] usb: ehci-orion: fix clock reference leaking

2014-05-11 Thread Thomas Petazzoni
to label names.] Fixes: 8c869edaee07c623066266827371235fb9c12e01 ('ARM: Orion: EHCI: Add support for enabling clocks') Cc: # v3.8+ Signed-off-by: Gregory CLEMENT Signed-off-by: Thomas Petazzoni Acked-by: Alan Stern --- drivers/usb/host/ehci-orion.c | 45

[PATCH 1/2] ARM: mvebu: mvebu-soc-id: add missing clk_put() call

2014-05-12 Thread Thomas Petazzoni
fixes this issue. Signed-off-by: Thomas Petazzoni Cc: # 3.14+ Fixes: af8d1c63afcbf36eea06789c92e22d4af118d2fb ('ARM: mvebu: Add support to get the ID and the revision of a SoC') --- arch/arm/mach-mvebu/mvebu-soc-id.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mvebu

[PATCH 2/2] ARM: mvebu: mvebu-soc-id: keep clock enabled if PCIe unit is enabled

2014-05-12 Thread Thomas Petazzoni
Cc: Jason Gunthorpe Cc: Kevin Hilman Signed-off-by: Thomas Petazzoni Cc: # 3.14+ Fixes: af8d1c63afcbf36eea06789c92e22d4af118d2fb ('ARM: mvebu: Add support to get the ID and the revision of a SoC') --- arch/arm/mach-mvebu/mvebu-soc-id.c | 14 -- 1 file changed, 12 insert

[PATCH] ARM: mvebu: use hardware I/O coherency also for PCI devices

2014-05-13 Thread Thomas Petazzoni
) and mvebu_hwcc_platform_nb to mvebu_hwcc_nb because they are no longer specific to platform devices. Signed-off-by: Thomas Petazzoni Fixes: e60304f8cb7b ("arm: mvebu: Add hardware I/O Coherency support") Cc: # v3.8+ --- Applies to mvebu/soc. Whether this commit qualifies as stable material c

[PATCHv2] ARM: mvebu: use hardware I/O coherency also for PCI devices

2014-05-13 Thread Thomas Petazzoni
) and mvebu_hwcc_platform_nb to mvebu_hwcc_nb because they are no longer specific to platform devices. Fixes: e60304f8cb7b ("arm: mvebu: Add hardware I/O Coherency support") Cc: # v3.8+ Signed-off-by: Thomas Petazzoni --- Changes since v1: * Fix stupid tab vs. space problem Applies to mvebu/soc. Whet

Re: [PATCHv2] ARM: mvebu: use hardware I/O coherency also for PCI devices

2014-05-13 Thread Thomas Petazzoni
A operations would cause many PL310 cache maintenance operations, and therefore a high chance of hitting the deadlock. However, this is only a new problem in 3.16, which has the SMP support for Armada 375/Armada 38x. So, as I said, feel free to drop the stable tags :) Thanks! Thomas -- Thomas P

[PATCH] mtd: pxa3xx_nand: make the driver work on big-endian systems

2014-05-22 Thread Thomas Petazzoni
this kernel release. Signed-off-by: Thomas Petazzoni --- drivers/mtd/nand/pxa3xx_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index 7588fe2..3003611 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/dr

[PATCH 2/2] net: mvneta: fix usage as a module on RGMII configurations

2014-03-25 Thread Thomas Petazzoni
le, on both the OpenBlocks AX3 (SGMII configuration) and the Armada XP GP (RGMII configuration). Reported-by: Steve McIntyre Cc: stable@vger.kernel.org # 3.11.x: 5445eaf309ff mvneta: Try to fix mvneta when compiled as module Signed-off-by: Thomas Petazzoni --- drivers/net/

[PATCH 1/2] net: mvneta: rename MVNETA_GMAC2_PSC_ENABLE to MVNETA_GMAC2_PCS_ENABLE

2014-03-25 Thread Thomas Petazzoni
Bit 3 of the MVNETA_GMAC_CTRL_2 is actually used to enable the PCS, not the PSC: there was a typo in the name of the define, which this commit fixes. Cc: stable@vger.kernel.org Signed-off-by: Thomas Petazzoni --- This patch is needed for a followup commit that fixes using the mvneta driver as a

[PATCH 1/2] ARM: mvebu: ensure the mdio node has a clock reference on Armada 370/XP

2014-03-25 Thread Thomas Petazzoni
: it tries to access a register from a hardware unit that isn't clocked. Cc: stable@vger.kernel.org Signed-off-by: Thomas Petazzoni --- arch/arm/boot/dts/armada-370-xp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armad

Re: [PATCH 2/2] net: mvneta: fix usage as a module on RGMII configurations

2014-04-03 Thread Thomas Petazzoni
k to you with an updated patch once I have enough information to write a fix. Thanks for the report, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 2/2] net: mvneta: fix usage as a module on RGMII configurations

2014-04-09 Thread Thomas Petazzoni
o be cleared. Since getting this information is apparently going to take much more time that I originally hoped, I'm starting to think that the safest and fastest course of action is indeed to revert this patch. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android

[PATCH] memory: mvebu-devbus: fix the conversion of the bus width

2014-04-10 Thread Thomas Petazzoni
ivers: memory: Introduce Marvell EBU Device Bus driver'), which was merged in v3.11. Signed-off-by: Thomas Petazzoni Cc: stable@vger.kernel.org --- drivers/memory/mvebu-devbus.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/memory/mvebu-devbus.c b/drivers/me

[PATCH] Revert "net: mvneta: fix usage as a module on RGMII configurations"

2014-04-13 Thread Thomas Petazzoni
k, while RGMII-ID works. This needs more investigation, but in the mean time, let's unbreak the network for all those users. Signed-off-by: Thomas Petazzoni Reported-by: Arnaud Ebalard Reported-by: Alexander Reuter Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=73401 Cc: stable@vger.kern

[PATCH 01/29] ARM: orion5x: fix target ID for crypto SRAM window

2014-04-13 Thread Thomas Petazzoni
ied in the datasheet) and not 0x0. Signed-off-by: Thomas Petazzoni Cc: stable@vger.kernel.org --- This should be backported to stable all the way to v3.12. Signed-off-by: Thomas Petazzoni --- arch/arm/mach-orion5x/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/ma

[PATCH 04/29] memory: mvebu-devbus: fix the conversion of the bus width

2014-04-13 Thread Thomas Petazzoni
ivers: memory: Introduce Marvell EBU Device Bus driver'), which was merged in v3.11. Signed-off-by: Thomas Petazzoni Cc: stable@vger.kernel.org --- drivers/memory/mvebu-devbus.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/memory/mvebu-devbus.c b/drivers/me

[PATCH v2 3/4] ARM: mvebu: fix NOR bus-width in Armada XP DB Device Tree

2014-04-14 Thread Thomas Petazzoni
b484ff42df475c5087d614c4d477273e1906bcb9 ('ARM: mvebu: Add support for NOR flash device on Armada XP-DB board') which was merged in v3.11. Signed-off-by: Thomas Petazzoni Cc: stable@vger.kernel.org --- arch/arm/boot/dts/armada-xp-db.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v2 1/4] memory: mvebu-devbus: fix the conversion of the bus width

2014-04-14 Thread Thomas Petazzoni
hardware in fact uses a 16 bits bus width. This commit fixes that by adjusting the conversion logic. This patch fixes a bug that was introduced in 3edad321b1bd2e6c8b5f38146c115c8982438f06 ('drivers: memory: Introduce Marvell EBU Device Bus driver'), which was merged in v3.11. Signed-off-

[PATCH v2 4/4] ARM: mvebu: fix NOR bus-width in Armada XP OpenBlocks AX3 Device Tree

2014-04-14 Thread Thomas Petazzoni
commit a7d4f81821f7eec3175f8e23dd6949c71ab2da43 ('ARM: mvebu: Add support for NOR flash device on Openblocks AX3 board') which was merged in v3.10. Signed-off-by: Thomas Petazzoni Cc: stable@vger.kernel.org --- arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 2 +- 1 file changed, 1

[PATCH v2 2/4] ARM: mvebu: fix NOR bus-width in Armada XP GP Device Tree

2014-04-14 Thread Thomas Petazzoni
da8d1b38356853c37116f9afa29f15648d7fb159 ('ARM: mvebu: Add support for NOR flash device on Armada XP-GP board') which was merged in v3.10. Signed-off-by: Thomas Petazzoni Cc: stable@vger.kernel.org --- arch/arm/boot/dts/armada-xp-gp.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v2 1/4] memory: mvebu-devbus: fix the conversion of the bus width

2014-04-16 Thread Thomas Petazzoni
ount all the review comments I've received). Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger

Re: [PATCH v2 2/4] ARM: mvebu: fix NOR bus-width in Armada XP GP Device Tree

2014-04-17 Thread Thomas Petazzoni
. Maybe an update to stable_kernel_rules.txt is in order? :-) Thanks again! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 2/7] irqchip: armada-370-xp: implement the ->check_device() msi_chip operation

2014-04-18 Thread Thomas Petazzoni
xes: 31f614edb726fcc4d5aa0f2895fbdec9b04a3ca4 ('irqchip: armada-370-xp: implement MSI support') Cc: # v3.13+ Signed-off-by: Thomas Petazzoni Tested-by: Neil Greatorex --- drivers/irqchip/irq-armada-370-xp.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/irqchip/irq-armada-370-xp

[PATCH 3/7] irqchip: armada-370-xp: Fix releasing of MSIs

2014-04-18 Thread Thomas Petazzoni
ca4 ('irqchip: armada-370-xp: implement MSI support') Cc: # v3.13+ Signed-off-by: Neil Greatorex Signed-off-by: Thomas Petazzoni --- drivers/irqchip/irq-armada-370-xp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-armada-370-xp.c b/driver

[PATCH 6/7] bus: mvebu-mbus: allow several windows with the same target/attribute

2014-04-18 Thread Thomas Petazzoni
Fixes: fb52a6c4e2438f4514ed979183653ca0732a ('bus: introduce an Marvell EBU MBus driver') Cc: # v3.10+ Signed-off-by: Thomas Petazzoni Tested-by: Neil Greatorex --- drivers/bus/mvebu-mbus.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.

[PATCH 4/7] pci: mvebu: fix off-by-one in the computed size of the mbus windows

2014-04-18 Thread Thomas Petazzoni
silently accept and round up bogus sizes. Fix this by adding one to the computed size. Fixes: 45361a4fe4464180815157654aabbd2afb4848ad ('PCIe driver for Marvell Armada 370/XP systems') Cc: # v3.11+ Signed-off-by: Willy Tarreau Reviewed-By: Jason Gunthorpe Signed-off-by: Thomas Petazzoni

[PATCH 7/7] pci: pci-mvebu: split PCIe BARs into multiple MBus windows when needed

2014-04-18 Thread Thomas Petazzoni
those functions, instead of directly calling the mvebu-mbus driver functions. Fixes: 45361a4fe4464180815157654aabbd2afb4848ad ('pci: PCIe driver for Marvell Armada 370/XP systems') Cc: # v3.11+ Signed-off-by: Thomas Petazzoni Tested-by: Neil Greatorex --- drivers/pci/host/p

[PATCH 1/7] irqchip: armada-370-xp: fix invalid cast of signed value into unsigned variable

2014-04-18 Thread Thomas Petazzoni
ned-off-by: Thomas Petazzoni Tested-by: Neil Greatorex --- drivers/irqchip/irq-armada-370-xp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c index 41be897..3c8d89b 100644 --- a/drivers/irqchip/irq-armad

[PATCH v2 02/38] memory: mvebu-devbus: fix the conversion of the bus width

2014-04-22 Thread Thomas Petazzoni
hardware in fact uses a 16 bits bus width. This commit fixes that by adjusting the conversion logic. This patch fixes a bug that was introduced in 3edad321b1bd2e6c8b5f38146c115c8982438f06 ('drivers: memory: Introduce Marvell EBU Device Bus driver'), which was merged in v3.11. Signed-off-

[PATCH v2 01/38] ARM: orion5x: fix target ID for crypto SRAM window

2014-04-22 Thread Thomas Petazzoni
ied in the datasheet) and not 0x0. Signed-off-by: Thomas Petazzoni Cc: stable@vger.kernel.org --- This should be backported to stable all the way to v3.12. Signed-off-by: Thomas Petazzoni --- arch/arm/mach-orion5x/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/ma

[PATCH 3.18 stable] ARM: mvebu: do not register custom DMA operations when coherency is disabled

2015-03-12 Thread Thomas Petazzoni
rency workaround"), but it was not visible until now since it didn't cause any problem when HW I/O coherency is enabled. Signed-off-by: Thomas Petazzoni Cc: v3.16..v3.18 --- arch/arm/mach-mvebu/coherency.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/a

Re: [PATCH 3.18 stable] ARM: mvebu: do not register custom DMA operations when coherency is disabled

2015-03-12 Thread Thomas Petazzoni
Dear Baruch Siach, On Thu, 12 Mar 2015 12:57:08 +0200, Baruch Siach wrote: > > It does make a lot of sense to backport this commit entirely, since it > > "It does not" maybe? Obviously, thanks for spotting. I'll send a v2 that fixes that. Thanks, Thomas --

[PATCH 3.18-stable v2] ARM: mvebu: do not register custom DMA operations when coherency is disabled

2015-03-12 Thread Thomas Petazzoni
a 375 coherency workaround"), but it was not visible until now since it didn't cause any problem when HW I/O coherency is enabled. Signed-off-by: Thomas Petazzoni Cc: v3.16..v3.18 --- arch/arm/mach-mvebu/coherency.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ar

Re: [PATCH v2] ARM: mvebu: Disable CPU Idle on Armada 38x

2015-03-31 Thread Thomas Petazzoni
ot plug support also uses some of the CPU Idle functions it is > also affected by the same issue. This patch disables it also for the > Armada 38x SoCs. > > Signed-off-by: Gregory CLEMENT > Cc: # v3.17 + Tested-by: Thomas Petazzoni I tested on Armada 38x, and indeed CPU hotplu

[PATCH 2/2] i2c: i2c-mv64xxx: rework offload support to fix several problems

2014-12-11 Thread Thomas Petazzoni
eading the received data if needed. This commit was tested on: - Armada XP OpenBlocks AX3-4 (EEPROM on I2C and RTC on I2C) - Armada XP WRT1900AC (LED controller on I2C) - Armada XP GP (EEPROM on I2C) Fixes: 930ab3d403ae ("i2c: mv64xxx: Add I2C Transaction Generator support")

[PATCH 5/6] bus: mvebu-mbus: use automatic I/O synchronization barriers

2014-12-30 Thread Thomas Petazzoni
nd we can reasonably verify that this assumption is also true for the limited number of platform drivers doing DMA used on Marvell EBU platforms. Fixes: fb52a6c4 ("bus: introduce an Marvell EBU MBus driver") Cc: # v3.10+ Signed-off-by: Thomas Petazzoni --- Due to the coherent mapping

[PATCH 6/6] ARM: mvebu: use arm_coherent_dma_ops

2014-12-30 Thread Thomas Petazzoni
are I/O Coherency support") Cc: # v3.8+ Signed-off-by: Thomas Petazzoni --- arch/arm/mach-mvebu/coherency.c | 51 ++--- 1 file changed, 2 insertions(+), 49 deletions(-) diff --git a/arch/arm/mach-mvebu/coherency.c b/arch/arm/mach-mvebu/coherency.c ind

[PATCH 3/6] ARM: mvebu: fix compatible strings of MBus on Armada 375 and Armada 38x

2014-12-30 Thread Thomas Petazzoni
. Fixes: 4de59085091 ("ARM: mvebu: add Device Tree description of the Armada 375 SoC") Fixes: 0d3d96ab005 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs") Cc: # v3.15+ Signed-off-by: Thomas Petazzoni --- arch/arm/boot/dts/armada-375.dtsi | 2 +- arch

[PATCH 2/6] bus: mvebu-mbus: fix support of MBus window 13 on Armada XP/375/38x

2014-12-30 Thread Thomas Petazzoni
8X because the window 13 of Armada 370 does not support the remap capability. [Thomas: adapted for the mainline kernel, minor clarifications in the code, reword the commit log.] Fixes: fb52a6c ("bus: introduce an Marvell EBU MBus driver") Cc: # v3.10+ Signed-off-by: Michal Mazu

[PATCH] mmc: sdhci-pxav3: do the mbus window configuration after enabling clocks

2014-12-31 Thread Thomas Petazzoni
5491ce3f79ee ("mmc: sdhci-pxav3: add support for the Armada 38x SDHCI controller") Cc: # v3.15+ Signed-off-by: Thomas Petazzoni --- drivers/mmc/host/sdhci-pxav3.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/dr

Re: [PATCH 2/4] usb: XHCI: platform: Move the Marvell quirks after the enabling the clocks

2015-01-06 Thread Thomas Petazzoni
ng code around, the error handling should also be fixed. You probably need "goto put_hcd;" instead of "return ret;". Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from

[PATCH stable 3.10] ARM: mvebu: disable I/O coherency on non-SMP situations on Armada 370/375/38x/XP

2015-01-08 Thread Thomas Petazzoni
G_SMP configurations on Armada XP, Armada 375 and Armada 38x (which are multiple cores processors), but will no longer be used on Armada 370 (which is a single core processor). Signed-off-by: Thomas Petazzoni Fixes: e60304f8cb7bb545e79fe62d9b9762460c254ec2 ("arm: mvebu: Add hardware I/O Coheren

[PATCH stable 3.14] ARM: mvebu: disable I/O coherency on non-SMP situations on Armada 370/375/38x/XP

2015-01-08 Thread Thomas Petazzoni
G_SMP configurations on Armada XP, Armada 375 and Armada 38x (which are multiple cores processors), but will no longer be used on Armada 370 (which is a single core processor). Signed-off-by: Thomas Petazzoni Fixes: e60304f8cb7bb545e79fe62d9b9762460c254ec2 ("arm: mvebu: Add hardware I/O Coheren

[PATCHv2 1/3] ARM: mvebu: completely disable hardware I/O coherency

2015-01-16 Thread Thomas Petazzoni
solution based on automatic I/O synchronization barriers, this commit disables hardware I/O coherency entirely. Future patches will re-enable it. Signed-off-by: Thomas Petazzoni Cc: # v3.8+ --- Due to the coherent mapping problem, the I/O coherency has in fact been broken since its introduction, which

Re: [PATCH 2/6] bus: mvebu-mbus: fix support of MBus window 13 on Armada XP/375/38x

2015-01-20 Thread Thomas Petazzoni
gt; > Cc: # v3.10+ > > Signed-off-by: Michal Mazur > > Signed-off-by: Thomas Petazzoni > > I merged in the revert of the simple fix for window 13. So the end > patch is below. > > merged into mvebu/soc Quickly looked at it, it looks fine to me. Thanks again for handli

[PATCHv2] ASoC: cs42l51: re-hook of_match_table pointer

2014-11-12 Thread Thomas Petazzoni
le pointer. This commit exports the of_device_id array in cs42l51, and uses it as .of_match_able in cs42l51-i2c.c. This solution was suggested by Brian Austin. Fixes: a1253ef6d3fa ("ASoC: cs42l51: split i2c from codec driver") Cc: # v3.16+ Cc: Arnaud Patard (Rtp) Cc: Brian Austin S

[PATCHv3 1/5] ARM: mvebu: make the coherency_ll.S functions work with no coherency fabric

2014-11-13 Thread Thomas Petazzoni
urn a physical address of 0 to indicate that the coherency fabric is not enabled. Signed-off-by: Thomas Petazzoni Cc: # v3.8+ Acked-by: Gregory CLEMENT --- arch/arm/mach-mvebu/coherency_ll.S | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-

[PATCHv3 2/5] ARM: mvebu: disable I/O coherency on non-SMP situations on Armada 370/375/38x/XP

2014-11-13 Thread Thomas Petazzoni
ff-by: Thomas Petazzoni Fixes: e60304f8cb7bb545e79fe62d9b9762460c254ec2 ("arm: mvebu: Add hardware I/O Coherency support") Cc: # v3.8+ Acked-by: Gregory CLEMENT --- arch/arm/mach-mvebu/coherency.c | 44 - 1 file changed, 30 insertions(+), 14 del

Re: [PATCHv3 2/5] ARM: mvebu: disable I/O coherency on non-SMP situations on Armada 370/375/38x/XP

2014-11-13 Thread Thomas Petazzoni
manipulate the DT in the early assembly code, or 2/ make sure that the initialization done in the assembly code can be overridden later. What do you think? Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --

Re: [PATCHv3 2/5] ARM: mvebu: disable I/O coherency on non-SMP situations on Armada 370/375/38x/XP

2014-11-13 Thread Thomas Petazzoni
ble with doing a multi-platform kernel. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger.ke

[PATCHv2 02/16] ARM: mvebu: enable strex backoff delay

2014-11-14 Thread Thomas Petazzoni
log, add stable markers.] Cc: Russell King Cc: # v3.8+ Fixes: de4901933f6d ("arm: mm: Add support for PJ4B cpu and init routines") Signed-off-by: Nadav Haklai Signed-off-by: Thomas Petazzoni Acked-by: Gregory CLEMENT --- This patch is submitted as part of the suspend/resume work, b

[PATCHv3 02/16] ARM: mvebu: enable strex backoff delay

2014-11-21 Thread Thomas Petazzoni
log, add stable markers.] Cc: Russell King Cc: # v3.8+ Fixes: de4901933f6d ("arm: mm: Add support for PJ4B cpu and init routines") Signed-off-by: Nadav Haklai Signed-off-by: Thomas Petazzoni Acked-by: Gregory CLEMENT --- This patch is submitted as part of the suspend/resume work, b

Re: [PATCHv3 02/16] ARM: mvebu: enable strex backoff delay

2014-11-25 Thread Thomas Petazzoni
veloper/patches/viewpatch.php?id=8222/1. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger.

[PATCH 2/5] bus: mvebu-mbus: fix support of MBus window 13 on Armada XP/375/38x

2014-12-03 Thread Thomas Petazzoni
8X because the window 13 of Armada 370 does not support the remap capability. [Thomas: adapted for the mainline kernel, minor clarifications in the code, reword the commit log.] Fixes: fb52a6c ("bus: introduce an Marvell EBU MBus driver") Cc: # v3.10+ Signed-off-by: Michal Mazu

[PATCH 3/5] ARM: mvebu: fix compatible strings of MBus on Armada 375 and Armada 38x

2014-12-03 Thread Thomas Petazzoni
. Fixes: 4de59085091 ("ARM: mvebu: add Device Tree description of the Armada 375 SoC") Fixes: 0d3d96ab005 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs") Cc: # v3.15+ Signed-off-by: Thomas Petazzoni --- arch/arm/boot/dts/armada-375.dtsi | 2 +- arch

[PATCH 04/34] pinctrl: mvebu: armada-xp: remove non-existing NAND pins

2015-06-09 Thread Thomas Petazzoni
After updating to a more recent version of the Armada XP datasheet, we realized that some of the pins documented as having a NAND-related functionality in fact did not have such functionality. This commit updates the pinctrl driver accordingly. Signed-off-by: Thomas Petazzoni Cc: # v3.7+ Fixes

[PATCH 03/34] pinctrl: mvebu: armada-375: remove non-existing NAND re/we pins

2015-06-09 Thread Thomas Petazzoni
After updating to a more recent version of the Armada 375, we realized that some of the pins documented as having a NAND-related functionality in fact did not have such functionality. This commit updates the pinctrl driver accordingly. Signed-off-by: Thomas Petazzoni Cc: # v3.15+ Fixes

[PATCH 07/34] pinctrl: mvebu: armada-375: remove incorrect space in pin description

2015-06-09 Thread Thomas Petazzoni
There was an incorrect space in the definition of the function of one pin in the Armada 375 pinctrl driver, which this commit fixes. Signed-off-by: Thomas Petazzoni Cc: # v3.15+ Fixes: ce3ed59dcddd ("pinctrl: mvebu: add pin-muxing driver for the Marvell Armada 375") --- drivers/pin

[PATCH 05/34] pinctrl: mvebu: armada-xp: remove non-existing VDD cpu_pd functions

2015-06-09 Thread Thomas Petazzoni
The latest version of the Armada XP datasheet no longer documents the VDD cpu_pd functions, which might indicate they are not working and/or not supported. This commit ensures the pinctrl driver matches the datasheet. Signed-off-by: Thomas Petazzoni Cc: # v3.7+ Fixes: 463e270f766a ("pi

[PATCH 06/34] pinctrl: mvebu: armada-xp: fix functions of MPP48

2015-06-09 Thread Thomas Petazzoni
There was a mistake in the definition of the functions for MPP48 on Marvell Armada XP. The second function is dev(clkout), and not tclk. Signed-off-by: Thomas Petazzoni Cc: # v3.7+ Fixes: 463e270f766a ("pinctrl: mvebu: add pinctrl driver for Armada XP") --- Documentation/devicetre

[PATCH 02/34] pinctrl: mvebu: armada-370: fix spi0 pin description

2015-06-09 Thread Thomas Petazzoni
Due to a mistake, the CS0 and CS1 SPI0 functions were incorrectly named "spi0-1" instead of just "spi0". This commit fixes that. This DT binding change does not affect any of the in-tree users. Signed-off-by: Thomas Petazzoni Cc: # v3.7+ Fixes: 5f597bb2be57 ("pinctrl:

[PATCH 08/34] pinctrl: mvebu: armada-38x: fix incorrect total number of GPIOs

2015-06-09 Thread Thomas Petazzoni
The pinctrl_gpio_range[] array described a first bank of 32 GPIOs and a second one of 27 GPIOs. However, since there is a total of 60 MPP pins that can be muxed as GPIOs, the second bank really has 28 GPIOs. Signed-off-by: Thomas Petazzoni Cc: # v3.15+ Fixes: ca6d9a084b56f ("pinctrl: mvebu

[PATCH 09/34] pinctrl: mvebu: armada-39x: fix incorrect total number of GPIOs

2015-06-09 Thread Thomas Petazzoni
The pinctrl_gpio_range[] array described a first bank of 32 GPIOs and a second one of 27 GPIOs. However, since there is a total of 60 MPP pins that can be muxed as GPIOs, the second bank really has 28 GPIOs. Signed-off-by: Thomas Petazzoni Cc: # v4.1+ Fixes: ee086577abe7f ("pinctrl: mvebu

  1   2   >