[PATCH 1/4] usb: host: ehci.h: cleanup header file

2015-12-09 Thread Geyslan G. Bem
This patch silences - A coccinelle warning 'scripts/coccinelle/misc/compare_const_fl.cocci' - All the errors and many warnings shown by checkpatch Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci.h | 89 + 1 file changed, 45

[PATCH 4/4] usb: host: ehci.h: use flexible array instead of zero-length array

2015-12-09 Thread Geyslan G. Bem
C99 standardized flexible arrays 'array[]'. The zero-length ones are old gcc implementation 'array[0]'. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index

Re: [PATCH 01/12] selftests/x86: Extend Makefile to allow 64-bit only tests

2015-12-09 Thread Shuah Khan
On Wed, Dec 9, 2015 at 12:22 PM, Andy Lutomirski wrote: > On Wed, Dec 9, 2015 at 11:11 AM, Shuah Khan wrote: >> On Mon, Dec 7, 2015 at 2:51 PM, Andy Lutomirski wrote: >>> There aren't any yet, but there might be a few some day. >> >> Andy, >> >> Hmm. I would think get_maintainer script should

[PATCH 2/4] usb: host: ehci.h: cleanup header file

2015-12-09 Thread Geyslan G. Bem
This patch does align function/macro definitions. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index a4f5ab5..0daed80 100644 ---

[PATCH 3/4] usb: host: ehci.h: remove duplicated return

2015-12-09 Thread Geyslan G. Bem
This patch removes the return of the default switch case, since 'ehci_port_speed()' already has the same default return. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci.h

[PATCH v8 6/7] drivers:hv: Define the channel type of Hyper-V PCI Express pass-through

2015-12-09 Thread jakeo
From: Jake Oshins This defines the channel type for PCI front-ends in Hyper-V VMs. Signed-off-by: Jake Oshins --- include/linux/hyperv.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 24d0b65..c9a9eed 100644 ---

[PATCH v8 4/7] PCI: Add fwnode_handle to pci_sysdata

2015-12-09 Thread jakeo
From: Jake Oshins This patch adds an fwnode_handle to struct pci_sysdata, which is used by the next patch in the series when trying to locate an IRQ domain associated with a root PCI bus. Signed-off-by: Jake Oshins --- arch/x86/include/asm/pci.h | 15 +++ drivers/pci/probe.c

[PATCH v8 0/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-12-09 Thread jakeo
From: Jake Oshins This version of the patch series incorporates feedback from Mark Zyngier, making this build on arm/arm64. First, export functions that allow correlating Hyper-V virtual processors and Linux cpus, along with the means for invoking a hypercall that targets interrupts at chosen

[PATCH v8 1/7] drivers:hv: Export a function that maps Linux CPU num onto Hyper-V proc num

2015-12-09 Thread jakeo
From: Jake Oshins This patch exposes the mapping between Linux CPU number and Hyper-V virtual processor number. This is necessary because the hypervisor needs to know which virtual processor to target when making a mapping in the Interrupt Redirection Table in the I/O MMU. Signed-off-by: Jake

[PATCH v8 7/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-12-09 Thread jakeo
From: Jake Oshins This patch introduces a new driver which exposes a root PCI bus whenever a PCI Express device is passed through to a guest VM under Hyper-V. The device can be single- or multi-function. The interrupts for the devices are managed by an IRQ domain, implemented within the driver.

[PATCH v8 3/7] PCI: Make it possible to implement a PCI MSI IRQ Domain in a module.

2015-12-09 Thread jakeo
From: Jake Oshins The Linux kernel already has the concpet of IRQ domain, wherein a component can expose a set of IRQs which are managed by a particular interrupt controller chip or other subsystem. The PCI driver exposes the notion of an IRQ domain for Message-Signaled Interrupts (MSI) from PCI

[PATCH v8 2/7] drivers:hv: Export hv_do_hypercall()

2015-12-09 Thread jakeo
From: Jake Oshins This patch exposes the function that hv_vmbus.ko uses to make hypercalls. This is necessary for retargeting an interrupt when it is given a new affinity and vector. Signed-off-by: Jake Oshins --- drivers/hv/hv.c | 20 ++-- drivers/hv/hyperv_vmbus.h

[PATCH v8 5/7] PCI: irqdomain: Look up IRQ domain by fwnode_handle

2015-12-09 Thread jakeo
From: Jake Oshins This patch adds a second way of finding an IRQ domain associated with a root PCI bus. After looking to see if one can be found through the OF tree, it attempts to look up the IRQ domain through an fwnode_handle stored in the pci_sysdata struct. Signed-off-by: Jake Oshins ---

Re: [Questions] perf c2c: What's the current status of perf c2c?

2015-12-09 Thread Stephane Eranian
On Wed, Dec 9, 2015 at 9:21 AM, Andi Kleen wrote: >> If I recall the c2c tool is giving you more than the bouncing line. It shows >> you >> the offset inside the line and the participating CPUs. > > On Haswell and later you could get the same with the normal address > reporting. The events above

[PATCH 1/1] fs.h: import umode to DT conversion

2015-12-09 Thread Fabian Frederick
The same umode -> DT calculation existed in different filesystems. Signed-off-by: Fabian Frederick --- fs/configfs/dir.c | 8 +--- fs/kernfs/dir.c| 8 +--- fs/libfs.c | 9 ++--- fs/logfs/dir.c | 4 ++-- fs/logfs/logfs.h | 5 - fs/nfs/internal.h | 9 -

Re: [PATCH v3 3/7] mm: add find_get_entries_tag()

2015-12-09 Thread Dan Williams
On Tue, Dec 8, 2015 at 11:18 AM, Ross Zwisler wrote: > Add find_get_entries_tag() to the family of functions that include > find_get_entries(), find_get_pages() and find_get_pages_tag(). This is > needed for DAX dirty page handling because we need a list of both page > offsets and radix tree

Re: [patch RESEND] atp870u: 64 bit bug in atp885_init()

2015-12-09 Thread One Thousand Gnomes
> You should just delete that code along with the Kconfig and Makefile > entries. Don't bother moving it to staging. The move to staging is > supposed to give people one last chance to yell if they absolutely need > the code. No one has compiled this code for years so no one will miss > it.

Re: [PATCH v2] PCI: dra7xx: mark dra7xx_pcie_msi irq as IRQF_NO_THREAD

2015-12-09 Thread Grygorii Strashko
On 12/09/2015 05:24 PM, Bjorn Helgaas wrote: On Tue, Dec 08, 2015 at 10:05:56AM +0100, Sebastian Andrzej Siewior wrote: * Bjorn Helgaas | 2015-12-04 12:46:19 [-0600]: The backtrace might be OK (maybe slightly overkill), but all the stack addresses are certainly irrelevant and distracting. We

Re: [PATCH v2 2/4] introduce post-init read-only memory

2015-12-09 Thread Kees Cook
On Mon, Nov 30, 2015 at 2:24 PM, H. Peter Anvin wrote: > On 11/25/15 16:15, PaX Team wrote: >> On 25 Nov 2015 at 15:31, Kees Cook wrote: >> >>> diff --git a/include/asm-generic/vmlinux.lds.h >>> b/include/asm-generic/vmlinux.lds.h >>> index c4bd0e2c173c..772c784ba763 100644 >>> ---

Re: 4.4-rc0: 5 W+X pages found

2015-12-09 Thread Mihai Donțu
On Tue, 8 Dec 2015 13:19:32 -0800 Kees Cook wrote: > On Mon, Nov 23, 2015 at 6:37 AM, Mihai Donțu wrote: > > On Sun, 15 Nov 2015 08:00:22 +0100 Pavel Machek wrote: > >> Kernel complains: > >> > >> [5.256044] [ cut here ] > >> [5.259267] WARNING: CPU: 0 PID: 1 at >

CGroup Namespaces (v7)

2015-12-09 Thread serge . hallyn
Hi, following is a revised set of the CGroup Namespace patchset which Aditya Kali has previously sent. The code can also be found in the cgroupns.v7 branch of https://git.kernel.org/cgit/linux/kernel/git/sergeh/linux-security.git/ To summarize the semantics: 1. CLONE_NEWCGROUP re-uses

[PATCH 3/8] cgroup: introduce cgroup namespaces

2015-12-09 Thread serge . hallyn
From: Aditya Kali Introduce the ability to create new cgroup namespace. The newly created cgroup namespace remembers the cgroup of the process at the point of creation of the cgroup namespace (referred as cgroupns-root). The main purpose of cgroup namespace is to virtualize the contents of

[PATCH 2/8] sched: new clone flag CLONE_NEWCGROUP for cgroup namespace

2015-12-09 Thread serge . hallyn
From: Aditya Kali CLONE_NEWCGROUP will be used to create new cgroup namespace. Signed-off-by: Aditya Kali Signed-off-by: Serge Hallyn --- include/uapi/linux/sched.h |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/uapi/linux/sched.h

[PATCH 8/8] Add FS_USERNS_FLAG to cgroup fs

2015-12-09 Thread serge . hallyn
From: Serge Hallyn allowing root in a non-init user namespace to mount it. This should now be safe, because 1. non-init-root cannot mount a previously unbound subsystem 2. the task doing the mount must be privileged with respect to the user namespace owning the cgroup namespace 3. the

[PATCH] x86/entry/64: Remove duplicate syscall table for fast path

2015-12-09 Thread Andy Lutomirski
Instead of using a duplicate syscall table for the fast path, create stubs for the syscalls that need pt_regs that dispatch based on the call site. I think that this is very likely to introduce a mis-predicted branch in all such syscalls. I think that's fine -- all of them are already very slow.

[PATCH 5/8] kernfs: define kernfs_node_dentry

2015-12-09 Thread serge . hallyn
From: Aditya Kali Add a new kernfs api is added to lookup the dentry for a particular kernfs path. Signed-off-by: Aditya Kali Signed-off-by: Serge E. Hallyn --- Changelog: 20151116 - Don't allow user namespaces to bind new subsystems 20151118 - postpone the FS_USERNS_MOUNT

[PATCH 6/8] cgroup: mount cgroupns-root when inside non-init cgroupns

2015-12-09 Thread serge . hallyn
From: Serge Hallyn This patch enables cgroup mounting inside userns when a process as appropriate privileges. The cgroup filesystem mounted is rooted at the cgroupns-root. Thus, in a container-setup, only the hierarchy under the cgroupns-root is exposed inside the container. This allows

[PATCH 4/8] cgroup: cgroup namespace setns support

2015-12-09 Thread serge . hallyn
From: Aditya Kali setns on a cgroup namespace is allowed only if task has CAP_SYS_ADMIN in its current user-namespace and over the user-namespace associated with target cgroupns. No implicit cgroup changes happen with attaching to another cgroupns. It is expected that the somone moves the

Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err()

2015-12-09 Thread Joe Perches
On Wed, 2015-12-09 at 14:03 +0200, Andy Shevchenko wrote: > On Wed, Dec 9, 2015 at 2:03 AM, Joe Perches wrote: > > On Tue, 2015-12-08 at 15:28 -0600, Rob Herring wrote: > > > On Tue, Dec 8, 2015 at 11:03 AM, Joe Perches wrote: > > > > On Tue, 2015-12-08 at 08:16 -0800, Joe Perches wrote: > > > >

Re: [PATCH 02/12] selftests/x86: Add check_initial_reg_state

2015-12-09 Thread Borislav Petkov
On Wed, Dec 09, 2015 at 11:20:53AM -0800, Andy Lutomirski wrote: > emacs, the One True Reference Of Kernel Style, disagrees with you :) Not me, my friend - the bible: Documentation/CodingStyle :-P -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- To unsubscribe

[PATCH 1/8] kernfs: Add API to generate relative kernfs path

2015-12-09 Thread serge . hallyn
From: Aditya Kali The new function kernfs_path_from_node() generates and returns kernfs path of a given kernfs_node relative to a given parent kernfs_node. Signed-off-by: Aditya Kali Signed-off-by: Serge E. Hallyn --- Changelog 20151125: - Fully-wing multilinecomments - Rework

[PATCH 7/8] cgroup: Add documentation for cgroup namespaces

2015-12-09 Thread serge . hallyn
From: Aditya Kali Signed-off-by: Aditya Kali Signed-off-by: Serge Hallyn --- Changelog (2015-12-08): Merge into Documentation/cgroup.txt --- Documentation/cgroup.txt | 144 ++ 1 file changed, 144 insertions(+) diff --git a/Documentation/cgroup.txt

[PATCH v6 2/4] irqdomain: introduce is_fwnode_irqchip helper

2015-12-09 Thread Suravee Suthikulpanit
Since there will be several places checking if fwnode.type is equal FWNODE_IRQCHIP, this patch adds a convenient function for this purpose. Acked-by: Marc Zyngier Signed-off-by: Suravee Suthikulpanit --- drivers/irqchip/irq-gic.c | 2 +- include/linux/irqdomain.h | 5 +

[PATCH v6 3/4] gicv2m: Refactor to prepare for ACPI support

2015-12-09 Thread Suravee Suthikulpanit
This patch replaces the struct device_node with struct fwnode_handle since this structure is common between DT and ACPI. It also refactors gicv2m_init_one() to prepare for ACPI support. The only functional change is removing the node name from pr_info. Reviewed-by: Marc Zyngier Signed-off-by:

[PATCH v6 1/4] acpi: pci: Setup MSI domain for ACPI based pci devices

2015-12-09 Thread Suravee Suthikulpanit
This patch introduces pci_msi_register_fwnode_provider() for irqchip to register a callback, to provide a way to determine appropriate MSI domain for a pci device. It also introduces pci_host_bridge_acpi_msi_domain(), which returns the MSI domain of the specified PCI host bridge with

[PATCH v6 4/4] gicv2m: acpi: Introducing GICv2m ACPI support

2015-12-09 Thread Suravee Suthikulpanit
This patch introduces gicv2m_acpi_init(), which uses information in MADT GIC MSI frames structure to initialize GICv2m driver. It also exposes gicv2m_init() function, which simplifies callers to a single GICv2m init function. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Hanjun Guo ---

[PATCH v6 0/4] gicv2m: acpi: Add ACPI support for GICv2m MSI

2015-12-09 Thread Suravee Suthikulpanit
This patch series has been forked from the following patch series since it no longer depends on the rest of the patches. [PATCH v4 00/10] ACPI GIC Self-probing, GICv2m and GICv3 support https://lkml.org/lkml/2015/7/29/234 It has been ported to use the newly introduced device fwnode_handle

Re: [PATCH 02/12] selftests/x86: Add check_initial_reg_state

2015-12-09 Thread Andy Lutomirski
On Wed, Dec 9, 2015 at 11:09 AM, Borislav Petkov wrote: > On Wed, Dec 09, 2015 at 10:56:36AM -0800, Andy Lutomirski wrote: >> That was intentional -- everything lines up with the top-level "asm(". >> checkpatch is confused because it understands "\t " at the front of a >> line but not just a

Re: [PATCH 01/12] selftests/x86: Extend Makefile to allow 64-bit only tests

2015-12-09 Thread Andy Lutomirski
On Wed, Dec 9, 2015 at 11:11 AM, Shuah Khan wrote: > On Mon, Dec 7, 2015 at 2:51 PM, Andy Lutomirski wrote: >> There aren't any yet, but there might be a few some day. > > Andy, > > Hmm. I would think get_maintainer script should have included > linux-api and as well as my email for this patch.

Re: Crash caused by "EDAC: Rip out the edac_subsys reference counting" (was Re: linux-next: Tree for Dec 8)

2015-12-09 Thread Borislav Petkov
On Wed, Dec 09, 2015 at 11:57:05AM -0600, Scott Wood wrote: > I recall at the time suggesting that the PCIe controller driver instantiate a > platform device for the EDAC driver to bind to -- it looks like that's what > we'll need to do. Sounds better. Let me know if there's anything I can help

Re: x86 fpu: command-line parameters broken post-FPU-rewrite

2015-12-09 Thread Borislav Petkov
On Wed, Dec 09, 2015 at 09:32:10AM +0100, Ingo Molnar wrote: > > * Dave Hansen wrote: > > > Hey Ingo, > > > > We were starting to look at reenabling XSAVES support and tried to use the > > 'noxsave' and 'noxsaves' kernel command-line options. The rewrite moved > > the FPU > >

Re: [PATCH net-next v4 12/19] net: fcoe: use __ethtool_get_ksettings

2015-12-09 Thread kbuild test robot
Hi David, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/David-Decotigny/RFC-new-ETHTOOL_GSETTINGS-SSETTINGS-API/20151210-022123 config: i386-randconfig-b0-12100240 (attached as .config) reproduce: # save the attached .config to linux build

Re: [PATCH net] ipv6: sctp: clone options to avoid use after free

2015-12-09 Thread Daniel Borkmann
On 12/09/2015 06:11 PM, Marcelo Ricardo Leitner wrote: Em 09-12-2015 14:31, David Laight escreveu: From: Eric Dumazet [mailto:eric.duma...@gmail.com] Sent: 09 December 2015 16:00 On Wed, 2015-12-09 at 15:49 +, David Laight wrote: SCTP is lacking proper np->opt cloning at accept() time.

Re: [PATCH 1/3] ser_gigaset: fix up NULL checks

2015-12-09 Thread Paul Bolle
On wo, 2015-12-09 at 12:12 +, One Thousand Gnomes wrote: > On Wed, 9 Dec 2015 11:45:57 +0100 > Tilman Schmidt wrote: > Want a patch on top of Paul's change or a single > patch including both and crediting him ? There's no change that can be attributed to me, I think. We're discussing a

Re: [PATCH v2 1/1] drm: modes: fix DRM modes analysis regression

2015-12-09 Thread Corentin LABBE
Le 09/12/2015 16:32, Jani Nikula a écrit : > On Wed, 09 Dec 2015, LABBE Corentin wrote: >> My latest commit introduce some case where a valid mode, could be >> rejected. >> simple_strtox functions stop at first non-digit character, but kstrtox not. >> So args like "video=HDMI-A-1:720x480-16@60"

Re: [PATCH v2 4/5] arm64: dts: qcom: Alias pm8916 on msm8916 devices

2015-12-09 Thread Frank Rowand
On 11/20/2015 3:31 PM, Stephen Boyd wrote: > Add an alias for pm8916 on msm8916 based SoCs so that the newly > updated dtbTool can find the pmic compatible string and add the > pmic-id element to the QCDT header. > > Signed-off-by: Stephen Boyd > --- > arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

Re: [PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-09 Thread kbuild test robot
Hi Gregory, [auto build test ERROR on net-next/master] [also build test ERROR on v4.4-rc4 next-20151209] url: https://github.com/0day-ci/linux/commits/Gregory-CLEMENT/net-macb-add-support-for-resetting-PHY-using-GPIO/20151210-015931 config: x86_64-acpi-redef (attached as .config) reproduce

Re: [PATCH 01/12] selftests/x86: Extend Makefile to allow 64-bit only tests

2015-12-09 Thread Shuah Khan
On Mon, Dec 7, 2015 at 2:51 PM, Andy Lutomirski wrote: > There aren't any yet, but there might be a few some day. Andy, Hmm. I would think get_maintainer script should have included linux-api and as well as my email for this patch. Anyway, I would like to see a better worded changelog.

Re: livepatch: reuse module loader code to write relocations

2015-12-09 Thread Jessica Yu
+++ Josh Poimboeuf [08/12/15 12:38 -0600]: On Mon, Nov 30, 2015 at 11:21:17PM -0500, Jessica Yu wrote: Reuse module loader code to write relocations, thereby eliminating the need for architecture specific relocation code in livepatch. Namely, we reuse apply_relocate_add() in the module loader

Re: [PATCH 02/12] selftests/x86: Add check_initial_reg_state

2015-12-09 Thread Borislav Petkov
On Wed, Dec 09, 2015 at 10:56:36AM -0800, Andy Lutomirski wrote: > That was intentional -- everything lines up with the top-level "asm(". > checkpatch is confused because it understands "\t " at the front of a > line but not just a space. > > That being said, I could easily be convinced to switch

Re: [PATCHv2 1/2] Print: Add print format for 8-byte EUI-64 type

2015-12-09 Thread Joe Perches
On Wed, 2015-12-09 at 11:42 -0700, Keith Busch wrote: > MAC addresses may be formed using rules based on EUI-64, which is 2 bytes > longer than a typical 6-byte MAC. This patch adds a long specifier to > the %pM format to support the extended unique identifier. [] > diff --git

Re: [PATCH v2 00/19] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2015-12-09 Thread Anand Moon
Hi Chanwoo Choi, On 9 December 2015 at 09:37, Chanwoo Choi wrote: > This patch-set includes the two features as following. The generic exynos bus > frequency driver is able to support almost Exynos SoCs for bus frequency > scaling. And the new passive governor is able to make the dependency on >

Re: [PATCH] mm: memcontrol: only manage socket pressure for CONFIG_INET

2015-12-09 Thread Johannes Weiner
On Wed, Dec 09, 2015 at 05:32:16PM +0100, Arnd Bergmann wrote: > When IPV4 support is disabled, the memcg->socket_pressure field is > not defined and we get a build error from the vmpressure code: > > mm/vmpressure.c: In function 'vmpressure': > mm/vmpressure.c:287:9: error: 'struct mem_cgroup'

Re: [PATCH] mm/memblock: use memblock_insert_region() for the empty array

2015-12-09 Thread Tyler Baker
ad of direct initialization. > > Signed-off-by: Alexander Kuleshov Just to add on to the report from Dan, the kernelci.org boot bot has also detected ~65 new boot failures in next-20151209[1], which have been bisected to this patch[2]. It doesn't revert cleanly, so I'm going to try to c

Re: [PATCH v2 14/14] perf tools: Move subcommand framework and related utils to libapi

2015-12-09 Thread Josh Poimboeuf
On Wed, Dec 09, 2015 at 12:58:08PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Dec 09, 2015 at 06:33:15AM -0600, Josh Poimboeuf escreveu: > > On Wed, Dec 09, 2015 at 09:03:43AM +0100, Ingo Molnar wrote: > > > > > > * Josh Poimboeuf wrote: > > > > > > > > > wouldn't necessarily be a clean

[Patch V0] This patch adds some support required for KVM in order to support LMCE.

2015-12-09 Thread Ashok Raj
- Add support for MSR_IA32_MCG_EXT_CTL - Add MCG_LMCE_P to KVM_MCE_CAP_SUPPORTED - Changes to IA32_FEATURE_CONTROL, allow this MSR to be defined just not for nested VMM, but now its required for Local MCE. Reviewed-by: Andi Kleen Reviewed-by: Tony Luck Tested-by: Gong Chen Signed-off-by:

Re: [PATCH 02/12] selftests/x86: Add check_initial_reg_state

2015-12-09 Thread Andy Lutomirski
On Tue, Dec 8, 2015 at 1:54 AM, Borislav Petkov wrote: > On Mon, Dec 07, 2015 at 01:51:27PM -0800, Andy Lutomirski wrote: >> This checks that ELF binaries are started with an appropriately >> blank register state. >> >> (There's currently a nasty special case in the entry asm to arrange >> for

Re: [PATCH v2 1/3] dt-binding: power: Add otg regulator binding

2015-12-09 Thread Mark Brown
On Wed, Dec 09, 2015 at 09:42:09AM -0800, Tim Bird wrote: > On 12/09/2015 06:36 AM, Rob Herring wrote: > > You need a regulator-name property. Also, should should define valid > > values for regulator-min-microvolt and regulator-max-microvolt. > All of those are listed as optional properties in

Re: [PATCH 01/12] selftests/x86: Extend Makefile to allow 64-bit only tests

2015-12-09 Thread Andy Lutomirski
On Tue, Dec 8, 2015 at 1:34 AM, Borislav Petkov wrote: > On Mon, Dec 07, 2015 at 01:51:26PM -0800, Andy Lutomirski wrote: >> There aren't any yet, but there might be a few some day. >> >> Signed-off-by: Andy Lutomirski >> --- >> tools/testing/selftests/x86/Makefile | 5 +++-- >> 1 file changed,

Re: [PATCH] x86/entry/64: Remove duplicate syscall table for fast path

2015-12-09 Thread Andy Lutomirski
On Wed, Dec 9, 2015 at 5:02 AM, Brian Gerst wrote: > Instead of using a duplicate syscall table for the fast path, create stubs for > the syscalls that need pt_regs that save the extra registers if a flag for the > slow path is not set. > > Signed-off-by: Brian Gerst > To: Andy Lutomirski > Cc:

Re: [PATCH v5 5/5] gicv2m: acpi: Introducing GICv2m ACPI support

2015-12-09 Thread Suravee Suthikulanit
On 12/9/2015 12:16 PM, Marc Zyngier wrote: diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c >>>[...] >>>@@ -359,6 +368,8 @@ static int __init gicv2m_init_one(struct fwnode_handle *fwnode, >>> >>>if (to_of_node(fwnode)) >>>name =

Re: [PATCH] mm/memblock: use memblock_insert_region() for the empty array

2015-12-09 Thread Dan Williams
= flags; > - memblock_set_region_node(>regions[0], nid); > - type->total_size = size; > + memblock_insert_region(type, 0, base, size, nid, flags); > return 0; > } > repeat: > -- Latest -next (20151209)

[PATCHv2 1/2] Print: Add print format for 8-byte EUI-64 type

2015-12-09 Thread Keith Busch
MAC addresses may be formed using rules based on EUI-64, which is 2 bytes longer than a typical 6-byte MAC. This patch adds a long specifier to the %pM format to support the extended unique identifier. Signed-off-by: Keith Busch --- Documentation/printk-formats.txt | 13 ++---

[PATCHv2 2/2] NVMe: Expose namespace identity attribute to sysfs

2015-12-09 Thread Keith Busch
Adds EUI-64 and NGUID attributes to sysfs under the gendisk kobject path. The files' visibility depends on the namespace capabilities. User space needs to check the existence of both files to determine how to identify the namespace. NGUID format: ---- EUI64 format:

[PATCHv2 0/2] NVMe namespace identification

2015-12-09 Thread Keith Busch
Here's version 2 exposing unique namespace identification to sysfs. This is simpler thanks to feedback from Willy, Christoph, and Dan. There are two identification attributes displayed in ASCII instead of binary. Each method has its own file so parsers will know the format. The first patch in

Re: bpf: undefined shift in __bpf_prog_run

2015-12-09 Thread Daniel Borkmann
On 12/04/2015 08:10 PM, Alexei Starovoitov wrote: On Fri, Dec 04, 2015 at 08:03:47PM +0100, Dmitry Vyukov wrote: is it with some random seccomp program? If normal libseccomp generates such programs than it needs to be fixed. Yes, it is with completely random seccomp program. Such shifts

Re: [patch RESEND] atp870u: 64 bit bug in atp885_init()

2015-12-09 Thread Dan Carpenter
On Wed, Dec 09, 2015 at 07:11:15PM +0100, Julia Lawall wrote: > Forgive my ignorance, but what is the exact procedure? For example, the > following file: drivers/pcmcia/vrc4173_cardu.c contains the following > code: INIT_WORK(>tq_work, cardu_bh, socket);. The last time > INIT_WORK took three

Re: [PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-09 Thread Moritz Fischer
Hi Gregory, so far dealt with this in u-boot. The power down the PHY part makes sense, though. Minor nit down inline. Will need to test on hardware (Zynq). On Wed, Dec 9, 2015 at 9:49 AM, Gregory CLEMENT wrote: > With device tree it is no more possible to reset the PHY at board > level.

Re: [GIT PULL] USB fixes for v4.4-rc5

2015-12-09 Thread Greg KH
On Wed, Dec 09, 2015 at 09:58:41AM -0600, Felipe Balbi wrote: > Hi Greg, > > Here's what I hope to be the last set of fixes for current -rc. Let me > know if you want anything to be changed. > > cheers > > The following changes since commit f74875dc36135ebae82a8e005f4b7f52289d2c40: > > usb:

Re: [BUG, linux-next] slow resume, hard LOCKUP on cpu 1

2015-12-09 Thread Jeremiah Mahler
On Sat, Dec 05, 2015 at 01:20:01PM -0800, Jeremiah Mahler wrote: > all, > > Running the latest linux-next (20151202+) on an Acer C720, it will > sporadically be very slow to resume from a suspend. Sometimes it > resumes normally, other times it can take over a minute. During the > worst cases

Re: [PATCHSET v2] ->follow_link() without dropping from RCU mode

2015-12-09 Thread Al Viro
On Wed, Dec 09, 2015 at 09:24:32AM -0800, Linus Torvalds wrote: >That's because of the HIGHMEM crap that you removed. Without > highmem, the page data address specifies the page fine without any > cookie. > > - overlayfs, which uses it to create a temporary data storage. > >Why? Mainly

Re: [Xen-devel] [PATCH] x86: Xen PV guests don't have the rtc_cmos platform device

2015-12-09 Thread Boris Ostrovsky
On 12/09/2015 10:27 AM, Jan Beulich wrote: On 09.12.15 at 16:15, wrote: On 12/09/2015 10:00 AM, Sander Eikelenboom wrote: On 2015-12-09 15:42, Jan Beulich wrote: On 09.12.15 at 15:32, wrote: --- a/arch/x86/kernel/rtc.c +++ b/arch/x86/kernel/rtc.c @@ -200,6 +200,9 @@ static __init int

[PATCH net-next v4 06/19] tx4939: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- arch/mips/txx9/generic/setup_tx4939.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/mips/txx9/generic/setup_tx4939.c b/arch/mips/txx9/generic/setup_tx4939.c index e3733cd..4a3ebf6 100644 ---

Re: [PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-09 Thread Andrew Lunn
On Wed, Dec 09, 2015 at 06:49:43PM +0100, Gregory CLEMENT wrote: > With device tree it is no more possible to reset the PHY at board > level. Furthermore, doing in the driver allow to power down the PHY when > the network interface is no more used. > > The patch introduces a new optional property

[PATCH net-next v4 11/19] net: team: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/team/team.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index 059c0f6..7cc98a7 100644 --- a/drivers/net/team/team.c +++

Re: [PATCH 00/14] mm: memcontrol: account socket memory in unified hierarchy v4-RESEND

2015-12-09 Thread Johannes Weiner
Hey Arnd! On Wed, Dec 09, 2015 at 05:31:38PM +0100, Arnd Bergmann wrote: > On Tuesday 08 December 2015 10:30:10 Johannes Weiner wrote: > > Hi Andrew, > > > > there was some build breakage in CONFIG_ combinations I hadn't tested > > in the last revision, so here is a fixed-up resend with minimal

[PATCH net-next v4 17/19] net: ethtool: remove unused __ethtool_get_settings

2015-12-09 Thread David Decotigny
From: David Decotigny replaced by __ethtool_get_ksettings. Signed-off-by: David Decotigny --- include/linux/ethtool.h | 4 net/core/ethtool.c | 45 ++--- 2 files changed, 14 insertions(+), 35 deletions(-) diff --git a/include/linux/ethtool.h

[PATCH net-next v4 13/19] net: rdma: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- include/rdma/ib_addr.h | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/include/rdma/ib_addr.h b/include/rdma/ib_addr.h index 1152859..1820f26 100644 --- a/include/rdma/ib_addr.h +++

[PATCH net-next v4 09/19] net: ipvlan: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/ipvlan/ipvlan_main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ipvlan/ipvlan_main.c b/drivers/net/ipvlan/ipvlan_main.c index a9268db..63b3aa5 100644 ---

[PATCH net-next v4 10/19] net: macvlan: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/macvlan.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 06c8bfe..a95b793 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@

[PATCH net-next v4 01/19] lib/bitmap.c: conversion routines to/from u32 array

2015-12-09 Thread David Decotigny
From: David Decotigny Aimed at transferring bitmaps to/from user-space in a 32/64-bit agnostic way. Tested: unit tests (next patch) on qemu i386, x86_64, ppc, ppc64 BE and LE, ARM. Signed-off-by: David Decotigny --- include/linux/bitmap.h | 6 lib/bitmap.c | 86

[PATCH net-next v4 03/19] net: usnic: remove unused call to ethtool_ops::get_settings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c index f8e3211..5b60579 100644 ---

Re: [PATCH v5 5/5] gicv2m: acpi: Introducing GICv2m ACPI support

2015-12-09 Thread Marc Zyngier
On 09/12/15 18:02, Suravee Suthikulanit wrote: > Hi Marc, > > On 12/9/2015 4:38 AM, Marc Zyngier wrote: >> On Tue, 8 Dec 2015 17:48:06 -0800 >> Suravee Suthikulpanit wrote: >> >>> This patch introduces gicv2m_acpi_init(), which uses information >>> in MADT GIC MSI frames structure to initialize

[PATCH net-next v4 19/19] net: mlx4: use new ETHTOOL_G/SSETTINGS API

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 344 drivers/net/ethernet/mellanox/mlx4/en_main.c| 1 + drivers/net/ethernet/mellanox/mlx4/mlx4_en.h| 1 + 3 files changed, 177 insertions(+), 169

[PATCH net-next v4 08/19] net: bonding: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/bonding/bond_main.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index fe0e7a6..ce8c026 100644 ---

[PATCH net-next v4 07/19] net: usnic: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c index e082170..e0d12d4

[PATCH net-next v4 04/19] net: usnic: use __ethtool_get_settings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c index 5b60579..e082170 100644

[PATCH net-next v4 16/19] net: core: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- net/core/net-sysfs.c | 15 +-- net/packet/af_packet.c | 11 +-- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index f88a62a..3dd4bb1 100644 ---

[PATCH net-next v4 12/19] net: fcoe: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/scsi/fcoe/fcoe_transport.c | 36 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe/fcoe_transport.c index d7597c0..9049197

Re: [patch RESEND] atp870u: 64 bit bug in atp885_init()

2015-12-09 Thread Julia Lawall
On Wed, 9 Dec 2015, Dan Carpenter wrote: > We should add a tag to indicate that we are sending a patch for a crappy > driver. > > IMHO-this-driver-is-garbage: Your Name > > If it got 10 votes of no confidence it would be moved to staging and > then deleted. Forgive my ignorance, but what is

[PATCH net-next v4 02/19] test_bitmap: unit tests for lib/bitmap.c

2015-12-09 Thread David Decotigny
From: David Decotigny This is mainly testing bitmap construction and conversion to/from u32[] for now. Tested: qemu i386, x86_64, ppc, ppc64 BE and LE, ARM. Signed-off-by: David Decotigny --- lib/Kconfig.debug | 8 + lib/Makefile | 1 +

Re: [PATCH] nwflash: use no_seek_end_llseek_size

2015-12-09 Thread Al Viro
On Wed, Dec 09, 2015 at 05:33:45PM +0100, Arnd Bergmann wrote: > The recently introduced no_seek_end_llseek was wrong, it should > be no_seek_end_llseek_size: > > drivers/char/nwflash.c: In function 'flash_llseek': > drivers/char/nwflash.c:280:8: error: too many arguments to function >

[PATCH net-next v4 00/19] RFC: new ETHTOOL_GSETTINGS/SSETTINGS API

2015-12-09 Thread David Decotigny
From: David Decotigny History: v4 - removed typedef for link mode bitmaps - moved bitmap<->u32[] conversion routines to bitmap.c . This is the naive implementation. I have an endian-aware version that uses memcpy/memset as much as possible, but I find it harder to follow (see

Re: [PATCH v5 5/5] gicv2m: acpi: Introducing GICv2m ACPI support

2015-12-09 Thread Suravee Suthikulanit
Hi Marc, On 12/9/2015 4:38 AM, Marc Zyngier wrote: On Tue, 8 Dec 2015 17:48:06 -0800 Suravee Suthikulpanit wrote: This patch introduces gicv2m_acpi_init(), which uses information in MADT GIC MSI frames structure to initialize GICv2m driver. Signed-off-by: Suravee Suthikulpanit

[PATCH net-next v4 14/19] net: 8021q: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- net/8021q/vlan_dev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index fded865..e607fee 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c @@ -620,12

[PATCH net-next v4 15/19] net: bridge: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- net/bridge/br_if.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index 8d1d4a2..d1022fd 100644 --- a/net/bridge/br_if.c +++ b/net/bridge/br_if.c @@ -36,10 +36,10 @@ */

[PATCH net-next v4 18/19] net: mlx4: convenience predicate for debug messages

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h index 35de7d2..b04054d

[PATCH net-next v4 05/19] net: ethtool: add new ETHTOOL_GSETTINGS/SSETTINGS API

2015-12-09 Thread David Decotigny
From: David Decotigny This patch defines a new ETHTOOL_GSETTINGS/SSETTINGS API, handled by the new get_ksettings/set_ksettings callbacks. This API provides support for most legacy ethtool_cmd fields, adds support for larger link mode masks (up to 4064 bits, variable length), and removes

Re: [PATCH v5 1/5] acpi: pci: Setup MSI domain for ACPI based pci devices

2015-12-09 Thread Suravee Suthikulanit
On 12/9/2015 4:13 AM, Marc Zyngier wrote: On Tue, 8 Dec 2015 17:48:02 -0800 Suravee Suthikulpanit wrote: This patch introduces pci_msi_register_fwnode_provider() for irqchip to register a callback, to provide a way to determine appropriate MSI domain for a pci device. It also introduces

Re: Crash caused by "EDAC: Rip out the edac_subsys reference counting" (was Re: linux-next: Tree for Dec 8)

2015-12-09 Thread Scott Wood
On Wed, 2015-12-09 at 18:38 +0100, Borislav Petkov wrote: > On Wed, Dec 09, 2015 at 10:50:09AM -0600, Scott Wood wrote: > > It's not "a driver's probe function". There is no driver whose .probe() > > is > > mpc85xx_pci_err_probe() -- the name is historical. > > From looking at it, it behaves a

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