Re: [PATCH V2 8/9] perf tools: Adjust kallsyms for relocated kernel

2014-01-30 Thread Adrian Hunter
On 29/01/14 21:08, Arnaldo Carvalho de Melo wrote: > Em Wed, Jan 29, 2014 at 04:14:43PM +0200, Adrian Hunter escreveu: >> If the kernel is relocated at boot time, kallsyms >> will not match data recorded previously. That >> does not matter for modules because they are >> corrected anyway. It also

Re: [PATCH] firmware: give a protection when map page failed

2014-01-30 Thread Ming Lei
Hi Zhang Jun, On Wed, Jan 29, 2014 at 10:23 AM, Zhang, Jun wrote: > From 9c23aedc1c1a1446dae96ffec8f20a2f52942281 Mon Sep 17 00:00:00 2001 > From: jzha144 > Date: Wed, 29 Jan 2014 09:57:05 +0800 > Subject: [PATCH] firmware: give a protection when map page failed > > [ 7341.474236] [drm:do_intel_

[no subject]

2014-01-30 Thread infoo moore
-- Good Day Friend, My name is Mrs Emma dongo douglas have been suffering from Brest cancer am based in burkina faso in west africa ,formerly dealing in cotton and gold exportation ,am fron tunisia but spent all my life in burkina faso ,the doctor said i have few days to live ,so i decided to do

Re: [linux-sunxi] Re: [RFC PATCH v2 09/14] mtd: nand: add sunxi NFC dt bindings doc

2014-01-30 Thread boris brezillon dev
Hello Henrik, On 29/01/2014 23:37, Henrik Nordström wrote: ons 2014-01-29 klockan 11:11 -0600 skrev Rob Herring: Isn't allwinner,rb implied by a lack of rb-gpios property. Or no R/B pin is an option? If so, don't you need some fixed time delay properties like max erase time? rb-gpios could be

Re: [linux-sunxi] Re: [RFC PATCH v2 09/14] mtd: nand: add sunxi NFC dt bindings doc

2014-01-30 Thread boris brezillon dev
Hello Henrik, Sorry for the noise, I sent the mail to Rob's old address. On 29/01/2014 23:37, Henrik Nordström wrote: ons 2014-01-29 klockan 11:11 -0600 skrev Rob Herring: Isn't allwinner,rb implied by a lack of rb-gpios property. Or no R/B pin is an option? If so, don't you need some fixed t

[PATCH] /dev/mem: handle out-of-bounds read/write

2014-01-30 Thread Petr Tesarik
The loff_t type may be wider than phys_addr_t (e.g. on 32-bit systems). Consequently, the file offset may be truncated in the assignment. Currently, /dev/mem wraps around, which may cause applications to read or write incorrect regions of memory by accident. Let's follow POSIX file semantics here

Re: [GIT PULL timers] Timer-wheel bandaids^Wcommits

2014-01-30 Thread Paul E. McKenney
On Thu, Jan 30, 2014 at 11:14:57AM +0530, Preeti Murthy wrote: > Hi Paul, > > The commit id:e1d690cdc07637131ba4334: timers: Track total number of > timers in list has > a minor glitch in the changelog. > > I am referring to your > git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.g

Re: [PATCH v3 0/2] qspinlock: Introducing a 4-byte queue spinlock

2014-01-30 Thread Raghavendra K T
On 01/28/2014 11:49 PM, Waiman Long wrote: v2->v3: - Simplify the code by using numerous mode only without an unfair option. - Use the latest smp_load_acquire()/smp_store_release() barriers. - Move the queue spinlock code to kernel/locking. - Make the use of queue spinlock the default for

Re: x86: disabled interrupts on shutdown causing tlb flush WARNs

2014-01-30 Thread Ingo Molnar
* Don Zickus wrote: > Hi Ingo, > > A while ago patch 55c844a4dd16a4d1fdc0cf2a283ec631a02ec448 was committed > to deal with WARN_ONs during shutdown in native_smp_send_reschedule() (in > arch/x86/kernel/smp.c). > > The solution at the time was to disable local interrupts to block the > timer in

Re: [PATCH] kconfig: consolidate arch-specific seccomp options

2014-01-30 Thread Ingo Molnar
* Dave Hansen wrote: > > There are some minor updates here from last time: > * added a def_bool instead of separate lines in config > * clarified that the /proc interface is *GONE* > > cc'ing a bunch of folks directly now instead of depending > on linux-arch@ to awaken them. I think it's mo

Re: [linux-sunxi] Re: [RFC PATCH v2 08/14] mtd: nand: add sunxi NAND flash controller support

2014-01-30 Thread Boris BREZILLON
On 29/01/2014 20:10, Jason Gunthorpe wrote: On Wed, Jan 29, 2014 at 03:46:20PM -0300, Ezequiel Garcia wrote: After CE# has been pulled high and then transitioned low again, the host should issue a Set Features to select the appropriate asynchronous timing mode. """ Oh, I had forgot you should

Re: [PATCH V2 1/9] perf tools: Fix symbol annotation for relocated kernel

2014-01-30 Thread Ingo Molnar
* Adrian Hunter wrote: > On 29/01/14 20:57, Arnaldo Carvalho de Melo wrote: > > Em Wed, Jan 29, 2014 at 04:14:36PM +0200, Adrian Hunter escreveu: > >> Kernel maps map memory addresses to file offsets. > >> For symbol annotation, objdump needs the object VMA > >> addresses. For an unrelocated ke

Re: [tip:x86/build] x86, boot: Fix word-size assumptions in has_eflag () inline asm

2014-01-30 Thread Ingo Molnar
* tip-bot for David Woodhouse wrote: > Commit-ID: 9b3614ccfa5492f57f743f3856253f285b10a702 > Gitweb: http://git.kernel.org/tip/9b3614ccfa5492f57f743f3856253f285b10a702 > Author: David Woodhouse > AuthorDate: Wed, 29 Jan 2014 12:01:37 + > Committer: H. Peter Anvin > CommitDate: We

Re: [PATCH 2/6] virtio_blk: don't crash, report error if virtqueue is broken.

2014-01-30 Thread Heinz Graalfs
On 15/01/14 03:36, Rusty Russell wrote: A bad implementation of virtio might cause us to mark the virtqueue broken: we'll dev_err() in that case, and the device is useless, but let's not BUG_ON(). ENOMEM or ENOSPC implies the ring is full, and we should try again later (-ENOMEM is documented to

Re: [PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-30 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Tue, Jan 28, 2014 at 06:43:58PM -0500, Tejun Heo wrote: > > * With the above, renaming subsys identifiers to match the userland > > visible names doesn't cause any naming conflicts. All non-matching > > identifiers are renamed to match the official names. > > >

Re: [PATCH v4] HID: New hid-cp2112 driver

2014-01-30 Thread Oliver Neukum
On Wed, 2014-01-29 at 15:46 -0800, Joe Perches wrote: > > +static int cp2112_hid_get(struct hid_device *hdev, unsigned char > > report_number, > > + u8 *data, size_t count, unsigned char report_type) > > +{ > > + u8 *buf; > > + int ret; > > + > > + buf = kmalloc(count, G

Re: [PATCH] kconfig: consolidate arch-specific seccomp options

2014-01-30 Thread Benjamin Herrenschmidt
On Thu, 2014-01-30 at 09:55 +0100, Ingo Molnar wrote: > * Dave Hansen wrote: > > From: Dave Hansen > > > > There are 7 architecures with "config SECCOMP". They all have > > virtually the same help text except for those referencing the > > /proc interface. The /proc interface was removed in 20

Re: [PATCH V2 1/9] perf tools: Fix symbol annotation for relocated kernel

2014-01-30 Thread Adrian Hunter
On 30/01/14 10:59, Ingo Molnar wrote: > > * Adrian Hunter wrote: > >> On 29/01/14 20:57, Arnaldo Carvalho de Melo wrote: >>> Em Wed, Jan 29, 2014 at 04:14:36PM +0200, Adrian Hunter escreveu: Kernel maps map memory addresses to file offsets. For symbol annotation, objdump needs the obje

Re: [PATCH V2 1/9] perf tools: Fix symbol annotation for relocated kernel

2014-01-30 Thread Ingo Molnar
* Adrian Hunter wrote: > On 30/01/14 10:59, Ingo Molnar wrote: > > > > * Adrian Hunter wrote: > > > >> On 29/01/14 20:57, Arnaldo Carvalho de Melo wrote: > >>> Em Wed, Jan 29, 2014 at 04:14:36PM +0200, Adrian Hunter escreveu: > Kernel maps map memory addresses to file offsets. > For

Re: [GIT PULL] x86/kaslr for v3.14

2014-01-30 Thread Ingo Molnar
* Mathias Krause wrote: > On 29 January 2014 09:11, Ingo Molnar wrote: > >> But you can see that the symbol is perfectly fine: > >> > >> (gdb) list *(schedule+0x45) > > > > Oh, cool. Thanks for that trick - this will save me quite some time in > > the future. > > > > So we can strip absolute

Re: [PATCH v5 00/22] Rewrite XIP code and add XIP support to ext4

2014-01-30 Thread Dave Chinner
On Thu, Jan 30, 2014 at 05:42:30PM +1100, Dave Chinner wrote: > On Wed, Jan 15, 2014 at 08:24:18PM -0500, Matthew Wilcox wrote: > > This series of patches add support for XIP to ext4. Unfortunately, > > it turns out to be necessary to rewrite the existing XIP support code > > first due to races th

Re: [PATCH v2 5/6] X86: remove redundant cpuidle_idle_call()

2014-01-30 Thread Peter Zijlstra
On Wed, Jan 29, 2014 at 03:14:40PM -0500, Nicolas Pitre wrote: > Looking into some cpuidle drivers for x86 I found at least one that > doesn't respect this convention. Damn. Which one? We should probably fix it :-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH 0/2] [BUG FIXES - 3.10.27] sit: More backports

2014-01-30 Thread Nicolas Dichtel
Le 29/01/2014 21:48, Steven Rostedt a écrit : On Wed, 29 Jan 2014 17:04:12 +0100 Nicolas Dichtel wrote: Your patch serie seems to be the good way to go (note that patch 1/2 does not compile) but I think the fix is smaller because we don't have x-netns. Here is my proposal, if you agree, I wil

Re: [PATCH v2 0/6] setting the table for integration of cpuidle with the scheduler

2014-01-30 Thread Peter Zijlstra
On Wed, Jan 29, 2014 at 12:45:07PM -0500, Nicolas Pitre wrote: > As everyone should know by now, we want to integrate the cpuidle > governor with the scheduler for a more efficient idling of CPUs. > In order to help the transition, this small patch series moves the > existing interaction with cpuid

Re: [PATCH V2 9/9] perf buildid-cache: Check relocation when checking for existing kcore

2014-01-30 Thread Adrian Hunter
On 29/01/14 21:14, Arnaldo Carvalho de Melo wrote: > Em Wed, Jan 29, 2014 at 04:14:44PM +0200, Adrian Hunter escreveu: >> perf buildid-cache does not make another >> copy of kcore if the buildid and modules >> match an existing copy. That does not > > Humm, what is the problem? Having the ref rel

[PATCH v4 0/4] power_supply: Introduce power supply charging driver

2014-01-30 Thread Jenny TC
v1: introduced feature as a framework within power supply class driver with separate files for battid framework and charging framework v2: fixed review comments, moved macros and inline functions to power_supply.h v3: moved the feature as a separate driver, combined battid framework and

[PATCH 4/4] power_supply: bq24261 charger driver

2014-01-30 Thread Jenny TC
This patch introduces BQ24261 charger driver. The driver makes use of power supply charging driver to setup charging. So the driver does hardware abstraction and handles h/w specific corner cases. The charging logic resides with power supply charging driver Signed-off-by: Jenny TC --- drivers/po

[PATCH 3/4] power_supply: Introduce PSE compliant algorithm

2014-01-30 Thread Jenny TC
As per Product Safety Engineering (PSE) specification for battery charging, the battery characteristics and thereby the charging rates can vary on different temperature zones. This patch introduces a PSE compliant charging algorithm with maintenance charging support. The algorithm can be selected b

[PATCH 1/4] power_supply: Add inlmt,iterm, min/max temp props

2014-01-30 Thread Jenny TC
Add new power supply properties for input current, charge termination current, min and max temperature POWER_SUPPLY_PROP_TEMP_MIN - minimum operatable temperature POWER_SUPPLY_PROP_TEMP_MAX - maximum operatable temperature POWER_SUPPLY_PROP_INLMT - input current limit programmed by charger. Indic

Re: [PATCH v3 0/6] efuse driver for Tegra

2014-01-30 Thread Peter De Schrijver
On Wed, Jan 29, 2014 at 04:00:27PM +0100, Paul Gortmaker wrote: > On Tue, Jan 28, 2014 at 6:36 PM, Peter De Schrijver > wrote: > > This driver allows userspace to read the raw efuse data. Its userspace > > interface is modelled after the sunxi_sid driver which provides similar > > functionality fo

Re: [PATCH v4] HID: New hid-cp2112 driver

2014-01-30 Thread Joe Perches
On Thu, 2014-01-30 at 08:35 +0100, Oliver Neukum wrote: > On Wed, 2014-01-29 at 15:46 -0800, Joe Perches wrote: > > > > +static int cp2112_hid_get(struct hid_device *hdev, unsigned char > > > report_number, > > > + u8 *data, size_t count, unsigned char report_type) > > > +{ > >

Re: [PATCH] mm, hugetlb: gimme back my page

2014-01-30 Thread Michal Hocko
On Wed 29-01-14 22:37:03, Davidlohr Bueso wrote: > From: Davidlohr Bueso > > While testing some changes, I noticed an issue triggered by the libhugetlbfs > test-suite. This is caused by commit 309381fe (mm: dump page when hitting a > VM_BUG_ON using VM_BUG_ON_PAGE), where an application can unexp

[GIT PULL for v3.14-rc1] media updates

2014-01-30 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus for: - a new jpeg codec driver for Samsung Exynos (jpeg-hw-exynos4); - a new dvb frontend for ds2103 chipset (m88ds2103); - a new sensor driver for Samsun

[PATCH 1/2] iio: add IIO_DISTANCE type

2014-01-30 Thread Matt Ranostay
Signed-off-by: Matt Ranostay --- drivers/iio/industrialio-core.c | 1 + include/linux/iio/types.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index acc911a..ac999ab 100644 --- a/drivers/iio/industrialio-core.c +++ b

[PATCH 2/2] iio: Add AS3935 lightning sensor support

2014-01-30 Thread Matt Ranostay
AS3935 chipset can detect lightning strikes and reports those back as events and the esimated distance to the storm. Signed-off-by: Matt Ranostay --- .../devicetree/bindings/iio/distance/as3935.txt| 25 ++ drivers/iio/Kconfig| 1 + drivers/iio/Makefile

[PATCH linux-3.10.y 1/3] sit: fix double free of fb_tunnel_dev on exit

2014-01-30 Thread Nicolas Dichtel
This problem was fixed upstream by commit 9434266f2c64 ("sit: fix use after free of fb_tunnel_dev"). The upstream patch depends on upstream commit 5e6700b3bf98 ("sit: add support of x-netns"), which was not backported into 3.10 branch. First, explain the problem: when the sit module is unloaded, s

[PATCH linux-3.10.y 2/3] Revert "ip6tnl: fix use after free of fb_tnl_dev"

2014-01-30 Thread Nicolas Dichtel
This reverts commit 22c3ec552c29cf4bd4a75566088950fe57d860c4. This patch is not the right fix, it introduces a memory leak when a netns is destroyed (the FB device is never deleted). Signed-off-by: Nicolas Dichtel --- net/ipv6/ip6_tunnel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/n

[PATCH linux-3.10.y 3/3] ip6tnl: fix double free of fb_tnl_dev on exit

2014-01-30 Thread Nicolas Dichtel
This problem was fixed upstream by commit 1e9f3d6f1c40 ("ip6tnl: fix use after free of fb_tnl_dev"). The upstream patch depends on upstream commit 0bd8762824e7 ("ip6tnl: add x-netns support"), which was not backported into 3.10 branch. First, explain the problem: when the ip6_tunnel module is unlo

Re: [PATCH 0/4] clk: mvebu: fix clk init order

2014-01-30 Thread Gregory CLEMENT
Hi Sebastian, On 25/01/2014 19:19, Sebastian Hesselbarth wrote: > This patch set fixes clk init order that went upside-down with > v3.14. I haven't really investigated what caused this, but I assume > it is related with DT node reordering by addresses. Can you explain what kind of issue do you ob

Re: [tip:x86/build] x86, boot: Fix word-size assumptions in has_eflag () inline asm

2014-01-30 Thread Woodhouse, David
On Thu, 2014-01-30 at 10:09 +0100, Ingo Molnar wrote: > > This broke the build though: > > arch/x86/boot/compressed/../cpuflags.c: Assembler messages: > arch/x86/boot/compressed/../cpuflags.c:35: Error: invalid instruction > suffix for `pushf' Ah, that only happens with CONFIG_RANDOMIZE_BASE, so

Re: [PATCH 0/4] clk: mvebu: fix clk init order

2014-01-30 Thread Sebastian Hesselbarth
On 01/30/14 11:24, Gregory CLEMENT wrote: On 25/01/2014 19:19, Sebastian Hesselbarth wrote: This patch set fixes clk init order that went upside-down with v3.14. I haven't really investigated what caused this, but I assume it is related with DT node reordering by addresses. Can you explain wha

Re: [PATCH 2/2] iio: Add AS3935 lightning sensor support

2014-01-30 Thread Peter Meerwald
> AS3935 chipset can detect lightning strikes and reports those > back as events and the esimated distance to the storm. pretty cool :) the distance thing should be documented in Documentation/ABI/testing/sysfs-bus-iio -- which unit (meters?) for example sysfs attributes such as boost should

Re: [PATCH driver-core-linus] kernfs: make kernfs_deactivate() honor KERNFS_LOCKDEP flag

2014-01-30 Thread Jiri Kosina
On Wed, 29 Jan 2014, Tejun Heo wrote: > kernfs_deactivate() forgot to check whether KERNFS_LOCKDEP is set > before performing lockdep annotations and ends up feeding > uninitialized lockdep_map to lockdep triggering warning like the > following on USB stick hotunplug. > > usb 1-2: USB disconnect

Re: [GIT PULL] Ceph updates for -rc1

2014-01-30 Thread Christoph Hellwig
On Wed, Jan 29, 2014 at 06:30:00AM -0800, Sage Weil wrote: > The set_acl inode_operation wasn't getting set, and the prototype needed > to be adjusted a bit (it doesn't take a dentry anymore). All seems to be > well with the below patch. Btw, there's a few minor bits that should go on top of yo

[PATCH 2/4] Add new func _install_special_mapping() to mmap.c

2014-01-30 Thread stefani
From: Stefani Seibold The _install_special_mapping() is the new base function for install_special_mapping(). This function will return a pointer of the created VMA or a error code in an ERR_PTR() This new function will be needed by the for the vdso 32 bit support to map the additonal vvar and hp

[PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-01-30 Thread stefani
From: Stefani Seibold This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani Seibold --- arch/x86/

[PATCH V3 4/8] phy: Initialize phy core with subsys_initcall

2014-01-30 Thread Mohit Kumar
From: Pratyush Anand PCIe RC drivers are initialized with subsys_initcall. Few PCIe drivers like SPEAr13xx needs phy drivers to be initialized. Therefore initialize phy core driver with subsys_initcall to avoid calling of phy_get before phy_class is created. Signed-off-by: Pratyush Anand Cc: M

[PATCH 0/4] Add 32 bit VDSO time function support

2014-01-30 Thread stefani
From: Stefani Seibold This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. The reason to do this was to get a fast reliable time stamp. Many developers uses TSC to get a fast time stamp, without knowing the pitfalls. VDSO time functions a fas

[PATCH 3/4] Add 32 bit VDSO support for 32 kernel

2014-01-30 Thread stefani
From: Stefani Seibold This patch add the support for 32 bit VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. Signed-off-by: Stefani Seibold --- arch/x86/include/asm/elf.h| 2 +-

[PATCH 4/4] Add 32 bit VDSO support for 64 kernel

2014-01-30 Thread stefani
From: Stefani Seibold This patch add the support for the IA32 Emulation Layer to run 32 bit applications on a 64 bit kernel. Due the nature of the kernel headers and the LP64 compiler where the size of a long and a pointer differs against a 32 bit compiler, there is a lot of type hacking necessa

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-30 Thread Mel Gorman
On Wed, Jan 29, 2014 at 09:52:46PM -0700, Matthew Wilcox wrote: > On Fri, Jan 24, 2014 at 10:57:48AM +, Mel Gorman wrote: > > So far on the table is > > > > 1. major filesystem overhawl > > 2. major vm overhawl > > 3. use compound pages as they are today and hope it does not go > >complete

Re: [PATCH 8/9] sched: Clean up idle task SMP logic

2014-01-30 Thread Vincent Guittot
Hi Peter, Acked-by: Vincent Guittot Vincent On 28 January 2014 18:16, Peter Zijlstra wrote: > The idle post_schedule hook is just a vile waste of time, furthermore > it appears unneeded, move the idle_enter_fair() call into > pick_next_task_idle(). > > Cc: Daniel Lezcano > Cc: Vincent Guittot

power_supply mailing list

2014-01-30 Thread Jenny Tc
Hi, Do we have any mailing list for power_supply subsystem? If not what about having one - linux-power-sup...@vger.kernel.org? Thanks Jenny -- 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 at htt

[PATCH v2] x86, boot: Fix word-size assumptions in has_eflag () inline asm

2014-01-30 Thread David Woodhouse
Commit dd78b97367bd575918204cc89107c1479d3fc1a7 ("x86, boot: Move CPU flags out of cpucheck") introduced ambiguous inline asm in the has_eflag() function. In 16-bit mode want the instruction to be 'pushfl', but we just say 'pushf' and hope the compiler does what we wanted. When building with 'clan

Re: same ext4 file system corruption on different machines

2014-01-30 Thread Luca Ognibene
Il giorno mer, 29/01/2014 alle 12.38 -0500, Theodore Ts'o ha scritto: > On Wed, Jan 29, 2014 at 02:05:43PM +0100, Luca Ognibene wrote: > > I say "same ext4 file system corruption" because e2fsck reports errors > > on inodes around 127233 on all file systems.a I'm not sure about the > > syslog error

Re: [RFC PATCH v2 08/14] mtd: nand: add sunxi NAND flash controller support

2014-01-30 Thread Boris BREZILLON
On 29/01/2014 15:34, Boris BREZILLON wrote: Add support for the sunxi NAND Flash Controller (NFC). Signed-off-by: Boris BREZILLON --- drivers/mtd/nand/Kconfig |6 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/sunxi_nand.c | 744

Re: [PATCH v5] spi: rspi: Add DT support

2014-01-30 Thread Mark Brown
On Wed, Jan 29, 2014 at 08:10:34PM +0100, Geert Uytterhoeven wrote: > On Wed, Jan 29, 2014 at 7:00 PM, Mark Brown wrote: > > well? > As there were no code changes in v5 of "spi: rspi: Add DT support", > Patch "[14/14] spi: rspi: Add support for Quad and Dual SPI Transfers on QSPI" > should still

Re: [PATCH] HID: i2c-hid: add runtime PM support

2014-01-30 Thread Mika Westerberg
On Wed, Jan 29, 2014 at 09:57:00AM -0500, Benjamin Tissoires wrote: > That's great. I hope this will also fix my Lenovo Miix 2 (the T100 is > too expensive compared to the Dell Venue pro 8 and the Lenovo one) :) > I think most of my problems are ACPI related (WIFI card not powered > up, SD-ext read

[PATCH] clk: keystone: gate: fix clk_init_data initialization

2014-01-30 Thread Ivan Khoronzhuk
In clk_register_psc() function clk_init_data struct is allocated in the stack. All members of this struct should be initialized before using otherwise it will contain garbage. So initialize flags in this structure too. Signed-off-by: Ivan Khoronzhuk --- drivers/clk/keystone/gate.c | 1 + 1 file

Re: [PATCH V0] linux PVH: Set CR4 flags

2014-01-30 Thread Roger Pau Monné
On 30/01/14 00:15, Mukesh Rathor wrote: > Konrad, > > The CR4 settings were dropped from my earlier patch because you didn't > wanna enable them. But since you do now, we need to set them in the APs > also. If you decide not too again, please apply my prev patch > "pvh: disable pse feature for now

Re: [PATCH V3 4/8] phy: Initialize phy core with subsys_initcall

2014-01-30 Thread Kishon Vijay Abraham I
Hi, On Thursday 30 January 2014 04:18 PM, Mohit Kumar wrote: > From: Pratyush Anand > > PCIe RC drivers are initialized with subsys_initcall. Few PCIe drivers > like SPEAr13xx needs phy drivers to be initialized. Instead change PCIe RC drivers to module init. Phy drivers should be loaded very e

[PATCH] ARM: keystone: dts: disable "msmcsram" clock

2014-01-30 Thread Ivan Khoronzhuk
At late init all unused clocks are disabled. So clocks that were not get before will be gated. In Keysone 2 SoC we have at least one necessary clock that is not used by any driver - "msmcsram". This clock is necessary, because it supplies the Multicore Shared Memory Controller (MSMC). The MSMC prov

[patch] hw_random: cleanup in hwrng_register()

2014-01-30 Thread Dan Carpenter
My static checker complains that: drivers/char/hw_random/core.c:341 hwrng_register() warn: we tested 'old_rng' before and it was 'false' The problem is that sometimes we test "if (!old_rng)" and sometimes we test "if (must_register_misc)". The static checker knows they are equiva

Re: [PATCH V3 4/8] phy: Initialize phy core with subsys_initcall

2014-01-30 Thread Pratyush Anand
On Thu, Jan 30, 2014 at 07:43:37PM +0800, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 30 January 2014 04:18 PM, Mohit Kumar wrote: > > From: Pratyush Anand > > > > PCIe RC drivers are initialized with subsys_initcall. Few PCIe drivers > > like SPEAr13xx needs phy drivers to be initialize

[PATCH v2 1/5] drm/i2c: tda998x: add a function for dynamic audio input switch

2014-01-30 Thread Jean-Francois Moine
When both I2S and S/PDIF are wired from the audio device to the TDA998x, the user or some internal mechanism may choose to do audio streaming via either inputs. This patch adds an exported function in the TDA998x driver which initializes the audio input parameters according to the audio subsystem.

[PATCH v2 2/5] ASoC: tda998x: add a codec driver for TDA998x

2014-01-30 Thread Jean-Francois Moine
This patch adds a CODEC driver for the NXP TDA998x HDMI transmitter. The CODEC handles both I2S and S/PDIF input and does dynamic input switch in the TDA998x I2C driver on audio streaming start/stop. Signed-off-by: Jean-Francois Moine --- sound/soc/codecs/Kconfig | 6 ++ sound/soc/codecs/Ma

[PATCH v2 3/5] ASoC: tda998x: add DT documentation

2014-01-30 Thread Jean-Francois Moine
This patch adds the DT documentation of the NXP TDA998x CODEC. Signed-off-by: Jean-Francois Moine --- Documentation/devicetree/bindings/sound/tda998x.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/tda998x.txt diff --git a/

[PATCH v2 0/5] add a TDA998x CODEC

2014-01-30 Thread Jean-Francois Moine
The TDA998x HDMI transmitter accepts audio input from either I2S or S/PDIF. Theses inputs have different intrinsic constraints and these constraints may be modified by the audio parameters of the connected video device. The choice of I2S or S/PDIF may be the done by the user or by automatic proces

[PATCH 2/2] FMC: show_sdb_tree: fix offset calculation

2014-01-30 Thread Alessandro Rubini
The code reported wrong addresses in the sdb dumps. All sdb addresses are relative, but the code was adding the base address twice. Bug exposed by a gateware image with two bridge levels. Thanks David for reporting the problem. Signed-off-by: Alessandro Rubini Reported-by: Juan David Gonzalez

[PATCH v2 4/5] ASoC: tda998x: adjust the audio hw parameters from EDID

2014-01-30 Thread Jean-Francois Moine
The supported audio parameters are described in the EDID which is received by the HDMI transmitter from the connected screen. Use these ones to adjust the audio stream parameters. Signed-off-by: Jean-Francois Moine --- drivers/gpu/drm/i2c/tda998x_drv.c | 15 include/drm/i2c/tda998x.h

[PATCH v2 5/5] ASoC: tda998x: adjust the audio CTS_N pre-divider from audio format

2014-01-30 Thread Jean-Francois Moine
In some boards, with I2S input, the NXP TDA998x HDMI transmitter did not play audio streams with a sample width lower than S16_32. This patch adjusts the CTS_N predivider according to the used sample width. Signed-off-by: Jean-Francois Moine --- drivers/gpu/drm/i2c/tda998x_drv.c | 25 ++

[PATCH 1/2] FMC: support carriers with no mezzanine

2014-01-30 Thread Alessandro Rubini
At registration and unregistration time, I was checking fmc->flags for FMC_DEVICE_NO_MEZZANINE, to skip initialization and cleanup for empty slots. The check was wrong ("==" instead of "&") but registration failed anyways (as expected) because we had no EEPROM. This commit fixes one such checks a

Re: [PATCH v2] HID: i2c-hid: add runtime PM support

2014-01-30 Thread Jiri Kosina
On Wed, 29 Jan 2014, Mika Westerberg wrote: > This patch adds runtime PM support for the HID over I2C driver. When the > i2c-hid device is first opened we power it on and on the last close we > power it off. This is actually what the driver is already doing but in > addition it allows subsystems,

[patch 2/2] gru: cleanup gru_dump_context() a little

2014-01-30 Thread Dan Carpenter
"ret" is zero here so we can remove the "!ret" part of the condition. "uhdr" is alread a __user pointer so we can remove the cast. Signed-off-by: Dan Carpenter --- Btw, speaking of __user pointers there are some places where we dereference them in this file. It's not a security problem because w

Re: [PATCH V3 4/8] phy: Initialize phy core with subsys_initcall

2014-01-30 Thread Kishon Vijay Abraham I
Hi, On Thursday 30 January 2014 05:22 PM, Pratyush Anand wrote: > On Thu, Jan 30, 2014 at 07:43:37PM +0800, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Thursday 30 January 2014 04:18 PM, Mohit Kumar wrote: >>> From: Pratyush Anand >>> >>> PCIe RC drivers are initialized with subsys_initcall. Fe

[patch 1/2] gru: unlocking should be conditional in gru_dump_context()

2014-01-30 Thread Dan Carpenter
I was reviewing this and noticed that unlocking should be conditional on the error path. I've changed it to unlock and return directly since we only do it once and it seems unlikely to change in the near future. Signed-off-by: Dan Carpenter diff --git a/drivers/misc/sgi-gru/grukdump.c b/drivers

Re: About gpio-regulator setting on DT

2014-01-30 Thread Mark Brown
On Wed, Jan 29, 2014 at 04:08:30PM -0800, Kuninori Morimoto wrote: > /* build initial state from gpio init data. */ > state = 0; > for (ptr = 0; ptr < drvdata->nr_gpios; ptr++) { > if (config->gpios[ptr].flags & GPIOF_OUT_INIT_HIGH) <== we need > this >stat

Re: [PATCH] gpio-intel-mid: fix the incorrect return of idle callback

2014-01-30 Thread xinhui.pan
On Wed, 29 Jan 2014 13:06, David Cohen wrote: > On Wed, Jan 29, 2014 at 01:52:30PM -0600, Felipe Balbi wrote: >> On Wed, Jan 29, 2014 at 11:12:32AM -0800, David Cohen wrote: >>> On Wed, Jan 29, 2014 at 03:23:40PM +0800, xinhui.pan wrote: 于 2014年01月29日 08:13, David Cohen 写道: > On Tue,

Re: [PATCH 7/9] sched/fair: Optimize cgroup pick_next_task_fair

2014-01-30 Thread Vincent Guittot
On 28 January 2014 18:16, Peter Zijlstra wrote: [snip] > > @@ -4662,9 +4682,86 @@ static void check_preempt_wakeup(struct > static struct task_struct * > pick_next_task_fair(struct rq *rq, struct task_struct *prev) > { > - struct task_struct *p; > struct cfs_rq *cfs_rq = &rq->cf

Re: [PATCH V3 4/8] phy: Initialize phy core with subsys_initcall

2014-01-30 Thread Pratyush Anand
On Thu, Jan 30, 2014 at 07:52:12PM +0800, Pratyush ANAND wrote: > On Thu, Jan 30, 2014 at 07:43:37PM +0800, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Thursday 30 January 2014 04:18 PM, Mohit Kumar wrote: > > > From: Pratyush Anand > > > > > > PCIe RC drivers are initialized with subsys_in

Re: [PATCH V3 4/8] phy: Initialize phy core with subsys_initcall

2014-01-30 Thread Kishon Vijay Abraham I
On Thursday 30 January 2014 05:45 PM, Pratyush Anand wrote: > On Thu, Jan 30, 2014 at 07:52:12PM +0800, Pratyush ANAND wrote: >> On Thu, Jan 30, 2014 at 07:43:37PM +0800, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Thursday 30 January 2014 04:18 PM, Mohit Kumar wrote: From: Pratyush Anand

[RFC] dtc: add ability to make nodes conditional on them being referenced

2014-01-30 Thread Heiko Stübner
From: Heiko Stuebner On i.MX, which carries a lot of pin-groups of which most are unused on individual boards, they noticed that this plehora of nodes also results in the runtime-lookup-performance also degrading [0]. A i.MX-specific solution defining the pingroups in the board files but using m

Re: [RFC 0/4] memcg: Low-limit reclaim

2014-01-30 Thread Michal Hocko
On Wed 29-01-14 11:08:46, Greg Thelen wrote: [...] > The series looks useful. We (Google) have been using something similar. > In practice such a low_limit (or memory guarantee), doesn't nest very > well. > > Example: > - parent_memcg: limit 500, low_limit 500, usage 500 > 1 privately charg

Re: [git pull] drm next tree

2014-01-30 Thread Paul Bolle
Dave Airlie schreef op do 30-01-2014 om 02:49 [+]: > Christian König (10): > [...] > drm/radeon: add GART debugfs access v3 > [...] That one generates a bit of (warning) noise when building on 32 bits x86: In file included from include/asm-generic/bug.h:13:0,

Re: [PATCH 7/9] sched/fair: Optimize cgroup pick_next_task_fair

2014-01-30 Thread Peter Zijlstra
On Thu, Jan 30, 2014 at 01:18:09PM +0100, Vincent Guittot wrote: > On 28 January 2014 18:16, Peter Zijlstra wrote: > > [snip] > > > > > @@ -4662,9 +4682,86 @@ static void check_preempt_wakeup(struct > > static struct task_struct * > > pick_next_task_fair(struct rq *rq, struct task_struct *prev

Re: [PATCH 2/9] block: Stop abusing rq->csd.list in blk-softirq

2014-01-30 Thread Frederic Weisbecker
Hi Jan, I'm currently working on some cleanups on IPI code too and working on top of these patches, just have a few comments: On Mon, Dec 23, 2013 at 09:39:23PM +0100, Jan Kara wrote: > Abusing rq->csd.list for a list of requests to complete is rather ugly. > Especially since using queuelist shou

[GIT PULL] UBIFS changes for 3.14-rc1

2014-01-30 Thread Artem Bityutskiy
Hi Linus, The following changes since commit 802eee95bde72fd0cd0f3a5b2098375a487d1eda: Linux 3.13-rc6 (2013-12-29 16:01:33 -0800) are available in the git repository at: git://git.infradead.org/linux-ubifs.git tags/upstream-3.14-rc1 for you to fetch changes up to 2c7ca5cc3624e05a5235f70039

Re: [PATCH V3 4/8] phy: Initialize phy core with subsys_initcall

2014-01-30 Thread Arnd Bergmann
On Thursday 30 January 2014, Pratyush Anand wrote: > On Thu, Jan 30, 2014 at 07:43:37PM +0800, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Thursday 30 January 2014 04:18 PM, Mohit Kumar wrote: > > > From: Pratyush Anand > > > > > > PCIe RC drivers are initialized with subsys_initcall. Few P

Re: [RFC] dtc: add ability to make nodes conditional on them being referenced

2014-01-30 Thread Lothar Waßmann
Hi, Heiko Stübner wrote: > From: Heiko Stuebner > > On i.MX, which carries a lot of pin-groups of which most are unused on > individual boards, they noticed that this plehora of nodes also results > in the runtime-lookup-performance also degrading [0]. > > A i.MX-specific solution defining the

Re: [PATCH 9/9] sched: Push down pre_schedule() and idle_balance()

2014-01-30 Thread Vincent Guittot
On 28 January 2014 18:16, Peter Zijlstra wrote: > This patch both merged idle_balance() and pre_schedule() and pushes > both of them into pick_next_task(). > > Conceptually pre_schedule() and idle_balance() are rather similar, > both are used to pull more work onto the current CPU. > > We cannot h

Re: [PATCH v4] HID: New hid-cp2112 driver

2014-01-30 Thread Oliver Neukum
On Thu, 2014-01-30 at 01:52 -0800, Joe Perches wrote: > On Thu, 2014-01-30 at 08:35 +0100, Oliver Neukum wrote: > > On Wed, 2014-01-29 at 15:46 -0800, Joe Perches wrote: > > > > > > +static int cp2112_hid_get(struct hid_device *hdev, unsigned char > > > > report_number, > > > > +

Re: [PATCH 7/9] sched/fair: Optimize cgroup pick_next_task_fair

2014-01-30 Thread Vincent Guittot
On 30 January 2014 13:37, Peter Zijlstra wrote: > On Thu, Jan 30, 2014 at 01:18:09PM +0100, Vincent Guittot wrote: >> On 28 January 2014 18:16, Peter Zijlstra wrote: >> >> [snip] >> >> > >> > @@ -4662,9 +4682,86 @@ static void check_preempt_wakeup(struct >> > static struct task_struct * >> > pi

[GIT PULL] OpenRISC updates for 3.14

2014-01-30 Thread Jonas Bonn
The following changes since commit d6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc: Linux 3.13-rc7 (2014-01-04 15:12:14 -0800) are available in the git repository at: git://openrisc.net/~jonas/linux tags/for-3.14 for you to fetch changes up to 548dafe880ad84d0accc0a5596c26e3348b103e1: openrisc

Re: [PATCH v2 0/5] Smart Card(SC) interface, TI USIM & NxP SC phy driver

2014-01-30 Thread Greg KH
On Thu, Jan 30, 2014 at 11:22:48AM +0530, Satish Patel wrote: > > On 1/20/2014 10:03 AM, Satish Patel wrote: > > Changes from v1: > > * RFC(v1) comments are fixed > > > > ** removed "gpio_to_irq" as GPIO controller process cell from DT and > > give it to DT node > > ** comments on documentation >

Re: [PATCH v11 0/4] Introducing a queue read/write lock implementation

2014-01-30 Thread Peter Zijlstra
So I took out that ugly union and rewrote the code to be mostly atomic_*(), gcc generates acceptable code and its smaller too. 824 0 0 824 338 defconfig-build/kernel/locking/qrwlock.o 776 0 0 776 308 defconfig-build/kernel/locking/qrwlock.o I don't

[PATCH] rtnetlink: return the newly created link in response to newlink

2014-01-30 Thread Tom Gundersen
Userspace needs to reliably know the ifindex of the netdevs it creates, as we cannot rely on the ifname staying unchanged. Earlier, a simlpe NLMSG_ERROR would be returned, but this returns the corresponding RTM_NEWLINK on success instead. Signed-off-by: Tom Gundersen Cc: Marcel Holtmann Cc: Dav

Re: [git pull] vfs pile 1

2014-01-30 Thread Christoph Hellwig
On Tue, Jan 28, 2014 at 07:26:08PM -0800, Linus Torvalds wrote: > but the mode we're changing to (and what ATTR_MODE guards) is actually > attr->ia_mode, not inode->i_mode. And quite frankly, passing in > inode->i_mode looks stupid, since we're already passing in the inode > pointer, so that's just

Re: [PATCH v4 2/5] arm: add new asm macro update_sctlr

2014-01-30 Thread Leif Lindholm
On Wed, Jan 29, 2014 at 03:58:44PM -0500, Mark Salter wrote: > > (i.e. conditionalise on whether an optional parameter was provided), > > so my attempt of refactoring actually ends up using an additional > > register: > > > > Register parameters are just strings, so how about this: > > .ma

[PATCH] net: set default DEVTYPE for all ethernet based devices

2014-01-30 Thread Tom Gundersen
In systemd's networkd and udevd, we would like to give the administrator a simple way to filter net devices by their DEVTYPE [0][1]. Other software such as ConnMan and NetworkManager uses a similar filtering already. Currently, plain ethernet devices have DEVTYPE=(null). This patch sets the devtyp

Re: [RFC PATCH] char: random: stir the output pools differently when the random_write lenght allows splitting the seed

2014-01-30 Thread Rafael Aquini
On Fri, Jan 10, 2014 at 01:32:10PM +0100, Clemens Ladisch wrote: > Stephan Mueller wrote: > > Am Freitag, 10. Januar 2014, 12:37:26 schrieb Clemens Ladisch: > >> Stephan Mueller wrote: > >>> Am Freitag, 10. Januar 2014, 09:13:57 schrieb Clemens Ladisch: > Rafael Aquini wrote: > > This patc

  1   2   3   4   5   6   >