[PATCH] Configure out DMI scanning code

2008-02-11 Thread Thomas Petazzoni
Result: textdata bss dec hex filename -7984 -2348 0 -10332 -285c vmlinux The new option appears in Processor type and features, only when CONFIG_EMBEDDED is defined. Signed-Off-By: Thomas Petazzoni [EMAIL PROTECTED] --- arch/x86/Kconfig| 12

Re: [PATCH] Configure out DMI scanning code

2008-02-11 Thread Thomas Petazzoni
possible with modern gccs, yes. I was compiling with 4.2.3, which I suppose is a modern gcc. Thanks, Thomas -- Thomas Petazzoni, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than 1500 pages!) signature.asc Description: PGP signature

[PATCH] Configure out DMI scanning code v2 (Linux Tiny)

2008-02-12 Thread Thomas Petazzoni
]. Signed-off-by: Thomas Petazzoni [EMAIL PROTECTED] --- arch/x86/Kconfig| 12 +--- include/linux/dmi.h |1 + 2 files changed, 10 insertions(+), 3 deletions(-) Index: linux/arch/x86/Kconfig === --- linux.orig/arch/x86

Re: [PATCH] Configure out doublefault exception handler (Linux Tiny)

2008-02-12 Thread Thomas Petazzoni
: there's only a doublefault_32.c, no doublefault_64.c. However, I don't know the details of x86_64. Thanks, Thomas -- Thomas Petazzoni, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than 1500 pages!) signature.asc Description: PGP signature

[PATCH] Configure out doublefault exception handler (Linux Tiny)

2008-02-12 Thread Thomas Petazzoni
project, and is based on previous work by Matt Mackall [EMAIL PROTECTED]. Signed-off-by: Thomas Petazzoni [EMAIL PROTECTED] --- arch/x86/Kconfig |7 +++ 1 file changed, 7 insertions(+) Index: linux/arch/x86/Kconfig

[RFC] [PATCH] x86: Configure out compilation of Simple Boot Flag support

2008-02-13 Thread Thomas Petazzoni
sbf_acpi_parse(struct acpi_table_header *table); +#else +static inline int sbf_acpi_parse(struct acpi_table_header *table) +{ + return -ENODEV; +} +#endif + extern unsigned long acpi_realmode_flags; int acpi_register_gsi (u32 gsi, int triggering, int polarity); -- Thomas Petazzoni, Free

Re: [RFC] [PATCH] x86: Configure out compilation of Simple Boot Flag support

2008-02-13 Thread Thomas Petazzoni
about the duplicate call to acpi_table_parse(ACPI_SIG_BOOT, acpi_parse_sbf) ? Thanks for your comments, Thomas -- Thomas Petazzoni, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than 1500 pages!) signature.asc Description: PGP signature

[PATCH] Configure out TSC support

2008-02-13 Thread Thomas Petazzoni
-1148-47C +/ This patch is part of the Linux Tiny project, and is based on previous work done by Zwane Mwaikambo [EMAIL PROTECTED]. Signed-off-by: Thomas Petazzoni [EMAIL PROTECTED] --- arch/x86/Kconfig |6 ++ arch/x86/kernel/Makefile |3 ++- include/asm/tsc.h

[RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)

2008-02-15 Thread Thomas Petazzoni
, in early_cpu_detect(), this_cpu is not yet set, so we have to use the cpu_devs[] array directly. This patch is part of the Linux Tiny project, and is needed for further patch that will allow to disable compilation of unused CPU support code. Signed-off-by: Thomas Petazzoni [EMAIL PROTECTED

[PATCH] Use directly kmalloc() and kfree() in init/initramfs.c

2008-02-15 Thread Thomas Petazzoni
by Matt Mackall [EMAIL PROTECTED]. Signed-off-by: Thomas Petazzoni [EMAIL PROTECTED] --- init/initramfs.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) Index: linux/init/initramfs.c === --- linux.orig

[PATCH] inflate: refactor inflate malloc code

2008-02-15 Thread Thomas Petazzoni
/initramfs.c. Work initially done by Matt Mackall [EMAIL PROTECTED], updated to a recent version of the kernel by me. Signed-off-by: Thomas Petazzoni [EMAIL PROTECTED] --- arch/alpha/boot/misc.c| 35 --- arch/arm/boot/compressed/misc.c | 53

Re: [PATCH] Use directly kmalloc() and kfree() in init/initramfs.c

2008-02-15 Thread Thomas Petazzoni
that will remove the malloc() and free() functions. Take that opportunity to remove the useless kmalloc() return value cast. Based of work done by Matt Mackall [EMAIL PROTECTED]. Signed-off-by: Thomas Petazzoni [EMAIL PROTECTED] --- init/initramfs.c | 20 ++-- 1 file changed, 10

Re: [PATCH] Use directly kmalloc() and kfree() in init/initramfs.c

2008-02-15 Thread Thomas Petazzoni
() and free() wrappers (and does some more clean-up). Sincerly, Thomas -- Thomas Petazzoni, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than 1500 pages!) signature.asc Description: PGP signature

Re: [PATCH] ARM: plat-versatile: move FPGA irq driver to drivers/irqchip

2012-11-01 Thread Thomas Petazzoni
/irqchip/ was to avoid adding per-driver header files in include/linux/irqchip/, so there should at least be a long term plan on how to remove those headers file, either by moving more platforms to DT, or my extending the irqchip infrastructure to cover more features. Best regards, Thomas -- Thomas

Re: [PATCH v2] ARM: plat-versatile: move FPGA irq driver to drivers/irqchip

2012-11-01 Thread Thomas Petazzoni
is removed. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT

2012-09-25 Thread Thomas Petazzoni
,orion5x,mv78xx0} gradually converge to DT, pinctrl/gpio, clock and other things, and only after that merge into mach-mvebu. It will be much easier to do the merge as most of the code in those mach- directory will have disappeared, as well as the code in plat-orion. Best regards, Thomas -- Thomas

Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT

2012-09-25 Thread Thomas Petazzoni
very different to all the others and i doubt it will be easy to make work with all the others. No, I haven't looked seriously at the PCI code for the moment. I should have the opportunity to do so at some point. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time

Re: [PATCH] gpio: mvebu: Set free callback for gpio_chip

2012-11-07 Thread Thomas Petazzoni
. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Thomas Petazzoni thomas.petazz...@free-electrons.com -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-23 Thread Thomas Petazzoni
IMHO. Agreed. Just like drivers do their ioremap, request_irq and others, they should also request their pin resources using the pinctrl API. Hiding this behind a bus notifier is not nice. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-23 Thread Thomas Petazzoni
when reading a driver's code: that's the problem with bus notifier, they do things a bit behind your back without you noticing. Having the driver request its own pinctrl state, and switch between states upon suspend/resume is a lot more explicit, IMO. Thomas -- Thomas Petazzoni, Free Electrons Kernel

Re: [PATCH 1/2] arm: plat-orion: Add coherency attribute when setup mbus target

2012-10-24 Thread Thomas Petazzoni
, then the transactions will be forced to be sent through the coherency block, in other case transaction is driven directly to DRAM. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Reviewed-by: Yehuda Yitschak yehu...@marvell.com Acked-by: Thomas Petazzoni thomas.petazz...@free-electrons.com

Re: [PATCH 2/2] arm: mvebu: Add hardware I/O Coherency support

2012-10-24 Thread Thomas Petazzoni
is available? Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 2/2] arm: mvebu: adding SATA support: dt binding and config update

2012-10-24 Thread Thomas Petazzoni
; +interrupts = 55; +nr-ports = 2; + clocks = coreclk 0;//, coreclk 0; Alignment problem + remainings of tests or something like that. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting

Re: [PATCH 2/2] arm: mvebu: Add hardware I/O Coherency support

2012-10-24 Thread Thomas Petazzoni
, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 1/2] arm: mvebu: increase atomic coherent pool size for armada 370/XP

2012-10-25 Thread Thomas Petazzoni
. That said, that's for sure a larger task than just enabling SATA on Armada 370/XP, so I would advocate to handle this problem separately. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http

Re: [PATCH 2/2] arm: mvebu: adding SATA support: dt binding and config update

2012-10-25 Thread Thomas Petazzoni
ports = 1 ports = 1, 3 In order to allow to more precisely enabled SATA ports? Or maybe the SATA ports cannot be enabled/disabled on a per-port basis, in which case I'm obviously wrong here. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux

Re: [PATCH 1/2] arm: mvebu: increase atomic coherent pool size for armada 370/XP

2012-10-25 Thread Thomas Petazzoni
are GFP_KERNEL. So why are we having problems with the /atomic/ coherent pool size? Is it the libata core that's doing GFP_ATOMIC DMA coherent allocations. It doesn't seem so. Something's odd. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting

Re: [PATCH V2 0/4] Adding SATA support for Armada 370/XP

2012-10-26 Thread Thomas Petazzoni
patches to enable SATA/network/SMP on OpenBlocks AX3 later on, if that's ok for you? Thanks! Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send

Re: [PATCH V2 2/4] arm: mvebu: adding SATA support: dt binding for Armada 370/XP

2012-10-26 Thread Thomas Petazzoni
to know and document what is the rule for .dts files, and possibly extend checkpatch to cover those special rules for .dts files. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free

Re: [PATCH] arm: mvebu: support for the Globalscale Mirabox MBX0001 board

2012-10-27 Thread Thomas Petazzoni
said, sorted entries would be nicer. Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] arm: mvebu: support for the Globalscale Mirabox MBX0001 board

2012-10-27 Thread Thomas Petazzoni
-370. It then fits with armada-370-db.dts, and all the kirkwood files are kirkwood-*.dts. So for OpenBlocks, I should rename armada-xp-openblocks-ax3-4.dts as well, I guess. I agree with your comment: I think that a name such as mbx001.dts is way too generic. Best regards, Thomas -- Thomas

Re: [PATCH] arm: mvebu: support for the Globalscale Mirabox MBX0001 board

2012-10-27 Thread Thomas Petazzoni
(-) create mode 100644 arch/arm/boot/dts/mbx001.dts With the rename mbx001.dts - mbx0001.dts, this works fine for me on the hardware platform, so: Tested-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded

Re: [PATCH RFT 1/2] pinctrl: dove: Fix dove_audio1_ctrl_set when BIT(0|1|2|3) of config is clear

2012-11-11 Thread Thomas Petazzoni
access to Dove hardware. Could you repost and Cc him, as well as linux-arm-kernel@ ? Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send

Libre Software Meeting 2005 : Call for contributions

2005-03-04 Thread Thomas Petazzoni
Thomas Petazzoni [EMAIL PROTECTED] and Ludovic Courtès [EMAIL PROTECTED] by June 2005. Speakers are encouraged to write a small paper (6 to 12 A4 sheets) summarizing their presentation (in an open format such as PostScript or PDF). Ludovic Courtès and Thomas Petazzoni. [0] http://lsm2000.abul.org

Re: [PATCH v6 1/3] of/pci: Unify pci_process_bridge_OF_ranges from Microblaze and PowerPC

2013-04-15 Thread Thomas Petazzoni
...@calxeda.com Tested-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/microblaze/include/asm/pci-bridge.h |5 +- arch/microblaze/pci/pci-common.c | 192 arch/powerpc/include/asm/pci-bridge.h|5 +- arch/powerpc/kernel/pci-common.c

Re: [PATCH v6 0/3] of/pci: Provide common support for PCI DT parsing

2013-04-16 Thread Thomas Petazzoni
just sent a new version v7 of the patch set addressing those issues, as well as the missing include. Also, please note that Andrew's patch set contains three patches, but the Marvell PCIe driver only requires PATCH 1/3 and PATCH 2/3. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel

Re: [PATCH v5 1/3] of/pci: Unify pci_process_bridge_OF_ranges from Microblaze and PowerPC

2013-04-10 Thread Thomas Petazzoni
. Thanks a lot for your feedback, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH v5 1/3] of/pci: Unify pci_process_bridge_OF_ranges from Microblaze and PowerPC

2013-04-10 Thread Thomas Petazzoni
, + struct device_node *dev, int primary); + #endif But otherwise, for PATCH 1/3 and 2/3, Tested-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http

Re: [PATCH 4/4 v2] mv643xx_eth: convert to use the Marvell Orion MDIO driver

2013-03-15 Thread Thomas Petazzoni
-EPROBE_DEFER when it can't find its PHY so that its -probe() operation gets called once again by the kernel when other drivers (including mvmdio) have been probed. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting

Re: [RFC PATCH v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-20 Thread Thomas Petazzoni
, + struct device_node *node) +{ + return NULL; +} #endif /* CONFIG_OF_ADDRESS */ -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from

Re: [RFC PATCH RESEND v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-21 Thread Thomas Petazzoni
)-flags instead of res-flags. If you don't do that, then passing foobar as the 'res' parameter causes some compilation failure because foobar-res is not valid, while (foobar)-res is. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development

Re: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits

2013-03-21 Thread Thomas Petazzoni
, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits

2013-03-21 Thread Thomas Petazzoni
area that would be mapped at a different address (above 4 GB). However, I'm unsure why 0xC000 was chosen. Why not 0xD000, where the internal registers currently start? Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development

Re: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits

2013-03-21 Thread Thomas Petazzoni
at a different address (above 4 GB). So why not map the whole SDRAM above 4GB physical address? That's a good question. The problem is most likely that this would require to synchronize with U-Boot modifications, which is not easy to achieve. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers

Re: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits

2013-03-21 Thread Thomas Petazzoni
can't do it early enough to preserve the earlyprintk functionality. Maybe you have suggestions on how to achieve that? Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free

Re: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits

2013-03-21 Thread Thomas Petazzoni
. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [RFC PATCH RESEND v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-22 Thread Thomas Petazzoni
on this patch, so if any rework of this OF patch needs to be done, it'd be great to know it sooner rather than later. Thanks! Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe

Re: [PATCH 0/4 v3] mv643xx_eth: use mvmdio MDIO bus driver

2013-03-22 Thread Thomas Petazzoni
: enhance driver to support SMI error/done interrupts mv643xx_eth: convert to use the Marvell Orion MDIO driver For the entire series: Tested-by: Thomas Petazzoni thomas.petazz...@free-electrons.com tested on: * Armada XP DB, DT-based, which uses the mvneta driver. It is affected by the 3 first

Re: [PATCH 1/6] of/pci: Provide support for parsing PCI DT ranges property

2013-03-23 Thread Thomas Petazzoni
== IORESOURCE_MEM) { [...] Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH] ARM: Kirkwood: fix unused mvsdio gpio pins

2013-03-23 Thread Thomas Petazzoni
more sense than just -1 ? Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] ARM: Kirkwood: fix unused mvsdio gpio pins

2013-03-23 Thread Thomas Petazzoni
. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [RFC 0/2] PCI: Introduce MSI chip infrastructure

2013-03-24 Thread Thomas Petazzoni
the PCIe driver and the interrupt controller driver. Suggestions? I'll try to post some ugly code next week just to show what is happening. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free

Re: [RFC 0/2] PCI: Introduce MSI chip infrastructure

2013-03-25 Thread Thomas Petazzoni
again for your feedback! Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [RFC PATCH v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-27 Thread Thomas Petazzoni
... Yes, I'm planning on testing RFC v3 from Andrew right now, and send a new version of the Marvell PCIe patch set that includes it. If all goes well, should happen this afternoon. Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development

Re: [PATCH 05/32] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2013-03-04 Thread Thomas Petazzoni
think was correct). See: commit 9ed8a30f3471347c1b763bd062fa78ae80f18eae Author: Jingoo Han jg1@samsung.com Date: Wed Feb 27 17:02:42 2013 -0800 Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training

Re: [PATCH 05/32] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2013-03-06 Thread Thomas Petazzoni
code? Thierry Reding and myself have been looking at each other's PCIe host driver since a while in order to make some consistent choices where possible. It would be good to see your code as well. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded

Re: 3.9-rc1 regression in arm dtb build

2013-03-06 Thread Thomas Petazzoni
, and so the dtb move to arch/arm/boot/dts/ is already here since quite a bit of time. At least, it's not something you introduced in 3.9-rc1. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http

[PATCH 05/32] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2013-02-12 Thread Thomas Petazzoni
The pcim_*() functions are used by the libata-sff subsystem, and this subsystem is used for many SATA drivers on ARM platforms that do not necessarily have I/O ports. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Cc: Paul Gortmaker paul.gortma...@windriver.com Cc: Jesse

Re: [PATCH 05/32] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2013-02-12 Thread Thomas Petazzoni
Dear Arnd Bergmann, On Tue, 12 Feb 2013 18:00:48 +, Arnd Bergmann wrote: On Tuesday 12 February 2013, Thomas Petazzoni wrote: The pcim_*() functions are used by the libata-sff subsystem, and this subsystem is used for many SATA drivers on ARM platforms that do not necessarily have I/O

Re: [PATCH 0/4] Various PCI-related device tree helpers

2013-02-13 Thread Thomas Petazzoni
| 80 +++--- include/linux/of_address.h | 9 ++ include/linux/of_pci.h | 3 ++ 4 files changed, 150 insertions(+), 5 deletions(-) For the patches: Tested-by: Thomas Petazzoni thomas.petazz...@free-electrons.com As Thierry said, we are also

Re: [PATCH 06/14] ARM: pci: Keep pci_common_init() around after init

2013-02-06 Thread Thomas Petazzoni
Dear Thierry Reding, On Wed, 9 Jan 2013 21:43:06 +0100, Thierry Reding wrote: When using deferred driver probing, PCI host controller drivers may actually require this function after the init stage. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de Tested-by: Thomas Petazzoni

Re: [PATCH 1/5] net: mvmdio: unmap base register address at driver removal

2013-01-29 Thread Thomas Petazzoni
devm_request_and_ioremap() instead, in order to get automatic unmap on error and in the -remove() path? But maybe it won't work because this memory range is claimed both by the MDIO driver and the Ethernet driver itself. In that case, you could use devm_ioremap(). Best regards, Thomas -- Thomas Petazzoni

Re: [PATCH 2/5] net: mvmdio: rename base register cookie from smireg to regs

2013-01-29 Thread Thomas Petazzoni
. No functionnal code change introduced. Signed-off-by: Florian Fainelli flor...@openwrt.org Acked-by: Thomas Petazzoni thomas.petazz...@free-electrons.com -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free

Re: [PATCH 3/5] net: mvmdio: enhance driver to support SMI error/done interrupts

2013-01-29 Thread Thomas Petazzoni
); + free_irq(dev-err_interrupt, dev); free_irq() not needed since the IRQ handler is registered with devm_request_irq(). mdiobus_unregister(bus); kfree(bus-irq); mdiobus_free(bus); Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux

Re: [PATCH 4/5] net: mvmdio: allow Device Tree and platform device to coexist

2013-01-29 Thread Thomas Petazzoni
; + } + + dev-err_interrupt = platform_get_irq(pdev, 0); + } I think you can do a devm_ioremap() and a platform_get_irq() in both cases here, and therefore keep the code common between the DT case and the !DT case. Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time

Re: [PATCH 5/5] mv643xx_eth: convert to use the Marvell Orion MDIO driver

2013-01-29 Thread Thomas Petazzoni
of this MV643XX_ETH_SHARED_NAME driver, no? Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 5/5] mv643xx_eth: convert to use the Marvell Orion MDIO driver

2013-01-29 Thread Thomas Petazzoni
be good to have followed patches that progressively get rid of the shared driver thing, as it will help in bringing a proper DT binding in the mv643xx_eth driver. But it certainly doesn't need to be part of this specific patch. Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real

[PATCH v2 06/27] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2013-01-28 Thread Thomas Petazzoni
The pcim_*() functions are used by the libata-sff subsystem, and this subsystem is used for many SATA drivers on ARM platforms that do not necessarily have I/O ports. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Cc: Paul Gortmaker paul.gortma...@windriver.com Cc: Jesse

Re: [PATCH 10/14] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-02-13 Thread Thomas Petazzoni
patches, that have already gone through multiple iterations, could be merged. Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-14 Thread Thomas Petazzoni
suited to do this if you want to and have the time. And I'll be more than happy to test your patches in the context of the Marvell PCIe driver. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support

Re: [BUG arm-soc] mvneta: tx queue done sometimes causes kernel panic

2013-02-15 Thread Thomas Petazzoni
], but while it was fixing the problem, it wasn't considered the right approach. Being busy with other Marvell Armada 370/XP developments, I haven't yet had the time to investigate the issue again. [1] https://patchwork.kernel.org/patch/1941601/ Best regards, Thomas -- Thomas Petazzoni, Free Electrons

Re: [PATCH 14/16] ARM: orion: move platform_data definitions

2012-09-11 Thread Thomas Petazzoni
-August/116432.html. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH v3 1/9] pinctrl: mvebu: pinctrl driver core

2012-09-11 Thread Thomas Petazzoni
the functions word mean now in this v3, as compared to v1/v2 of this patch set. Could you enlighten me on this? Thanks! Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from

Re: [PATCH 00/11] pinctrl: mvebu: pinctrl driver

2012-09-20 Thread Thomas Petazzoni
-- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 00/11] pinctrl: mvebu: pinctrl driver

2012-09-20 Thread Thomas Petazzoni
I have sent? I really would like to see that in 3.7 if possible. Thanks! Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line

Re: [PATCH v4 03/10] pinctrl: mvebu: kirkwood pinctrl driver

2012-09-20 Thread Thomas Petazzoni
like we had machine IDs? A simple string? Or maybe there is just no good way, and the whole idea is moot. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe

Re: [PATCH v3 1/9] pinctrl: mvebu: pinctrl driver core

2012-09-12 Thread Thomas Petazzoni
having independently muxable pins. I really don't understand how a global list of functions make sense: the functions make sense on a per-group basis, and this is how the hardwaredatasheet defines them. If we could keep this representation, it would really be useful. Thanks! Thomas -- Thomas

Re: [PATCH v3 6/9] ARM: mvebu: add pinctrl device in DT for Armada 370/XP SoCs

2012-09-12 Thread Thomas Petazzoni
Le Tue, 11 Sep 2012 16:23:19 -0600, Stephen Warren swar...@wwwdotorg.org a écrit : On 09/10/2012 02:39 AM, Sebastian Hesselbarth wrote: From: Thomas Petazzoni thomas.petazz...@free-electrons.com The Armada 370 and XP SoCs have configurable muxing for a certain number of their pins

Re: [PATCH v3 1/9] pinctrl: mvebu: pinctrl driver core

2012-09-12 Thread Thomas Petazzoni
is a list of pins, and for each pin, a list of possible functions that this pin can take. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list

Re: [PATCH v4 00/10] pinctrl: mvebu: pinctrl driver

2012-09-13 Thread Thomas Petazzoni
of this v4 of the patch set on Armada 370 and Armada XP, so for the whole series: Acked-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Tested-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Thanks! Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded

[PATCH] pinctrl: use kasprintf() in pinmux_request_gpio()

2012-09-13 Thread Thomas Petazzoni
Instead of using a temporary buffer, snprintf() and kstrdup(), just use kasprintf() that does the same thing in just oneline. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- drivers/pinctrl/pinmux.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

Re: [PATCH 01/11] pinctrl: mvebu: pinctrl driver core

2012-08-20 Thread Thomas Petazzoni
methods with the pinctrl_mutex held. When I wrote an initial pinctrl driver for 370/XP I had the same question as Andrew and my conclusion was that the locking done by the pinctrl subsystem core was sufficient. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time

Re: [PATCH 04/11] pinctrl: mvebu: add pinctrl driver for Armada 370

2012-08-20 Thread Thomas Petazzoni
MACH_ARMADA_370_XP symbol for now, so that your pinctrl set of patches does not depend on something else. We would do the small Kconfig option refactoring as a follow-up set of patches. Thoughts? Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux

Re: [PATCH 11/11] arm: mvebu: add pinctrl support in defconfig

2012-08-20 Thread Thomas Petazzoni
-- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 02/11] pinctrl: mvebu: dove pinctrl driver

2012-08-20 Thread Thomas Petazzoni
things that are still useful (address decoding code) while all other platforms select PLAT_ORION_LEGACY to get the old pinmux code, old gpio code, etc. All this is very much a work in progress. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux

Re: [PATCH 04/11] pinctrl: mvebu: add pinctrl driver for Armada 370

2012-08-20 Thread Thomas Petazzoni
the small Kconfig option refactoring as a follow-up set of patches. Thoughts? Despite any objections, I will remove all arch/arm/*/Kconfig patches from pinctrl patch set. Ok, fine with me, but we'll have to send separate patches for those, then. Thanks! Thomas -- Thomas Petazzoni, Free Electrons

Re: 2.6.25-rc2-mm1 (x64 thermal build failure)

2008-02-18 Thread Thomas Petazzoni
/wistron_btns.c for example) and I don't exactly see how to create a similar DECLARE_DMI_FIXUP_CALLBACK_DATA macro. Thanks for your insights, Thomas -- Thomas Petazzoni, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than 1500 pages!) signature.asc

Re: + inflate-refactor-inflate-malloc-code.patch added to -mm tree

2008-02-18 Thread Thomas Petazzoni
arch_decomp_wdog(). Work initially done by Matt Mackall [EMAIL PROTECTED], updated to a recent version of the kernel by me. Signed-off-by: Thomas Petazzoni [EMAIL PROTECTED] --- arch/alpha/boot/misc.c| 39 +-- arch/arm/boot/compressed/misc.c | 59

Re: Question about synchronous write on SSD

2008-02-19 Thread Thomas Petazzoni
completion. BIO_RW_SYNC only asks the I/O layer to unplug immediatly. But generic_make_request() still returns before the completion of the I/O, and the completion is notified asynchronously. See: http://lxr.free-electrons.com/source/include/linux/bio.h#139 Sincerly, Thomas -- Thomas Petazzoni

Re: 2.6.25-rc2-mm1 (x64 thermal build failure)

2008-02-19 Thread Thomas Petazzoni
PROTECTED]. Signed-off-by: Thomas Petazzoni [EMAIL PROTECTED] --- arch/x86/Kconfig | 13 ++--- arch/x86/kernel/acpi/boot.c|4 ++-- arch/x86/kernel/acpi/sleep_32.c|2 ++ arch/x86/kernel/apm_32.c |2 ++ arch/x86

arch/x86/kernel/acpi/sleep_32.c not compiled ?

2008-02-19 Thread Thomas Petazzoni
)+= sleep.o wakeup_$(BITS).o ifneq ($(CONFIG_ACPI_PROCESSOR),) obj-y += cstate.o processor.o endif Sincerly, Thomas -- Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org Jabber, [EMAIL PROTECTED] Toulibre, http://www.toulibre.org - APRIL, http://www.april.org

Re: 2.6.25-rc2-mm1 (x64 thermal build failure)

2008-02-19 Thread Thomas Petazzoni
the patch, Thomas -- Thomas Petazzoni, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than 1500 pages!) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: 2.6.25-rc2-mm1 (x64 thermal build failure)

2008-02-19 Thread Thomas Petazzoni
, there's still the issue of driver_data that I mentionned in my earlier post. What should I do ? Option 1 ? Option 2 ? Give up with the patch ? Thanks for your comments, Thomas -- Thomas Petazzoni, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than

Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)

2008-02-25 Thread Thomas Petazzoni
allows to specify any section name, but AFAIK, the sections must be explicitly listed in the kernel LD script in order to be included in the final kernel image. Am I missing something ? Sincerly, Thomas -- Thomas Petazzoni, Free Electrons Free Embedded Linux Training Materials on http://free

Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)

2008-02-25 Thread Thomas Petazzoni
callback mechanism) and then, in the linker script, do: *(gcm.*) I'm going to try that. Sincerly, Thomas -- Thomas Petazzoni, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than 1500 pages!) signature.asc Description: PGP signature

[RFC v1 RESEND 01/16] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2012-12-07 Thread Thomas Petazzoni
The pcim_*() functions are used by the libata-sff subsystem, and this subsystem is used for many SATA drivers on ARM platforms that do not necessarily have I/O ports. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Cc: Paul Gortmaker paul.gortma...@windriver.com Cc: Jesse

[RFC v1 01/16] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2012-12-07 Thread Thomas Petazzoni
The pcim_*() functions are used by the libata-sff subsystem, and this subsystem is used for many SATA drivers on ARM platforms that do not necessarily have I/O ports. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Cc: Paul Gortmaker paul.gortma...@windriver.com Cc: Jesse

Re: [PATCH 3/4 v2] gpio/mvebu: convert to use irq_domain_add_simple()

2012-12-11 Thread Thomas Petazzoni
-- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [RFC v1 01/16] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2012-12-11 Thread Thomas Petazzoni
Dear Arnd Bergmann, On Tue, 11 Dec 2012 10:43:49 +, Arnd Bergmann wrote: On Friday 07 December 2012, Thomas Petazzoni wrote: The pcim_*() functions are used by the libata-sff subsystem, and this subsystem is used for many SATA drivers on ARM platforms that do not necessarily have I/O

Re: [RFC v1 01/16] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2012-12-11 Thread Thomas Petazzoni
all ARM platforms should select HAVE_IOPORT, except the few ones that don't define __io. Correct? Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from

  1   2   3   4   5   6   7   8   9   10   >