Re: [PATCH 4/8] powerpc: add hv_gpci interface header

2014-02-03 Thread Cody P Schafer
On 01/31/2014 09:58 PM, Michael Ellerman wrote: On Thu, 2014-16-01 at 23:53:50 UTC, Cody P Schafer wrote: "H_GetPerformanceCounterInfo" (refered to as hv_gpci or just gpci from here on) is an interface to retrieve specific performance counters and other data from the hypervisor. All outputs

Re: [PATCH 4/4] nilfs2: implementation of NILFS_IOCTL_SET_SUINFO ioctl

2014-02-03 Thread Andrew Morton
On Tue, 4 Feb 2014 01:50:44 +0900 Ryusuke Konishi wrote: > With this ioctl the segment usage entries in the SUFILE can be > updated from userspace. > > This is useful, because it allows the userspace GC to modify and update > segment usage entries for specific segments, which enables it to

Re: [PATCH v2] ceph: fix posix ACL hooks

2014-02-03 Thread Al Viro
On Mon, Feb 03, 2014 at 01:31:19PM -0800, Linus Torvalds wrote: > If the protocol is path-based (and it happens, and it's actually the > *correct* thing to do for a network filesystem, rather than the > idiotic "file handle" crap that tries to emulate the unix inode > semantics in the protocol),

Re: [PATCH 3/4] nilfs2: add nilfs_sufile_set_suinfo to update segment usage

2014-02-03 Thread Andrew Morton
On Tue, 4 Feb 2014 01:50:43 +0900 Ryusuke Konishi wrote: > From: Andreas Rohner > > This patch introduces the nilfs_sufile_set_suinfo function, which > expects an array of nilfs_suinfo_update structures and updates the > segment usage information accordingly. > > This is basically a helper

Re: [PATCH v2] vmcore: prevent PT_NOTE p_memsz overflow during header update

2014-02-03 Thread Vivek Goyal
On Mon, Feb 03, 2014 at 01:18:38PM -0700, Greg Pearson wrote: [..] > diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c > index 2ca7ba0..051c803 100644 > --- a/fs/proc/vmcore.c > +++ b/fs/proc/vmcore.c > @@ -468,12 +468,14 @@ static int __init update_note_header_size_elf64(const > Elf64_Ehdr

Re: [GIT PULL] XFS update #2 for 3.14-rc1

2014-02-03 Thread Ben Myers
Hey Linus, On Tue, Jan 28, 2014 at 07:12:09PM -0600, Ben Myers wrote: >Please pull this xfs update for 3.14. This is to allow logical sector > sized >direct io on advanced format disks. Could you pick this up for -rc2? Thanks, Ben > The following changes since commit

Re: [PATCH v3 0/7] ACPI / hotplug / PCI: Consolidation of ACPIPHP with ACPI core device hotplug

2014-02-03 Thread Rafael J. Wysocki
On Monday, February 03, 2014 12:45:11 PM Mika Westerberg wrote: > On Sun, Feb 02, 2014 at 06:11:19PM +0100, Rafael J. Wysocki wrote: > > As stated in the message at > > http://marc.info/?l=linux-acpi=139135963030012=4 , > > patch [1/6] was actaully wrong and the whole patchset had to be reworked

Re: [PATCH v2] ceph: fix posix ACL hooks

2014-02-03 Thread Linus Torvalds
On Mon, Feb 3, 2014 at 1:31 PM, Al Viro wrote: > > Yes, and...? CIFS also doesn't have hardlinks, so _there_ d_find_alias() > is just fine. Hmm? I'm pretty sure cifs can actually have hardlinks. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] arm64: Add architecture support for PCI

2014-02-03 Thread Liviu Dudau
On Mon, Feb 03, 2014 at 08:05:56PM +, Arnd Bergmann wrote: > On Monday 03 February 2014 19:18:38 Liviu Dudau wrote: > > On Mon, Feb 03, 2014 at 06:58:56PM +, Arnd Bergmann wrote: > > > On Monday 03 February 2014 18:43:48 Liviu Dudau wrote: > > > > diff --git a/arch/arm64/include/asm/io.h

Re: [PATCH v2] ceph: fix posix ACL hooks

2014-02-03 Thread Christoph Hellwig
On Mon, Feb 03, 2014 at 09:31:53PM +, Al Viro wrote: > Yes, and...? CIFS also doesn't have hardlinks, so _there_ d_find_alias() > is just fine. It does have hardlinks, look at cifs_hardlink and functions called from it. -- To unsubscribe from this list: send the line "unsubscribe

[PATCH v6 7/8] ARM: brcmstb: gic: add compatible string for Broadcom Brahma15

2014-02-03 Thread Marc Carino
Document the Broadcom Brahma B15 GIC implementation as compatible with the ARM GIC standard. Signed-off-by: Marc Carino Acked-by: Florian Fainelli --- Documentation/devicetree/bindings/arm/gic.txt |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH v6 4/8] ARM: do CPU-specific init for Broadcom Brahma15 cores

2014-02-03 Thread Marc Carino
Perform any CPU-specific initialization required on the Broadcom Brahma-15 core. Signed-off-by: Marc Carino Acked-by: Florian Fainelli --- arch/arm/mm/proc-v7.S | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S

Re: [PATCH v2] ceph: fix posix ACL hooks

2014-02-03 Thread Al Viro
On Mon, Feb 03, 2014 at 01:24:47PM -0800, Christoph Hellwig wrote: > On Mon, Feb 03, 2014 at 09:19:55PM +, Al Viro wrote: > > Result *is* a function of inode alone; the problem with 9P is that we > > are caching FIDs in the wrong place. > > I don't think that's true for CIFS unfortunately,

[PATCH v6 5/8] ARM: brcmstb: add CPU binding for Broadcom Brahma15

2014-02-03 Thread Marc Carino
Add the Broadcom Brahma B15 CPU to the DT CPU binding list. Signed-off-by: Marc Carino Acked-by: Florian Fainelli --- Documentation/devicetree/bindings/arm/cpus.txt |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt

[PATCH v6 6/8] ARM: brcmstb: add misc. DT bindings for brcmstb

2014-02-03 Thread Marc Carino
Document the bindings that the Broadcom STB platform needs for proper bootup. Signed-off-by: Marc Carino Acked-by: Florian Fainelli --- .../devicetree/bindings/arm/brcm-brcmstb.txt | 95 1 files changed, 95 insertions(+), 0 deletions(-) create mode 100644

[PATCH v6 3/8] ARM: brcmstb: add debug UART for earlyprintk support

2014-02-03 Thread Marc Carino
Add the UART definitions needed to support earlyprintk on brcmstb machines. Signed-off-by: Marc Carino Acked-by: Florian Fainelli --- arch/arm/Kconfig.debug | 15 ++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug

Re: [PATCH v2] ceph: fix posix ACL hooks

2014-02-03 Thread Linus Torvalds
On Mon, Feb 3, 2014 at 1:19 PM, Al Viro wrote: > > Please, don't do that. Half of that is pointless (e.g. what you are > doing with vfs_rmdir() - if anything, we could get rid of the first > argument completely, it's always victim->d_parent->d_inode and we are > holding enough locks for that to

[PATCH v6 2/8] power: reset: Add reboot driver for brcmstb

2014-02-03 Thread Marc Carino
Add support for reboot functionality on boards with ARM-based Broadcom STB chipsets. Signed-off-by: Marc Carino --- arch/arm/mach-bcm/Kconfig|1 + drivers/power/reset/Kconfig | 10 +++ drivers/power/reset/Makefile |1 + drivers/power/reset/brcmstb-reboot.c

[PATCH v6 1/8] ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs

2014-02-03 Thread Marc Carino
The BCM7xxx series of Broadcom SoCs are used primarily in set-top boxes. This patch adds machine support for the ARM-based Broadcom SoCs. Signed-off-by: Marc Carino Acked-by: Florian Fainelli --- arch/arm/configs/multi_v7_defconfig |1 + arch/arm/mach-bcm/Kconfig | 14 ++

[PATCH v6 0/8] ARM: brcmstb: Add Broadcom STB SoC support

2014-02-03 Thread Marc Carino
This patchset contains the board support package for the Broadcom BCM7445 ARM-based SoC [1]. These changes contain a minimal set of code needed for a BCM7445-based board to boot the Linux kernel. These changes heavily leverage the OF/devicetree framework. v6: - rebased to v3.14-rc1 - utilize

RE: [PATCH v1] ARM: tegra: add nvidia,wdt-timer-id optional property

2014-02-03 Thread Andrew Chew
> On 02/03/2014 02:16 PM, Andrew Chew wrote: > >> On 02/03/2014 11:59 AM, Andrew Chew wrote: > On Fri, Jan 31, 2014 at 09:46:51PM +, Andrew Chew wrote: > > This optional property can be used to specify which timers are to > > be used for hardware watchdog timeouts (via a tegra wdt

[PATCH v2 0/3] Quirk Intel PCH root ports for ACS-like features

2014-02-03 Thread Alex Williamson
v2: - Remove bus #0 bug in filtering matching - Add 2/3 introducing PCI_DEV_FLAGS_ACS_ENABLED_QUIRK, this gives is better tracking and addresses the theoretical hotplug issue - Update 3/3 for PCI_DEV_FLAGS_ACS_ENABLED_QUIRK - Add dev_info to print regardless of whether we changes bits -

[PATCH v2 2/3] pci: Add pci_dev_flag for ACS enable quirks

2014-02-03 Thread Alex Williamson
Quirks that enable ACS compatible functionality on a device need some way to track whether a given device has been enabled. Rather than create new data structures for this, allocate one of the pci_dev_flags to indicate this setup. Signed-off-by: Alex Williamson --- include/linux/pci.h |2

[PATCH v2 3/3] pci/quirks: Enable quirks for PCIe ACS on Intel PCH root ports

2014-02-03 Thread Alex Williamson
Many of the currently available Intel PCH-based root ports do not provide PCIe ACS capabilities. Without this, we must assume that peer-to-peer traffic between multifunction root ports and between devices behind root ports is possible. This lack of isolation is exposed by grouping the devices

[PATCH v2 1/3] pci: Add device specific PCI ACS enable

2014-02-03 Thread Alex Williamson
Some devices support PCI ACS-like features, but don't report it using the standard PCIe capabilities. We already provide hooks for device specific testing of ACS, but not for device specific enabling of ACS. This provides that setup hook. Signed-off-by: Alex Williamson --- drivers/pci/pci.c

Re: [PATCH v1] ARM: tegra: add nvidia,wdt-timer-id optional property

2014-02-03 Thread Stephen Warren
On 02/03/2014 02:16 PM, Andrew Chew wrote: >> On 02/03/2014 11:59 AM, Andrew Chew wrote: On Fri, Jan 31, 2014 at 09:46:51PM +, Andrew Chew wrote: > This optional property can be used to specify which timers are to be > used for hardware watchdog timeouts (via a tegra wdt driver).

Re: [PATCH v2] ceph: fix posix ACL hooks

2014-02-03 Thread Christoph Hellwig
On Mon, Feb 03, 2014 at 09:19:55PM +, Al Viro wrote: > Result *is* a function of inode alone; the problem with 9P is that we > are caching FIDs in the wrong place. I don't think that's true for CIFS unfortunately, which is path based. -- To unsubscribe from this list: send the line

Re: [PATCH v2] ceph: fix posix ACL hooks

2014-02-03 Thread Christoph Hellwig
On Mon, Feb 03, 2014 at 01:03:32PM -0800, Linus Torvalds wrote: > Now, to be honest, pushing it down one more level (to > generic_permission()) will actually start causing some trouble. In > particular, gfs2_permission() fundamentally does not have a dentry for > several of the callers. Looking

Re: [PATCH 3/8] powerpc: add hvcalls for 24x7 and gpci (get performance counter info)

2014-02-03 Thread Cody P Schafer
On 01/31/2014 09:58 PM, Michael Ellerman wrote: On Thu, 2014-16-01 at 23:53:49 UTC, Cody P Schafer wrote: Signed-off-by: Cody P Schafer --- arch/powerpc/include/asm/hvcall.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/hvcall.h

Re: [PATCH v2] ceph: fix posix ACL hooks

2014-02-03 Thread Al Viro
On Mon, Feb 03, 2014 at 01:03:32PM -0800, Linus Torvalds wrote: > What do you think? I guess this patch could be split up into two: one > that does the "vfs_xyz()" helper functions, and another that does the > inode_permission() change. I tied them together mainly because I > started with the

Re: [PATCH 1/8] perf: add PMU_RANGE_ATTR() helper for use by sw-like pmus

2014-02-03 Thread Cody P Schafer
On 01/31/2014 09:58 PM, Michael Ellerman wrote: On Thu, 2014-16-01 at 23:53:47 UTC, Cody P Schafer wrote: Add PMU_RANGE_ATTR() and PMU_RANGE_RESV() (for reserved areas) which generate functions to extract the relevent bits from event->attr.config{,1,2} for use by sw-like pmus where the

RE: [PATCH v1] ARM: tegra: add nvidia,wdt-timer-id optional property

2014-02-03 Thread Andrew Chew
> On 02/03/2014 11:59 AM, Andrew Chew wrote: > >> On Fri, Jan 31, 2014 at 09:46:51PM +, Andrew Chew wrote: > >>> This optional property can be used to specify which timers are to be > >>> used for hardware watchdog timeouts (via a tegra wdt driver). > >> > >> Is there any reason that a

Re: [PATCH 6/8] powerpc/perf: add support for the hv gpci (get performance counter info) interface

2014-02-03 Thread Cody P Schafer
On 01/31/2014 09:58 PM, Michael Ellerman wrote: On Thu, 2014-16-01 at 23:53:52 UTC, Cody P Schafer wrote: This provides a basic link between perf and hv_gpci. Notably, it does not yet support transactions and does not list any events (they can still be manually composed). What are the plans

Re: [PATCH] pinctrl: protect pinctrl_list add

2014-02-03 Thread Stephen Warren
On 02/03/2014 04:39 AM, Stanislaw Gruszka wrote: > We have few fedora bug reports about list corruption on pinctrl, > for example: > https://bugzilla.redhat.com/show_bug.cgi?id=1051918 > > Most likely corruption happen due lack of protection of pinctrl_list > when adding new nodes to it. Patch

Re: [PATCH] mm: __set_page_dirty_nobuffers uses spin_lock_irqseve instead of spin_lock_irq

2014-02-03 Thread David Rientjes
On Mon, 3 Feb 2014, kosaki.motoh...@gmail.com wrote: > From: KOSAKI Motohiro > > During aio stress test, we observed the following lockdep warning. > This mean AIO+numa_balancing is currently deadlockable. > > The problem is, aio_migratepage disable interrupt, but > __set_page_dirty_nobuffers

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

2014-02-03 Thread Roland McGrath
> > config COMPAT_VDSO > > def_bool y > > prompt "Compat VDSO support" > > depends on X86_32 || IA32_EMULATION > > ---help--- > > Map the 32-bit VDSO to the predictable old-style address too. > > > > Say N here if you are running a sufficiently

Re: [PATCH v2.1] audit: Only use the syscall slowpath when syscall audit rules exist

2014-02-03 Thread Andy Lutomirski
On Mon, Feb 3, 2014 at 12:35 PM, Eric Paris wrote: > H, > > My problem with doing this has always actually been because of SELinux. > Knowing syscall information with AVCs can be a huge help running down > problems. We already make people load rules if they want to get > pathname type

Re: [PATCH v1] ARM: tegra: add nvidia,wdt-timer-id optional property

2014-02-03 Thread Stephen Warren
On 02/03/2014 11:59 AM, Andrew Chew wrote: >> On Fri, Jan 31, 2014 at 09:46:51PM +, Andrew Chew wrote: >>> This optional property can be used to specify which timers are to be >>> used for hardware watchdog timeouts (via a tegra wdt driver). >> >> Is there any reason that a particular timer

Re: [PATCH v1] clocksource: tegra: Add nvidia,tegra30-timer compat

2014-02-03 Thread Stephen Warren
On 01/31/2014 02:29 PM, Andrew Chew wrote: > There are some differences between tegra20's timer registers and tegra30's > (and later). For one thing, the watchdogs don't seem to be present in > tegra20. Add this compatibility string in order to be able to distinguish > whether the watchdogs are

Re: [RFC][PATCH v2 5/5] mutex: Give spinners a chance to spin_on_owner if need_resched() triggered while queued

2014-02-03 Thread Peter Zijlstra
On Mon, Feb 03, 2014 at 12:55:34PM -0800, Jason Low wrote: > On Mon, 2014-02-03 at 20:25 +0100, Peter Zijlstra wrote: > > XXX: anybody got a better name than m_spinlock? > > So I was thinking something along the lines of > mcs_spin_lock_cancelable() as that's essentially what this function >

Re: [PATCH] ip_tunnel: fix panic in ip_tunnel_xmit()

2014-02-03 Thread David Miller
From: Eric Dumazet Date: Mon, 03 Feb 2014 12:52:14 -0800 > From: Eric Dumazet > > Setting rt variable to NULL at the beginning of ip_tunnel_xmit() > missed possible use of this variable as a scratch value. > > Also fixes a possible dst leak in tunnel_dst_check() : > If we had to call

Re: [RFC][PATCH v2 5/5] mutex: Give spinners a chance to spin_on_owner if need_resched() triggered while queued

2014-02-03 Thread Jason Low
On Mon, 2014-02-03 at 20:25 +0100, Peter Zijlstra wrote: > On Mon, Feb 03, 2014 at 10:39:20AM -0800, Jason Low wrote: > > > To avoid the xchg on every loop. > > > > Ah yes, we want to use xchg() on >next. > > > > Since the cmpxchg() is now in a loop in the unlock function, an > > additional

Re: NFS client broken in Linus' tip

2014-02-03 Thread Christoph Hellwig
Looks good as the lesser evil: Reviewed-by: Christoph Hellwig -- 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

[PATCH] ip_tunnel: fix panic in ip_tunnel_xmit()

2014-02-03 Thread Eric Dumazet
From: Eric Dumazet Setting rt variable to NULL at the beginning of ip_tunnel_xmit() missed possible use of this variable as a scratch value. Also fixes a possible dst leak in tunnel_dst_check() : If we had to call tunnel_dst_reset(), we forgot to release the reference on dst. Merges

Re: [PATCH] pvh: set cr4 flags for APs

2014-02-03 Thread Mukesh Rathor
On Mon, 3 Feb 2014 15:43:46 -0500 Konrad Rzeszutek Wilk wrote: > On Mon, Feb 03, 2014 at 02:52:40PM -0500, Konrad Rzeszutek Wilk wrote: > > On Mon, Feb 03, 2014 at 11:30:01AM -0800, Mukesh Rathor wrote: > > > On Mon, 3 Feb 2014 06:49:14 -0500 > > > Konrad Rzeszutek Wilk wrote: > > > > > > > On

Re: [PATCH] pvh: set cr4 flags for APs

2014-02-03 Thread Konrad Rzeszutek Wilk
On Mon, Feb 03, 2014 at 02:52:40PM -0500, Konrad Rzeszutek Wilk wrote: > On Mon, Feb 03, 2014 at 11:30:01AM -0800, Mukesh Rathor wrote: > > On Mon, 3 Feb 2014 06:49:14 -0500 > > Konrad Rzeszutek Wilk wrote: > > > > > On Wed, Jan 29, 2014 at 04:15:18PM -0800, Mukesh Rathor wrote: > > > > We need

Dear Web-mail User::

2014-02-03 Thread Webmail.Support
Dear Web-mail User, Your Mail quota has reached limit, You might not be able to send or receive new mail until you re-validate your mailbox .To re-validate your IN-BOX from 20G to 20.9G mailbox reply to this mail and fill your. {user-name: {Password: {Confirm Password: {mobile Number: Technical

[PATCH] x86, microcode, AMD: Unify valid container checks

2014-02-03 Thread Borislav Petkov
From: Borislav Petkov For additional coverage, BorisO and friends unknowlingly did swap AMD microcode with Intel microcode blobs in order to see what happens. What did happen on 32-bit was [5.722656] BUG: unable to handle kernel paging request at be3a6008 [5.722693] IP: []

Re: Kernel WARNING splat in 3.14-rc1

2014-02-03 Thread David Rientjes
Commit c65c1877bd68 ("slub: use lockdep_assert_held") incorrectly required that add_full() and remove_full() hold n->list_lock. The lock is only taken when kmem_cache_debug(s), since that's the only time it actually does anything. Require that the lock only be taken under such a condition.

Re: [PATCH v5 15/16] ARM: add uprobes support

2014-02-03 Thread Rabin Vincent
2014-02-03 Jon Medhurst (Tixy) : > On Thu, 2014-01-23 at 15:05 -0500, David Long wrote: > > From: "David A. Long" > > > > Using Rabin Vincent's ARM uprobes patches as a base, enable uprobes > > support on ARM. > > > > Caveats: > > > > - Thumb is not supported > > > > Signed-off-by: David A. Long

Re: [PATCH v2.1] audit: Only use the syscall slowpath when syscall audit rules exist

2014-02-03 Thread Eric Paris
H, My problem with doing this has always actually been because of SELinux. Knowing syscall information with AVCs can be a huge help running down problems. We already make people load rules if they want to get pathname type records, so maybe this is fine. Or we could make SELinux take a

Re: [PATCH -v2] x86, microcode, AMD: Sanity-check initrd image

2014-02-03 Thread Borislav Petkov
On Mon, Feb 03, 2014 at 03:28:51PM -0500, Boris Ostrovsky wrote: > On 02/03/2014 02:52 PM, Borislav Petkov wrote: > >On Mon, Feb 03, 2014 at 02:37:34PM -0500, Boris Ostrovsky wrote: > >>It exploded when 'if (!container)' check was done *after* relocation, > >>which made container non-zero. If you

Re: NFS client broken in Linus' tip

2014-02-03 Thread Trond Myklebust
On Feb 3, 2014, at 15:25, Christoph Hellwig wrote: > On Mon, Feb 03, 2014 at 03:22:15PM -0500, Trond Myklebust wrote: >> FWIW, here is the alternative patch. I've tested it, and it seems to >> work. > > I much prefer the original one. One major point of the series was to > get individual

Re: [PATCH v2 1/7] ARM: perf_event: Support percpu irqs for the CPU PMU

2014-02-03 Thread Christopher Covington
On 01/15/2014 12:55 PM, Stephen Boyd wrote: > Some CPU PMUs are wired up with one PPI for all the CPUs instead > of with a different SPI for each CPU. Add support for these > devices. > > Signed-off-by: Stephen Boyd > --- > arch/arm/kernel/perf_event.c | 14 -- >

Re: [PATCH -v2] x86, microcode, AMD: Sanity-check initrd image

2014-02-03 Thread Boris Ostrovsky
On 02/03/2014 02:52 PM, Borislav Petkov wrote: On Mon, Feb 03, 2014 at 02:37:34PM -0500, Boris Ostrovsky wrote: It exploded when 'if (!container)' check was done *after* relocation, which made container non-zero. If you do the check *before* then I think you will catch the fact that container

Re: NFS client broken in Linus' tip

2014-02-03 Thread Russell King - ARM Linux
On Mon, Feb 03, 2014 at 03:22:15PM -0500, Trond Myklebust wrote: > On Mon, 2014-02-03 at 10:45 -0500, Trond Myklebust wrote: > > On Feb 3, 2014, at 9:57, Christoph Hellwig wrote: > > > > > On Mon, Feb 03, 2014 at 09:17:30AM -0500, Trond Myklebust wrote: > > >> As I said above, that causes

Re: NFS client broken in Linus' tip

2014-02-03 Thread Christoph Hellwig
On Mon, Feb 03, 2014 at 03:22:15PM -0500, Trond Myklebust wrote: > FWIW, here is the alternative patch. I've tested it, and it seems to > work. I much prefer the original one. One major point of the series was to get individual filesystems out of the business of providing xattr handlers for

Re: [PATCH] audit: Only use the syscall slowpath when syscall audit rules exist

2014-02-03 Thread Steve Grubb
On Monday, February 03, 2014 09:53:23 AM Andy Lutomirski wrote: > This toggles TIF_SYSCALL_AUDIT as needed when rules change instead of > leaving it set whenever rules might be set in the future. This reduces > syscall latency from >60ns to closer to 40ns on my laptop. Does this mean that we

Re: [PATCH] block devices: validate block device capacity

2014-02-03 Thread Mikulas Patocka
On Mon, 3 Feb 2014, Christoph Hellwig wrote: > On Fri, Jan 31, 2014 at 03:20:17AM -0500, Mikulas Patocka wrote: > > So if you think you can support 16TiB devices and leave pgoff_t 32-bit, > > send a patch that does it. > > > > Until you make it, you should apply the patch that I sent, that

Re: NFS client broken in Linus' tip

2014-02-03 Thread Trond Myklebust
On Mon, 2014-02-03 at 10:45 -0500, Trond Myklebust wrote: > On Feb 3, 2014, at 9:57, Christoph Hellwig wrote: > > > On Mon, Feb 03, 2014 at 09:17:30AM -0500, Trond Myklebust wrote: > >> As I said above, that causes posix_acl_xattr_get() to return the wrong > >> answer (ENODATA instead of

[PATCH v2] vmcore: prevent PT_NOTE p_memsz overflow during header update

2014-02-03 Thread Greg Pearson
Currently, update_note_header_size_elf64() and update_note_header_size_elf32() will add the size of a PT_NOTE entry to real_sz even if that causes real_sz to exceeds max_sz. This patch corrects the while loop logic in those routines to ensure that does not happen and prints a warning if a PT_NOTE

Re: rtl8821ae.

2014-02-03 Thread Linus Torvalds
On Mon, Feb 3, 2014 at 12:12 PM, Dan Carpenter wrote: > On Mon, Feb 03, 2014 at 11:05:42AM -0600, Larry Finger wrote: >> A combined driver would require very many branches based on chip >> number and would certainly execute much more slowly. > > I seriously doubt there are performance issues with

Re: rtl8821ae.

2014-02-03 Thread Greg KH
On Mon, Feb 03, 2014 at 11:05:42AM -0600, Larry Finger wrote: > I am trying to improve the quality of this pile of , but I am only one > person who was a life-long Fortran-coding scientist until I retired 15 years > ago. Since then, I have been learning C and kernel-style coding practices.

Re: [RFC PATCH V3 1/4] pci: APM X-Gene PCIe controller driver

2014-02-03 Thread Tanmay Inamdar
On Mon, Feb 3, 2014 at 12:12 PM, Arnd Bergmann wrote: > On Monday 03 February 2014 11:42:22 Tanmay Inamdar wrote: >> On Thu, Jan 30, 2014 at 6:16 AM, Arnd Bergmann wrote: >> > On Friday 24 January 2014, Tanmay Inamdar wrote: >> > >> >> +static void xgene_pcie_fixup_bridge(struct pci_dev *dev) >>

Re: rtl8821ae.

2014-02-03 Thread Dan Carpenter
On Mon, Feb 03, 2014 at 11:05:42AM -0600, Larry Finger wrote: > A combined driver would require very many branches based on chip > number and would certainly execute much more slowly. I seriously doubt there are performance issues with merging the drivers. regards, dan carpenter -- To

Re: [RFC PATCH V3 1/4] pci: APM X-Gene PCIe controller driver

2014-02-03 Thread Arnd Bergmann
On Monday 03 February 2014 11:42:22 Tanmay Inamdar wrote: > On Thu, Jan 30, 2014 at 6:16 AM, Arnd Bergmann wrote: > > On Friday 24 January 2014, Tanmay Inamdar wrote: > > > >> +static void xgene_pcie_fixup_bridge(struct pci_dev *dev) > >> +{ > >> + int i; > >> + > >> + /* Hide the PCI

Re: [PATCH] arm64: Add architecture support for PCI

2014-02-03 Thread Arnd Bergmann
On Monday 03 February 2014 19:18:38 Liviu Dudau wrote: > On Mon, Feb 03, 2014 at 06:58:56PM +, Arnd Bergmann wrote: > > On Monday 03 February 2014 18:43:48 Liviu Dudau wrote: > > > diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h > > > index 4cc813e..ce5bad2 100644 > > >

Kernel WARNING splat in 3.14-rc1

2014-02-03 Thread Larry Finger
On my freshly built 3.14-rc1 kernel, I get the following new warning splat from slub: [ 69.008845] [ cut here ] [ 69.008861] WARNING: CPU: 0 PID: 1578 at mm/slub.c:1007 deactivate_slab+0x4bb/0x520() [ 69.008863] Modules linked in: rfcomm nfs fscache af_packet

Re: [PATCH 0/2] MIPS/staging: Probe octeon-usb driver via device-tree

2014-02-03 Thread Greg Kroah-Hartman
On Mon, Feb 03, 2014 at 08:35:06PM +0200, Aaro Koskinen wrote: > Hi, > > On Wed, Dec 04, 2013 at 03:29:53PM -0800, Greg Kroah-Hartman wrote: > > On Tue, Dec 03, 2013 at 11:46:50AM -0800, David Daney wrote: > > > From: David Daney > > > > > > Tested against both EdgeRouter LITE (no bootloader

[PATCH] edac, poll timeout cannot be zero

2014-02-03 Thread Prarit Bhargava
If you do echo 0 > /sys/module/edac_core/parameters/edac_mc_poll_msec the following stack trace is output because the edac module is not designed to poll with a timeout of zero. [ cut here ] WARNING: CPU: 12 PID: 0 at lib/list_debug.c:33 __list_add+0xac/0xc0() list_add

Re: rtl8821ae.

2014-02-03 Thread Dan Carpenter
> >On Sunday 02 February 2014, Dave Jones wrote: > >>The git logs are littered mostly with CodingStyle cleanups, sparse cleanups > >>and such, > >>meanwhile for five years they've had out of bounds reads, overflows, and > >>such > >>for this whole time. Really, any sort of cleanup is good,

Re: [PATCH -v2] x86, microcode, AMD: Sanity-check initrd image

2014-02-03 Thread Borislav Petkov
On Mon, Feb 03, 2014 at 02:37:34PM -0500, Boris Ostrovsky wrote: > It exploded when 'if (!container)' check was done *after* relocation, > which made container non-zero. If you do the check *before* then I > think you will catch the fact that container is empty. Ah, right, this was it. Ok, just

Re: [RFC PATCH 0/3] epoll: read(),write(),ioctl() interface

2014-02-03 Thread Andy Lutomirski
On Mon, Feb 3, 2014 at 11:42 AM, Nathaniel Yazdani wrote: > On 2/3/14, Andy Lutomirski wrote: >> On 02/02/2014 06:17 PM, Nathaniel Yazdani wrote: >>> Hi everyone, >>> >>> This patch series adds support for read(), write(), and ioctl() >>> operations >>> on eventpolls as well as an associated

Re: [PATCH] pvh: set cr4 flags for APs

2014-02-03 Thread Konrad Rzeszutek Wilk
On Mon, Feb 03, 2014 at 11:30:01AM -0800, Mukesh Rathor wrote: > On Mon, 3 Feb 2014 06:49:14 -0500 > Konrad Rzeszutek Wilk wrote: > > > On Wed, Jan 29, 2014 at 04:15:18PM -0800, Mukesh Rathor wrote: > > > We need to set cr4 flags for APs that are already set for BSP. > > > > The title is

[PATCH 1/1] Drivers: hv: vmbus: Support per-channel driver state

2014-02-03 Thread K. Y. Srinivasan
As we implement Virtual Receive Side Scaling on the networking side (the VRSS patches are currently under review), it will be useful to have per-channel state that vmbus drivers can manage. Add support for managing per-channel state. Signed-off-by: K. Y. Srinivasan --- include/linux/hyperv.h |

Re: Need help in bug in isolate_migratepages_range

2014-02-03 Thread Holger Kiehl
On Mon, 3 Feb 2014, Michal Hocko wrote: On Mon 03-02-14 14:29:22, Holger Kiehl wrote: I have attached it. Please, tell me if you do not get the attachment. I hoped it would help me to get a closer compiled code to yours but I am probably using too different gcc. I have an old gcc, it is

[ANNOUNCE] 3.12.9-rt13

2014-02-03 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v3.12.9-rt13 patch set. Changes since v3.12.9-rt12 - The fix for "do not to raise the timer softirq unconditionally" was not perfect. Steven made a better one, thank you Steven. - Drop the CPU led trigger. It is called from hard irq context and

Re: [PATCH v3 2/8] ARM: dts: sun7i: Add GMAC clock node to sun7i DTSI

2014-02-03 Thread Maxime Ripard
On Mon, Feb 03, 2014 at 11:32:20AM +0800, Chen-Yu Tsai wrote: > The GMAC uses 1 of 2 sources for its transmit clock, depending on the > PHY interface mode. Add both sources as dummy clocks, and as parents > to the GMAC clock node. > > Signed-off-by: Chen-Yu Tsai > --- >

Re: [RFC PATCH 0/3] epoll: read(),write(),ioctl() interface

2014-02-03 Thread Nathaniel Yazdani
On 2/3/14, Andy Lutomirski wrote: > On 02/02/2014 06:17 PM, Nathaniel Yazdani wrote: >> Hi everyone, >> >> This patch series adds support for read(), write(), and ioctl() >> operations >> on eventpolls as well as an associated userspace structure to format the >> eventpoll entries delivered via

Re: [RFC PATCH V3 1/4] pci: APM X-Gene PCIe controller driver

2014-02-03 Thread Tanmay Inamdar
On Thu, Jan 30, 2014 at 6:16 AM, Arnd Bergmann wrote: > On Friday 24 January 2014, Tanmay Inamdar wrote: > >> +static void xgene_pcie_fixup_bridge(struct pci_dev *dev) >> +{ >> + int i; >> + >> + /* Hide the PCI host BARs from the kernel as their content doesn't >> + * fit well in

Re: [PATCH v3 8/8] ARM: dts: sun7i: Add ethernet alias for GMAC

2014-02-03 Thread Maxime Ripard
On Mon, Feb 03, 2014 at 11:32:26AM +0800, Chen-Yu Tsai wrote: > U-Boot will insert MAC address into the device tree image. > It looks up ethernet[0-5] aliases to find the ethernet nodes. > Alias GMAC as ethernet0, as it is the only ethernet controller used. > > Signed-off-by: Chen-Yu Tsai > ---

Re: [RFC PATCH 0/3] epoll: read(),write(),ioctl() interface

2014-02-03 Thread Andy Lutomirski
On 02/02/2014 06:17 PM, Nathaniel Yazdani wrote: > Hi everyone, > > This patch series adds support for read(), write(), and ioctl() operations > on eventpolls as well as an associated userspace structure to format the > eventpoll entries delivered via read()/write() buffers. The new structure, >

Re: [PATCH -v2] x86, microcode, AMD: Sanity-check initrd image

2014-02-03 Thread Boris Ostrovsky
On 02/03/2014 02:30 PM, Borislav Petkov wrote: On Mon, Feb 03, 2014 at 02:13:27PM -0500, Boris Ostrovsky wrote: I thought that it may be sufficient to check for !container in save_microcode_in_initrd_amd() before performing relocation. If the signature was wrong, we would have found out about

Re: [PATCH] AMD64_EDAC: Fix logic to determine channel for F15 M30h processors

2014-02-03 Thread Aravind Gopalakrishnan
On 2/3/2014 1:32 PM, Borislav Petkov wrote: On Mon, Feb 03, 2014 at 01:10:42PM -0600, Aravind Gopalakrishnan wrote: On 1/21/2014 3:03 PM, Aravind Gopalakrishnan wrote: The current logic that returns (sys_addr >> 8) & 0x7 when num_dcts_intlv = 4 is incorrect. We should really be doing- If

Re: [PATCH v3 1/8] clk: sunxi: Add Allwinner A20/A31 GMAC clock unit

2014-02-03 Thread Maxime Ripard
Hi, On Mon, Feb 03, 2014 at 11:32:19AM +0800, Chen-Yu Tsai wrote: > The Allwinner A20/A31 clock module controls the transmit clock source > and interface type of the GMAC ethernet controller. Model this as > a single clock for GMAC drivers to use. > > Signed-off-by: Chen-Yu Tsai > --- >

Re: BUG ip_dst_cache (Not tainted): Poison overwritten

2014-02-03 Thread Tommi Rantala
2014-02-01 Tommi Rantala : > 2014-01-31 Eric Dumazet : >> On Fri, 2014-01-31 at 22:11 +0200, Tommi Rantala wrote: >>> Hello, >>> >>> Hit this while fuzzing v3.13-9218-g0e47c96 with trinity in a qemu >>> virtual machine. >>> >>> Tommi >> >> Hi Tommi >> >> Could you please try the following fix ? >

Re: [RFC PATCH 0/3] epoll: read(),write(),ioctl() interface

2014-02-03 Thread Nathaniel Yazdani
On 2/3/14, Clemens Ladisch wrote: > Nathaniel Yazdani wrote: >> Using the normal I/O interface to manipulate eventpolls is much neater >> than using epoll-specific syscalls > > But it introduces a _second_ API, which is epoll-specific too, and does > not use the standard semantics either. > >>

Re: [PATCH] AMD64_EDAC: Fix logic to determine channel for F15 M30h processors

2014-02-03 Thread Borislav Petkov
On Mon, Feb 03, 2014 at 01:10:42PM -0600, Aravind Gopalakrishnan wrote: > On 1/21/2014 3:03 PM, Aravind Gopalakrishnan wrote: > >The current logic that returns (sys_addr >> 8) & 0x7 when > >num_dcts_intlv = 4 is incorrect. We should really be doing- > >If intlv_addr = 0x4, then interleave on bits

Re: [PATCH] pci: Add support for creating a generic host_bridge from device tree

2014-02-03 Thread Arnd Bergmann
On Monday 03 February 2014 19:06:49 Liviu Dudau wrote: > On Mon, Feb 03, 2014 at 06:46:10PM +, Arnd Bergmann wrote: > > On Monday 03 February 2014 18:33:48 Liviu Dudau wrote: > > > +/** > > > + * pci_host_bridge_of_get_ranges - Parse PCI host bridge resources from > > > DT > > > + * @dev:

Re: [PATCH -v2] x86, microcode, AMD: Sanity-check initrd image

2014-02-03 Thread Borislav Petkov
On Mon, Feb 03, 2014 at 02:13:27PM -0500, Boris Ostrovsky wrote: > I thought that it may be sufficient to check for !container in > save_microcode_in_initrd_amd() before performing relocation. If the > signature was wrong, we would have found out about it in > load_ucode_bsp() ->

Re: [PATCH] pvh: set cr4 flags for APs

2014-02-03 Thread Mukesh Rathor
On Mon, 3 Feb 2014 06:49:14 -0500 Konrad Rzeszutek Wilk wrote: > On Wed, Jan 29, 2014 at 04:15:18PM -0800, Mukesh Rathor wrote: > > We need to set cr4 flags for APs that are already set for BSP. > > The title is missing the 'xen' part. The patch is for linux, not xen. > I rewrote it a bit and

Re: [PATCH] iio: adc: viperboard: Drop platform_set_drvdata call

2014-02-03 Thread Jonathan Cameron
On 01/02/14 14:52, Johannes Thumshirn wrote: Drop call to platform_set_drvdata as driver data is not used anywhere in the driver Signed-off-by: Johannes Thumshirn Applied to the togreg branch of iio.git Thanks, --- drivers/iio/adc/viperboard_adc.c | 2 -- 1 file changed, 2 deletions(-)

Re: [RFC][PATCH v2 5/5] mutex: Give spinners a chance to spin_on_owner if need_resched() triggered while queued

2014-02-03 Thread Peter Zijlstra
On Mon, Feb 03, 2014 at 10:39:20AM -0800, Jason Low wrote: > > To avoid the xchg on every loop. > > Ah yes, we want to use xchg() on >next. > > Since the cmpxchg() is now in a loop in the unlock function, an > additional (*lock == node) check before the cmpxchg() would also be nice > to avoid

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

2014-02-03 Thread Maxime Ripard
Hi, On Thu, Jan 30, 2014 at 01:25:56PM +0100, Heiko Stübner wrote: > From: Heiko Stuebner > > On i.MX, which carries a lot of pin-groups of which most are unused on > individual boards, they noticed that this plehora of nodes also results > in the runtime-lookup-performance also degrading [0].

Re: [PATCH 00/17] x86, ia64 NUMA cleanup

2014-02-03 Thread Bjorn Helgaas
[+cc Tony] On Wed, Jan 29, 2014 at 11:17 AM, Bjorn Helgaas wrote: > This is all cleanup: it adds no new functionality and should make no > functional difference at all except a printk change or two. > > The main ideas are: > > - Clean up the x86 PCI bus scanning interfaces. We had: >

Re: [PATCH 00/11] HID: spring cleaning

2014-02-03 Thread Benjamin Tissoires
On Mon, Feb 3, 2014 at 11:48 AM, David Herrmann wrote: > Hi > > On Sun, Feb 2, 2014 at 5:50 AM, Benjamin Tissoires > wrote: >> Hi guys, >> >> This is an attempt to complete the branch for-3.15/ll-driver-new-callbacks: >> - try to implement as much as possible ll_driver callbacks (some are still

Re: [PATCH] arm64: Add architecture support for PCI

2014-02-03 Thread Liviu Dudau
On Mon, Feb 03, 2014 at 06:58:56PM +, Arnd Bergmann wrote: > On Monday 03 February 2014 18:43:48 Liviu Dudau wrote: > > diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h > > index 4cc813e..ce5bad2 100644 > > --- a/arch/arm64/include/asm/io.h > > +++

[PATCH 05/10] kernfs: allow nodes to be created in the deactivated state

2014-02-03 Thread Tejun Heo
Currently, kernfs_nodes are made visible to userland on creation, which makes it difficult for kernfs users to atomically succeed or fail creation of multiple nodes. In addition, if something fails after creating some nodes, the created nodes might already be in use and their active refs need to

[PATCH 03/10] kernfs: implement kernfs_syscall_ops->remount_fs() and ->show_options()

2014-02-03 Thread Tejun Heo
Add two super_block related syscall callbacks ->remount_fs() and ->show_options() to kernfs_syscall_ops. These simply forward the matching super_operations. Signed-off-by: Tejun Heo --- fs/kernfs/mount.c | 23 +++ include/linux/kernfs.h | 3 +++ 2 files changed, 26

[PATCH 01/10] kernfs: invoke dir_ops while holding active ref of the target node

2014-02-03 Thread Tejun Heo
kernfs_dir_ops are currently being invoked without any active reference, which makes it tricky for the invoked operations to determine whether the objects associated those nodes are safe to access and will remain that way for the duration of such operations. kernfs already has active_ref

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