[PATCH 09/11] pinctrl: mvebu: dove: use remapped mpp4 register

2014-01-25 Thread Sebastian Hesselbarth
Now that we have an ioremapped mpp4 register, get rid of hardcoded physical addresses. While at it, also remove DOVE_ prefix from those macros. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn and...@lunn.ch Cc: Gregory

[BUG - v3.10.27] sit: Bad list pointer

2014-01-25 Thread Steven Rostedt
On 3.10.27, loading and then unloading the sit module gives me the following bug: [ 35.400878] sit: IPv6 over IPv4 tunneling driver [ 36.959308] [ cut here ] [ 36.963983] WARNING: at /home/rostedt/work/git/linux-rt.git/lib/list_debug.c:59

[PATCH 03/11] ARM: dove: add additional pinctrl registers

2014-01-25 Thread Sebastian Hesselbarth
Dove pinctrl used additional registers to control MPPs. This patch first increases existing pinctrl reg property by one register, and then adds two new ranges for MPP4 and PMU MPP registers. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Jason Cooper

[PATCH 02/11] devicetree: bindings: update MVEBU pinctrl binding documentation

2014-01-25 Thread Sebastian Hesselbarth
Dove pinctrl binding now requires three different reg properties. This updates corresponding binding and example accordingly. While at it, also document reg property as required for the other MVEBU SoC pinctrl nodes. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc:

[PATCH 07/11] pinctrl: mvebu: dove: request syscon regmap for global registers

2014-01-25 Thread Sebastian Hesselbarth
Dove pinctrl uses some global config registers to control pins. This patch requests a syscon regmap for those registers. As this changes DT to driver requirements, fallback to a self-registered regmap with hardcoded resources, if the corresponding syscon DT node is missing. Also, WARN about old DT

[PATCH 00/11] pinctrl: mvebu: remove hardcoded addresses from Dove pinctrl

2014-01-25 Thread Sebastian Hesselbarth
This patch set is one required step for Dove to hop into mach-mvebu. Until now, pinctrl-dove was hardcoding some registers that do not directly belong to MPP core registers. This is not compatible with what we want for mach-mvebu. This patch set removes all hardcoded addresses from pinctrl-dove

[PATCH 06/11] pinctrl: mvebu: dove: request additional resources

2014-01-25 Thread Sebastian Hesselbarth
Dove pinctrl also requires additional registers to control all pins. This patch requests resources for mpp4 and pmu-mpp register ranges. As this changes DT to driver requirements, fallback to hardcoded resources, if the corresponding DT regs have not been set. Also, WARN about old DT binding usage

[PATCH 05/11] pinctrl: mvebu: fix misdesigned resource allocation

2014-01-25 Thread Sebastian Hesselbarth
Allocating the pinctrl resource in common pinctrl-mvebu was a misdesign, as it does not allow SoC specific parts to access the allocated resource. This moves resource allocation from mvebu_pinctrl_probe to SoC specific _probe functions and passes the base address to common pinctrl driver instead.

[PATCH 01/11] devicetree: binding: add missing Marvell Dove SoC documentation

2014-01-25 Thread Sebastian Hesselbarth
Marvell Dove SoC binding was not documented, yet. Add the documentation and also describe Global Configuration register node in it. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- I chose not to send this to each DT maintainer but devicetree ml only. Is that right or

[PATCH] Input: i8042-io - Exclude mips platforms when allocating/deallocating IO regions.

2014-01-25 Thread Raghu Gandham
The standard IO regions are already reserved by the platform code on most MIPS devices(malta, cobalt, sni). The Commit 197a1e96c8be5b6005145af3a4c0e45e2d651444 (Input: i8042-io - fix up region handling on MIPS) introduced a bug on these MIPS platforms causing i8042 driver to fail when trying to

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

2014-01-25 Thread Arnd Bergmann
On Friday 24 January 2014 13:28:22 Tanmay Inamdar wrote: On Thu, Jan 16, 2014 at 5:10 PM, Tanmay Inamdar tinam...@apm.com wrote: On Wed, Jan 15, 2014 at 4:39 AM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 15 January 2014, Tanmay Inamdar wrote: +static void

[PATCH] virtio_balloon: don't call virtio_has_feature() twice on init_vqs()

2014-01-25 Thread Leandro Dorileo
Cchange init_vqs() to avoid calling twice the virtio_has_feature() - attempting to find out if VIRTIO_BALLOON_F_STATS_VQ feature was negotiated - consequently we prevent unnecessarily running the drivers' feature_table more than needed. Signed-off-by: Leandro Dorileo l...@dorileo.org ---

Re: [PATCH] usb: phy: Quiet unable to find transceiver message

2014-01-25 Thread Josh Boyer
On Sat, Jan 25, 2014 at 10:37 AM, Alan Stern st...@rowland.harvard.edu wrote: On Sat, 25 Jan 2014, Josh Boyer wrote: commit 1ae5799ef6317 (usb: hcd: Initialize USB phy if needed) allows the USB layer to initialize external PHYs if needed. However, a PHY is not needed in all cases. The

Re: [PATCH 0/5] ia64 ski emulator patches

2014-01-25 Thread Mikulas Patocka
On Sat, 25 Jan 2014, Mikael Pettersson wrote: My ski patches are in http://user.it.uu.se/~mikpe/linux/patches/ia64/ski-1.3.2/ for now. I'll post the kernel patches to linux-ia64 @ vger in a few minutes. /Mikael Thanks for the patches. Isn't this subject to races? - could it lock up if

[PATCH RESEND TAKE 3] clk: si5351: remove variant from platform_data

2014-01-25 Thread Sebastian Hesselbarth
Commit 9807362bfe1748d9bb48eecb9261f1b1aaafea1c clk: si5351: declare all device IDs for module loading removed the common i2c_device_id and introduced new ones for each variant of the clock generator. Instead of exploiting that information in the driver, it still depends on platform_data passing

Re: [PATCH 0/5] ia64 ski emulator patches

2014-01-25 Thread Mikael Pettersson
Mikulas Patocka writes: On Sat, 25 Jan 2014, Mikael Pettersson wrote: My ski patches are in http://user.it.uu.se/~mikpe/linux/patches/ia64/ski-1.3.2/ for now. I'll post the kernel patches to linux-ia64 @ vger in a few minutes. /Mikael Thanks for the patches.

Re: [Xen-devel] [PATCH] xen-blkback: fix memory leak when persistent grants are used

2014-01-25 Thread Matt Wilson
On Fri, Jan 24, 2014 at 03:36:22PM +, Ian Campbell wrote: On Fri, 2014-01-24 at 09:21 +, Ian Campbell wrote: On Thu, 2014-01-23 at 11:28 -0800, Matt Wilson wrote: From: Matt Rushton mrush...@amazon.com Currently shrink_free_pagepool() is called before the pages used for

[PATCH] intel_idle: Add CPU model 54 (Atom N2000 series)

2014-01-25 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com Add CPU ID for Atom N2600/N2800 processors. Datasheets indicate support for this, detailed information about potential quirks or limitations are missing, though. So we just reuse the definition for the previous ATOM series. Tests on N2800 systems showed

[PATCH 1/9] ARM: dts: omap3-gta04: Fix 'aux' gpio key flags.

2014-01-25 Thread Marek Belisko
From: NeilBrown ne...@suse.de It should be ACTIVE_HIGH. Signed-off-by: NeilBrown ne...@suse.de --- arch/arm/boot/dts/omap3-gta04.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index b9b55c9..9d37184

[PATCH 7/9] ARM: dts: omap3-gta04: Add touchscreen properties.

2014-01-25 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index f72e408..151ed3b 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++

[PATCH 8/9] ARM: dts: omap3-gta04: Add support for magnetometer.

2014-01-25 Thread Marek Belisko
Signed-off-by: NeilBrown ne...@suse.de --- arch/arm/boot/dts/omap3-gta04.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 151ed3b..ea1b94d 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++

[PATCH 9/9] ARM: dts: omap3-gta04: Add ti,omap36xx to compatible property to avoid problems with booting.

2014-01-25 Thread Marek Belisko
Without that change booting leads to crash with more warnings like below: [0.284454] omap_hwmod: uart4: cannot clk_get main_clk uart4_fck [0.284484] omap_hwmod: uart4: cannot _init_clocks [0.284484] [ cut here ] [0.284545] WARNING: CPU: 0 PID: 1 at

[PATCH 2/9] ARM: dts: omap3-gta04: Add bma180 accelerometer.

2014-01-25 Thread Marek Belisko
From: NeilBrown ne...@suse.de Signed-off-by: NeilBrown ne...@suse.de --- arch/arm/boot/dts/omap3-gta04.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 9d37184..e315675 100644 ---

[PATCH 5/9] ARM: dts: omap3-gta04: Add basic sound support.

2014-01-25 Thread Marek Belisko
Signed-off-by: NeilBrown ne...@suse.de --- arch/arm/boot/dts/omap3-gta04.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 7e09410..a924a843 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++

[PATCH 6/9] ARM: dts: omap3-gta04: Add twl4030 charger.

2014-01-25 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index a924a843..f72e408 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++

[PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates.

2014-01-25 Thread Marek Belisko
This pathes fix some wrong property issues and add some new devices to devicetree. This was tested on linux-next (next-20140124). Marek Belisko (6): ARM: dts: omap3-gta04: Fix mmc1 properties. ARM: dts: omap3-gta04: Add basic sound support. ARM: dts: omap3-gta04: Add twl4030 charger. ARM:

[PATCH 4/9] ARM: dts: omap3-gta04: Enable mmc2 for wifi.

2014-01-25 Thread Marek Belisko
From: NeilBrown ne...@suse.de This requires vaux4. Reset line isn't used yet, so wifi isn't reliable. But it does work once per boot. Signed-off-by: NeilBrown ne...@suse.de --- arch/arm/boot/dts/omap3-gta04.dts | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

[PATCH 3/9] ARM: dts: omap3-gta04: Fix mmc1 properties.

2014-01-25 Thread Marek Belisko
Does not have an aux supply, and must be non-removable. Otherwise it is removed during suspend and filesystem gets confused. Signed-off-by: NeilBrown ne...@suse.de --- arch/arm/boot/dts/omap3-gta04.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [ANNOUNCE] 3.12.8-rt11

2014-01-25 Thread Mike Galbraith
On Sat, 2014-01-25 at 14:45 +0100, Sebastian Andrzej Siewior wrote: Dear RT folks! I'm pleased to announce the v3.12.8-rt11 patch set. Changes since v3.12.8-rt10 - The do not to raise the timer softirq unconditionally resulted a few boot lockups on a few boxes. Steven found the problem

[PATCH] of: add vendor prefix for Honeywell

2014-01-25 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 3f900cd..b14c617

Re: [PATCH 0/4] clk: mvebu: fix clk init order

2014-01-25 Thread Sebastian Hesselbarth
On 01/25/2014 10:32 PM, Emilio López wrote: El 25/01/14 15:19, Sebastian Hesselbarth escribió: This patch set fixes clk init order that went upside-down with v3.14. I haven't really investigated what caused this, but I assume it is related with DT node reordering by addresses. The framework

[PATCH] misc: genwqe: Fix potential memory leak when pinning memory

2014-01-25 Thread Christian Engelmayer
Fix a memory leak in the genwqe_pin_mem() error path as called by ioctl GENWQE_PIN_MEM. In case there is an error encountered when mapping memory, the already allocated dma_mapping struct needs to be freed correctly. Detected by Coverity: CID 1162606. Signed-off-by: Christian Engelmayer

[PATCH RESEND] perf: design.txt: remove mention of set_perf_event_pending

2014-01-25 Thread Baruch Siach
set_perf_event_pending() was removed in e360adbe (irq_work: Add generic hardirq context callbacks) Signed-off-by: Baruch Siach bar...@tkos.co.il --- Resending with lkml added to Cc. --- tools/perf/design.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/design.txt

Re: [PATCH 0/4] clk: mvebu: fix clk init order

2014-01-25 Thread Emilio López
Hello Sebastian, El 25/01/14 15:19, Sebastian Hesselbarth escribió: This patch set fixes clk init order that went upside-down with v3.14. I haven't really investigated what caused this, but I assume it is related with DT node reordering by addresses. The framework should be able to deal with

WaitForMultipleObjects/etc. In Kernel

2014-01-25 Thread Network Nut
Hi All, This is my first post to anything Linux, so if there is a better mailing list, please let me know. I think that the facility by which a thread can block while waiting for any of several synchronization primitives (*mutex*, *semaphore*, *event*, *waitable timer*)...is not only nice to

Re: [PATCH 0/4] clk: mvebu: fix clk init order

2014-01-25 Thread Emilio López
Sebastian, El 25/01/14 18:44, Sebastian Hesselbarth escribió: On 01/25/2014 10:32 PM, Emilio López wrote: El 25/01/14 15:19, Sebastian Hesselbarth escribió: This patch set fixes clk init order that went upside-down with v3.14. I haven't really investigated what caused this, but I assume it is

Re: [kernel 3.13.0-06058-g2d08cd0] Strange ACPI error messages

2014-01-25 Thread Rafael J. Wysocki
On Saturday, January 25, 2014 05:32:19 PM Jörg Otte wrote: 2014-01-25 Rafael J. Wysocki r...@rjwysocki.net: On Saturday, January 25, 2014 11:03:09 AM Jörg Otte wrote: Kernel 3.13.0-06058-g2d08cd0 displays following errors on the console: ACPI: \_PR_.CPU4: failed to get CPU APIC ID.

Re: [kernel 3.13.0-06058-g2d08cd0] Strange ACPI error messages

2014-01-25 Thread Rafael J. Wysocki
On Saturday, January 25, 2014 02:18:17 PM Henrique de Moraes Holschuh wrote: On Sat, 25 Jan 2014, Rafael J. Wysocki wrote: On Saturday, January 25, 2014 02:53:24 PM Rafael J. Wysocki wrote: On Saturday, January 25, 2014 11:03:09 AM Jörg Otte wrote: Kernel 3.13.0-06058-g2d08cd0 displays

[PATCH 1/2] phy,phy-bcm-kona-usb2.c: Add dependency on HAS_IOMEM

2014-01-25 Thread Richard Weinberger
On archs like S390 or um this driver cannot build nor work. Make it depend on HAS_IOMEM to bypass build failures. drivers/phy/phy-bcm-kona-usb2.c:114: undefined reference to `devm_ioremap_resource' Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/phy/Kconfig | 1 + 1 file changed,

[PATCH 2/2] thermal,rcar_thermal: Add dependency on HAS_IOMEM

2014-01-25 Thread Richard Weinberger
Commit beeb5a1e (thermal: rcar-thermal: Enable driver compilation with COMPILE_TEST) broke build on archs wihout io memory. On archs like S390 or um this driver cannot build nor work. Make it depend on HAS_IOMEM to bypass build failures. drivers/thermal/rcar_thermal.c:404: undefined reference

Re: [PATCH 4/4] power_supply: bq24261 charger driver

2014-01-25 Thread Pavel Machek
Hi! +++ b/drivers/power/Makefile @@ -59,4 +59,5 @@ obj-$(CONFIG_CHARGER_BQ24735) += bq24735-charger.o obj-$(CONFIG_POWER_AVS) += avs/ obj-$(CONFIG_CHARGER_SMB347) += smb347-charger.o obj-$(CONFIG_CHARGER_TPS65090) += tps65090-charger.o

Re: [PATCH 3/4] power_supply: Introduce PSE compliant algorithm

2014-01-25 Thread Pavel Machek
Hi! +config POWER_SUPPLY_CHARGING_ALGO_PSE + bool PSE compliant charging algorithm + help + Say Y here to select PSE compliant charging algorithm. As per PSE + standard the battery characteristics and thereby the charging rates It would be good to explain PSE here.

Re: [PATCH 0/4] clk: mvebu: fix clk init order

2014-01-25 Thread Ezequiel Garcia
Hi Emilio, Thanks for your help with this. On Sat, Jan 25, 2014 at 07:11:07PM -0300, Emilio López wrote: [..] Ok, I'll look if using of_clk_get_parent_name will help here. But again, I can see that clk-gating driver gets registered before core-clk driver. There may be no code to give you

RE: [Xen-devel] [PATCH 4/4] xen/xenbus: Avoid synchronous wait on XenBus stalling shutdown/restart.

2014-01-25 Thread Zhang, Yang Z
Konrad Rzeszutek Wilk wrote on 2013-11-09: 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

[PATCH v3 2/4] x86, mpx: hook #BR exception handler to allocate bound tables

2014-01-25 Thread Qiaowei Ren
An access to an invalid bound directory entry will cause a #BR exception. This patch hook #BR exception handler to allocate one bound table and bind it with that buond directory entry. This will avoid the need of forwarding the #BR exception to the user space when bound directory has invalid

[PATCH v3 1/4] x86, mpx: add documentation on Intel MPX

2014-01-25 Thread Qiaowei Ren
This patch adds the Documentation/x86/intel_mpx.txt file with some information about Intel MPX. Signed-off-by: Qiaowei Ren qiaowei@intel.com --- Documentation/x86/intel_mpx.txt | 226 +++ 1 files changed, 226 insertions(+), 0 deletions(-) create mode

[PATCH v3 0/4] Intel MPX support

2014-01-25 Thread Qiaowei Ren
This patchset adds support for the Memory Protection Extensions (MPX) feature found in future Intel processors. MPX can be used in conjunction with compiler changes to check memory references, for those references whose compile-time normal intentions are usurped at runtime due to buffer overflow

[PATCH v3 4/4] x86, mpx: extend siginfo structure to include bound violation information

2014-01-25 Thread Qiaowei Ren
This patch adds new fields about bound violation into siginfo structure. si_lower and si_upper are respectively lower bound and upper bound when bound violation is caused. These fields will be set in #BR exception handler by decoding the user instruction and constructing the faulting pointer. A

[PATCH v3 3/4] x86, mpx: add prctl commands PR_MPX_INIT, PR_MPX_RELEASE

2014-01-25 Thread Qiaowei Ren
This patch adds the PR_MPX_INIT and PR_MPX_RELEASE prctl() commands on the x86 platform. These commands can be used to init and release MPX related resource. A MMU notifier will be registered during PR_MPX_INIT command execution. So the bound tables can be automatically deallocated when one

[GIT PULL] MMC updates for 3.14-rc1

2014-01-25 Thread Chris Ball
Hi Linus, This is a new email address for me, but you still have a signed path to it. (This pull request updates MAINTAINERS with the new address.) Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git tags/mmc-updates-for-3.14-rc1 to receive the MMC merge for 3.14.

Re: [PATCH v2] of: make of_get_phy_mode parse 'phy-connection-type'

2014-01-25 Thread Florian Fainelli
Le 16/11/2013 04:24, Grant Likely a écrit : On Fri, 15 Nov 2013 06:23:32 +, Florian Fainelli f.faine...@gmail.com wrote: Per the ePAPR v1.1 specification, 'phy-connection-type' is the canonical property name for describing an Ethernet to PHY connection type. Make sure that

[PATCH 3.4 10/12] md/raid5: Fix possible confusion when multiple write errors occur.

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown ne...@suse.de commit 1cc03eb93245e63b0b7a7832165efdc52e25b4e6 upstream. commit 5d8c71f9e5fbdd95650be00294d238e27a363b5c md: raid5 crash during degradation Fixed a crash in an

[PATCH 3.4 12/12] staging: wlags49_h2: buffer overflow setting station name

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter dan.carpen...@oracle.com commit b5e2f339865fb443107e5b10603e53bbc92dc054 upstream. We need to check the length parameter before doing the memcpy(). I've actually changed it to

[PATCH 3.4 03/12] perf/x86/amd/ibs: Fix waking up from S3 for AMD family 10h

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Robert Richter r...@kernel.org commit bee09ed91cacdbffdbcd3b05de8409c77ec9fcd6 upstream. On AMD family 10h we see following error messages while waking up from S3 for all non-boot CPUs leading

[PATCH 3.4 11/12] serial: amba-pl011: use port lock to guard control register access

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jon Medhurst t...@linaro.org commit fe43390702a1b5741fdf217063b05c7612b38303 upstream. When the pl011 is being used for a console, pl011_console_write forces the control register (CR) to enable

[PATCH 3.4 09/12] md/raid10: fix two bugs in handling of known-bad-blocks.

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown ne...@suse.de commit b50c259e25d9260b9108dc0c2964c26e5ecbe1c1 upstream. If we discover a bad block when reading we split the request and potentially read some of it from a different

[PATCH 3.4 02/12] staging: comedi: 8255_pci: fix for newer PCI-DIO48H

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit 0283f7a100882684ad32b768f9f1ad81658a0b92 upstream. At some point, Measurement Computing / ComputerBoards redesigned the PCI-DIO48H to use a PLX PCI interface

[PATCH 3.4 01/12] KVM: x86: Convert vapic synchronization to _cached functions (CVE-2013-6368)

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Andy Honig aho...@google.com commit fda4e2e85589191b123d31cdc21fd33ee70f50fd upstream. In kvm_lapic_sync_from_vapic and kvm_lapic_sync_to_vapic there is the potential to corrupt kernel memory

[PATCH 3.4 08/12] md/raid10: fix bug when raid10 recovery fails to recover a block.

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown ne...@suse.de commit e8b849158508565e0cd6bc80061124afc5879160 upstream. commit e875ecea266a543e643b19e44cf472f1412708f9 md/raid10 record bad blocks as needed during recovery.

[PATCH 3.4 06/12] SELinux: Fix possible NULL pointer dereference in selinux_inode_permission()

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt rost...@goodmis.org commit 3dc91d4338d698ce77832985f9cb183d8eeaf6be upstream. While running stress tests on adding and deleting ftrace instances I hit this bug: BUG: unable to

Re: [PATCH v3 1/4] x86, mpx: add documentation on Intel MPX

2014-01-25 Thread Randy Dunlap
On 01/26/2014 01:08 AM, Qiaowei Ren wrote: This patch adds the Documentation/x86/intel_mpx.txt file with some information about Intel MPX. Signed-off-by: Qiaowei Ren qiaowei@intel.com --- Documentation/x86/intel_mpx.txt | 226 +++ 1 files

[PATCH 3.4 07/12] nilfs2: fix segctor bug that causes file system corruption

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Rohner andreas.roh...@gmx.net commit 70f2fe3a26248724d8a5019681a869abdaf3e89a upstream. There is a bug in the function nilfs_segctor_collect, which results in active data being written

[PATCH 3.4 04/12] mm/memory-failure.c: recheck PageHuge() after hugetlb page migrate successfully

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jianguo Wu wujian...@huawei.com commit a49ecbcd7b0d5a1cda7d60e03df402dd0ef76ac8 upstream. After a successful hugetlb page migration by soft offline, the source page will either be freed into

[PATCH 3.4 05/12] hwmon: (coretemp) Fix truncated name of alarm attributes

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jean Delvare kh...@linux-fr.org commit 3f9aec7610b39521c7c69d754de7265f6994c194 upstream. When the core number exceeds 9, the size of the buffer storing the alarm attribute name is insufficient

[PATCH 3.4 00/12] 3.4.78-stable review

2014-01-25 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.4.78 release. There are 12 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Tue Jan 28 03:04:41 UTC 2014. Anything

[patch for-3.14] mm, mempolicy: fix mempolicy printing in numa_maps

2014-01-25 Thread David Rientjes
As a result of commit 5606e3877ad8 (mm: numa: Migrate on reference policy), /proc/pid/numa_maps prints the mempolicy for any pid as prefer:N for the local node, N, of the process reading the file. This should only be printed when the mempolicy of pid is MPOL_PREFERRED for node N. If the

RE: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-25 Thread Li, Zhuangzhi
-Original Message- From: Viresh Kumar [mailto:viresh.ku...@linaro.org] Sent: Wednesday, January 22, 2014 2:43 PM To: Li, Zhuangzhi Cc: Rafael J. Wysocki; cpuf...@vger.kernel.org; linux...@vger.kernel.org; Linux Kernel Mailing List; Liu, Chuansheng Subject: Re: [PATCH] cpufreq:

Re: [PATCH v3 1/4] x86, mpx: add documentation on Intel MPX

2014-01-25 Thread Ren Qiaowei
On 01/26/2014 11:06 AM, Randy Dunlap wrote: On 01/26/2014 01:08 AM, Qiaowei Ren wrote: This patch adds the Documentation/x86/intel_mpx.txt file with some information about Intel MPX. Signed-off-by: Qiaowei Ren qiaowei@intel.com --- Documentation/x86/intel_mpx.txt | 226

RE: [Xen-devel] [PATCH 4/4] xen/xenbus: Avoid synchronous wait on XenBus stalling shutdown/restart.

2014-01-25 Thread Konrad Rzeszutek Wilk
Zhang, Yang Z yang.z.zh...@intel.com wrote: Konrad Rzeszutek Wilk wrote on 2013-11-09: 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

[patch] mm, oom: base root bonus on current usage

2014-01-25 Thread David Rientjes
A 3% of system memory bonus is sometimes too excessive in comparison to other processes and can yield poor results when all processes on the system are root and none of them use over 3% of memory. Replace the 3% of system memory bonus with a 3% of current memory usage bonus. Reported-by:

Re: [PATCH] x86, apic: clean up handling of boot_cpu_physical_apicid in boot process

2014-01-25 Thread David Rientjes
On Thu, 16 Jan 2014, HATAYAMA Daisuke wrote: Hello, This patch deals with the issue of handling boot_cpu_physical_apicid in boot process I avoided in disable_cpu_apicid patch because I cannot guess how long it needs to take for the review of this fix. This patch is made on top of today's

Re: [PATCH v3 4/4] x86, mpx: extend siginfo structure to include bound violation information

2014-01-25 Thread David Rientjes
On Sun, 26 Jan 2014, Qiaowei Ren wrote: This patch adds new fields about bound violation into siginfo structure. si_lower and si_upper are respectively lower bound and upper bound when bound violation is caused. These fields will be set in #BR exception handler by decoding the user

Re: [PATCH] slab: fix wrong retval on kmem_cache_create_memcg error path

2014-01-25 Thread David Rientjes
On Sat, 25 Jan 2014, Vladimir Davydov wrote: diff --git a/mm/slab_common.c b/mm/slab_common.c index 8e40321..499b53c 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -249,7 +249,6 @@ out_unlock: name, err); dump_stack();

Re: [linux-next][PATCH] mm: slub: work around unneeded lockdep warning

2014-01-25 Thread David Rientjes
On Fri, 24 Jan 2014, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com The slub code does some setup during early boot in early_kmem_cache_node_alloc() with some local data. There is no possible way that another CPU can see this data, so the slub code doesn't unnecessarily

Re: [PATCH] x86, hyperv: bypass the timer_irq_works() check

2014-01-25 Thread Jason Wang
On 01/25/2014 05:20 AM, H. Peter Anvin wrote: On 01/23/2014 10:02 PM, Jason Wang wrote: This patch bypass the timer_irq_works() check for hyperv guest since: - It was guaranteed to work. - timer_irq_works() may fail sometime due to the lpj calibration were inaccurate in a hyperv guest or

Re: [PATCH v3 4/4] x86, mpx: extend siginfo structure to include bound violation information

2014-01-25 Thread Ren Qiaowei
On 01/26/2014 12:22 PM, David Rientjes wrote: On Sun, 26 Jan 2014, Qiaowei Ren wrote: This patch adds new fields about bound violation into siginfo structure. si_lower and si_upper are respectively lower bound and upper bound when bound violation is caused. These fields will be set in #BR

[for-next][PATCH 0/3] tracing: Update to README and a small bug fix

2014-01-25 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 3132e107d608f8753240d82d61303c500fd515b4 Steven Rostedt (Red Hat) (2): tracing: Fix formatting of trace README file tracing: Check if tracing is enabled in trace_puts() Tom Zanussi (1):

[for-next][PATCH 2/3] tracing: Fix formatting of trace README file

2014-01-25 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Fix the formatting of the README file in the trace debugfs to fit in an 80 character window. Also add a comment about the event trigger counter with regards to traceon and traceoff. Signed-off-by: Steven Rostedt rost...@goodmis.org ---

[for-next][PATCH 1/3] tracing/README: Add event file usage to tracing mini-HOWTO

2014-01-25 Thread Steven Rostedt
From: Tom Zanussi tom.zanu...@linux.intel.com It would be useful to have a cheat-sheet for everything under tracing/events/ alongside the existing text describing the other files in the tracing/ dir. Add short descriptions of the directories and files under events/ along with examples, similar

[for-next][PATCH 3/3] tracing: Check if tracing is enabled in trace_puts()

2014-01-25 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org If trace_puts() is used very early in boot up, it can crash the machine if it is called before the ring buffer is allocated. If a trace_printk() is used with no arguments, then it will be converted into a trace_puts() and suffer the same fate.

RE: [Q] L1_CACHE_BYTES on flush_pfn_alias function.

2014-01-25 Thread Jungseung Lee
Not to flush some more bytes. In the scenario, they can *omit* to flush last 32 bytes. L1_CACHE_BYTES = 64 (ARM v7, CA9) asm(mcrr p15, 0, %1, %0, c14\n mcr p15, 0, %2, c7, c10, 4 : : r (to), r (to + PAGE_SIZE - L1_CACHE_BYTES), r (zero) : cc); -Original

RE: [PATCH 1/8] ASoC: fsl: Add VF610 soc audio card Kconfig

2014-01-25 Thread li.xi...@freescale.com
Hi Mark, +config SND_SOC_VF610_SGTL5000 + tristate SoC Audio support for VF610 boards with SGTL5000 + depends on OF I2C + select SND_SOC_FSL_SAI + select SND_SOC_SGTL5000 + select SND_SIMPLE_CARD ...for simple card since the whole idea is to support

Re: [PATCH 3.4 00/12] 3.4.78-stable review

2014-01-25 Thread Guenter Roeck
On 01/25/2014 07:05 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.78 release. There are 12 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

[PATCH] MAINTAINERS: ADI Linux development mailing lists change to the new server.

2014-01-25 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com Update Blackfin arch branch maintainer's email as well. Signed-off-by: Sonic Zhang sonic.zh...@analog.com --- MAINTAINERS | 42 -- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/MAINTAINERS

Re: disabled APICs being counted as processors ?

2014-01-25 Thread David Rientjes
On Sat, 25 Jan 2014, Dave Jones wrote: it looks like this is because.. [0.00] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) [0.00] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled) [0.00] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled) [

[PATCH] max8925_power: Use IS_ENABLED(CONFIG_OF) for DT code.

2014-01-25 Thread Manish Badarkhe
Instead of #if define CONFIG_OF use IS_ENABLED(CONFIG_OF) option for DT code to avoid if-deffery in code. Signed-off-by: Manish Badarkhe badarkhe.man...@gmail.com --- :100644 100644 b4513f2... d353fbc... M drivers/power/max8925_power.c drivers/power/max8925_power.c | 14 +- 1 file

<    1   2   3   4