[PATCH v2 3/3] x86_64,entry: Remove the syscall exit audit and schedule optimizations

2015-01-16 Thread Andy Lutomirski
We used to optimize rescheduling and audit on syscall exit. Now that the full slow path is reasonably fast, remove these optimizations. Syscall exit auditing is now handled exclusively by syscall_trace_leave. This adds something like 10ns to the previously optimized paths on my computer,

[PATCH v2 0/3] x86_64,entry: Rearrange the syscall exit optimizations

2015-01-16 Thread Andy Lutomirski
Linus, I suspect you'll either like or hate this series. Or maybe you'll think it's crazy but you'll like it anyway. I'm curious which of those is the case. :) The syscall exit asm is a big mess. There's a really fast path, some kind of fast path code (with a hard-coded optimization for

[PATCH v2 2/3] x86_64,entry: Use sysret to return to userspace when possible

2015-01-16 Thread Andy Lutomirski
The x86_64 entry code currently jumps through complex and inconsistent hoops to try to minimize the impact of syscall exit work. For a true fast-path syscall, almost nothing needs to be done, so returning is just a check for exit work and sysret. For a full slow-path return from a syscall, the C

Re: [PATCH] sysfs: group: allow is_visible to drop permissions

2015-01-16 Thread Vivien Didelot
Hi Greg, On Fri, Jan 16, 2015 at 04:29:10PM -0500, Vivien Didelot wrote: Using the optional is_visible function, it is actually possible to either hide an attribute, or add a new permission, but not remove one. What code wants to remove attributes? Sorry, I meant removing a permission.

[RFC/PATCH] init/main.c: Simplify initcall_blacklisted()

2015-01-16 Thread Rasmus Villemoes
Using kasprintf to get the function name makes us look up the name twice, along with all the vsnprintf overhead of parsing the format string etc. It also means there is an allocation failure case to deal with. Since symbol_string in vsprintf.c would anyway allocate an array of size KSYM_SYMBOL_LEN

[PATCH 01/01] modules: Add missing word to comment

2015-01-16 Thread Sharon Dvir
Add missing 'which' in comment. Signed-off-by: Sharon Dvir sharon.dv...@mail.huji.ac.il --- diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index 745def8..470a240 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h @@ -53,9 +53,9 @@

Re: [PATCH v3 00/13] Add kdbus implementation

2015-01-16 Thread Daniel Mack
Hi Josh, On 01/16/2015 11:18 PM, Greg Kroah-Hartman wrote: On Fri, Jan 16, 2015 at 05:07:25PM -0500, Josh Boyer wrote: The code.google.com tree has commits from 2 days ago, but it still calls d_materialise_unique in fs.c whereas the patchset you've posted uses the correct d_splice_alias. So

Re: [PATCH v3 00/13] Add kdbus implementation

2015-01-16 Thread Josh Boyer
On Fri, Jan 16, 2015 at 7:26 PM, Daniel Mack dan...@zonque.org wrote: Hi Josh, On 01/16/2015 11:18 PM, Greg Kroah-Hartman wrote: On Fri, Jan 16, 2015 at 05:07:25PM -0500, Josh Boyer wrote: The code.google.com tree has commits from 2 days ago, but it still calls d_materialise_unique in fs.c

Re: futex(2) man page update help request

2015-01-16 Thread Darren Hart
On 1/16/15, 12:54 PM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: On 01/16/2015 04:20 PM, Thomas Gleixner wrote: On Fri, 16 Jan 2015, Michael Kerrisk (man-pages) wrote: Hello Thomas, On 01/15/2015 11:23 PM, Thomas Gleixner wrote: On Thu, 15 Jan 2015, Michael Kerrisk

Re: [PATCH v7 1/4] Documentation: dt: add common bindings for hwspinlock

2015-01-16 Thread Ohad Ben-Cohen
Mark, On Fri, Jan 16, 2015 at 12:17 PM, Mark Rutland mark.rutl...@arm.com wrote: The hwlock is a basic hardware primitive that allow synchronization between different processors in the system, which may be running Linux as well as other operating systems, and may have no other means of

Re: futex(2) man page update help request

2015-01-16 Thread Davidlohr Bueso
On Fri, 2015-01-16 at 21:54 +0100, Michael Kerrisk (man-pages) wrote: On 01/16/2015 04:20 PM, Thomas Gleixner wrote: On Fri, 16 Jan 2015, Michael Kerrisk (man-pages) wrote: Hello Thomas, On 01/15/2015 11:23 PM, Thomas Gleixner wrote: On Thu, 15 Jan 2015, Michael Kerrisk (man-pages)

Directory for platform specific power management code

2015-01-16 Thread Ray Jui
Hi, Can someone please tell me the best location for platform specific power management code, e.g., the code that puts a specific SoC into deep sleep. I'm working on a project for an SoC called Cygnus from Broadcom. I think arch/arm/mach-bcm/* is the best location, but given that the trend is to

Re: [PATCH RESEND v8 1/2] clk: Make clk API return per-user struct clk instances

2015-01-16 Thread Stephen Boyd
On 01/12, Tomeu Vizoso wrote: Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for backwards compatibility. The struct clk that

[PATCH 1/3 v6] drivers/bus: Added Freescale Management Complex APIs

2015-01-16 Thread J. German Rivera
APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC objects in the MC. Signed-off-by: J. German Rivera german.riv...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com

How to handle access to multiple PHYs through MDIO

2015-01-16 Thread Ray Jui
Hi, Our SoC, Cygnus, uses a generic MDC/MDIO controller to talk to various PHYs, including 2 x Ethernet GPHY, 2 x PCIe Serdes, and 3 x USB PHYs. In this case, how should I work out a generic PHY driver to handle this? I notice that most generic PHY drivers are in drivers/phy/*, but Ethernet

Re: futex(2) man page update help request

2015-01-16 Thread Darren Hart
On 1/16/15, 4:56 PM, Davidlohr Bueso d...@stgolabs.net wrote: On Fri, 2015-01-16 at 21:54 +0100, Michael Kerrisk (man-pages) wrote: On 01/16/2015 04:20 PM, Thomas Gleixner wrote: On Fri, 16 Jan 2015, Michael Kerrisk (man-pages) wrote: Hello Thomas, On 01/15/2015 11:23 PM, Thomas

[PATCH 3/3 v6] drivers/bus: Device driver for FSL-MC DPRC devices

2015-01-16 Thread J. German Rivera
A DPRC (Data Path Resource Container) is an isolation device that contains a set of DPAA networking devices to be assigned to an isolation domain (e.g., a virtual machine). Signed-off-by: J. German Rivera german.riv...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com ---

[PATCH 2/3 v6] drivers/bus: Freescale Management Complex (fsl-mc) bus driver

2015-01-16 Thread J. German Rivera
Platform device driver that sets up the basic bus infrastructure for the fsl-mc bus type, including support for adding/removing fsl-mc devices, register/unregister of fsl-mc drivers, and bus match support to bind devices to drivers. Signed-off-by: J. German Rivera german.riv...@freescale.com

Re: [PATCH v2 1/2] clocksource: track usage

2015-01-16 Thread Alexandre Belloni
Hi, On 16/01/2015 at 11:05:46 -0800, John Stultz wrote : On Fri, Jan 16, 2015 at 8:57 AM, Alexandre Belloni alexandre.bell...@free-electrons.com wrote: Track whether the clocksource is enabled or disabled. So.. this commit message needs work. Why do we care to track the clocksource

RE: [PATCH] Drivers: hv: vmbus: serialize Offer and Rescind offer processing

2015-01-16 Thread KY Srinivasan
-Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Friday, January 16, 2015 5:46 AM To: KY Srinivasan; de...@linuxdriverproject.org Cc: Haiyang Zhang; linux-kernel@vger.kernel.org; Dexuan Cui; Jason Wang; Radim Krčmář Subject: [PATCH] Drivers: hv: vmbus:

Re: futex(2) man page update help request

2015-01-16 Thread Darren Hart
Corrected Davidlohr's email address. On 1/15/15, 7:12 AM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: Hello Darren, I give you the same apology as to Thomas for the long-delayed response to your mail. And I repeat my note to Thomas: In the next day or two, I hope to send out the

[PATCH 0/3 v6] drivers/bus: Freescale Management Complex bus driver patch series

2015-01-16 Thread J. German Rivera
This patch series introduces Linux support for the Freescale Management Complex (fsl-mc) hardware. This patch series is dependent on the patch series ARM64: Add support for FSL's LS2085A SoC (http://thread.gmane.org/gmane.linux.ports.arm.kernel/351829) The fsl-mc is a hardware resource manager

[RFC PATCH 0/1] drivers/bus: Freescale Management Complex object allocator driver

2015-01-16 Thread J. German Rivera
This patch series introduces the object allocator driver for the Freescale Management Complex (fsl-mc) of QorIQ Ls2 SoCs This patch series is dependent on the patch series drivers/bus: Freescale Management Complex bus driver patch series Besides adding the object allocator functionality, this

[RFC PATCH 1/1] drivers/bus: fsl-mc object allocator driver

2015-01-16 Thread J. German Rivera
The fsl-mc object allocator driver manages allocatable fsl-mc objects such as DPBPs, DPMCPs and DPCONs. It provides services to other fsl-mc drivers to allocate/deallocate these types of objects. Signed-off-by: J. German Rivera german.riv...@freescale.com Signed-off-by: Stuart Yoder

Re: How to handle access to multiple PHYs through MDIO

2015-01-16 Thread Florian Fainelli
Hi Ray, On 16/01/15 17:10, Ray Jui wrote: Hi, Our SoC, Cygnus, uses a generic MDC/MDIO controller to talk to various PHYs, including 2 x Ethernet GPHY, 2 x PCIe Serdes, and 3 x USB PHYs. In this case, how should I work out a generic PHY driver to handle this? Interesting, I have typically

Re: [PATCH] sysfs: group: allow is_visible to drop permissions

2015-01-16 Thread Guenter Roeck
On 01/16/2015 04:22 PM, Vivien Didelot wrote: Hi Greg, On Fri, Jan 16, 2015 at 04:29:10PM -0500, Vivien Didelot wrote: Using the optional is_visible function, it is actually possible to either hide an attribute, or add a new permission, but not remove one. What code wants to remove

Re: [PATCH 1/2] doc: Fix misnamed FUTEX_CMP_REQUEUE_PI 'op' constants

2015-01-16 Thread Darren Hart
On Fri, Jan 16, 2015 at 08:27:57PM +0100, Michael Kerrisk (man-pages) wrote: From: Michael Kerrisk mtk.manpa...@gmail.com FUTEX_CMP_REQUEUE_PI was misnamed in two different ways: FUTEX_REQUEUE_CMP_PI and FUTEX_REQUEUE_PI. The existence of two different misnamings leaves the reader wondering

Re: [PATCH RESEND v8 2/2] clk: Add floor and ceiling constraints to clock rates

2015-01-16 Thread Stephen Boyd
On 01/12, Tomeu Vizoso wrote: diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 7eddfd8..2793bd7 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1013,8 +1015,8 @@ static unsigned long clk_core_round_rate_nolock(struct clk_core *clk, if (clk-ops-determine_rate) {

Re: [PATCH 2/2] futex: Fix argument handling in futex_lock_pi() calls

2015-01-16 Thread Darren Hart
On Fri, Jan 16, 2015 at 08:28:06PM +0100, Michael Kerrisk (man-pages) wrote: From: Michael Kerrisk mtk.manpa...@gmail.com This patch fixes two separate buglets in calls to futex_lock_pi(): * Eliminate unused 'detect' argument * Change unused 'timeout' argument of FUTEX_TRYLOCK_PI to

Re: mmotm 2015-01-16-15-50 uploaded (netfilter xt_TPROXY.c)

2015-01-16 Thread Randy Dunlap
On 01/16/15 15:50, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2015-01-16-15-50 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ on i386: CONFIG_IPV6=y

Re: [PATCH] i40e: don't enable and init FCOE by default when do PF reset

2015-01-16 Thread ethan zhao
Vasu, What' your idea about the v2, any suggestion ? Jeff is looking forward to see it. Thanks, Ethan On 2015/1/16 22:47, Jeff Kirsher wrote: On Fri, 2015-01-16 at 09:48 +0800, ethan zhao wrote: Vasu, OK, disable FCOE as default configuration as a temporary step to make it work.

Re: How to handle access to multiple PHYs through MDIO

2015-01-16 Thread Ray Jui
On 1/16/2015 5:47 PM, Florian Fainelli wrote: Hi Ray, On 16/01/15 17:10, Ray Jui wrote: Hi, Our SoC, Cygnus, uses a generic MDC/MDIO controller to talk to various PHYs, including 2 x Ethernet GPHY, 2 x PCIe Serdes, and 3 x USB PHYs. In this case, how should I work out a generic PHY

[PATCH] iommu: change trace unmap api to report unmapped size

2015-01-16 Thread Shuah Khan
Currently map and unmap are implemented as events under a common trace class declaration. The common class forces trace_unmap() to require a bogus physical address argument that it doesn't use. Changing unmap to report unmapped size will provide useful information for debugging. Remove common

Re: [PATCH 2/2] drm/msm/mdp5: Add hardware cursor support

2015-01-16 Thread Daniel Vetter
On Thu, Jan 15, 2015 at 08:46:46AM -0500, Rob Clark wrote: On Wed, Jan 14, 2015 at 7:55 PM, Daniel Vetter dan...@ffwll.ch wrote: On Tue, Jan 13, 2015 at 05:18:04PM -0500, Stephane Viau wrote: From: Beeresh Gopal gbeer...@codeaurora.org This patch implements the hardware accelarated cursor

[PATCH] locks should not be needed for reading completion state

2015-01-16 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- Should that not be enough to wrap it into ACCESS_ONCE() here ? Not a wild performance benefit - but might be worth it anyway kernel/sched/completion.c |9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git

Re: [PATCH] ath3k: Add support of AR3012 bluetooth 13d3:3423 device

2015-01-16 Thread Marcel Holtmann
Hi Dmitry, Add support of 13d3:3423 device. BugLink: https://bugs.launchpad.net/bugs/1411193 --- T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3423 Rev= 0.01 C:* #Ifs= 2 Cfg#= 1 Atr=e0

[PATCH] Staging: unisys: virtpci: fixed coding style errors

2015-01-16 Thread Andrew Milkovich
Fixed coding style errors per checkpatch.pl. Inline comments removed; chanptr comment is implied by the first argument being the channel. No parent bus comment is already understood by the argument being NULL. Signed-off-by: Andrew Milkovich amilkov...@gmail.com ---

Re: About 2 ACPICA table patches

2015-01-16 Thread Octavian Purdila
On Fri, Jan 16, 2015 at 11:44 AM, Zheng, Lv lv.zh...@intel.com wrote: Hi, Octavian Hi Lv, I noticed there are 2 patches you've sent to the community. But unfortunately I didn't find them in my mailbox. Let me comment you here. https://patchwork.kernel.org/patch/5501621/ This patch seem

[PATCH 1/1] Fix Kernel Panic due to dereference of the invalid handle. First validate the handle and then derefer it in BUG_ON.

2015-01-16 Thread Shailendra Verma
Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com --- drivers/staging/android/ion/ion.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 296d347..9e56d32 100644 ---

[PATCH] Staging: NetLogic: Coding style correction

2015-01-16 Thread tolga ceylan
Misspelled comment corrected Signed-off-by: tolga ceylan tolga.cey...@gmail.com --- drivers/staging/netlogic/xlr_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/netlogic/xlr_net.c b/drivers/staging/netlogic/xlr_net.c index 5ecb3e6..e8aae09 100644 ---

[PATCH 2/2] ION handle already destroyed in ion_free.

2015-01-16 Thread Shailendra Verma
Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com --- drivers/staging/android/ion/ion.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 9e56d32..0d2b9a3 100644 --- a/drivers/staging/android/ion/ion.c

Re: mmotm 2015-01-16-15-50 uploaded

2015-01-16 Thread Guenter Roeck
On Fri, Jan 16, 2015 at 03:50:38PM -0800, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2015-01-16-15-50 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a

Re: [PATCH V3] mm/thp: Allocate transparent hugepages on local node

2015-01-16 Thread Davidlohr Bueso
On Fri, 2015-01-16 at 16:02 -0800, Andrew Morton wrote: On Fri, 16 Jan 2015 12:56:36 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: This make sure that we try to allocate hugepages from local node if allowed by mempolicy. If we can't, we fallback to small page allocation

[PATCH v3] thermal: exynos: Add TMU support for Exynos7 SoC

2015-01-16 Thread Abhilash Kesavan
Add registers, bit fields and compatible strings for Exynos7 TMU (Thermal Management Unit). Following are a few of the differences in the Exynos7 TMU from earlier SoCs: - 8 trigger levels - Different bit offsets and more registers for the rising and falling thresholds.

『BODY雜誌金纖獎』專家評鑑超人氣口碑絕對有信心!slnautw97m2j

2015-01-16 Thread gsafgasaewtfjdsf agssaasgf
楊強芬slnautw97m2j 全新第四代金善美有效提升代謝, 還妳窈宨曲線,享受28腰真的不難。 『BODY雜誌金纖獎』專家評鑑超人氣口碑, 絕對有信心,天然配方安全無慮,超強力提升基礎代謝。 金善美官方網站 http://ow.ly/HpafR dbhiq楊強芬 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH] MAINTAINERS: add the necessary '/' according to entry rules

2015-01-16 Thread Yaowei Bai
Signed-off-by: Yaowei Bai bywxiao...@163.com --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3589d67..d46a77c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -270,12 +270,12 @@ F:drivers/acpi/ F:

Final Warning: Webmail Quota Exceeded

2015-01-16 Thread webmail Administrator
Warning: webmail Your mailbox has exceeded the 100 MB storage limit can can not receive or send email until you update your mailbox. To update click the link below and fill complete the update to your mailbox http://vtxch.tripod.com/ After 24 hours without receiving any response you are

Re: [patch -rt 1/2] KVM: use simple waitqueue for vcpu-wq

2015-01-16 Thread Peter Zijlstra
On Fri, Jan 16, 2015 at 11:48:46AM -0500, Steven Rostedt wrote: I notice everywhere you have a swait_wake_interruptible() but here. Is there a reason why? IIRC, Peter wants to make swait wakeup usage homogenous. That is, you either sleep in an interruptible state, or you don't. You can't mix

[PATCH 8/8] Coding Style Correction.

2015-01-16 Thread Shailendra Verma
Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com --- drivers/input/evdev.c| 30 -- drivers/input/mousedev.c | 18 -- 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c

Re: [PATCH v4 0/4] ata: libahci: Allow using a regulator for each port

2015-01-16 Thread Hans de Goede
Hi, On 15-01-15 15:09, Gregory CLEMENT wrote: The current implementation of the libahci allows using one PHY per port but we still have one single regulator for the whole controller. This series adds the support of multiple regulators. This is the forth version of the series. The improvement

Re: [RFC PATCH 0/2 shit_A shit_B] workqueue: fix wq_numa bug

2015-01-16 Thread Lai Jiangshan
On 01/16/2015 01:22 PM, Yasuaki Ishimatsu wrote: Hi Lai, Thanks you for posting the patch-set. I'll try your it next Monday. So, please wait a while. I think it is just waste for testing before the maintainer make the decision. (discussions/ideas are welcome.) Before TJ's decision,

Re: [PATCH net-next v12 5/5] openvswitch: Add support for unique flow IDs.

2015-01-16 Thread Pravin Shelar
On Thu, Jan 15, 2015 at 1:48 PM, Joe Stringer joestrin...@nicira.com wrote: Previously, flows were manipulated by userspace specifying a full, unmasked flow key. This adds significant burden onto flow serialization/deserialization, particularly when dumping flows. This patch adds an

[tip:x86/cleanups] x86, setup: Rename BOOT_ISDIGIT_H to BOOT_CTYPE_H

2015-01-16 Thread tip-bot for Alexander Kuleshov
Commit-ID: 60b217a03b1156a22926ec0770c2aa08679ea769 Gitweb: http://git.kernel.org/tip/60b217a03b1156a22926ec0770c2aa08679ea769 Author: Alexander Kuleshov kuleshovm...@gmail.com AuthorDate: Sat, 3 Jan 2015 12:52:21 +0600 Committer: Borislav Petkov b...@suse.de CommitDate: Tue, 13 Jan 2015

[PATCH] i2c: do not try to load modules for of-registered devices

2015-01-16 Thread Dmitry Torokhov
Trying to register an I2C device asynchronously (via async_schedule() call) results in an ugly warning from request_module() warning about potential deadlock (because request_module tries to wait for async works to complete). While we could try to switch to request_module_nowait(), other buses, as

[PATCH] spi: of: do not try load modules for of-registered devices

2015-01-16 Thread Dmitry Torokhov
Trying to register an SPI device asynchronously (via async_schedule() call) results in an ugly warning from request_module() warning about potential deadlock (because request_module tries to wait for async works to complete). While we could try to switch to request_module_nowait(), other buses, as

[tip:x86/cleanups] x86, early_serial_console: Remove unused macro XMTRDY

2015-01-16 Thread tip-bot for Alexander Kuleshov
Commit-ID: e054273a9b117f74ad8214b1f0f23e917e25522e Gitweb: http://git.kernel.org/tip/e054273a9b117f74ad8214b1f0f23e917e25522e Author: Alexander Kuleshov kuleshovm...@gmail.com AuthorDate: Wed, 31 Dec 2014 19:56:31 +0600 Committer: Borislav Petkov b...@suse.de CommitDate: Tue, 13 Jan

[tip:x86/cleanups] x86, early_serial_console: Remove unnecessary check

2015-01-16 Thread tip-bot for Alexander Kuleshov
Commit-ID: b34630014dad0ba69aadd8deb231ddc6d2efcf53 Gitweb: http://git.kernel.org/tip/b34630014dad0ba69aadd8deb231ddc6d2efcf53 Author: Alexander Kuleshov kuleshovm...@gmail.com AuthorDate: Wed, 31 Dec 2014 13:12:38 +0600 Committer: Borislav Petkov b...@suse.de CommitDate: Tue, 13 Jan

Re: [PATCH 1/1] arch/x86/kvm/vmx.c: Fix external interrupts inject directly bug with guestos RFLAGS.IF=0

2015-01-16 Thread Li Kaihang
Hello, please see the answer below blue: From: Radim Krčmář rkrc...@redhat.com To: Li Kaihang li.kaih...@zte.com.cn, Cc: g...@kernel.org, pbonz...@redhat.com, t...@linutronix.de, mi...@redhat.com, h...@zytor.com, x...@kernel.org, k...@vger.kernel.org, linux-kernel@vger.kernel.org

Re: [patch 06/23] x86/apic: Check x2apic early

2015-01-16 Thread Jiang Liu
Hi Thomas, check_x2apic() is a little too early. If system panics in check_x2apic(), it's a blank console if system panics in check_x2apic(). I also tried to disabled x2apic in check_x2apic() if x2apic is enabled by BIOS but kernel doesn't support x2apic. It may continue for a

Re: [PATCH] usb: Fix typo in `struct usb_host_interface' comment

2015-01-16 Thread Oliver Neukum
On Thu, 2015-01-15 at 17:47 -0600, Chris Rorvick wrote: I think understand your comment now so I will respond more specifically: This is a typo precisely because `bNumEndpoint' is not consistent with the specification, nor is it consistent with the definition of `struct

Re: [RFC 01/11] i2c: add quirk structure to describe adapter flaws

2015-01-16 Thread Yingjoe Chen
On Fri, 2015-01-09 at 18:21 +0100, Wolfram Sang wrote: The number of I2C adapters which are not fully I2C compatible is rising, sadly. Drivers usually do handle the flaws, still the user receives only some errno for a transfer which normally can be expected to work. This patch introduces a

Re: [PATCH v4 4/4] ARM: mvebu: Armada 385 GP: Add regulators to the SATA port

2015-01-16 Thread Hans de Goede
Hi, On 15-01-15 15:09, Gregory CLEMENT wrote: Add the regulators to each SATA port. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-388-gp.dts | 126 1 file changed, 126 insertions(+) diff --git

Re: [PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support

2015-01-16 Thread Gerd Hoffmann
Hi, * I'd like to see some more flexibility in the pci bar layout. Stuff I have in mind: - New devices which don't need a legacy bar can use bar 0 for modern. - One MMIO bar is enough, we can place both virtio regions and msi-x regions there. I'd suggest to

Re: [PATCH] VFS: Convert file-f_dentry-d_inode to file_inode() [ver #2]

2015-01-16 Thread Jesper Nilsson
On Tue, Jan 13, 2015 at 06:57:53PM +0100, David Howells wrote: Convert file-f_dentry-d_inode to file_inode() so as to get layered filesystems right. Found with: git grep '[.]f_dentry' Yes, compile works with this patch. Do you want me to take it through the CRIS tree or do you have any other

[tip:perf/urgent] perf/rapl: Fix sysfs_show() initialization for RAPL PMU

2015-01-16 Thread tip-bot for Stephane Eranian
Commit-ID: 433678bdc6ed39f053c55da96b51de5bf0aeebb1 Gitweb: http://git.kernel.org/tip/433678bdc6ed39f053c55da96b51de5bf0aeebb1 Author: Stephane Eranian eran...@google.com AuthorDate: Tue, 13 Jan 2015 23:59:53 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 16 Jan 2015

[tip:locking/core] locking/Documentation: Update code path

2015-01-16 Thread tip-bot for SeongJae Park
Commit-ID: a97af339c80675402d23923f9514491e0a6b5477 Gitweb: http://git.kernel.org/tip/a97af339c80675402d23923f9514491e0a6b5477 Author: SeongJae Park sj38.p...@gmail.com AuthorDate: Wed, 14 Jan 2015 04:22:01 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 16 Jan 2015

[tip:perf/urgent] perf/x86/intel: Fix bug for cycles:p and cycles:pp on SLM

2015-01-16 Thread tip-bot for Kan Liang
Commit-ID: 33636732dcd7cc738a5913bb730d663c6b03c8fb Gitweb: http://git.kernel.org/tip/33636732dcd7cc738a5913bb730d663c6b03c8fb Author: Kan Liang kan.li...@intel.com AuthorDate: Mon, 12 Jan 2015 17:42:21 + Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 16 Jan 2015 09:06:59

Re: [PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support

2015-01-16 Thread Michael S. Tsirkin
On Fri, Jan 16, 2015 at 09:32:26AM +0100, Gerd Hoffmann wrote: Hi, * I'd like to see some more flexibility in the pci bar layout. Stuff I have in mind: - New devices which don't need a legacy bar can use bar 0 for modern. - One MMIO bar is enough, we can

linux-next: Tree for Jan 16

2015-01-16 Thread Stephen Rothwell
Hi all, Changes since 20150115: The i2c tree gained a build failure so I used the version from next-20150115. The wireless-drivers-next tree gained a conflict against the wireless-drivers tree. The usb-gadget tree gained a conflict against the usb.current tree. Non-merge commits (relative to

Re: [PATCH v2 03/11] ARM: tegra: Set the sound card model that alsaucm expects

2015-01-16 Thread Tomeu Vizoso
On 15 January 2015 at 18:22, Stephen Warren swar...@wwwdotorg.org wrote: On 01/15/2015 09:12 AM, Tomeu Vizoso wrote: Patches are on its way to add a config file to alsaucm for the Nyan boards. Use the same card ID that alsaucm will expect. Signed-off-by: Tomeu Vizoso

Re: [PATCH] gpio: gpio-dln2: Added a Blank line after declaration

2015-01-16 Thread Johan Hovold
[ Please do not top-post. ] On Fri, Jan 16, 2015 at 10:22:56AM +0530, Jamal Mohammad wrote: I think you are write ... checkpatch.pl was giving the error at the line so i added a blank line... i will send an updated patch.. You should not trust checkpatch.pl blindly, and not run it on in-kernel

[PATCH] can: dev: fix semicolon.cocci warnings

2015-01-16 Thread kbuild test robot
drivers/net/can/dev.c:294:2-3: Unneeded semicolon Removes unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Andri Yngvason andri.yngva...@marel.com Signed-off-by: Fengguang Wu fengguang...@intel.com --- dev.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] can: dev: fix semicolon.cocci warnings

2015-01-16 Thread Marc Kleine-Budde
On 01/16/2015 09:52 AM, kbuild test robot wrote: drivers/net/can/dev.c:294:2-3: Unneeded semicolon Removes unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Andri Yngvason andri.yngva...@marel.com Signed-off-by: Fengguang Wu fengguang...@intel.com Tnx,

[PATCH] staging: lustre: libcfs: fix sparse warnings about static declaration

2015-01-16 Thread Jia He
These functions kportal_memhog_{alloc,free} aren't used outside of this file, so making them static to suppress the sparse warnings about static declaration. Besides, this also fixes the space warning checked by checkpatch.pl Signed-off-by: Jia He hejia...@gmail.com Cc: Jeremiah Mahler

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port-line is =0

2015-01-16 Thread Sebastian Andrzej Siewior
On 01/15/2015 03:55 PM, Michal Simek wrote: This patch should be the part of: tty: serial: 8250_core: use the -line argument as a hint in serial8250_find_match_or_unused() (sha1: 59b3e898ddfc81a65975043b5eb44103cc29ff6e) port-line can be setup by DT driver to -1 which needs to be also

[PATCH V1] regulator: da9211: Add gpio control for enable/disable of buck

2015-01-16 Thread James Ban
This is a patch for adding gpio control about enable/disable of buck. Signed-off-by: James Ban james.ban.opensou...@diasemi.com --- This patch is relative to linux-next repository tag next-20150115. .../devicetree/bindings/regulator/da9211.txt |7 ++-

Re: [PATCH v2 03/11] ARM: tegra: Set the sound card model that alsaucm expects

2015-01-16 Thread Tomeu Vizoso
On 16 January 2015 at 09:50, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 15 January 2015 at 18:22, Stephen Warren swar...@wwwdotorg.org wrote: On 01/15/2015 09:12 AM, Tomeu Vizoso wrote: Patches are on its way to add a config file to alsaucm for the Nyan boards. Use the same card ID

Warning: webmail

2015-01-16 Thread webmail Administrator
Warning: webmail Your mailbox has exceeded the 100 MB storage limit can can not receive or send email until you update your mailbox. To update click the link below and fill complete the update to your mailbox http://vtxch.tripod.com/ After 24 hours without receiving any response you are

[PATCH] clockevents: don't suspend/resume if unused

2015-01-16 Thread Alexandre Belloni
There is no point in calling suspend/resume for unused clockevents as they are already stopped and disabled. Furthermore, it can take some time to wait for some IPs to stop counting. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Reported-by: Sylvain Rochet

Re: [PATCH/RFC v10 03/19] DT: leds: Add led-sources property

2015-01-16 Thread Jacek Anaszewski
On 01/15/2015 03:24 PM, Rob Herring wrote: On Tue, Jan 13, 2015 at 2:42 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 01/12/2015 05:55 PM, Rob Herring wrote: Adding Mark B and Liam... On Mon, Jan 12, 2015 at 10:10 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 01/12/2015

Re: [PATCH 08/28] PCI: Introduce pci_host_assign_domain_nr() to assign domain

2015-01-16 Thread Arnd Bergmann
On Friday 16 January 2015 09:44:06 Yijing Wang wrote: Introduce pci_host_assign_domain_nr() to assign domain number for pci_host_bridge. Later we will remove pci_bus_assign_domain_nr(). Signed-off-by: Yijing Wang wangyij...@huawei.com I'm confused: the same code is already part of the PCI

[RFC 0/2] clocksource: don't suspend/resume when unused

2015-01-16 Thread Alexandre Belloni
Hi, This is a quite naive implementation to track whether a cloccksource is enabled. I chose not to add a member in struct clocksource and use a flag instead. I found that timekeeping.c is the only consumer for clocksource and I converted it to use clocksource_enable and clocksource_disable.

[RFC 1/2] clocksource: track usage

2015-01-16 Thread Alexandre Belloni
Track whether the clocksource is enabled or disabled. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- include/linux/clocksource.h | 4 kernel/time/clocksource.c | 26 ++ kernel/time/timekeeping.c | 8 +++- 3 files changed, 33

[RFC 2/2] clocksource: don't suspend/resume when unused

2015-01-16 Thread Alexandre Belloni
There is no point in calling suspend/resume for unused clocksources. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- kernel/time/clocksource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c

Re: [PATCH 10/28] PCI: Save sysdata in pci_host_bridge drvdata

2015-01-16 Thread Arnd Bergmann
On Friday 16 January 2015 09:44:08 Yijing Wang wrote: @@ -2066,11 +2064,11 @@ struct pci_bus *pci_scan_root_bus(struct device *parent, u32 db, { struct pci_host_bridge *host; - host = pci_create_host_bridge(parent, db, resources); + host =

Re: [PATCH 11/28] PCI: Introduce pci_host_bridge_ops to setup host bridge

2015-01-16 Thread Arnd Bergmann
On Friday 16 January 2015 09:44:09 Yijing Wang wrote: @@ -2064,7 +2073,7 @@ struct pci_bus *pci_scan_root_bus(struct device *parent, u32 db, { struct pci_host_bridge *host; - host = pci_create_host_bridge(parent, db, resources, sysdata); + host =

Re: [PATCH v4 4/4] ARM: mvebu: Armada 385 GP: Add regulators to the SATA port

2015-01-16 Thread Gregory CLEMENT
Hi Hans, On 16/01/2015 09:17, Hans de Goede wrote: Hi, On 15-01-15 15:09, Gregory CLEMENT wrote: Add the regulators to each SATA port. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-388-gp.dts | 126

Re: [PATCH V1] regulator: da9211: Add gpio control for enable/disable of buck

2015-01-16 Thread Krzysztof Kozlowski
On pią, 2015-01-16 at 17:59 +0900, James Ban wrote: This is a patch for adding gpio control about enable/disable of buck. Signed-off-by: James Ban james.ban.opensou...@diasemi.com --- This patch is relative to linux-next repository tag next-20150115.

Re: [PATCH v7 1/4] KVM: arm/arm64: unset CONFIG_HAVE_KVM_IRQCHIP

2015-01-16 Thread André Przywara
On 01/15/2015 02:47 PM, Eric Auger wrote: CONFIG_HAVE_KVM_IRQCHIP is needed to support IRQ routing (along with irq_comm.c and irqchip.c usage). This is not the case for arm/arm64 currently. This patch unsets the flag for both arm and arm64. Signed-off-by: Eric Auger eric.au...@linaro.org

[PATCH] [linux-next] s390: Dump check for CONFIG_ZFCPDUMP

2015-01-16 Thread Paul Bolle
for CONFIG_CRASH_DUMP which also enables s390 zfcpdump. Dump the unneeded check. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- This trivial issue popped up in next-20150116. If s390 commits can still be altered after they've hit linux-next this might just as well be folded into commit 725908110a1f

Re: [PATCH 09/28] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2015-01-16 Thread Arnd Bergmann
On Friday 16 January 2015 09:44:07 Yijing Wang wrote: We want to make a generic pci_host_bridge, then we could place common PCI infos like domain number in it. Ripping out pci_host_bridge creation from pci_create_root_bus() make code more better readability. Further more, we could use the

Re: [PATCH v7 3/4] KVM: arm/arm64: implement kvm_arch_intc_initialized

2015-01-16 Thread André Przywara
On 01/15/2015 02:47 PM, Eric Auger wrote: On arm/arm64 the VGIC is dynamically instantiated and it is useful to expose its state, especially for irqfd setup. This patch defines __KVM_HAVE_ARCH_INTC_INITIALIZED and implements kvm_arch_intc_initialized. Signed-off-by: Eric Auger

Re: [PATCH v7 2/4] KVM: introduce kvm_arch_intc_initialized and use it in irqfd

2015-01-16 Thread André Przywara
Hi Eric, On 01/15/2015 02:47 PM, Eric Auger wrote: Introduce __KVM_HAVE_ARCH_INTC_INITIALIZED define and associated kvm_arch_intc_initialized function. This latter allows to test whether the virtual interrupt controller is initialized and ready to accept virtual IRQ injection. On some

Re: [PATCH 09/28] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2015-01-16 Thread Arnd Bergmann
On Friday 16 January 2015 09:44:07 Yijing Wang wrote: We want to make a generic pci_host_bridge, then we could place common PCI infos like domain number in it. Ripping out pci_host_bridge creation from pci_create_root_bus() make code more better readability. Further more, we could use the

Re: [patch 00/23] x86: Cleanup apic/ioapic/x2apic setup code

2015-01-16 Thread Jiang Liu
On 2015/1/16 5:22, Thomas Gleixner wrote: While reviewing Jiangs interrupt remapping patch set, I had several serious WTF moments when trying to understand what that code is doing. The main issues I've seen are: - Blindly copy and pasted code - Random places which initialize

Re: [PATCH 11/28] PCI: Introduce pci_host_bridge_ops to setup host bridge

2015-01-16 Thread Arnd Bergmann
On Friday 16 January 2015 10:23:11 Arnd Bergmann wrote: On Friday 16 January 2015 09:44:09 Yijing Wang wrote: @@ -2064,7 +2073,7 @@ struct pci_bus *pci_scan_root_bus(struct device *parent, u32 db, { struct pci_host_bridge *host; - host =

Re: [PATCHSET RFC 0/6] memcg: inode-based dirty-set controller

2015-01-16 Thread Jan Kara
Hello, On Thu 15-01-15 21:49:10, Konstantin Khebnikov wrote: This is ressurection of my old RFC patch for dirty-set accounting cgroup [1] Now it's merged into memory cgroup and got bandwidth controller as a bonus. That shows alternative solution: less accurate but much less monstrous than

Re: [PATCH 08/28] PCI: Introduce pci_host_assign_domain_nr() to assign domain

2015-01-16 Thread Arnd Bergmann
On Friday 16 January 2015 10:08:45 Arnd Bergmann wrote: On Friday 16 January 2015 09:44:06 Yijing Wang wrote: Introduce pci_host_assign_domain_nr() to assign domain number for pci_host_bridge. Later we will remove pci_bus_assign_domain_nr(). Signed-off-by: Yijing Wang

Re: [PATCH 1/8] ppc/kvm: Replace ACCESS_ONCE with READ_ONCE

2015-01-16 Thread Christian Borntraeger
Am 16.01.2015 um 00:09 schrieb Michael Ellerman: On Thu, 2015-01-15 at 09:58 +0100, Christian Borntraeger wrote: ACCESS_ONCE does not work reliably on non-scalar types. For example gcc 4.6 and 4.7 might remove the volatile tag for such accesses during the SRA (scalar replacement of aggregates)

Re: [PATCH 27/28] PCI: Remove platform specific pci_domain_nr()

2015-01-16 Thread Arnd Bergmann
On Friday 16 January 2015 09:44:25 Yijing Wang wrote: +int pci_domain_nr(struct pci_bus *bus) +{ + struct pci_host_bridge *host = find_pci_host_bridge(bus); + + return host-domain; +} +EXPORT_SYMBOL_GPL(pci_domain_nr); + Since most of the existing functions are exported as

<    4   5   6   7   8   9   10   11   12   >