Re: mmotm 2014-01-02-14-35 uploaded (musb)

2014-01-03 Thread Felipe Balbi
On Fri, Jan 03, 2014 at 09:57:50AM -0800, Randy Dunlap wrote: On 01/02/14 14:36, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2014-01-02-14-35 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment:

Re: status of block-integrity

2014-01-03 Thread Martin K. Petersen
Hannes == Hannes Reinecke h...@suse.de writes: Hannes Personally, I doubt it's a good idea to kill it off, but a Hannes proper (userland) API for it has been a long time missing. Before we throw the baby out with the bath water, maybe Darrick can fill us in on the progress of the aio

Re: bio_integrity_verify() bug causing READ verify to be silently skipped

2014-01-03 Thread Martin K. Petersen
nab == Nicholas A Bellinger n...@linux-iscsi.org writes: nab Given that bio_integrity_verify() is using bio_for_each_segment(), nab the loop starts from the updated bio-bi_idx, and not a zero value, nab which ends up skipping individual bio segment calls to nab bi-verify_fn(). That's botched.

Re: [PATCH] mm/mlock: fix BUG_ON unlocked page for nolinear VMAs

2014-01-03 Thread Sasha Levin
On 12/18/2013 04:43 PM, Andrew Morton wrote: On Wed, 18 Dec 2013 17:23:03 +0800 Wanpeng Li liw...@linux.vnet.ibm.com wrote: diff --git a/mm/rmap.c b/mm/rmap.c index 55c8b8d..1e24813 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -1347,6 +1347,7 @@ static int try_to_unmap_cluster(unsigned long

Re: [PATCH] drivers: Remove unused devm_*_put functions

2014-01-03 Thread Josh Triplett
On Fri, Jan 03, 2014 at 08:07:22PM +0900, Alexandre Courbot wrote: On Thu, Jan 2, 2014 at 10:07 PM, Linus Walleij linus.wall...@linaro.org wrote: On Sat, Dec 21, 2013 at 11:49 AM, Rashika Kheria rashika.khe...@gmail.com wrote: -/** - * devm_gpiod_put - Resource-managed gpiod_put() - *

Re: [GIT PULL] usb patches for v3.14 merge window

2014-01-03 Thread Greg KH
On Thu, Dec 26, 2013 at 04:36:59PM -0600, Felipe Balbi wrote: Hi Greg, Here's my overly extensive pull request for v3.14 merge window. Lots of work has happened for next merge window. All patches have been tested with all ARM defconfigs, i386_defconfig, kvm_guest.config, x86_64_defconfig,

[PATCH v13 07/19] xen/pvh: MMU changes for PVH (v2)

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com .. which are surprinsingly small compared to the amount for PV code. PVH uses mostly native mmu ops, we leave the generic (native_*) for the majority and just overwrite the baremetal with the ones we need. At startup, we are running with

Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it

2014-01-03 Thread Josh Triplett
On Fri, Jan 03, 2014 at 05:40:52PM +0100, Michal Marek wrote: On 2013-12-23 22:56, Josh Triplett wrote: GCC 4.9 and newer have a new warning -Wdate-time, which warns on any use of __DATE__, __TIME__, or __TIMESTAMP__, which would make the build non-deterministic. Now that the kernel does

[PATCH v13 10/19] xen/pvh: Load GDT/GS in early PV bootup code for BSP.

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com During early bootup we start life using the Xen provided GDT, which means that we are running with %cs segment set to FLAT_KERNEL_CS (FLAT_RING3_CS64 0xe033, GDT index 261). But for PVH we want to be use HVM type mechanism for segment operations. As

[PATCH v13 15/19] xen/grant-table: Refactor gnttab_init

2014-01-03 Thread Konrad Rzeszutek Wilk
We have this odd scenario of where for PV paths we take a shortcut but for the HVM paths we first ioremap xen_hvm_resume_frames, then assign it to gnttab_shared.addr. This is needed because gnttab_map uses gnttab_shared.addr. Instead of having: if (pv) return gnttab_map

[PATCH v13 11/19] xen/pvh: Secondary VCPU bringup (non-bootup CPUs)

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com The VCPU bringup protocol follows the PV with certain twists. From xen/include/public/arch-x86/xen.h: Also note that when calling DOMCTL_setvcpucontext and VCPU_initialise for HVM and PVH guests, not all information in this structure is updated: -

[PATCH v13 02/19] xen/pvh/x86: Define what an PVH guest is (v3).

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com Which is a PV guest with auto page translation enabled and with vector callback. It is a cross between PVHVM and PV. The Xen side defines PVH as (from docs/misc/pvh-readme.txt, with modifications): * the guest uses auto translate: - p2m is managed

[PATCH v13 18/19] xen/pvh: Piggyback on PVHVM XenBus.

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com PVH is a PV guest with a twist - there are certain things that work in it like HVM and some like PV. For the XenBus mechanism we want to use the PVHVM mechanism. Signed-off-by: Mukesh Rathor mukesh.rat...@oracle.com Signed-off-by: Konrad Rzeszutek

[PATCH v13 06/19] xen/mmu: Cleanup xen_pagetable_p2m_copy a bit.

2014-01-03 Thread Konrad Rzeszutek Wilk
Stefano noticed that the code runs only under 64-bit so the comments about 32-bit are pointless. Also we change the condition for xen_revector_p2m_tree returning the same value (because it could not allocate a swath of space to put the new P2M in) or it had been called once already. In such we

[PATCH v13 09/19] xen/pvh: Setup up shared_info.

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com For PVHVM the shared_info structure is provided via the same way as for normal PV guests (see include/xen/interface/xen.h). That is during bootup we get 'xen_start_info' via the %esi register in startup_xen. Then later we extract the 'shared_info'

[PATCH v13 13/19] xen/pvh: Piggyback on PVHVM for event channels (v2)

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com PVH is a PV guest with a twist - there are certain things that work in it like HVM and some like PV. There is a similar mode - PVHVM where we run in HVM mode with PV code enabled - and this patch explores that. The most notable PV interfaces are the

[PATCH v13 17/19] xen/pvh: Piggyback on PVHVM for grant driver (v4)

2014-01-03 Thread Konrad Rzeszutek Wilk
In PVH the shared grant frame is the PFN and not MFN, hence its mapped via the same code path as HVM. The allocation of the grant frame is done differently - we do not use the early platform-pci driver and have an ioremap area - instead we use balloon memory and stitch all of the non-contingous

[PATCH v13 01/19] xen/p2m: Check for auto-xlat when doing mfn_to_local_pfn.

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com Most of the functions in page.h are prefaced with if (xen_feature(XENFEAT_auto_translated_physmap)) return mfn; Except the mfn_to_local_pfn. At a first sight, the function should work without this patch - as the 'mfn_to_mfn'

[PATCH v13 14/19] xen/grants: Remove gnttab_max_grant_frames dependency on gnttab_init.

2014-01-03 Thread Konrad Rzeszutek Wilk
The function gnttab_max_grant_frames() returns the maximum amount of frames (pages) of grants we can have. Unfortunatly it was dependent on gnttab_init() having been run before to initialize the boot max value (boot_max_nr_grant_frames). This meant that users of gnttab_max_grant_frames would

[PATCH v13 16/19] xen/grant: Implement an grant frame array struct (v2).

2014-01-03 Thread Konrad Rzeszutek Wilk
The 'xen_hvm_resume_frames' used to be an 'unsigned long' and contain the virtual address of the grants. That was OK for most architectures (PVHVM, ARM) were the grants are contiguous in memory. That however is not the case for PVH - in which case we will have to do a lookup for each virtual

[PATCH v13] Linux Xen PVH support (v13)

2014-01-03 Thread Konrad Rzeszutek Wilk
The patches, also available at git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git devel/pvh.v13 implements the neccessary functionality to boot a PV guest in PVH mode. This blog has a great description of what PVH is:

[PATCH v13 08/19] xen/pvh/mmu: Use PV TLB instead of native.

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com We also optimize one - the TLB flush. The native operation would needlessly IPI offline VCPUs causing extra wakeups. Using the Xen one avoids that and lets the hypervisor determine which VCPU needs the TLB flush. Signed-off-by: Mukesh Rathor

Re: [PATCH] scripts/gcc-version.sh: handle CC=gcc -m32

2014-01-03 Thread Michal Marek
On 3.1.2014 18:10, Michal Marek wrote: On 2013-12-10 08:13, Rusty Russell wrote: Without it we get ugly warnings (though build still succeeds). $ make -j8 CC=gcc -m32 In file included from command-line:0:0: /usr/include/stdc-predef.h:30:26: fatal error: bits/predefs.h: No such file or

[PATCH 1/4] x86: Add support for Cache QoS Monitoring (CQM) detection

2014-01-03 Thread Peter P Waskiewicz Jr
This patch adds support for the new Cache QoS Monitoring (CQM) feature found in future Intel Xeon processors. It includes the new values to track CQM resources to the cpuinfo_x86 structure, plus the CPUID detection routines for CQM. CQM allows a process, or set of processes, to be tracked by the

[PATCH v13 04/19] xen/pvh: Don't setup P2M tree.

2014-01-03 Thread Konrad Rzeszutek Wilk
P2M is not available for PVH. Fortunatly for us the P2M code already has mostly the support for auto-xlat guest thanks to commit 3d24bbd7dddbea54358a9795abaf051b0f18973c grant-table: call set_phys_to_machine after mapping grant refs which: introduces set_phys_to_machine calls for auto_translated

[PATCH v13 05/19] xen/mmu/p2m: Refactor the xen_pagetable_init code (v2).

2014-01-03 Thread Konrad Rzeszutek Wilk
The revector and copying of the P2M only happens when !auto-xlat and on 64-bit builds. It is not obvious from the code, so lets have seperate 32 and 64-bit functions. We also invert the check for auto-xlat to make the code flow simpler. Suggested-by: Stefano Stabellini

[PATCH 4/4] Documentation: Add documentation for cacheqos cgroup

2014-01-03 Thread Peter P Waskiewicz Jr
This patch adds the documentation for the new cacheqos cgroup subsystem. It provides the overview of how the new subsystem works, how Cache QoS Monitoring works in the x86 architecture, and how everything is tied together between the hardware and the cgroup software stack. Signed-off-by: Peter P

[PATCH v13 19/19] xen/pvh: Support ParaVirtualized Hardware extensions (v3).

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com PVH allows PV linux guest to utilize hardware extended capabilities, such as running MMU updates in a HVM container. The Xen side defines PVH as (from docs/misc/pvh-readme.txt, with modifications): * the guest uses auto translate: - p2m is managed

[PATCH 0/4] x86: Add Cache QoS Monitoring (CQM) support

2014-01-03 Thread Peter P Waskiewicz Jr
This patchset adds support for the new Cache QoS Monitoring (CQM) feature found in future Intel Xeon processors. CQM allows a process, or set of processes, to be tracked by the CPU to determine the cache usage of that task group. Using this data from the CPU, software can be written to extract

[PATCH v13 12/19] xen/pvh: Update E820 to work with PVH (v2)

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com In xen_add_extra_mem() we can skip updating P2M as it's managed by Xen. PVH maps the entire IO space, but only RAM pages need to be repopulated. Signed-off-by: Mukesh Rathor mukesh.rat...@oracle.com Signed-off-by: Konrad Rzeszutek Wilk

[PATCH 3/4] cgroup: Add new cacheqos cgroup subsys to support Cache QoS Monitoring

2014-01-03 Thread Peter P Waskiewicz Jr
This patch adds a new cgroup subsystem, named cacheqos. This cgroup controller is intended to manage task groups to track cache occupancy and usage of a CPU. The cacheqos subsystem operates very similarly to the cpuacct subsystem. Tasks can be grouped into different child subgroups, and have

[PATCH v13 03/19] xen/pvh: Early bootup changes in PV code (v4).

2014-01-03 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com We don't use the filtering that 'xen_cpuid' is doing because the hypervisor treats 'XEN_EMULATE_PREFIX' as an invalid instruction. This means that all of the filtering will have to be done in the hypervisor/toolstack. Without the filtering we expose

[PATCH 2/4] x86: Add Cache QoS Monitoring support to x86 perf uncore

2014-01-03 Thread Peter P Waskiewicz Jr
This patch adds the MSRs and masks for CQM to the x86 uncore. The actual schedling functions using the MSRs will be included in the next patch when the new cgroup subsystem is added, as there are dependencies on structs from the cgroup. Signed-off-by: Peter P Waskiewicz Jr

Re: [PATCH v2] allow xenfb initialization for hvm guests

2014-01-03 Thread Konrad Rzeszutek Wilk
On Fri, Jan 03, 2014 at 07:02:09PM +, Stefano Stabellini wrote: The title needs 'xen/fb' prefixed but that is easy enough. There is no reasons why an HVM guest shouldn't be allowed to use xenfb. As a matter of fact ARM guests, HVM from Linux POV, can use xenfb. Given that no Xen

Re: mmotm 2014-01-02-14-35 uploaded (musb)

2014-01-03 Thread Randy Dunlap
On 01/03/14 12:02, Felipe Balbi wrote: On Fri, Jan 03, 2014 at 09:57:50AM -0800, Randy Dunlap wrote: On 01/02/14 14:36, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2014-01-02-14-35 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README

Re: [PATCH v2] Documentation/cpu-freq: add intel-pstate.txt

2014-01-03 Thread Randy Dunlap
On 01/03/14 11:23, Ramkumar Ramachandra wrote: Documentation/cpu-freq/intel-pstate.txt | 40 + 1 file changed, 40 insertions(+) create mode 100644 Documentation/cpu-freq/intel-pstate.txt diff --git a/Documentation/cpu-freq/intel-pstate.txt

Re: [PATCH] mm/mlock: fix BUG_ON unlocked page for nolinear VMAs

2014-01-03 Thread Linus Torvalds
On Fri, Jan 3, 2014 at 12:17 PM, Sasha Levin sasha.le...@oracle.com wrote: Ping? This BUG() is triggerable in 3.13-rc6 right now. So Andrew suggested just removing the BUG_ON(), but it's been there for a *long* time. And I detest the patch that was sent out that said Should I check? Maybe we

Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it

2014-01-03 Thread Michal Marek
On 3.1.2014 21:29, Josh Triplett wrote: Please feel free to take the entire series through your tree; I received some maintainer acks, but no indications that the patches are going through their trees. OK. I will wait until mid next week and commit with any acks received. Michal -- To

[PATCH] watchdog: bcm281xx: Fix Kconfig help section

2014-01-03 Thread Markus Mayer
Fix the debugfs path name mentioned in the Kconfig help section. Signed-off-by: Markus Mayer markus.ma...@linaro.org --- This patch fixes an oversight in my previous series from Dec 31. http://www.spinics.net/lists/linux-watchdog/msg03538.html drivers/watchdog/Kconfig |2 +- 1 file

[patch] staging: vt6655: check too restrictive (off by one)

2014-01-03 Thread Dan Carpenter
key_len == MAX_KEY_LEN is valid but we return an error. Introduced-by: 6b7200fe0a59 ('Staging: vt6655: memory corruption in check in wpa_set_wpadev()') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/staging/vt6655/wpactl.c b/drivers/staging/vt6655/wpactl.c index

Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it

2014-01-03 Thread Josh Triplett
On Fri, Jan 03, 2014 at 09:55:16PM +0100, Michal Marek wrote: On 3.1.2014 21:29, Josh Triplett wrote: Please feel free to take the entire series through your tree; I received some maintainer acks, but no indications that the patches are going through their trees. OK. I will wait until

Re: [PATCH v2 1/1] mm: fix the theoretical compound_lock() vs prep_new_page() race

2014-01-03 Thread Andrew Morton
On Fri, 3 Jan 2014 20:55:47 +0100 Oleg Nesterov o...@redhat.com wrote: get/put_page(thp_tail) paths do get_page_unless_zero(page_head) + compound_lock(). In theory this page_head can be already freed and reallocated as alloc_pages(__GFP_COMP, smaller_order). In this case

Re: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst

2014-01-03 Thread walt
On 01/03/2014 11:54 AM, Sarah Sharp wrote: On Fri, Jan 03, 2014 at 07:40:33AM -0800, walt wrote: On 01/02/2014 11:15 AM, Sarah Sharp wrote: On Tue, Dec 31, 2013 at 12:40:16PM -0800, walt wrote: On 12/18/2013 01:11 PM, Greg Kroah-Hartman wrote: 3.12-stable review patch. If anyone has any

Re: [PATCH v5 24/33] x86: Move declaration for mp_register_ioapic()

2014-01-03 Thread Bjorn Helgaas
On Thu, Jan 02, 2014 at 04:05:56PM -0800, Yinghai Lu wrote: Address compiling problem that Fengguang report. Does this fix a problem that's already in the upstream tree? If it merely fixes a problem that was added somewhere in your patches, why don't you fold this fix into the patch that added

[PATCH] x86: Do not force removal of __user when calling copy_to/from_user_nocheck()

2014-01-03 Thread Steven Rostedt
Commit ff47ab4ff3cdd x86: Add 1/2/4/8 byte optimization to 64bit __copy_{from,to}_user_inatomic added a _nocheck call in between the copy_to/from_user() and copy_user_generic(). As both the normal and nocheck versions of theses calls use the proper __user annotation, a typecast to remove it

Re: [net-next] pci_regs.h: Add PCI bus link speed and width defines

2014-01-03 Thread Jesse Brandeburg
+linux-pci and see note below On Thu, Jan 2, 2014 at 4:21 PM, David Miller da...@davemloft.net wrote: From: Jeff Kirsher jeffrey.t.kirs...@intel.com Date: Sat, 28 Dec 2013 04:36:13 -0800 Add missing PCI bus link speed 8.0 GT/s and bus link widths of x1, x2, x4 and x8. CC:

Re: [BUG 3.13.0-rc6] reiserfs possible circular locking dependency

2014-01-03 Thread Jeff Mahoney
On 1/3/14, 2:46 PM, Linus Torvalds wrote: On Fri, Jan 3, 2014 at 11:16 AM, Knut Petersen knut_peter...@t-online.de wrote: Rebooting after a power failure on an openSuSE 13.1 system with kernel 3.13.0-rc6 triggered the attached lockdep warning. Hmm. It seems to be that the *normal* sequence

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2014-01-03 Thread Paolo Bonzini
Il 03/01/2014 21:00, Dirk Brandewie ha scritto: +case MSR_IA32_MPERF: +case MSR_IA32_APERF: These should never be accessed. A KVM VM will always have CPUID[06H].ECX = 0, and the Intel manual says that the MSRs are only present if CPUID returns that value with bit 0 set. I think the

Re: GPL violators (charging for a Linux kernel by itself and then charging again for source)

2014-01-03 Thread Richard Weinberger
On Fri, Jan 3, 2014 at 7:56 PM, Eric Appleman erapple...@gmail.com wrote: https://plus.google.com/115556873499158641618/posts/VfAcAdUHU6h Mirror in case of deletion: http://pastebin.com/7fXKR6ss A small snippet... Chad can sell his kernel, and he has the right to refuse to sell it to

Re: [PATCH] Perf: Correct Assumptions about Sample Timestamps in Passes

2014-01-03 Thread Frederic Weisbecker
On Wed, Jan 01, 2014 at 11:37:55AM -0700, David Ahern wrote: On 12/26/13, 8:30 AM, Frederic Weisbecker wrote: On Thu, Dec 26, 2013 at 10:24:03AM -0500, David Ahern wrote: On 12/26/13, 10:14 AM, Frederic Weisbecker wrote: I was carrying that patch while working on perf-kvm-stat-live last Fall.

Re: [RFC PATCHv3 00/11] Intermix Lowmem and vmalloc

2014-01-03 Thread Laura Abbott
On 1/3/2014 10:23 AM, Dave Hansen wrote: On 01/02/2014 01:53 PM, Laura Abbott wrote: The goal here is to allow as much lowmem to be mapped as if the block of memory was not reserved from the physical lowmem region. Previously, we had been hacking up the direct virt - phys translation to ignore

Re: [net-next] pci_regs.h: Add PCI bus link speed and width defines

2014-01-03 Thread Bjorn Helgaas
On Fri, Jan 3, 2014 at 2:53 PM, Jesse Brandeburg jesse.brandeb...@gmail.com wrote: +linux-pci Thanks, Jesse. and see note below On Thu, Jan 2, 2014 at 4:21 PM, David Miller da...@davemloft.net wrote: From: Jeff Kirsher jeffrey.t.kirs...@intel.com Date: Sat, 28 Dec 2013 04:36:13 -0800 Add

Re: [PATCH 0/9] re-shrink 'struct page' when SLUB is on.

2014-01-03 Thread Andrew Morton
On Fri, 03 Jan 2014 10:01:47 -0800 Dave Hansen d...@sr71.net wrote: This is a minor update from the last version. The most notable thing is that I was able to demonstrate that maintaining the cmpxchg16 optimization has _some_ value. Otherwise, the code changes are just a few minor

Re: [PATCH] nfsd: check passed socket's net matches NFSd superblock's one

2014-01-03 Thread J. Bruce Fields
On Mon, Dec 30, 2013 at 05:23:59PM +0300, Stanislav Kinsbursky wrote: There could be a case, when NFSd file system is mounted in network, different to socket's one, like below: ip netns exec creates new network and mount namespace, which duplicates NFSd mount point, created in init_net

Re: [PATCH tip/efi-kexec] x86: setup.c build fix

2014-01-03 Thread H. Peter Anvin
On 01/03/2014 06:40 AM, Matt Fleming wrote: On Fri, 03 Jan, at 11:56:49AM, Dave Young wrote: In case without CONFIG_EFI, there will be below build error: arch/x86/built-in.o: In function `setup_arch': (.init.text+0x9dc): undefined reference to `parse_efi_setup' Thus fix it by adding blank

Re: [PATCH tip/efi-kexec] x86: setup.c build fix

2014-01-03 Thread Matt Fleming
On Fri, 03 Jan, at 02:24:28PM, H. Peter Anvin wrote: Something I should be pulling? Yep, I'll be sending the pull request momentarily. -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH] x86/boot: use .code16 instead of .code16gcc

2014-01-03 Thread David Woodhouse
This reverts commit 28b48688 (x86, boot: use .code16gcc instead of .code16). Versions of binutils older than 2.16 are already not working, so this workaround is no longer necessary either. Signed-off-by: David Woodhouse david.woodho...@intel.com --- Since I just made .code16 work in LLVM, this

Re: [PATCH 1/7] Make for_each_child_of_node() reference its args when CONFIG_OF=n

2014-01-03 Thread Andrew Morton
Subject: [PATCH 1/7] Make for_each_child_of_node() reference its args when CONFIG_OF=n Nit: Documentation/SubmittingPatches, section 15. subsystem: is missing from all patche titles. On Fri, 03 Jan 2014 16:07:23 + David Howells dhowe...@redhat.com wrote: Make for_each_child_of_node()

[GIT PULL] EFI kexec fixes

2014-01-03 Thread Matt Fleming
Peter, please pull these fixes for the EFI kexec patches sitting in tip/x86/efi-kexec - the kbuild bot reported some build breakage. The following changes since commit 518548abd61808ea1e31614ccbdae34d3c32dfa4: x86/efi: Delete superfluous global variables (2013-12-29 13:09:08 +) are

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2014-01-03 Thread Rafael J. Wysocki
On Friday, January 03, 2014 08:04:36 PM Gleb Natapov wrote: On Fri, Jan 03, 2014 at 09:30:28AM -0800, Dirk Brandewie wrote: Hi All, Sorry for being late to the party but I just got back from vacation. There is something deeply wrong here. We should have never gotten to

Re: [PATCH] x86/boot: use .code16 instead of .code16gcc

2014-01-03 Thread H. Peter Anvin
On 01/03/2014 02:30 PM, David Woodhouse wrote: Since I just made .code16 work in LLVM, this removes one more barrier to building the kernel with LLVM/clang. And it looks like 'clang -m16' for the C code in arch/x86/boot shouldn't actually be that hard to do now either. Nice. I would really

Re: GPL violators (charging for a Linux kernel by itself and then charging again for source)

2014-01-03 Thread Phil Turmel
On 01/03/2014 05:07 PM, Richard Weinberger wrote: On Fri, Jan 3, 2014 at 7:56 PM, Eric Appleman erapple...@gmail.com wrote: Wasn't the whole idea of a fee being permitted an acknowledgment that physical distribution of source was acceptable if electronic was not possible (low bandwidth ISP,

Re: [PATCH v5 30/33] PCI, x86, ACPI: Enable ioapic hotplug support with acpi host bridge.

2014-01-03 Thread Bjorn Helgaas
On Thu, Jan 02, 2014 at 04:06:02PM -0800, Yinghai Lu wrote: We need to have ioapic setup before normal pci drivers. otherwise other pci driver can not setup irq. So we should not treat them as normal pci devices. Also we will need to support ioapic hotplug without pci device around. We

Re: [PATCH] Perf: Correct Assumptions about Sample Timestamps in Passes

2014-01-03 Thread David Ahern
On 1/3/14, 3:07 PM, Frederic Weisbecker wrote: On Wed, Jan 01, 2014 at 11:37:55AM -0700, David Ahern wrote: On 12/26/13, 8:30 AM, Frederic Weisbecker wrote: On Thu, Dec 26, 2013 at 10:24:03AM -0500, David Ahern wrote: On 12/26/13, 10:14 AM, Frederic Weisbecker wrote: I was carrying that

[tip:x86/build] x86, sparse: Do not force removal of __user when calling copy_to/from_user_nocheck()

2014-01-03 Thread tip-bot for Steven Rostedt
Commit-ID: c7c4c8f1b828b550295f1d937578e3090f3b5d66 Gitweb: http://git.kernel.org/tip/c7c4c8f1b828b550295f1d937578e3090f3b5d66 Author: Steven Rostedt rost...@goodmis.org AuthorDate: Fri, 3 Jan 2014 16:45:00 -0500 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Fri, 3 Jan 2014

Re: [PATCH v5 25/33] PCI, x86: Make ioapic hotplug support built-in

2014-01-03 Thread Bjorn Helgaas
[fixed Rafael's email address; I imagine you got a few bounces :)] On Thu, Jan 02, 2014 at 04:05:57PM -0800, Yinghai Lu wrote: ioapic hotplug should be built-in like pci root bus hotplug. Also need to make it depends on X86_IO_APIC. Signed-off-by: Yinghai Lu ying...@kernel.org Most of

[tip:x86/build] x86, boot: Use .code16 instead of .code16gcc

2014-01-03 Thread tip-bot for David Woodhouse
Commit-ID: c86cd70a46c97b001dd9d8b3e925d2a38b88d3ca Gitweb: http://git.kernel.org/tip/c86cd70a46c97b001dd9d8b3e925d2a38b88d3ca Author: David Woodhouse dw...@infradead.org AuthorDate: Fri, 3 Jan 2014 22:30:42 + Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Fri, 3 Jan 2014

Re: GPL violators (charging for a Linux kernel by itself and then charging again for source)

2014-01-03 Thread Richard Weinberger
On Fri, Jan 3, 2014 at 11:25 PM, Phil Turmel phi...@turmel.org wrote: On 01/03/2014 05:07 PM, Richard Weinberger wrote: On Fri, Jan 3, 2014 at 7:56 PM, Eric Appleman erapple...@gmail.com wrote: Wasn't the whole idea of a fee being permitted an acknowledgment that physical distribution of

Re: Sanitize FPU-state when switching tasks (was sanitize CPU-state when switching from virtual-8086 mode to other task)

2014-01-03 Thread halfdog
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 H. Peter Anvin wrote: On 12/31/2013 11:21 AM, Konrad Rzeszutek Wilk wrote: So, I am wondering if this is related to x86/fpu: CR0.TS should be set before trap into PV guest's #NM exception handle which does have a similar pattern - you do enough

Re: [PATCH RESEND] netfilter: remove unused variable

2014-01-03 Thread Pablo Neira Ayuso
On Wed, Jan 01, 2014 at 06:27:19AM +0100, Michal Nazarewicz wrote: The nfmsg variable is not used (except in sizeof operator which does not care about its value) between the first and second time it is assigned the value. Furthermore, nlmsg_data has no side effects, so the assignment can be

Re: [PATCH] x86/boot: use .code16 instead of .code16gcc

2014-01-03 Thread David Woodhouse
On Fri, 2014-01-03 at 14:34 -0800, H. Peter Anvin wrote: Nice. I would really like a gcc option -m16 even if all it did was emit .code16gcc first in any assembly file Is there a PR for that specific request? -- dwmw2 smime.p7s Description: S/MIME cryptographic signature

Re: [PATCH] x86/boot: use .code16 instead of .code16gcc

2014-01-03 Thread H. Peter Anvin
On 01/03/2014 03:12 PM, David Woodhouse wrote: On Fri, 2014-01-03 at 14:34 -0800, H. Peter Anvin wrote: Nice. I would really like a gcc option -m16 even if all it did was emit .code16gcc first in any assembly file Is there a PR for that specific request?

Re: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst

2014-01-03 Thread Sarah Sharp
On Fri, Jan 03, 2014 at 01:21:18PM -0800, walt wrote: I'm so sorry Sarah, that was another mistake. The mistake is so stupid I'm not going to publish it here :( Once I finally ran the kernel with debugging actually compiled in, dmesg contains xhci debugging messages. Wow :) It's a

Re: [PATCH] mm/mlock: fix BUG_ON unlocked page for nolinear VMAs

2014-01-03 Thread Vlastimil Babka
On 01/03/2014 09:52 PM, Linus Torvalds wrote: On Fri, Jan 3, 2014 at 12:17 PM, Sasha Levin sasha.le...@oracle.com wrote: Ping? This BUG() is triggerable in 3.13-rc6 right now. So Andrew suggested just removing the BUG_ON(), but it's been there for a *long* time. Yes, Andrew also merged

Re: [PATCHv8 RFC] pwm: Add Freescale FTM PWM driver support

2014-01-03 Thread Dmitry Torokhov
On Fri, Jan 03, 2014 at 09:16:06AM +, li.xi...@freescale.com wrote: Hi Dmitry, Subject: Re: [PATCHv8 RFC] pwm: Add Freescale FTM PWM driver support Hi Xiubo, On Fri, Jan 03, 2014 at 01:24:21PM +0800, Xiubo Li wrote: + +static inline int fsl_pwm_calculate_default_ps(struct

Re: [PATCH v4] cpufreq: Fix timer/workqueue corruption by protecting reading governor_enabled

2014-01-03 Thread Dmitry Torokhov
On Fri, Jan 03, 2014 at 03:40:16PM +0530, Viresh Kumar wrote: On 3 January 2014 14:47, j...@marvell.com wrote: From: Jane Li j...@marvell.com When a CPU is hot removed we'll cancel all the delayed work items via gov_cancel_work(). Sometimes the delayed work function determines that it

Re: [PATCH] ACPI/Battery: Add a _BIX quirk for NEC LZ750/LS

2014-01-03 Thread Dmitry Torokhov
On Fri, Jan 03, 2014 at 05:01:11PM -0200, Leandro Dorileo wrote: On Thu, Jan 02, 2014 at 03:37:57PM +0800, Lan Tianyu wrote: The aml method _BIX of NEC LZ750/LS returns a broken package which skip the first member Revision according ACPI 5.0 spec Table 10-234. This patch is to add a

[tip:x86/cpu] x86, cpu: Detect more TLB configuration

2014-01-03 Thread tip-bot for Kirill A. Shutemov
Commit-ID: dd360393f4d948eb518372316e52101cf3b44212 Gitweb: http://git.kernel.org/tip/dd360393f4d948eb518372316e52101cf3b44212 Author: Kirill A. Shutemov kirill.shute...@linux.intel.com AuthorDate: Mon, 23 Dec 2013 14:16:58 +0200 Committer: H. Peter Anvin h...@linux.intel.com CommitDate:

Re: [net-next] pci_regs.h: Add PCI bus link speed and width defines

2014-01-03 Thread David Miller
From: Bjorn Helgaas bhelg...@google.com Date: Fri, 3 Jan 2014 15:15:57 -0700 However, I do raise my eyebrows a bit at drivers that poke around in the PCIe capability. I would prefer to have PCI core interfaces that handle that instead. But I haven't seen Jeff's changes yet. The changes just

Re: [PATCH] mm/mlock: fix BUG_ON unlocked page for nolinear VMAs

2014-01-03 Thread Andrew Morton
On Sat, 04 Jan 2014 00:36:18 +0100 Vlastimil Babka vba...@suse.cz wrote: On 01/03/2014 09:52 PM, Linus Torvalds wrote: On Fri, Jan 3, 2014 at 12:17 PM, Sasha Levin sasha.le...@oracle.com wrote: Ping? This BUG() is triggerable in 3.13-rc6 right now. So Andrew suggested just removing

Re: [net-next] pci_regs.h: Add PCI bus link speed and width defines

2014-01-03 Thread Bjorn Helgaas
On Fri, Jan 3, 2014 at 4:56 PM, David Miller da...@davemloft.net wrote: From: Bjorn Helgaas bhelg...@google.com Date: Fri, 3 Jan 2014 15:15:57 -0700 However, I do raise my eyebrows a bit at drivers that poke around in the PCIe capability. I would prefer to have PCI core interfaces that

Re: [PATCH v3 1/2] regulator: anatop-regulator: Fix the error handling on probe

2014-01-03 Thread Dmitry Torokhov
On Tue, Dec 24, 2013 at 01:03:57PM +, Mark Brown wrote: On Mon, Dec 23, 2013 at 12:44:40PM -0200, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Currently when of_get_parent() or syscon_node_to_regmap() fail 'kfree(sreg-name)' is not called, which is incorrect.

[PATCH 0/2] efi: Fix krealloc defect and misc neatening

2014-01-03 Thread Joe Perches
Joe Perches (2): efi: Fix krealloc defect efi: style neatening arch/x86/platform/efi/efi.c | 42 ++ 1 file changed, 22 insertions(+), 20 deletions(-) -- 1.8.1.2.459.gbcd45b4.dirty -- To unsubscribe from this list: send the line unsubscribe

[PATCH 2/2] efi: style neatening

2014-01-03 Thread Joe Perches
Coalesce formats and remove spaces before tabs. Move __initdata after the variable declaration. Signed-off-by: Joe Perches j...@perches.com --- arch/x86/platform/efi/efi.c | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git

[PATCH 1/2] efi: Fix krealloc defect

2014-01-03 Thread Joe Perches
krealloc should use a temporary pointer for allocations and check the temporary pointer returned against NULL too. Signed-off-by: Joe Perches j...@perches.com cc: Matthew Garrett matthew.garr...@nebula.com --- arch/x86/platform/efi/efi.c | 12 +--- 1 file changed, 9 insertions(+), 3

Re: [PATCH 0/3] Deferrable timers support for timerfd API

2014-01-03 Thread John Stultz
On 01/03/2014 09:45 AM, Alexey Perevalov wrote: On 01/03/2014 03:17 AM, John Stultz wrote: On 01/02/2014 10:30 AM, Alexey Perevalov wrote: This version introduces new clockid (CLOCK_DEFERRABLE) , for timerfd_create, instead of new flag (TFD_TIMER_DEFERRABLE) for timerfd_settime introduced in

Re: [PATCH] mm/mlock: fix BUG_ON unlocked page for nolinear VMAs

2014-01-03 Thread Linus Torvalds
On Fri, Jan 3, 2014 at 3:36 PM, Vlastimil Babka vba...@suse.cz wrote: I'm for going with the removal of BUG_ON. The TestSetPageMlocked should provide enough race protection. Maybe. But dammit, that's subtle, and I don't think you're even right. It basically depends on mlock_vma_page() and

Re: [PATCH v5 0/4] Introduce pci_enable_msi/msix_range() interfaces

2014-01-03 Thread Bjorn Helgaas
On Mon, Dec 30, 2013 at 08:28:12AM +0100, Alexander Gordeev wrote: This series is against next branch in Bjorn's repo: git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git Changes from v4 to v5: - pci_auto_enable_msi* functions renamed to pci_enable_msi* ones; -

Re: [PATCH 1/2] seqlock: Use raw_ prefix instead of _no_lockdep

2014-01-03 Thread John Stultz
On 01/02/2014 04:50 PM, Linus Torvalds wrote: On Thu, Jan 2, 2014 at 3:11 PM, John Stultz john.stu...@linaro.org wrote: Linus disliked the _no_lockdep() naming, so instead use the more-consistent raw_* prefix to the non-lockdep enabled seqcount methods. This also adds raw_ methods for the

Re: [PATCH] cxgb4: allow large buffer size to have page size

2014-01-03 Thread David Miller
From: Thadeu Lima de Souza Cascardo casca...@linux.vnet.ibm.com Date: Mon, 23 Dec 2013 15:34:29 -0200 Since commit 52367a763d8046190754ab43743e42638564a2d1 (cxgb4/cxgb4vf: Code cleanup to enable T4 Configuration File support), we have failures like this during cxgb4 probe: cxgb4

Re: [PATCH RESEND] netfilter: remove unused variable

2014-01-03 Thread Michal Nazarewicz
On Sat, Jan 04 2014, Pablo Neira Ayuso wrote: On Wed, Jan 01, 2014 at 06:27:19AM +0100, Michal Nazarewicz wrote: The nfmsg variable is not used (except in sizeof operator which does not care about its value) between the first and second time it is assigned the value. Furthermore, nlmsg_data

Re: [Xen-devel] [PATCH v11 09/12] xen/pvh: Piggyback on PVHVM XenBus and event channels for PVH.

2014-01-03 Thread Mukesh Rathor
On Fri, 3 Jan 2014 15:04:27 + Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Tue, 31 Dec 2013, Konrad Rzeszutek Wilk wrote: --- a/drivers/xen/xenbus/xenbus_client.c +++ b/drivers/xen/xenbus/xenbus_client.c @@ -45,6 +45,7 @@ #include xen/grant_table.h

Re: [net-next] pci_regs.h: Add PCI bus link speed and width defines

2014-01-03 Thread David Miller
From: Bjorn Helgaas bhelg...@google.com Date: Fri, 3 Jan 2014 17:00:42 -0700 On Fri, Jan 3, 2014 at 4:56 PM, David Miller da...@davemloft.net wrote: From: Bjorn Helgaas bhelg...@google.com Date: Fri, 3 Jan 2014 15:15:57 -0700 However, I do raise my eyebrows a bit at drivers that poke around

Re: [PATCH] net: tulip: delete useless tests on netdev_priv

2014-01-03 Thread David Miller
From: Grant Grundler grantgrund...@gmail.com Date: Thu, 2 Jan 2014 07:57:26 -0800 On Thu, Jan 2, 2014 at 8:28 AM, Julia Lawall julia.law...@lip6.fr wrote: From: Julia Lawall julia.law...@lip6.fr Netdev_priv performs an addition, not a pointer dereference, so it seems quit unlikely that its

Re: [Xen-devel] [PATCH v11 09/12] xen/pvh: Piggyback on PVHVM XenBus and event channels for PVH.

2014-01-03 Thread Mukesh Rathor
On Wed, 18 Dec 2013 16:17:39 -0500 Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Wed, Dec 18, 2013 at 06:31:43PM +, Stefano Stabellini wrote: On Tue, 17 Dec 2013, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com PVH is a PV guest with a twist -

Re: [PATCH v3 1/2] usb: musb: add support for JZ4740 usb device controller

2014-01-03 Thread Richard Weinberger
On Thu, Dec 19, 2013 at 9:42 PM, Apelete Seketeli apel...@seketeli.net wrote: Add support for Ingenic JZ4740 USB Device Controller through a specific musb glue layer. JZ4740 UDC not being OTG compatible and missing some hardware registers, this musb glue layer is written from scratch to be

Re: [PATCH 3/3] smsc9420: use named constants for pci_power_t values

2014-01-03 Thread David Miller
From: Julia Lawall julia.law...@lip6.fr Date: Fri, 3 Jan 2014 00:40:31 +0100 From: Julia Lawall julia.law...@lip6.fr The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) ... Signed-off-by: Julia Lawall julia.law...@lip6.fr Applied, thanks Julia. -- To

Re: [PATCH v12 03/18] xen/pvh: Early bootup changes in PV code (v2).

2014-01-03 Thread Mukesh Rathor
On Fri, 3 Jan 2014 12:35:55 -0500 Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Jan 02, 2014 at 05:34:38PM -0800, Mukesh Rathor wrote: On Thu, 2 Jan 2014 13:32:21 -0500 Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Jan 02, 2014 at 03:32:33PM +, David

Re: [PATCH v12 10/18] xen/pvh: Update E820 to work with PVH (v2)

2014-01-03 Thread Mukesh Rathor
On Thu, 2 Jan 2014 13:41:34 -0500 Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Jan 02, 2014 at 04:14:32PM +, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com In xen_add_extra_mem() we can skip updating

Re: [net-next] pci_regs.h: Add PCI bus link speed and width defines

2014-01-03 Thread Jeff Kirsher
On Fri, 2014-01-03 at 19:30 -0500, David Miller wrote: From: Bjorn Helgaas bhelg...@google.com Date: Fri, 3 Jan 2014 17:00:42 -0700 On Fri, Jan 3, 2014 at 4:56 PM, David Miller da...@davemloft.net wrote: From: Bjorn Helgaas bhelg...@google.com Date: Fri, 3 Jan 2014 15:15:57 -0700

<    1   2   3   4   5   6   7   8   >