Re: [PATCH v5] hexdump: fix for non-aligned buffers

2015-07-14 Thread Geert Uytterhoeven
On Tue, Jul 14, 2015 at 12:23 AM, Horacio Mijail Anton Quiles hmij...@gmail.com wrote: An hexdump with a buf not aligned to the groupsize causes non-naturally-aligned memory accesses. This was causing a kernel panic on the processor BlackFin BF527, when such an unaligned buffer was fed by the

[BUG REPORT] OOM Killer is invoked while the system still has much memory

2015-07-14 Thread Xuzhichuang
Hi, all Description of problem: Recently, one of my Linux system invoked oom-killer, but the system still has much memory, I don't know why the system still invoked oom-killer, anybody can help me to see it, thanks. Linux kernel version: 3.0.58 Following is the message: Jul 10 12:33:03

[PATCH-v4 05/11] i2c: pxa: Update debug function to dump more info on error

2015-07-14 Thread Vaibhav Hiremath
Update i2c_pxa_scream_blue_murder() fn to print more information in case of error. Also, use dev_err variants instead of printk. Signed-off-by: Jett.Zhou jtz...@marvell.com Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org Cc: Wolfram Sang w...@the-dreams.de ---

[PATCH-v4 03/11] i2c: pxa: Return I2C_RETRY when timeout in pio mode

2015-07-14 Thread Vaibhav Hiremath
From: Shouming Wang wang...@marvell.com In case of timeout in pio mode of operation return I2C_RETRY. This behavior will be same as interrupt mode of operation. Signed-off-by: Shouming Wang wang...@marvell.com [vaibhav.hirem...@linaro.org: Updated changelog] Signed-off-by: Vaibhav Hiremath

Re: [RESEND PATCH 1/2] pinctrl: change function behavior for per pin muxing controllers

2015-07-14 Thread Sascha Hauer
On Mon, Jul 13, 2015 at 02:07:45PM +0200, Linus Walleij wrote: On Tue, Jun 30, 2015 at 11:17 AM, Nicolas Ferre nicolas.fe...@atmel.com wrote: - no agreement on 3 points: 1/ ways to use groups in generic pinctrl 2/ ways to describe a comprehensive configuration in device tree 3/

Re: [PATCH 3/3] ARM: dts: Fix frequency scaling on Gumstix Pepper.

2015-07-14 Thread Tony Lindgren
* Ash Charles ashchar...@gmail.com [150609 08:47]: This works well for me--cpufreq seems much happier. Tested-by: Ash Charles ashchar...@gmail.com On Thu, Jun 4, 2015 at 11:08 AM, Arun Bharadwaj a...@gumstix.com wrote: The device tree for Gumstix Pepper has DCDC2 and DCDC3 correctly

Re: [PATCH RFC V3 1/5] perf,tools: introduce OPT_CALLBACK_SET/OPT_CALLBACK_NOOPT_SET

2015-07-14 Thread Jiri Olsa
On Wed, Jul 08, 2015 at 04:44:53AM -0400, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com This patch extends the OPT_CALLBACK/OPT_CALLBACK_NOOPT to support 'set' item of struct option. So the perf knows whether an option was set by user. The new macros are used by call-graph

Re: [PATCH RFC V3 3/5] perf,tool: partial time support

2015-07-14 Thread Jiri Olsa
On Wed, Jul 08, 2015 at 04:44:55AM -0400, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com When multiple events are sampled it may not be needed to collect fine grained time stamps on all events. The sample sites are usually nearby. It's enough to have time stamps on the

[PATCH 2/2] Define kallsyms_cmp_symbol_t as function type to simplify the code

2015-07-14 Thread Minfei Huang
From: Minfei Huang mnfhu...@gmail.com It is not elegance, if we use function directly as the argument, like following: int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, unsigned long), void

Re: [PATCH RFC V3 2/5] perf/documentation: Add description for period

2015-07-14 Thread Jiri Olsa
On Wed, Jul 08, 2015 at 04:44:54AM -0400, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com 'period' param is not defined in /sys/bus/event_sources/devices/pmu/format/* Signed-off-by: Kan Liang kan.li...@intel.com --- tools/perf/Documentation/perf-record.txt | 8

[PATCH 1/2] Define find_symbol_in_section_t as function type to simplify the code

2015-07-14 Thread Minfei Huang
From: Minfei Huang mnfhu...@gmail.com It is not elegance, if we use function directly as the argument, like following: bool each_symbol_section(bool (*fn)(const struct symsearch *arr, struct module *owner, void *data), void

[PATCH] aic7xxx: replace kmalloc/strcpy by kstrdup

2015-07-14 Thread Christophe JAILLET
This replaces kmalloc + strcpy by an equivalent call to kstrdup. Signed-off-by: Christophe JAILLET christophe.jail...@wanadoo.fr --- drivers/scsi/aic7xxx/aic79xx_osm.c | 3 +-- drivers/scsi/aic7xxx/aic7xxx_osm.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 14/39] perf tools: Auto detecting kernel build directory

2015-07-14 Thread Wangnan (F)
On 2015/7/14 14:56, Wangnan (F) wrote: On 2015/7/14 5:46, Arnaldo Carvalho de Melo wrote: Em Thu, Jul 09, 2015 at 12:35:17PM +, Wang Nan escreveu: This patch detects kernel build directory using a embedded shell script 'kbuild_detector', which does this by checking existence of

Re: [PATCH 1/5] clocksource: mediatek: do not enable GPT_CLK_EVT when setup

2015-07-14 Thread Daniel Kurtz
Hi Yingjoe, On Mon, Jul 13, 2015 at 5:32 PM, Yingjoe Chen yingjoe.c...@mediatek.com wrote: Spurious mtk timer interrupt is noticed at boot and cause kernel crash. It seems if GPT is enabled, it will latch irq status even when its IRQ is disabled. When irq is enabled afterward, we see spurious

[PATCH-v4 07/11] i2c: pxa: enable/disable i2c module across msg xfer

2015-07-14 Thread Vaibhav Hiremath
From: Yi Zhang yizh...@marvell.com Enable i2c module/unit before transmission and disable when it finishes. why? It's because the i2c bus may be disturbed if the slave device, typically a touch, powers on. As we do not want to break slave mode support, this patch introduces DT property to

[PATCH-v4 08/11] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa

2015-07-14 Thread Vaibhav Hiremath
Driver now supports enable/disable across msg xfer, which user can control it by new DT property - i2c-disable-after-xfer : If set, driver will disable I2C module after msg xfer and enable it back before xfer. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org ---

[PATCH-v4 11/11] Documentation: binding: add sclk adjustment properties to i2c-pxa

2015-07-14 Thread Vaibhav Hiremath
With addition of PXA910 family of devices, the TWSI module supports new feature which allows us to adjust SCLK. i2c-pxa driver takes input configuration in nsec and converts it to respective bit-fields, - i2c-sclk-low-time-ns : SCLK low time (tlow) This property is used along with mode

[PATCH-v4 10/11] i2c: pxa: Add ILCR (tLow tHigh) configuration support

2015-07-14 Thread Vaibhav Hiremath
With addition of PXA910 family of devices, the TWSI module supports SCL clock adjustment using ILCR register. This patch enables the control and configuration of ICLR through DT properties, i2c-sclk-high-time-ns: SCLK high time (tHigh), for standard/fast/high speed mode i2c-sclk-low-time-ns:

[PATCH-v4 09/11] i2c: pxa: Add support for pxa910/988 new configuration features

2015-07-14 Thread Vaibhav Hiremath
TWSI_ILCR TWSI_IWCR registers are used to adjust clock rate of standard fast mode in pxa910/988; so this patch adds these two new entries to struct pxa_reg_layout and struct pxa_i2c. As discussed in the previous patch-series, the idea here is to add standard DT properties for ilcr and iwcr

[PATCH-v4 01/11] i2c: pxa: keep i2c irq ON in suspend

2015-07-14 Thread Vaibhav Hiremath
From: Leilei Shang shan...@marvell.com During suspend there may still be some i2c access happening, as the interrupt is shared between multiple drivers. And if we don't keep i2c irq ON, there may be i2c access timeout if i2c is in irq mode of operation. Signed-off-by: Raul Xiong

[PATCH] x86, acpi: Handle xapic/x2apic entries in MADT

2015-07-14 Thread Lukasz Anaczkowski
This patch is based on work of Yinghai Lu ying...@kernel.org previously published at https://lkml.org/lkml/2013/1/21/563. In case when BIOS is populating MADT wiht both x2apic and local apic entries (as per ACPI spec), e.g. for Xeon Phi Knights Landing, kernel builds it's processor table in the

Re: [PATCH] x86, acpi: Handle xapic/x2apic entries in MADT

2015-07-14 Thread Lukasz Anaczkowski
On 07/13/2015 23:22 PM, Hanjun Guo wrote: In case when BIOS is populating MADT wiht both x2apic and local apic entries (as per ACPI spec), kernel builds it's processor table in the following order: BSP, X2APIC, local APIC, resulting in processors on the same core are not separated by core

Re: [patch 08/12] MIPS/alchemy: Remove pointless irqdisable/enable

2015-07-14 Thread Manuel Lauss
On Mon, Jul 13, 2015 at 10:46 PM, Thomas Gleixner t...@linutronix.de wrote: bcsr_csc_handler() is a cascading interrupt handler. It has a disable_irq_nosync()/enable_irq() pair around the generic_handle_irq() call. The value of this disable/enable is zero because its a complete noop:

[PATCH v4 1/2] Document: DT: Add bindings for mediatek MT6580 SoC Platform

2015-07-14 Thread Mars Cheng
This adds a DT binding documentation for the MT6580 SoC from Mediatek. Signed-off-by: Mars Cheng mars.ch...@mediatek.com --- Documentation/devicetree/bindings/arm/mediatek.txt | 4 Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt | 1 +

[PATCH v4 0/2] Add mt6580 basic chip support

2015-07-14 Thread Mars Cheng
Changes in v4: 1. Remove clocks node 2. Remove bootargs 3. Refine stdout-path setting Changes in v3: 1. Remove useless Change-Id 2. Add complete device tree binding in Documentation Changes in v2: 1. Use stdout-path in device tree to indicate console 2. Remove board-specific bootargs Mars Cheng

[PATCH v4 2/2] ARM: dts: mediatek: add mt6580 basic support

2015-07-14 Thread Mars Cheng
This adds basic chip support for Mediatek 6580. Signed-off-by: Mars Cheng mars.ch...@mediatek.com --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/mt6580-evbp1.dts | 39 + arch/arm/boot/dts/mt6580.dtsi | 116 + 3 files

Re: [RESEND PATCH 2/2] pinctrl: introduce complex pin description

2015-07-14 Thread Sascha Hauer
On Wed, Jun 10, 2015 at 05:04:57PM +0200, Ludovic Desroches wrote: Using a string to describe a pin in the device tree can be not enough. Some controllers may need extra information to fully describe a pin. It concerns mainly controllers which have a per pin muxing approach which don't fit

Re: iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-14 Thread Emmanuel Grumbach
Hi, On Tue, Jul 14, 2015 at 12:53 AM, Toralf Förster toralf.foers...@gmx.de wrote: At a Gentoo (hardened) I experienced - starting with hardened kernel 4.0.6-r1 - the (attached) hickup of the 03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 83) at a ThinkPad T440s. The

Re: [PATCH 14/39] perf tools: Auto detecting kernel build directory

2015-07-14 Thread Wangnan (F)
On 2015/7/14 5:46, Arnaldo Carvalho de Melo wrote: Em Thu, Jul 09, 2015 at 12:35:17PM +, Wang Nan escreveu: This patch detects kernel build directory using a embedded shell script 'kbuild_detector', which does this by checking existence of include/generated/autoconf.h. clang working

Re: [PATCH 1/3] ARM: dts: Correct audio input route set mic bias

2015-07-14 Thread Tony Lindgren
* Arun Bharadwaj a...@gumstix.com [150604 11:10]: From: Adam YH Lee adam.yh@gmail.com Audio-in was incorrectly routed to Line In. It should be Mic3L as per schematic. Using mic-bias voltage at 2.0v (0x1) does not work for some reason. There is no voltage seen on micbias (R127).

Re: [PATCH RFC V3 3/5] perf,tool: partial time support

2015-07-14 Thread Jiri Olsa
On Wed, Jul 08, 2015 at 04:44:55AM -0400, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com SNIP + + /* + * Event parsing doesn't check the availability + * Clear the bit which event parsing may be set. + * Let following code check and reset if available

[PATCH 0/2] Using function type to cleanup the function parament

2015-07-14 Thread Minfei Huang
From: Minfei Huang mnfhu...@gmail.com This patchset do the cleanup. For now, we can use function type as the parament to simplify the code. Previously, we will declare the function as following: bool each_symbol_section(bool (*fn)(const struct symsearch *arr,

Re: [PATCH][v2] ARM: ls1021a: dtsi: Add crypto node alias in device tree

2015-07-14 Thread Shawn Guo
On Tue, Jul 14, 2015 at 09:43:15AM +0530, Ruchika Gupta wrote: U-boot patches up the device tree crypto node for the era property. Signed-off-by: Ruchika Gupta ruchika.gu...@freescale.com Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: linux-next: manual merge of the drm-intel tree with the drm-intel-fixes tree

2015-07-14 Thread Daniel Vetter
On Tue, Jul 14, 2015 at 12:11:12PM +1000, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/intel_display.c between commit: 8aa3053bf731 (drm/i915: fix oops in primary_check_plane) from the drm-intel-fixes

[PATCH v2 0/2] Add mt6795 basic chip support

2015-07-14 Thread Mars Cheng
This patch adds basic chip support for Mediatek 8-core chip, mt6795. It is also named as Helio X10. It is based on: 1. 4.2-rc1 2. [PATCH v4 0/2] Add mt6580 basic chip support The second one has added some device tree binding documentation for mt6580. mt6795 has some device tree binding

[PATCH v2 2/2] arm64: dts: mediatek: add mt6795 support

2015-07-14 Thread Mars Cheng
This adds basic chip support for MT6795 SoC Signed-off-by: Mars Cheng mars.ch...@mediatek.com --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt6795-evb.dts | 41 +++ arch/arm64/boot/dts/mediatek/mt6795.dtsi| 162 3

Re: [PATCH 0/2] Using function type to cleanup the function parament

2015-07-14 Thread Minfei Huang
Lost the character 'n' in the Namhyung Kim namhy...@kernel.org. Resent it. On 07/14/15 at 02:59P, Minfei Huang wrote: From: Minfei Huang mnfhu...@gmail.com This patchset do the cleanup. For now, we can use function type as the parament to simplify the code. Previously, we will declare the

[GIT PULL] s390 patches for 4.2-rc3

2015-07-14 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: One improvement for the zcrypt driver, the quality attribute for the hwrng device has been missing. Without it the kernel

Re: linux 4.2-rc1 broken Nokia N900

2015-07-14 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [150714 00:16]: On Monday 13 July 2015 17:36:07 Michael Welling wrote: On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: I think nothing special. I just call: export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabi- make rx51_defconfig

Re: 4.2-rc2 regression: drm/i915

2015-07-14 Thread Daniel Vetter
Can you please attach your Xorg.log? Thanks, Daniel On Tue, Jul 14, 2015 at 6:51 AM, Harald Arnesen har...@skogtun.org wrote: 4.2-rc2 gives me an unusable X11 screen (se attached picture). 4.2-rc1 is OK. Bisected to the following: 19ee835cdb0b5a8eb11a68f25a51b8039d564488 is the first bad

Re: [PATCH v2 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-07-14 Thread Sascha Hauer
On Tue, Jul 14, 2015 at 02:19:51PM +0800, chunfeng yun wrote: hi, On Fri, 2015-07-10 at 07:10 +0200, Sascha Hauer wrote: On Wed, Jul 08, 2015 at 05:41:03PM +0800, Chunfeng Yun wrote: add a DT binding documentation of usb3.0 phy for MT65xx SoCs from Mediatek. Signed-off-by:

Re: [PATCH 2/2] Define kallsyms_cmp_symbol_t as function type to simplify the code

2015-07-14 Thread Minfei Huang
Lost the character 'n' in the Namhyung Kim namhy...@kernel.org. Resent it. On 07/14/15 at 02:59P, Minfei Huang wrote: From: Minfei Huang mnfhu...@gmail.com It is not elegance, if we use function directly as the argument, like following: int module_kallsyms_on_each_symbol(int (*fn)(void *,

Re: [PATCH 1/2] Define find_symbol_in_section_t as function type to simplify the code

2015-07-14 Thread Minfei Huang
Lost the character 'n' in the Namhyung Kim namhy...@kernel.org. Resend it. On 07/14/15 at 02:59P, Minfei Huang wrote: From: Minfei Huang mnfhu...@gmail.com It is not elegance, if we use function directly as the argument, like following: bool each_symbol_section(bool (*fn)(const struct

[PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family

2015-07-14 Thread Vaibhav Hiremath
This patch series fixes bugs/warnings, cleans up the code and adds support for PXA910 family of devices to PXA I2C bus driver. There has been one attempt made sometime back in 2012 to upstream some of the patches from below list, but did not get follow up later. I have consolidated all the

[PATCH-v4 04/11] i2c: pxa: Fix compile warning in 64bit mode

2015-07-14 Thread Vaibhav Hiremath
From: Yipeng Yao yp...@marvell.com Fix below warning message, coming from 64 bit toolchain. drivers/i2c/busses/i2c-pxa.c:1237:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Signed-off-by: Yipeng Yao yp...@marvell.com [vaibhav.hirem...@linaro.org: Updated

[PATCH-v4 02/11] i2c: pxa: No need to set slave addr for i2c master mode reset

2015-07-14 Thread Vaibhav Hiremath
Normally i2c controller works as master, so slave addr is not needed, or it will impact some slave device (eg. ST NFC chip) i2c accesses, because it has the same i2c address with controller. For example, On the pxa1928 based platform, where PMIC (88pm860) is present @0x30 address on TWSI0

[PATCH-v4 06/11] i2c:pxa: Use devm_ variants in probe function

2015-07-14 Thread Vaibhav Hiremath
This patch cleans up i2c_pxa_probe() function, - Use devm_ variants wherever This will clean both probe exit and i2c_pxa_remove() functions - Check platform resource before parsing any other data from DT/platform - Use dev_err on failure from i2c_add_numbered_adapter() - Use pr_info

[PATCH] rtc/rtc-opal: Enable alarms only when opal supports tpo

2015-07-14 Thread Vaibhav Jain
rtc-opal driver provides support for rtc alarms via timed-power-on(tpo). However some Power platforms like BML use a fake rtc clock and don't support tpo. Such platforms are indicated by the missing 'has-tpo' property in the device tree. Current implementation however enables callback for

Re: [PATCH v3] clk: mediatek: Export CPU mux clocks for CPU frequency control

2015-07-14 Thread Daniel Kurtz
Hi Pi-Cheng, On Mon, Jul 6, 2015 at 6:01 PM, Pi-Cheng Chen pi-cheng.c...@linaro.org wrote: From: pi-cheng.chen pi-cheng.c...@linaro.org This patch adds CPU mux clocks which are used by Mediatek cpufreq driver for intermediate clock source switching. Hopefully we will some day have regmap

Re: [PATCH] Revert perf tools: Allow to specify custom linker command

2015-07-14 Thread Jiri Olsa
On Mon, Jul 13, 2015 at 11:24:06PM +0300, Aaro Koskinen wrote: Hi, On Mon, Jul 13, 2015 at 02:10:53PM +0300, Alexey Brodkin wrote: This reverts commit 5ef7bbb09f7b (perf tools: Allow to specify custom linker command). LD is a pre-defined variable in GNU Make. I.e. it is always

[PATCH v4] mfd: add Intel Broxton Whiskey Cove PMIC driver

2015-07-14 Thread qipeng.zha
From: qipeng.zha qipeng@intel.com Add MFD core driver for Intel Broxton Whiskey Cove PMIC, which is specially accessed by hardware IPC, not a generic I2C device Signed-off-by: qipeng.zha qipeng@intel.com --- change in v4 add compile dependency to PMC IPC driver in Makefile, or will use

Re: [PATCH 0/2] Uncomment VSX enable routine for instructions access

2015-07-14 Thread Herbert Xu
Leonidas S. Barbosa leosi...@linux.vnet.ibm.com wrote: enable_kernel_vsx() was commented since anything was using it. It changes with vmx_crypto driver that call VSX instructions and need kernel_vsx enabled in order to do it properly. Without a way to enable VSX instruction vmx_crypto fails

Re: [PATCH] crypto: Drop owner assignment from platform_driver

2015-07-14 Thread Herbert Xu
On Fri, Jul 10, 2015 at 02:46:16PM +0900, Krzysztof Kozlowski wrote: platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Applied. -- Email: Herbert Xu herb...@gondor.apana.org.au Home Page:

Re: linux 4.2-rc1 broken Nokia N900

2015-07-14 Thread Pali Rohár
On Monday 13 July 2015 17:36:07 Michael Welling wrote: On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: I think nothing special. I just call: export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabi- make rx51_defconfig rm -f arch/arm/boot/zImage make -j12 zImage modules

Re: [alsa-devel] [PATCH v2 11/12] ASoC: tegra: register dependency parser for firmware nodes

2015-07-14 Thread Tomeu Vizoso
On 13 July 2015 at 17:42, Mark Brown broo...@kernel.org wrote: On Mon, Jul 13, 2015 at 02:10:45PM +0200, Tomeu Vizoso wrote: On 1 July 2015 at 19:38, Mark Brown broo...@kernel.org wrote: On Wed, Jul 01, 2015 at 11:41:06AM +0200, Tomeu Vizoso wrote: +static void

Re: [PATCH 4/5] clk: mediatek: add 13mhz clock for MT8173

2015-07-14 Thread Daniel Kurtz
On Mon, Jul 13, 2015 at 5:32 PM, Yingjoe Chen yingjoe.c...@mediatek.com wrote: Add 13mhz clock used by GPT timer in infracfg. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com --- drivers/clk/mediatek/clk-mt8173.c | 5 + include/dt-bindings/clock/mt8173-clk.h | 3 ++- 2 files

Re: [RFC v4 00/25] Re-use nvram module

2015-07-14 Thread Finn Thain
On Mon, 13 Jul 2015, Geert Uytterhoeven wrote: How are we gonna merge this? I think the series would have to be merged almost whole. For the most part, no maintainer can merge any of this without ACKs from others: - to improve code re-use by replacing an API shared by arch-specific code

Re: [RFC v4 17/25] powerpc, fbdev: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-07-14 Thread Finn Thain
Make use of arch_nvram_ops in device drivers so that the nvram_* function exports can be removed. Since they are no longer global symbols, rename the PPC32 nvram_* functions appropriately. Add the missing CONFIG_NVRAM test to imsttfb to avoid a build failure. Add a CONFIG_PPC32 test to

Re: [PATCH v2 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-07-14 Thread chunfeng yun
hi, On Fri, 2015-07-10 at 07:10 +0200, Sascha Hauer wrote: On Wed, Jul 08, 2015 at 05:41:03PM +0800, Chunfeng Yun wrote: add a DT binding documentation of usb3.0 phy for MT65xx SoCs from Mediatek. Signed-off-by: Chunfeng Yun chunfeng@mediatek.com ---

Re: [PATCH][v2] ARM: ls1021a: dtsi: Add crypto node alias in device tree

2015-07-14 Thread Shawn Guo
On Tue, Jul 14, 2015 at 09:43:15AM +0530, Ruchika Gupta wrote: U-boot patches up the device tree crypto node for the era property. Signed-off-by: Ruchika Gupta ruchika.gu...@freescale.com --- Changes from v1: Rearranged the crypto node in alphabetic sorted order as suggested by Shawn

[PATCH resent] staging: lustre: Deletion of unnecessary checks before three function calls

2015-07-14 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net The following functions test whether their argument is NULL and then return immediately. * kfree * ll_file_data_put * ptlrpc_connection_put Thus the test around such calls is not needed. This issue was detected by using the Coccinelle software.

Re: [PATCH v9 2/4] sched: Rewrite runnable load and utilization average tracking

2015-07-14 Thread Yuyang Du
Hi Dietmar, On Mon, Jul 13, 2015 at 06:08:39PM +0100, Dietmar Eggemann wrote: Hi Yuyang, I did some testing of your new pelt implementation. TC 1: one nice-0 60% task affine to cpu1 in root tg and 2 nice-0 20% periodic tasks affine to cpu1 in a task group with id=3 (one hierarchy). TC

[V2 7/7] Drivers: hv: vmbus: disable local interrupt when hvsock's callback is running

2015-07-14 Thread Dexuan Cui
In the SMP guest case, when the per-channel callback hvsock_events() is running on virtual CPU A, if the guest tries to close the connection on virtual CPU B: we invoke vmbus_close() - vmbus_close_internal(), then we can have trouble: on B, vmbus_close_internal() will send IPI reset_channel_cb()

Re: [RFC v3 3/3] mm: make swapin readahead to improve thp collapse rate

2015-07-14 Thread Kirill A. Shutemov
On Mon, Jul 13, 2015 at 11:28:04PM +0300, Ebru Akagunduz wrote: This patch makes swapin readahead to improve thp collapse rate. When khugepaged scanned pages, there can be a few of the pages in swap area. With the patch THP can collapse 4kB pages into a THP when there are up to

Re: [PATCH v2 3/9] arm: twr-k70f120m: clock driver for Kinetis SoC

2015-07-14 Thread Linus Walleij
On Tue, Jun 30, 2015 at 2:27 PM, Paul Osmialowski paw...@king.net.pl wrote: Based on K70P256M150SF3RM.pdf K70 Sub-Family Reference Manual, Rev. 3. Signed-off-by: Paul Osmialowski paw...@king.net.pl (...) +struct kinetis_sim_regs { + u32 sopt1; /* System Options Register 1 */ +

Re: [Intel-gfx] [RFC 1/1] drm/i915 : Wait until SYSTEM_RUNNING before loading CSR firmware

2015-07-14 Thread Daniel Vetter
On Mon, Jul 13, 2015 at 09:36:45AM -0700, jay.p.pa...@intel.com wrote: From: Jay Patel jay.p.pa...@intel.com NOTE: This is an interim solution which is targeted towards Chrome OS/Android to be used until a long term solution is available. In this patch, request_firmware() is called in a

[PATCH] mm: swap: zswap: maybe_preload refactoring

2015-07-14 Thread Dmitry Safonov
zswap_get_swap_cache_page and read_swap_cache_async have pretty the same code with only significant difference in return value and usage of swap_readpage. I made helper function __read_swap_cache_async with the common code. Behavior change: now zswap_get_swap_cache_page will use

Re: [E1000-devel] bad pages when up/down network cable

2015-07-14 Thread Xishi Qiu
On 2015/7/14 17:00, zhuyj wrote: Do you use the default ixgbe driver? or the ixgbe driver is modified by you? Yes,no modify. Thanks, Xishi Qiu On Tue, Jul 14, 2015 at 4:31 PM, Xishi Qiu qiuxi...@huawei.com mailto:qiuxi...@huawei.com wrote: 1、the host directly link to the storage

Re: [BUG REPORT] OOM Killer is invoked while the system still has much memory

2015-07-14 Thread Michal Hocko
On Tue 14-07-15 17:14:40, Xishi Qiu wrote: On 2015/7/14 17:00, Michal Hocko wrote: On Tue 14-07-15 16:42:16, Xishi Qiu wrote: On 2015/7/14 16:15, Michal Hocko wrote: On Tue 14-07-15 07:11:34, Xuzhichuang wrote: [...] Jul 10 12:33:03 BMS_CNA04 kernel: [18136514.138968] DMA32:

[PATCH v2 38/48] usb: gadget: epautoconf: remove pxa quirk from ep_matches()

2015-07-14 Thread Robert Baldyga
The same effect can be achieved by using capabilities flags, so now we can get rid of handing of hardware specific limitations in generic code. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/epautoconf.c | 5 - drivers/usb/gadget/udc/pxa25x_udc.c | 9 +++--

[PATCH v2 35/48] usb: renesas: gadget: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/renesas_usbhs/mod_gadget.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c

[PATCH v2 36/48] usb: gadget: atmel_usba_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/udc/atmel_usba_udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c

[PATCH v2 30/48] usb: gadget: s3c-hsudc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/udc/s3c-hsudc.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/usb/gadget/udc/s3c-hsudc.c b/drivers/usb/gadget/udc/s3c-hsudc.c index

[PATCH v2 31/48] usb: gadget: s3c2410_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/udc/s3c2410_udc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/usb/gadget/udc/s3c2410_udc.c b/drivers/usb/gadget/udc/s3c2410_udc.c

[PATCH v2 37/48] usb: gadget: epautoconf: add endpoint capabilities flags verification

2015-07-14 Thread Robert Baldyga
Introduce endpoint matching mechanism basing on endpoint capabilities flags. We check if endpoint supports transfer type and direction requested in ep descriptor. Since we have this new endpoint matching mechanism there is no need to have old code guessing endpoint capabilities basing on its name,

Re: [PATCH v0] arm64: dts: Add APM X-Gene standby GPIO controller DTS entries

2015-07-14 Thread Olof Johansson
On Thu, Jun 04, 2015 at 02:19:04PM +0700, Y Vo wrote: Add standby domain gpio controller for APM X-Gene SoC platform. Signed-off-by: Y Vo y...@apm.com Hi, What does patch v0 mean here? Is this just an RFC for comments or do you want us to apply it? Again, same comments as I made on another

RE: [PATCH] arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a

2015-07-14 Thread Huan Wang
Shawn, On Mon, Jul 06, 2015 at 10:38:39AM +0800, Alison Wang wrote: From: Wang Dongsheng dongsheng.w...@freescale.com Add ftm0 node, cause of ftm0 can be set as a alarm before system going to deep sleep. Signed-off-by: Wang Dongsheng dongsheng.w...@freescale.com Since you're

[PATCH v2 15/48] usb: gadget: fsl_udc_core: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/udc/fsl_udc_core.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c

Re: [BUG REPORT] OOM Killer is invoked while the system still has much memory

2015-07-14 Thread Xishi Qiu
On 2015/7/14 17:28, Michal Hocko wrote: On Tue 14-07-15 17:14:40, Xishi Qiu wrote: On 2015/7/14 17:00, Michal Hocko wrote: On Tue 14-07-15 16:42:16, Xishi Qiu wrote: On 2015/7/14 16:15, Michal Hocko wrote: On Tue 14-07-15 07:11:34, Xuzhichuang wrote: [...] Jul 10 12:33:03 BMS_CNA04

[PATCH v2 17/48] usb: gadget: goku_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/udc/goku_udc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/gadget/udc/goku_udc.c b/drivers/usb/gadget/udc/goku_udc.c index

[PATCH-v2 1/2] mfd: 88pm80x: Add 88pm860 chip type support

2015-07-14 Thread Vaibhav Hiremath
Add chip identification support for 88PM860 device to the pm80x_chip_mapping table. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/88pm80x.c | 2 ++ include/linux/mfd/88pm80x.h | 1 + 2 files changed, 3

Re: [patch 08/12] MIPS/alchemy: Remove pointless irqdisable/enable

2015-07-14 Thread Thomas Gleixner
On Tue, 14 Jul 2015, Ralf Baechle wrote: On Tue, Jul 14, 2015 at 10:55:08AM +0200, Manuel Lauss wrote: Yes. Add #include linux/irqchip/chained_irq.h on top and it works again. This hardware is problematic, an older variant with identical verilog code in the cpld's irq unit works fine

[PATCH v2 02/48] usb: gadget: add endpoint capabilities flags

2015-07-14 Thread Robert Baldyga
Introduce struct usb_ep_caps which contains information about capabilities of usb endpoints - supported transfer types and directions. This structure should be filled by UDC driver for each of its endpoints, and will be used in epautoconf in new ep matching mechanism which will replace ugly

[PATCH-v2 2/2] mfd: 88pm800: Add init time initial configuration support

2015-07-14 Thread Vaibhav Hiremath
This patch adds init time configuration of 88PM800/805 and 88PM860. It includes, - Enable BUCK clock gating in low power mode - Full mode support for BUCK2 and 4 - Enable voltage change (LPF, DVC) in PMIC Note that both 88PM800 and 88PM860 do share common configurations, but since I can

[PATCH-v2 0/2] mfd: 88pm800: Add 88pm860 device support

2015-07-14 Thread Vaibhav Hiremath
88PM860 falls under 88pm800 family of devices, with some feature additions, for example, support for dual phase on BUCK1. This patch series, enabled chip ID support for 88pm860 in the driver and adds Init time configuration support based on chip ID V1 = V2 - Dropped PATCH [03/06 to

[PATCH v2 03/48] usb: gadget: add endpoint capabilities helper macros

2015-07-14 Thread Robert Baldyga
Add macros useful while initializing array of endpoint capabilities structures. These macros makes structure initialization more compact to decrease number of code lines and increase readability of code. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- include/linux/usb/gadget.h | 20

[PATCH v2 07/48] usb: dwc3: gadget: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/dwc3/gadget.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 333a7c0..8d1f768 100644 ---

[PATCH v3 5/6] ARM: OMAP4+: PRM: Add AM437x specific data

2015-07-14 Thread Keerthy
The register offsets for some of the PRM Registers are different hence populating the differing fields. Tested IO wake up using gpio based SW4 on 1.5A GP evm. Signed-off-by: Keerthy j-keer...@ti.com --- arch/arm/mach-omap2/prm44xx.c | 12 +++- 1 file changed, 11 insertions(+), 1

RE: [PATCH] ARM: multi_v7_defconfig: Remove old Samsung USB PHY configs

2015-07-14 Thread Kukjin Kim
Javier Martinez Canillas wrote: The old drivers/usb/phy/phy-samsung-usb{2,3} are now deleted since were replaced by newers drivers that use the Generic PHY framework but their Kconfig options were left over in multi_v7_defconfig. Signed-off-by: Javier Martinez Canillas

[PATCH v3 2/6] ARM: AM43xx: Add the PRM IRQ register offsets

2015-07-14 Thread Keerthy
Add the PRM IRQ register offsets. Signed-off-by: Keerthy j-keer...@ti.com --- arch/arm/mach-omap2/prcm43xx.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-omap2/prcm43xx.h b/arch/arm/mach-omap2/prcm43xx.h index 7eebc27..d716d2e 100644 --- a/arch/arm/mach-omap2/prcm43xx.h

[PATCH] regulator: core: Handle full constraints systems when resolving supplies

2015-07-14 Thread Mark Brown
When resolving device supplies if we fail to look up the regulator we substitute in the dummy supply instead if the system has fully specified constraints. When resolving supplies for regulators we do not have the equivalent code and instead just directly use the regulator_dev_lookup() result

Re: [PATCH v5 8/8] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-07-14 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [150409 12:17]: * Peter Ujfalusi peter.ujfal...@ti.com [150409 12:07]: On 04/09/2015 10:01 PM, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [150409 11:55]: On 04/09/2015 06:18 PM, Tony Lindgren wrote: * Peter Ujfalusi

Re: [PATCH] power: Destroy IDRs on module exit

2015-07-14 Thread Johannes Thumshirn
Sebastian Reichel s...@kernel.org writes: [+CC: Tejun Heo t...@kernel.org, for being very active in lib/idr.c] Hi, On Tue, Jul 14, 2015 at 11:16:14AM +0200, Johannes Thumshirn wrote: Destroy IDRs on module exit, freeing the resources for * bq2415x_charger.c * ds2782_battery.c *

Re: [PATCH v9 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-07-14 Thread Thierry Reding
On Mon, Jul 13, 2015 at 06:51:29PM +0800, Jianwei Wang wrote: This patch add support for Two Dimensional Animation and Compositing Engine (2D-ACE) on the Freescale SoCs. 2D-ACE is a Freescale display controller. 2D-ACE describes the functionality of the module extremely well its name is a

Re: [PATCH 1/4] change get_super_thawed() to use sb_start/end_write()

2015-07-14 Thread Jan Kara
On Mon 13-07-15 23:25:48, Oleg Nesterov wrote: Preparation. get_super_thawed() can do sb_start/end_write() with the same effect, we are going to kill sb_writers-wait_unfrozen. --- fs/super.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/super.c b/fs/super.c

Re: [PATCH v3 3/3] arm: kernel: implement cpuidle_ops with psci backend

2015-07-14 Thread Lorenzo Pieralisi
On Tue, Jul 14, 2015 at 11:34:21AM +0100, Russell King - ARM Linux wrote: On Thu, Jul 09, 2015 at 04:31:25PM +0800, Jisheng Zhang wrote: This patch implements cpuidle_ops using psci. After this patch, we can use cpuidle-arm.c with psci backend for both arm and arm64. Signed-off-by:

Re: [PATCH 15/41] clocksource: nomadik-mtu: Migrate to new 'set-state' interface

2015-07-14 Thread Linus Walleij
On Thu, Jun 18, 2015 at 12:54 PM, Viresh Kumar viresh.ku...@linaro.org wrote: Migrate nomadik-mtu driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of

Re: [PATCH v2 47/48] usb: musb: gadget: add musb_match_ep() function

2015-07-14 Thread Sergei Shtylyov
Hello. On 7/14/2015 12:39 PM, Robert Baldyga wrote: Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Functions does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from

Re: [PATCH] pinctrl: dra: dt-bindings: Add virtual mode configuration option

2015-07-14 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [150622 08:24]: In addition to the regular mux configuration such as mux mode 1, 2 etc, certain pins of DRA7 require to have virtual mode also programmed. This allows for predefined delay characteristics to be used by the SoC to meet timing characterstics needed

Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-07-14 Thread Finn Thain
On Mon, 13 Jul 2015, Andreas Schwab wrote: Finn Thain fth...@telegraphics.com.au writes: BTW, I didn't change the SCSI ID location in NVRAM. This code says 16 whereas atari_scsi says 14. Which one is correct? I think atari_scsi is wrong. The best source I could find

  1   2   3   4   5   6   7   8   9   10   >