Re: [PATCH 06/27] drivers/i2c/busses: don't check resource with devm_ioremap_resource

2013-08-07 Thread Wolfram Sang
On Tue, Jul 23, 2013 at 08:01:39PM +0200, Wolfram Sang wrote: devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-07 Thread Johannes Weiner
On Wed, Aug 07, 2013 at 03:58:28PM +0100, Mel Gorman wrote: On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: Each zone that holds userspace pages of one workload must be aged at a speed proportional to the zone size. Otherwise, the time an individual page gets to stay in

Re: [PATCH 00/26] STA2X11 devicetree support for amba/pci

2013-08-07 Thread H. Peter Anvin
On 08/07/2013 03:16 AM, Alessandro Rubini wrote: Some of the problems he found are: * Passing a dtb to the kernel: we use a modified kexec at present because x86 boot loaders can't pass the DT blob, to our knowledge. * Passing correct irq numbers to the AMBA drivers,

Re: [PATCH 4/4] fuse: drop dentry on failed revalidate

2013-08-07 Thread Miklos Szeredi
On Tue, Aug 6, 2013 at 10:06 PM, Anand Avati av...@redhat.com wrote: On 8/6/13 7:30 AM, Miklos Szeredi wrote: From: Anand Avati av...@redhat.com Drop a subtree when we find that it has moved or been delated. This can be done as long as there are no submounts under this location. If the

Re: OPP: rename functions? (was [PATCH] OPP: Export opp_add())

2013-08-07 Thread Nishanth Menon
Rafael, offline question: On 08/06/2013 09:15 AM, Rafael J. Wysocki wrote: On Tuesday, August 06, 2013 08:08:20 AM Nishanth Menon wrote: change in subject to reflect new discussion. On 05:53-20130806, Randy Dunlap wrote: On 08/03/2013 02:25 AM, Viresh Kumar wrote:

Re: [PATCH v2] [SCSI] sg: Fix user memory corruption when SG_IO is interrupted by a signal

2013-08-07 Thread Roland Dreier
On Wed, Aug 7, 2013 at 7:38 AM, David Milburn dmilb...@redhat.com wrote: I was able to succesfully test this patch overnight, I had been experimenting with the sg driver setting the BIO_NULL_MAPPED flag in sg_rq_end_io_usercontext for a orphan process which prevented the corruption, but

[PATCH v2] mm: make lru_add_drain_all() selective

2013-08-07 Thread Chris Metcalf
This change makes lru_add_drain_all() only selectively interrupt the cpus that have per-cpu free pages that can be drained. This is important in nohz mode where calling mlockall(), for example, otherwise will interrupt every core unnecessarily. Signed-off-by: Chris Metcalf cmetc...@tilera.com

[PATCH v3 2/5] sata highbank: enable 64-bit DMA mask when using LPAE

2013-08-07 Thread Mark Langsdorf
From: Rob Herring rob.herr...@calxeda.com Signed-off-by: Rob Herring rob.herr...@calxeda.com Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- Changes from v1, v2 None. drivers/ata/sata_highbank.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v3 4/5] sata, highbank: set tx_atten override bits

2013-08-07 Thread Mark Langsdorf
Some board designs do not drive the SATA transmit lines within the specification. The ECME can provide override settings, on a per board basis, to bring the transmit lines within spec. Read those settings from the DTB and program them in. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com

Re: unused swap offset / bad page map.

2013-08-07 Thread Dave Jones
void __lru_cache_add(struct page *page) { struct pagevec *pvec = get_cpu_var(lru_add_pvec); page_cache_get(page); if (!pagevec_space(pvec)) __pagevec_lru_add(pvec); pagevec_add(pvec, page); put_cpu_var(lru_add_pvec); } I added a printk,

[PATCH v3 5/5] sata, highbank: send extra clock cycles in SGPIO patterns

2013-08-07 Thread Mark Langsdorf
Some SGPIO PICs don't follow the standard very well and expect a certain number of clock cycles or port frames in each SGPIO pattern. Add two optional parameters in the DTB that can provide the number of extra clock cycles to be sent before and after SGPIO pattern. Read those parameters from the

[PATCH v3 1/5] sata, highbank: fix ordering of SGPIO signals

2013-08-07 Thread Mark Langsdorf
The ACTIVITY and ERROR signals were reversed in the original commit. Fix that so that hard drive activity does not show up on the error light, and attempts to indicate that the hard drive is failing do not show up as hard drive activity. This fixes a fairly serious functional bug in the driver,

[PATCH v3 3/5] devicetree: create a separate binding description for sata_highbank

2013-08-07 Thread Mark Langsdorf
The Calxeda sata_highbank driver has been adding its descriptions to the ahci driver. Separate them properly. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com Acked-by: Rob Herring rob.herr...@calxeda.com --- Changes from v2 Fixed some indenting. Changes from v1 None.

Re: [PATCH] pinctrl: msm: Add support for MSM TLMM pinmux

2013-08-07 Thread Stephen Warren
On 08/06/2013 05:45 PM, Hanumant Singh wrote: On 7/31/2013 5:17 PM, Hanumant Singh wrote: On 7/31/2013 2:06 PM, Stephen Warren wrote: On 07/31/2013 01:46 PM, Hanumant Singh wrote: On 7/30/2013 8:59 PM, Stephen Warren wrote: On 07/30/2013 06:13 PM, Hanumant Singh wrote: On 7/30/2013 5:08 PM,

Re: [PATCH] ARM: dts: Fix memory node in skeleton64.dtsi

2013-08-07 Thread Jason Cooper
On Wed, Aug 07, 2013 at 08:23:06AM +0200, Gregory CLEMENT wrote: On 07/08/2013 03:33, Stepan Moskovchenko wrote: Update the reg property of the memory node in skeleton64.dtsi to reflect the fact that the root node uses address-cells=2 and size-cells=2. Good catch Acked-by: Gregory

Re: [PATCH 2/2] ARM: dt: t114 dalmore: add dt entry for nct1008

2013-08-07 Thread Stephen Warren
On 08/07/2013 12:52 AM, Wei Ni wrote: Enable thermal sensor nct1008 for t114 dalmore. Wei, I assume this patch doesn't depend on any of the other LM90-related patches you've sent; I can simply apply it right away? Is the LM90 DT binding fully documented somewhere, including the vdd-supply

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-07 Thread Mathieu Desnoyers
* Steven Rostedt (rost...@goodmis.org) wrote: On Wed, 2013-08-07 at 07:06 +0200, Ondřej Bílka wrote: Add short_counter,long_counter and before increment counter before each jump. That way we will know how many short/long jumps were taken. That's not trivial at all. The jump is a single

Re: [PATCH 1/2] hwmon: (lm90) Add power control

2013-08-07 Thread Stephen Warren
On 08/07/2013 03:35 AM, Wei Ni wrote: On 08/07/2013 04:45 PM, Alexander Shiyan wrote: On 08/07/2013 03:50 PM, Guenter Roeck wrote: On 08/07/2013 12:32 AM, Wei Ni wrote: On 08/07/2013 03:27 PM, Alexander Shiyan wrote: The device lm90 can be controlled by the vdd rail. Adding the power control

Re: linux-next: Tree for Aug 7

2013-08-07 Thread Phil Sutter
environment. Hannes confirmed that virtio_net are solved, too. Today's next-20130807 still needs it for affected people. - Sedat - [1] http://marc.info/?l=linux-netdevm=137582524017840w=2 [2] http://marc.info/?l=linux-netdevm=137583048219416w=2 [3] http://marc.info/?t=13757971288r=1w=2

Re: WARNING: CPU: 26 PID: 93793 at fs/ext4/inode.c:230 ext4_evict_inode+0x4c9/0x500 [ext4]() still in 3.11-rc3

2013-08-07 Thread Guenter Roeck
On 08/07/2013 08:33 AM, Jan Kara wrote: On Wed 07-08-13 08:27:32, Guenter Roeck wrote: On 08/07/2013 08:20 AM, Jan Kara wrote: On Thu 01-08-13 20:58:46, Davidlohr Bueso wrote: On Thu, 2013-08-01 at 22:33 +0200, Jan Kara wrote: Hi, On Thu 01-08-13 13:14:19, Davidlohr Bueso wrote: FYI I'm

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-07 Thread Thomas Petazzoni
Dear Boris BREZILLON, On Wed, 7 Aug 2013 12:14:26 +0200, Boris BREZILLON wrote: This patch splits the sam9x5 peripheral definitions into: - a common base for all sam9x5 SoCs (at91sam9x5.dtsi) - several optional peripheral definitions which will be included by specific sam9x5 SoCs

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-07 Thread Steven Rostedt
On Wed, 2013-08-07 at 12:03 -0400, Mathieu Desnoyers wrote: You might want to try creating a global array of counters (accessible both from C for printout and assembly for update). Index the array from assembly using: (2f - 1f) 1: jmp ...; 2: And put an atomic increment of

Re: [PATCH v3 3/5] devicetree: create a separate binding description for sata_highbank

2013-08-07 Thread Kumar Gala
On Aug 7, 2013, at 10:52 AM, Mark Langsdorf wrote: The Calxeda sata_highbank driver has been adding its descriptions to the ahci driver. Separate them properly. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com Acked-by: Rob Herring rob.herr...@calxeda.com --- Changes from v2

[RFC v02 1/5] PowerCap: Documentation

2013-08-07 Thread Srinivas Pandruvada
Added power cap framework documentation. This explains the use of power capping framework, sysfs and programming interface. There are two documents: Documentation/powercap/PowerCappingFramework.txt: Explains use case and API in details. Documentation/ABI/testing/sysfs-class-powercap: Explains

Re: linux-next: Tree for Aug 7

2013-08-07 Thread Johannes Berg
On Wed, 2013-08-07 at 17:59 +0200, Phil Sutter wrote: The idea behind this patch is that users setting the protocol to something else probably do know better and so should be left alone. Regardless of that, I think that still the skb pointers would be changed by this patch which would confuse

[RFC v02 0/5] Power Capping Framework and RAPL Driver

2013-08-07 Thread Srinivas Pandruvada
Overview With the evolution of technologies, which enables power monitoring and limiting, more and more devices are able to constrain their power consumption under certain limits. There are several use cases for such technologies: - Power monitoring: Each device can report its power consumption.

[RFC v02 4/5] x86/msr: add 64bit _on_cpu access functions

2013-08-07 Thread Srinivas Pandruvada
From: Jacob Pan jacob.jun@linux.intel.com Having 64-bit MSR access methods on given CPU can avoid shifting and simplify MSR content manipulation. We already have other combinations of rdmsrl_xxx and wrmsrl_xxx but missing the _on_cpu version. Signed-off-by: Jacob Pan

[RFC v02 5/5] Introduce Intel RAPL power capping driver

2013-08-07 Thread Srinivas Pandruvada
From: Jacob Pan jacob.jun@linux.intel.com RAPL(Running Average Power Limit) interface provides platform software with the ability to monitor, control, and get notifications on SOC power consumptions. Since its first appearance on Sandy Bridge, more features have being added to extend its

[PATCH] SPI: Set SPI bits per words in an OF DeviceTree SPI node

2013-08-07 Thread Christophe Leroy
This patch allows to set up the bits per word together with all other SPI parameters in the SPI Node of the OF device tree In the node, you then have to include the 'spi-bits' property. Exemple: fpga-loader@7 { compatible = cs,fpga-loader;

Re: [PATCH 5/5] arm: omap: Proper cleanups for omap_device

2013-08-07 Thread Tony Lindgren
* Pantelis Antoniou pa...@antoniou-consulting.com [130806 02:44]: On Aug 6, 2013, at 12:33 PM, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 10:53:44AM +0300, Pantelis Antoniou wrote: + static int _omap_device_notifier_call(struct notifier_block *nb,

[RFC v02 2/5] PowerCap: Add class driver

2013-08-07 Thread Srinivas Pandruvada
Added power cap class driver, which provides an API for client drivers to use and provide a consistant sysfs interface to user mode. For details on API refer to PowerCappingFramework.txt under Documentation/powercap. Signed-off-by: Srinivas Pandruvada srinivas.pandruv...@linux.intel.com

[RFC v02 3/5] PowerCap: Added to drivers build

2013-08-07 Thread Srinivas Pandruvada
Added changes to Makefile and Kconfig to include in driver build. Signed-off-by: Srinivas Pandruvada srinivas.pandruv...@linux.intel.com --- drivers/Kconfig | 2 ++ drivers/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/Kconfig b/drivers/Kconfig index 9953a42..89ff2f8

Re: [PATCH v2] [SCSI] sg: Fix user memory corruption when SG_IO is interrupted by a signal

2013-08-07 Thread David Milburn
Roland Dreier wrote: On Wed, Aug 7, 2013 at 7:38 AM, David Milburn dmilb...@redhat.com wrote: I was able to succesfully test this patch overnight, I had been experimenting with the sg driver setting the BIO_NULL_MAPPED flag in sg_rq_end_io_usercontext for a orphan process which prevented the

Re: [PATCH] clocksource: add an menu item to Kconfig

2013-08-07 Thread John Stultz
On 08/07/2013 03:56 AM, Sebastian Andrzej Siewior wrote: This patch adds a menu item to clocksource' Kconfig file. Without it the changeable items look somehow lost in the main drivers' menu So I'd like to push back on this a bit and ask why we need user-visible clocksource config options?

Re: [PATCH v8 06/12] ARM: dts: Add description of System MMU of Exynos SoCs

2013-08-07 Thread Grant Grundler
On Wed, Aug 7, 2013 at 5:07 AM, Cho KyongHo pullip@samsung.com wrote: ... I don't understand how this is possible. Can someone explain this better in the IOMMU documentation please? System MMU is dedicated to a master H/W such as FIMD and FIMC. Sory - Exynos 5250 documentation I have

Re: linux-next: Tree for Aug 7

2013-08-07 Thread Johannes Berg
On Wed, 2013-08-07 at 09:17 -0700, Eric Dumazet wrote: On Wed, 2013-08-07 at 18:12 +0200, Johannes Berg wrote: On Wed, 2013-08-07 at 17:59 +0200, Phil Sutter wrote: The idea behind this patch is that users setting the protocol to something else probably do know better and so should be

Re: [PATCH 5/5] arm: omap: Proper cleanups for omap_device

2013-08-07 Thread Pantelis Antoniou
Hi Tony, On Aug 7, 2013, at 7:15 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130806 02:44]: On Aug 6, 2013, at 12:33 PM, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 10:53:44AM +0300, Pantelis Antoniou wrote: + static int

Re: [PATCH] pinctrl: rockchip: include correct clk header

2013-08-07 Thread Linus Walleij
On Tue, Jul 23, 2013 at 1:34 PM, Heiko Stübner he...@sntech.de wrote: The correct header to include for clock handling is clk.h . clk-provider.h should not be used in simple clock consumers. Signed-off-by: Heiko Stuebner he...@sntech.de Patch applied. Yours, Linus Walleij -- To unsubscribe

Re: [PATCH 1/2] kernel/sys.c: return the current gid when error occurs

2013-08-07 Thread Oleg Nesterov
On 08/06, Andy Lutomirski wrote: I assume that what the man page means is that the return value is whatever fsgid was prior to the call. On error, fsgid isn't changed, so the return value is still current. Probably... Still On success, the previous value of fsuid is returned.

[PATCH] ARM: at91: add missing uart clocks DT entries

2013-08-07 Thread Boris BREZILLON
Add clocks to clock lookup table for uart DT entries. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/mach-at91/at91sam9x5.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c index 2abee66..916e5a1

Re: [PATCH 01/23] radix-tree: implement preload for multiple contiguous elements

2013-08-07 Thread Kirill A. Shutemov
Jan Kara wrote: On Sun 04-08-13 05:17:03, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com The radix tree is variable-height, so an insert operation not only has to build the branch to its corresponding item, it also has to build the branch to existing

Re: [PATCH 1/3 v5] usb: phy-samsung-usb: Simplify PMU register handling

2013-08-07 Thread Mark Rutland
On Tue, Aug 06, 2013 at 07:00:17PM +0100, Julius Werner wrote: This patch simplifies the way the phy-samsung-usb code finds the correct power management register to enable PHY clock gating. Previously, the code would calculate the register address from a device tree supplied base address and

Re: [PATCH] clocksource: add an menu item to Kconfig

2013-08-07 Thread Sebastian Andrzej Siewior
On 08/07/2013 06:21 PM, John Stultz wrote: On 08/07/2013 03:56 AM, Sebastian Andrzej Siewior wrote: This patch adds a menu item to clocksource' Kconfig file. Without it the changeable items look somehow lost in the main drivers' menu So I'd like to push back on this a bit and ask why we need

Re: [PATCH] pinctrl: pinmux: Don't free pins requested by other devices

2013-08-07 Thread Linus Walleij
On Wed, Jul 17, 2013 at 7:31 AM, Sonic Zhang sonic@gmail.com wrote: I'd like Stephen and Axel to have a look at this as well... From: Sonic Zhang sonic.zh...@analog.com in pinmux_disable_setting after current device fails to request the same pins. Signed-off-by: Sonic Zhang

Re: [PATCH v2] [SCSI] sg: Fix user memory corruption when SG_IO is interrupted by a signal

2013-08-07 Thread Douglas Gilbert
On 13-08-07 11:50 AM, Roland Dreier wrote: On Wed, Aug 7, 2013 at 7:38 AM, David Milburn dmilb...@redhat.com wrote: I was able to succesfully test this patch overnight, I had been experimenting with the sg driver setting the BIO_NULL_MAPPED flag in sg_rq_end_io_usercontext for a orphan

Re: [PATCH 4/4] fuse: drop dentry on failed revalidate

2013-08-07 Thread Anand Avati
On 8/7/13 8:44 AM, Miklos Szeredi wrote: On Tue, Aug 6, 2013 at 10:06 PM, Anand Avati av...@redhat.com wrote: On 8/6/13 7:30 AM, Miklos Szeredi wrote: From: Anand Avati av...@redhat.com Drop a subtree when we find that it has moved or been delated. This can be done as long as there are no

Re: linux-next: Tree for Aug 7

2013-08-07 Thread Eric Dumazet
On Wed, 2013-08-07 at 18:12 +0200, Johannes Berg wrote: On Wed, 2013-08-07 at 17:59 +0200, Phil Sutter wrote: The idea behind this patch is that users setting the protocol to something else probably do know better and so should be left alone. Regardless of that, I think that still the

Re: [PATCH] ARM: dts: Fix memory node in skeleton64.dtsi

2013-08-07 Thread Jason Cooper
On Tue, Aug 06, 2013 at 06:33:06PM -0700, Stepan Moskovchenko wrote: Update the reg property of the memory node in skeleton64.dtsi to reflect the fact that the root node uses address-cells=2 and size-cells=2. Change-Id: Ie9b61166143969e020ceebc51e9a384405d8c0f2 Signed-off-by: Stepan

Re: [PATCH V4] drivers/rtc/rtc-palmas.c: support for backup battery charging

2013-08-07 Thread Mark Rutland
On Wed, Aug 07, 2013 at 11:29:52AM +0100, Laxman Dewangan wrote: Palmas series device like TPS65913, TPS80036 supports the backup battery for powering the RTC when no other energy source is available. The backup battery is optional, connected to the VBACKUP pin, and can be nonrechargeable or

Re: [PATCH 1/2] hwmon: (lm90) Add power control

2013-08-07 Thread Guenter Roeck
On Wed, Aug 07, 2013 at 10:06:30AM -0600, Stephen Warren wrote: On 08/07/2013 03:35 AM, Wei Ni wrote: On 08/07/2013 04:45 PM, Alexander Shiyan wrote: On 08/07/2013 03:50 PM, Guenter Roeck wrote: On 08/07/2013 12:32 AM, Wei Ni wrote: On 08/07/2013 03:27 PM, Alexander Shiyan wrote: The

Re: [PATCH 1/6] clk: Tegra: Add CPU0 clock driver

2013-08-07 Thread Mike Turquette
Quoting Viresh Kumar (2013-08-07 07:46:43) This patch adds CPU0's clk driver for Tegra. It will be used by the generic cpufreq-cpu0 driver to get/set cpu clk. Most of the platform specific bits are picked from tegra-cpufreq.c. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org Hi Viresh,

Re: [PATCH v2 1/2] ALSA: Added jack detection KControl support

2013-08-07 Thread Mark Brown
On Fri, Aug 02, 2013 at 12:59:24AM -0700, Felipe F. Tonello wrote: +int jack_ctl_integer_info(struct snd_kcontrol *kcontrol, + struct snd_ctl_elem_info *uinfo) +{ + uinfo-type = SNDRV_CTL_ELEM_TYPE_INTEGER; + uinfo-count = 0x1U; +

Re: [PATCH 1/1] module: fix sprintf format specifier in param_get_byte()

2013-08-07 Thread Jon Mason
On Wed, Aug 07, 2013 at 04:13:57PM +0930, Rusty Russell wrote: Christoph Jaeger christophjae...@linux.com writes: In param_get_byte(), to which the macro STANDARD_PARAM_DEF(byte, ...) expands, %c is used to print an unsigned char. So it gets printed as a character what is not intended

[PATCH 3/4] x86/jump-label: Add safety checks to jump label conversions

2013-08-07 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com As with all modifying of kernel text, we need to be very paranoid. When converting the jump label locations to and from nops to jumps a check has been added to make sure what we are replacing is what we expect, otherwise we bug. Cc: H. Peter Anvin

[PATCH 2/4] x86/jump-label: Do not bother updating nops if they are correct

2013-08-07 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com On boot up, the jump label init function scans all the jump label locations and converts them to the best nop for the machine. If the nop is already the ideal nop, do not bother with changing it. Cc: Jason Baron jba...@redhat.com Cc: H. Peter Anvin

Re: [PATCH 7/8] rcu: add # of deferred _special() statistics

2013-08-07 Thread Paul E. McKenney
On Wed, Aug 07, 2013 at 06:25:03PM +0800, Lai Jiangshan wrote: Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/rcutree.h|1 + kernel/rcutree_plugin.h |1 + kernel/rcutree_trace.c |1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git

Re: linux-next: Tree for Aug 7

2013-08-07 Thread Eric Dumazet
On Wed, 2013-08-07 at 18:22 +0200, Johannes Berg wrote: Maybe. I haven't tested it, but I'm thinking that skb-data doesn't point to the start of the data frame in this case, since we now call eth_type_trans() which pulls the ethernet header. So if the device just transmits skb-len starting

[PATCH 0/4] [GIT PULL][3.12] x86/jump-label: Clean ups and safety checks

2013-08-07 Thread Steven Rostedt
Peter, These 4 patches were taken from the patchset that did the 2-5 byte jumps, but had nothing to do with the 2-5 byte jumps itself. They were clean ups and safety checks that were needed for the jump code. Although the 2-5 byte jump code is controversial, these cleanups are not. The first

[PATCH 1/4] x86/jump-label: Use best default nops for inital jump label calls

2013-08-07 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com As specified by H. Peter Anvin, the best nops for x86 without knowing the running computer is: 32bit: 0x3e, 0x8d, 0x74, 0x26, 0x00 also known as GENERIC_NOP5_ATOMIC 64bit: 0x0f, 0x1f, 0x44, 0x00, 0x00 also known as P6_NOP5_ATOMIC Currently the

Re: [RFC v02 5/5] Introduce Intel RAPL power capping driver

2013-08-07 Thread Joe Perches
On Wed, 2013-08-07 at 09:12 -0700, Srinivas Pandruvada wrote: RAPL(Running Average Power Limit) interface provides platform software with the ability to monitor, control, and get notifications on SOC power consumptions. trivial notes: diff --git a/drivers/powercap/intel_rapl.c

Re: [PATCH] ARM: at91: add missing uart clocks DT entries

2013-08-07 Thread Douglas Gilbert
On 13-08-07 12:29 PM, Boris BREZILLON wrote: Add clocks to clock lookup table for uart DT entries. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Tested-by: Douglas Gilbert dgilb...@interlog.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: Can we drop __must_check from driver_for_each_device()?

2013-08-07 Thread Paul Bolle
On Wed, 2013-08-07 at 14:51 +0900, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 10:31:25PM +0200, Paul Bolle wrote: On Fri, 2013-08-02 at 08:31 +0800, Greg Kroah-Hartman wrote: On Wed, Jul 31, 2013 at 11:35:13PM +0200, Paul Bolle wrote: 2) Please note that if the callback always

Re: [PATCH 1/2] kernel/sys.c: return the current gid when error occurs

2013-08-07 Thread Andy Lutomirski
On Wed, Aug 7, 2013 at 9:21 AM, Oleg Nesterov o...@redhat.com wrote: On 08/06, Andy Lutomirski wrote: I assume that what the man page means is that the return value is whatever fsgid was prior to the call. On error, fsgid isn't changed, so the return value is still current. Probably...

Re: [PATCH] clocksource: add an menu item to Kconfig

2013-08-07 Thread John Stultz
On 08/07/2013 09:30 AM, Sebastian Andrzej Siewior wrote: On 08/07/2013 06:21 PM, John Stultz wrote: On 08/07/2013 03:56 AM, Sebastian Andrzej Siewior wrote: This patch adds a menu item to clocksource' Kconfig file. Without it the changeable items look somehow lost in the main drivers' menu So

Re: rcu stall warning, again.

2013-08-07 Thread Paul E. McKenney
On Wed, Aug 07, 2013 at 01:05:11AM -0400, Dave Jones wrote: Still seeing these (though not as frequently) INFO: rcu_preempt self-detected stall on CPU { 2} (t=6500 jiffies g=4433279 c=4433278 q=0) sending NMI to all CPUs: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not

Re: BUG cxgb3: Check and handle the dma mapping errors

2013-08-07 Thread Divy Le ray
On 08/05/2013 11:41 AM, Jay Fenlason wrote: On Mon, Aug 05, 2013 at 12:59:04PM +1000, Alexey Kardashevskiy wrote: Hi! Recently I started getting multiple errors like this: cxgb3 0006:01:00.0: iommu_alloc failed, tbl c3067980 vaddr c01fbdaaa882 npages 1 cxgb3 0006:01:00.0:

[PATCH 4/4] x86/jump-label: Show where and what was wrong on errors

2013-08-07 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com When modifying text sections for jump labels, a paranoid check is performed. If the check fails, the system bugs. But why it failed is not shown. The BUG_ON()s in the jump label update code is replaced with bug_at(ip). This is a function that will show

Re: [RFC 0/3] Add madvise(..., MADV_WILLWRITE)

2013-08-07 Thread Andy Lutomirski
On Wed, Aug 7, 2013 at 6:40 AM, Jan Kara j...@suse.cz wrote: On Mon 05-08-13 12:43:58, Andy Lutomirski wrote: My application fallocates and mmaps (shared, writable) a lot (several GB) of data at startup. Those mappings are mlocked, and they live on ext4. The first write to any given page is

Re: [PATCH V5] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-08-07 Thread Bjorn Helgaas
On Tue, Aug 6, 2013 at 10:13 PM, Jingoo Han jg1@samsung.com wrote: On Wednesday, July 31, 2013 5:14 PM, Jingoo Han jg1@samsung.com wrote: Exynos PCIe IP consists of Synopsys specific part and Exynos specific part. Only core block is a Synopsys designware part; other parts are Exynos

Re: [PATCH 1/3 v5] usb: phy-samsung-usb: Simplify PMU register handling

2013-08-07 Thread Julius Werner
This breaks compatibility, both for an old kernel and a new dt and a new kernel with an old dt. Is anyone using these bindings? They only affect Samsung SoCs and have only been upstream for half a year, so I doubt it's heavily used. Why are we describing fewer registers now? Are they

Re: [PATCH] pinctrl: pinmux: Don't free pins requested by other devices

2013-08-07 Thread Stephen Warren
On 08/07/2013 10:23 AM, Linus Walleij wrote: On Wed, Jul 17, 2013 at 7:31 AM, Sonic Zhang sonic@gmail.com wrote: I'd like Stephen and Axel to have a look at this as well... From: Sonic Zhang sonic.zh...@analog.com in pinmux_disable_setting after current device fails to request the

Re: [PATCH 03/17] Add system pointer argument to shared EFI stub related functions so they no longer use global system table pointer as they did when part of eboot.c.

2013-08-07 Thread Roy Franz
On Wed, Aug 7, 2013 at 6:08 AM, Matt Fleming m...@console-pimps.org wrote: On Tue, 06 Aug, at 08:44:59PM, Roy Franz wrote: Signed-off-by: Roy Franz roy.fr...@linaro.org --- arch/x86/boot/compressed/eboot.c | 38 +++-- drivers/firmware/efi/efi-stub-helper.c | 96

[PATCH] Staging:BCM:DDRInit.c:Replacing __FUNCTION__

2013-08-07 Thread Paul McQuade
From 5b6fbb6496ddc4e428f5dd0950b0617faed6596b Mon Sep 17 00:00:00 2001 From: Paul McQuade paulmcq...@gmail.com Date: Wed, 7 Aug 2013 16:21:16 +0100 Subject: [PATCH] Staging:BCM:DDRInit.c:Replacing __FUNCTION__ __func__ replaces __Function__. Signed-off-by: Paul McQuade paulmcq...@gmail.com ---

Re: [PATCH 04/17] Rename memory allocation/free functions

2013-08-07 Thread Roy Franz
On Wed, Aug 7, 2013 at 6:09 AM, Matt Fleming m...@console-pimps.org wrote: On Tue, 06 Aug, at 08:45:00PM, Roy Franz wrote: Rename them to be more similar, as low_free() could be used to free memory allocated by both high_alloc() and low_alloc(). high_alloc() - efi_high_alloc() low_alloc() -

Re: [PATCH 1/5] pdev: Fix platform device resource linking

2013-08-07 Thread Matt Porter
[trimmed my old email] On Wed, Aug 07, 2013 at 10:37:17AM +0300, Pantelis Antoniou wrote: Hi Greg, On Aug 7, 2013, at 8:56 AM, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 01:27:35PM +0300, Pantelis Antoniou wrote: Hi Greg, On Aug 6, 2013, at 1:15 PM, Greg Kroah-Hartman wrote:

[PATCH] Tools: hv: cache FQDN in kvp_daemon to avoid timeouts

2013-08-07 Thread Olaf Hering
kvp_daemon does some operations which take an unpredicable amount of time. In addition the kernel driver gives the kvp_daemon a 5 second timeout to respond to message from the host. If an operation such as getaddrinfo takes a long time and the timeout triggers then netlink errors occour. As a

Re: [PATCH 2/3] mfd: sec: Add clock cell for s2mps11

2013-08-07 Thread Mike Turquette
Quoting Yadwinder Singh Brar (2013-07-07 04:44:21) This patch adds clock to list of mfd cells for s2mps11 and DT documentation for clock part. Signed-off-by: Yadwinder Singh Brar yadi.b...@samsung.com Reviewed-by: Mike Turquette mturque...@linaro.org ---

Re: [PATCH 12/17] Add proper definitions for some EFI function pointers.

2013-08-07 Thread Roy Franz
On Wed, Aug 7, 2013 at 6:09 AM, Matt Fleming m...@console-pimps.org wrote: On Tue, 06 Aug, at 08:45:08PM, Roy Franz wrote: The x86/AMD64 EFI stubs must us a call wrapper to convert between the Linux and EFI ABIs, so void pointers are sufficient. For ARM, the ABIs are compatible, so we can

Re: [PATCH 4/4] x86/jump-label: Show where and what was wrong on errors

2013-08-07 Thread Borislav Petkov
On Wed, Aug 07, 2013 at 12:49:38PM -0400, Steven Rostedt wrote: From: Steven Rostedt srost...@redhat.com When modifying text sections for jump labels, a paranoid check is performed. If the check fails, the system bugs. But why it failed is not shown. The BUG_ON()s in the jump label update

Re: [edk2] Corrupted EFI region

2013-08-07 Thread Andrew Fish
On Aug 7, 2013, at 8:19 AM, Borislav Petkov b...@alien8.de wrote: On Tue, Aug 06, 2013 at 05:31:29PM +0200, Laszlo Ersek wrote: Can you capture the OVMF debug output? Do you see ConvertPages: Incompatible memory types there? Can you set the following bits too in the debug mask?

Re: [RFC/PATCH 0/2] ext4: Transparent Decompression Support

2013-08-07 Thread Jörn Engel
On Wed, 7 August 2013 03:21:47 -0600, Andreas Dilger wrote: I'm not saying that a tool to check this would be a bad thing, but if the compression support is a generic feature of the VFS, then it makes sense that the checker can also be generic and unrelated to the filesystem metadata

Re: [PATCH 0/1] (Was: Linux 3.11-rc4)

2013-08-07 Thread Oleg Nesterov
On 08/07, Grazvydas Ignotas wrote: It's not that wine needs all this, it's the Windows games that use debug registers to store random values to them for their copy protection stuff. Thanks. My wine commits try to sidestep these kernel restrictions/sanity checking. My point was, it seems

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-07 Thread boris brezillon
Hello Thomas, Sorry for the noise, this mail was filtered by LKML and LAKML beacause thunderbird added HTML contents. On 07/08/2013 18:08, Thomas Petazzoni wrote: Dear Boris BREZILLON, On Wed, 7 Aug 2013 12:14:26 +0200, Boris BREZILLON wrote: This patch splits the sam9x5 peripheral

Re: [PATCH 00/11] Add compression support to pstore

2013-08-07 Thread Tony Luck
Oh - one more thing - and my apologies for not spotting this before: dst = allocate_buf_for_compression(big_buf_sz); No - you may not call kmalloc() in oops/panic context. Please pre-allocate everything you need in some initialization code to make sure that we don't fail in the

Re: [PATCH 2/3] memcg: Limit the number of events registered on oom_control

2013-08-07 Thread Michal Hocko
On Wed 07-08-13 16:47:30, Michal Hocko wrote: On Wed 07-08-13 15:57:34, Michal Hocko wrote: [...] Hmm, OK so you think that the fd limit is sufficient already? Hmm, that would need to touch the code as well (the register callback would need to make sure only one event is registered per

Re: [PATCH 4/4] x86/jump-label: Show where and what was wrong on errors

2013-08-07 Thread Steven Rostedt
On Wed, 2013-08-07 at 19:20 +0200, Borislav Petkov wrote: +static void bug_at(unsigned char *ip, int line) +{ + /* +* The location is not an op that we were expecting. +* Something went wrong. Crash the box, as something could be +* corrupting the kernel. +*/

IDA/IDR rewrite, percpu ida

2013-08-07 Thread Kent Overstreet
Andrew - this should be pretty much identical to the patch series I mailed out during last merge window, except rebased onto 3.11-rc4 and retested. I think the series should be more or less ready to go, and it'd be really nice to get at least the percpu bits in - think you can have a look and

[PATCH 03/10] idr: Rewrite ida

2013-08-07 Thread Kent Overstreet
This is a new, from scratch implementation of ida that should be simpler, faster and more space efficient. Two primary reasons for the rewrite: * A future patch will reimplement idr on top of this ida implementation + radix trees. Once that's done, the end result will be ~1k fewer lines of

[PATCH 04/10] idr: Percpu ida

2013-08-07 Thread Kent Overstreet
Percpu frontend for allocating ids. With percpu allocation (that works), it's impossible to guarantee it will always be possible to allocate all nr_tags - typically, some will be stuck on a remote percpu freelist where the current job can't get to them. We do guarantee that it will always be

Re: [PATCH 4/4] x86/jump-label: Show where and what was wrong on errors

2013-08-07 Thread Borislav Petkov
On Wed, Aug 07, 2013 at 01:33:06PM -0400, Steven Rostedt wrote: Right, and this code keeps the same logic as it was before. If it was disabled by CONFIG_EXPERT, it stays disabled, but at least you get to see a warning that your kernel may be corrupt now :-) Don't we really want to panic

Re: [PATCH 1/6] clk: Tegra: Add CPU0 clock driver

2013-08-07 Thread Stephen Warren
On 08/07/2013 08:46 AM, Viresh Kumar wrote: This patch adds CPU0's clk driver for Tegra. It will be used by the generic cpufreq-cpu0 driver to get/set cpu clk. Most of the platform specific bits are picked from tegra-cpufreq.c. Hmmm. I'm not sure if it makes sense to represent this as a

Re: [PATCH] [TRIVIAL] ARM: msm: fix compilation error in gpiomux

2013-08-07 Thread David Brown
On Wed, Aug 07, 2013 at 08:34:39AM +0200, Krzysztof Kozlowski wrote: Fix compilation error in gpiomux (CONFIG_MSM_GPIOMUX=y): arch/arm/mach-msm/gpiomux.c:24:13: error: static declaration of ‘__msm_gpiomux_write’ follows non-static declaration arch/arm/mach-msm/gpiomux.h:85:6: note:

Re: [RFC 0/3] Add madvise(..., MADV_WILLWRITE)

2013-08-07 Thread Dave Hansen
On 08/07/2013 06:40 AM, Jan Kara wrote: One question before I look at the patches: Why don't you use fallocate() in your application? The functionality you require seems to be pretty similar to it - writing to an already allocated block is usually quick. One problem I've seen is that it

[RFC][PATCH 2/2] x86/jump labels: Use etiher 5 byte or 2 byte jumps

2013-08-07 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com Have the jump labels add a jmp in the assembly instead of a default nop. This will cause the assembler to put in either a 2 byte or 5 byte jmp depending on where the target lable is. Then at compile time, the update_jump_label code will replace the jmps

Re: linux-next: Tree for Aug 7

2013-08-07 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Wed, 07 Aug 2013 09:40:09 -0700 On Wed, 2013-08-07 at 18:22 +0200, Johannes Berg wrote: Maybe. I haven't tested it, but I'm thinking that skb-data doesn't point to the start of the data frame in this case, since we now call eth_type_trans()

[RFC][PATCH 1/2] jump labels: Add infrastructure to update jump labels at compile time

2013-08-07 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com Add the infrastructure to allow architectures to modify the jump label locations at compile time. This is mainly for x86, where the jmps may be either 2 bytes or 5 bytes. Instead of wasting 5 bytes for all jump labels, this code will let x86 put in a jmp

[RFC][PATCH 0/2] x86/jump labels: Add the 5 byte or 2 byte jumps

2013-08-07 Thread Steven Rostedt
As I said, I would post the patches that let the jmps used by jump labels be turn to 2 bytes where possible. These are a bit controversial due to the complexity of the update_jump_label code. These patches are based off of tip's x86/jumplabel code. But if someone cares to play with it, feel

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Stephen Warren
On 08/07/2013 08:46 AM, Viresh Kumar wrote: cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by it to get frequency table. This patch adds OPPs and clock-latency to tegra cpu0 node for multiple SoCs. Voltage levels aren't used until now for tegra and so a flat value

Re: [PATCH 3/6] ARM: Tegra: Enable OPP library

2013-08-07 Thread Stephen Warren
On 08/07/2013 08:46 AM, Viresh Kumar wrote: cpufreq-cpu0 driver is dependent on OPP library and hence we need to enable it for Tegra as we are going to use cpufreq-cpu0. Shouldn't these be selected by something in drivers/cpufreq/Kconfig? -- To unsubscribe from this list: send the line

Re: [PATCH 1/6] clk: Tegra: Add CPU0 clock driver

2013-08-07 Thread Viresh Kumar
On 7 August 2013 23:08, Stephen Warren swar...@wwwdotorg.org wrote: On 08/07/2013 08:46 AM, Viresh Kumar wrote: This patch adds CPU0's clk driver for Tegra. It will be used by the generic cpufreq-cpu0 driver to get/set cpu clk. Most of the platform specific bits are picked from

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