Re: [PATCH] cpufreq: cpufreq-cpu0: Use a sane boot frequency when booting with a mismatched bootloader configuration

2013-11-20 Thread Viresh Kumar
On 20 November 2013 20:29, Nishanth Menon wrote: > With the current governors that we have in upstream, the only one of > my concern has been userspace governor, but based on your comment > earlier in the thread, this is considered an non-issue since userspace > must trigger transition. However, t

Re: [PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist

2013-11-20 Thread Ingo Molnar
* Masami Hiramatsu wrote: > (2013/11/21 2:36), Frank Ch. Eigler wrote: [ ... ] > > one needs to resort to something like: > > > > # cat /proc/kallsyms | grep ' [tT] ' | while read addr type symbol; do > >perf probe $symbol > > done > > > > then wait for a few hours for that to finish. The

Re: /proc/vmcore mmap() failure issue

2013-11-20 Thread chaow...@redhat.com
On 11/20/13 at 05:27am, Atsushi Kumagai wrote: > On 2013/11/19 18:56:21, kexec wrote: > > (2013/11/18 9:51), Atsushi Kumagai wrote: > > > (2013/11/15 23:26), Vivek Goyal wrote: > > >> On Fri, Nov 15, 2013 at 06:41:52PM +0900, HATAYAMA Daisuke wrote: > > >> > > >> [..] > > Given the fact that

[PATCH] cpufreq: Make sure CPU is running on a freq from freq-table

2013-11-20 Thread Viresh Kumar
Sometimes boot loaders set CPU frequency to a value outside of frequency table present with cpufreq core. In such cases CPU might be unstable if it has to run on that frequency for long duration of time and so its better to set it to a frequency which is specified in freq-table. This also makes cpu

Re: [PATCH 1/1] IOMMU: Save pci device id instead of pci_dev* pointer for DMAR devices

2013-11-20 Thread Yijing Wang
On 2013/11/20 23:59, David Woodhouse wrote: > On Fri, 2013-11-08 at 08:46 -0700, Bjorn Helgaas wrote: >> >> I don't know the IOMMU drivers well either, but it seems like they >> rely on notifications of device addition and removal (see >> iommu_bus_notifier()). It doesn't seem right for them to al

Re: [PATCH V4 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-20 Thread Vinayak Kale
On Wed, Nov 20, 2013 at 11:30 PM, Will Deacon wrote: > On Wed, Nov 20, 2013 at 05:28:50PM +, Vinayak Kale wrote: >> In Will's existing code, I think he was taking care of 'no IRQ' case >> by comparing pmu_device->num_resources. Do you think this is not >> enough and we must enforce the check a

[PATCH 1/3] leds: lp5521/5523: Fix multiple engine usage bug

2013-11-20 Thread Milo Kim
Whenever the engine is loaded by the user-application, the operation mode is reset first. But it has a problem in case of multiple engine used because previous engine settings are cleared. The driver should update not whole 8bits but each engine bit by masking. On the other hands, whole engines sh

[PATCH] slab: remove the redundant declaration of kmalloc

2013-11-20 Thread Qiang Huang
Signed-off-by: Qiang Huang --- include/linux/slab.h | 102 +++ 1 file changed, 46 insertions(+), 56 deletions(-) diff --git a/include/linux/slab.h b/include/linux/slab.h index 74f1058..630f22f 100644 --- a/include/linux/slab.h +++ b/include/linux/

RE: [f2fs-dev] [PATCH V2 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-20 Thread Chao Yu
Hi Gu, > -Original Message- > From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] > Sent: Wednesday, November 20, 2013 5:38 PM > To: Chao Yu > Cc: '???'; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net; '谭姝' > Subject: Re: [f2fs-dev] [PATC

Re: [f2fs-dev] [PATCH 1/2] f2fs: disable the extent cache ops on high fragmented files

2013-11-20 Thread Haicheng Li
> Signed-off-by: Jaegeuk Kim Function looks good to me. But some nitpicking below for code cleanup.. > @@ -71,6 +71,9 @@ static int check_extent_cache(struct inode *inode, pgoff_t > pgofs, return value could be boolean? > pgoff_t start_fofs, end_fofs; > block_t start_blkaddr; > >

Re: [RFC PATCH] Crashdump Accepting Active IOMMU

2013-11-20 Thread Baoquan He
Hi Bill, I have tested this prototype patch on hp z420, it works very well. Looking forward to your formal patch set. I can help test and review. Baoquan Thanks On 11/18/13 at 11:30pm, Sumner, William wrote: > Thank you for testing this RFC patch. It is great to have confirmation that > the co

[PATCH] Input: tsc2007 - remove unused poll_delay from platform data

2013-11-20 Thread Dmitry Torokhov
Dmitry Torokhov (maintainer:INPUT (KEYBOARD,...,commit_signer:7/7=100%,commit_signer:2/2=100%) Bill Pemberton (commit_signer:3/7=43%) Mark Brown (commit_signer:2/7=29%) Javier Martinez Canillas (commit_signer:1/7=14%) Russell King (commit_signer:1/7=14%) linux-in...@vger.kernel.org (open

Re: Large pastes into readline enabled programs causes breakage from v2.6.31 onwards

2013-11-20 Thread Peter Hurley
On 11/17/2013 01:29 PM, Pavel Machek wrote: Hi! On Wed 2013-10-30 07:21:13, Peter Hurley wrote: On 10/29/2013 09:50 AM, Maximiliano Curia wrote: ??Hola Arkadiusz! El 2013-10-24 a las 18:00 +0200, Arkadiusz Miskiewicz escribió: Was just going over bug-readline and lkml archives and found no c

Re: Possible regression with cgroups in 3.11

2013-11-20 Thread Bjorn Helgaas
pew: Yep, Jiri Slaby reported this earlier. I dropped those patches for now. Yinghai and I both tested this without incident, but we must have tested quite the same scenario you did. I'll look at this more tomorrow. My first thought is that it's probably silly to worry about pree

Re: Possible regression with cgroups in 3.11

2013-11-20 Thread Sasha Levin
o_validate__){..}, at: [] __driver_attach+0x48/0xa0 [ 11.969720] #1: (&__lockdep_no_validate__){..}, at: [] __driver_attach+0x59/0xa0 [ 11.971519] Modules linked in: [ 11.971519] CPU: 3 PID: 1 Comm: swapper/0 Tainted: GW 3.12.0-next-20131120-sasha-

Re: [PATCH 04/12] KVM: MMU: log dirty page after marking spte writable

2013-11-20 Thread Xiao Guangrong
On Nov 21, 2013, at 3:47 AM, Marcelo Tosatti wrote: > On Wed, Nov 20, 2013 at 10:20:09PM +0800, Xiao Guangrong wrote: >>> But what guarantee does userspace require, from GET_DIRTY_LOG, while vcpus >>> are >>> executing? >> >> Aha. Single calling GET_DIRTY_LOG is useless since new dirty page c

Re: [PATCH 03/05] ARM: shmobile: Add r8a7791 thermal device node to DTS

2013-11-20 Thread Simon Horman
On Wed, Nov 20, 2013 at 04:59:48PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Hook up the r8a7791 thermal sensor to the DTS. > > Signed-off-by: Magnus Damm > --- > > arch/arm/boot/dts/r8a7791.dtsi |7 +++ > 1 file changed, 7 insertions(+) Thanks, I will queue this up. Assuming

Re: [PATCH 02/05] ARM: shmobile: Add r8a7790 clocks for thermal devices

2013-11-20 Thread Simon Horman
On Wed, Nov 20, 2013 at 04:59:39PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Add the r8a7790 DT thermal device to the legacy clocks. > > Signed-off-by: Magnus Damm > --- > > arch/arm/mach-shmobile/clock-r8a7790.c |1 + > 1 file changed, 1 insertion(+) > > --- 0001/arch/arm/mach-s

Re: [PATCH] ARM: shmobile: Add pinctrl_register_mappings() for Koelsch

2013-11-20 Thread Simon Horman
On Wed, Nov 20, 2013 at 04:41:48PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Add code to setup the r8a7791 PFC for the Koelsch board. > > At this point serial consoles are added, and in the near > future other platform-device-only devices will be added > here like for instance the r8a779

Re: [PATCH] sysfs, acpi, tables: Set file size for each ACPI table

2013-11-20 Thread Zhang Rui
On 二, 2013-11-19 at 17:54 +0900, HATAYAMA Daisuke wrote: > Currently, each of the ACPI tables exported from > /sys/firmware/acpi/tables is of zero size: > > $ LANG=C ls -ld /sys/firmware/acpi/tables/* > -r 1 root root 0 Nov 19 09:48 /sys/firmware/acpi/tables/APIC > -r 1 root root 0

Re: [PATCH RFC] virtio_net: fix error handling for mergeable buffers

2013-11-20 Thread Jason Wang
On 11/20/2013 10:20 PM, Michael S. Tsirkin wrote: > On Wed, Nov 20, 2013 at 08:54:02AM -0500, Jason Wang wrote: >> >> - 原始邮件 - >>> On Wed, Nov 20, 2013 at 05:07:25PM +0800, Jason Wang wrote: When mergeable buffer were used, we only put the first page buf leave the rest of buf

[PATCH V2 Resend] cpuidle: free all state kobjects from cpuidle_free_state_kobj()

2013-11-20 Thread Viresh Kumar
Loop for states is currently present on callers side and so is replicated at several places. It would be better to move that inside cpuidle_free_state_kobj() instead. This patch does it. Acked-by: Daniel Lezcano Signed-off-by: Viresh Kumar --- drivers/cpuidle/sysfs.c | 23 -

Re: [PATCH V2 13/16] cpuidle: free all state kobjects from cpuidle_free_state_kobj()

2013-11-20 Thread Viresh Kumar
On 21 November 2013 06:35, Rafael J. Wysocki wrote: > On Wednesday, November 20, 2013 01:33:53 PM Viresh Kumar wrote: >> Fixing Rafael's email id.. >> >> On 20 November 2013 13:33, Viresh Kumar wrote: >> > On 3 October 2013 21:26, Viresh Kumar wrote: >> >> Loop for states is currently present on

Re: [PATCH 00/10] AMD Cryptographic Coprocessor support

2013-11-20 Thread Herbert Xu
On Wed, Nov 20, 2013 at 10:20:10AM -0600, Tom Lendacky wrote: > Hi Herbert, > > Is the crypto tree the right tree to go through for this support > or would you prefer I go through another tree? It is the right place but I'm not adding any new features until the merge window is closed. Thanks, --

RE: [f2fs-dev] [PATCH V2 2/2 RESEND] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-20 Thread Chao Yu
Hi, > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Thursday, November 21, 2013 9:32 AM > To: Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net; 谭姝 > Subject: Re: [f2fs-dev] [PATCH V2 2/2 R

Re: [appleir] BUG: unable to handle kernel NULL pointer dereference

2013-11-20 Thread James Henstridge
On Tue, Nov 19, 2013 at 10:33 PM, Jiri Kosina wrote: > On Thu, 7 Nov 2013, Benjamin Tissoires wrote: > >> >> [ adding some more CCs ] >> >> >> >> Okay, so apparently we didn't register with input, but only hiddev / >> >> hidraw. >> >> >> >> appleir 0003:05AC:8240.0005: hiddev0,hidraw4: USB HID v1.

Re: [PATCH] mm/zswap: change params from hidden to ro

2013-11-20 Thread Weijie Yang
On Thu, Nov 21, 2013 at 1:52 AM, Dan Streetman wrote: > On Wed, Nov 20, 2013 at 12:33 PM, Vladimir Murzin wrote: >> Hi Dan! >> >> On Wed, Nov 20, 2013 at 11:38:42AM -0500, Dan Streetman wrote: >>> The "compressor" and "enabled" params are currently hidden, >>> this changes them to read-only, so u

Re: [PATCH 09/14] rtmutex: turn the plist into an rb-tree.

2013-11-20 Thread Steven Rostedt
On Thu, 7 Nov 2013 14:43:43 +0100 Juri Lelli wrote: > From: Peter Zijlstra > > Turn the pi-chains from plist to rb-tree, in the rt_mutex code, > and provide a proper comparison function for -deadline and > -priority tasks. > > This is done mainly because: > - classical prio field of the plis

Re: [PATCH] mm/zswap: remove unneeded zswap_rb_erase calls

2013-11-20 Thread Weijie Yang
Hello Dan On Thu, Nov 21, 2013 at 3:47 AM, Dan Streetman wrote: > Since zswap_rb_erase was added to the final (when refcount == 0) > zswap_put_entry, there is no need to call zswap_rb_erase before > calling zswap_put_entry. > > Signed-off-by: Dan Streetman > --- > mm/zswap.c | 5 - > 1 file

linux-next: build failure after merge of the final tree (Linus' tree related - powerpc)

2013-11-20 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: :1:0: error: -mcall-aixdesc must be big endian :1:0: error: -mcall-aixdesc must be big endian scripts/gcc-version.sh: line 31: printf: #: invalid number scripts/gcc-version.sh: line 31: printf:

Re: commit c368e5fc2a190923b786f2de3e79430ea3566a25 regresses MMC

2013-11-20 Thread Felipe Balbi
On Wed, Nov 20, 2013 at 02:51:43PM -0600, Felipe Balbi wrote: > Hi, > > On Wed, Nov 20, 2013 at 08:34:00PM +, Mark Brown wrote: > > On Wed, Nov 20, 2013 at 11:58:14AM -0600, Felipe Balbi wrote: > > > > > commit c368e5fc2a190923b786f2de3e79430ea3566a25 (regulator: fixed: get > > > rid of {get|

Re: [PATCH 2/2] PM: Fix Oops from NULL pointer dereference in wakeup_source_activate

2013-11-20 Thread Steven Rostedt
On Wed, 20 Nov 2013 19:01:22 -0700 Shuah Khan wrote: > On 11/20/2013 06:40 PM, Shuah Khan wrote: > > --- > > include/trace/events/power.h | 6 -- > > 1 file changed, 4 insertions(+), 2 deletions(-) > > > > diff --git a/include/trace/events/power.h b/include/trace/events/power.h > > index

Re: [RFCv2 3/3] ARM: dts: N900: Add SSI information

2013-11-20 Thread Sebastian Reichel
Hi Tony, On Wed, Nov 20, 2013 at 05:38:59PM -0800, Tony Lindgren wrote: > * Sebastian Reichel [130915 13:56]: > > + > > +Example for Nokia N900: > > + > > +ssi-controller@48058000 { > > + compatible = "ti,omap3-ssi"; > > + ti,hwmods = "ssi"; > > + > > + reg = <0x48058000 0x1000>, > > +

Re: [Suggestion] kernel: cgroup: mount failure in LTP cgroup_regression_test.sh

2013-11-20 Thread Chen Gang
On 11/21/2013 01:35 AM, Tejun Heo wrote: > Hello, > > Sorry about the delay. > Oh, No problem, every members time resources are expensive, thank you for your reply. > On Fri, Nov 08, 2013 at 04:15:23PM +0800, Chen Gang wrote: >> After simplify, the related operation, environments and output ar

[PATCH 2/4] Documentation: Document the cephroot functionality

2013-11-20 Thread mark . doffman
From: Rob Taylor Document using the cephfs as a root device, its purpose, functionality and use. Signed-off-by: Mark Doffman Signed-off-by: Rob Taylor Reviewed-by: Ian Molton --- Documentation/filesystems/{ => ceph}/ceph.txt | 0 Documentation/filesystems/ceph/cephroot.txt | 81 ++

[PATCH 4/4] Reuse root_nfs_parse_addr() for NFS and CEPH

2013-11-20 Thread mark . doffman
From: Mark Doffman Rename function root_nfs_parse_addr to root_parse_server_addr to reflect its use in parsing an address for both NFS and CEPH root. Signed-off-by: Mark Doffman Reviewed-by: Ian Molton --- fs/ceph/root.c | 6 +++--- fs/nfs/nfsroot.c | 4 ++-- include/linux/nfs_f

[PATCH 3/4] cephroot: Add DHCP option 17 configuration to ceph root fs.

2013-11-20 Thread mark . doffman
From: Mark Doffman When not configured via kernel parameters add to cephroot the ability to configure server address, path and options from DHCP option 17. Signed-off-by: Mark Doffman Reviewed-by: Ian Molton --- Documentation/filesystems/ceph/cephroot.txt | 4 fs/ceph/root.c

Re: [PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist

2013-11-20 Thread Masami Hiramatsu
(2013/11/21 2:36), Frank Ch. Eigler wrote: > Hi - > >>> Does this new blacklist cover enough that the kernel now survives a >>> broadly wildcarded perf-probe, e.g. over e.g. all of its kallsyms? >> >> That's generally the purpose of the annotations - if it doesn't then >> that's a bug. > > AFAI

[PATCH 1/4] init: Add a new root device option, the Ceph file system

2013-11-20 Thread mark . doffman
From: Mark Doffman Analogous to NFS add a new root device option, the ability to boot using the Ceph networked file system as the root fs. This patch adds a new root device option '/dev/ceph' that uses a ceph networked file system. File system parameters are passed using a new kernel parameter:

[PATCH 0/4] Add ceph root filesystem functionality and documentation.

2013-11-20 Thread mark . doffman
From: Mark Doffman Hi All, The following patch series adds the ability to use a ceph distributed file system as the root device. The functionality is similar to NFS root but for the ceph filesystem. The patch series adds a new root device option '/dev/ceph'. Configuration is passed either via a

Re: [PATCH] PCI: Init NumVFs register to zero in sriov_init()

2013-11-20 Thread Ethan Zhao
Bjorn, I revised the description part with the original bug material as below, help to take a look, will send V2 back to home, SMTP blocked by company network. PCI: Init NumVFs register to zero in sriov_init() Though no specification about NumVFs register initial value after POST, to

[PATCH v6 3/3] Documentation, x86, apic, kexec: Add disable_cpu_apicid kernel parameter

2013-11-20 Thread HATAYAMA Daisuke
Add disable_cpu_apicid kernel parameter to disable the CPU with the specified number of initial APIC ID, mostly used for the kdump 2nd kernel to disable BSP to wake up multiple CPUs without causing system reset or hang due to sending INIT from AP to BSP. Signed-off-by: HATAYAMA Daisuke --- Docum

[PATCH v6 2/3] x86, apic: Add disable_cpu_apicid kernel parameter

2013-11-20 Thread HATAYAMA Daisuke
Add disable_cpu_apicid kernel parameter. To use this kernel parameter, specify an initial APIC ID of the corresponding CPU you want to disable. This is mostly used for the kdump 2nd kernel to disable BSP to wake up multiple CPUs without causing system reset or hang due to sending INIT from AP to B

[PATCH v6 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-11-20 Thread HATAYAMA Daisuke
This patch set is to allow kdump 2nd kernel to wake up multiple CPUs, a continueing work from: [PATCH v3 0/2] x86, apic, kdump: Disable BSP if boot cpu is AP https://lkml.org/lkml/2013/10/16/300. At v4, basic design has changed. Now users need to figure out initial APIC ID of BSP in the 1st k

Re: [PATCH 2/2] PM: Fix Oops from NULL pointer dereference in wakeup_source_activate

2013-11-20 Thread Shuah Khan
On 11/20/2013 06:40 PM, Shuah Khan wrote: power_supply_register() calls device_init_wakeup() to register a wakeup source before initializing dev_name. As a result, device_wakeup_enable() end up registering wakeup source with a null name when wakeup_source_register() gets called with dev_name(dev)

[PATCH v6 1/3] x86, apic: add bios_bsp_physical_apicid

2013-11-20 Thread HATAYAMA Daisuke
Add bios_bsp_physical_apicid variable. This variable is initialized with the value reported by BIOS tables such as ACPI MADT or MP table. Without this variable, boot_cpu_physical_apicid temporarilly has the value around MP table related codes such as kernel/mpparse.c, mm/amdtopology.c and platform

Re: [PATCH] mm/zswap: don't allow entry eviction if in use by load

2013-11-20 Thread Weijie Yang
Hello Dan On Thu, Nov 21, 2013 at 3:48 AM, Dan Streetman wrote: > The changes in commit 0ab0abcf511545d1fddbe72a36b3ca73388ac937 > introduce a bug in writeback, if an entry is in use by load > it will be evicted anyway, which isn't correct (technically, > the code currently in zbud doesn't actual

Re: current_thread_info() not respecting program order with gcc 4.8.x

2013-11-20 Thread Luis Lozano
I have been monitoring this thread and trying to understand how could this happen. I noticed that the definition for ARM of current_thread_info looks like this: /* * how to get the thread information struct from C */ static inline struct thread_info *current_thread_info(void) __attribute_const_

Re: [PATCH v2.2] ipc: Added support for IPC interrupt mode

2013-11-20 Thread sathyanarayanan kuppuswamy
On 11/20/2013 05:47 PM, Matthew Garrett wrote: On Wed, 2013-11-20 at 17:45 -0800, Kuppuswamy Sathyanarayanan wrote: - Changed INIT_COMPLETION to reinit_completion. Thanks, I've already folded that fix into the patch and re-pushed. Thanks. -- Sathyanarayanan Kuppuswamy Android kernel deve

Re: [PATCH v2.2] ipc: Added support for IPC interrupt mode

2013-11-20 Thread Matthew Garrett
On Wed, 2013-11-20 at 17:45 -0800, Kuppuswamy Sathyanarayanan wrote: > - Changed INIT_COMPLETION to reinit_completion. Thanks, I've already folded that fix into the patch and re-pushed. -- Matthew Garrett

[PATCH v2.2] ipc: Added support for IPC interrupt mode

2013-11-20 Thread Kuppuswamy Sathyanarayanan
This patch adds support for ipc command interrupt mode. Also added platform data option to select 'irq_mode' irq_mode = 1: configure the driver to receive IOC interrupt for each successful ipc_command. irq_mode = 0: makes driver use polling method to track the command completion status. Signed-o

Re: [PATCH 1/3] Only process ABS_MT_SLOT where there are slots available

2013-11-20 Thread simon
> From: Antonio Ospite > > This fixes the case when a non-multitouch device happens to have a HID > code equal to ABS_MT_SLOT, like the Sony Sixaxis has for the left dpad > analog control. > > Updated to latest tree by Benjamin Tissoires. > > Signed-off-by: Benjamin Tissoires Wow, its been a gre

[PATCH 0/2] power_supply: Fix Oops from NULL pointer dereference from wakeup_source_activate

2013-11-20 Thread Shuah Khan
power_supply_register() calls device_init_wakeup() to register a wakeup source before initializing dev_name. As a result, device_wakeup_enable() end up registering wakeup source with a null name when wakeup_source_register() gets called with dev_name(dev) which is null at the time. device_wakeup_e

[PATCH 2/2] PM: Fix Oops from NULL pointer dereference in wakeup_source_activate

2013-11-20 Thread Shuah Khan
power_supply_register() calls device_init_wakeup() to register a wakeup source before initializing dev_name. As a result, device_wakeup_enable() end up registering wakeup source with a null name when wakeup_source_register() gets called with dev_name(dev) which is null at the time. When kernel is

[PATCH 1/2] power_supply: Fix Oops from NULL pointer dereference from wakeup_source_activate

2013-11-20 Thread Shuah Khan
power_supply_register() calls device_init_wakeup() to register a wakeup source before initializing dev_name. As a result, device_wakeup_enable() end up registering wakeup source with a null name when wakeup_source_register() gets called with dev_name(dev) which is null at the time. When kernel is

[PATCH] wm8994: avoid to enable dcs done irq before init completion dcs_done

2013-11-20 Thread wangbiao
From: wang, biao Date: Wed, 20 Nov 2013 17:53:28 +0800 Subject: [PATCH] wm8994: avoid to enable dcs done irq before init completion dcs_done once code return from request_threaded_irq, irq was setup enabled by default, but completion var dcs_done not got initialized yet, if then a dcs done irq w

Re: [PATCH v2] fs: binfmt_elf: Add ELF header consistency checks

2013-11-20 Thread Al Viro
On Wed, Nov 20, 2013 at 09:34:31PM -0300, Geyslan G. Bem wrote: > The member 'e_ehsize' that holds the ELF header size is compared > with the elfhdr struct size. If not equal, goes out. > If 'e_phoff' holds 0 the object has no program header table, so > goes out. > Ensures the file being loaded has

Re: [RFCv2 3/3] ARM: dts: N900: Add SSI information

2013-11-20 Thread Tony Lindgren
* Sebastian Reichel [130915 13:56]: > + > +Example for Nokia N900: > + > +ssi-controller@48058000 { > + compatible = "ti,omap3-ssi"; > + ti,hwmods = "ssi"; > + > + reg = <0x48058000 0x1000>, > + <0x48059000 0x1000>; > + reg-names = "sys", > + "gdd"; > + >

Re: [f2fs-dev] [PATCH V2 2/2 RESEND] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-20 Thread Jaegeuk Kim
Hi, It seems that ra_sit_pages() is too tightly coupled with build_sit_entries(). Is there another way not to use *is_order? The ra_sit_pages() tries to read consecutive sit pages as many as possible. So then, what about just checking whether its block address is contiguous or not? Something lik

Re: [PATCH v3] KVM: PPC: vfio kvm device: support spapr tce

2013-11-20 Thread Alexey Kardashevskiy
On 11/21/2013 07:57 AM, Alex Williamson wrote: > On Wed, 2013-11-20 at 16:18 +1100, Alexey Kardashevskiy wrote: >> In addition to the external VFIO user API, a VFIO KVM device >> has been introduced recently. >> >> sPAPR TCE IOMMU is para-virtualized and the guest does map/unmap >> via hypercalls w

Re: [PATCH] cpufreq: suspend/resume governors with PM notifiers

2013-11-20 Thread Rafael J. Wysocki
On Wednesday, November 20, 2013 11:04:28 AM Viresh Kumar wrote: > On 18 November 2013 11:09, viresh kumar wrote: > > On 18 November 2013 03:07, Rafael J. Wysocki wrote: > >> On Sunday, November 17, 2013 10:27:43 PM Viresh Kumar wrote: > > > >>> Okay.. Even these notifiers would be fine for me. To

Re: [PATCH 3/7] idle, thermal, acpi: Remove home grown idle implementations

2013-11-20 Thread Jacob Pan
On Wed, 20 Nov 2013 17:04:53 +0100 Peter Zijlstra wrote: > People are starting to grow their own idle implementations in various > disgusting ways. Collapse the lot and use the generic idle code to > provide a proper idle cycle implementation. > +Paul RCU and others rely on is_idle_task() might

Re: [PATCH V2 14/16] cpuidle: don't calculate time-diff if entered_state < 0

2013-11-20 Thread Rafael J. Wysocki
On Wednesday, November 20, 2013 01:34:45 PM Viresh Kumar wrote: > On 3 October 2013 21:26, Viresh Kumar wrote: > > If entered_state < 0, we don't need to set dev->last_residency to 'diff' as > > we > > will be setting it to zero without using its new value. > > > > And so move calculation of diff

Re: mmotm 2013-11-20-16-13 uploaded (arch/um/kernel/sysrq.c)

2013-11-20 Thread Randy Dunlap
On 11/20/13 16:14, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2013-11-20-16-13 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my -mm

Re: [PATCH V2 13/16] cpuidle: free all state kobjects from cpuidle_free_state_kobj()

2013-11-20 Thread Rafael J. Wysocki
On Wednesday, November 20, 2013 01:33:53 PM Viresh Kumar wrote: > Fixing Rafael's email id.. > > On 20 November 2013 13:33, Viresh Kumar wrote: > > On 3 October 2013 21:26, Viresh Kumar wrote: > >> Loop for states is currently present on callers side and so is replicated > >> at > >> several pl

Re: [PATCH v2] mm/zswap: change zswap to writethrough cache

2013-11-20 Thread Bob Liu
Hi Dan, On 11/21/2013 03:49 AM, Dan Streetman wrote: > Currently, zswap is writeback cache; stored pages are not sent > to swap disk, and when zswap wants to evict old pages it must > first write them back to swap cache/disk manually. This avoids > swap out disk I/O up front, but only moves that

Re: [PATCH] fs: binfmt_elf: Add two ELF header consistency checks

2013-11-20 Thread Geyslan Gregório Bem
2013/11/20 Geyslan G. Bem : > The member 'e_ehsize' that holds the ELF header size is compared > with the elfhdr struct size. If not equal, goes out. > If 'e_phoff' holds 0 the object has no program header table, so > goes out. > > Increasing the binary consistency reduces the use of malformed ones

[PATCH v2] fs: binfmt_elf: Add ELF header consistency checks

2013-11-20 Thread Geyslan G. Bem
The member 'e_ehsize' that holds the ELF header size is compared with the elfhdr struct size. If not equal, goes out. If 'e_phoff' holds 0 the object has no program header table, so goes out. Ensures the file being loaded has the correct data encoding, checking 'e_ident[EI_DATA]' against 'ELF_DATA'

[git pull] Please pull powerpc.git merge branch

2013-11-20 Thread Benjamin Herrenschmidt
Hi Linus ! Since you pulled my previous one in less than 20mn (the LE stuff), there's no point waiting for tomorrow for these fixes I mentioned earlier so here they are. This is a small collection of random bug fixes and a few improvements of Oops output which I deemed valuable enough to include

Re: [PATCH tip/core/rcu 01/28] rcutorture: Add KVM-based test framework

2013-11-20 Thread Josh Triplett
On Fri, Nov 15, 2013 at 08:47:27PM -0500, Steven Rostedt wrote: > On Fri, 15 Nov 2013 17:21:16 -0800 > "Paul E. McKenney" wrote: > > > > > Oh, one very minor comment on the patches, you should delete the address > > > of the FSF from your file headers, unless you want to track the office > > > m

[PATCH 1/9] NTB: Xeon Doorbell errata workaround

2013-11-20 Thread Jon Mason
Modifications to the 14th bit of the B2BDOORBELL register will not be mirrored to the remote system due to a hardware issue. To get around the issue, shrink the number of available doorbell bits by 1. The max number of doorbells was being used as a way to referencing the Link Doorbell bit. Since

[PATCH 5/9] NTB: correct dmaengine_get/put usage

2013-11-20 Thread Jon Mason
dmaengine_get() causes the initialization of the per-cpu channel tables. It needs to be called prior to dma_find_channel(). Initial version by Dan Williams Signed-off-by: Jon Mason --- drivers/ntb/ntb_transport.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/d

[PATCH 4/9] NTB: Fix ntb_transport link down race

2013-11-20 Thread Jon Mason
A WARN_ON is being hit in ntb_qp_link_work due to the NTB transport link being down while the ntb qp link is still active. This is caused by the transport link being brought down prior to the qp link worker thread being terminated. To correct this, shutdown the qp's prior to bringing the transpor

Re: [PATCH 5/5] f2fs: move the list_head initialization into the lock protection region

2013-11-20 Thread Jaegeuk Kim
Ok, got it. Thanks, :) 2013-11-20 (수), 17:48 +0800, Gu Zheng: > Hi Kim, > On 11/20/2013 09:31 AM, Jaegeuk Kim wrote: > > > Hi Gu, > > > > IMO, there is no reason to cover the list header by the lock. > > In any flows, sbi should have the header all the time. > > Yes, you're right. > > > What i

[PATCH 8/9] NTB: Enable Snoop on Primary Side

2013-11-20 Thread Jon Mason
Enable Snoop from Primary to Secondary side on BAR23 and BAR45 on all TLPs. Previously, Snoop was only enabled from Secondary to Primary side. This can have a performance improvement on some workloads. Also, make the code more obvious about how the link is being enabled. Signed-off-by: Jon Maso

[PATCH 6/9] NTB: remove duplicate defines

2013-11-20 Thread Jon Mason
From: Michael Opdenacker Remove duplicate defines in drivers/ntb/ntb_regs.h Signed-off-by: Michael Opdenacker Signed-off-by: Jon Mason --- drivers/ntb/ntb_regs.h |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/ntb/ntb_regs.h b/drivers/ntb/ntb_regs.h index 5381b65..a689f1c 100

[PATCH 7/9] NTB: Document HW errata

2013-11-20 Thread Jon Mason
Add a comment describing the necessary ordering of modifications to the NTB Limit and Base registers. Signed-off-by: Jon Mason --- drivers/ntb/ntb_hw.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c index fa97948..391c377 100644 --

[PATCH 2/9] NTB: Fix NTB-RP Link Up

2013-11-20 Thread Jon Mason
The Xeon NTB-RP setup, the transparent side does not get a link up/down interrupt. Since the presence of a NTB device on the transparent side means that we have a NTB link up, we can work around the lack of an interrupt by simply calling the link up function to notify the upper layers. Signed-off

[PATCH 9/9] NTB: Disable interrupts and poll under high load

2013-11-20 Thread Jon Mason
Disable interrupts and poll under high load Signed-off-by: Jon Mason --- drivers/ntb/ntb_hw.c| 42 +- drivers/ntb/ntb_hw.h|7 --- drivers/ntb/ntb_transport.c | 25 +++-- 3 files changed, 48 insertions(+), 26

[PATCH 0/9] NTB Update

2013-11-20 Thread Jon Mason
The following patches are intended for inclusion in the 3.13 kernel. They include a number of bug fixes, some cleanups, and a couple of features. Please let me know if there are any issues. Otherwise, I'll send a pull request to Linus on Friday for these patches. Thanks, Jon --- Alexander Gord

[PATCH 3/9] ntb: Fix missed call to pci_enable_msix()

2013-11-20 Thread Jon Mason
From: Alexander Gordeev Current MSI-X enablement code assumes MSI-Xs were successfully allocated in case less than requested vectors were available. That assumption is wrong, since MSI-Xs should be enabled with a repeated call to pci_enable_msix(). This update fixes this. Signed-off-by: Alexande

Re: [PATCH] sysfs, acpi, tables: Set file size for each ACPI table

2013-11-20 Thread Rafael J. Wysocki
On Wednesday, November 20, 2013 03:38:55 PM Toshi Kani wrote: > On Tue, 2013-11-19 at 17:54 +0900, HATAYAMA Daisuke wrote: > > Currently, each of the ACPI tables exported from > > /sys/firmware/acpi/tables is of zero size: > > > > $ LANG=C ls -ld /sys/firmware/acpi/tables/* > > -r 1 root r

mmotm 2013-11-20-16-13 uploaded

2013-11-20 Thread akpm
The mm-of-the-moment snapshot 2013-11-20-16-13 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

Re: [PATCH 6/8] platform:x86: Remove OOM message after input_allocate_device

2013-11-20 Thread Matthew Garrett
Applied, thanks. -- Matthew Garrett -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] Clarify error on directive in macro arguments (Re: [PATCH] jffs2: fix sparse errors: directive in argument list)

2013-11-20 Thread Josh Triplett
On Sun, Nov 17, 2013 at 09:07:46PM -0500, Greg Price wrote: > From: Greg Price > Date: Sun, 17 Nov 2013 17:57:41 -0800 > Subject: [PATCH] Clarify error on directive in macro arguments > > Preprocessor directives in the arguments of a real function > are innocuous and in some contexts common. If

Re: [PATCH] platform: add chrome platform directory

2013-11-20 Thread Matthew Garrett
Applied, thanks. -- Matthew Garrett -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] thinkpad_acpi: Fix build error when CONFIG_SND_MAX_CARDS > 32

2013-11-20 Thread Matthew Garrett
Applied, thanks. -- Matthew Garrett -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v2 0/4] Enable more Intel Mid platforms on IPC driver

2013-11-20 Thread Matthew Garrett
Applied the set, thanks. -- Matthew Garrett

Re: [PATCH] jffs2: fix sparse errors: directive in argument list

2013-11-20 Thread Josh Triplett
On Mon, Nov 18, 2013 at 01:33:49AM +, Al Viro wrote: > On Sun, Nov 17, 2013 at 02:45:05PM -0800, Joe Perches wrote: > > On Sun, 2013-11-17 at 20:34 -0200, Erico Nunes wrote: > > > Do you mean it as an error in the sparse tool? > > > > Yes. I think it's a defect in how sparse > > treats string

Re: [PATCH] x86: enable DMA CMA with swiotlb

2013-11-20 Thread H. Peter Anvin
On 11/19/2013 03:32 PM, Akinobu Mita wrote: > The DMA Contiguous Memory Allocator support on x86 is disabled when > swiotlb config option is enabled. So DMA CMA is always disabled on > x86_64 because swiotlb is always enabled. This attempts to support > for DMA CMA with enabling swiotlb config op

Re: [PATCH 1/1] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-11-20 Thread Sebastian Hesselbarth
On 11/21/2013 12:40 AM, Rob Herring wrote: On Wed, Nov 20, 2013 at 3:47 PM, delicious quinoa wrote: On Thu, Nov 7, 2013 at 6:33 AM, Sebastian Hesselbarth wrote: On 11/06/13 23:49, Alan Tull wrote: [snip] BTW, what if we get rid of port child nodes completely and rather use: gpio: gpio-co

Next Long Term Stable?

2013-11-20 Thread Leann Ogasawara
Hi Greg, I realize it's likely too early to even be inquiring about the next Longterm Stable kernel you'd be selecting to maintain, especially since you've recently selected the v3.10 kernel. However, I thought it wouldn't hurt to at least mention that Ubuntu will anticipate shipping a v3.13 base

Re: [PATCH] video: backlight: Remove backlight sysfs uevent

2013-11-20 Thread Matthew Garrett
On Mon, 2013-11-11 at 22:56 -0200, Henrique de Moraes Holschuh wrote: > On Tue, 12 Nov 2013, Jingoo Han wrote: > > 'thinkpad_acpi.c' uses the 'BACKLIGHT_UPDATE_SYSFS'. > > Henrique, can we remove it? > > Can't you fix this by rate-limiting, or otherwise adding an attribute that > backlight devices

Re: [PATCH 1/1] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-11-20 Thread Rob Herring
On Wed, Nov 20, 2013 at 3:47 PM, delicious quinoa wrote: > On Thu, Nov 7, 2013 at 6:33 AM, Sebastian Hesselbarth > wrote: >> On 11/06/13 23:49, Alan Tull wrote: [snip] >> BTW, what if we get rid of port child nodes completely and rather >> use: >> >> gpio: gpio-controller@2 { >> com

Re: [PATCH] x86: enable DMA CMA with swiotlb

2013-11-20 Thread Akinobu Mita
2013/11/20 Konrad Rzeszutek Wilk : > On Wed, Nov 20, 2013 at 08:32:19AM +0900, Akinobu Mita wrote: >> The DMA Contiguous Memory Allocator support on x86 is disabled when >> swiotlb config option is enabled. So DMA CMA is always disabled on >> x86_64 because swiotlb is always enabled. This attempt

[PATCH] regmap: make sure we unlock on failure in regmap_bulk_write

2013-11-20 Thread Courtney Cavin
Signed-off-by: Courtney Cavin --- drivers/base/regmap/regmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 9c021d9..d1a9141 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -15

Re: [next] ton of "scheduling while atomic"

2013-11-20 Thread Bjorn Helgaas
; drm_dev_register+0x21/0x1f0 > Modules linked in: > CPU: 1 PID: 1 Comm: swapper/0 Tainted: GW > 3.12.0-next-20131120+ #4 > Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 > 88002f512780 88002dcc77d8 816a90d4 0006 > 88002dcc8000 88002d

[PULL] : clockevents/clocksource fixes for 3.12

2013-11-20 Thread Daniel Lezcano
Hi Thomas, Ingo, this pull request is an update of the previous one, refreshed against the latest timers/urgent. * Stephen Boyd hidden the event stream Kconfig option for the arch_arm_timer for non ARM architectures * Laurent Pinchard fixed a missing a clk_put in case the registering of

[git pull] Please pull powerpc.git merge branch

2013-11-20 Thread Benjamin Herrenschmidt
Hi Linus ! With my previous pull request I mentioned some remaining Little Endian patches, notably support for our new ABI, which I was sitting on making sure it was all finalized. The toolchain folks confirmed it now, the new ABI is stable and merged with gcc, so we are all good. Oh and we actua

Re: [GIT PULL] PCI updates for v3.13

2013-11-20 Thread Bjorn Helgaas
[+cc Jiri, Tejun] On Wed, Nov 20, 2013 at 2:28 PM, Bjorn Helgaas wrote: > The following changes since commit 4fbf888accb39af423f27d44e8186f053723: > > Merge tag 'ext4_for_linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (2013-11-14 17:19:58 > +0900) > > are available i

  1   2   3   4   5   6   >