[PATCH] ARC Bug fix for 3.11-rc7

2013-08-23 Thread Vineet Gupta
Hi Linus, Here's a serious bug fix in Big Endian configuration. I know it's late, but we need this fix. Please consider applying for 3.11-rc7. I hope direct email as opposed to a formal pull request is OK. P.S. @Greg, I can vouch for this fix, can you please queue this up for next stable and not

[PATCH] ARC: [lib] strchr breakage in Big-endian configuration

2013-08-23 Thread Vineet Gupta
From: Joern Rennecke For a search buffer, 2 byte aligned, strchr() was returning pointer outside of buffer (buf - 1) ->8 // Input buffer (default 4 byte aigned) char *buffer = "1AA_"; // actual search start (to mimick 2 byte alignment) char *current_l

Re-Validate Your MailBox

2013-08-23 Thread Admin
-- Dear Web-mail User, This is to inform you that we are currently carrying out scheduled maintenance and upgrading all Web mail service Due to recent virus attack TROJAN detected in our Data Base System,you may not be able send or receive new mail until your mailbox is scanned To effect the sc

BCM57765: timeout waiting for hardware interrupt

2013-08-23 Thread Daniel J Blueman
Chris et al, with 3.11-rc6 and the Broadcom BCM57765 card reader [1] in my Macbook Retina, interrupts are not seen during card insertion: sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pci :03:00.1: SDHCI controller found [14e4:16bc] (rev 10) mm

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Guenter Roeck
On 08/23/2013 09:51 PM, Matthew Garrett wrote: On Fri, Aug 23, 2013 at 09:45:10PM -0700, Guenter Roeck wrote: "What happens when you have an ACPI device that contains an interrupt in _CRS and contains a different interrupt in an embedded FDT block?" Does the situation occur today, ie does it

Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-08-23 Thread Shinya Kuribayashi
On 8/21/13 11:39 PM, Christian Ruppert wrote: On Fri, Aug 16, 2013 at 11:15:12AM +0900, Shinya Kuribayashi wrote: On 8/5/13 6:31 PM, Christian Ruppert wrote: On Wed, Jul 24, 2013 at 11:31:44PM +0900, Shinya Kuribayashi wrote: As said before, all t_SCL things should go away. Please forget abou

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Matthew Garrett
On Fri, Aug 23, 2013 at 09:45:10PM -0700, Guenter Roeck wrote: > "What happens when you have an ACPI device that contains an interrupt in > _CRS and contains a different interrupt in an embedded FDT block?" > > Does the situation occur today, ie does it ever happen that one interrupt > for a dev

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Guenter Roeck
On 08/23/2013 08:06 PM, Matthew Garrett wrote: On Fri, Aug 23, 2013 at 07:55:31PM -0700, Guenter Roeck wrote: Question is: Does this work _today_ with any existing driver, where one interrupt is served through ACPI and another as 'standard' Linux interrupt ? If yes, it must be working, and usin

Re: [PATCH 00/16] cpufreq: create & use cpufreq_generic_get() routine

2013-08-23 Thread Viresh Kumar
On 24 August 2013 01:10, Rafael J. Wysocki wrote: > On Friday, August 23, 2013 09:20:35 PM Viresh Kumar wrote: >> CPUFreq drivers that use clock frameworks interface,i.e. clk_get_rate(), to >> get >> CPUs clk rate, has similar sort of code used for most of them. >> >> This patchset adds a generic

Re: [PATCH 4/4] pinctrl: mvebu: add missing iounmap

2013-08-23 Thread Jisheng Zhang
Hi Linus and Ezequiel, On Fri, 23 Aug 2013 13:19:26 -0700 Ezequiel Garcia wrote: > On Fri, Aug 23, 2013 at 08:06:02PM +0200, Linus Walleij wrote: > > On Thu, Aug 22, 2013 at 3:22 PM, Ezequiel Garcia > > wrote: > > > On Thu, Aug 22, 2013 at 08:46:51PM +0800, Jisheng Zhang wrote: > > >> Add missi

Re: [PATCH v2 3/4] clk: mvebu: add missing iounmap

2013-08-23 Thread Jisheng Zhang
Hi Mike, On Fri, 23 Aug 2013 14:29:50 -0700 Mike Turquette wrote: > Quoting Jisheng Zhang (2013-08-22 19:34:01) > > Add missing iounmap to setup error path. > > > > Change-Id: I4371569d14d7026aa9f90d7cd53f669d365fe26a > > Please remove Change-Id's from the commit message for upstream patch > s

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Matthew Garrett
On Fri, Aug 23, 2013 at 07:55:31PM -0700, Guenter Roeck wrote: > Question is: Does this work _today_ with any existing driver, where > one interrupt is served through ACPI and another as 'standard' Linux > interrupt ? If yes, it must be working, and using fdt to describe > the interrupt mapping fo

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Guenter Roeck
On 08/23/2013 07:38 PM, Matthew Garrett wrote: On Fri, Aug 23, 2013 at 06:47:23PM -0700, Guenter Roeck wrote: On Sat, Aug 24, 2013 at 02:10:36AM +0100, Matthew Garrett wrote: On Fri, Aug 23, 2013 at 05:13:45PM -0700, Guenter Roeck wrote: Did the group conclude that the idea of FDT augmenting

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-23 Thread Russ Anderson
On Fri, Aug 23, 2013 at 01:08:56PM -0700, Yinghai Lu wrote: > On Fri, Aug 23, 2013 at 11:25 AM, H. Peter Anvin wrote: > > > > BRK makes sense as long as you can set a sane O(1) size limit. > > > >> > >>put the acpi override table in BRK, we still need ok from HPA. > >>I have impression that he did

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Matthew Garrett
On Fri, Aug 23, 2013 at 06:47:23PM -0700, Guenter Roeck wrote: > On Sat, Aug 24, 2013 at 02:10:36AM +0100, Matthew Garrett wrote: > > On Fri, Aug 23, 2013 at 05:13:45PM -0700, Guenter Roeck wrote: > > > > > Did the group conclude that the idea of FDT augmenting ACPI is not > > > feasible ? > >

[PATCH v2] bq24190_charger: Add support for TI BQ24190 Battery Charger

2013-08-23 Thread Mark A. Greer
Add driver support for the Texas Instruments BQ24190 battery charger. Some of the information provided by the device is about the charger and other information is about the battery so create two power_supply objects (one for each) and provide the appropriate information for each one. The device h

Re: [PATCH] ACPI: Fix osc flag setup ordering to allow pcie hotplug use when available

2013-08-23 Thread Neil Horman
On Fri, Aug 23, 2013 at 04:04:59PM -0600, Bjorn Helgaas wrote: > On Fri, Aug 23, 2013 at 3:40 PM, Rafael J. Wysocki wrote: > > On Friday, August 23, 2013 02:46:23 PM Bjorn Helgaas wrote: > >> On Fri, Aug 23, 2013 at 2:53 PM, Rafael J. Wysocki wrote: > >> > On Friday, August 23, 2013 04:05:11 PM N

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Guenter Roeck
On Sat, Aug 24, 2013 at 02:10:36AM +0100, Matthew Garrett wrote: > On Fri, Aug 23, 2013 at 05:13:45PM -0700, Guenter Roeck wrote: > > > Did the group conclude that the idea of FDT augmenting ACPI is not feasible > > ? > > I think expressing FDT in ACPI is feasible, I'm just not sure it's > des

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Matthew Garrett
On Fri, Aug 23, 2013 at 05:13:45PM -0700, Guenter Roeck wrote: > Did the group conclude that the idea of FDT augmenting ACPI is not feasible ? I think expressing FDT in ACPI is feasible, I'm just not sure it's desirable. We'd still end up with duplicate information and no mechanism for drivers

Re: [PATCH v2 3/3] gpio: pcf857x: Add OF support

2013-08-23 Thread Laurent Pinchart
Hi Tomasz, Thank you for the review. On Saturday 24 August 2013 02:41:59 Tomasz Figa wrote: > On Tuesday 20 of August 2013 01:04:54 Laurent Pinchart wrote: > > Add DT bindings for the pcf857x-compatible chips and parse the device > > tree node in the driver. > > > > Signed-off-by: Laurent Pincha

Re: [PATCH v4 26/28] PCI, x86, ACPI: Link acpi ioapic register to ioapic

2013-08-23 Thread rui wang
On 8/11/13, Yinghai Lu wrote: > During ioapic hotplug, acpi_register_ioapic will be called. > Now for x86, that function is blank. > Fill that will update __mp_register_ioapic to use those ioapic. > > Signed-off-by: Yinghai Lu > --- > arch/x86/kernel/acpi/boot.c | 10 ++ > 1 file changed

Re: [PATCH v2 3/3] gpio: pcf857x: Add OF support

2013-08-23 Thread Tomasz Figa
Hi Laurent, On Tuesday 20 of August 2013 01:04:54 Laurent Pinchart wrote: > Add DT bindings for the pcf857x-compatible chips and parse the device > tree node in the driver. > > Signed-off-by: Laurent Pinchart > --- > .../devicetree/bindings/gpio/gpio-pcf857x.txt | 71 >

[PATCH] workqueue: remove unnecessary goto statement

2013-08-23 Thread Libin
Using return NULL to replace goto statement and avoiding a redundant function call for free_workqueue_attrs(). If kzalloc for attrs of struct workqueue_attrs is failed, alloc_workqueue_attrs return NULL directedly. With no functional changs. Signed-off-by: Libin --- kernel/workqueue.c | 2 +- 1

[PATCH] Documentation/kmemcheck: update kmemcheck documentation

2013-08-23 Thread Libin
Kmemcheck configuration menu location correction in Documentation/ kmemcheck.txt Signed-off-by: Libin --- Documentation/kmemcheck.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/kmemcheck.txt b/Documentation/kmemcheck.txt index c28f828..9398a50 100644

Re: [PATCH 1/3] cpuidle: coupled: disable interrupts after entering safe state

2013-08-23 Thread Colin Cross
On Fri, Aug 23, 2013 at 4:09 PM, Stephen Warren wrote: > On 08/23/2013 01:45 PM, Colin Cross wrote: >> Calling cpuidle_enter_state is expected to return with interrupts >> enabled, but interrupts must be disabled before starting the >> ready loop synchronization stage. Call local_irq_disable afte

Re: Unusually high system CPU usage with recent kernels

2013-08-23 Thread Paul E. McKenney
On Fri, Aug 23, 2013 at 03:20:25PM +0200, Tibor Billes wrote: > > From: Paul E. McKenney Sent: 08/22/13 12:09 AM > > On Wed, Aug 21, 2013 at 11:05:51PM +0200, Tibor Billes wrote: > > > > From: Paul E. McKenney Sent: 08/21/13 09:12 PM > > > > On Wed, Aug 21, 2013 at 08:14:46PM +0200, Tibor Billes wr

[PATCH v2 12/18] ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver

2013-08-23 Thread Tomasz Figa
This patch adds all required platform-specific data and initialization code to support the generic amba-pl08x driver on S3C64xx SoCs. Also some compatibility definitions are added to make the transition from legacy API to DMA engine easier. The biggest hack here is passing const char * pointers th

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Guenter Roeck
On Fri, Aug 23, 2013 at 04:45:48PM -0700, Darren Hart wrote: > On Sat, 2013-08-24 at 00:38 +0100, Matthew Garrett wrote: > > On Fri, Aug 23, 2013 at 04:25:43PM -0700, Darren Hart wrote: > > > > > It had been my hope at the start of this project to open the creation of > > > SSDTs up to inventors a

Re: [RFC PATCH 03/14] hwmon: lm75: expose to thermal fw via DT nodes

2013-08-23 Thread Guenter Roeck
On Fri, Aug 23, 2013 at 07:15:44PM -0400, Eduardo Valentin wrote: > This patch adds to lm75 temperature sensor the possibility > to expose itself as thermal zone device, registered on the > thermal framework. > > The thermal zone is built only if a device tree node > describing a thermal zone for

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Darren Hart
On Sat, 2013-08-24 at 00:38 +0100, Matthew Garrett wrote: > On Fri, Aug 23, 2013 at 04:25:43PM -0700, Darren Hart wrote: > > > It had been my hope at the start of this project to open the creation of > > SSDTs up to inventors and hackers who want to create Lures for the > > MinnowBoard in such a w

Re: [RFC 17/17] clk: zynq: remove call to of_clk_init

2013-08-23 Thread Steffen Trumtrar
On Fri, Aug 23, 2013 at 09:00:23AM -0700, Sören Brinkmann wrote: > Hi Steffen, > > On Fri, Aug 23, 2013 at 09:32:50AM +0200, Steffen Trumtrar wrote: > > Hi! > > > > On Thu, Aug 22, 2013 at 05:59:36PM -0700, Sören Brinkmann wrote: > > > On Thu, Aug 22, 2013 at 05:26:47PM -0700, Sören Brinkmann wro

Re: [RFC PATCH 03/14] hwmon: lm75: expose to thermal fw via DT nodes

2013-08-23 Thread Guenter Roeck
On Fri, Aug 23, 2013 at 07:15:44PM -0400, Eduardo Valentin wrote: > This patch adds to lm75 temperature sensor the possibility > to expose itself as thermal zone device, registered on the > thermal framework. > > The thermal zone is built only if a device tree node > describing a thermal zone for

Re: [PATCH v2 3/3] gpio: pcf857x: Add OF support

2013-08-23 Thread Laurent Pinchart
Hi Linus, On Friday 23 August 2013 19:54:03 Linus Walleij wrote: > On Tue, Aug 20, 2013 at 1:04 AM, Laurent Pinchart wrote: > > Add DT bindings for the pcf857x-compatible chips and parse the device > > tree node in the driver. > > > > Signed-off-by: Laurent Pinchart > > > > I'm holding this unt

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Matthew Garrett
On Fri, Aug 23, 2013 at 04:25:43PM -0700, Darren Hart wrote: > It had been my hope at the start of this project to open the creation of > SSDTs up to inventors and hackers who want to create Lures for the > MinnowBoard in such a way that they could write these SSDTs and load > them from a file at

Re: [PATCH] usb: acm gadget: Null termintate strings table

2013-08-23 Thread Greg KH
On Fri, Aug 23, 2013 at 11:19:55PM +, Graham Williams wrote: > I couldn't get the whitespace formatting correctly from Windows Office (work > email) so I attached the patch file. I ran it on it applies correctly. I can't take attachments, and especially not base64 ones :( Take a look at th

Re: ACPI vs Device Tree - moving forward

2013-08-23 Thread Darren Hart
On Thu, 2013-08-22 at 01:03 +0100, Matthew Garrett wrote: > On Thu, Aug 22, 2013 at 02:02:29AM +0200, Rafael J. Wysocki wrote: > > > And now the practice appears to be that vendors actually ship some ACPI > > tables with their systems, but those ACPI tables do not contain information > > needed to

[RFC PATCH 06/14] arm: dts: add omap4 CPU thermal data

2013-08-23 Thread Eduardo Valentin
This patch changes a dtsi file to contain the thermal data for MPU domain on OMAP4 and later SoCs. This data will enable the passive cooling with CPUfreq cooling device at 100C and the system will do a thermal shutdown at 125C. This thermal data can be reused across TI SoC devices. Cc: "Benoît Co

Re: [RFC 17/17] clk: zynq: remove call to of_clk_init

2013-08-23 Thread Steffen Trumtrar
On Fri, Aug 23, 2013 at 07:44:03PM +0200, Sebastian Hesselbarth wrote: > On 08/23/13 19:19, Sören Brinkmann wrote: > >On Fri, Aug 23, 2013 at 11:30:18AM +0200, Sebastian Hesselbarth wrote: > >>On 08/23/13 02:59, Sören Brinkmann wrote: > >>>On Thu, Aug 22, 2013 at 05:26:47PM -0700, Sören Brinkmann w

[RFC PATCH 11/14] arm: dts: add omap5 GPU thermal data

2013-08-23 Thread Eduardo Valentin
This patch changes a dtsi file to contain the thermal data for GPU domain on OMAP5 and later SoCs. This data will enable a thermal shutdown at 125C. This thermal data can be reused across TI SoC devices. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland C

[RFC PATCH 13/14] arm: dts: add omap5 thermal data

2013-08-23 Thread Eduardo Valentin
This patch changes the dtsi entry on omap5 to contain the thermal data. This data will enable the passive cooling with CPUfreq cooling device at 100C. The system will do a thermal shutdown at 125C whenever any of its sensors sees this level. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Rob Herring

[RFC PATCH 12/14] arm: dts: add omap5 CORE thermal data

2013-08-23 Thread Eduardo Valentin
This patch changes a dtsi file to contain the thermal data for CORE domain on OMAP5 and later SoCs. This data will enable a thermal shutdown at 125C. This thermal data can be reused across TI SoC devices. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland

[PATCH] usb: acm gadget: Null termintate strings table

2013-08-23 Thread Graham Williams
I couldn't get the whitespace formatting correctly from Windows Office (work email) so I attached the patch file. I ran it on it applies correctly. 0001-usb-acm-gadget-Null-termintate-strings-table.patch Description: 0001-usb-acm-gadget-Null-termintate-strings-table.patch

Re: [PATCH v3 3/5] clk: Add common __clk_get(), __clk_put() implementations

2013-08-23 Thread Russell King - ARM Linux
On Fri, Aug 23, 2013 at 05:03:45PM +0200, Sylwester Nawrocki wrote: > This patch adds common __clk_get(), __clk_put() clkdev helpers which > replace their platform specific counterparts when the common clock > API is enabled. > > The owner module pointer field is added to struct clk so a reference

[RFC PATCH 14/14] arm: dts: point to cooling-zones on omap5 cpu node

2013-08-23 Thread Eduardo Valentin
OMAP5 devices can reach high temperatures and thus needs to have cpufreq-cooling on systems running on it. This patch links the cpu node to its thermal-zone so that cpufreq-cpu0 driver loads the cooling device. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rut

[RFC PATCH 07/14] arm: dts: add omap4430 thermal data

2013-08-23 Thread Eduardo Valentin
This patch changes the dtsi entry on omap4430 to contain the thermal data. This data will enable the passive cooling with CPUfreq cooling device at 100C and the system will do a thermal shutdown at 125C. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Russell King Cc: linux-o...@vger.kernel.org Cc:

[RFC PATCH 05/14] thermal: ti-soc-thermal: use thermal DT infrastructure

2013-08-23 Thread Eduardo Valentin
This patch improves the ti-soc-thermal driver by adding the support to build the thermal zones based on DT nodes. The driver will have two options now to build the thermal zones. The first option is the zones originally coded in this driver. So, the driver behavior will be same if there is no DT n

[RFC PATCH 09/14] arm: dts: point to cooling-zones on omap4430 cpu node

2013-08-23 Thread Eduardo Valentin
OMAP4430 devices can reach high temperatures and thus needs to have cpufreq-cooling on systems running on it. This patch links the cpu node to its thermal-zone so that cpufreq-cpu0 driver loads the cooling device. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Russell King Cc: linux-o...@vger.kern

[RFC PATCH 08/14] arm: dts: add omap4460 thermal data

2013-08-23 Thread Eduardo Valentin
This patch changes the dtsi entry on omap4460 to contain the thermal data. This data will enable the passive cooling with CPUfreq cooling device at 100C and the system will do a thermal shutdown at 125C. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc

[RFC PATCH 10/14] arm: dts: point to cooling-zones on omap4460 cpu node

2013-08-23 Thread Eduardo Valentin
OMAP4460 devices can reach high temperatures and thus needs to have cpufreq-cooling on systems running on it. This patch links the cpu node to its thermal-zone so that cpufreq-cpu0 driver loads the cooling device. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Rob Herring Cc: Pawel Moll Cc: Mark

[RFC PATCH 04/14] hwmon: tmp102: expose to thermal fw via DT nodes

2013-08-23 Thread Eduardo Valentin
This patch adds to tmp102 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing a thermal zone for this sensor is present inside the tmp102 DT node. Otherwise, the driver beha

[RFC PATCH 00/14] RFCv2: device thermal limits represented in device tree nodes

2013-08-23 Thread Eduardo Valentin
Hello all, First of all, apologize for the very late answer. But I am resuming this work. This RFC is about describing hardware thermal limits using device tree. Based on the discussion on the first RFC: http://lkml.org/lkml/2013/7/22/319 I have changed the code and the device tree bindings as

[RFC PATCH 02/14] drivers: thermal: introduce device tree parser

2013-08-23 Thread Eduardo Valentin
In order to be able to build thermal policies based on generic sensors, like I2C device, that can be places in different points on different boards, there is a need to have a way to feed board dependent data into the thermal framework. This patch introduces a thermal data parser for device tree. T

[RFC PATCH 03/14] hwmon: lm75: expose to thermal fw via DT nodes

2013-08-23 Thread Eduardo Valentin
This patch adds to lm75 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing a thermal zone for this sensor is present inside the lm75 DT node. Otherwise, the driver behavior

[RFC PATCH 01/14] cpufreq: cpufreq-cpu0: add dt node parsing for 'cooling-zones'

2013-08-23 Thread Eduardo Valentin
This patch changes the cpufreq-cpu0 driver to consider if a cpu needs cooling (with cpufreq). In case the cooling is needed, it can be flagged at the cpu0 device tree node, with the list of zones property 'cooling-zones'. In case this list of zones is present, the driver will load a cpufreq coolin

Re: [PATCH 1/3] cpuidle: coupled: disable interrupts after entering safe state

2013-08-23 Thread Stephen Warren
On 08/23/2013 01:45 PM, Colin Cross wrote: > Calling cpuidle_enter_state is expected to return with interrupts > enabled, but interrupts must be disabled before starting the > ready loop synchronization stage. Call local_irq_disable after > each call to cpuidle_enter_state for the safe state. Tes

Re: [PATCH 1/1] AMD64_EDAC: Fix incorrect wrap arounds due to left shift beyond 32 bits.

2013-08-23 Thread Aravind Gopalakrishnan
On 8/23/2013 4:37 PM, Borislav Petkov wrote: On Mon, Aug 19, 2013 at 07:27:52PM -0500, Aravind Gopalakrishnan wrote: Link to the bug report: http://marc.info/?l=linux-edac&m=137692201732220&w=2 dct_base and dct_limit obtain 32 bit register values when they read their respective pci config space

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-23 Thread Yinghai Lu
> So we need to allocate memory. That is why you suggested to use BRK, right ? > And the size seems to be a problem. > > So I suggest to use early_ioremap(). > > 1. After paging is enabled, before direct mapping page tables are > setup, we map the > initrd with early_ioremap(). And we are able

Re: [PATCH v2 2/4] clk: implement clk_unregister

2013-08-23 Thread Sylwester Nawrocki
On 08/23/2013 11:58 PM, Mike Turquette wrote: +static void clk_nodrv_disable_unprepare(struct clk_hw *hw) > +{ > + WARN_ON(1); Ideally we shouldn't get here, but if we do I guess it could be very noisy. How about WARN_ONCE? Yes, I guess that would be much better. I could resend it tom

Re: [PATCH 3/5] drivers: thermal: make usage of CONFIG_THERMAL_HWMON optional

2013-08-23 Thread Rafael J. Wysocki
On Friday, August 23, 2013 06:03:14 PM Eduardo Valentin wrote: > When registering a new thermal_device, the thermal framework > will always add a hwmon sysfs interface. > > This patch adds a flag to make this behavior optional. Now > when registering a new thermal device, the caller needs > to say

Re: [PATCH 0/4] seqlock: Add new blocking reader type & use rwlock

2013-08-23 Thread Waiman Long
On 07/03/2013 09:52 PM, Waiman Long wrote: During some perf-record sessions of the kernel running the high_systime workload of the AIM7 benchmark, it was found that quite a large portion of the spinlock contention was due to the perf_event_mmap_event() function itself. This perf kernel function c

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-23 Thread chen tang
Hi Yinghai, 2013/8/24 Yinghai Lu : > On Fri, Aug 23, 2013 at 2:50 PM, chen tang wrote: >>> >>> so the DSDT is 7F493E, and total is more than 8M. >>> >>> that will need BRK to be extended 16M? >>> >> >> Then how about use early_ioremap(), and don't do it that early in >> head_32 and head64 ? > > w

Re: [PATCH V3 RFC 00/16] EFI stub for ARM

2013-08-23 Thread Roy Franz
On Fri, Aug 16, 2013 at 5:16 PM, Roy Franz wrote: > On Tue, Aug 13, 2013 at 10:58 AM, Roy Franz wrote: >> On Fri, Aug 9, 2013 at 4:26 PM, Roy Franz wrote: >>> >>> This patch series adds EFI stub support for the ARM architecture. >>> Some code that was previously only used by x86/x86_64 is now sh

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-23 Thread Yinghai Lu
On Fri, Aug 23, 2013 at 2:50 PM, chen tang wrote: >> >> so the DSDT is 7F493E, and total is more than 8M. >> >> that will need BRK to be extended 16M? >> > > Then how about use early_ioremap(), and don't do it that early in > head_32 and head64 ? why could early_ioremap() help? when to use early

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-23 Thread Yinghai Lu
On Fri, Aug 23, 2013 at 2:52 PM, Moore, Robert wrote: > While we're at it: > > Can someone send me the acpidump for this machine? We very much would like to > test all of ACPICA with such a large DSDT. That is Russ. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

[PATCH 3/5] drivers: thermal: make usage of CONFIG_THERMAL_HWMON optional

2013-08-23 Thread Eduardo Valentin
When registering a new thermal_device, the thermal framework will always add a hwmon sysfs interface. This patch adds a flag to make this behavior optional. Now when registering a new thermal device, the caller needs to say if the hwmon interface is required. In order to keep same behavior as of

Re: [PATCH] ACPI: Fix osc flag setup ordering to allow pcie hotplug use when available

2013-08-23 Thread Bjorn Helgaas
On Fri, Aug 23, 2013 at 3:40 PM, Rafael J. Wysocki wrote: > On Friday, August 23, 2013 02:46:23 PM Bjorn Helgaas wrote: >> On Fri, Aug 23, 2013 at 2:53 PM, Rafael J. Wysocki wrote: >> > On Friday, August 23, 2013 04:05:11 PM Neil Horman wrote: >> >> On Fri, Aug 23, 2013 at 09:38:18PM +0200, Rafae

[PATCH 2/5] drivers: thermal: parent virtual hwmon with thermal zone

2013-08-23 Thread Eduardo Valentin
When creating virtual hwmon devices based out of thermal zone devices, the virtual devices won't have parents. This patch changes the code so that the parent of virtual hwmon devices is the thermal zone device that they are based of. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@v

[PATCH 5/5] drivers: thermal: add check when unregistering cpu cooling

2013-08-23 Thread Eduardo Valentin
This patch avoids NULL pointer accesses while unregistering cpu cooling devices, in case a NULL pointer is received. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/cpu_cooling.c | 6 +- 1 file changed, 5 insert

[PATCH 4/5] thermal: thermal_core: allow binding with limits on bind_params

2013-08-23 Thread Eduardo Valentin
When registering a thermal zone device using platform information via bind_params, the thermal framework will always perform the cdev binding using the lowest and highest limits (THERMAL_NO_LIMIT). This patch changes the data structures so that it is possible to inform what are the desired limits

[PATCH 0/5] drivers: thermal: several fixes

2013-08-23 Thread Eduardo Valentin
Hello all, This is simple patch set with fixes on core thermal framework. These fixes are a set of changes that I find needed that I found during the process of attempting to describe thermal data using device tree. These patches touch several drivers, as there is an API change. I have only compi

[PATCH 1/5] thermal: hwmon: move hwmon support to single file

2013-08-23 Thread Eduardo Valentin
In order to improve code organization, this patch moves the hwmon sysfs support to a file named thermal_hwmon. This helps to add extra support for hwmon without scrambling the code. In order to do this move, the hwmon list head is now using its own locking. Before, the list used the global thermal

Re: [PATCH v3 2/5] ARM: dts: add reference voltage property for MXS LRADC

2013-08-23 Thread Jonathan Cameron
On 08/22/13 17:51, Pawel Moll wrote: > On Thu, 2013-08-22 at 07:17 +0100, Jonathan Cameron wrote: >> I would favour option 2 though some of the discussions going on at the >> moment about >> bindings might result in a generic description of this and any other bits of >> analog front end. > > Any

Re: [PATCH v2 2/4] clk: implement clk_unregister

2013-08-23 Thread Mike Turquette
Quoting Sylwester Nawrocki (2013-08-20 10:34:21) > clk_unregister() is currently not implemented and it is required when > a clock provider module needs to be unloaded. > > Normally the clock supplier module is prevented to be unloaded by > taking reference on the module in clk_get(). > > For cas

Re: [PATCH RFC v2 3/5] spmi: add generic SPMI controller binding documentation

2013-08-23 Thread Stephen Warren
On 08/22/2013 01:59 PM, Josh Cartwright wrote: > Signed-off-by: Josh Cartwright > --- > I'm introducing this as an RFC, because there are set of assumptions > made in this binding spec, that currently hold true for the supported > controller/addressing scheme for the Snapdragon 800 series, but don

Re: [PATCH RFC v2 5/5] spmi: document the PMIC arbiter SPMI bindings

2013-08-23 Thread Stephen Warren
On 08/09/2013 02:37 PM, Josh Cartwright wrote: Patch description? > diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.txt > b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.txt > +Required properties: > +- compatible : should be "qcom,spmi-pmic-arb". > +- reg-nam

Re: [Intel-gfx] [PATCH] i915: Update VGA arbiter support for newer devices

2013-08-23 Thread Alex Williamson
On Fri, 2013-08-23 at 15:18 -0600, Alex Williamson wrote: > On Fri, 2013-08-23 at 21:21 +0300, Ville Syrjälä wrote: > > On Tue, Aug 20, 2013 at 10:46:45PM +0300, Ville Syrjälä wrote: > > > On Fri, Aug 16, 2013 at 12:22:14PM -0600, Alex Williamson wrote: > > > > On Fri, 2013-08-16 at 13:20 +0300, Vi

RE: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-23 Thread Moore, Robert
While we're at it: Can someone send me the acpidump for this machine? We very much would like to test all of ACPICA with such a large DSDT. Thanks, Bob > -Original Message- > From: chen tang [mailto:imtangc...@gmail.com] > Sent: Friday, August 23, 2013 2:51 PM > To: Yinghai Lu > Cc: Ru

[ANNOUNCE] Git v1.8.4

2013-08-23 Thread Junio C Hamano
The latest feature release Git v1.8.4 is now available at the usual places. It contains 870+ changes from ~100 contributors (among which 33 people are new) since v1.8.3. We will have two more releases til the end of this year; the release after that could be Git 2.0. The release tarballs are fou

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-23 Thread chen tang
Hi Yinghai, 2013/8/24 Yinghai Lu : > On Fri, Aug 23, 2013 at 1:30 PM, Russ Anderson wrote: >> On Fri, Aug 23, 2013 at 01:08:56PM -0700, Yinghai Lu wrote: >>> On Fri, Aug 23, 2013 at 11:25 AM, H. Peter Anvin wrote: > >>> Russ, What is ACPI table size on your big machine? >> >> This is from a 256

Re: [PATCH] PCI: avoid NULL deref in alloc_pcie_link_state

2013-08-23 Thread Bjorn Helgaas
[+cc Shaohua] On Thu, Aug 22, 2013 at 6:02 PM, Bjorn Helgaas wrote: > On Thu, Aug 08, 2013 at 03:57:07PM +0200, Radim Krčmář wrote: >> PCIe switch can be connected directly to the PCIe root complex in QEMU; >> ASPM does not expect this topology and dereferences NULL pointer when >> initializing.

RE: [E1000-devel] 3.11-rc4 ixgbevf: endless "Last Request of type 00 to PF Nacked" messages

2013-08-23 Thread Skidmore, Donald C
> -Original Message- > From: Bjorn Helgaas [mailto:bhelg...@google.com] > Sent: Friday, August 23, 2013 1:43 PM > To: Skidmore, Donald C > Cc: e1000-de...@lists.sourceforge.net; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Don Dutile > Subject: Re: [E1000-devel] 3.11-rc4 ixgb

Re: [PATCH 1/1] AMD64_EDAC: Fix incorrect wrap arounds due to left shift beyond 32 bits.

2013-08-23 Thread Borislav Petkov
On Mon, Aug 19, 2013 at 07:27:52PM -0500, Aravind Gopalakrishnan wrote: > Link to the bug report: > http://marc.info/?l=linux-edac&m=137692201732220&w=2 > > dct_base and dct_limit obtain 32 bit register values when they read their > respective pci config space registers. A left shift beyond 32 bit

Re: [PATCH 15/15] workqueue: convert bus code to use dev_groups

2013-08-23 Thread Greg Kroah-Hartman
On Fri, Aug 23, 2013 at 05:28:32PM -0400, Tejun Heo wrote: > On Fri, Aug 23, 2013 at 02:24:41PM -0700, Greg Kroah-Hartman wrote: > > The dev_attrs field of struct bus_type is going away soon, dev_groups > > should be used instead. This converts the workqueue bus code to use > > the correct field.

Re: [PATCH] ACPI: Fix osc flag setup ordering to allow pcie hotplug use when available

2013-08-23 Thread Rafael J. Wysocki
On Friday, August 23, 2013 02:46:23 PM Bjorn Helgaas wrote: > On Fri, Aug 23, 2013 at 2:53 PM, Rafael J. Wysocki wrote: > > On Friday, August 23, 2013 04:05:11 PM Neil Horman wrote: > >> On Fri, Aug 23, 2013 at 09:38:18PM +0200, Rafael J. Wysocki wrote: > >> > [CCs added] > >> > > >> > Please alwa

Re: [PATCH v2 3/4] clk: mvebu: add missing iounmap

2013-08-23 Thread Mike Turquette
Quoting Jisheng Zhang (2013-08-22 19:34:01) > Add missing iounmap to setup error path. > > Change-Id: I4371569d14d7026aa9f90d7cd53f669d365fe26a Please remove Change-Id's from the commit message for upstream patch submissions in the future. I can remove this one, this time. I've taken the patch i

[PATCH 02/15] rbd: convert bus code to use bus_groups

2013-08-23 Thread Greg Kroah-Hartman
The bus_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the RBD bus code to use the correct field. Cc: Yehuda Sadeh Cc: Sage Weil Cc: Alex Elder Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/block/rbd.c | 14 +- 1 file chan

Re: [PATCH 15/15] workqueue: convert bus code to use dev_groups

2013-08-23 Thread Tejun Heo
On Fri, Aug 23, 2013 at 02:24:41PM -0700, Greg Kroah-Hartman wrote: > The dev_attrs field of struct bus_type is going away soon, dev_groups > should be used instead. This converts the workqueue bus code to use > the correct field. > > Cc: Tejun Heo > Signed-off-by: Greg Kroah-Hartman Acked-by

[PATCH 01/15] PCI: convert bus code to use bus_groups

2013-08-23 Thread Greg Kroah-Hartman
The bus_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the PCI bus code to use the correct field. Cc: Bjorn Helgaas Signed-off-by: Greg Kroah-Hartman --- drivers/pci/pci-driver.c | 2 +- drivers/pci/pci-sysfs.c | 16 +--- drive

[PATCH 04/15] PPC: ibmebus: convert bus code to use bus_groups

2013-08-23 Thread Greg Kroah-Hartman
The bus_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the ibmebus bus code to use the correct field. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/kernel/ibmebus.c | 14 -- 1 f

[PATCH 03/15] rapidio: convert bus code to use bus_groups

2013-08-23 Thread Greg Kroah-Hartman
The bus_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the rapidio bus code to use the correct field. Cc: Matt Porter Cc: Alexandre Bounine Signed-off-by: Greg Kroah-Hartman --- drivers/rapidio/rio-driver.c | 2 +- drivers/rapidio/rio-sysf

[PATCH 08/15] Input: serio: convert bus code to use drv_groups

2013-08-23 Thread Greg Kroah-Hartman
The drv_attrs field of struct bus_type is going away soon, drv_groups should be used instead. This converts the serio bus code to use the correct field. Cc: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/serio/serio.c | 21 +++-- 1 file changed, 11 insertio

[PATCH 07/15] Input: gameport: convert bus code to use drv_groups

2013-08-23 Thread Greg Kroah-Hartman
The drv_attrs field of struct bus_type is going away soon, drv_groups should be used instead. This converts the gameport bus code to use the correct field. Cc: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/gameport/gameport.c | 12 +++- 1 file changed, 7 insertion

RE: [PATCH 13/15] MEI: convert bus code to use dev_groups

2013-08-23 Thread Winkler, Tomas
> > The dev_attrs field of struct bus_type is going away soon, dev_groups should > be used instead. This converts the MEI bus code to use the correct field. > > Cc: Tomas Winkler > Signed-off-by: Greg Kroah-Hartman ACK + CC: Samuel. Thanks Tomas -- To unsubscribe from this list: send the li

[PATCH 05/15] PPC: VIO: convert bus code to use bus_groups

2013-08-23 Thread Greg Kroah-Hartman
The bus_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the VIO bus code to use the correct field. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/kernel/vio.c | 66 ++-

[PATCH 15/15] workqueue: convert bus code to use dev_groups

2013-08-23 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the workqueue bus code to use the correct field. Cc: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- kernel/workqueue.c | 27 +++ 1 file changed, 15 insertions(+)

[PATCH 11/15] driver-core: platform: convert bus code to use dev_groups

2013-08-23 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the platform bus code to use the correct field. Signed-off-by: Greg Kroah-Hartman --- drivers/base/platform.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[PATCH 12/15] HID: convert bus code to use dev_groups

2013-08-23 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the HID bus code to use the correct field. Cc: Jiri Kosina Signed-off-by: Greg Kroah-Hartman --- drivers/hid/hid-core.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-)

[PATCH 09/15] PCI: convert bus code to use drv_groups

2013-08-23 Thread Greg Kroah-Hartman
The drv_attrs field of struct bus_type is going away soon, drv_groups should be used instead. This converts the PCI bus code to use the correct field. Cc: Bjorn Helgaas Signed-off-by: Greg Kroah-Hartman --- drivers/pci/pci-driver.c | 13 - 1 file changed, 8 insertions(+), 5 deletio

[PATCH 10/15] USB: serial: convert bus code to use drv_groups

2013-08-23 Thread Greg Kroah-Hartman
The drv_attrs field of struct bus_type is going away soon, drv_groups should be used instead. This converts the USB serial bus code to use the correct field. Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/bus.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff

[PATCH 14/15] pmu_bus: convert bus code to use dev_groups

2013-08-23 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the pmu bus code to use the correct field. Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Signed-off-by: Greg Kroah-Hartman --- kernel/events/core.

  1   2   3   4   5   6   7   >