[PATCHv1 7/8] ARM: dts: Enable SGT15000 codec based audio driver node for VF610.

2013-10-17 Thread Xiubo Li
This patch add and enable SGT15000 codec support, and also specified the corresponding SAI node. Signed-off-by: Xiubo Li Signed-off-by: Alison Wang ; + audio-codec = <>; + audio-routing = + "MIC_IN", "Mic Jack", + "Mic

Re: [PATCH v2 0/3] perf,x86: add Intel RAPL PMU support

2013-10-17 Thread Borislav Petkov
On Thu, Oct 17, 2013 at 11:07:30AM +0200, Peter Zijlstra wrote: > The downside to such a sysfs entry will be the scope. It would either > be pmu wide (unwieldy for many PMUs) or be only per listed event; and > we really don't want exhaustive event lists in the kernel. So why not teach perf tool

Re: kexec cannot find text map area if kaslr is enabled

2013-10-17 Thread HATAYAMA Daisuke
(2013/10/17 17:59), HATAYAMA Daisuke wrote: Hello, I tried to use x86/kaslr branch to check if how it works with kdump framework. Sorry, it's a branch of tip repository here: http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/log/?h=x86/kaslr -- Thanks. HATAYAMA, Daisuke -- To

[PATCHv1 5/8] ASoC: sgtl5000: Revise the bugs about the sgt15000 codec.

2013-10-17 Thread Xiubo Li
When the CONFIG_REGULATOR is disabled there will be some warnings printed out. Signed-off-by: Xiubo Li --- sound/soc/codecs/sgtl5000.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index

[PATCHv1 2/8] ARM: dts: Add Freescale SAI ALSA SoC Digital Audio Interface node for VF610.

2013-10-17 Thread Xiubo Li
This patch add the SAI's edma mux Tx and Rx support. Signed-off-by: Jingchang Lu Signed-off-by: Xiubo Li --- arch/arm/boot/dts/vf610.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 18e3a4c..391f180

[PATCHv1 4/8] Documentation: Add device tree bindings for Freescale SAI.

2013-10-17 Thread Xiubo Li
This adds the Document for Freescale SAI driver under Documentation/devicetree/bindings/sound/. Signed-off-by: Xiubo Li --- .../devicetree/bindings/sound/fsl-sai.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644

[PATCHv1 6/8] ASoC: fsl: add SGT15000 based audio machine driver.

2013-10-17 Thread Xiubo Li
This is the SGTl5000 codec based audio driver supported with both playback and capture dai link implemention. This implementation is only compatible with device tree definition. Signed-off-by: Alison Wang --- sound/soc/fsl/Kconfig| 10 +++ sound/soc/fsl/Makefile | 2 +

[PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Xiubo Li
This adds Freescale SAI ASoC Audio support. This implementation is only compatible with device tree definition. Features: o Supports playback/capture o Supports 16/20/24 bit PCM o Supports 8k - 96k sample rates o Supports slave mode only. Signed-off-by: Alison Wang --- sound/soc/fsl/Kconfig

[PATCHv1 0/8] ALSA: Add SAI driver and enable SGT15000 codec.

2013-10-17 Thread Xiubo Li
This patch series is mostly Freescale's SAI SoC Digital Audio Interface driver implementation. And the implementation is only compatible with device tree definition. This patch series is based on linux-next and has been tested on Vybrid VF610 Tower board using device tree. Added in v1: - Add

Re: [PATCH v2 0/3] perf,x86: add Intel RAPL PMU support

2013-10-17 Thread Peter Zijlstra
On Thu, Oct 17, 2013 at 10:14:20AM +0200, Ingo Molnar wrote: > > > I.e. you would be encoding the counter unit as the suffix, might as well > > > call it "power/cores.joules" and use the dot as the separator for the > > > unit, but would be just a compact form to encode the counter->unit > > >

kexec cannot find text map area if kaslr is enabled

2013-10-17 Thread HATAYAMA Daisuke
Hello, I tried to use x86/kaslr branch to check if how it works with kdump framework. I found kexec doesn't work. According to the message, it looks like kexec failing to find kernel text map area from kcore. $ sudo /sbin/kexec -p --command-line="ro

Re: [PATCH] ACPI/Power: Check physical device's runtime pm status before requesting to resume it

2013-10-17 Thread Lan Tianyu
On 2013年10月17日 10:40, Lan Tianyu wrote: > On 2013年10月17日 09:02, Lan Tianyu wrote: >> On 2013年10月16日 20:42, Rafael J. Wysocki wrote: >>> On Wednesday, October 16, 2013 05:26:21 PM Lan Tianyu wrote: This is a multi-part message in MIME format. --090400010209000300030201

Re: [PATCH 00/28]: dmaengine: use DMA_COMPLETE for dma completion status

2013-10-17 Thread Linus Walleij
On Wed, Oct 16, 2013 at 6:28 PM, Vinod Koul wrote: > As we recently discussed in [1], the DMA_SUCCESS is an misnomer. The dmaengine > does not acknowledge that dma completed succesfully. It can only signal dma > was > completed by it. Hence we should use DMA_COMPLTE as status instead of >

Re: [PATCHv2] mmc: atmel-mci: add vmmc-supply support

2013-10-17 Thread Alexandre Belloni
On 17/10/2013 10:34, Ulf Hansson wrote: > On 17 October 2013 00:19, Alexandre Belloni > wrote: >> Other MMC hosts handle a regulator named vmmc-supply that allows to power the >> MMC card or SDIO device before communicating on the bus. >> >> Signed-off-by: Alexandre Belloni >> --- >> >> Changes

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-17 Thread Joe Perches
On Thu, 2013-10-17 at 10:40 +0200, Borislav Petkov wrote: > On Thu, Oct 17, 2013 at 01:32:30AM -0700, Joe Perches wrote: > > On Thu, 2013-10-17 at 03:38 -0400, Chen Gong wrote: > > > the point is we can use GENMASK like GENMASK(end_bit, start_bit) but > > > we don't know the value of

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-10-17 Thread Ingo Molnar
* Neil Horman wrote: > On Mon, Oct 14, 2013 at 03:18:47PM -0700, Eric Dumazet wrote: > > On Mon, 2013-10-14 at 14:19 -0700, Eric Dumazet wrote: > > > On Mon, 2013-10-14 at 16:28 -0400, Neil Horman wrote: > > > > > > > So, early testing results today. I wrote a test module that, allocated > >

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-17 Thread Borislav Petkov
On Thu, Oct 17, 2013 at 01:32:30AM -0700, Joe Perches wrote: > On Thu, 2013-10-17 at 03:38 -0400, Chen Gong wrote: > > the point is we can use GENMASK like GENMASK(end_bit, start_bit) but > > we don't know the value of end_bit/start_bit at compile-time. > > True. > > The BUILD_BUG_ON idea is

Re: [PATCH] fix proc_reg_get_unmapped_area()

2013-10-17 Thread HATAYAMA Daisuke
(2013/10/17 16:23), Jan Beulich wrote: On 16.10.13 at 22:40, Andrew Morton wrote: On Wed, 16 Oct 2013 12:32:40 +0100 "Jan Beulich" wrote: Commit c4fe24485729fc2cbff324c111e67a1cc2f9adea ("sparc: fix PCI device proc file mmap(2)"), while fixing one problem, introduced two new ones: - the

Re: [PATCHv2] mmc: atmel-mci: add vmmc-supply support

2013-10-17 Thread Ulf Hansson
On 17 October 2013 00:19, Alexandre Belloni wrote: > Other MMC hosts handle a regulator named vmmc-supply that allows to power the > MMC card or SDIO device before communicating on the bus. > > Signed-off-by: Alexandre Belloni > --- > > Changes in v2: > - use mmc_regulator_get_supply instead of

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-17 Thread Joe Perches
On Thu, 2013-10-17 at 03:38 -0400, Chen Gong wrote: > the point is we can use GENMASK like GENMASK(end_bit, start_bit) but > we don't know the value of end_bit/start_bit at compile-time. True. The BUILD_BUG_ON idea is just to avoid people using GENMASK(1, 2) instead of GENMASK(2,

[PATCH] f2fs: avoid to write during the recovery

2013-10-17 Thread Jaegeuk Kim
This patch enhances the recovery routine not to write any data/node/meta until its completion. If any writes are sent to the disk, it could contaminate the written history that will be used for further recovery. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 2 +- fs/f2fs/node.c |

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-17 Thread Guennadi Liakhovetski
On Thu, 17 Oct 2013, Vinod Koul wrote: > On Wed, Oct 16, 2013 at 11:45:48AM -0700, Dan Williams wrote: > > On Wed, Oct 16, 2013 at 11:29 AM, Guennadi Liakhovetski > > > > > > Doesn't this break kernel compilation for a total of 27 commits? Or am I > > > missing anything? > > > > Yes, I think at

urgent

2013-10-17 Thread Young Chang
I need your partnership in a business transaction worth $19.7m USD for you to handle with me. If interested, kindly get back to me for more details -- 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 2/2] tty/serial: at91: add a fallback option to determine uart/usart property

2013-10-17 Thread Nicolas Ferre
On 16/10/2013 22:14, Greg Kroah-Hartman : On Tue, Oct 15, 2013 at 11:19:18AM +0200, Nicolas Ferre wrote: On 14/10/2013 15:59, Jean-Christophe PLAGNIOL-VILLARD : On 10:43 Thu 10 Oct , Nicolas Ferre wrote: On older SoC, the "name" field is not filled in the register map. Fix the way to

Re: [PATCH 1/2] tty/hvc_console: Add DTR/RTS callback to handle HUPCL control

2013-10-17 Thread Hendrik Brueckner
On Wed, Oct 16, 2013 at 06:21:12PM -0500, Benjamin Herrenschmidt wrote: > On Wed, 2013-10-16 at 11:04 +0200, Hendrik Brueckner wrote: > > Indeed, two callbacks change the DTR line. The main difference is that > > tiocmget/tiocmset can be called from user space by ioctl. That's not the > > case

Re: [PATCH v2 0/3] perf,x86: add Intel RAPL PMU support

2013-10-17 Thread Ingo Molnar
* Stephane Eranian wrote: > On Wed, Oct 16, 2013 at 7:53 PM, Arnaldo Carvalho de Melo > wrote: > > Em Wed, Oct 16, 2013 at 03:13:54PM +0200, Stephane Eranian escreveu: > >> On Wed, Oct 16, 2013 at 2:46 PM, Ingo Molnar wrote: > >> > We should also tell user-space that the unit of this counter

Re: [PATCH 03/28] dmaengine: at_hdma: use DMA_COMPLETE for dma completion status

2013-10-17 Thread Nicolas Ferre
On 16/10/2013 18:28, Vinod Koul : Signed-off-by: Vinod Koul CC: Nicolas Ferre Acked-by: Nicolas Ferre --- drivers/dma/at_hdmac.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index c787f38..1ef7457 100644 ---

[ANNOUNCE] autofs 5.0.8 release

2013-10-17 Thread Ian Kent
Hi all, Once again this is long overdue so there are many changes. The kernel patches are not being updated any more because of the introduction of the vfs-automount changes to the VFS. If there are needs in this area we will need to discuss how to deal with them on the mailing list. Known

Re: [PATCH V2] ARM: trace: Add tracepoint for the Inter Processor Interrupt

2013-10-17 Thread Daniel Lezcano
On 10/15/2013 02:10 PM, Daniel Lezcano wrote: The Inter Processor Interrupt is used on ARM to tell another processor to do a specific action. This is mainly used to emulate a timer interrupt on an idle cpu, force a cpu to reschedule or run a function on another processor context. Add a

Re: [PATCH] LSM: ModPin LSM for module loading restrictions

2013-10-17 Thread James Morris
This seems like a regression in terms of separating mechanism and policy. We have several access control systems available (SELinux, at least) which can implement this functionality with existing mechanisms using dynamic policy. I'm concerned about the long term architectural impact of a

Re: [PATCH v2 1/7] clk: tegra: Add support for PLLSS

2013-10-17 Thread Peter De Schrijver
On Wed, Oct 16, 2013 at 07:21:12PM +0200, Stephen Warren wrote: > On 10/16/2013 01:48 AM, Peter De Schrijver wrote: > > On Tue, Oct 15, 2013 at 10:20:03PM +0200, Stephen Warren wrote: > >> On 10/15/2013 09:14 AM, Peter De Schrijver wrote: > >>> Tegra124 introduces a new PLL type, PLLSS. Add

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-17 Thread Chen Gong
On Wed, Oct 16, 2013 at 11:58:56PM -0700, Joe Perches wrote: > Date: Wed, 16 Oct 2013 23:58:56 -0700 > From: Joe Perches > To: Chen Gong > Cc: tony.l...@intel.com, b...@alien8.de, naveen.n@linux.vnet.ibm.com, > m.che...@samsung.com, aroza...@redhat.com, linux-a...@vger.kernel.org, >

Re: [PATCH v3 00/19] Introduce common infra for tegra clocks

2013-10-17 Thread Peter De Schrijver
On Wed, Oct 16, 2013 at 07:14:27PM +0200, Stephen Warren wrote: > On 10/16/2013 03:06 AM, Peter De Schrijver wrote: > > On Tue, Oct 15, 2013 at 07:48:57PM +0200, Stephen Warren wrote: > >> On 10/15/2013 08:52 AM, Peter De Schrijver wrote: > >>> This patchset introduces common infrastructure for

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-17 Thread Maxime COQUELIN
Hi Jean-Christophe, On 10/16/2013 05:14 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: ... >> + >> +static inline void st_i2c_set_bits(void __iomem *reg, u32 mask) >> +{ >> + writel(readl(reg) | mask, reg); >> +} >> + >> +static inline void st_i2c_clr_bits(void __iomem *reg, u32 mask) >> +{ >>

Re: [PATCH] fix proc_reg_get_unmapped_area()

2013-10-17 Thread Jan Beulich
>>> On 16.10.13 at 22:40, Andrew Morton wrote: > On Wed, 16 Oct 2013 12:32:40 +0100 "Jan Beulich" wrote: > >> Commit c4fe24485729fc2cbff324c111e67a1cc2f9adea ("sparc: fix PCI device >> proc file mmap(2)"), while fixing one problem, introduced two new ones: >> - the function truncates the return

Re: [PATCH v2 00/15] slab: overload struct slab over struct page to reduce memory usage

2013-10-17 Thread Pekka Enberg
On 10/16/13 10:34 PM, Andrew Morton wrote: On Wed, 16 Oct 2013 17:43:57 +0900 Joonsoo Kim wrote: There is two main topics in this patchset. One is to reduce memory usage and the other is to change a management method of free objects of a slab. The SLAB allocate a struct slab for each slab.

Re: How to set fops in "struct platform_pwm_backlight_data"?

2013-10-17 Thread Thierry Reding
On Thu, Oct 17, 2013 at 02:49:57PM +0800, Mark Zhang wrote: > Hi, > > This is the first time I send mail to linux-pwm, I didn't read through > the mails in this list, so if somebody already asked this question, I'm > sorry about that. > > I wanna set some fops in "struct

Es ist Privat

2013-10-17 Thread George Daniels
-- Es ist Privat Ich bin George Daniels, ein Banker und Credit-System-Programmierer (HSBC Bank). Ich sah Ihre E-Mail-Adresse während des Surfens durch die Bank DTC Bildschirm in mein Büro gestern so beschloss ich, diese Chance zu nutzen sehr, Sie kennenzulernen. I glaube, wir sollten jede

Re: [PATCH, RFC] x86-64: properly handle FPU code/data selectors

2013-10-17 Thread Jan Beulich
>>> On 16.10.13 at 20:43, Linus Torvalds wrote: > So having looked at this some more, I would *really* prefer a > different solution. The overwriting of the rip/rdp data just really > annoys me. > > Is there any reason to not just do it like the following instead: > > - get rid of the

Re: [PATCH] cpufreq: Add dummy cpufreq_cpu_get/put for CONFIG_CPU_FREQ=n

2013-10-17 Thread Daniel Vetter
On Thu, Oct 17, 2013 at 01:00:42AM +0200, Rafael J. Wysocki wrote: > On Tuesday, October 08, 2013 10:56:11 AM Daniel Vetter wrote: > > The drm/i915 driver wants to adjust it's own power policies using the > > cpu policies as a guideline (we can implicitly boost the cpus through > > the gpus on

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-17 Thread Joe Perches
On Thu, 2013-10-17 at 02:30 -0400, Chen Gong wrote: > On Wed, Oct 16, 2013 at 07:59:09PM -0700, Joe Perches wrote: [] > > Maybe add a > > > > BUILD_BUG_ON(__builtin_constant_p(l) && __builtin_constant_p(h) && \ > > (h) < (l)) > > > No, if so, users can't use variables for this macro.

Re: [PATCH] ACPI / power: Drop automaitc resume of power resource dependent devices

2013-10-17 Thread Aaron Lu
On 10/16/2013 09:25 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The mechanism causing devices depending on a given power resource > (that is, devices that can be in D0 only if that power resource is > on) to be resumed automatically when the power resource is turned > on (and

How to set fops in "struct platform_pwm_backlight_data"?

2013-10-17 Thread Mark Zhang
Hi, This is the first time I send mail to linux-pwm, I didn't read through the mails in this list, so if somebody already asked this question, I'm sorry about that. I wanna set some fops in "struct platform_pwm_backlight_data". But the currrent probe function in pwm_bl.c says: --- if

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-17 Thread Chen Gong
On Wed, Oct 16, 2013 at 07:59:09PM -0700, Joe Perches wrote: > Date: Wed, 16 Oct 2013 19:59:09 -0700 > From: Joe Perches > To: "Chen, Gong" > Cc: tony.l...@intel.com, b...@alien8.de, naveen.n@linux.vnet.ibm.com, > m.che...@samsung.com, aroza...@redhat.com, linux-a...@vger.kernel.org, >

[PATCH v2] n_gsm: race between ld close and gsmtty open

2013-10-17 Thread channing
ttyA has ld associated to n_gsm, when ttyA is closing, it triggers to release gsmttyB's ld data dlci[B], then race would happen if gsmttyB is opening in parallel. Here are race cases we found recently in test: CASE #1

[PATCH v2 8/8] ARM: add initial support for Marvell Berlin SoCs

2013-10-17 Thread Sebastian Hesselbarth
This adds initial support for the Marvell Berlin (88DE3xxx) SoC family and basic machine setup for Armada 1500 (88DE3100) SoCs. Signed-off-by: Sebastian Hesselbarth Reviewed-by: Jason Cooper Reviewed-by: Thomas Petazzoni Reviewed-by: Arnd Bergmann --- Changelog: v1->v2: - replace 88DE3xxx

[PATCH v2 7/8] ARM: add Armada 1500 and Sony NSZ-GS7 device tree files

2013-10-17 Thread Sebastian Hesselbarth
This adds very basic device tree files for the Marvell Armada 1500 SoC (Berlin BG2) and the Sony NSZ-GS7 GoogleTV board. Currently, SoC only has nodes for cpus, some clocks, l2 cache controller, local timer, apb timers, uart, and interrupt controllers. The Sony NSZ-GS7 is a GoogleTV consumer

[PATCH v2 1/8] irqchip: add DesignWare APB ICTL interrupt controller

2013-10-17 Thread Sebastian Hesselbarth
This adds an irqchip driver and corresponding devicetree binding for the secondary interrupt controllers based on Synopsys DesignWare IP dw_apb_ictl. Signed-off-by: Sebastian Hesselbarth Reviewed-by: Mark Rutland Reviewed-by: Jisheng Zhang --- Changelog: v1->v2: - reword binding docu for reg

[PATCH v2 3/8] ARM: l2x0: add Marvell Tauros3 support

2013-10-17 Thread Sebastian Hesselbarth
This adds support for the Marvell Tauros3 cache controller which is compatible with pl310 cache controller but broadcasts L1 cache operations to L2 cache. While updating the binding documentation, clean up the list of possible compatibles. Also reorder driver compatibles to allow non-ARM derivated

Re: Re: [PATCH V2 2/5] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-10-17 Thread Yoshihiro YUNOMAE
(2013/10/15 11:21), Steven Rostedt wrote: On Fri, 13 Sep 2013 11:06:32 +0900 Yoshihiro YUNOMAE wrote: Apply trace-msg protocol for communication between a server and clients. Currently, trace-listen(server) and trace-record -N(client) operate as follows:

[PATCH v4 7/7] jump_label: use defined macros instead of hard-coding for better readability

2013-10-17 Thread Jiang Liu
From: Jiang Liu Use macro JUMP_LABEL_TRUE_BRANCH instead of hard-coding for better readability. Signed-off-by: Jiang Liu Cc: Jiang Liu --- include/linux/jump_label.h | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/include/linux/jump_label.h

Re: Re: [PATCH V2 0/5] trace-cmd: Support the feature recording trace data of guests on the host

2013-10-17 Thread Yoshihiro YUNOMAE
Hi Steven, (2013/10/15 6:26), Steven Rostedt wrote: On Fri, 13 Sep 2013 11:06:27 +0900 Yoshihiro YUNOMAE wrote: 1. Run virt-server on a host # trace-cmd virt-server 2. Make guest domain directory # mkdir -p /tmp/trace-cmd/virt/ # chmod 710 /tmp/trace-cmd/virt/ # chgrp qemu

[PATCH v4 6/7] arm64, jump label: optimize jump label implementation

2013-10-17 Thread Jiang Liu
From: Jiang Liu Optimize jump label implementation for ARM64 by dynamically patching kernel text. Signed-off-by: Jiang Liu Cc: Jiang Liu --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/jump_label.h | 52 + arch/arm64/kernel/Makefile

[PATCH v4 4/7] arm64: introduce aarch64_insn_gen_{nop|branch_imm}() helper functions

2013-10-17 Thread Jiang Liu
From: Jiang Liu Introduce aarch64_insn_gen_{nop|branch_imm}() helper functions, which will be used to implement jump label on ARM64. Signed-off-by: Jiang Liu Cc: Jiang Liu --- arch/arm64/include/asm/insn.h | 7 +++ arch/arm64/kernel/insn.c | 28 2 files

[PATCH v4 5/7] arm64, jump label: detect %c support for ARM64

2013-10-17 Thread Jiang Liu
From: Jiang Liu As commit a9468f30b5eac6 "ARM: 7333/2: jump label: detect %c support for ARM", this patch detects the same thing for ARM64 because some ARM64 GCC versions have the same issue. Some versions of ARM64 GCC which do support asm goto, do not support the %c specifier. Since we need

[PATCH v4 3/7] arm64: move encode_insn_immediate() from module.c to insn.c

2013-10-17 Thread Jiang Liu
From: Jiang Liu Function encode_insn_immediate() will be used by other instruction manipulate related functions, so move it into insn.c and rename it as aarch64_insn_encode_immediate(). Signed-off-by: Jiang Liu Cc: Jiang Liu --- arch/arm64/include/asm/insn.h | 14

[PATCH v4 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2013-10-17 Thread Jiang Liu
From: Jiang Liu Introduce three interfaces to patch kernel and module code: aarch64_insn_patch_text_nosync(): patch code without synchronization, it's caller's responsibility to synchronize all CPUs if needed. aarch64_insn_patch_text_sync(): patch code and always

[PATCH v4 1/7] arm64: introduce basic aarch64 instruction decoding helpers

2013-10-17 Thread Jiang Liu
From: Jiang Liu Introduce basic aarch64 instruction decoding helper aarch64_get_insn_class() and aarch64_insn_hotpatch_safe(). Signed-off-by: Jiang Liu Cc: Jiang Liu --- arch/arm64/include/asm/insn.h | 67 arch/arm64/kernel/Makefile| 2 +-

[PATCH v4 0/7] Optimize jump label implementation for ARM64

2013-10-17 Thread Jiang Liu
From: Jiang Liu This patchset tries to optimize arch specfic jump label implementation for ARM64 by dynamic kernel text patching. To enable this feature, your toolchain must support "asm goto" extension and "%c" constraint extesion. Current GCC for AARCH64 doesn't support "%c", so you need a

Re: [PATCH] virtio tools: use ansi versions of asm and volatile

2013-10-17 Thread Ramkumar Ramachandra
Rusty Russell wrote: > Ramkumar Ramachandra writes: >> asm and volatile are provided for backward compatibility; use the ansi >> versions __asm__ and __volatile__. > > Really? I don't see that in the gcc documentation. In fact, I didn't > know __volatile__ at all: Try compiling the program

Re: [Resend PATCH 5/5] IA64/PCI/ACPI: Rework PCI root bridge ACPI resource conversion

2013-10-17 Thread Lan Tianyu
On 2013年10月17日 07:55, Bjorn Helgaas wrote: > On Fri, Oct 11, 2013 at 08:19:01PM +0800, tianyu@intel.com wrote: >> From: Lan Tianyu >> >> Using ACPI resource functions to convert ACPI resource to generic resource >> >> Signed-off-by: Lan Tianyu >> --- >> This patch just passes through

Re: [RESEND PATCH v2 2/6] ARM: dts: Specify clocks for UARTs on bcm11351

2013-10-17 Thread Sebastian Hesselbarth
On 10/17/2013 07:41 AM, Christian Daudt wrote: On Wed, Oct 16, 2013 at 2:47 PM, Tim Kryger wrote: Rather than declaring the frequency of the external clock, specify the label of the clock such that the driver may determine the frequency on its own. Signed-off-by: Tim Kryger Reviewed-by:

Re: [PATCH v3] ARM: bcm: Add DEBUG_LL console support

2013-10-17 Thread Christian Daudt
On Sat, Oct 5, 2013 at 8:43 AM, Christian Daudt wrote: > This patch adds low level debug uart support to Broadcom > mobile based SOCs. > > Signed-off-by: Christian Daudt > > Changes from V2: > - Changed to follow hex ordering on entries > - Dropped defconfig changes > > Changes from V1: > -

Re: [PATCH] sound: pci: emu10k1: code refactoring and casting removal

2013-10-17 Thread Takashi Iwai
At Wed, 16 Oct 2013 19:11:21 -0300, Geyslan G. Bem wrote: > > Partially restructures _snd_emu10k1_audigy_init_efx() and > _snd_emu10k1_init_efx() functions. > > Removes useless casting (void *) from value returned by kcalloc; > see Documentation/CodingStyle, Chap 14. > > Signed-off-by: Geyslan

[PATCH v2 2/5] slab: introduce helper functions to get/set free object

2013-10-17 Thread Joonsoo Kim
In the following patches, to get/set free objects from the freelist is changed so that simple casting doesn't work for it. Therefore, introduce helper functions. Acked-by: Christoph Lameter Signed-off-by: Joonsoo Kim diff --git a/mm/slab.c b/mm/slab.c index cb0a734..ec197b9 100644 ---

Re: [PATCH 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2013-10-17 Thread Christian Daudt
On Thu, Oct 3, 2013 at 5:23 PM, Sherman Yin wrote: > Adds pinctrl driver for Broadcom Capri (BCM281xx) SoCs. > > Signed-off-by: Sherman Yin > Reviewed-by: Christian Daudt > Reviewed-by: Matt Porter > --- > arch/arm/mach-bcm/Kconfig |2 + > drivers/pinctrl/Kconfig | 10 + >

[PATCH v2 3/5] slab: restrict the number of objects in a slab

2013-10-17 Thread Joonsoo Kim
To prepare to implement byte sized index for managing the freelist of a slab, we should restrict the number of objects in a slab to be less or equal to 256, since byte only represent 256 different values. Setting the size of object to value equal or more than newly introduced SLAB_MIN_SIZE ensures

[PATCH v2 0/5] slab: implement byte sized indexes for the freelist of a slab

2013-10-17 Thread Joonsoo Kim
This patchset implements byte sized indexes for the freelist of a slab. Currently, the freelist of a slab consist of unsigned int sized indexes. Most of slabs have less number of objects than 256, so much space is wasted. To reduce this overhead, this patchset implements byte sized indexes for

[PATCH v2 5/5] slab: make more slab management structure off the slab

2013-10-17 Thread Joonsoo Kim
Now, the size of the freelist for the slab management diminish, so that the on-slab management structure can waste large space if the object of the slab is large. Consider a 128 byte sized slab. If on-slab is used, 31 objects can be in the slab. The size of the freelist for this case would be 31

[PATCH v2 4/5] slab: introduce byte sized index for the freelist of a slab

2013-10-17 Thread Joonsoo Kim
Currently, the freelist of a slab consist of unsigned int sized indexes. Since most of slabs have less number of objects than 256, large sized indexes is waste. For example, consider the minimum kmalloc slab. It's object size is 32 byte and it would consist of one page, so 256 indexes through byte

[PATCH v2 1/5] slab: factor out calculate nr objects in cache_estimate

2013-10-17 Thread Joonsoo Kim
This logic is not simple to understand so that making separate function helping readability. Additionally, we can use this change in the following patch which implement for freelist to have another sized index in according to nr objects. Signed-off-by: Joonsoo Kim diff --git a/mm/slab.c

Re: [PATCH v2 00/15] slab: overload struct slab over struct page to reduce memory usage

2013-10-17 Thread Joonsoo Kim
On Wed, Oct 16, 2013 at 01:34:57PM -0700, Andrew Morton wrote: > On Wed, 16 Oct 2013 17:43:57 +0900 Joonsoo Kim wrote: > > > There is two main topics in this patchset. One is to reduce memory usage > > and the other is to change a management method of free objects of a slab. > > > > The SLAB

Re: [PATCH v2 00/15] slab: overload struct slab over struct page to reduce memory usage

2013-10-17 Thread Joonsoo Kim
On Wed, Oct 16, 2013 at 01:34:57PM -0700, Andrew Morton wrote: On Wed, 16 Oct 2013 17:43:57 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: There is two main topics in this patchset. One is to reduce memory usage and the other is to change a management method of free objects of a slab.

[PATCH v2 1/5] slab: factor out calculate nr objects in cache_estimate

2013-10-17 Thread Joonsoo Kim
This logic is not simple to understand so that making separate function helping readability. Additionally, we can use this change in the following patch which implement for freelist to have another sized index in according to nr objects. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff

[PATCH v2 5/5] slab: make more slab management structure off the slab

2013-10-17 Thread Joonsoo Kim
Now, the size of the freelist for the slab management diminish, so that the on-slab management structure can waste large space if the object of the slab is large. Consider a 128 byte sized slab. If on-slab is used, 31 objects can be in the slab. The size of the freelist for this case would be 31

[PATCH v2 4/5] slab: introduce byte sized index for the freelist of a slab

2013-10-17 Thread Joonsoo Kim
Currently, the freelist of a slab consist of unsigned int sized indexes. Since most of slabs have less number of objects than 256, large sized indexes is waste. For example, consider the minimum kmalloc slab. It's object size is 32 byte and it would consist of one page, so 256 indexes through byte

[PATCH v2 0/5] slab: implement byte sized indexes for the freelist of a slab

2013-10-17 Thread Joonsoo Kim
This patchset implements byte sized indexes for the freelist of a slab. Currently, the freelist of a slab consist of unsigned int sized indexes. Most of slabs have less number of objects than 256, so much space is wasted. To reduce this overhead, this patchset implements byte sized indexes for

Re: [PATCH 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2013-10-17 Thread Christian Daudt
On Thu, Oct 3, 2013 at 5:23 PM, Sherman Yin s...@broadcom.com wrote: Adds pinctrl driver for Broadcom Capri (BCM281xx) SoCs. Signed-off-by: Sherman Yin s...@broadcom.com Reviewed-by: Christian Daudt b...@fixthebug.org Reviewed-by: Matt Porter matt.por...@linaro.org ---

[PATCH v2 3/5] slab: restrict the number of objects in a slab

2013-10-17 Thread Joonsoo Kim
To prepare to implement byte sized index for managing the freelist of a slab, we should restrict the number of objects in a slab to be less or equal to 256, since byte only represent 256 different values. Setting the size of object to value equal or more than newly introduced SLAB_MIN_SIZE ensures

[PATCH v2 2/5] slab: introduce helper functions to get/set free object

2013-10-17 Thread Joonsoo Kim
In the following patches, to get/set free objects from the freelist is changed so that simple casting doesn't work for it. Therefore, introduce helper functions. Acked-by: Christoph Lameter c...@linux.com Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/slab.c b/mm/slab.c index

Re: [PATCH] sound: pci: emu10k1: code refactoring and casting removal

2013-10-17 Thread Takashi Iwai
At Wed, 16 Oct 2013 19:11:21 -0300, Geyslan G. Bem wrote: Partially restructures _snd_emu10k1_audigy_init_efx() and _snd_emu10k1_init_efx() functions. Removes useless casting (void *) from value returned by kcalloc; see Documentation/CodingStyle, Chap 14. Signed-off-by: Geyslan G. Bem

Re: [PATCH v3] ARM: bcm: Add DEBUG_LL console support

2013-10-17 Thread Christian Daudt
On Sat, Oct 5, 2013 at 8:43 AM, Christian Daudt b...@fixthebug.org wrote: This patch adds low level debug uart support to Broadcom mobile based SOCs. Signed-off-by: Christian Daudt b...@fixthebug.org Changes from V2: - Changed to follow hex ordering on entries - Dropped defconfig

Re: [RESEND PATCH v2 2/6] ARM: dts: Specify clocks for UARTs on bcm11351

2013-10-17 Thread Sebastian Hesselbarth
On 10/17/2013 07:41 AM, Christian Daudt wrote: On Wed, Oct 16, 2013 at 2:47 PM, Tim Kryger tim.kry...@linaro.org wrote: Rather than declaring the frequency of the external clock, specify the label of the clock such that the driver may determine the frequency on its own. Signed-off-by: Tim

Re: [Resend PATCH 5/5] IA64/PCI/ACPI: Rework PCI root bridge ACPI resource conversion

2013-10-17 Thread Lan Tianyu
On 2013年10月17日 07:55, Bjorn Helgaas wrote: On Fri, Oct 11, 2013 at 08:19:01PM +0800, tianyu@intel.com wrote: From: Lan Tianyu tianyu@intel.com Using ACPI resource functions to convert ACPI resource to generic resource Signed-off-by: Lan Tianyu tianyu@intel.com --- This patch

Re: [PATCH] virtio tools: use ansi versions of asm and volatile

2013-10-17 Thread Ramkumar Ramachandra
Rusty Russell wrote: Ramkumar Ramachandra artag...@gmail.com writes: asm and volatile are provided for backward compatibility; use the ansi versions __asm__ and __volatile__. Really? I don't see that in the gcc documentation. In fact, I didn't know __volatile__ at all: Try compiling the

[PATCH v4 0/7] Optimize jump label implementation for ARM64

2013-10-17 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com This patchset tries to optimize arch specfic jump label implementation for ARM64 by dynamic kernel text patching. To enable this feature, your toolchain must support asm goto extension and %c constraint extesion. Current GCC for AARCH64 doesn't support %c, so

[PATCH v4 1/7] arm64: introduce basic aarch64 instruction decoding helpers

2013-10-17 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Introduce basic aarch64 instruction decoding helper aarch64_get_insn_class() and aarch64_insn_hotpatch_safe(). Signed-off-by: Jiang Liu jiang@huawei.com Cc: Jiang Liu liu...@gmail.com --- arch/arm64/include/asm/insn.h | 67

[PATCH v4 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2013-10-17 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Introduce three interfaces to patch kernel and module code: aarch64_insn_patch_text_nosync(): patch code without synchronization, it's caller's responsibility to synchronize all CPUs if needed. aarch64_insn_patch_text_sync(): patch code

[PATCH v4 3/7] arm64: move encode_insn_immediate() from module.c to insn.c

2013-10-17 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Function encode_insn_immediate() will be used by other instruction manipulate related functions, so move it into insn.c and rename it as aarch64_insn_encode_immediate(). Signed-off-by: Jiang Liu jiang@huawei.com Cc: Jiang Liu liu...@gmail.com ---

[PATCH v4 4/7] arm64: introduce aarch64_insn_gen_{nop|branch_imm}() helper functions

2013-10-17 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Introduce aarch64_insn_gen_{nop|branch_imm}() helper functions, which will be used to implement jump label on ARM64. Signed-off-by: Jiang Liu jiang@huawei.com Cc: Jiang Liu liu...@gmail.com --- arch/arm64/include/asm/insn.h | 7 +++

[PATCH v4 5/7] arm64, jump label: detect %c support for ARM64

2013-10-17 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com As commit a9468f30b5eac6 ARM: 7333/2: jump label: detect %c support for ARM, this patch detects the same thing for ARM64 because some ARM64 GCC versions have the same issue. Some versions of ARM64 GCC which do support asm goto, do not support the %c

[PATCH v4 6/7] arm64, jump label: optimize jump label implementation

2013-10-17 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Optimize jump label implementation for ARM64 by dynamically patching kernel text. Signed-off-by: Jiang Liu jiang@huawei.com Cc: Jiang Liu liu...@gmail.com --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/jump_label.h | 52

Re: Re: [PATCH V2 0/5] trace-cmd: Support the feature recording trace data of guests on the host

2013-10-17 Thread Yoshihiro YUNOMAE
Hi Steven, (2013/10/15 6:26), Steven Rostedt wrote: On Fri, 13 Sep 2013 11:06:27 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: How to use 1. Run virt-server on a host # trace-cmd virt-server 2. Make guest domain directory # mkdir -p /tmp/trace-cmd/virt/domain #

[PATCH v4 7/7] jump_label: use defined macros instead of hard-coding for better readability

2013-10-17 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Use macro JUMP_LABEL_TRUE_BRANCH instead of hard-coding for better readability. Signed-off-by: Jiang Liu jiang@huawei.com Cc: Jiang Liu liu...@gmail.com --- include/linux/jump_label.h | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-)

Re: Re: [PATCH V2 2/5] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-10-17 Thread Yoshihiro YUNOMAE
(2013/10/15 11:21), Steven Rostedt wrote: On Fri, 13 Sep 2013 11:06:32 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: Apply trace-msg protocol for communication between a server and clients. Currently, trace-listen(server) and trace-record -N(client) operate as follows:

[PATCH v2 1/8] irqchip: add DesignWare APB ICTL interrupt controller

2013-10-17 Thread Sebastian Hesselbarth
This adds an irqchip driver and corresponding devicetree binding for the secondary interrupt controllers based on Synopsys DesignWare IP dw_apb_ictl. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Reviewed-by: Mark Rutland mark.rutl...@arm.com Reviewed-by: Jisheng Zhang

[PATCH v2 3/8] ARM: l2x0: add Marvell Tauros3 support

2013-10-17 Thread Sebastian Hesselbarth
This adds support for the Marvell Tauros3 cache controller which is compatible with pl310 cache controller but broadcasts L1 cache operations to L2 cache. While updating the binding documentation, clean up the list of possible compatibles. Also reorder driver compatibles to allow non-ARM derivated

[PATCH v2 7/8] ARM: add Armada 1500 and Sony NSZ-GS7 device tree files

2013-10-17 Thread Sebastian Hesselbarth
This adds very basic device tree files for the Marvell Armada 1500 SoC (Berlin BG2) and the Sony NSZ-GS7 GoogleTV board. Currently, SoC only has nodes for cpus, some clocks, l2 cache controller, local timer, apb timers, uart, and interrupt controllers. The Sony NSZ-GS7 is a GoogleTV consumer

[PATCH v2 8/8] ARM: add initial support for Marvell Berlin SoCs

2013-10-17 Thread Sebastian Hesselbarth
This adds initial support for the Marvell Berlin (88DE3xxx) SoC family and basic machine setup for Armada 1500 (88DE3100) SoCs. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Reviewed-by: Jason Cooper ja...@lakedaemon.net Reviewed-by: Thomas Petazzoni

[PATCH v2] n_gsm: race between ld close and gsmtty open

2013-10-17 Thread channing
ttyA has ld associated to n_gsm, when ttyA is closing, it triggers to release gsmttyB's ld data dlci[B], then race would happen if gsmttyB is opening in parallel. Here are race cases we found recently in test: CASE #1

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