Re: vga and 64-bit memcpy's

2014-09-12 Thread Alan Cox
On Fri, 12 Sep 2014 13:57:20 +1000 Dave Airlie wrote: > Got an bug report from someone using a silicon motion video card in > VGA mode about corruption that they tracked down to 64-bit memory > operations not being supported by the video card, it appears that we > probably shouldn't be using >

Re: [RFC 4/4] ARM: shmobile: r8a7790: adapt DTS for I2C slave support

2014-09-12 Thread Wolfram Sang
> > DT pseudocode: > > > > i2c { > > compatible = "nvidia, tegra-i2c"; > > > > ec-slave@42 { > > compatible = "nvidia, ax100-ec-slave"; > > reg = <0x42>; > > }; > > }; > > So

Re: [PATCH RFC 4/4] xen, blkback: add support for multiple block rings

2014-09-12 Thread David Vrabel
On 12/09/14 00:45, Arianna Avanzini wrote: > On Fri, Aug 22, 2014 at 02:15:58PM +0100, David Vrabel wrote: >> What >> behaviour do we want when a domain is migrated to a host with different >> storage? >> > > This first patchset does not include support to migrate a multi-queue-capable > domU to

[PATCH] clk: rockchip: rk3288: Document HDMI clock names

2014-09-12 Thread Mark yao
This patch adds clock names for rk3288 HDMI. Signed-off-by: Mark yao --- drivers/clk/rockchip/clk-rk3288.c | 6 +++--- include/dt-bindings/clock/rk3288-cru.h | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3288.c

[PATCH] clk: rockchip: rk3288: Document eDP clock names

2014-09-12 Thread Mark yao
This patch adds clock names for rk3288 eDP. Signed-off-by: Mark yao --- drivers/clk/rockchip/clk-rk3288.c | 6 +++--- include/dt-bindings/clock/rk3288-cru.h | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3288.c

Re: [PATCH v2] clocksource: arch_timer: Allow the device tree to specify the physical timer

2014-09-12 Thread Marc Zyngier
On 12/09/14 01:01, Doug Anderson wrote: > Stephen, > > On Thu, Sep 11, 2014 at 4:56 PM, Stephen Boyd wrote: >> On 09/11/14 10:43, Marc Zyngier wrote: > If I was suicidal, I'd suggest you could pass a parameter to the command > line, interpreted by the timer code... But I since I'm not,

Re: [PATCH] PM / OPP: Remove ARCH_HAS_OPP completely

2014-09-12 Thread Nishanth Menon
> So commit 78c5e0bb145d ("PM / OPP: Remove ARCH_HAS_OPP") removed it. For > some reason that commit did not remove all select statements for that > symbol. These statements are useless. Remove them too. > > Signed-off-by: Paul Bolle > --- > Done on top of next-20140

[PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-12 Thread Wang, Yalin
this patch fix the memblock statics for memblock in file /sys/kernel/debug/memblock/reserved if we don't call memblock_free the initrd will still be marked as reserved, even they are freed. Signed-off-by: Yalin Wang --- arch/arm64/mm/init.c | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [PATCH 1/2] mfd: rtsx: fix PM suspend for 5227

2014-09-12 Thread micky
On 09/12/2014 04:36 PM, Dan Carpenter wrote: You've updated them all to be "if (err < 0)" how is that different from "if (err)"? What I'm saying is that could you reply to the question? I guess I normally prefer "if (err)" over "if (err < 0)" but I don't know if it makes a difference here? Hi

Re: [PATCH 1/2] ASoC: rockchip-max98090: add documentation for rockchip-max98090 driver

2014-09-12 Thread Jianqun
在 09/12/2014 06:04 PM, Heiko Stübner 写道: > Hi Jianqun, > > Am Freitag, 12. September 2014, 17:10:55 schrieb Jianqun: >> Add documentation for rockchip-max98090 driver, which is need by rockchip >> board using a max98090. >> >> Signed-off-by: Jianqun Xu >> --- >> changes since v1: > > please

[PATCH 00/18][SCSI] mpt2sas,mpt3sas: mpt2sas's phase17, phase18 and mpt3sas's phase2, phase3 patch set series

2014-09-12 Thread Sreekanth Reddy
This patch set series contains latest reviewed mpt2sas driver's Phase17 and Phase18 patches and also mpt3sas driver's Phase2 and Phase3 patches. Thanks Martin for reviewing all these patches. Incremented the version to v2 for all these patches to indicate that these are the latest patches and

Re: [PATCH v10 09/10] PCI: Assign unassigned bus resources in pci_scan_root_bus()

2014-09-12 Thread Suravee Suthikulpanit
On 9/8/2014 8:54 AM, Liviu Dudau wrote: If the firmware has not assigned all the bus resources and we are not just probing the PCIe busses, it makes sense to assign the unassigned resources in pci_scan_root_bus(). Cc: Bjorn Helgaas Cc: Arnd Bergmann Cc: Jason Gunthorpe Cc: Rob Herring

[PATCH v2 08/18][SCSI] mpt2sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2014-09-12 Thread Sreekanth Reddy
Driver initialization fails if driver tries to send IOC facts request message when the IOC is in reset or in a fault state. This patch will make sure that 1.Driver to send IOC facts request message only if HBA is in operational or ready state. 2.If IOC is in fault state, a diagnostic reset

[PATCH] arm:free_initrd_mem should also free the memblock

2014-09-12 Thread Wang, Yalin
this patch fix the memblock statics for memblock in file /sys/kernel/debug/memblock/reserved if we don't call memblock_free the initrd will still be marked as reserved, even they are freed. Signed-off-by: Yalin Wang --- arch/arm/mm/init.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 07/18][SCSI] mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-09-12 Thread Sreekanth Reddy
Up to now, Driver allocates a single contiguous block of memory pool for all reply queues and passes down a single address in the ReplyDescriptorPostQueueAddress field of the IOC Init Request Message to the firmware. When firmware receives this address, it will program each of the Reply

[PATCH v2 01/18][SCSI] mpt2sas: Added driver module parameter max_msix_vectors

2014-09-12 Thread Sreekanth Reddy
Added driver module parameter max_msix_vectors. Using this module parameter the maximum number of MSI-X vectors could be set. The number of MSI-X vectors used would be the minimum of MSI-X vectors supported by the HBA, the number of CPU cores and the value set to max_msix_vectors module

Re: [RFC 4/4] ARM: shmobile: r8a7790: adapt DTS for I2C slave support

2014-09-12 Thread Geert Uytterhoeven
Hi Wolfram, On Fri, Sep 12, 2014 at 11:58 AM, Wolfram Sang wrote: > 2) Slave mode is needed for board bringup > > Some other components need a specific I2C slave to be present before > userspace is available, otherwise the system is unusable. This is IMO > then a hardware description and

[PATCH v2 09/18][SCSI] mpt2sas: Bump mpt2sas driver version to 18.100.00.00

2014-09-12 Thread Sreekanth Reddy
Bump mpt2sas driver version to 18.100.00.00. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h

[PATCH v2 13/18][SCSI] mpt3sas: MPI2.5 Rev H (2.5.3) specifications

2014-09-12 Thread Sreekanth Reddy
Below is the change set in MPI2.5 Rev H specification and 2.00.32 header files 1) Added reserved fields to IO Unit Page 7 for future use. 2) Added optional functionality to IOCInit Request so that the host may specify a separate base address for each Reply Descriptor Post Queue. IOC support

[PATCH v2 15/18][SCSI] mpt3sas: Added OEM branding Strings

2014-09-12 Thread Sreekanth Reddy
Added following branding Strings for Intel custom HBAs support. Driver String: Vendor ID Device ID SubSystemVendor ID SubSystemDevice ID Intel(R) Integrated RAID Module RMS3JC080 0x1000 0x0097 0x8086

[PATCH v2 18/18][SCSI] mpt3sas, mpt2sas: fix scsi_add_host error handling problems in _scsih_probe

2014-09-12 Thread Sreekanth Reddy
In _scsih_probe, propagate the return value from scsi_add_host. In mpt3sas, avoid calling list_del twice if that returns an error, which causes list_del corruption warnings if an error is returned. Tested with blk-mq and scsi-mq patches to properly cleanup from and propagate blk_mq_init_rq_map

[PATCH v2 11/18][SCSI] mpt3sas: Clear PFA Status on SGPIO when PFA Drive is Removed or Replaced

2014-09-12 Thread Sreekanth Reddy
Added code to send an SEP message that turns off the Predictive Failure LED when a drive is removed (if Predictive Failure LED was turned on). Added a new flag 'pfa_led_on' per device that tracks the status of Predictive Failure LED. When the drive is removed, this flag is checked and sends an

[PATCH v2 17/18][SCSI] mpt3sas: Bump mpt3sas driver version to 04.100.00.00

2014-09-12 Thread Sreekanth Reddy
Bump mpt3sas driver version to 04.100.00.00. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h

[PATCH v2 12/18][SCSI] mpt3sas: Bump mpt3sas driver version to 03.100.00.00

2014-09-12 Thread Sreekanth Reddy
Bump mpt3sas driver version to 03.100.00.00. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h

[PATCH v2 10/18][SCSI] mpt3sas: MPI2.5 Rev G (2.5.2) specifications

2014-09-12 Thread Sreekanth Reddy
Below is the change set in MPI2.5 Rev G specification and 2.00.31 header files 1) Added SCSIStatusQualifier to SCSI IO Error Reply message. 2) Added ATA Security Freeze Lock to IO Unit Page 1 Flags field. 3) Added Allow Protection Information bit for IR Volume Create. Signed-off-by: Sreekanth

[PATCH v2 05/18][SCSI] mpt2sas: Bump mpt2sas driver version to 17.100.00.00

2014-09-12 Thread Sreekanth Reddy
Bump mpt2sas driver version to 17.100.00.00 Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h

[PATCH v2 14/18][SCSI] mpt3sas: Copyright in driver sources is updated for year the 2014.

2014-09-12 Thread Sreekanth Reddy
Copyright in driver sources is updated for year the 2014. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/Kconfig| 2 +- drivers/scsi/mpt3sas/mpi/mpi2.h | 2 +- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h| 2 +-

[PATCH v2 04/18][SCSI] mpt2sas: Clear PFA Status on SGPIO when PFA Drive is Removed or Replaced

2014-09-12 Thread Sreekanth Reddy
Added code to send a SEP message that turns off the Predictive Failure LED when a drive is removed (if Predictive Failure LED was turned on). Added a new flag 'pfa_led_on' per device that tracks the status of Predictive Failure LED. When the drive is removed, this flag is checked and sends the

[PATCH v2 03/18][SCSI] mpt2sas: Copyright in driver sources is updated for year the 2014

2014-09-12 Thread Sreekanth Reddy
Copyright in driver sources is updated for year the 2014. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt2sas/Kconfig | 2 +- drivers/scsi/mpt2sas/mpt2sas_base.c | 2 +- drivers/scsi/mpt2sas/mpt2sas_base.h | 2 +-

[PATCH v2 16/18][SCSI] mpt3sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-09-12 Thread Sreekanth Reddy
Up to now, Driver allocates a single contiguous block of memory pool for all reply queues and passes down a single address in the ReplyDescriptorPostQueueAddress field of the IOC Init Request Message to the firmware. When firmware receives this address, it will program each of the Reply

[PATCH v2 06/18][SCSI] mpt2sas: Avoid type casting for direct I/O commands

2014-09-12 Thread Sreekanth Reddy
A type casting error caused the max volume LBA to be truncated from 64 to 32 bits. The virtual LBA would also get truncated to 32 bits in the case of a 16-byte READ/WRITE command. Rewrite entire function to get rid of code duplication and type casts. Use get/put_unaligned wrappers to extract and

[PATCH v2 02/18][SCSI] mpt2sas: MPI2 Rev Y (2.00.17) and Rev Z (2.00.18) specifications

2014-09-12 Thread Sreekanth Reddy
Below is the change set in MPI2 Rev Y specification and in 2.00.17 header files 1) Added SCSIStatusQualifier to SCSI IO Error Reply message. 2) Added ATA Security Freeze Lock to IO Unit Page 1 Flags field. Below is the change set in MPI2 Rev Z specification and in 2.00.19 header files 1) Added

Re: [PATCH 1/2] ASoC: rockchip-max98090: add documentation for rockchip-max98090 driver

2014-09-12 Thread Heiko Stübner
Hi Jianqun, Am Freitag, 12. September 2014, 17:10:55 schrieb Jianqun: > Add documentation for rockchip-max98090 driver, which is need by rockchip > board using a max98090. > > Signed-off-by: Jianqun Xu > --- > changes since v1: please make sure to also include the version in the patch subject,

Re: [PATCH v10 00/10] Support for creating generic PCI host bridges from DT

2014-09-12 Thread Suravee Suthikulpanit
On 9/12/2014 4:30 AM, Liviu Dudau wrote: On Fri, Sep 12, 2014 at 09:25:13AM +0100, Suravee Suthikulpanit wrote: On 9/8/2014 8:54 AM, Liviu Dudau wrote: This is my version 10 of the attempt at adding support for generic PCI host bridge controllers that make use of device tree information to

Re: [RFC 4/4] ARM: shmobile: r8a7790: adapt DTS for I2C slave support

2014-09-12 Thread Wolfram Sang
> ok, take our embedded controller driver (in staging/nvec) as an example. It's > basicly an MFD connecting keyboard, mouse, power, gpio, and some other stuff > to the soc. The MFD operates in master mode while the SOC is the I2C slave. > Theoretically, these roles could also switch (but

[PATCH] TPM: Add new TPMs to the tail of the list to prevent inadvertent change of dev

2014-09-12 Thread David Howells
Add newly registered TPMs to the tail of the list, not the beginning, so that things that are specifying TPM_ANY_NUM don't find that the device they're using has inadvertently changed. Adding a second device would break IMA, for instance. Signed-off-by: David Howells Reviewed-by: Jason

Re: [PATCHv4] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
Hi, Alexandre On 9/12/2014 5:40 PM, Alexandre Belloni wrote: From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Alexandre Belloni --- Thanks for the patch. Acked-by: Josh Wu Best Regards, Josh Wu Changes in v4: - fix typo in the documentation

Re: [PATCH] clk: rockchip: rk3288: fix softreset register count

2014-09-12 Thread Heiko Stübner
Hi Mark, Am Freitag, 12. September 2014, 17:24:46 schrieb Mark yao: > The rk3288 actually has 12 softresets, so fix the register count. interesting ... I can see the additional registers in the updated TRM, while the old one didn't have them. Reviewed-by: Heiko Stuebner > > Signed-off-by:

[PATCH v2 2/3] power: reset: imx-snvs-poweroff: add power off driver for i.mx6

2014-09-12 Thread Robin Gong
Add simple power off driver for i.mx6. Signed-off-by: Robin Gong --- drivers/power/reset/Kconfig | 6 +++ drivers/power/reset/Makefile| 1 + drivers/power/reset/imx-snvs-poweroff.c | 69 + 3 files changed, 76 insertions(+) create mode

[PATCH v2 0/3] add power off driver for i.mx6

2014-09-12 Thread Robin Gong
Add simple power off driver for i.mx6, including: - add basic imx-snvs-poweroff driver in drivers/power/reset - add device node in all dts files of i.mx6. - enable in config file Robin Gong (3): ARM: dts: imx6: add pm_power_off support for i.mx6 chips power: reset: imx-snvs-poweroff: add

Re: [PATCH v3 3/3] sched: BUG when stack end location is over written

2014-09-12 Thread Aaron Tomlin
On Fri, Sep 12, 2014 at 04:04:51PM +1000, Michael Ellerman wrote: > On Thu, 2014-09-11 at 16:41 +0100, Aaron Tomlin wrote: > > Currently in the event of a stack overrun a call to schedule() > > does not check for this type of corruption. This corruption is > > often silent and can go unnoticed.

[PATCH v2 1/3] ARM: dts: imx6: add pm_power_off support for i.mx6 chips

2014-09-12 Thread Robin Gong
All chips of i.mx6 can be powered off by programming SNVS. For example : On i.mx6q-sabresd board, PMIC_ON_REQ connect with external pmic ON/OFF pin, that will cause the whole PMIC powered off except VSNVS. And system can restart once PMIC_ON_REQ goes high by push POWRER key. Signed-off-by: Robin

[PATCH v2 3/3] ARM: configs: imx_v6_v7_defconfig: add power off driver

2014-09-12 Thread Robin Gong
Add power off driver in config file. Signed-off-by: Robin Gong --- arch/arm/configs/imx_v6_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 16cfec4..a310e61 100644 ---

Re: [PATCH 09/16] tty: serial: 8250_dma: Add a TX trigger workaround for AM33xx

2014-09-12 Thread Sebastian Andrzej Siewior
On 09/12/2014 11:40 AM, Frans Klaver wrote: > I'm not sure. I just reproduced this on a boneblack, using your uart_v9 > branch. > >> This problem only pops-up if you use DMA. With disabled DMA you don't >> see this, right? > > I get the lockup both with and without DMA enabled. Here's the 8250

Re: SPI and module auto-loading

2014-09-12 Thread Javier Martinez Canillas
On 09/11/2014 09:33 PM, Mark Brown wrote: > On Thu, Sep 11, 2014 at 03:03:50PM +0200, Javier Martinez Canillas wrote: > >> This can be easily worked around (and probably why it never was an issue) if >> the OF and SPI tables are kept in sync but I don't know if that is a hard >> requirement for

Re: [PATCH v3 3/3] sched: BUG when stack end location is over written

2014-09-12 Thread Aaron Tomlin
On Fri, Sep 12, 2014 at 02:06:57PM +1000, Michael Ellerman wrote: > On Thu, 2014-09-11 at 16:41 +0100, Aaron Tomlin wrote: > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > > index a285900..2a8280a 100644 > > --- a/lib/Kconfig.debug > > +++ b/lib/Kconfig.debug > > @@ -824,6 +824,18 @@

[PATCH] rtc: pm8xxx: rework to support pm8941 rtc

2014-09-12 Thread Stanimir Varbanov
Adds support for RTC device inside PM8941 PMIC. The RTC in this PMIC have two register spaces. Thus the rtc-pm8xxx is slightly reworked to reflect these differences. The register set for different PMIC chips are selected on DT compatible string base. Signed-off-by: Stanimir Varbanov ---

Re: [PATCH/RFC 1/2] lib: string: Remove duplicated function

2014-09-12 Thread Joe Perches
On Fri, 2014-09-12 at 11:01 +0200, Rasmus Villemoes wrote: > Would it make sense to add a checkpatch warning to ensure new users > are not introduced, and then remove it when the wrapper is also removed? Generally the rate of introduction is pretty low. Generally, just making sure it's not used

Re: [PATCH v3 11/17] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2014-09-12 Thread Hanjun Guo
On 2014年09月11日 19:08, Grant Likely wrote: > On Mon, 1 Sep 2014 22:57:49 +0800, Hanjun Guo wrote: >> Introduce ACPI_IRQ_MODEL_GIC which is needed for ARM64 as GIC is >> used, and then register device's gsi with the core IRQ subsystem. >> >> acpi_register_gsi() is similar to DT based

Re: AW: AW: AW: [PATCH] x86: HPET force enable for Soekris net6501

2014-09-12 Thread Eric Sesterhenn
hi, On 09/09/2014 05:26 PM, H. Peter Anvin wrote: > On 09/09/2014 07:54 AM, Thomas Gleixner wrote: >> >> @hpa: You asked whether this might affect any other e6xx devices. >> >> According to the atom e6xx-series datasheet the HPET is non optional >> and always memory mapped to 0xfed0. I don't

Re: [PATCH 09/16] tty: serial: 8250_dma: Add a TX trigger workaround for AM33xx

2014-09-12 Thread Frans Klaver
On Fri, Sep 12, 2014 at 09:23:24AM +0200, Sebastian Andrzej Siewior wrote: > On 09/11/2014 07:04 PM, Frans Klaver wrote: > > On 11 September 2014 18:04:32 CEST, Sebastian Andrzej Siewior > > wrote: > >> On 09/11/2014 05:11 PM, Frans Klaver wrote: > >> > >>> I can still reproduce it on am335x. I

[PATCHv4] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Alexandre Belloni
From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Alexandre Belloni --- Changes in v4: - fix typo in the documentation .../devicetree/bindings/mtd/atmel-nand.txt | 2 ++ drivers/mtd/nand/atmel_nand.c | 25 ++ 2 files

Re: [Xen-devel] [PATCH] xen/hvc: Fix warning compilation when CONFIG_HVC_XEN_FRONTEND is not enabled

2014-09-12 Thread David Vrabel
On 12/09/14 00:50, Julien Grall wrote: > The below warning appears when the hvc xen driver is compiled without > CONFIG_HVC_XEN_FRONTEND not enabled: > > drivers/tty/hvc/hvc_xen.c:333:12: warning: ‘xen_console_remove’ defined but > not > used [-Wunused-function] > static int

Re: [PATCH v4 9/9] usb: chipidea: add support to the generic PHY framework in ChipIdea

2014-09-12 Thread Antoine Tenart
On Fri, Sep 12, 2014 at 05:27:13PM +0800, Peter Chen wrote: > On Fri, Sep 12, 2014 at 10:21:25AM +0200, Antoine Tenart wrote: > > Peter, > > > > On Fri, Sep 12, 2014 at 01:10:33AM +, Peter Chen wrote: > > > > On Thu, Sep 11, 2014 at 08:54:47AM +0800, Peter Chen wrote: > > > > > On Wed, Sep

Re: [PATCH] fbdev: fsl-sii902x: HDMI support for Freescale SoCs

2014-09-12 Thread Tomi Valkeinen
Hi, On 05/09/14 07:48, Xiubo Li wrote: > Some Freescale SoCs, there has an DVI/HDMI controller and a PHY, > attached to one of their display controller unit's LCDC interfaces. > This patch adds a preliminary static support for such controllers. > > This will support for many modes and a dynamic

[PATCH] clk: rockchip: rk3288: fix softreset register count

2014-09-12 Thread Mark yao
The rk3288 actually has 12 softresets, so fix the register count. Signed-off-by: Mark yao --- drivers/clk/rockchip/clk-rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c index 0d8c6c5..2e1d790

Re: [PATCH v10 00/10] Support for creating generic PCI host bridges from DT

2014-09-12 Thread Liviu Dudau
On Fri, Sep 12, 2014 at 09:25:13AM +0100, Suravee Suthikulpanit wrote: > On 9/8/2014 8:54 AM, Liviu Dudau wrote: > > This is my version 10 of the attempt at adding support for generic PCI host > > bridge controllers that make use of device tree information to > > configure themselves. This version

[PATCH 5/6] trace: Merge consecutive seq_puts calls

2014-09-12 Thread Rasmus Villemoes
Consecutive seq_puts calls with literal strings can be merged to a single call. This reduces the size of the generated code, and can also lead to slight .rodata reduction (because of fewer nul and padding bytes). It should also shave a off a few clock cycles. Signed-off-by: Rasmus Villemoes ---

[PATCH 4/6] trace: Replace seq_printf by simpler equivalents

2014-09-12 Thread Rasmus Villemoes
Using seq_printf to print a simple string or a single character is a lot more expensive than it needs to be, since seq_puts and seq_putc exist. These patches do seq_printf(m, s) -> seq_puts(m, s) seq_printf(m, "%s", s) -> seq_puts(m, s) seq_printf(m, "%c", c) -> seq_putc(m, c) Subsequent

Re: [PATCH v4 9/9] usb: chipidea: add support to the generic PHY framework in ChipIdea

2014-09-12 Thread Peter Chen
On Fri, Sep 12, 2014 at 10:21:25AM +0200, Antoine Tenart wrote: > Peter, > > On Fri, Sep 12, 2014 at 01:10:33AM +, Peter Chen wrote: > > > On Thu, Sep 11, 2014 at 08:54:47AM +0800, Peter Chen wrote: > > > > On Wed, Sep 03, 2014 at 09:40:40AM +0200, Antoine Tenart wrote: > > > > > @@ -595,23

Re: [PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-12 Thread Andrzej Hajda
On 09/12/2014 10:57 AM, Daniel Vetter wrote: > On Fri, Sep 12, 2014 at 05:34:50PM +0900, Inki Dae wrote: >> Hi Andrzej, >> >> On 2014년 09월 09일 22:16, Andrzej Hajda wrote: >>> Adding reference to framebuffer should be accompanied with removing >>> reference to old framebuffer assigned to the plane.

[PATCH 6/6] trace: Replace single-character seq_puts with seq_putc

2014-09-12 Thread Rasmus Villemoes
Printing a single character to a seqfile might as well be done with seq_putc instead of seq_puts; this avoids a strlen() call and a memory access. It also shaves another few bytes off the generated code. Signed-off-by: Rasmus Villemoes --- kernel/trace/ftrace.c| 2 +-

[PATCH 1/6] Coccinelle: Semantic patch for replacing puts with putc

2014-09-12 Thread Rasmus Villemoes
Using seq_puts to write a one-character string is suboptimal, since puts has to call strlen(). Replace those instances with putc. This also tends to give a tiny code size reduction at the call site. seq_put[sc] return -1 on error, 0 on success. trace_seq_put[sc] return how much was written, which

[PATCH 2/6] Coccinelle: Semantic patch for joining seq_puts calls

2014-09-12 Thread Rasmus Villemoes
Consecutive calls of seq_puts with literal strings, where the return value is not checked, might as well be replaced by a single call with the combined string. This gives smaller generated code (less function calls), a slight .rodata reduction, since nul and padding bytes are eliminated, and hits

[PATCH 3/6] Coccinelle: Semantic patch for replacing seq_printf calls with equivalent but simpler functions

2014-09-12 Thread Rasmus Villemoes
Using seq_printf to print a simple string is a lot more expensive than it needs to be, since seq_puts exists [1]. This semantic patch purposely also matches non-literals, since in that case it is also safer to use puts. We also handle the cases where the format string is exactly "%s" or "%c" and

[PATCH 0/6] Small seqfile-use improvements

2014-09-12 Thread Rasmus Villemoes
Patches 1-3 are semantic patches for replacing certain seq_* calls with simpler equivalents, e.g. seq_printf(m, "literal") -> seq_puts(m, "literal"). 1 and 3 are guaranteed to preserve the semantics of the code. 2 may change it slightly, since if the seq_file overflows midway through a series of

Re: Ask help about pre_init_apic_IRQ0()

2014-09-12 Thread Andy Shevchenko
On Fri, 2014-09-12 at 10:26 +0200, Thomas Gleixner wrote: > Thanks for providing the data! I'll queue a removal of this mess. You are welcome! Just in case: http://www.spinics.net/lists/platform-driver-x86/msg02948.html -- Andy Shevchenko Intel Finland Oy -- To unsubscribe from this list:

Re: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-12 Thread Thomas Gleixner
On Fri, 12 Sep 2014, Thomas Gleixner wrote: > On Thu, 11 Sep 2014, Dave Hansen wrote: > > Well, we use it to figure out whether we _potentially_ need to tear down > > an VM_MPX-flagged area. There's no guarantee that there will be one. > > So what you are saying is, that if user space sets the

RE: [PATCH] clk: samsung: exynos5260: fix typo in clock name

2014-09-12 Thread Pankaj Dubey
Hi Tomasz, > -Original Message- > From: Tomasz Figa [mailto:tomasz.f...@gmail.com] > Sent: Friday, September 12, 2014 4:30 AM > To: Pankaj Dubey; linux-arm-ker...@lists.infradead.org; linux-samsung- > s...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: kgene@samsung.com;

Re: [PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-12 Thread Inki Dae
On 2014년 09월 12일 17:57, Daniel Vetter wrote: > On Fri, Sep 12, 2014 at 05:34:50PM +0900, Inki Dae wrote: >> Hi Andrzej, >> >> On 2014년 09월 09일 22:16, Andrzej Hajda wrote: >>> Adding reference to framebuffer should be accompanied with removing >>> reference to old framebuffer assigned to the plane.

Re: [PATCHv3] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
Hi, Alexandre On 9/12/2014 5:07 PM, Alexandre Belloni wrote: From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Alexandre Belloni --- Changes in v3: - changed the warning message to ask to update the DT - made the clocks property mandatory in the documentation - Stop

Re: [PATCH v8 1/4] pci:host: APM X-Gene PCIe host controller driver

2014-09-12 Thread Liviu Dudau
On Thu, Sep 11, 2014 at 11:57:43PM +0100, Tanmay Inamdar wrote: > This patch adds the AppliedMicro X-Gene SOC PCIe host controller driver. > X-Gene PCIe controller supports maximum up to 8 lanes and GEN3 speed. > X-Gene SOC supports maximum 5 PCIe ports. > > Signed-off-by: Tanmay Inamdar Hi

Re: [Patch Part3 V5 1/8] iommu/vt-d: Introduce helper function dmar_walk_resources()

2014-09-12 Thread Yijing Wang
On 2014/9/12 10:10, Jiang Liu wrote: > Introduce helper function dmar_walk_resources to walk resource entries > in DMAR table and ACPI buffer object returned by ACPI _DSM method > for IOMMU hot-plug. > > Signed-off-by: Jiang Liu Hi Gerry. some comments below. > --- > drivers/iommu/dmar.c

Re: [Patch Part3 V5 2/8] iommu/vt-d: Dynamically allocate and free seq_id for DMAR units

2014-09-12 Thread Yijing Wang
On 2014/9/12 10:10, Jiang Liu wrote: > Introduce functions to support dynamic IOMMU seq_id allocating and > releasing, which will be used to support DMAR hotplug. > > Also rename IOMMU_UNITS_SUPPORTED as DMAR_UNITS_SUPPORTED. Reviewed-by: Yijing Wang > > Signed-off-by: Jiang Liu > --- >

Re: [RFC 0/4] i2c: slave support framework for Linux devices

2014-09-12 Thread Wolfram Sang
> - If I understand correctly you cannot register an i2c slave without > also registering a master, right? I don't think this is troubling in > practice, is it? > For abstraction I would prefer to make these different concepts > though. You need to register an adapter, yes. It does not

[PATCH] staging: comedi: remove comedi_board()

2014-09-12 Thread Ian Abbott
All calls to the inline function `comedi_board()` in "comedidev.h" have been removed, so remove the function. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedidev.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/comedi/comedidev.h

Re: [REPOST PATCH v4 1/2] PM / QoS: Add PM_QOS_MEMORY_BANDWIDTH class

2014-09-12 Thread Tomeu Vizoso
On 3 September 2014 17:49, Tomeu Vizoso wrote: > Also adds a class type PM_QOS_SUM that aggregates the values by summing them. > > It can be used by memory controllers to calculate the optimum clock frequency > based on the bandwidth needs of the different memory clients. > > Signed-off-by: Tomeu

[PATCH 1/2] ASoC: rockchip-max98090: add documentation for rockchip-max98090 driver

2014-09-12 Thread Jianqun
Add documentation for rockchip-max98090 driver, which is need by rockchip board using a max98090. Signed-off-by: Jianqun Xu --- changes since v1: - modify error text from "Tegra" to "rockchip" .../sound/rockchip,rockchip-audio-max98090.txt | 23 ++ 1 file changed, 23

[PATCH v6] ASoC: dapm: add code to configure dai link parameters

2014-09-12 Thread Nikesh Oswal
dai-link params for codec-codec links were fixed. The fixed link between codec and another chip which may be another codec, baseband, bluetooth codec etc may require run time configuaration changes. This change provides an optional alsa control to select one of the params from a list of params.

[GIT PULL] fbdev fixes for 3.17

2014-09-12 Thread Tomi Valkeinen
The following changes since commit 69e273c0b0a3c337a521d083374c918dc52c666f: Linux 3.17-rc3 (2014-08-31 18:23:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git tags/fbdev-fixes-3.17 for you to fetch changes up to

[PATCHv3] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Alexandre Belloni
From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Alexandre Belloni --- Changes in v3: - changed the warning message to ask to update the DT - made the clocks property mandatory in the documentation - Stop claiming the NFC is probed if there is an issue when enabling the

[PATCH 0/3] staging: comedi: adl_pci9118: redo DMA buffer allocation

2014-09-12 Thread Ian Abbott
"adl_pci9118" allocates more pages of DMA buffer than it uses, may allocate half a double-buffer it does not use because it's the "wrong" half that it managed to allocate (unlikely), and relies on virt_to_bus() to treat generic kernel memory from get_free_pages() as coherent DMA memory. Correct

Re: [RFC 4/4] ARM: shmobile: r8a7790: adapt DTS for I2C slave support

2014-09-12 Thread Marc Dietrich
Am Freitag, 12. September 2014, 10:33:48 schrieb Wolfram Sang: > > > Why do you want DT to be involved at all? > > > > Imagine a device which supports both, slave or master mode. The driver > > needs to know in which mode it should operate. This cannot be hard coded, > > because on different

[PATCH 1/3] staging: comedi: adl_pci9118: don't allocate 2nd DMA buffer on failure

2014-09-12 Thread Ian Abbott
`pci9118_alloc_dma()` tries to allocate two DMA buffers but may allocate a single buffer or none at all. If it fails to allocate the first buffer, it still tries to allocate the second buffer, even though it won't be used. Change it to not bother trying to allocate the second buffer if the first

[PATCH 2/3] staging: comedi: adl_pci9118: don't overallocate DMA buffer

2014-09-12 Thread Ian Abbott
The last parameter of `__get_free_pages()` is log2 (the 'order') of the number of pages to be allocated. This driver seems to think it is the linear number of pages, so `pci9118_alloc_dma()` first tries to allocate 16 pages, but only uses 4 of them, setting the buffer size to PAGE_SIZE multiplied

Re: [PATCH v2] arm64: add guard macros of unistd.h to prevent double inclusion

2014-09-12 Thread Yang Yingliang
On 2014/9/11 23:02, Will Deacon wrote: > On Thu, Sep 11, 2014 at 10:21:18AM +0100, Yang Yingliang wrote: >> From: Yang Yingliang >> >> Add guard macros for uapi/asm/unistd.h, asm/unistd.h and >> asm/unistd32.h. > > Hmm, so I applied this and now my machine panics when we hit userspace. I > think

[PATCH 3/3] staging: comedi: adl_pci9118: use dma_alloc_coherent()

2014-09-12 Thread Ian Abbott
Use `dma_alloc_coherent()` to allocate the DMA buffers instead of using `__get_free_pages()` to allocate and `virt_to_bus()` to get the hardware address. The coherent buffers are fairly small - at most 4 pages (although there are two of them). Use of `virt_to_bus()` is discouraged.

Re: [PATCH RFC 2/2] memcg: add threshold for anon rss

2014-09-12 Thread Vladimir Davydov
On Fri, Sep 12, 2014 at 10:23:08AM +0900, Kamezawa Hiroyuki wrote: > (2014/09/12 0:41), Vladimir Davydov wrote: > > Though hard memory limits suit perfectly for sand-boxing, they are not > > that efficient when it comes to partitioning a server's resources among > > multiple containers. The point

Re: [PATCH/RFC 1/2] lib: string: Remove duplicated function

2014-09-12 Thread Rasmus Villemoes
On Fri, Sep 12 2014, Andrew Morton wrote: > On Wed, 27 Aug 2014 09:36:01 +0200 Rasmus Villemoes > wrote: > >> lib/string.c contains two functions, strnicmp and strncasecmp, which >> do roughly the same thing, namely compare two strings >> case-insensitively up to a given bound. They have

Re: ARC: ARC_BOARD_ANGEL4 and ARC_BOARD_ML509

2014-09-12 Thread Paul Bolle
r noticing this. > > I'm planning to use these symbols to set up default builtin DT blobs from > Kconfig > itself (rather than current defconfigs). If that doesn't workout - sure I will > remove the symbols. No news here as of v3.17-rc4 and next-20140912. Are you still planning

Re: [RFC 0/4] i2c: slave support framework for Linux devices

2014-09-12 Thread Uwe Kleine-König
Hello Wolfram, On Tue, Sep 09, 2014 at 04:54:26PM +0200, Wolfram Sang wrote: > Finally, here is my take on the often desired feature that Linux can not only > be an I2C master, but also an I2C slave. Compared to my draft sent out last > week, this RFC has been tested on hardware (Renesas Lager

Re: [PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-12 Thread Daniel Vetter
On Fri, Sep 12, 2014 at 05:34:50PM +0900, Inki Dae wrote: > Hi Andrzej, > > On 2014년 09월 09일 22:16, Andrzej Hajda wrote: > > Adding reference to framebuffer should be accompanied with removing > > reference to old framebuffer assigned to the plane. > > This patch removes following warning: > > >

Re: [PATCH V2] ASoC: fsl_ssi: refine ipg clock usage in this module

2014-09-12 Thread Markus Pargmann
On Fri, Sep 12, 2014 at 03:14:28PM +0800, Shengjiu Wang wrote: > On Fri, Sep 12, 2014 at 08:17:06AM +0200, Markus Pargmann wrote: > > Hi, > > > > On Fri, Sep 12, 2014 at 10:01:12AM +0800, Shengjiu Wang wrote: > > > On Thu, Sep 11, 2014 at 03:57:37PM -0700, Nicolin Chen wrote: > > > > On Thu, Sep

Re: [PATCHv2] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
Hi, Nicolas On 9/12/2014 3:52 PM, Nicolas Ferre wrote: On 11/09/2014 19:52, Alexandre Belloni : From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Alexandre Belloni You may need to add Josh Wu to the list because he is the "de-facto" Maintainer of this driver. Thanks

RE: [PATCH v3 0/3] sched: Always check the integrity of the canary

2014-09-12 Thread David Laight
From: Chuck Ebbert > David Laight wrote: > > > From: Aaron Tomlin > > > Currently in the event of a stack overrun a call to schedule() > > > does not check for this type of corruption. This corruption is > > > often silent and can go unnoticed. However once the corrupted > > > region is

Re: perf top -g -U --sort=symbol --children == lalalalala?

2014-09-12 Thread Mike Galbraith
On Fri, 2014-09-12 at 16:24 +0900, Namhyung Kim wrote: > Hi Arnaldo and Mike, > > On Thu, 11 Sep 2014 10:43:38 -0300, Arnaldo Carvalho de Melo wrote: > > Em Thu, Sep 11, 2014 at 02:43:12PM +0200, Mike Galbraith escreveu: > >> On Thu, 2014-09-11 at 17:09 +0900, Namhyung Kim wrote: > >> > On Tue,

Re: [RFC PATCH 2/5] devfreq: event: Add exynos-ppmu devfreq evnet driver

2014-09-12 Thread Paul Bolle
On Fri, 2014-09-05 at 13:30 +0900, Chanwoo Choi wrote: > This patch add exynos-ppmu devfreq event driver to provider raw data about > the utilization of each IP in Exynos SoC series. > > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > --- > drivers/devfreq/Kconfig | 10 + >

Re: [PATCHv2] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
Hi, Alexandre On 9/12/2014 1:52 AM, Alexandre Belloni wrote: From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Alexandre Belloni --- Changes in v2: - reworked the error path to really make the clock optional - Documented the new optional property

[PATCH] PM / OPP: Remove ARCH_HAS_OPP completely

2014-09-12 Thread Paul Bolle
it. For some reason that commit did not remove all select statements for that symbol. These statements are useless. Remove them too. Signed-off-by: Paul Bolle --- Done on top of next-20140912. Tested with git grep only! arch/arm/mach-omap2/Kconfig| 5 - arch/arm/mach-shmobile/Kconfig |

Re: [PATCH 1/2] mfd: rtsx: fix PM suspend for 5227

2014-09-12 Thread Dan Carpenter
On Thu, Sep 11, 2014 at 10:42:49AM +0300, Dan Carpenter wrote: > On Thu, Sep 11, 2014 at 03:17:52PM +0800, micky_ch...@realsil.com.cn wrote: > > + err = pci_read_config_byte(pcr->pci, addr, ); > > + if (err) > > + return err; > > Some of these check for "if (err) " and some check

<    2   3   4   5   6   7   8   9   10   11   >