Re: Fwd: [PATCH v2 2/2] usb: gadget: Add xilinx axi usb2 device support

2014-04-07 Thread Felipe Balbi
Hi, On Mon, Apr 07, 2014 at 02:36:13PM +0530, sundeep subbaraya wrote: +/** + * xudc_wrstatus - Sets up the usb device status stages. + * @udc: pointer to the usb device controller structure. + */ +static void xudc_wrstatus(struct xusb_udc *udc) +{ + u32 epcfgreg; + +

Re: [PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support

2014-04-07 Thread Waiman Long
On 04/07/2014 02:14 AM, Raghavendra K T wrote: I tested the v7,v8 of qspinlock with unfair config on kvm guest. I was curious about unfair locks performance in undercommit cases. (overcommit case is expected to perform well) But I am seeing hang in overcommit cases. Gdb showed that many

Re: [PATCHv2 1/5] Input: add common DT binding for touchscreens

2014-04-07 Thread Rob Herring
On Sat, Apr 5, 2014 at 5:26 PM, Sebastian Reichel s...@kernel.org wrote: Add common DT binding documentation for touchscreen devices and implement input_parse_touchscreen_of_params, which parses the common properties and configures the input device accordingly. Good. Signed-off-by:

Re: [RESEND: RFC PATCH 3/3] pcie: keystone: add pcie driver based on designware core driver

2014-04-07 Thread Murali Karicheri
On 3/25/2014 12:54 PM, Jason Gunthorpe wrote: On Tue, Mar 25, 2014 at 08:44:36AM +0100, Arnd Bergmann wrote: I have no idea how this would work with the standard interrupt-map property, since the legacy interrupt host is now the same device as the pci host. Maybe it's better to move the

Re: [RFC PATCH v2 5/6] uprobes/x86: Emulate rip-relative conditional short jmp's

2014-04-07 Thread Oleg Nesterov
On 04/07, Oleg Nesterov wrote: Incomplete, lacks jcxz. Simple to fix. Anything else? Please see v2 below. Simplify the preprocessor hacks. Finally some testing. This all even seems to work... Although so far I only tested jz/jnz 8/32bit with this test-case: asm (

Re: [RFC/PATCH] mtd: ubi: Free peb's synchronously for fastmap

2014-04-07 Thread Richard Weinberger
Am 07.04.2014 18:05, schrieb Tanya Brokhman: On 4/7/2014 4:02 PM, Richard Weinberger wrote: On Tue, Apr 1, 2014 at 10:01 AM, Tanya Brokhman tlin...@codeaurora.org wrote: At first mount it's possible that there are not enough free PEBs since there are PEB's pending to be erased. In such

Re: [RESEND: RFC PATCH 3/3] pcie: keystone: add pcie driver based on designware core driver

2014-04-07 Thread Jason Gunthorpe
On Mon, Apr 07, 2014 at 12:38:23PM -0400, Murali Karicheri wrote: On 3/25/2014 12:54 PM, Jason Gunthorpe wrote: On Tue, Mar 25, 2014 at 08:44:36AM +0100, Arnd Bergmann wrote: I have no idea how this would work with the standard interrupt-map property, since the legacy interrupt host is now

Re: btrfs: lock inversion between delayed_node-mutex and found-groups_sem

2014-04-07 Thread David Sterba
On Fri, Apr 04, 2014 at 05:15:23PM -0400, Sasha Levin wrote: On 03/26/2014 01:01 PM, Jeff Mahoney wrote: On 3/17/14, 9:05 AM, David Sterba wrote: On Fri, Mar 14, 2014 at 08:12:16PM -0400, Sasha Levin wrote: While fuzzing with trinity inside a KVM tools guest running the latest -next

Re: [PATCH v8 01/10] qspinlock: A generic 4-byte queue spinlock implementation

2014-04-07 Thread Waiman Long
On 04/07/2014 10:09 AM, Peter Zijlstra wrote: On Fri, Apr 04, 2014 at 01:08:16PM -0400, Waiman Long wrote: Peter's patch is a rewrite of my patches 1-4, there is no PV or unfair lock support in there. Yes, because your patches were unreadable and entirely non obvious. And while I appreciate

[GIT PULL] Ceph updates

2014-04-07 Thread Sage Weil
Hi Linus, Please pull the following Ceph updates from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus The biggest chunk is a series of patches from Ilya that add support for new Ceph osd and crush map features, including some new tunables, primary affinity, and

Re: proc net statistics

2014-04-07 Thread Cong Wang
On Mon, Apr 7, 2014 at 3:39 AM, Ken O'Brien k...@kenobrien.org wrote: Hi, I was under the impression that statistics reported in /proc/{$pid}/net/dev were specific to that process, but the values appear to be globals, i.e., identical for all processes. Is this a bug? That is per

Re: [PATCH v2 2/5] ARM: zynq: dt: Convert to preprocessor includes

2014-04-07 Thread Jason Gunthorpe
On Mon, Apr 07, 2014 at 02:24:07PM +0200, Michal Simek wrote: Device-tree BSP and in 2014.01 there will be new BSP which just generate them directly from the Vivado tools which just target your reference design. You can connect your custom IP (or Xilinx or 3rd party) directly to the GIC

Re: Kconfig circular dependency question

2014-04-07 Thread Paul Bolle
(and the next-20140407 tree). But I could reproduce by cbobbling together a single rudimentary Kconfig file with the six symbols mentioned in the error you had copied. And then I could cut things down to this minimal test case: $ cat Kconfig.recursive # test with 'yes | make KBUILD_KCONFIG

Re: [PATCH] xen-blkback: only attach blkback if the required features are met

2014-04-07 Thread David Vrabel
On 04/04/14 16:13, Roger Pau Monné wrote: On 04/04/14 17:01, David Vrabel wrote: On 04/04/14 15:41, Roger Pau Monne wrote: Blkback cannot work properly on auto-translated guests if Xen doesn't update the IOMMU when performing grant maps/unmaps, so only attach if the newly introduced

Re: mm: slub: gpf in deactivate_slab

2014-04-07 Thread Christoph Lameter
On Sat, 5 Apr 2014, Sasha Levin wrote: Unfortunately I've been unable to reproduce the issue to get more debug info out of it. However, I've hit something that seems to be somewhat similar to that: Could you jsut run with slub_debug on the kernel command line to get us more diagnostics? Could

Re: [PATCH V7 1/1] drivers/gpio: Altera soft IP GPIO driver and devicetree binding

2014-04-07 Thread Josh Cartwright
On Mon, Apr 07, 2014 at 04:00:43PM +0800, Tien Hock Loh wrote: On Wed, Mar 19, 2014 at 6:09 PM, Tien Hock Loh th...@altera.com wrote: On Fri, Mar 7, 2014 at 11:14 PM, Josh Cartwright jo...@codeaurora.org wrote: On Mon, Mar 03, 2014 at 06:27:43PM +0800, th...@altera.com wrote: From: Tien

Re: [PATCH] xen/spinlock: Don't enable them unconditionally.

2014-04-07 Thread David Vrabel
On 04/04/14 19:48, kon...@kernel.org wrote: From: Konrad Rzeszutek Wilk konrad.w...@oracle.com The git commit a945928ea2709bc0e8e8165d33aed855a0110279 ('xen: Do not enable spinlocks before jump_label_init() has executed') was added to deal with the jump machinery. Earlier the code that

Re: [PATCH] cpufreq: remove sysfs link when a cpu != policy-cpu, is removed

2014-04-07 Thread Sören Brinkmann
On Mon, 2014-02-17 at 11:03PM +0100, Rafael J. Wysocki wrote: On Monday, February 17, 2014 02:52:11 PM Viresh Kumar wrote: Earlier patch tried to do this but missed this piece of code to fix. 42f921a cpufreq: remove sysfs files for CPUs which failed to come back after resume

Re: mm: slub: gpf in deactivate_slab

2014-04-07 Thread Sasha Levin
On 04/07/2014 01:13 PM, Christoph Lameter wrote: On Sat, 5 Apr 2014, Sasha Levin wrote: Unfortunately I've been unable to reproduce the issue to get more debug info out of it. However, I've hit something that seems to be somewhat similar to that: Could you jsut run with slub_debug on the

Re: btrfs: lock inversion between delayed_node-mutex and found-groups_sem

2014-04-07 Thread Chris Mason
On 04/07/2014 12:54 PM, David Sterba wrote: On Fri, Apr 04, 2014 at 05:15:23PM -0400, Sasha Levin wrote: On 03/26/2014 01:01 PM, Jeff Mahoney wrote: On 3/17/14, 9:05 AM, David Sterba wrote: On Fri, Mar 14, 2014 at 08:12:16PM -0400, Sasha Levin wrote: While fuzzing with trinity inside a KVM

Re: [PATCH 1/2] xen/xenbus: Avoid synchronous wait on XenBus stalling shutdown/restart.

2014-04-07 Thread David Vrabel
On 04/04/14 19:53, Konrad Rzeszutek Wilk wrote: The 'read_reply' works with 'process_msg' to read of a reply in XenBus. 'process_msg' is running from within the 'xenbus' thread. Whenever a message shows up in XenBus it is put on a xs_state.reply_list list and 'read_reply' picks it up. The

Re: proc net statistics

2014-04-07 Thread Cong Wang
On Mon, Apr 7, 2014 at 10:10 AM, Ken O'Brien k...@kenobrien.org wrote: Ok, so then, is there a way to read per process network statistics in the proc filesystem? AFAIK, we only have per-socket and per-netdev statistics, there is no per-process one, you probably want to try cgroup, or put

Re: [PATCH 2/2] xen/manage: Poweroff forcefully if user-space is not yet up.

2014-04-07 Thread David Vrabel
On 04/04/14 19:53, Konrad Rzeszutek Wilk wrote: The user can launch the guest in this sequence: xl create -p /vm.cfg [launch, but pause it] xl shutdown latest[sets control/shutdown=poweroff] xl unpause latest xl console latest [and see that the guest has completely ignored the

Re: [PATCH 2/2] xen/manage: Poweroff forcefully if user-space is not yet up.

2014-04-07 Thread Konrad Rzeszutek Wilk
On Mon, Apr 07, 2014 at 06:19:32PM +0100, David Vrabel wrote: On 04/04/14 19:53, Konrad Rzeszutek Wilk wrote: The user can launch the guest in this sequence: xl create -p /vm.cfg[launch, but pause it] xl shutdown latest [sets control/shutdown=poweroff] xl unpause latest xl

Re: proc net statistics

2014-04-07 Thread Daniel Borkmann
On 04/07/2014 07:19 PM, Cong Wang wrote: On Mon, Apr 7, 2014 at 10:10 AM, Ken O'Brien k...@kenobrien.org wrote: Ok, so then, is there a way to read per process network statistics in the proc filesystem? AFAIK, we only have per-socket and per-netdev statistics, there is no per-process one,

[PATCH V5 01/12] ACPI: introduce .match() callback for ACPI scan handler

2014-04-07 Thread Zhang Rui
Currently, ACPI scan handler uses strcmp() to match device ids and scan handler ids. When converting PNPACPI enumeration into a scan handler, which I will do later in this patch set, the current code becomes not flexible enough because ACPI pnp scan handler requires wildcase and case insensitive

[PATCH V5 07/12] ACPI: use platform bus as the default bus for _HID enumeration

2014-04-07 Thread Zhang Rui
Because of the growing demand for enumerating ACPI devices to platform bus, this patch changes the code to enumerate ACPI devices with _HID to platform bus by default, unless the device already has a scan handler attached. Signed-off-by: Zhang Rui rui.zh...@intel.com ---

[PATCH V5 03/12] ACPI: remove ids that does not comply with the ACPI PNP id rule

2014-04-07 Thread Zhang Rui
The acpi pnp scan handler id list just copies all the ids from all the struct pnp_device_id instances, but some of them do not comply with the ACPI PNP id rule (3 Alpha Charactors + 4 Hex numbers). For those ids, the coressponding devices will never be enumerated via ACPI, so it is safe to remove

[PATCH V5 12/12] ACPI: introduce .handle_children flag for acpi scan handler

2014-04-07 Thread Zhang Rui
For some devices with scan handler attached, their children devices are enumerated by the scan handler, indirectly. In this case, we do not want to enumerate the children devices in acpi scan code explicitly. Thus a new flag .handle_children is introduced in this patch. For scan handlers with

[PATCH V5 08/12] ACPI: introduce dummy lpss scan handler

2014-04-07 Thread Zhang Rui
When the lpss scan handler is compiled out, aka, CONFIG_X86_INTEL_LPSS is cleared, those ACPI device objects will be recgonized as regular _HID devices, and a platform device would be created for each of them. This is wrong because the platform drivers for those devices would be loaded, but with

[PATCH V5 09/12] ACPI: introduce acpi platform exclude id list

2014-04-07 Thread Zhang Rui
For ACPI PIC (PNP) and Timer (PNP0100) device objects, although they have _HID control method, but they should not be enumerated to platform bus, because there will never be any platform drivers for them. Thus an exclude id list is introduced in this patch to prevent those platform device

[PATCH V5 02/12] PNPACPI: use whilte list for pnpacpi device enumeration

2014-04-07 Thread Zhang Rui
ACPI can be used to enumerate PNP devices, but the code does not handle this in a good manner. Currently, if an ACPI device 1. has _CRS method, 2. has an identifications of three capital charactors followed by four hex numbers, 3. is not in the excluded id list, it is enumerated to PNP bus.

[PATCH V5 11/12] ACPI: introduce dummy memory hotplug scan handler

2014-04-07 Thread Zhang Rui
If CONFIG_ACPI_HOTPLUG_MEMORY is cleared, platform devices would be created for ACPI hotplug memory device objects. Introduce a dummy memory hotplug scan handler in this patch, to prevent those platform devices from being created. Signed-off-by: Zhang Rui rui.zh...@intel.com ---

Re: [PATCH] ARM64: Remove duplicated Kconfig entry for kernel/power/Kconfig

2014-04-07 Thread Catalin Marinas
On Thu, Apr 03, 2014 at 12:16:49PM +0100, Hanjun Guo wrote: There is a duplicated Kconfig entry for kernel/power/Kconfig in menu Power management options and CPU Power Management, remove the one from menu CPU Power Management suggested by Viresh. Signed-off-by: Hanjun Guo

[PATCH V5 10/12] ACPI: introduce dummy container scan handler

2014-04-07 Thread Zhang Rui
When CONFIG_ACPI_CONTAINER is cleared, platform devices would be created for ACPI container objects. Introduce a dummy container scan handler in this patch to prevent these platform devices from being created. Signed-off-by: Zhang Rui rui.zh...@intel.com --- drivers/acpi/Makefile|2 +-

[PATCH V5 04/12] ACPI: remove unsupported serial PNP ids from acpi pnp scan handler id lsit

2014-04-07 Thread Zhang Rui
The serial pnp driver supports some unknown PNP modems (PNPCXXX/PNPDXXX) by matching magic strings in the pnp device name or the pnp device card name. ACPI enumerated PNP device neither supports pnp card, nor supports those magic strings in its device name, which means this mechamism never works

[PATCH V5 05/12] ACPI: check and enumerate CMOS RTC devices explicitly

2014-04-07 Thread Zhang Rui
For CMOS RTC devices, the acpi pnp scan handler does not work because there is already a cmos rtc scan handler installed, thus we need to check those devices and enumerate them to PNP bus explicitly. Plus, the cmos rtc scan handler needs to return 1 so that it will not be enumerated to platform

[PATCH V5 06/12] ACPI: introduce platform_id flag

2014-04-07 Thread Zhang Rui
Only certain kind of ACPI device objects can be enumerated to platform bus. These ACPI device objects include 1. ACPI device objects that have _HID control method. 2. some ACPI device objects that have Linux specified HID strings. In order to distinguish those device objects from the others, a

[PATCH V5 00/12] ACPI: change the way of enumerating PNPACPI/Platform devices

2014-04-07 Thread Zhang Rui
Hi, all, Currently, PNP bus is used as the default bus for for enumerating ACPI devices with _HID/_CID. For a device that needs to be enumerated to platform bus, we need to add its id string to the platform scan handler white list explicitly. This becomes a problem as more and more _HID devices

atualização conta de e-mail

2014-04-07 Thread Webmail
Atenção do usuário, Você excedeu o limite de armazenamento para mensagens, é importante que você renovar o seu armazenamento de e-mail para o novo 5.0GB para o uso efetivo das novas funcionalidades do webmail. Para renovar e aumentar o armazenamento, você deve validar o seu webmail. Sem essa

atualização conta de e-mail

2014-04-07 Thread Webmail
Atenção do usuário, Você excedeu o limite de armazenamento para mensagens, é importante que você renovar o seu armazenamento de e-mail para o novo 5.0GB para o uso efetivo das novas funcionalidades do webmail. Para renovar e aumentar o armazenamento, você deve validar o seu webmail. Sem essa

Re: 3.13: module disagrees about version of symbol symbol

2014-04-07 Thread Andi Kleen
On Sat, Apr 05, 2014 at 04:29:31PM +0200, Thomas Bächler wrote: Am 05.04.2014 03:13, schrieb Andi Kleen: On Tue, Apr 01, 2014 at 01:38:10AM +0200, Thomas Bächler wrote: Am 01.04.2014 01:34, schrieb Andi Kleen: This problem persists in v3.14, i.e. I still have to revert

[PATCH] HID: rmi: introduce RMI driver for Synaptics touchpads

2014-04-07 Thread Benjamin Tissoires
This driver add support for RMI4 over USB or I2C. The current state is that it uses its own RMI4 implementation, but once RMI4 is merged upstream, the driver will be a transport driver for the RMI4 library. Signed-off-by: Andrew Duggan adug...@synaptics.com Signed-off-by: Benjamin Tissoires

Re: [PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support

2014-04-07 Thread Raghavendra K T
On 04/07/2014 10:08 PM, Waiman Long wrote: On 04/07/2014 02:14 AM, Raghavendra K T wrote: [...] But I am seeing hang in overcommit cases. Gdb showed that many vcpus are halted and there was no progress. Suspecting the problem /race with halting, I removed the halt() part of kvm_hibernate(). I

Re: [PATCH 01/20] mips: octeon: convert to use unflatten_and_copy_device_tree

2014-04-07 Thread Andreas Herrmann
On Thu, Apr 03, 2014 at 05:16:44PM -0500, Rob Herring wrote: From: Rob Herring r...@kernel.org The octeon FDT code can be simplified by using unflatten_and_copy_device_tree function. This removes all accesses to FDT header data by the arch code. Hi Rob, I think (in general) this

Re: 3.13: module disagrees about version of symbol symbol

2014-04-07 Thread Thomas Bächler
Am 07.04.2014 19:30, schrieb Andi Kleen: Do you have a specific config? Specific compiler version? Using gcc 4.8 from Arch Linux with the configuration at [1] and Linux 3.14. I tested this configuration (with gcc 4.8 on FC20/19) and it loads ext4 and all the other modules without any

Re: [PATCH] HID: rmi: introduce RMI driver for Synaptics touchpads

2014-04-07 Thread Benjamin Tissoires
On Mon, Apr 7, 2014 at 1:39 PM, Benjamin Tissoires benjamin.tissoi...@redhat.com wrote: This driver add support for RMI4 over USB or I2C. The current state is that it uses its own RMI4 implementation, but once RMI4 is merged upstream, the driver will be a transport driver for the RMI4 library.

[patch 0/3] timerfd -- implement missing parts to checkpoint and restore timerfd state, v2

2014-04-07 Thread Cyrill Gorcunov
Hi, here is an updated series, changes mostly in show_fdinfo code which now produces a way more information (and documentation update). Please take a look once time permit. Thanks! -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[patch 2/3] docs: procfs -- Document timerfd output

2014-04-07 Thread Cyrill Gorcunov
CC: Shawn Landden sh...@churchofgit.com CC: Thomas Gleixner t...@linutronix.de CC: Andrew Morton a...@linux-foundation.org CC: Andrey Vagin ava...@openvz.org CC: Pavel Emelyanov xe...@parallels.com CC: Vladimir Davydov vdavy...@parallels.com Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org ---

[patch 3/3] timerfd: Implement write method

2014-04-07 Thread Cyrill Gorcunov
The read() of timerfd files allows to fetch the number of timer ticks while there is no way to set it back from userspace. To restore the timer state as it was at checkpoint moment we need a way to setup ticks back. So as a counterpart of read() the write() takes ticks number from the userspace

[patch 1/3] timerfd: Implement show_fdinfo method

2014-04-07 Thread Cyrill Gorcunov
For checkpoint/restore of timerfd files we need to know how exactly the timer were armed to be able to handle it. Thus implement show_fdinfo method which provides enough information for timer re-creation. One of significant changes I think is addition of timerfd_ctx::settime_flags member.

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-04-07 Thread Bjorn Helgaas
On Mon, Apr 7, 2014 at 5:36 AM, Arnd Bergmann a...@arndb.de wrote: I think migrating other architectures to use the same code should be a separate effort from adding a generic implementation that can be used by arm64. It's probably a good idea to have patches to convert arm32 and/or

Re: [PATCH v2 2/5] ARM: zynq: dt: Convert to preprocessor includes

2014-04-07 Thread Steffen Trumtrar
Hi! On Mon, Apr 07, 2014 at 11:10:12AM -0600, Jason Gunthorpe wrote: On Mon, Apr 07, 2014 at 02:24:07PM +0200, Michal Simek wrote: Device-tree BSP and in 2014.01 there will be new BSP which just generate them directly from the Vivado tools which just target your reference design. You

Re: [PATCH 2/2] arm: use fixmap for text patching when text is RO

2014-04-07 Thread Kees Cook
On Mon, Apr 7, 2014 at 6:57 AM, Jon Medhurst (Tixy) t...@linaro.org wrote: On Fri, 2014-04-04 at 23:27 +0200, Rabin Vincent wrote: Use fixmaps for text patching when the kernel text is read-only, inspired by x86. This makes jump labels and kprobes work with the currently available

Re: btrfs: lock inversion between delayed_node-mutex and found-groups_sem

2014-04-07 Thread Sasha Levin
On 04/07/2014 01:17 PM, Chris Mason wrote: On 04/07/2014 12:54 PM, David Sterba wrote: On Fri, Apr 04, 2014 at 05:15:23PM -0400, Sasha Levin wrote: On 03/26/2014 01:01 PM, Jeff Mahoney wrote: On 3/17/14, 9:05 AM, David Sterba wrote: On Fri, Mar 14, 2014 at 08:12:16PM -0400, Sasha Levin

Re: Promela/spin model for NO_HZ_FULL_SYSIDLE code

2014-04-07 Thread Paul E. McKenney
On Fri, Apr 04, 2014 at 01:43:16AM +0200, Frederic Weisbecker wrote: On Sun, Mar 30, 2014 at 04:08:56PM -0700, Paul E. McKenney wrote: For whatever it is worth, the following model claims safety and progress for the sysidle state machine. Thoughts? I'm going to get fun of myself by

Re: [lxc-devel] Kernel bug? Setuid apps and user namespaces

2014-04-07 Thread Serge E. Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): On Fri, Apr 4, 2014 at 12:10 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Andy Lutomirski (l...@amacapital.net): On Fri, Apr 4, 2014 at 11:30 AM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Andy Lutomirski

Re: block: use kmalloc alignment for bio slab

2014-04-07 Thread Mike Snitzer
On Wed, Apr 02 2014 at 2:04pm -0400, Mike Snitzer snit...@redhat.com wrote: From: Mikulas Patocka mpato...@redhat.com Various subsystems can ask the bio subsystem to create a bio slab cache with some free space before the bio. This free space can be used for any purpose. Device mapper

Re: block: use kmalloc alignment for bio slab

2014-04-07 Thread Jens Axboe
On 04/07/2014 12:15 PM, Mike Snitzer wrote: On Wed, Apr 02 2014 at 2:04pm -0400, Mike Snitzer snit...@redhat.com wrote: From: Mikulas Patocka mpato...@redhat.com Various subsystems can ask the bio subsystem to create a bio slab cache with some free space before the bio. This free space can

[PATCH] microblaze: restore r4 in sys_rt_sigreturn to fix corruption after signal

2014-04-07 Thread Richard Theil
From: Richard Theil li...@rdtheil.de As already identified in http://marc.info/?l=microblaze-uclinuxm=126203029729306 , the Microblaze signal handling code will corrupt r4 on a signal return. This was never fixed upstream. ret_from_trap in entry.S expects both r3 and r4, but sys_rt_sigreturn

Re: Bisected KVM hang on x86-32 between v3.12 and v3.13

2014-04-07 Thread Toralf Förster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 04/07/2014 05:07 PM, Peter Zijlstra wrote: On Mon, Apr 07, 2014 at 05:03:37PM +0200, Peter Zijlstra wrote: So what I suspect at this point is that because i386 and x86_64 have a difference in current_thread_info() (i386 is stack based), we

Re: [PATCH 06/15 V3] perf, c2c: Add in new options to configure latency and stores

2014-04-07 Thread Don Zickus
On Sun, Apr 06, 2014 at 03:14:22PM +0200, Jiri Olsa wrote: On Mon, Mar 31, 2014 at 10:55:35PM -0400, Don Zickus wrote: On Sat, Mar 29, 2014 at 06:11:38PM +0100, Jiri Olsa wrote: On Mon, Mar 24, 2014 at 03:36:57PM -0400, Don Zickus wrote: Modified the code to allow latency settings to be

Re: [PATCH 1/2] nohz: use seqlock to avoid race on idle time stats v2

2014-04-07 Thread Frederic Weisbecker
On Sat, Apr 05, 2014 at 04:56:54PM +0200, Denys Vlasenko wrote: On Sat, Apr 5, 2014 at 12:08 PM, Frederic Weisbecker fweis...@gmail.com wrote: Iowait makes sense but not per cpu. Eventually it's a global stat. Or per task. There a lot of situations where admins want to know how

Re: [PATCH 2/4] perf, kmem: Utilize the new generic cpunode_map

2014-04-07 Thread Don Zickus
On Sun, Apr 06, 2014 at 02:21:26PM +0200, Jiri Olsa wrote: On Mon, Mar 31, 2014 at 10:42:30PM -0400, Don Zickus wrote: SNIP -#define PATH_SYS_NODE /sys/devices/system/node - -static int init_cpunode_map(void) -{ - FILE *fp; - int i, err = -1; - -

[PATCH v3] Some printk cleanup in mm

2014-04-07 Thread Mitchel Humpherys
This series cleans up some printks in the mm code that were missing log levels. Changelog: - v3: Leaving slub.c alone. It's using hand-tagged printk's correctly so it's probably just churn to convert everything to the pr_ macros. - v2: Suggestions by Joe Perches (pr_fmt, pr_cont,

Re: [PATCH 1/4] perf: Allow ability to map cpus to nodes easily

2014-04-07 Thread Don Zickus
On Mon, Apr 07, 2014 at 02:28:35PM +0900, Namhyung Kim wrote: On Sun, 6 Apr 2014 14:15:46 +0200, Jiri Olsa wrote: On Thu, Apr 03, 2014 at 02:48:51PM +0900, Namhyung Kim wrote: More generally, this sysfs access needs to check actual mountpoint using sysfs__mountpoint() IMHO. Also this

[PATCH v3] mm: convert some level-less printks to pr_*

2014-04-07 Thread Mitchel Humpherys
printk is meant to be used with an associated log level. There are some instances of printk scattered around the mm code where the log level is missing. Add a log level and adhere to suggestions by scripts/checkpatch.pl by moving to the pr_* macros. Signed-off-by: Mitchel Humpherys

Re: [PATCH] sched: remove sleep_on() and friends

2014-04-07 Thread Linus Torvalds
On Mon, Apr 7, 2014 at 8:33 AM, Arnd Bergmann a...@arndb.de wrote: We haven't quite made it for 2.5, but maybe we can merge this for 3.15. Ok, I'm applying this immediately, before any new users pop up in staging or whatever.. Linus -- To unsubscribe from this list: send the line

Re: linux-next: build failure after merge of the final tree

2014-04-07 Thread Andrew Morton
On Mon, 7 Apr 2014 14:52:42 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: fs/ocfs2/suballoc.c: In function 'ocfs2_block_group_set_bits': fs/ocfs2/suballoc.c:1357:2: error:

[PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-07 Thread Haiyang Zhang
This feature allows multiple channels to be used by each virtual NIC. It is available on Hyper-V host 2012 R2. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 110 +-

[PATCH V3] scripts: objdiff: detect object code changes between two commits

2014-04-07 Thread Jason Cooper
objdiff is useful when doing large code cleanups. For example, when removing checkpatch warnings and errors from new drivers in the staging tree. objdiff can be used in conjunction with a git rebase to confirm that each commit made no changes to the resulting object code. It has the same return

Local Search engine rankings for (mail-archive.com)

2014-04-07 Thread afflict26094
Dear Business Owner, While searching the web we found that your website does not rank page 1 on google. 85% of users searching the web will never find your website unless you're ranked on first page of Google, MSN and other major search engines. On the top of this with all these google update

Re: btrfs: lock inversion between delayed_node-mutex and found-groups_sem

2014-04-07 Thread Josef Bacik
I was on vacation last week, I'll update btrfs-next today once we are happy with integration. Thanks, Josef Sasha Levin sasha.le...@oracle.com wrote: On 04/07/2014 01:17 PM, Chris Mason wrote: On 04/07/2014 12:54 PM, David Sterba wrote: On Fri, Apr 04, 2014 at 05:15:23PM -0400, Sasha

Re: [PATCH] staging/line6: Fix kzalloc coding style issue

2014-04-07 Thread L . Alberto Giménez
On Mon, Apr Apr 2014 at 08:05:04AM +0200, Takashi Iwai said: At Mon, 7 Apr 2014 00:12:30 +0200, L. Alberto Giménez wrote: Pass the actual variable to sizeof instead of a type definition. Signed-off-by: L. Alberto Giménez agime...@sysvalve.es Acked-by: Takashi Iwai ti...@suse.de

Re: ext4 performance falloff

2014-04-07 Thread Andi Kleen
Jan Kara j...@suse.cz writes: What we really need is a counter where we can better estimate counts accumulated in the percpu part of it. As the counter approaches zero, it's CPU overhead will have to become that of a single locked variable but when the value of counter is relatively high, we

Re: [PATCH 5/5] gpio: dwapb: use d-mask instead od BIT(bit)

2014-04-07 Thread Sebastian Andrzej Siewior
On 04/07/2014 02:26 PM, Gerhard Sittig wrote: On Mon, 2014-04-07 at 12:13 +0200, Sebastian Andrzej Siewior wrote: d-mask contains exact the same information as BIT(bit) so we could save a few cycles here. ISTR that the benefit of saving cycles was questioned in previous review comments.

Re: [PATCH RFC] x86:Improve memset with general 64bit instruction

2014-04-07 Thread Andi Kleen
ling.ma.prog...@gmail.com writes: From: Ling Ma ling...@alibaba-inc.com In this patch we manage to reduce miss branch prediction by avoiding using branch instructions and force destination to be aligned with general 64bit instruction. Below compared results shows we improve performance up

Re: [PATCH 2/3] x86: Define _PAGE_NUMA with unused physical address bits PMD and PTE levels

2014-04-07 Thread Mel Gorman
On Mon, Apr 07, 2014 at 08:19:10PM +0400, Cyrill Gorcunov wrote: On Mon, Apr 07, 2014 at 04:49:35PM +0100, Mel Gorman wrote: On Mon, Apr 07, 2014 at 04:32:39PM +0100, David Vrabel wrote: On 07/04/14 16:10, Mel Gorman wrote: _PAGE_NUMA is currently an alias of _PROT_PROTNONE to trap NUMA

RE: [PATCH] i2c-designware: Mask interrupts during i2c controller enable

2014-04-07 Thread Du, Wenkai
-Original Message- From: Westerberg, Mika Sent: Monday, April 07, 2014 8:11 AM To: One Thousand Gnomes Cc: Du, Wenkai; linux-...@vger.kernel.org; Wolfram Sang; linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c-designware: Mask interrupts during i2c controller enable Do

Re: [PATCH 2/5] vrange: Add purged page detection on setting memory non-volatile

2014-04-07 Thread John Stultz
On 03/23/2014 10:42 AM, KOSAKI Motohiro wrote: On Fri, Mar 21, 2014 at 2:17 PM, John Stultz john.stu...@linaro.org wrote: Users of volatile ranges will need to know if memory was discarded. This patch adds the purged state tracking required to inform userland when it marks memory as

Re: [PATCH] genirq: Sanitize spurious interrupt detection of threaded irqs

2014-04-07 Thread Austin Schuh
Hi Thomas, Did anything come of this patch? Both Oliver and I have found that it fixes real problems. I have multiple machines which have been running with the patch since December with no ill effects. Thanks, Austin On Mon, Jan 6, 2014 at 5:32 AM, Oliver Hartkopp socket...@hartkopp.net

Re: [PATCH] genirq: Sanitize spurious interrupt detection of threaded irqs

2014-04-07 Thread Thomas Gleixner
On Mon, 7 Apr 2014, Austin Schuh wrote: Hi Thomas, Did anything come of this patch? Both Oliver and I have found that it fixes real problems. I have multiple machines which have been running with the patch since December with no ill effects. No, sorry. It fell through the cracks. Care to

Re: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-07 Thread David Miller
The net-next tree is not open yet, I will announce when it is and you can submit net-next targetted patches. -- 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

[GIT PULL] clk: bcm281xx: urgent fix for older compilers

2014-04-07 Thread Alex Elder
Mike, I learned this morning that my clock code (now in Linus Torvald's master branch) uses a feature that is not supported in older versions of gcc. Specifically, the code made use of unnamed struct and union fields, e.g.: struct foo { u64 bar; union { u32

Re: Promela/spin model for NO_HZ_FULL_SYSIDLE code

2014-04-07 Thread Frederic Weisbecker
On Mon, Apr 07, 2014 at 11:11:55AM -0700, Paul E. McKenney wrote: On the upstream code, the first read of full_sysidle_state after exiting idle is not performed by an atomic operation. So I wonder if this is right to put this in the atomic section. I don't know the language enough to

Re: [RFC PATCH 0/6] uprobes/x86: fix the reprel jmp/call handling

2014-04-07 Thread Jim Keniston
On Sun, 2014-04-06 at 22:15 +0200, Oleg Nesterov wrote: On 04/04, Jim Keniston wrote: On Fri, 2014-04-04 at 21:32 +0200, Oleg Nesterov wrote: 1. Why insn_get_displacement() doesn't work? See HELP!!! below. insn-moffset1.value seems to be what you want. Works! Thanks a

[PATCH 2/4 v2] perf: Use cpu/possible instead of cpu/kernel_max

2014-04-07 Thread Don Zickus
The system's max configuration is represented by cpu/possible and cpu/kernel_max can be huge (4096 vs. 128), so save space by keeping smaller structures. Signed-off-by: Don Zickus dzic...@redhat.com --- tools/perf/util/cpumap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 4/4 v2] perf, callchain: Add generic report parse callchain callback function

2014-04-07 Thread Don Zickus
This takes the parse_callchain_opt function and copies it into the callchain.c file. Now the c2c tool can use it too without duplicating. Update perf-report to use the new routine too. V3: rename function V2: remove commented code, combine with perf-report change Signed-off-by: Don Zickus

[PATCH 3/4 v2] perf, kmem: Utilize the new generic cpunode_map

2014-04-07 Thread Don Zickus
Use the previous patch implementation of cpunode_map for builtin-kmem.c Should not be any functional difference. Cc: Li Zefan l...@cn.fujitsu.com Signed-off-by: Don Zickus dzic...@redhat.com --- tools/perf/builtin-kmem.c | 78 ++- 1 file changed, 3

Re: Bisected KVM hang on x86-32 between v3.12 and v3.13

2014-04-07 Thread Peter Zijlstra
On Mon, Apr 07, 2014 at 08:16:24PM +0200, Toralf Förster wrote: v3.14-10353-g2b3a8fd works fine AFAICS (BTW the fix is stable material, right ?) I'm fairly sure its not; its a rather invasive series; see: 2432e1364bbe x86: Nuke the supervisor_stack field in i386 thread_info b807902a88c4 x86:

[ANNOUNCE / UPDATE]: ARM mini-summit at ELC changed to BoFs (+ hack day)

2014-04-07 Thread Olof Johansson
Hi, Based on the results of the call-for-invites, we've decided that there aren't enough topics (and absence of several crucial participants) to warrant a whole day of mini-summit at this time. We'll work with the ELC organizers to schedule two BoFs: * DT (best practices, reviews, etc) *

[PATCH 0/4 v2] perf: Make some functions generic

2014-04-07 Thread Don Zickus
This patch just converts some private functions into global ones that can be used by other tools like the c2c tool I am trying to merge. Don Zickus (4): perf: Allow ability to map cpus to nodes easily perf: Use cpu/possible instead of cpu/kernel_max perf, kmem: Utilize the new generic

[PATCH 1/4 v2] perf: Allow ability to map cpus to nodes easily

2014-04-07 Thread Don Zickus
This patch figures out the max number of cpus and nodes that are on the system and creates a map of cpu to node. This allows us to provide a cpu and quickly get the node associated with it. It was mostly copied from builtin-kmem.c and tweaked slightly to use less memory (use possible cpus

Re: [PATCH 5/5] gpio: dwapb: use d-mask instead od BIT(bit)

2014-04-07 Thread Gerhard Sittig
[ ignore this if you are busy :) ] On Mon, 2014-04-07 at 20:26 +0200, Sebastian Andrzej Siewior wrote: On 04/07/2014 02:26 PM, Gerhard Sittig wrote: On Mon, 2014-04-07 at 12:13 +0200, Sebastian Andrzej Siewior wrote: d-mask contains exact the same information as BIT(bit) so we could save

Re: Bisected KVM hang on x86-32 between v3.12 and v3.13

2014-04-07 Thread Frederic Weisbecker
On Mon, Apr 07, 2014 at 08:16:24PM +0200, Toralf Förster wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 04/07/2014 05:07 PM, Peter Zijlstra wrote: On Mon, Apr 07, 2014 at 05:03:37PM +0200, Peter Zijlstra wrote: So what I suspect at this point is that because i386 and x86_64

Re: [PATCH 1/2] GPIO: Add driver for Zynq GPIO controller

2014-04-07 Thread Sören Brinkmann
On Mon, 2014-03-31 at 11:23AM +0200, Ulf Hansson wrote: On 27 March 2014 16:25, Harini Katakam hari...@xilinx.com wrote: [...] +static int __maybe_unused zynq_gpio_runtime_suspend(struct device *dev) +{ + struct platform_device *pdev = to_platform_device(dev); + struct

Re: [PATCH v4] ptrace: Fix fork event messages across pid namespaces

2014-04-07 Thread Oleg Nesterov
On 04/03, Matthew Dempsky wrote: On Thu, Apr 3, 2014 at 8:44 AM, Oleg Nesterov o...@redhat.com wrote: Some notes for potential future changes... - I do not not see any potential user of ptrace_event_pid() outside of fork.c, so perhaps this helper should not be

Re: [PATCH net IPv6]: Fix maximum IPv6 address limit violation

2014-04-07 Thread David Miller
From: Balakumaran Kannan kumaran.4...@gmail.com Date: Sat, 05 Apr 2014 17:22:59 +0530 +#ifdef CONFIG_IPV6_PRIVACY + /* When IPv6 privacy extension is enabled, there must +* be two IPv6 address slots available. +* - One for MAC based address +* -

Re: [PATCH] tipc: Let tipc_release() return 0

2014-04-07 Thread David Miller
From: Geert Uytterhoeven ge...@linux-m68k.org Date: Sun, 6 Apr 2014 15:56:14 +0200 net/tipc/socket.c: In function ‘tipc_release’: net/tipc/socket.c:352: warning: ‘res’ is used uninitialized in this function Introduced by commit 24be34b5a0c9114541891d29dff1152bb1a8df34 (tipc: eliminate

Re: [PATCH 3.2 17/18] cifs: ensure that uncached writes handle unmapped areas correctly

2014-04-07 Thread Ben Hutchings
On Mon, 2014-04-07 at 15:45 +0200, Raphael Geissert wrote: Hi, On 7 April 2014 03:41, Ben Hutchings b...@decadent.org.uk wrote: On Mon, 2014-04-07 at 00:35 +0100, Ben Hutchings wrote: 3.2.57-rc1 review patch. If anyone has any objections, please let me know. [...] --- a/fs/cifs/file.c

<    3   4   5   6   7   8   9   10   >