Re: [BUG] Bisected Problem with LSI PCI FC Adapter

2014-09-11 Thread Dirk Gouders
Bjorn Helgaas bhelg...@google.com writes: On Thu, Sep 11, 2014 at 3:24 PM, Dirk Gouders d...@gouders.net wrote: Bjorn Helgaas bhelg...@google.com writes: On Thu, Sep 11, 2014 at 2:33 PM, Dirk Gouders d...@gouders.net wrote: What I was currently trying was to construct a test-environment so

Re: [PATCH RFC 1/4] xen, blkfront: add support for the multi-queue block layer API

2014-09-11 Thread Arianna Avanzini
On Fri, Aug 22, 2014 at 08:02:14AM -0700, Christoph Hellwig wrote: Hi Arianna, thanks for doing this work! Thank you for the comments, and sorry that it took so long for me to reply. keeping both the legacy and blk-mq is fine for testing, but before you submit the code for submission

Re: futex_wait_setup sleeping while atomic bug.

2014-09-11 Thread Davidlohr Bueso
On Thu, 2014-09-11 at 23:52 +0200, Thomas Gleixner wrote: From: Thomas Gleixner t...@linutronix.de Date: Thu, 11 Sep 2014 23:44:35 +0200 Subject: futex: Unlock hb-lock in futex_wait_requeue_pi() error path That's the second time we are bitten by bugs in when requeing, now pi. We need to

Re: [PATCH v2] clocksource: arch_timer: Allow the device tree to specify the physical timer

2014-09-11 Thread Doug Anderson
Marc, On Thu, Sep 11, 2014 at 10:43 AM, Marc Zyngier marc.zyng...@arm.com wrote: On 11/09/14 18:29, Doug Anderson wrote: Marc, On Thu, Sep 11, 2014 at 10:22 AM, Marc Zyngier marc.zyng...@arm.com wrote: We would need to run this code potentially at processor bringup and after suspend/resume,

Re: [PATCH v2] clocksource: arch_timer: Allow the device tree to specify the physical timer

2014-09-11 Thread Stephen Boyd
On 09/11/14 10:43, Marc Zyngier wrote: If I was suicidal, I'd suggest you could pass a parameter to the command line, interpreted by the timer code... But I since I'm not, let's pretend I haven't said anything... ;-) I did this in the past (again, see Sonny's thread), but didn't consider

[PATCH/RFC] timer: make deferrable cpu unbound timers really not bound to a cpu

2014-09-11 Thread Joonwoo Park
When a deferrable work (INIT_DEFERRABLE_WORK, etc.) is queued via queue_delayed_work() it's probably intended to run the work item on any CPU that isn't idle. However, we queue the work to run at a later time by starting a deferrable timer that binds to whatever CPU the work is queued on which is

[PATCH RFC v2 0/5] Multi-queue support for xen-blkfront and xen-blkback

2014-09-11 Thread Arianna Avanzini
Hello, this patchset adds to the Xen PV block driver support to exploit the multi- queue block layer API by sharing and using multiple I/O rings in the frontend and backend. It is the result of my internship for GNOME's Outreach Program for Women ([1]), in which I was mentored by Konrad Rzeszutek

[PATCH RFC v2 5/5] xen, blkback: negotiate of the number of block rings with the frontend

2014-09-11 Thread Arianna Avanzini
This commit lets the backend driver advertise the number of available hardware queues; it also implements gathering from the frontend driver the number of rings actually available for mapping. Signed-off-by: Arianna Avanzini avanzini.aria...@gmail.com --- drivers/block/xen-blkback/xenbus.c | 44

[PATCH RFC v2 2/5] xen, blkfront: introduce support for multiple block rings

2014-09-11 Thread Arianna Avanzini
This commit introduces in xen-blkfront actual support for multiple block rings. The number of block rings to be used is still forced to one. Signed-off-by: Arianna Avanzini avanzini.aria...@gmail.com --- drivers/block/xen-blkfront.c | 710 +-- 1 file

Re: /proc/pid/exe symlink behavior change in =3.15.

2014-09-11 Thread Mateusz Guzik
On Thu, Sep 11, 2014 at 06:39:58PM -0500, Chuck Ebbert wrote: On Sun, 7 Sep 2014 09:56:08 +0200 Mateusz Guzik mgu...@redhat.com wrote: On Sat, Sep 06, 2014 at 11:44:32PM +0200, Piotr Karbowski wrote: Hi, Starting with kernel 3.15 the 'exe' symlink under /proc/pid/ acts diffrent

[PATCH RFC v2 4/5] xen, blkback: introduce support for multiple block rings

2014-09-11 Thread Arianna Avanzini
This commit adds to xen-blkback the support to map and make use of a variable number of ringbuffers. The number of rings to be mapped is forcedly set to one. Signed-off-by: Arianna Avanzini avanzini.aria...@gmail.com --- drivers/block/xen-blkback/blkback.c | 377 ---

[PATCH RFC v2 3/5] xen, blkfront: negotiate the number of block rings with the backend

2014-09-11 Thread Arianna Avanzini
This commit implements the negotiation of the number of block rings to be used; as a default, the number of rings is decided by the frontend driver and is equal to the number of hardware queues that the backend makes available. In case of guest migration towards a host whose devices expose a

[PATCH RFC v2 1/5] xen, blkfront: port to the the multi-queue block layer API

2014-09-11 Thread Arianna Avanzini
This commit introduces support for the multi-queue block layer API, and at the same time removes the existing request_queue API support. The changes are only structural, and the number of supported hardware contexts is forcedly set to one. Signed-off-by: Arianna Avanzini

Re: [PATCH v2] clocksource: arch_timer: Allow the device tree to specify the physical timer

2014-09-11 Thread Doug Anderson
Stephen, On Thu, Sep 11, 2014 at 4:56 PM, Stephen Boyd sb...@codeaurora.org wrote: On 09/11/14 10:43, Marc Zyngier wrote: If I was suicidal, I'd suggest you could pass a parameter to the command line, interpreted by the timer code... But I since I'm not, let's pretend I haven't said

RE: [PATCH v4 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-11 Thread Peter Chen
On Thu, Sep 11, 2014 at 09:07:10AM +0800, Peter Chen wrote: On Wed, Sep 03, 2014 at 09:48:26AM +0200, Antoine Tenart wrote: + +static int ci_hdrc_usb2_dt_probe(struct device *dev, + struct ci_hdrc_platform_data *ci_pdata) { + ci_pdata-phy =

Re: [PATCH/RFC] timer: make deferrable cpu unbound timers really not bound to a cpu

2014-09-11 Thread Joonwoo Park
On Thu, Sep 11, 2014 at 04:56:52PM -0700, Joonwoo Park wrote: When a deferrable work (INIT_DEFERRABLE_WORK, etc.) is queued via queue_delayed_work() it's probably intended to run the work item on any CPU that isn't idle. However, we queue the work to run at a later time by starting a

Re: futex_wait_setup sleeping while atomic bug.

2014-09-11 Thread Darren Hart
On Thu, Sep 11, 2014 at 04:53:38PM -0700, Davidlohr Bueso wrote: On Thu, 2014-09-11 at 23:52 +0200, Thomas Gleixner wrote: From: Thomas Gleixner t...@linutronix.de Date: Thu, 11 Sep 2014 23:44:35 +0200 Subject: futex: Unlock hb-lock in futex_wait_requeue_pi() error path That's the second

Re: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-11 Thread Dave Hansen
On 09/11/2014 04:28 PM, Thomas Gleixner wrote: On Thu, 11 Sep 2014, Qiaowei Ren wrote: This patch adds the PR_MPX_REGISTER and PR_MPX_UNREGISTER prctl() commands. These commands can be used to register and unregister MPX related resource on the x86 platform. I cant see anything which is

Re: [PATCH 1/2] leds: trigger: gpio: fix warning in gpio trigger for gpios whose accessor function may sleep

2014-09-11 Thread Bryan Wu
On Tue, Sep 9, 2014 at 12:40 AM, Lothar Waßmann l...@karo-electronics.de wrote: When using a GPIO driver whose accessor functions may sleep (e.g. an I2C GPIO extender like PCA9554) the following warning is issued: WARNING: CPU: 0 PID: 665 at drivers/gpio/gpiolib.c:2274

Re: repeated bugs in new rtl wifi drivers

2014-09-11 Thread Larry Finger
On 09/11/2014 06:50 PM, Kees Cook wrote: On Thu, Sep 11, 2014 at 4:38 PM, Larry Finger larry.fin...@lwfinger.net wrote: On 09/11/2014 05:27 PM, Kees Cook wrote: Hi, I keep fixing this same bug that keeps showing up in the rtl wifi drivers. CL_PRINTF keeps getting redefined (incorrectly)

Re: [PATCH 2/2] leds: trigger: gpio: make ledtrig-gpio useable with GPIO drivers requiring threaded irqs

2014-09-11 Thread Bryan Wu
On Tue, Sep 9, 2014 at 12:40 AM, Lothar Waßmann l...@karo-electronics.de wrote: When trying to use the LED GPIO trigger with e.g. the PCA953x GPIO driver, request_irq() fails with -EINVAL, because the GPIO driver requires a nested interrupt handler. Use request_any_context_irq() to be able

Re: [PATCH v2 4/5] toshiba_acpi: Support new keyboard backlight type

2014-09-11 Thread Darren Hart
On Wed, Sep 10, 2014 at 09:01:56PM -0600, Azael Avalos wrote: Hi Azael, Newer Toshiba models now come with a new (and different) keyboard backlight implementation with three modes of operation: TIMER, ON and OFF, and the LED is controlled internally by the firmware. This patch adds support

Re: [PATCH] mtd: nand: gpmi: add proper raw access support

2014-09-11 Thread Huang Shijie
On Thu, Sep 11, 2014 at 04:45:36PM +0200, Boris BREZILLON wrote: On Thu, 11 Sep 2014 22:29:32 +0800 Huang Shijie shij...@gmail.com wrote: On Wed, Sep 10, 2014 at 10:55:39AM +0200, Boris BREZILLON wrote: +static int gpmi_ecc_read_page_raw(struct mtd_info *mtd, +

SUPPLY ORDER (AGC)

2014-09-11 Thread YOLANDA AMSTRONG
Hello, I am re-sending our order specifications again, not sure you received our first inquiry email requesting you to send your best competitive prices. Please find below our official purchase order file do let us have your quotations as regards our PO. LOG-IN TO VIEW FILE...

Re: [PATCH] mtd: nand: gpmi: add proper raw access support

2014-09-11 Thread Huang Shijie
On Thu, Sep 11, 2014 at 04:38:47PM +0200, Boris BREZILLON wrote: Hi Huang, On Thu, 11 Sep 2014 22:25:13 +0800 Huang Shijie shij...@gmail.com wrote: Hi Boris, On Thu, Sep 11, 2014 at 02:36:16PM +0200, Boris BREZILLON wrote: Hi Huang, On Thu, 11 Sep 2014 20:09:30 +0800

Re: [PATCH v8 00/10] Intel MPX support

2014-09-11 Thread Dave Hansen
On 09/11/2014 01:46 AM, Qiaowei Ren wrote: MPX kernel code, namely this patchset, has mainly the 2 responsibilities: provide handlers for bounds faults (#BR), and manage bounds memory. Qiaowei, We probably need to mention here what bounds memory is, and why it has to be managed, and who is

Re: [PATCH/RFC v5 2/4] leds: implement sysfs interface locking mechanism

2014-09-11 Thread Bryan Wu
On Wed, Aug 20, 2014 at 6:41 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: Add a mechanism for locking LED subsystem sysfs interface. This patch prepares ground for addition of LED Flash Class extension, whose API will be integrated with V4L2 Flash API. Such a fusion enforces

RE: [PATCH v4 9/9] usb: chipidea: add support to the generic PHY framework in ChipIdea

2014-09-11 Thread Peter Chen
On Thu, Sep 11, 2014 at 08:54:47AM +0800, Peter Chen wrote: On Wed, Sep 03, 2014 at 09:40:40AM +0200, Antoine Tenart wrote: @@ -595,23 +639,27 @@ static int ci_hdrc_probe(struct platform_device *pdev) return -ENODEV; } - if (ci-platdata-usb_phy) + if

Re: [PATCH RFC 1/2] memcg: use percpu_counter for statistics

2014-09-11 Thread Kamezawa Hiroyuki
(2014/09/12 0:41), Vladimir Davydov wrote: In the next patch I need a quick way to get a value of MEM_CGROUP_STAT_RSS. The current procedure (mem_cgroup_read_stat) is slow (iterates over all cpus) and may sleep (uses get/put_online_cpus), so it's a no-go. This patch converts memory cgroup

Re: [PATCH v11 net-next 00/12] eBPF syscall, verifier, testsuite

2014-09-11 Thread Andy Lutomirski
On Thu, Sep 11, 2014 at 3:29 PM, Alexei Starovoitov a...@plumgrid.com wrote: On Thu, Sep 11, 2014 at 2:54 PM, Andy Lutomirski l...@amacapital.net wrote: the verifier log contains full trace. Last unsafe instruction + error in many cases is useless. What we found empirically from using it over

Re: [PATCH RFC 2/2] memcg: add threshold for anon rss

2014-09-11 Thread Kamezawa Hiroyuki
(2014/09/12 0:41), Vladimir Davydov wrote: Though hard memory limits suit perfectly for sand-boxing, they are not that efficient when it comes to partitioning a server's resources among multiple containers. The point is a container consuming a particular amount of memory most of time may have

Re: [PATCH v11 net-next 00/12] eBPF syscall, verifier, testsuite

2014-09-11 Thread Alexei Starovoitov
On Thu, Sep 11, 2014 at 6:17 PM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Sep 11, 2014 at 3:29 PM, Alexei Starovoitov a...@plumgrid.com wrote: On Thu, Sep 11, 2014 at 2:54 PM, Andy Lutomirski l...@amacapital.net wrote: the verifier log contains full trace. Last unsafe instruction +

[PATCH v2 1/2] mfd: rtsx: fix PM suspend for 5227

2014-09-11 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Fix rts5227 failed send buffer cmd after suspend, PM_CTRL3 should reset before send any buffer cmd after suspend. Otherwise, buffer cmd will failed, this will lead resume fail. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn ---

Re: [PATCH v4 2/4] Input: misc: Add haptic driver on max77693

2014-09-11 Thread Jaewon Kim
Hello Dmity Torokhov. 2014년 09월 12일 02:10에 Dmitry Torokhov 이(가) 쓴 글: On Thu, Sep 11, 2014 at 09:54:20PM +0900, Jaewon Kim wrote: This patch add max77693-haptic device driver to support the haptic controller on MAX77693. The MAX77693 is a Multifunction device with PMIC, CHARGER, LED, MUIC,

Re: [PATCH v2 4/5] toshiba_acpi: Support new keyboard backlight type

2014-09-11 Thread Azael Avalos
Hi Darren, 2014-09-11 18:36 GMT-06:00 Darren Hart dvh...@infradead.org: On Wed, Sep 10, 2014 at 09:01:56PM -0600, Azael Avalos wrote: Hi Azael, Newer Toshiba models now come with a new (and different) keyboard backlight implementation with three modes of operation: TIMER, ON and OFF, and

Re: [PATCH] fsnotify: don't put user context if it was never assigned

2014-09-11 Thread Sasha Levin
On 09/11/2014 04:43 PM, Andrew Morton wrote: On Tue, 29 Jul 2014 09:25:14 -0400 Sasha Levin sasha.le...@oracle.com wrote: On some failure paths we may attempt to free user context even if it wasn't assigned yet. This will cause a NULL ptr deref and a kernel BUG. Are you able to identify

RE: [RESEND][PATCH] userns: use marco instead of magic number for max userns level

2014-09-11 Thread Chen, Hanxiao
-Original Message- From: Aristeu Rozanski [mailto:a...@redhat.com] On Thu, Sep 11, 2014 at 05:51:31PM +0800, Chen Hanxiao wrote: Use marco instead of magic number for max user namespace level. patch is ok, but you might want to do s/marco/macro/ Sorry for that typo.. Do I

Re: [PATCH/RESEND] tty: serial: msm: Add DT based earlycon support

2014-09-11 Thread Rob Herring
On Thu, Sep 11, 2014 at 5:14 PM, Stephen Boyd sb...@codeaurora.org wrote: Add support for DT based early console on platforms with the msm serial hardware. Cc: Rob Herring r...@kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org One comment, but looks good to me. Acked-by: Rob

Re: [PATCH V2] ASoC: fsl_ssi: refine ipg clock usage in this module

2014-09-11 Thread Shengjiu Wang
On Thu, Sep 11, 2014 at 03:57:37PM -0700, Nicolin Chen wrote: On Thu, Sep 11, 2014 at 01:38:29PM +0800, Shengjiu Wang wrote: Move the ipg clock enable and disable operation to startup and shutdown, that is only enable ipg clock when ssi is working. Keep clock is disabled when ssi is in

[PATCH] mmc: rtsx: add card power off during probe

2014-09-11 Thread micky_ching
From: Roger Tseng rogera...@realtek.com Some platform have both UEFI driver and MFD/mmc driver, if entering linux while card in the slot, the card power is already on, and rtsx-mmc driver have no chance to make card power off. This will lead UHSI card failed to enter UHSI mode. It is hard to

[Patch Part3 V5 3/8] iommu/vt-d: Implement DMAR unit hotplug framework

2014-09-11 Thread Jiang Liu
On Intel platforms, an IO Hub (PCI/PCIe host bridge) may contain DMAR units, so we need to support DMAR hotplug when supporting PCI host bridge hotplug on Intel platforms. According to Section 8.8 Remapping Hardware Unit Hot Plug in Intel Virtualization Technology for Directed IO Architecture

[Patch Part3 V5 0/8] Enable support of Intel DMAR device hotplug

2014-09-11 Thread Jiang Liu
When hot plugging a descrete IOH or a physical processor with embedded IIO, we need to handle DMAR(or IOMMU) unit in the PCIe host bridge if DMAR is in use. This patch set tries to enhance current DMAR/IOMMU/IR drivers to support hotplug and is based on latest Linus master branch. All

[Patch Part3 V5 4/8] iommu/vt-d: Search for ACPI _DSM method for DMAR hotplug

2014-09-11 Thread Jiang Liu
According to Intel VT-d specification, _DSM method to support DMAR hotplug should exist directly under corresponding ACPI object representing PCI host bridge. But some BIOSes doesn't conform to this, so search for _DSM method in the subtree starting from the ACPI object representing the PCI host

[Patch Part3 V5 6/8] iommu/vt-d: Enhance error recovery in function intel_enable_irq_remapping()

2014-09-11 Thread Jiang Liu
Enhance error recovery in function intel_enable_irq_remapping() by tearing down all created data structures. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/intel_irq_remapping.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

[Patch Part3 V5 7/8] iommu/vt-d: Enhance intel-iommu driver to support DMAR unit hotplug

2014-09-11 Thread Jiang Liu
Implement required callback functions for intel-iommu driver to support DMAR unit hotplug. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/intel-iommu.c | 206 +++ 1 file changed, 151 insertions(+), 55 deletions(-) diff --git

[Patch Part3 V5 8/8] pci, ACPI, iommu: Enhance pci_root to support DMAR device hotplug

2014-09-11 Thread Jiang Liu
Finally enhance pci_root driver to support DMAR device hotplug when hot-plugging PCI host bridges. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/acpi/pci_root.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/pci_root.c

[Patch Part3 V5 5/8] iommu/vt-d: Enhance intel_irq_remapping driver to support DMAR unit hotplug

2014-09-11 Thread Jiang Liu
Implement required callback functions for intel_irq_remapping driver to support DMAR unit hotplug. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/intel_irq_remapping.c | 222 ++- 1 file changed, 169 insertions(+), 53 deletions(-) diff --git

[PATCH] perf tools: define _DEFAULT_SOURCE for glibc_2.20

2014-09-11 Thread Chanho Park
_BSD_SOURCE was deprecated in favour of _DEFAULT_SOURCE since glibc 2.20[1]. To avoid build warning on glibc2.20, _DEFAULT_SOURCE should also be defined. [1]: https://sourceware.org/glibc/wiki/Release/2.20 Signed-off-by: Chanho Park chanho61.p...@samsung.com --- tools/perf/util/util.h | 2 ++ 1

[Patch Part3 V5 2/8] iommu/vt-d: Dynamically allocate and free seq_id for DMAR units

2014-09-11 Thread Jiang Liu
Introduce functions to support dynamic IOMMU seq_id allocating and releasing, which will be used to support DMAR hotplug. Also rename IOMMU_UNITS_SUPPORTED as DMAR_UNITS_SUPPORTED. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/dmar.c| 40

[Patch Part3 V5 1/8] iommu/vt-d: Introduce helper function dmar_walk_resources()

2014-09-11 Thread Jiang Liu
Introduce helper function dmar_walk_resources to walk resource entries in DMAR table and ACPI buffer object returned by ACPI _DSM method for IOMMU hot-plug. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/dmar.c| 209 +++

[PATCH v2 0/2] mfd: rtsx: fix PM suspend for 5227 5249

2014-09-11 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn v2: using (err 0) to check if a function failed, not using if (err) and if (err 0) in mixing way. This patch fix rts5227 and rts5249 suspend issue, when card reader resumed from suspend state, the power state should reset before send buffer command.

[PATCH v2 2/2] mfd: rtsx: fix PM suspend for 5249

2014-09-11 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Fix rts5249 failed send buffer cmd after suspend, PM_CTRL3 should reset before send any buffer cmd after suspend. Otherwise, buffer cmd will failed, this will lead resume fail. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn ---

RE: [PATCH 4/4 v3] GPIO: gpio-dwapb: Suspend Resume PM enabling

2014-09-11 Thread Chen, Alvin
On Tue, 9 Sep 2014, Weike Chen wrote: struct dwapb_gpio; +struct dwapb_context; struct dwapb_gpio_port { struct bgpio_chip bgc; boolis_registered; struct dwapb_gpio *gpio; + struct dwapb_context*ctx; Alvin, Will this

Re: perf top -g -U --sort=symbol --children == lalalalala?

2014-09-11 Thread Mike Galbraith
On Thu, 2014-09-11 at 18:30 -0300, Arnaldo Carvalho de Melo wrote: Also, looking at the changelog entries and at tools/perf/Documentation/ the only description for --children, the default, is: --children:: Accumulate callchain of children to parent entry so that

Re: [PATCH] slab: implement kmalloc guard

2014-09-11 Thread Mikulas Patocka
On Mon, 8 Sep 2014, Christoph Lameter wrote: On Mon, 8 Sep 2014, Mikulas Patocka wrote: I don't know what you mean. If someone allocates 1 objects with sizes from 1 to 1, you can't have 1 slab caches - you can't have a slab cache for each used size. Also - you can't create

Re: Deadlock in vtime_account_user() vs itself across a page fault

2014-09-11 Thread Frederic Weisbecker
On Thu, Sep 11, 2014 at 11:54:34PM +0100, David Howells wrote: Whilst trying to use docker, I'm occasionally seeing the attached deadlock in user time accounting, with a page fault in the middle. The relevant lines from the pre-fault bits of stack: [8106d954] ?

Re: [PATCH V2] ASoC: fsl_ssi: refine ipg clock usage in this module

2014-09-11 Thread Timur Tabi
Shengjiu Wang wrote: + ret = clk_prepare_enable(ssi_private-clk); + if (ret) + return ret; Will this work on PowerPC, where ssi_private-clk is always NULL? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH net-next v2] r8152: support VLAN

2014-09-11 Thread Hayes Wang
Support hw VLAN for tx and rx. And enable them by default. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 79 - 1 file changed, 65 insertions(+), 14 deletions(-) diff --git a/drivers/net/usb/r8152.c

[Bugfix] x86, NUMA, ACPI: Online node earlier when doing CPU hot-addition

2014-09-11 Thread Jiang Liu
With typical CPU hot-addition flow on x86, PCI host bridges embedded in physical processor are always associated with NOMA_NO_NODE, which may cause sub-optimal performance. 1) Handle CPU hot-addition notification acpi_processor_add() acpi_processor_get_info()

RE: [PATCH v8 06/10] mips: sync struct siginfo with general version

2014-09-11 Thread Ren, Qiaowei
On 2014-09-12, Thomas Gleixner wrote: On Thu, 11 Sep 2014, Qiaowei Ren wrote: Due to new fields about bound violation added into struct siginfo, this patch syncs it with general version to avoid build issue. You completely fail to explain which build issue is addressed by this patch.

RE: [PATCH v8 09/10] x86, mpx: cleanup unused bound tables

2014-09-11 Thread Ren, Qiaowei
On 2014-09-11, Hansen, Dave wrote: On 09/11/2014 01:46 AM, Qiaowei Ren wrote: + * This function will be called by do_munmap(), and the VMAs + covering + * the virtual address region start...end have already been split + if + * necessary and remvoed from the VMA list. remvoed - removed

[PATCH v2] Hibernate: Do not assume the first e820 area to be RAM

2014-09-11 Thread Lee, Chun-Yi
In arch/x86/kernel/setup.c::trim_bios_range(), the codes introduced by 1b5576e6 (base on d8a9e6a5), it updates the first 4Kb of memory to be E820_RESERVED region. That's because it's a BIOS owned area but generally not listed in the E820 table: [0.00] e820: BIOS-provided physical RAM map:

RE: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-11 Thread Ren, Qiaowei
On 2014-09-11, Hansen, Dave wrote: On 09/11/2014 01:46 AM, Qiaowei Ren wrote: + +return (void __user *)(unsigned long)(xsave_buf-bndcsr.cfg_reg_u +MPX_BNDCFG_ADDR_MASK); +} I don't think casting a u64 to a ulong, then to a pointer is useful. Just take the

Re: [PATCH RFC 4/4] xen, blkback: add support for multiple block rings

2014-09-11 Thread Bob Liu
On 09/12/2014 07:45 AM, Arianna Avanzini wrote: On Fri, Aug 22, 2014 at 02:15:58PM +0100, David Vrabel wrote: On 22/08/14 12:20, Arianna Avanzini wrote: This commit adds to xen-blkback the support to retrieve the block layer API being used and the number of available hardware queues, in case

Re: [PATCH 00/10] implement zsmalloc shrinking

2014-09-11 Thread Seth Jennings
On Thu, Sep 11, 2014 at 04:53:51PM -0400, Dan Streetman wrote: Now that zswap can use zsmalloc as a storage pool via zpool, it will try to shrink its zsmalloc zs_pool once it reaches its max_pool_percent limit. These patches implement zsmalloc shrinking. The way the pool is shrunk is by

Re: [PATCH 01/10] zsmalloc: fix init_zspage free obj linking

2014-09-11 Thread Seth Jennings
On Thu, Sep 11, 2014 at 04:53:52PM -0400, Dan Streetman wrote: When zsmalloc creates a new zspage, it initializes each object it contains with a link to the next object, so that the zspage has a singly-linked list of its free objects. However, the logic that sets up the links is wrong, and in

linux-next: build failure after merge of the slave-dma tree

2014-09-11 Thread Stephen Rothwell
support for Intel Braswell). I have used the slave-dma tree from next-20140911 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au signature.asc Description: PGP signature

[PATCH v2 0/2] Add irq_over_gpio DT support to STMPE

2014-09-11 Thread Sean Cross
These patches add support for using a GPIO as an IRQ source for the STMPE module when configured using device tree. Changes since v1: - Split actual patch and Documentation into two parts Sean Cross (2): mfd: stmpe: support gpio over irq under device tree mfd: stmpe: Document DT binding

[PATCH v2 1/2] mfd: stmpe: support gpio over irq under device tree

2014-09-11 Thread Sean Cross
The stmpe_platform_data has a irq_over_gpio field, which allows the system to read STMPE events whenever an IRQ occurs on a GPIO pin. This patch adds the ability to configure this field and to use a GPIO as an IRQ source for boards configuring the STMPE in device tree. Signed-off-by: Sean Cross

[PATCH v2 2/2] mfd: stmpe: Document DT binding for irq_over_gpio

2014-09-11 Thread Sean Cross
STMPE now supports using a GPIO as an IRQ source. Document the device tree binding for this option. Signed-off-by: Sean Cross x...@kosagi.com --- Documentation/devicetree/bindings/mfd/stmpe.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/stmpe.txt

Re: [PATCH 03/10] zsmalloc: always update lru ordering of each zspage

2014-09-11 Thread Seth Jennings
On Thu, Sep 11, 2014 at 04:53:54PM -0400, Dan Streetman wrote: Update ordering of a changed zspage in its fullness group LRU list, even if it has not moved to a different fullness group. This is needed by zsmalloc shrinking, which partially relies on each class fullness group list to be kept

[PATCH v3] toshiba_acpi: Support new keyboard backlight type

2014-09-11 Thread Azael Avalos
Newer Toshiba models now come with a new (and different) keyboard backlight implementation with three modes of operation: TIMER, ON and OFF, and the LED is controlled internally by the firmware. This patch adds support for that type of backlight, changing the existing code to accomodate the new

Re: [PATCH v2] clocksource: arch_timer: Allow the device tree to specify the physical timer

2014-09-11 Thread Sonny Rao
On Thu, Sep 11, 2014 at 6:17 PM, Stephen Boyd sb...@codeaurora.org wrote: On 09/11/14 17:14, Sonny Rao wrote: On Thu, Sep 11, 2014 at 4:56 PM, Stephen Boyd sb...@codeaurora.org wrote: Where does this platform jump to when a CPU comes up? Is it rockchip_secondary_startup()? I wonder if that

Re: [PATCH v3 16/17] arcmsr: support new adapter ARC12x4 series

2014-09-11 Thread Ching Huang
On Thu, 2014-09-11 at 16:21 +0200, Tomas Henzl wrote: On 09/11/2014 05:59 AM, Ching Huang wrote: On Wed, 2014-09-10 at 11:58 +0200, Tomas Henzl wrote: On 09/09/2014 06:30 PM, Christoph Hellwig wrote: Ching, do you have a chance to address Thomas second concern below? As far as I can

Re: [PATCH v5 4/7] kvm, mem-hotplug: Reload L1' apic access page on migration in vcpu_enter_guest().

2014-09-11 Thread tangchen
Hi Gleb, Paolo, On 09/11/2014 10:47 PM, Gleb Natapov wrote: On Thu, Sep 11, 2014 at 04:37:39PM +0200, Paolo Bonzini wrote: Il 11/09/2014 16:31, Gleb Natapov ha scritto: What if the page being swapped out is L1's APIC access page? We don't run prepare_vmcs12 in that case because it's an

Re: [PATCH v5 4/7] kvm, mem-hotplug: Reload L1' apic access page on migration in vcpu_enter_guest().

2014-09-11 Thread tangchen
Hi Paolo, On 09/11/2014 10:24 PM, Paolo Bonzini wrote: Il 11/09/2014 16:21, Gleb Natapov ha scritto: As far as I can tell the if that is needed there is: if (!is_guest_mode() || !(vmcs12-secondary_vm_exec_control ECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES)) write(PIC_ACCESS_ADDR) In other

[PATCH net 1/2] r8169: fix the default setting of rx vlan

2014-09-11 Thread Hayes Wang
If the parameter features of __rtl8169_set_features() is equal to dev-features, the variable changed is alwayes 0, and nothing would be changed. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/ethernet/realtek/r8169.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-)

[PATCH net 0/2] r8169: fix rx vlan

2014-09-11 Thread Hayes Wang
There are two issues for hw rx vlan. The patches are used to fix them. Hayes Wang (2): r8169: fix the default setting of rx vlan r8169: fix setting rx vlan drivers/net/ethernet/realtek/r8169.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 1.9.3 -- To unsubscribe from

[PATCH net 2/2] r8169: fix setting rx vlan

2014-09-11 Thread Hayes Wang
The setting should depend on the new features not the current one. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/ethernet/realtek/r8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169.c

[PATCH 2/9] locktorture: Add documentation

2014-09-11 Thread Davidlohr Bueso
Just like Documentation/RCU/torture.txt, begin a document for the locktorture module. This module is still pretty green, so I have just added some specific sections to the doc (general desc, params, usage, etc.). Further development should update the file. Signed-off-by: Davidlohr Bueso

[PATCH 6/9] torture: Address race in module cleanup

2014-09-11 Thread Davidlohr Bueso
When performing module cleanups by calling torture_cleanup() the 'torture_type' string in nullified However, callers are not necessarily done, and might still need to reference the variable. This impacts both rcutorture and locktorture, causing printing things like: [ 94.226618] (null)-torture:

[PATCH 5/9] locktorture: Make statistics generic

2014-09-11 Thread Davidlohr Bueso
The statistics structure can serve well for both reader and writer locks, thus simply rename some fields that mention 'write' and leave the declaration of lwsa. Signed-off-by: Davidlohr Bueso dbu...@suse.de --- kernel/locking/locktorture.c | 32 1 file changed,

[PATCH 1/9] locktorture: Rename locktorture_runnable parameter

2014-09-11 Thread Davidlohr Bueso
... to just 'torture_runnable'. It follows other variable naming and is shorter. Signed-off-by: Davidlohr Bueso dbu...@suse.de --- kernel/locking/locktorture.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c

[PATCH 3/9] locktorture: Support mutexes

2014-09-11 Thread Davidlohr Bueso
Add a mutex_lock torture test. The main difference with the already existing spinlock tests is that the latency of the critical region is much larger. We randomly delay for (arbitrarily) either 500 ms or, otherwise, 25 ms. While this can considerably reduce the amount of writes compared to non

[PATCH 4/9] locktorture: Teach about lock debugging

2014-09-11 Thread Davidlohr Bueso
Regular locks are very different than locks with debugging. For instance for mutexes, debugging forces to only take the slowpaths. As such, the locktorture module should take this into account when printing related information -- specifically when printing user passed parameters, it seems the

[PATCH -tip 0/9] locktorture: Improve and expand lock torturing

2014-09-11 Thread Davidlohr Bueso
This set includes general updates throughout the locktorture code. Particularly support for reader locks are added as well as torturing mutexes and rwsems. With the recent locking changes, it doesn't hurt to improve our testing infrastructure, and torturing is definitely one of them. For specific

RE: [PATCH] clk: samsung: exynos5260: fix typo in clock name

2014-09-11 Thread Pankaj Dubey
Hi Tomasz, On Friday, September 12, 2014, Tomasz Figa wrote, To: Pankaj Dubey; linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; linux-kernel@vger.kernel.org Cc: kgene@samsung.com; s.nawro...@samsung.com; mturque...@linaro.org; Chander Kashyap; Abhilash Kesavan

vga and 64-bit memcpy's

2014-09-11 Thread Dave Airlie
Got an bug report from someone using a silicon motion video card in VGA mode about corruption that they tracked down to 64-bit memory operations not being supported by the video card, it appears that we probably shouldn't be using 32-bit copies on VGA memory. The include/linux/vt_buffer.h

Re: [PATCH v3 3/3] sched: BUG when stack end location is over written

2014-09-11 Thread Michael Ellerman
On Thu, 2014-09-11 at 16:41 +0100, Aaron Tomlin wrote: diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index a285900..2a8280a 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -824,6 +824,18 @@ config SCHEDSTATS application, you can say N to avoid the very slight overhead

Re: [PATCH v2] checkpatch: look for common misspellings

2014-09-11 Thread Masanari Iida
Talking about codespell, it detected 76 informations in 3.17-rc4. grep -R informations * |wc -l found 120 typos. Test with occured, codespell found 46, grep found 110. Test with reseting case, codespell found 21, grep found 26. So I expect about half of the incoming typos will be detected

Re: [PATCH v5] ASoC: tda998x: Add a codec to the HDMI transmitter

2014-09-11 Thread Dave Airlie
On 10 September 2014 19:29, Jean-Francois Moine moin...@free.fr wrote: This patch adds a CODEC function to the NXP TDA998x HDMI transmitter. The CODEC handles both I2S and S/PDIF inputs. It maintains the audio format and rate constraints according to the HDMI device parameters (EDID) and does

[git pull] drm fixes

2014-09-11 Thread Dave Airlie
Hi Linus, ast, i915, radeon and msm fixes, all over the place, all fixing build issues, regressions, oopses or failure to detect cards. Dave. The following changes since commit 7ec62d421bdf29cb31101ae2689f7f3a9906289a: Merge branch 'for_linus' of

[PATCH] mfd: intel_soc_pmic: Add CONFIG_PM_SLEEP check for suspend_fn/resume_fn

2014-09-11 Thread Jaewon Kim
This patch fix warning message with CONFIG_PM_SLEEP disabled If CONFIG_PM_SLEEP is not enabled we receive the following warning message: drivers/mfd/intel_soc_pmic_core.c:118:12: warning: 'intel_soc_pmic_suspend' defined but not used Signed-off-by: Jaewon Kim jaewon02@samsung.com ---

[PATCH 8/9] locktorture: Support rwsems

2014-09-11 Thread Davidlohr Bueso
We can easily do so with our new reader lock support. Just an arbitrary design default: readers have higher (5x) critical region latencies than writers: 50 ms and 10 ms, respectively. Signed-off-by: Davidlohr Bueso dbu...@suse.de --- Documentation/locking/locktorture.txt | 2 ++

[PATCH 7/9] locktorture: Add infrastructure for torturing read locks

2014-09-11 Thread Davidlohr Bueso
Most of it is based on what we already have for writers. This allows readers to be very independent (and thus configurable), enabling future module parameters to control things such as rw distribution. Furthermore, readers have their own delaying function, allowing us to test different rw critical

Re: [PATCH v8 07/10] x86, mpx: decode MPX instruction to get bound violation information

2014-09-11 Thread H. Peter Anvin
On 09/11/2014 04:37 PM, Thomas Gleixner wrote: Specifically because marshaling the data in and out of the generic decoder was more complex than a special-purpose decoder. I did not look at that detail and I trust your judgement here, but that is in no way explained in the changelog. This

[PATCH 9/9] locktorture: Introduce torture context

2014-09-11 Thread Davidlohr Bueso
The amount of global variables is getting pretty ugly. Group variables related to the execution (ie: not parameters) in a new context structure. Signed-off-by: Davidlohr Bueso dbu...@suse.de --- kernel/locking/locktorture.c | 161 ++- 1 file changed, 82

Re: [PATCH v2] checkpatch: look for common misspellings

2014-09-11 Thread Joe Perches
On Fri, 2014-09-12 at 13:09 +0900, Masanari Iida wrote: Test with reseting case, codespell found 21, grep found 26. Hello Masanari. How did codespell find any uses of reseting? What version of codespell are you using? (I tested with 1.7) Looking at the git tree for codespell,

Re: [PATCH 01/10] zsmalloc: fix init_zspage free obj linking

2014-09-11 Thread Minchan Kim
On Thu, Sep 11, 2014 at 04:53:52PM -0400, Dan Streetman wrote: When zsmalloc creates a new zspage, it initializes each object it contains with a link to the next object, so that the zspage has a singly-linked list of its free objects. However, the logic that sets up the links is wrong, and in

Re: [PATCH v8 09/10] x86, mpx: cleanup unused bound tables

2014-09-11 Thread Dave Hansen
On 09/11/2014 08:02 PM, Ren, Qiaowei wrote: On 2014-09-11, Hansen, Dave wrote: On 09/11/2014 01:46 AM, Qiaowei Ren wrote: + * This function will be called by do_munmap(), and the VMAs + covering + * the virtual address region start...end have already been split + if + * necessary and

<    8   9   10   11   12   13   14   15   16   17   >